@planningcenter/tapestry 3.0.0-rc.8 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Banner/Banner.js +1 -1
- package/dist/components/button/BaseButton.d.ts +1 -1
- package/dist/components/button/BaseButton.d.ts.map +1 -1
- package/dist/components/button/BaseButton.js +5 -4
- package/dist/components/button/BaseButton.js.map +1 -1
- package/dist/components/button/DropdownButton.d.ts +1 -0
- package/dist/components/button/DropdownButton.d.ts.map +1 -1
- package/dist/components/button/DropdownButton.js.map +1 -1
- package/dist/components/button/IconButton.js +1 -1
- package/dist/components/button/IconButton.js.map +1 -1
- package/dist/components/button/PageHeaderActionsDropdownButton.d.ts +1 -0
- package/dist/components/button/PageHeaderActionsDropdownButton.d.ts.map +1 -1
- package/dist/components/button/PageHeaderActionsDropdownButton.js +1 -1
- package/dist/components/button/PageHeaderActionsDropdownButton.js.map +1 -1
- package/dist/components/button/index.d.ts +5 -0
- package/dist/components/button/index.d.ts.map +1 -1
- package/dist/components/checkbox/Checkbox.d.ts +27 -7
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/checkbox/Checkbox.js +19 -16
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/index.d.ts.map +1 -1
- package/dist/components/input/Input.d.ts +44 -0
- package/dist/components/input/Input.d.ts.map +1 -0
- package/dist/components/input/Input.js +44 -0
- package/dist/components/input/Input.js.map +1 -0
- package/dist/components/input/index.d.ts +4 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/internal/index.d.ts.map +1 -1
- package/dist/components/link/BaseLink.d.ts +1 -1
- package/dist/components/link/BaseLink.d.ts.map +1 -1
- package/dist/components/link/BaseLink.js +6 -6
- package/dist/components/link/BaseLink.js.map +1 -1
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/index.d.ts.map +1 -1
- package/dist/components/page-header/PageHeader.d.ts.map +1 -1
- package/dist/components/page-header/PageHeader.js +39 -7
- package/dist/components/page-header/PageHeader.js.map +1 -1
- package/dist/components/page-header/index.js +1 -1
- package/dist/components/radio/Radio.d.ts +42 -0
- package/dist/components/radio/Radio.d.ts.map +1 -0
- package/dist/components/radio/Radio.js +32 -0
- package/dist/components/radio/Radio.js.map +1 -0
- package/dist/components/radio/index.d.ts +4 -0
- package/dist/components/radio/index.d.ts.map +1 -0
- package/dist/components/radio-group/RadioGroup.d.ts +23 -0
- package/dist/components/radio-group/RadioGroup.d.ts.map +1 -0
- package/dist/components/radio-group/RadioGroup.js +29 -0
- package/dist/components/radio-group/RadioGroup.js.map +1 -0
- package/dist/components/radio-group/index.d.ts +4 -0
- package/dist/components/radio-group/index.d.ts.map +1 -0
- package/dist/components/sidenav/index.js +1 -1
- package/dist/components/textarea/TextArea.d.ts +38 -0
- package/dist/components/textarea/TextArea.d.ts.map +1 -0
- package/dist/components/textarea/TextArea.js +27 -0
- package/dist/components/textarea/TextArea.js.map +1 -0
- package/dist/components/textarea/index.d.ts +4 -0
- package/dist/components/textarea/index.d.ts.map +1 -0
- package/dist/components/toggle-switch/ToggleSwitch.d.ts +50 -0
- package/dist/components/toggle-switch/ToggleSwitch.d.ts.map +1 -0
- package/dist/components/toggle-switch/ToggleSwitch.js +31 -0
- package/dist/components/toggle-switch/ToggleSwitch.js.map +1 -0
- package/dist/components/toggle-switch/index.d.ts +4 -0
- package/dist/components/toggle-switch/index.d.ts.map +1 -0
- package/dist/index.css +704 -221
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +6 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/jsTokens.d.ts +1 -1
- package/dist/jsTokens.d.ts.map +1 -1
- package/dist/jsTokens.js +1 -1
- package/dist/jsTokens.js.map +1 -1
- package/dist/print-no-media-queries.css +2 -2
- package/dist/print.css +2 -2
- package/dist/reactRender.css +2483 -1796
- package/dist/reactRender.css.map +1 -1
- package/dist/reactRenderLegacy.css +2483 -1796
- package/dist/reactRenderLegacy.css.map +1 -1
- package/dist/tapestry-render/dist/{buildComponent-D0S78fIn.js → buildComponent-Dr2UOgFa.js} +20 -20
- package/dist/tapestry-render/dist/{buildComponent-D0S78fIn.js.map → buildComponent-Dr2UOgFa.js.map} +1 -1
- package/dist/tapestry-render/dist/index.js +1 -1
- package/dist/tapestry-render/dist/index.js.map +1 -1
- package/dist/tapestry-render/dist/legacy.js +6 -6
- package/dist/tapestry-render/dist/legacy.js.map +1 -1
- package/dist/tapestry-reset.css +186 -0
- package/dist/tapestry-reset.css.map +1 -0
- package/dist/tapestry-reset.js +3 -0
- package/dist/tapestry-wc/dist/components/{p-5-Cvrlgk.js → p-BF5btZ2U.js} +2 -2
- package/dist/tapestry-wc/dist/components/{p-5-Cvrlgk.js.map → p-BF5btZ2U.js.map} +1 -1
- package/dist/tapestry-wc/dist/components/{p-74Cc2nEh.js → p-BO35mzk2.js} +2 -2
- package/dist/tapestry-wc/dist/components/{p-74Cc2nEh.js.map → p-BO35mzk2.js.map} +1 -1
- package/dist/tapestry-wc/dist/components/{p-D1rzJeWl.js → p-Bdkqq_Bn.js} +3 -3
- package/dist/tapestry-wc/dist/components/{p-D1rzJeWl.js.map → p-Bdkqq_Bn.js.map} +1 -1
- package/dist/tapestry-wc/dist/components/{p-D0G2xpOq.js → p-DhuhrZb1.js} +3 -3
- package/dist/tapestry-wc/dist/components/{p-D0G2xpOq.js.map → p-DhuhrZb1.js.map} +1 -1
- package/dist/tapestry-wc/dist/components/{p-DmP02I4b.js → p-gTgcP9lI.js} +3 -3
- package/dist/tapestry-wc/dist/components/{p-DmP02I4b.js.map → p-gTgcP9lI.js.map} +1 -1
- package/dist/tapestry-wc/dist/components/tds-page-header-nav.js +2 -2
- package/dist/tapestry-wc/dist/components/tds-page-header-nav.js.map +1 -1
- package/dist/tapestry-wc/dist/components/tds-page-header.js +5 -5
- package/dist/tapestry-wc/dist/components/tds-page-header.js.map +1 -1
- package/dist/tapestry-wc/dist/components/tds-sidenav-item.js +3 -3
- package/dist/tapestry-wc/dist/components/tds-sidenav-item.js.map +1 -1
- package/dist/tapestry-wc/dist/components/tds-sidenav-responsive-header.js +2 -2
- package/dist/tapestry-wc/dist/components/tds-sidenav-responsive-header.js.map +1 -1
- package/dist/tapestry-wc/dist/components/tds-sidenav-section.js +3 -3
- package/dist/tapestry-wc/dist/components/tds-sidenav-section.js.map +1 -1
- package/dist/tapestry-wc/dist/components/tds-sidenav.js +6 -6
- package/dist/tapestry-wc/dist/components/tds-sidenav.js.map +1 -1
- package/dist/tokens/tokens-deprecated.json +13 -166
- package/dist/tokens-dark.css +6 -4
- package/dist/tokens-dark.css.map +1 -1
- package/dist/tokens-dark.js +2 -0
- package/dist/tokens-deprecated.css +4 -102
- package/dist/tokens-deprecated.css.map +1 -1
- package/dist/tokens-deprecated.js +2 -0
- package/dist/tokens.css +35 -17
- package/dist/tokens.css.map +1 -1
- package/dist/tokens.js +2 -0
- package/dist/unstable.css +1149 -462
- package/dist/unstable.css.map +1 -1
- package/dist/unstable.d.ts +3 -3
- package/dist/unstable.d.ts.map +1 -1
- package/dist/unstable.js +10 -2
- package/dist/unstable.js.map +1 -1
- package/dist/utilities/Icon.d.ts.map +1 -1
- package/dist/utilities/Icon.js +12 -19
- package/dist/utilities/Icon.js.map +1 -1
- package/dist/utilities/useId.d.ts +2 -0
- package/dist/utilities/useId.d.ts.map +1 -0
- package/dist/utilities/useId.js +14 -0
- package/dist/utilities/useId.js.map +1 -0
- package/package.json +23 -19
- package/react-types/index.d.ts +8 -8
- package/react-types/popover.d.ts +7 -0
- package/dist/tokens/ts/react-native-tokens.d.ts +0 -1765
- package/dist/tokens/ts/react-native-tokens.d.ts.map +0 -1
- package/dist/tokens/ts/react-native-tokens.js +0 -455
- package/dist/tokens/ts/react-native-tokens.js.map +0 -1
- package/dist/tokens/ts/tokens.d.ts +0 -453
- package/dist/tokens/ts/tokens.d.ts.map +0 -1
- package/dist/tokens/ts/tokens.js +0 -455
- package/dist/tokens/ts/tokens.js.map +0 -1
- package/dist/tokens-deprecated.d.ts +0 -4
- package/dist/tokens-deprecated.d.ts.map +0 -1
- package/dist/tokens.d.ts +0 -4
- package/dist/tokens.d.ts.map +0 -1
|
@@ -5,9 +5,9 @@ import { getComponent as o } from './registry.js';
|
|
|
5
5
|
function Ae(t) {
|
|
6
6
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
7
7
|
}
|
|
8
|
-
var F = {}, L = {}, z = {}, D = {}, x = {}, X = {},
|
|
8
|
+
var F = {}, L = {}, z = {}, D = {}, x = {}, X = {}, J;
|
|
9
9
|
function ye() {
|
|
10
|
-
return
|
|
10
|
+
return J || (J = 1, (function(t) {
|
|
11
11
|
Object.defineProperty(t, "__esModule", { value: true }), t.Doctype = t.CDATA = t.Tag = t.Style = t.Script = t.Comment = t.Directive = t.Text = t.Root = t.isTag = t.ElementType = void 0;
|
|
12
12
|
var o;
|
|
13
13
|
(function(l) {
|
|
@@ -19,10 +19,10 @@ function ye() {
|
|
|
19
19
|
t.isTag = u, t.Root = o.Root, t.Text = o.Text, t.Directive = o.Directive, t.Comment = o.Comment, t.Script = o.Script, t.Style = o.Style, t.Tag = o.Tag, t.CDATA = o.CDATA, t.Doctype = o.Doctype;
|
|
20
20
|
})(X)), X;
|
|
21
21
|
}
|
|
22
|
-
var v = {},
|
|
23
|
-
function
|
|
24
|
-
if (
|
|
25
|
-
|
|
22
|
+
var v = {}, Q;
|
|
23
|
+
function $() {
|
|
24
|
+
if (Q) return v;
|
|
25
|
+
Q = 1;
|
|
26
26
|
var t = v && v.__extends || /* @__PURE__ */ (function() {
|
|
27
27
|
var e = function(i, a) {
|
|
28
28
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(_, b) {
|
|
@@ -388,8 +388,8 @@ function _e() {
|
|
|
388
388
|
for (var n in s) n !== "default" && !Object.prototype.hasOwnProperty.call(r, n) && o(r, s, n);
|
|
389
389
|
};
|
|
390
390
|
Object.defineProperty(t, "__esModule", { value: true }), t.DomHandler = void 0;
|
|
391
|
-
var l = /* @__PURE__ */ ye(), f = /* @__PURE__ */
|
|
392
|
-
u(/* @__PURE__ */
|
|
391
|
+
var l = /* @__PURE__ */ ye(), f = /* @__PURE__ */ $();
|
|
392
|
+
u(/* @__PURE__ */ $(), t);
|
|
393
393
|
var p = {
|
|
394
394
|
withStartIndices: false,
|
|
395
395
|
withEndIndices: false,
|
|
@@ -454,7 +454,7 @@ function _e() {
|
|
|
454
454
|
t.DomHandler = T, t.default = T;
|
|
455
455
|
})(x)), x;
|
|
456
456
|
}
|
|
457
|
-
var
|
|
457
|
+
var W = {}, te;
|
|
458
458
|
function Se() {
|
|
459
459
|
return te || (te = 1, (function(t) {
|
|
460
460
|
Object.defineProperty(t, "__esModule", { value: true }), t.CARRIAGE_RETURN_PLACEHOLDER_REGEX = t.CARRIAGE_RETURN_PLACEHOLDER = t.CARRIAGE_RETURN_REGEX = t.CARRIAGE_RETURN = t.CASE_SENSITIVE_TAG_NAMES_MAP = t.CASE_SENSITIVE_TAG_NAMES = void 0, t.CASE_SENSITIVE_TAG_NAMES = [
|
|
@@ -492,7 +492,7 @@ function Se() {
|
|
|
492
492
|
], t.CASE_SENSITIVE_TAG_NAMES_MAP = t.CASE_SENSITIVE_TAG_NAMES.reduce(function(o, u) {
|
|
493
493
|
return o[u.toLowerCase()] = u, o;
|
|
494
494
|
}, {}), t.CARRIAGE_RETURN = "\r", t.CARRIAGE_RETURN_REGEX = new RegExp(t.CARRIAGE_RETURN, "g"), t.CARRIAGE_RETURN_PLACEHOLDER = "__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(), "__"), t.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(t.CARRIAGE_RETURN_PLACEHOLDER, "g");
|
|
495
|
-
})(
|
|
495
|
+
})(W)), W;
|
|
496
496
|
}
|
|
497
497
|
var re;
|
|
498
498
|
function Te() {
|
|
@@ -1542,13 +1542,13 @@ function ke() {
|
|
|
1542
1542
|
}, {});
|
|
1543
1543
|
return N.BOOLEAN = l, N.BOOLEANISH_STRING = u, N.NUMERIC = p, N.OVERLOADED_BOOLEAN = f, N.POSITIVE_NUMERIC = T, N.RESERVED = t, N.STRING = o, N.getPropertyInfo = s, N.isCustomAttribute = P, N.possibleStandardNames = w, N;
|
|
1544
1544
|
}
|
|
1545
|
-
var U = {}, j = {},
|
|
1545
|
+
var U = {}, j = {}, Y, le;
|
|
1546
1546
|
function Ne() {
|
|
1547
|
-
if (le) return
|
|
1547
|
+
if (le) return Y;
|
|
1548
1548
|
le = 1;
|
|
1549
1549
|
var t = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, o = /\n/g, u = /^\s*/, l = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, f = /^:\s*/, p = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, T = /^[;\s]*/, s = /^\s+|\s+$/g, r = `
|
|
1550
1550
|
`, n = "/", c = "*", d = "", m = "comment", S = "declaration";
|
|
1551
|
-
|
|
1551
|
+
Y = function(y, h) {
|
|
1552
1552
|
if (typeof y != "string")
|
|
1553
1553
|
throw new TypeError("First argument must be a string");
|
|
1554
1554
|
if (!y) return [];
|
|
@@ -1630,7 +1630,7 @@ function Ne() {
|
|
|
1630
1630
|
function A(y) {
|
|
1631
1631
|
return y ? y.replace(s, d) : d;
|
|
1632
1632
|
}
|
|
1633
|
-
return
|
|
1633
|
+
return Y;
|
|
1634
1634
|
}
|
|
1635
1635
|
var se;
|
|
1636
1636
|
function Ie() {
|
|
@@ -1872,7 +1872,7 @@ function Le() {
|
|
|
1872
1872
|
})(F)), F;
|
|
1873
1873
|
}
|
|
1874
1874
|
var je = Le();
|
|
1875
|
-
const me = /* @__PURE__ */ Ae(je),
|
|
1875
|
+
const me = /* @__PURE__ */ Ae(je), K = me.default || me;
|
|
1876
1876
|
function Be(t) {
|
|
1877
1877
|
const o$1 = t.dataset.tapestryReactComponentName, u = o(o$1);
|
|
1878
1878
|
if (!u) {
|
|
@@ -1884,7 +1884,7 @@ function Be(t) {
|
|
|
1884
1884
|
}
|
|
1885
1885
|
function He(t) {
|
|
1886
1886
|
const o = t.dataset.tapestryReactComponentProps, { children: u, ...l } = JSON.parse(o), f = Fe({ element: t, props: l });
|
|
1887
|
-
return { htmlChildren: u ?
|
|
1887
|
+
return { htmlChildren: u ? K(u, { replace: Z }) : void 0, props: f };
|
|
1888
1888
|
}
|
|
1889
1889
|
function Fe({
|
|
1890
1890
|
element: t,
|
|
@@ -1893,10 +1893,10 @@ function Fe({
|
|
|
1893
1893
|
const u = { ...o };
|
|
1894
1894
|
return (t.dataset.tapestryReactNodePropKeys ? t.dataset.tapestryReactNodePropKeys.split(",") : []).forEach((f) => {
|
|
1895
1895
|
const p = u[f];
|
|
1896
|
-
p && (u[f] =
|
|
1896
|
+
p && (u[f] = K(p, { replace: Z }));
|
|
1897
1897
|
}), u;
|
|
1898
1898
|
}
|
|
1899
|
-
function
|
|
1899
|
+
function Z(t) {
|
|
1900
1900
|
if (!(t instanceof Object) || !("attribs" in t)) return;
|
|
1901
1901
|
const o$1 = t;
|
|
1902
1902
|
if (!o$1.attribs || o$1.attribs["data-tapestry-react-root-inner"] === void 0)
|
|
@@ -1907,8 +1907,8 @@ function K(t) {
|
|
|
1907
1907
|
let { children: f, ...p } = JSON.parse(
|
|
1908
1908
|
o$1.attribs["data-tapestry-react-component-props"] || "{}"
|
|
1909
1909
|
);
|
|
1910
|
-
return f && (f =
|
|
1910
|
+
return f && (f = K(f, { replace: Z })), /* @__PURE__ */ jsx(l, { ...p, children: f });
|
|
1911
1911
|
}
|
|
1912
1912
|
|
|
1913
1913
|
export { Be as b };
|
|
1914
|
-
//# sourceMappingURL=buildComponent-
|
|
1914
|
+
//# sourceMappingURL=buildComponent-Dr2UOgFa.js.map
|