@manifoldco/web-components
Advanced tools
Comparing version 0.0.32 to 0.0.33
@@ -320,9 +320,9 @@ import { Component, Element, Event, Host, State, Prop, h, Watch, Listen, } from '@stencil/core'; | ||
return (h(Host, null, | ||
h("table", { class: `Manifold-Typography--Body plan-table ${this.breakpoint} ${this.scrolled ? 'scrolled' : ''}` }, | ||
h("table", { class: `Manifold-Typography--Body plan-table ${this.breakpoint} ${this.scrolled ? 'scrolled' : ''}`, part: "table" }, | ||
h("thead", null, | ||
h("tr", null, | ||
h("th", { class: "feature-name", part: "plan-header plan-header--features" }), | ||
h("th", { class: "feature-name", part: "plan-header plan-header--features cell feature-cell header-cell" }), | ||
this.plans.map(({ slug, name, cost }) => { | ||
var _a, _b; | ||
return (h("th", { part: `plan--${slug} plan-header plan-header--${slug}` }, | ||
return (h("th", { part: `plan--${slug} plan-header plan-header--${slug} cell header-cell` }, | ||
h("h3", { class: "Manifold-Typography--Heading" }, name), | ||
@@ -333,7 +333,7 @@ h("label", { class: "Manifold-Typography--SubheadingSmall", part: `plan-cost plan-cost--${slug}` }, ((_b = (_a = this.planOptions) === null || _a === void 0 ? void 0 : _a[slug]) === null || _b === void 0 ? void 0 : _b.cost) || planCost(cost)))); | ||
this.featureSlugs.map((featureSlug) => (h("tr", null, | ||
h("td", { class: "feature-name" }, featureSlug.name), | ||
this.plans.map((plan) => (h("td", { part: `plan--${plan.slug}` }, | ||
h("td", { class: "feature-name", part: "cell feature-cell" }, featureSlug.name), | ||
this.plans.map((plan) => (h("td", { part: `plan--${plan.slug} cell value-cell` }, | ||
h("div", { class: "plan-cell" }, this.planCellForFeature(plan.slug, featureSlug.slug)))))))), | ||
h("tr", null, | ||
h("td", { class: "feature-name" }), | ||
h("td", { class: "feature-name", part: "footer-cell feature-cell" }), | ||
this.plans.map((p) => { | ||
@@ -363,6 +363,6 @@ var _a, _b, _c, _d; | ||
const url = `${uri}?${params}`; | ||
return (h("td", { part: `plan--${p.slug}` }, | ||
return (h("td", { part: `plan--${p.slug} cell cta-cell footer-cell` }, | ||
h("a", { class: "button", part: "cta", href: url }, ctaText))); | ||
} | ||
return (h("td", { part: `plan--${p.slug}` }, | ||
return (h("td", { part: `plan--${p.slug} cell cta-cell footer-cell` }, | ||
h("button", { part: "cta", disabled: (cta === null || cta === void 0 ? void 0 : cta.disabled) || this.featureErrors.some((e) => e.planSlug === p.slug), onClick: () => this.ctaClick.emit(eventDetails) }, ctaText))); | ||
@@ -369,0 +369,0 @@ })))))); |
@@ -1,1 +0,1 @@ | ||
import{p as e,b as a}from"./p-bef5c548.js";e().then(e=>a([["p-0bd20008",[[1,"manifold-plan-table",{embed:[1],ctaText:[1,"cta-text"],planOptions:[16],baseUrl:[1,"base-url"],productData:[16],env:[1],featureSelections:[32],featureErrors:[32],product:[32],client:[32],breakpoint:[32],scrolled:[32]},[[1,"scroll","scrollHandler"]]]]]],e)); | ||
import{p as e,b as a}from"./p-bef5c548.js";e().then(e=>a([["p-268482d6",[[1,"manifold-plan-table",{embed:[1],ctaText:[1,"cta-text"],planOptions:[16],baseUrl:[1,"base-url"],productData:[16],env:[1],featureSelections:[32],featureErrors:[32],product:[32],client:[32],breakpoint:[32],scrolled:[32]},[[1,"scroll","scrollHandler"]]]]]],e)); |
@@ -1,1 +0,1 @@ | ||
System.register(["./p-70cbf7cf.system.js"],(function(){"use strict";var e,t;return{setters:[function(r){e=r.p;t=r.b}],execute:function(){e().then((function(e){return t([["p-0278e0bc.system",[[1,"manifold-plan-table",{embed:[1],ctaText:[1,"cta-text"],planOptions:[16],baseUrl:[1,"base-url"],productData:[16],env:[1],featureSelections:[32],featureErrors:[32],product:[32],client:[32],breakpoint:[32],scrolled:[32]},[[1,"scroll","scrollHandler"]]]]]],e)}))}}})); | ||
System.register(["./p-70cbf7cf.system.js"],(function(){"use strict";var e,t;return{setters:[function(r){e=r.p;t=r.b}],execute:function(){e().then((function(e){return t([["p-47ad50a4.system",[[1,"manifold-plan-table",{embed:[1],ctaText:[1,"cta-text"],planOptions:[16],baseUrl:[1,"base-url"],productData:[16],env:[1],featureSelections:[32],featureErrors:[32],product:[32],client:[32],breakpoint:[32],scrolled:[32]},[[1,"scroll","scrollHandler"]]]]]],e)}))}}})); |
{ | ||
"name": "@manifoldco/web-components", | ||
"version": "0.0.32", | ||
"version": "0.0.33", | ||
"description": "Manifold's Web Components", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1770532
29336