@planningcenter/tapestry-migration-cli 3.0.0-rc.20 → 3.0.0-rc.22
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 +53 -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 };
|
|
@@ -3150,6 +3150,8 @@ const tokens = {
|
|
|
3150
3150
|
"--t-border-color-control-error": "hsl(8, 60%, 47%)",
|
|
3151
3151
|
"--t-border-color-control-disabled": "hsl(0, 0%, 88%)",
|
|
3152
3152
|
"--t-shadow-overflow-color": "hsla(0, 0%, 0%, 0.07)",
|
|
3153
|
+
"--t-font-sans-serif": "ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
|
|
3154
|
+
"--t-font-monospace": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
|
|
3153
3155
|
"--t-form-background-color": "hsl(0, 0%, 100%)",
|
|
3154
3156
|
"--t-form-background-color-disabled": "hsl(0, 0%, 95%)",
|
|
3155
3157
|
"--t-form-background-color-error": "hsl(0, 0%, 100%)",
|
|
@@ -3796,14 +3798,14 @@ function toColorString(color) {
|
|
|
3796
3798
|
if (isHsl(color)) return hsl(color);
|
|
3797
3799
|
throw new PolishedError(8);
|
|
3798
3800
|
}
|
|
3799
|
-
function curried(
|
|
3801
|
+
function curried(f2, length, acc) {
|
|
3800
3802
|
return function fn() {
|
|
3801
3803
|
var combined = acc.concat(Array.prototype.slice.call(arguments));
|
|
3802
|
-
return combined.length >= length ?
|
|
3804
|
+
return combined.length >= length ? f2.apply(this, combined) : curried(f2, length, combined);
|
|
3803
3805
|
};
|
|
3804
3806
|
}
|
|
3805
|
-
function curry(
|
|
3806
|
-
return curried(
|
|
3807
|
+
function curry(f2) {
|
|
3808
|
+
return curried(f2, f2.length, []);
|
|
3807
3809
|
}
|
|
3808
3810
|
function adjustHue(degree, color) {
|
|
3809
3811
|
if (color === "transparent") return color;
|
|
@@ -4449,19 +4451,19 @@ function requireKebabCase() {
|
|
|
4449
4451
|
}
|
|
4450
4452
|
var kebabCaseExports = requireKebabCase();
|
|
4451
4453
|
const n$2 = /* @__PURE__ */ getDefaultExportFromCjs(kebabCaseExports);
|
|
4452
|
-
var
|
|
4454
|
+
var f = false;
|
|
4453
4455
|
if ("undefined" != typeof window) try {
|
|
4454
|
-
var
|
|
4455
|
-
return
|
|
4456
|
+
var s$3 = { get passive() {
|
|
4457
|
+
return f = true, true;
|
|
4456
4458
|
} };
|
|
4457
|
-
window.addEventListener("test", null,
|
|
4459
|
+
window.addEventListener("test", null, s$3), window.removeEventListener("test", null, s$3);
|
|
4458
4460
|
} catch (e2) {
|
|
4459
|
-
|
|
4461
|
+
f = false;
|
|
4460
4462
|
}
|
|
4461
4463
|
"text-width" + (/* @__PURE__ */ new Date()).getTime();
|
|
4462
|
-
var
|
|
4463
|
-
|
|
4464
|
-
function
|
|
4464
|
+
var T = "undefined" == typeof document ? null : document.createElement("canvas");
|
|
4465
|
+
T && T.getContext("2d");
|
|
4466
|
+
function te(e2, t2) {
|
|
4465
4467
|
return e2 && t2 ? "var(--".concat(n$2(e2), "-").concat(n$2(t2), ")") : void 0;
|
|
4466
4468
|
}
|
|
4467
4469
|
function d(t2, n2) {
|
|
@@ -4487,7 +4489,7 @@ function m(t2) {
|
|
|
4487
4489
|
}), {});
|
|
4488
4490
|
return Object.keys(n2).reduce((function(t3, e2) {
|
|
4489
4491
|
var c2, o2 = n2[e2], a2 = "string" == typeof o2 ? n2[o2] : void 0;
|
|
4490
|
-
return o$4(o$4({}, t3), ((c2 = {})[e2] = a2 ?
|
|
4492
|
+
return o$4(o$4({}, t3), ((c2 = {})[e2] = a2 ? te("colors", o2) : o2, c2));
|
|
4491
4493
|
}), {});
|
|
4492
4494
|
}
|
|
4493
4495
|
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 +5016,8 @@ function r$2(o2) {
|
|
|
5014
5016
|
return "number" == typeof o2 ? o2 + "px" : o2;
|
|
5015
5017
|
}
|
|
5016
5018
|
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({},
|
|
5019
|
+
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 = {};
|
|
5020
|
+
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
5021
|
}
|
|
5020
5022
|
var _isKey;
|
|
5021
5023
|
var hasRequired_isKey;
|
|
@@ -5672,10 +5674,10 @@ function O(t2) {
|
|
|
5672
5674
|
return e$5(t2) || t2;
|
|
5673
5675
|
}
|
|
5674
5676
|
function e$4(e2, t2) {
|
|
5675
|
-
var b2 = e2.backgroundColor, d2 = e2.borderColor,
|
|
5677
|
+
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
5678
|
return Object.keys(k2).forEach((function(o2) {
|
|
5677
5679
|
var e3 = k2[o2];
|
|
5678
|
-
e3 && (a2[o2] = t2 && t2.colors && t2.colors[e3] ?
|
|
5680
|
+
e3 && (a2[o2] = t2 && t2.colors && t2.colors[e3] ? te("colors", e3) : O(e3));
|
|
5679
5681
|
})), a2;
|
|
5680
5682
|
}
|
|
5681
5683
|
function o$2(o2, t2) {
|
|
@@ -5684,8 +5686,8 @@ function o$2(o2, t2) {
|
|
|
5684
5686
|
}
|
|
5685
5687
|
function l(l2) {
|
|
5686
5688
|
void 0 === l2 && (l2 = {});
|
|
5687
|
-
var n2 = l2.alignItems, t2 = l2.alignSelf, a2 = l2.basis,
|
|
5688
|
-
return
|
|
5689
|
+
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 = {};
|
|
5690
|
+
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
5691
|
}
|
|
5690
5692
|
function r$1(r2) {
|
|
5691
5693
|
void 0 === r2 && (r2 = {});
|
|
@@ -5697,8 +5699,8 @@ function t$1(t2) {
|
|
|
5697
5699
|
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
5700
|
}
|
|
5699
5701
|
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 && (
|
|
5702
|
+
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 = {};
|
|
5703
|
+
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
5704
|
}
|
|
5703
5705
|
function h(h2) {
|
|
5704
5706
|
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 +5710,7 @@ function h(h2) {
|
|
|
5708
5710
|
})), r2;
|
|
5709
5711
|
}
|
|
5710
5712
|
function o$1(o2) {
|
|
5711
|
-
var p = o2.padding, r2 = o2.paddingHorizontal, m2 = o2.paddingVertical, e2 = o2.paddingTop,
|
|
5713
|
+
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
5714
|
if (x(p)) if ("string" == typeof p) {
|
|
5713
5715
|
var w = j("padding", p);
|
|
5714
5716
|
V.paddingTop = w.paddingTop, V.paddingRight = w.paddingRight, V.paddingBottom = w.paddingBottom, V.paddingLeft = w.paddingLeft;
|
|
@@ -5716,20 +5718,20 @@ function o$1(o2) {
|
|
|
5716
5718
|
var b$1 = k(p);
|
|
5717
5719
|
V.paddingTop = b$1, V.paddingRight = b$1, V.paddingBottom = b$1, V.paddingLeft = b$1;
|
|
5718
5720
|
}
|
|
5719
|
-
if (x(m2, e2) && (V.paddingTop = k(m2, e2)), x(r2,
|
|
5721
|
+
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
5722
|
var j$1 = j("margin", s2);
|
|
5721
5723
|
V.marginTop = j$1.marginTop, V.marginRight = j$1.marginRight, V.marginBottom = j$1.marginBottom, V.marginLeft = j$1.marginLeft;
|
|
5722
5724
|
} else {
|
|
5723
5725
|
var y = k(s2);
|
|
5724
5726
|
V.marginTop = y, V.marginRight = y, V.marginBottom = y, V.marginLeft = y;
|
|
5725
5727
|
}
|
|
5726
|
-
return x(L, R) && (V.marginTop = k(L, R)), x(B,
|
|
5728
|
+
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
5729
|
}
|
|
5728
5730
|
function e$2(e2, r2) {
|
|
5729
5731
|
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
5732
|
if (c2 && a2) {
|
|
5731
|
-
var d2 = r2 && r2.colors && r2.colors[c2] ?
|
|
5732
|
-
"inside" === n2 ?
|
|
5733
|
+
var d2 = r2 && r2.colors && r2.colors[c2] ? te("colors", c2) : O(c2), f2 = u2.boxShadow ? u2.boxShadow.split(", ") : [];
|
|
5734
|
+
"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
5735
|
} else u2.stroke = c2, x2 && (u2.strokeOpacity = x2);
|
|
5734
5736
|
return o$4(o$4({}, l2), u2);
|
|
5735
5737
|
}
|
|
@@ -5739,8 +5741,8 @@ function a(a2) {
|
|
|
5739
5741
|
}
|
|
5740
5742
|
function e$1(e2, t2) {
|
|
5741
5743
|
if (void 0 !== e2.fontSize) {
|
|
5742
|
-
var
|
|
5743
|
-
e2.fontSize = "number" == typeof
|
|
5744
|
+
var f2 = t2 && t2.fontSizes && t2.fontSizes[e2.fontSize] || e2.fontSize;
|
|
5745
|
+
e2.fontSize = "number" == typeof f2 ? f2 + "px" : f2;
|
|
5744
5746
|
}
|
|
5745
5747
|
return e2;
|
|
5746
5748
|
}
|
|
@@ -5751,8 +5753,8 @@ function s(t2, e2, s2) {
|
|
|
5751
5753
|
void 0 === t2 && (t2 = {});
|
|
5752
5754
|
var i2 = o$4({}, t2);
|
|
5753
5755
|
e2 && (i2 = e2.getStyles(i2, s2));
|
|
5754
|
-
for (var c$
|
|
5755
|
-
i2 = (0, c[c$
|
|
5756
|
+
for (var c$1 = 0; c$1 < n; c$1++) {
|
|
5757
|
+
i2 = (0, c[c$1])(i2, s2);
|
|
5756
5758
|
}
|
|
5757
5759
|
return i2.css && delete (i2 = o$4(o$4({}, i2), u(i2.css, e2, s2))).css, i2;
|
|
5758
5760
|
}
|
|
@@ -5770,7 +5772,7 @@ function u(t2, o2, e2) {
|
|
|
5770
5772
|
}), {}) : i(t2, o2, e2) : null;
|
|
5771
5773
|
}
|
|
5772
5774
|
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,
|
|
5775
|
+
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
5776
|
return r.indexOf(e2) > -1 || n$1.indexOf(e2) > -1 || u2 && u2.styleProps.indexOf(e2) > -1;
|
|
5775
5777
|
};
|
|
5776
5778
|
for (var N in x2) {
|
|
@@ -5783,7 +5785,7 @@ function t(t2) {
|
|
|
5783
5785
|
var v3 = j2[d3];
|
|
5784
5786
|
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
5787
|
}
|
|
5786
|
-
var c3 = s(o3, u2, t3),
|
|
5788
|
+
var c3 = s(o3, u2, t3), f3 = Object.keys(l2).reduce((function(e2, i2) {
|
|
5787
5789
|
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
5790
|
return void 0 !== a2.visible && (a2.display = a2.visible ? c3.display : "none", delete a2.visible), e2[s$12] = a2, e2;
|
|
5789
5791
|
}), {}), y2 = function(r2) {
|
|
@@ -5791,11 +5793,11 @@ function t(t2) {
|
|
|
5791
5793
|
return n2 ? o$4(o$4({}, s2), x3(n2)) : r2;
|
|
5792
5794
|
}, x3 = function(s$12) {
|
|
5793
5795
|
return Object.keys(s$12).reduce((function(o4, d4) {
|
|
5794
|
-
var v4, l3 = s(s$12[d4], u2, t3),
|
|
5795
|
-
return void 0 !==
|
|
5796
|
+
var v4, l3 = s(s$12[d4], u2, t3), f4 = l3.visible, m3 = n$3(l3, ["visible"]);
|
|
5797
|
+
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
5798
|
}), {});
|
|
5797
5799
|
}, O3 = x3(m2);
|
|
5798
|
-
return false === b2 && (c3.display = "none"), [c3,
|
|
5800
|
+
return false === b2 && (c3.display = "none"), [c3, f3, O3];
|
|
5799
5801
|
} });
|
|
5800
5802
|
}
|
|
5801
5803
|
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.22",
|
|
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": "ab2c563cd76592a00657ff92133b374994974caf"
|
|
55
55
|
}
|