@manifoldco/web-components
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-9e01fd6b.js'); | ||
const index = require('./index-a6f6051c.js'); | ||
@@ -8,0 +8,0 @@ const defineCustomElements = (win, options) => index.patchEsm().then(() => { |
'use strict'; | ||
const index = require('./index-9e01fd6b.js'); | ||
const index = require('./index-a6f6051c.js'); | ||
@@ -5,0 +5,0 @@ index.patchBrowser().then(options => { |
@@ -1,2 +0,2 @@ | ||
import { Component, Event, Host, State, Prop, h, } from '@stencil/core'; | ||
import { Component, Event, Host, State, Prop, h, Watch, } from '@stencil/core'; | ||
import { createClient } from '@urql/core'; | ||
@@ -11,2 +11,5 @@ import checkIcon from '@manifoldco/mercury/icons/check.svg'; | ||
} | ||
updateProductData(newValue) { | ||
this.product = newValue; | ||
} | ||
componentWillLoad() { | ||
@@ -43,7 +46,2 @@ if (this.slug && this.clientKey) { | ||
} | ||
componentWillUpdate() { | ||
if (this.productData) { | ||
this.product = this.productData; | ||
} | ||
} | ||
get plans() { | ||
@@ -303,2 +301,6 @@ if (!this.product || !this.product.plans) { | ||
}]; } | ||
static get watchers() { return [{ | ||
"propName": "productData", | ||
"methodName": "updateProductData" | ||
}]; } | ||
} |
@@ -1,1 +0,1 @@ | ||
import{p as t,b as a}from"./p-0a20e695.js";t().then(t=>a([["p-91883bd7",[[1,"manifold-plan-table",{slug:[1],clientKey:[1,"client-key"],ctaText:[1,"cta-text"],baseUrl:[1,"base-url"],productData:[16],env:[1],product:[32],client:[32]}]]]],t)); | ||
import{p as t,b as e}from"./p-8df06789.js";t().then(t=>e([["p-c5e3ccd5",[[1,"manifold-plan-table",{slug:[1],clientKey:[1,"client-key"],ctaText:[1,"cta-text"],baseUrl:[1,"base-url"],productData:[16],env:[1],product:[32],client:[32]}]]]],t)); |
@@ -18,4 +18,4 @@ import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime'; | ||
client: Client; | ||
updateProductData(newValue: GetProductQuery['product']): void; | ||
componentWillLoad(): void; | ||
componentWillUpdate(): void; | ||
get plans(): ({ | ||
@@ -22,0 +22,0 @@ __typename?: "Plan" | undefined; |
{ | ||
"name": "@manifoldco/web-components", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"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 not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1484948
24418