@planningcenter/tapestry-migration-cli 3.0.0-rc.20 → 3.0.0-rc.21
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/tapestry-react-shim.cjs +51 -51
- package/package.json +2 -2
|
@@ -362,7 +362,7 @@ function requireReact_production_min() {
|
|
|
362
362
|
}, enqueueForceUpdate: function() {
|
|
363
363
|
}, enqueueReplaceState: function() {
|
|
364
364
|
}, enqueueSetState: function() {
|
|
365
|
-
} },
|
|
365
|
+
} }, C = Object.assign, D = {};
|
|
366
366
|
function E(a2, b2, e2) {
|
|
367
367
|
this.props = a2;
|
|
368
368
|
this.context = b2;
|
|
@@ -388,7 +388,7 @@ function requireReact_production_min() {
|
|
|
388
388
|
}
|
|
389
389
|
var H = G.prototype = new F();
|
|
390
390
|
H.constructor = G;
|
|
391
|
-
|
|
391
|
+
C(H, E.prototype);
|
|
392
392
|
H.isPureReactComponent = true;
|
|
393
393
|
var I = Array.isArray, J = Object.prototype.hasOwnProperty, K = { current: null }, L = { key: true, ref: true, __self: true, __source: true };
|
|
394
394
|
function M(a2, b2, e2) {
|
|
@@ -397,8 +397,8 @@ function requireReact_production_min() {
|
|
|
397
397
|
var g = arguments.length - 2;
|
|
398
398
|
if (1 === g) c2.children = e2;
|
|
399
399
|
else if (1 < g) {
|
|
400
|
-
for (var
|
|
401
|
-
c2.children =
|
|
400
|
+
for (var f2 = Array(g), m2 = 0; m2 < g; m2++) f2[m2] = arguments[m2 + 2];
|
|
401
|
+
c2.children = f2;
|
|
402
402
|
}
|
|
403
403
|
if (a2 && a2.defaultProps) for (d2 in g = a2.defaultProps, g) void 0 === c2[d2] && (c2[d2] = g[d2]);
|
|
404
404
|
return { $$typeof: l2, type: a2, key: k2, ref: h2, props: c2, _owner: K.current };
|
|
@@ -443,10 +443,10 @@ function requireReact_production_min() {
|
|
|
443
443
|
d2 = "" === d2 ? "." : d2 + ":";
|
|
444
444
|
if (I(a2)) for (var g = 0; g < a2.length; g++) {
|
|
445
445
|
k2 = a2[g];
|
|
446
|
-
var
|
|
447
|
-
h2 += R(k2, b2, e2,
|
|
446
|
+
var f2 = d2 + Q(k2, g);
|
|
447
|
+
h2 += R(k2, b2, e2, f2, c2);
|
|
448
448
|
}
|
|
449
|
-
else if (
|
|
449
|
+
else if (f2 = A(a2), "function" === typeof f2) for (a2 = f2.call(a2), g = 0; !(k2 = a2.next()).done; ) k2 = k2.value, f2 = d2 + Q(k2, g++), h2 += R(k2, b2, e2, f2, c2);
|
|
450
450
|
else if ("object" === k2) throw b2 = String(a2), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b2 ? "object with keys {" + Object.keys(a2).join(", ") + "}" : b2) + "). If you meant to render a collection of children, use an array instead.");
|
|
451
451
|
return h2;
|
|
452
452
|
}
|
|
@@ -458,7 +458,7 @@ function requireReact_production_min() {
|
|
|
458
458
|
});
|
|
459
459
|
return d2;
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function T2(a2) {
|
|
462
462
|
if (-1 === a2._status) {
|
|
463
463
|
var b2 = a2._result;
|
|
464
464
|
b2 = b2();
|
|
@@ -504,18 +504,18 @@ function requireReact_production_min() {
|
|
|
504
504
|
react_production_min.act = X;
|
|
505
505
|
react_production_min.cloneElement = function(a2, b2, e2) {
|
|
506
506
|
if (null === a2 || void 0 === a2) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a2 + ".");
|
|
507
|
-
var d2 =
|
|
507
|
+
var d2 = C({}, a2.props), c2 = a2.key, k2 = a2.ref, h2 = a2._owner;
|
|
508
508
|
if (null != b2) {
|
|
509
509
|
void 0 !== b2.ref && (k2 = b2.ref, h2 = K.current);
|
|
510
510
|
void 0 !== b2.key && (c2 = "" + b2.key);
|
|
511
511
|
if (a2.type && a2.type.defaultProps) var g = a2.type.defaultProps;
|
|
512
|
-
for (
|
|
512
|
+
for (f2 in b2) J.call(b2, f2) && !L.hasOwnProperty(f2) && (d2[f2] = void 0 === b2[f2] && void 0 !== g ? g[f2] : b2[f2]);
|
|
513
513
|
}
|
|
514
|
-
var
|
|
515
|
-
if (1 ===
|
|
516
|
-
else if (1 <
|
|
517
|
-
g = Array(
|
|
518
|
-
for (var m2 = 0; m2 <
|
|
514
|
+
var f2 = arguments.length - 2;
|
|
515
|
+
if (1 === f2) d2.children = e2;
|
|
516
|
+
else if (1 < f2) {
|
|
517
|
+
g = Array(f2);
|
|
518
|
+
for (var m2 = 0; m2 < f2; m2++) g[m2] = arguments[m2 + 2];
|
|
519
519
|
d2.children = g;
|
|
520
520
|
}
|
|
521
521
|
return { $$typeof: l2, type: a2.type, key: c2, ref: k2, props: d2, _owner: h2 };
|
|
@@ -539,7 +539,7 @@ function requireReact_production_min() {
|
|
|
539
539
|
};
|
|
540
540
|
react_production_min.isValidElement = O2;
|
|
541
541
|
react_production_min.lazy = function(a2) {
|
|
542
|
-
return { $$typeof: y, _payload: { _status: -1, _result: a2 }, _init:
|
|
542
|
+
return { $$typeof: y, _payload: { _status: -1, _result: a2 }, _init: T2 };
|
|
543
543
|
};
|
|
544
544
|
react_production_min.memo = function(a2, b2) {
|
|
545
545
|
return { $$typeof: x2, type: a2, compare: void 0 === b2 ? null : b2 };
|
|
@@ -3796,14 +3796,14 @@ function toColorString(color) {
|
|
|
3796
3796
|
if (isHsl(color)) return hsl(color);
|
|
3797
3797
|
throw new PolishedError(8);
|
|
3798
3798
|
}
|
|
3799
|
-
function curried(
|
|
3799
|
+
function curried(f2, length, acc) {
|
|
3800
3800
|
return function fn() {
|
|
3801
3801
|
var combined = acc.concat(Array.prototype.slice.call(arguments));
|
|
3802
|
-
return combined.length >= length ?
|
|
3802
|
+
return combined.length >= length ? f2.apply(this, combined) : curried(f2, length, combined);
|
|
3803
3803
|
};
|
|
3804
3804
|
}
|
|
3805
|
-
function curry(
|
|
3806
|
-
return curried(
|
|
3805
|
+
function curry(f2) {
|
|
3806
|
+
return curried(f2, f2.length, []);
|
|
3807
3807
|
}
|
|
3808
3808
|
function adjustHue(degree, color) {
|
|
3809
3809
|
if (color === "transparent") return color;
|
|
@@ -4449,19 +4449,19 @@ function requireKebabCase() {
|
|
|
4449
4449
|
}
|
|
4450
4450
|
var kebabCaseExports = requireKebabCase();
|
|
4451
4451
|
const n$2 = /* @__PURE__ */ getDefaultExportFromCjs(kebabCaseExports);
|
|
4452
|
-
var
|
|
4452
|
+
var f = false;
|
|
4453
4453
|
if ("undefined" != typeof window) try {
|
|
4454
|
-
var
|
|
4455
|
-
return
|
|
4454
|
+
var s$3 = { get passive() {
|
|
4455
|
+
return f = true, true;
|
|
4456
4456
|
} };
|
|
4457
|
-
window.addEventListener("test", null,
|
|
4457
|
+
window.addEventListener("test", null, s$3), window.removeEventListener("test", null, s$3);
|
|
4458
4458
|
} catch (e2) {
|
|
4459
|
-
|
|
4459
|
+
f = false;
|
|
4460
4460
|
}
|
|
4461
4461
|
"text-width" + (/* @__PURE__ */ new Date()).getTime();
|
|
4462
|
-
var
|
|
4463
|
-
|
|
4464
|
-
function
|
|
4462
|
+
var T = "undefined" == typeof document ? null : document.createElement("canvas");
|
|
4463
|
+
T && T.getContext("2d");
|
|
4464
|
+
function te(e2, t2) {
|
|
4465
4465
|
return e2 && t2 ? "var(--".concat(n$2(e2), "-").concat(n$2(t2), ")") : void 0;
|
|
4466
4466
|
}
|
|
4467
4467
|
function d(t2, n2) {
|
|
@@ -4487,7 +4487,7 @@ function m(t2) {
|
|
|
4487
4487
|
}), {});
|
|
4488
4488
|
return Object.keys(n2).reduce((function(t3, e2) {
|
|
4489
4489
|
var c2, o2 = n2[e2], a2 = "string" == typeof o2 ? n2[o2] : void 0;
|
|
4490
|
-
return o$4(o$4({}, t3), ((c2 = {})[e2] = a2 ?
|
|
4490
|
+
return o$4(o$4({}, t3), ((c2 = {})[e2] = a2 ? te("colors", o2) : o2, c2));
|
|
4491
4491
|
}), {});
|
|
4492
4492
|
}
|
|
4493
4493
|
var o$3 = { create: { create35: token("--t-fill-color-control-secondary") }, interaction66: token("--t-fill-color-control-primary") }, a$1 = { apps: { calendar: token("--t-fill-color-product-calendar-050"), "check-ins": token("--t-fill-color-product-checkins-050"), giving: token("--t-fill-color-product-giving-050"), groups: token("--t-fill-color-product-groups-050"), home: token("--t-fill-color-product-home-050"), "music-stand": "#4984c4", pco: "#3565cf", people: token("--t-fill-color-product-people-050"), "planning-center": "#2266f7", projector: "#f19900", registrations: token("--t-fill-color-product-registrations-050"), services: token("--t-fill-color-product-services-050") }, background: { background: token("--t-surface-color-card"), backgroundSecondary: token("--t-surface-color-canvas"), backgroundTertiary: token("--t-fill-color-neutral-070") }, static: { staticDark: computedToken("--t-text-color-default-primary"), staticLight: computedToken("--t-text-color-default-inverted") }, blue: ["hsl(197, 56%, 92%)", "hsl(197, 56%, 88%)", "hsl(197, 56%, 72%)", "hsl(197, 56%, 64%)", "hsl(197, 56%, 52%)", "hsl(197, 56%, 44%)", "hsl(197, 56%, 40%)", "hsl(197, 56%, 32%)", "hsl(197, 56%, 24%)", "hsl(197, 56%, 20%)"], dark: ["hsla(0,0%,0%,0.04)", "hsla(0,0%,0%,0.08)", token("--t-fill-color-transparency-dark-010"), token("--t-fill-color-transparency-dark-020"), token("--t-fill-color-transparency-dark-020"), token("--t-fill-color-transparency-dark-030"), token("--t-fill-color-transparency-dark-040"), token("--t-fill-color-transparency-dark-050"), token("--t-fill-color-transparency-dark-060"), token("--t-fill-color-transparency-dark-070")], days: { friday: "#F69688", monday: "#789FF8", saturday: "#66BEEB", sunday: "#7DC156", thursday: "#FA7EA4", tuesday: "#A193FD", wednesday: "#D18CF6" }, error: { base: token("--t-fill-color-button-delete-solid-default"), dark: token("--t-fill-color-button-delete-solid-hover"), darker: token("--t-fill-color-button-delete-solid-active"), light: "hsl(8, 60%, 85%)", lighter: token("--t-fill-color-status-error-ghost"), lightest: token("--t-fill-color-status-error-dim") }, foreground: { foreground: token("--t-text-color-default-primary"), foregroundSecondary: token("--t-text-color-default-secondary"), foregroundTertiary: "hsl(0, 0%, 58%)" }, green: ["hsl(96, 24%, 92%)", "hsl(96, 30%, 84%)", "hsl(96, 32%, 76%)", "hsl(96, 34%, 72%)", "hsl(96, 36%, 64%)", "hsl(96, 40%, 58%)", "hsl(96, 44%, 50%)", "hsl(96, 48%, 40%)", "hsl(96, 52%, 30%)", "hsl(96, 60%, 20%)"], grey: [token("--t-fill-color-neutral-090"), token("--t-fill-color-neutral-080"), token("--t-fill-color-neutral-070"), token("--t-fill-color-neutral-060"), token("--t-fill-color-neutral-050"), token("--t-fill-color-neutral-040"), token("--t-fill-color-neutral-030"), token("--t-fill-color-neutral-025"), token("--t-fill-color-neutral-020"), token("--t-fill-color-neutral-010")], highlight: { highlight: token("--t-fill-color-neutral-070"), highlightSecondary: token("--t-fill-color-neutral-060") }, interaction: { base: token("--t-fill-color-interaction-default"), dark: token("--t-fill-color-interaction-hover"), darker: token("--t-fill-color-interaction-active"), darkest: "hsl(221, 90%, 31%)", light: "hsl(221, 91%, 70%)", lighter: "hsl(0, 0%, 81%);", lightest: token("--t-fill-color-interaction-disabled") }, light: [token("--t-fill-color-transparency-light-010"), token("--t-fill-color-transparency-light-020"), token("--t-fill-color-transparency-light-030"), token("--t-fill-color-transparency-light-040"), token("--t-fill-color-transparency-light-050"), token("--t-fill-color-transparency-light-060"), token("--t-fill-color-transparency-light-070"), token("--t-fill-color-transparency-light-080"), token("--t-fill-color-transparency-light-090"), "hsla(0,0%,100%,0.96)"], link: { linkBackground: token("--t-fill-color-neutral-090"), linkForeground: token("--t-text-color-interaction-primary") }, primary: { base: "hsl(88, 44%, 40%)", dark: "hsl(88, 46%, 36%)", darker: "hsl(88, 52%, 32%)", darkest: "hsl(88, 72%, 20%)", light: "hsl(88, 40%, 54%)", lighter: "hsl(88, 32%, 86%)", lightest: "hsl(88, 24%, 92%)" }, red: ["hsl(8, 73%, 96%)", "hsl(8, 74%, 92%)", "hsl(8, 75%, 88%)", "hsl(8, 76%, 68%)", "hsl(8, 77%, 60%)", "hsl(8, 78%, 56%)", "hsl(8, 79%, 52%)", "hsl(8, 80%, 48%)", "hsl(8, 81%, 40%)", "hsl(8, 82%, 30%)"], separator: { separator: token("--t-fill-color-neutral-040"), separatorFocus: token("--t-form-border-color-focus"), separatorFocusSecondary: token("--t-fill-color-neutral-050"), separatorHover: token("--t-form-border-color-hover"), separatorSecondary: token("--t-fill-color-neutral-050"), separatorTertiary: token("--t-fill-color-neutral-050") }, success: { base: token("--t-fill-color-status-success-solid"), dark: token("--t-text-color-status-success"), darker: "hsl(86, 91%, 23%)", light: token("--t-border-color-control-success"), lighter: token("--t-fill-color-status-success-ghost"), lightest: token("--t-fill-color-status-success-dim") }, surface: { surface: token("--t-surface-color-card"), surfaceSecondary: token("--t-surface-color-canvas"), surfaceTertiary: token("--t-fill-color-neutral-070") }, tapestry: o$3, warning: { base: token("--t-fill-color-status-warning-solid"), dark: token("--t-fill-color-status-warning-solid"), darker: token("--t-icon-color-status-warning-primary"), light: "hsl(42, 87%, 90%)", lighter: token("--t-fill-color-status-warning-ghost"), lightest: token("--t-fill-color-status-warning-dim") }, yellow: ["hsl(50, 89%, 90%)", "hsl(50, 90%, 86%)", "hsl(50, 91%, 74%)", "hsl(50, 92%, 68%)", "hsl(50, 93%, 62%)", "hsl(50, 94%, 56%)", "hsl(50, 95%, 48%)", "hsl(50, 96%, 40%)", "hsl(50, 97%, 32%)", "hsl(50, 98%, 26%)"] }, s$2 = m(a$1);
|
|
@@ -5014,8 +5014,8 @@ function r$2(o2) {
|
|
|
5014
5014
|
return "number" == typeof o2 ? o2 + "px" : o2;
|
|
5015
5015
|
}
|
|
5016
5016
|
function t$2(t2) {
|
|
5017
|
-
var i2 = t2.borderWidth, e2 = t2.borderTopWidth, b2 = t2.borderRightWidth, u2 = t2.borderBottomWidth, s2 = t2.borderLeftWidth, h2 = t2.radius, R = t2.radiusTop, a2 = t2.radiusRight, m2 = t2.radiusBottom, p = t2.radiusLeft,
|
|
5018
|
-
return void 0 !== i2 && (W.borderTopWidth = r$2(i2), W.borderRightWidth = r$2(i2), W.borderBottomWidth = r$2(i2), W.borderLeftWidth = r$2(i2)), void 0 !== e2 && (W.borderTopWidth = r$2(e2)), void 0 !== b2 && (W.borderRightWidth = r$2(b2)), void 0 !== u2 && (W.borderBottomWidth = r$2(u2)), void 0 !== s2 && (W.borderLeftWidth = r$2(s2)), void 0 !== h2 && ("circle" === h2 ? W.borderRadius = "100%" : "pill" === h2 ? W.borderRadius = "10em" : "pill-left" === h2 ? (W.borderTopLeftRadius = "10em", W.borderBottomLeftRadius = "10em") : "pill-right" === h2 ? (W.borderTopRightRadius = "10em", W.borderBottomRightRadius = "10em") : (W.borderTopLeftRadius = r$2(h2), W.borderTopRightRadius = r$2(h2), W.borderBottomRightRadius = r$2(h2), W.borderBottomLeftRadius = r$2(h2))), void 0 !== R && (W.borderTopLeftRadius = r$2(R), W.borderTopRightRadius = r$2(R)), void 0 !== a2 && (W.borderTopRightRadius = r$2(a2), W.borderBottomRightRadius = r$2(a2)), void 0 !== m2 && (W.borderBottomRightRadius = r$2(m2), W.borderBottomLeftRadius = r$2(m2)), void 0 !== p && (W.borderTopLeftRadius = r$2(p), W.borderBottomLeftRadius = r$2(p)), o$4(o$4({},
|
|
5017
|
+
var i2 = t2.borderWidth, e2 = t2.borderTopWidth, b2 = t2.borderRightWidth, u2 = t2.borderBottomWidth, s2 = t2.borderLeftWidth, h2 = t2.radius, R = t2.radiusTop, a2 = t2.radiusRight, m2 = t2.radiusBottom, p = t2.radiusLeft, f2 = n$3(t2, ["borderWidth", "borderTopWidth", "borderRightWidth", "borderBottomWidth", "borderLeftWidth", "radius", "radiusTop", "radiusRight", "radiusBottom", "radiusLeft"]), W = {};
|
|
5018
|
+
return void 0 !== i2 && (W.borderTopWidth = r$2(i2), W.borderRightWidth = r$2(i2), W.borderBottomWidth = r$2(i2), W.borderLeftWidth = r$2(i2)), void 0 !== e2 && (W.borderTopWidth = r$2(e2)), void 0 !== b2 && (W.borderRightWidth = r$2(b2)), void 0 !== u2 && (W.borderBottomWidth = r$2(u2)), void 0 !== s2 && (W.borderLeftWidth = r$2(s2)), void 0 !== h2 && ("circle" === h2 ? W.borderRadius = "100%" : "pill" === h2 ? W.borderRadius = "10em" : "pill-left" === h2 ? (W.borderTopLeftRadius = "10em", W.borderBottomLeftRadius = "10em") : "pill-right" === h2 ? (W.borderTopRightRadius = "10em", W.borderBottomRightRadius = "10em") : (W.borderTopLeftRadius = r$2(h2), W.borderTopRightRadius = r$2(h2), W.borderBottomRightRadius = r$2(h2), W.borderBottomLeftRadius = r$2(h2))), void 0 !== R && (W.borderTopLeftRadius = r$2(R), W.borderTopRightRadius = r$2(R)), void 0 !== a2 && (W.borderTopRightRadius = r$2(a2), W.borderBottomRightRadius = r$2(a2)), void 0 !== m2 && (W.borderBottomRightRadius = r$2(m2), W.borderBottomLeftRadius = r$2(m2)), void 0 !== p && (W.borderTopLeftRadius = r$2(p), W.borderBottomLeftRadius = r$2(p)), o$4(o$4({}, f2), W);
|
|
5019
5019
|
}
|
|
5020
5020
|
var _isKey;
|
|
5021
5021
|
var hasRequired_isKey;
|
|
@@ -5672,10 +5672,10 @@ function O(t2) {
|
|
|
5672
5672
|
return e$5(t2) || t2;
|
|
5673
5673
|
}
|
|
5674
5674
|
function e$4(e2, t2) {
|
|
5675
|
-
var b2 = e2.backgroundColor, d2 = e2.borderColor,
|
|
5675
|
+
var b2 = e2.backgroundColor, d2 = e2.borderColor, C = e2.borderBottomColor, i2 = e2.borderLeftColor, s2 = e2.borderRightColor, c2 = e2.borderTopColor, f2 = e2.color, u2 = e2.fill, n2 = e2.outlineColor, m2 = e2.stroke, a2 = n$3(e2, ["backgroundColor", "borderColor", "borderBottomColor", "borderLeftColor", "borderRightColor", "borderTopColor", "color", "fill", "outlineColor", "stroke"]), k2 = { backgroundColor: b2, borderBottomColor: C, borderColor: d2, borderLeftColor: i2, borderRightColor: s2, borderTopColor: c2, color: f2, fill: u2, outlineColor: n2, stroke: m2 };
|
|
5676
5676
|
return Object.keys(k2).forEach((function(o2) {
|
|
5677
5677
|
var e3 = k2[o2];
|
|
5678
|
-
e3 && (a2[o2] = t2 && t2.colors && t2.colors[e3] ?
|
|
5678
|
+
e3 && (a2[o2] = t2 && t2.colors && t2.colors[e3] ? te("colors", e3) : O(e3));
|
|
5679
5679
|
})), a2;
|
|
5680
5680
|
}
|
|
5681
5681
|
function o$2(o2, t2) {
|
|
@@ -5684,8 +5684,8 @@ function o$2(o2, t2) {
|
|
|
5684
5684
|
}
|
|
5685
5685
|
function l(l2) {
|
|
5686
5686
|
void 0 === l2 && (l2 = {});
|
|
5687
|
-
var n2 = l2.alignItems, t2 = l2.alignSelf, a2 = l2.basis,
|
|
5688
|
-
return
|
|
5687
|
+
var n2 = l2.alignItems, t2 = l2.alignSelf, a2 = l2.basis, f2 = l2.direction, d2 = l2.flexBasis, x2 = l2.flexGrow, p = l2.flexShrink, v$1 = l2.flexWrap, w = l2.grow, g = l2.justifyContent, m2 = l2.shrink, u2 = l2.wrap, S = n$3(l2, ["alignItems", "alignSelf", "basis", "direction", "flexBasis", "flexGrow", "flexShrink", "flexWrap", "grow", "justifyContent", "shrink", "wrap"]), h2 = {};
|
|
5688
|
+
return f2 && (h2.flexDirection = f2), void 0 === u2 && (u2 = v$1), void 0 !== u2 && (h2.flexWrap = "reverse" === u2 ? "wrap-reverse" : true === u2 || "wrap" === u2 ? "wrap" : "nowrap"), void 0 === w && (w = x2), void 0 !== w && (h2.flexGrow = true === w ? 1 : w), void 0 === m2 && (m2 = p), void 0 !== m2 && (h2.flexShrink = true === m2 ? 1 : m2), void 0 === a2 && (a2 = d2), void 0 !== a2 && (h2.flexBasis = b(a2)), g && (h2.justifyContent = v[g] || g), n2 && (h2.alignItems = h$1[n2] || n2), t2 && (h2.alignSelf = h$1[t2] || t2), o$4(o$4({}, S), h2);
|
|
5689
5689
|
}
|
|
5690
5690
|
function r$1(r2) {
|
|
5691
5691
|
void 0 === r2 && (r2 = {});
|
|
@@ -5697,8 +5697,8 @@ function t$1(t2) {
|
|
|
5697
5697
|
return r2.boxShadow && r2.boxShadow.constructor === Array && (r2.boxShadow = r2.boxShadow.join(", ")), void 0 !== r2.lineHeight && (r2.lineHeight = "number" == typeof r2.lineHeight ? b(r2.lineHeight) : r2.lineHeight), i2 && (r2.textTransform = "uppercase", r2.letterSpacing = "0.15em"), r2;
|
|
5698
5698
|
}
|
|
5699
5699
|
function e$3(e2) {
|
|
5700
|
-
var d2 = e2.position, r2 = e2.top, s2 = e2.right, n2 = e2.bottom, p = e2.left, l2 = e2.zIndex, m2 = n$3(e2, ["position", "top", "right", "bottom", "left", "zIndex"]),
|
|
5701
|
-
return d2 && (
|
|
5700
|
+
var d2 = e2.position, r2 = e2.top, s2 = e2.right, n2 = e2.bottom, p = e2.left, l2 = e2.zIndex, m2 = n$3(e2, ["position", "top", "right", "bottom", "left", "zIndex"]), f2 = {};
|
|
5701
|
+
return d2 && (f2.position = d2), void 0 !== r2 && (f2.top = b(r2)), void 0 !== s2 && (f2.right = b(s2)), void 0 !== n2 && (f2.bottom = b(n2)), void 0 !== p && (f2.left = b(p)), void 0 !== l2 && (f2.zIndex = l2), o$4(o$4({}, m2), f2);
|
|
5702
5702
|
}
|
|
5703
5703
|
function h(h2) {
|
|
5704
5704
|
var e2 = h2.width, m2 = h2.height, d2 = h2.minWidth, n2 = h2.minHeight, a2 = h2.maxWidth, o2 = h2.maxHeight, r2 = n$3(h2, ["width", "height", "minWidth", "minHeight", "maxWidth", "maxHeight"]), g = { height: m2, maxHeight: o2, maxWidth: a2, minHeight: n2, minWidth: d2, width: e2 };
|
|
@@ -5708,7 +5708,7 @@ function h(h2) {
|
|
|
5708
5708
|
})), r2;
|
|
5709
5709
|
}
|
|
5710
5710
|
function o$1(o2) {
|
|
5711
|
-
var p = o2.padding, r2 = o2.paddingHorizontal, m2 = o2.paddingVertical, e2 = o2.paddingTop,
|
|
5711
|
+
var p = o2.padding, r2 = o2.paddingHorizontal, m2 = o2.paddingVertical, e2 = o2.paddingTop, f2 = o2.paddingRight, l2 = o2.paddingBottom, h2 = o2.paddingLeft, s2 = o2.margin, B = o2.marginHorizontal, L = o2.marginVertical, R = o2.marginTop, T2 = o2.marginRight, c2 = o2.marginBottom, u2 = o2.marginLeft, v2 = o2.gap, G = o2.columnGap, z = o2.rowGap, H = n$3(o2, ["padding", "paddingHorizontal", "paddingVertical", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "margin", "marginHorizontal", "marginVertical", "marginTop", "marginRight", "marginBottom", "marginLeft", "gap", "columnGap", "rowGap"]), V = {};
|
|
5712
5712
|
if (x(p)) if ("string" == typeof p) {
|
|
5713
5713
|
var w = j("padding", p);
|
|
5714
5714
|
V.paddingTop = w.paddingTop, V.paddingRight = w.paddingRight, V.paddingBottom = w.paddingBottom, V.paddingLeft = w.paddingLeft;
|
|
@@ -5716,20 +5716,20 @@ function o$1(o2) {
|
|
|
5716
5716
|
var b$1 = k(p);
|
|
5717
5717
|
V.paddingTop = b$1, V.paddingRight = b$1, V.paddingBottom = b$1, V.paddingLeft = b$1;
|
|
5718
5718
|
}
|
|
5719
|
-
if (x(m2, e2) && (V.paddingTop = k(m2, e2)), x(r2,
|
|
5719
|
+
if (x(m2, e2) && (V.paddingTop = k(m2, e2)), x(r2, f2) && (V.paddingRight = k(r2, f2)), x(m2, l2) && (V.paddingBottom = k(m2, l2)), x(r2, h2) && (V.paddingLeft = k(r2, h2)), x(s2)) if ("string" == typeof s2) {
|
|
5720
5720
|
var j$1 = j("margin", s2);
|
|
5721
5721
|
V.marginTop = j$1.marginTop, V.marginRight = j$1.marginRight, V.marginBottom = j$1.marginBottom, V.marginLeft = j$1.marginLeft;
|
|
5722
5722
|
} else {
|
|
5723
5723
|
var y = k(s2);
|
|
5724
5724
|
V.marginTop = y, V.marginRight = y, V.marginBottom = y, V.marginLeft = y;
|
|
5725
5725
|
}
|
|
5726
|
-
return x(L, R) && (V.marginTop = k(L, R)), x(B,
|
|
5726
|
+
return x(L, R) && (V.marginTop = k(L, R)), x(B, T2) && (V.marginRight = k(B, T2)), x(L, c2) && (V.marginBottom = k(L, c2)), x(B, u2) && (V.marginLeft = k(B, u2)), void 0 !== v2 && (V.gap = b(v2)), void 0 !== G && (V.columnGap = b(G)), void 0 !== z && (V.rowGap = b(z)), o$4(o$4({}, H), V);
|
|
5727
5727
|
}
|
|
5728
5728
|
function e$2(e2, r2) {
|
|
5729
5729
|
var c2 = e2.stroke, p = e2.strokeAlign, n2 = void 0 === p ? "outside" : p, x2 = e2.strokeOpacity, a2 = e2.strokeWeight, l2 = n$3(e2, ["stroke", "strokeAlign", "strokeOpacity", "strokeWeight"]), u2 = {};
|
|
5730
5730
|
if (c2 && a2) {
|
|
5731
|
-
var d2 = r2 && r2.colors && r2.colors[c2] ?
|
|
5732
|
-
"inside" === n2 ?
|
|
5731
|
+
var d2 = r2 && r2.colors && r2.colors[c2] ? te("colors", c2) : O(c2), f2 = u2.boxShadow ? u2.boxShadow.split(", ") : [];
|
|
5732
|
+
"inside" === n2 ? f2.unshift("inset 0px 0px 0px ".concat(a2, "px ").concat(d2)) : "outside" === n2 ? f2.unshift("0px 0px 0px ".concat(a2, "px ").concat(d2)) : "center" === n2 && (f2.unshift("inset 0px 0px 0px ".concat(a2 / 2, "px ").concat(d2)), f2.unshift("0px 0px 0px ".concat(a2 / 2, "px ").concat(d2))), u2.boxShadow = f2.join(", ");
|
|
5733
5733
|
} else u2.stroke = c2, x2 && (u2.strokeOpacity = x2);
|
|
5734
5734
|
return o$4(o$4({}, l2), u2);
|
|
5735
5735
|
}
|
|
@@ -5739,8 +5739,8 @@ function a(a2) {
|
|
|
5739
5739
|
}
|
|
5740
5740
|
function e$1(e2, t2) {
|
|
5741
5741
|
if (void 0 !== e2.fontSize) {
|
|
5742
|
-
var
|
|
5743
|
-
e2.fontSize = "number" == typeof
|
|
5742
|
+
var f2 = t2 && t2.fontSizes && t2.fontSizes[e2.fontSize] || e2.fontSize;
|
|
5743
|
+
e2.fontSize = "number" == typeof f2 ? f2 + "px" : f2;
|
|
5744
5744
|
}
|
|
5745
5745
|
return e2;
|
|
5746
5746
|
}
|
|
@@ -5751,8 +5751,8 @@ function s(t2, e2, s2) {
|
|
|
5751
5751
|
void 0 === t2 && (t2 = {});
|
|
5752
5752
|
var i2 = o$4({}, t2);
|
|
5753
5753
|
e2 && (i2 = e2.getStyles(i2, s2));
|
|
5754
|
-
for (var c$
|
|
5755
|
-
i2 = (0, c[c$
|
|
5754
|
+
for (var c$1 = 0; c$1 < n; c$1++) {
|
|
5755
|
+
i2 = (0, c[c$1])(i2, s2);
|
|
5756
5756
|
}
|
|
5757
5757
|
return i2.css && delete (i2 = o$4(o$4({}, i2), u(i2.css, e2, s2))).css, i2;
|
|
5758
5758
|
}
|
|
@@ -5770,7 +5770,7 @@ function u(t2, o2, e2) {
|
|
|
5770
5770
|
}), {}) : i(t2, o2, e2) : null;
|
|
5771
5771
|
}
|
|
5772
5772
|
function t(t2) {
|
|
5773
|
-
var o2 = t2.className, d2 = void 0 === o2 ? void 0 : o2, v2 = t2.mediaQueries, l2 = void 0 === v2 ? {} : v2, c2 = t2.plugin, u2 = void 0 === c2 ? void 0 : c2, p = t2.variant,
|
|
5773
|
+
var o2 = t2.className, d2 = void 0 === o2 ? void 0 : o2, v2 = t2.mediaQueries, l2 = void 0 === v2 ? {} : v2, c2 = t2.plugin, u2 = void 0 === c2 ? void 0 : c2, p = t2.variant, f2 = t2.variants, m2 = void 0 === f2 ? {} : f2, y = t2.visible, b2 = void 0 === y || y, x2 = n$3(t2, ["className", "mediaQueries", "plugin", "variant", "variants", "visible"]), O2 = {}, j2 = {}, k2 = function(e2) {
|
|
5774
5774
|
return r.indexOf(e2) > -1 || n$1.indexOf(e2) > -1 || u2 && u2.styleProps.indexOf(e2) > -1;
|
|
5775
5775
|
};
|
|
5776
5776
|
for (var N in x2) {
|
|
@@ -5783,7 +5783,7 @@ function t(t2) {
|
|
|
5783
5783
|
var v3 = j2[d3];
|
|
5784
5784
|
r$3(r, d3) || u2 && u2.styleProps.indexOf(d3) > -1 ? o3[d3] = v3 : r$3(n$1, d3) && (o3["&:".concat(d3)] = s(v3, u2, t3));
|
|
5785
5785
|
}
|
|
5786
|
-
var c3 = s(o3, u2, t3),
|
|
5786
|
+
var c3 = s(o3, u2, t3), f3 = Object.keys(l2).reduce((function(e2, i2) {
|
|
5787
5787
|
var r2 = null == t3 ? void 0 : t3.breakpoints[i2], s$12 = r2 ? "number" == typeof r2 ? "@media screen and (min-width: ".concat(r2, "px)") : r2 : i2, a2 = s(l2[i2], u2, t3);
|
|
5788
5788
|
return void 0 !== a2.visible && (a2.display = a2.visible ? c3.display : "none", delete a2.visible), e2[s$12] = a2, e2;
|
|
5789
5789
|
}), {}), y2 = function(r2) {
|
|
@@ -5791,11 +5791,11 @@ function t(t2) {
|
|
|
5791
5791
|
return n2 ? o$4(o$4({}, s2), x3(n2)) : r2;
|
|
5792
5792
|
}, x3 = function(s$12) {
|
|
5793
5793
|
return Object.keys(s$12).reduce((function(o4, d4) {
|
|
5794
|
-
var v4, l3 = s(s$12[d4], u2, t3),
|
|
5795
|
-
return void 0 !==
|
|
5794
|
+
var v4, l3 = s(s$12[d4], u2, t3), f4 = l3.visible, m3 = n$3(l3, ["visible"]);
|
|
5795
|
+
return void 0 !== f4 && (m3.display = f4 ? c3.display : "none"), p.includes(d4) ? o$4(o$4({}, o4), y2(m3)) : r$3(n$1, d4) ? o$4(o$4({}, o4), ((v4 = {})[":".concat(d4)] = y2(m3), v4)) : o4;
|
|
5796
5796
|
}), {});
|
|
5797
5797
|
}, O3 = x3(m2);
|
|
5798
|
-
return false === b2 && (c3.display = "none"), [c3,
|
|
5798
|
+
return false === b2 && (c3.display = "none"), [c3, f3, O3];
|
|
5799
5799
|
} });
|
|
5800
5800
|
}
|
|
5801
5801
|
exports.defaultTheme = s$1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planningcenter/tapestry-migration-cli",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.21",
|
|
4
4
|
"description": "CLI tool for Tapestry migrations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "483701e59dd71967051bcb58936c74f7fa750b3e"
|
|
55
55
|
}
|