@theroutingcompany/components 0.0.32-alpha.7 → 0.0.32
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/trc-components.es.js +115 -95
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +62 -39
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/types/components/Page/PageHeader.d.ts +1 -1
- package/types/components/Tabs/Tabs.d.ts +0 -4
- package/types/components/Text/Text.d.ts +2 -0
|
@@ -2,7 +2,7 @@ import * as Z from "react";
|
|
|
2
2
|
import K, { useCallback as oe, forwardRef as B, Children as Jt, isValidElement as Yr, createElement as S, cloneElement as rn, Fragment as Cr, useEffect as X, createContext as qr, useMemo as re, useContext as Ke, useLayoutEffect as Ph, useRef as z, useState as J, useReducer as gD, PureComponent as vD, useId as $D } from "react";
|
|
3
3
|
import * as Th from "react-dom";
|
|
4
4
|
import Br, { flushSync as kh, createPortal as ji } from "react-dom";
|
|
5
|
-
import A, { keyframes as Ve, css as
|
|
5
|
+
import A, { keyframes as Ve, css as De } from "styled-components";
|
|
6
6
|
import Dd, { isFragment as yD, Memo as _D, ForwardRef as xD } from "react-is";
|
|
7
7
|
import { ExpandMore as wD, Help as DD, KeyboardArrowUp as Eh, KeyboardArrowDown as Ch, Error as Ui, Check as Wi, ChevronLeft as Rh, ChevronRight as SD, NavigateBefore as PD, NavigateNext as TD, Close as Ih, Delete as kD, CloudUpload as ED, Loop as CD, Edit as RD, ArrowDropDown as Ah, Warning as ID } from "@material-ui/icons";
|
|
8
8
|
function Hi(e) {
|
|
@@ -87,8 +87,8 @@ function MD() {
|
|
|
87
87
|
}
|
|
88
88
|
function _(T, te, ce) {
|
|
89
89
|
{
|
|
90
|
-
var ge = $.ReactDebugCurrentFrame,
|
|
91
|
-
|
|
90
|
+
var ge = $.ReactDebugCurrentFrame, Pe = ge.getStackAddendum();
|
|
91
|
+
Pe !== "" && (te += "%s", ce = ce.concat([Pe]));
|
|
92
92
|
var Te = ce.map(function(we) {
|
|
93
93
|
return String(we);
|
|
94
94
|
});
|
|
@@ -108,8 +108,8 @@ function MD() {
|
|
|
108
108
|
var ge = T.displayName;
|
|
109
109
|
if (ge)
|
|
110
110
|
return ge;
|
|
111
|
-
var
|
|
112
|
-
return
|
|
111
|
+
var Pe = te.displayName || te.name || "";
|
|
112
|
+
return Pe !== "" ? ce + "(" + Pe + ")" : ce;
|
|
113
113
|
}
|
|
114
114
|
function j(T) {
|
|
115
115
|
return T.displayName || "Context";
|
|
@@ -149,7 +149,7 @@ function MD() {
|
|
|
149
149
|
var ge = T.displayName || null;
|
|
150
150
|
return ge !== null ? ge : O(T.type) || "Memo";
|
|
151
151
|
case p: {
|
|
152
|
-
var
|
|
152
|
+
var Pe = T, Te = Pe._payload, we = Pe._init;
|
|
153
153
|
try {
|
|
154
154
|
return O(we(Te));
|
|
155
155
|
} catch {
|
|
@@ -227,8 +227,8 @@ function MD() {
|
|
|
227
227
|
if (Q === void 0)
|
|
228
228
|
try {
|
|
229
229
|
throw Error();
|
|
230
|
-
} catch (
|
|
231
|
-
var ge =
|
|
230
|
+
} catch (Pe) {
|
|
231
|
+
var ge = Pe.stack.trim().match(/\n( *(at )?)/);
|
|
232
232
|
Q = ge && ge[1] || "";
|
|
233
233
|
}
|
|
234
234
|
return `
|
|
@@ -250,7 +250,7 @@ function MD() {
|
|
|
250
250
|
}
|
|
251
251
|
var ge;
|
|
252
252
|
de = !0;
|
|
253
|
-
var
|
|
253
|
+
var Pe = Error.prepareStackTrace;
|
|
254
254
|
Error.prepareStackTrace = void 0;
|
|
255
255
|
var Te;
|
|
256
256
|
Te = pe.current, pe.current = null, Y();
|
|
@@ -306,7 +306,7 @@ function MD() {
|
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
} finally {
|
|
309
|
-
de = !1, pe.current = Te, fe(), Error.prepareStackTrace =
|
|
309
|
+
de = !1, pe.current = Te, fe(), Error.prepareStackTrace = Pe;
|
|
310
310
|
}
|
|
311
311
|
var $n = T ? T.displayName || T.name : "", Sf = $n ? ie($n) : "";
|
|
312
312
|
return typeof T == "function" && le.set(T, Sf), Sf;
|
|
@@ -338,9 +338,9 @@ function MD() {
|
|
|
338
338
|
case u:
|
|
339
339
|
return pt(T.type, te, ce);
|
|
340
340
|
case p: {
|
|
341
|
-
var ge = T,
|
|
341
|
+
var ge = T, Pe = ge._payload, Te = ge._init;
|
|
342
342
|
try {
|
|
343
|
-
return pt(Te(
|
|
343
|
+
return pt(Te(Pe), te, ce);
|
|
344
344
|
} catch {
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -355,7 +355,7 @@ function MD() {
|
|
|
355
355
|
} else
|
|
356
356
|
bn.setExtraStackFrame(null);
|
|
357
357
|
}
|
|
358
|
-
function It(T, te, ce, ge,
|
|
358
|
+
function It(T, te, ce, ge, Pe) {
|
|
359
359
|
{
|
|
360
360
|
var Te = Function.call.bind(mt);
|
|
361
361
|
for (var we in T)
|
|
@@ -370,7 +370,7 @@ function MD() {
|
|
|
370
370
|
} catch (Me) {
|
|
371
371
|
xe = Me;
|
|
372
372
|
}
|
|
373
|
-
xe && !(xe instanceof Error) && (Vt(
|
|
373
|
+
xe && !(xe instanceof Error) && (Vt(Pe), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ge || "React class", ce, we, typeof xe), Vt(null)), xe instanceof Error && !(xe.message in Rt) && (Rt[xe.message] = !0, Vt(Pe), v("Failed %s type: %s", ce, xe.message), Vt(null));
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
}
|
|
@@ -449,7 +449,7 @@ function MD() {
|
|
|
449
449
|
});
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
|
-
var sD = function(T, te, ce, ge,
|
|
452
|
+
var sD = function(T, te, ce, ge, Pe, Te, we) {
|
|
453
453
|
var xe = {
|
|
454
454
|
// This tag allows us to uniquely identify this as a React Element
|
|
455
455
|
$$typeof: t,
|
|
@@ -475,13 +475,13 @@ function MD() {
|
|
|
475
475
|
configurable: !1,
|
|
476
476
|
enumerable: !1,
|
|
477
477
|
writable: !1,
|
|
478
|
-
value:
|
|
478
|
+
value: Pe
|
|
479
479
|
}), Object.freeze && (Object.freeze(xe.props), Object.freeze(xe)), xe;
|
|
480
480
|
};
|
|
481
|
-
function lD(T, te, ce, ge,
|
|
481
|
+
function lD(T, te, ce, ge, Pe) {
|
|
482
482
|
{
|
|
483
483
|
var Te, we = {}, xe = null, Je = null;
|
|
484
|
-
ce !== void 0 && (lt(ce), xe = "" + ce), nD(te) && (lt(te.key), xe = "" + te.key), rD(te) && (Je = te.ref, oD(te,
|
|
484
|
+
ce !== void 0 && (lt(ce), xe = "" + ce), nD(te) && (lt(te.key), xe = "" + te.key), rD(te) && (Je = te.ref, oD(te, Pe));
|
|
485
485
|
for (Te in te)
|
|
486
486
|
mt.call(te, Te) && !tD.hasOwnProperty(Te) && (we[Te] = te[Te]);
|
|
487
487
|
if (T && T.defaultProps) {
|
|
@@ -493,7 +493,7 @@ function MD() {
|
|
|
493
493
|
var ze = typeof T == "function" ? T.displayName || T.name || "Unknown" : T;
|
|
494
494
|
xe && aD(we, ze), Je && iD(we, ze);
|
|
495
495
|
}
|
|
496
|
-
return sD(T, xe, Je,
|
|
496
|
+
return sD(T, xe, Je, Pe, ge, go.current, we);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
var Hs = $.ReactCurrentOwner, $f = $.ReactDebugCurrentFrame;
|
|
@@ -570,9 +570,9 @@ Check the top-level render call using <` + ce + ">.");
|
|
|
570
570
|
else if (Ys(T))
|
|
571
571
|
T._store && (T._store.validated = !0);
|
|
572
572
|
else if (T) {
|
|
573
|
-
var
|
|
574
|
-
if (typeof
|
|
575
|
-
for (var Te =
|
|
573
|
+
var Pe = g(T);
|
|
574
|
+
if (typeof Pe == "function" && Pe !== T.entries)
|
|
575
|
+
for (var Te = Pe.call(T), we; !(we = Te.next()).done; )
|
|
576
576
|
Ys(we.value) && xf(we.value, te);
|
|
577
577
|
}
|
|
578
578
|
}
|
|
@@ -596,8 +596,8 @@ Check the top-level render call using <` + ce + ">.");
|
|
|
596
596
|
It(ce, T.props, "prop", ge, T);
|
|
597
597
|
} else if (te.PropTypes !== void 0 && !Gs) {
|
|
598
598
|
Gs = !0;
|
|
599
|
-
var
|
|
600
|
-
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
599
|
+
var Pe = O(te);
|
|
600
|
+
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Pe || "Unknown");
|
|
601
601
|
}
|
|
602
602
|
typeof te.getDefaultProps == "function" && !te.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
603
603
|
}
|
|
@@ -614,18 +614,18 @@ Check the top-level render call using <` + ce + ">.");
|
|
|
614
614
|
T.ref !== null && (vn(T), v("Invalid attribute `ref` supplied to `React.Fragment`."), vn(null));
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function Df(T, te, ce, ge,
|
|
617
|
+
function Df(T, te, ce, ge, Pe, Te) {
|
|
618
618
|
{
|
|
619
619
|
var we = F(T);
|
|
620
620
|
if (!we) {
|
|
621
621
|
var xe = "";
|
|
622
622
|
(T === void 0 || typeof T == "object" && T !== null && Object.keys(T).length === 0) && (xe += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
623
|
-
var Je = cD(
|
|
623
|
+
var Je = cD(Pe);
|
|
624
624
|
Je ? xe += Je : xe += yf();
|
|
625
625
|
var Me;
|
|
626
626
|
T === null ? Me = "null" : gn(T) ? Me = "array" : T !== void 0 && T.$$typeof === t ? (Me = "<" + (O(T.type) || "Unknown") + " />", xe = " Did you accidentally export a JSX literal instead of a component?") : Me = typeof T, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Me, xe);
|
|
627
627
|
}
|
|
628
|
-
var ze = lD(T, te, ce,
|
|
628
|
+
var ze = lD(T, te, ce, Pe, Te);
|
|
629
629
|
if (ze == null)
|
|
630
630
|
return ze;
|
|
631
631
|
if (we) {
|
|
@@ -2661,7 +2661,7 @@ const oP = "DialogTitleWarning", [aP, PV] = BD(oP, {
|
|
|
2661
2661
|
opacity: 1;
|
|
2662
2662
|
transform: translate(-50%, -50%) scale(1);
|
|
2663
2663
|
}
|
|
2664
|
-
`, pb =
|
|
2664
|
+
`, pb = De`
|
|
2665
2665
|
background-color: ${f.color_deprecated_background_black_strong};
|
|
2666
2666
|
opacity: 0.6;
|
|
2667
2667
|
position: fixed;
|
|
@@ -2674,7 +2674,7 @@ const oP = "DialogTitleWarning", [aP, PV] = BD(oP, {
|
|
|
2674
2674
|
small: "360px",
|
|
2675
2675
|
medium: "540px",
|
|
2676
2676
|
large: "960px"
|
|
2677
|
-
}, hb =
|
|
2677
|
+
}, hb = De`
|
|
2678
2678
|
box-sizing: border-box;
|
|
2679
2679
|
background: ${f.color_white};
|
|
2680
2680
|
padding: ${f.sizing_500};
|
|
@@ -2720,7 +2720,7 @@ const bb = `
|
|
|
2720
2720
|
color: ${f.color_deprecated_text_strong};
|
|
2721
2721
|
`, EV = A(cb)`
|
|
2722
2722
|
${bb}
|
|
2723
|
-
`, gb =
|
|
2723
|
+
`, gb = De`
|
|
2724
2724
|
font-family: ${f.font_family_pingo};
|
|
2725
2725
|
font-style: normal;
|
|
2726
2726
|
font-weight: 400;
|
|
@@ -2736,7 +2736,7 @@ const bb = `
|
|
|
2736
2736
|
display: flex;
|
|
2737
2737
|
justify-content: end;
|
|
2738
2738
|
gap: ${f.sizing_200};
|
|
2739
|
-
`, vb =
|
|
2739
|
+
`, vb = De`
|
|
2740
2740
|
all: unset;
|
|
2741
2741
|
font-family: inherit;
|
|
2742
2742
|
height: 25px;
|
|
@@ -3706,8 +3706,8 @@ var aa = ut(nr), Ia = {
|
|
|
3706
3706
|
return wr(r, t, t);
|
|
3707
3707
|
var n = t < 0, o = Math.abs(t), a = wr(r, o, o);
|
|
3708
3708
|
return jf(a) ? a * (n ? -1 : 1) : n ? "-" + a : a;
|
|
3709
|
-
},
|
|
3710
|
-
|
|
3709
|
+
}, Se = {};
|
|
3710
|
+
Se.margin = {
|
|
3711
3711
|
margin: {
|
|
3712
3712
|
property: "margin",
|
|
3713
3713
|
scale: "space",
|
|
@@ -3751,14 +3751,14 @@ De.margin = {
|
|
|
3751
3751
|
defaultScale: nt.space
|
|
3752
3752
|
}
|
|
3753
3753
|
};
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3754
|
+
Se.margin.m = Se.margin.margin;
|
|
3755
|
+
Se.margin.mt = Se.margin.marginTop;
|
|
3756
|
+
Se.margin.mr = Se.margin.marginRight;
|
|
3757
|
+
Se.margin.mb = Se.margin.marginBottom;
|
|
3758
|
+
Se.margin.ml = Se.margin.marginLeft;
|
|
3759
|
+
Se.margin.mx = Se.margin.marginX;
|
|
3760
|
+
Se.margin.my = Se.margin.marginY;
|
|
3761
|
+
Se.padding = {
|
|
3762
3762
|
padding: {
|
|
3763
3763
|
property: "padding",
|
|
3764
3764
|
scale: "space",
|
|
@@ -3795,14 +3795,14 @@ De.padding = {
|
|
|
3795
3795
|
defaultScale: nt.space
|
|
3796
3796
|
}
|
|
3797
3797
|
};
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
var Cb = ut(
|
|
3798
|
+
Se.padding.p = Se.padding.padding;
|
|
3799
|
+
Se.padding.pt = Se.padding.paddingTop;
|
|
3800
|
+
Se.padding.pr = Se.padding.paddingRight;
|
|
3801
|
+
Se.padding.pb = Se.padding.paddingBottom;
|
|
3802
|
+
Se.padding.pl = Se.padding.paddingLeft;
|
|
3803
|
+
Se.padding.px = Se.padding.paddingX;
|
|
3804
|
+
Se.padding.py = Se.padding.paddingY;
|
|
3805
|
+
var Cb = ut(Se.margin), Rb = ut(Se.padding), Fd = os(Cb, Rb), Ib = ut({
|
|
3806
3806
|
boxShadow: {
|
|
3807
3807
|
property: "boxShadow",
|
|
3808
3808
|
scale: "shadows"
|
|
@@ -11620,7 +11620,7 @@ const xl = A(qe)`
|
|
|
11620
11620
|
] });
|
|
11621
11621
|
});
|
|
11622
11622
|
Vv.displayName = "Connect";
|
|
11623
|
-
const du = Vv, _E =
|
|
11623
|
+
const du = Vv, _E = De`
|
|
11624
11624
|
position: absolute;
|
|
11625
11625
|
width: 1px;
|
|
11626
11626
|
height: 1px;
|
|
@@ -13086,9 +13086,8 @@ const B6 = k6, j6 = E6, U6 = K6, W6 = A(a$)`
|
|
|
13086
13086
|
color: ${f.color_deprecated_fill_primary_pressed};
|
|
13087
13087
|
}
|
|
13088
13088
|
|
|
13089
|
-
/* TODO check these colors with designers */
|
|
13090
13089
|
&:not([data-state~='closed']) > svg {
|
|
13091
|
-
color:
|
|
13090
|
+
color: ${f.color_brand_lilac};
|
|
13092
13091
|
}
|
|
13093
13092
|
`;
|
|
13094
13093
|
function dn({
|
|
@@ -14767,7 +14766,8 @@ const x4 = A.div`
|
|
|
14767
14766
|
border: none;
|
|
14768
14767
|
padding: 6px 8px;
|
|
14769
14768
|
outline: none;
|
|
14770
|
-
|
|
14769
|
+
color: ${f.color_black};
|
|
14770
|
+
font-size: ${f.font_size_175};
|
|
14771
14771
|
border: 1px solid;
|
|
14772
14772
|
border-right: none;
|
|
14773
14773
|
border-color: ${(e) => e.isFocused ? f.color_gray_6 : f.color_gray_84};
|
|
@@ -15881,8 +15881,8 @@ const vC = `
|
|
|
15881
15881
|
cursor: not-allowed;
|
|
15882
15882
|
}
|
|
15883
15883
|
`;
|
|
15884
|
-
}, A1 =
|
|
15885
|
-
`, xC =
|
|
15884
|
+
}, A1 = De`
|
|
15885
|
+
`, xC = De`
|
|
15886
15886
|
${A1};
|
|
15887
15887
|
background: ${f.color_gray_6};
|
|
15888
15888
|
color: ${f.color_white};
|
|
@@ -15908,7 +15908,7 @@ const vC = `
|
|
|
15908
15908
|
}
|
|
15909
15909
|
|
|
15910
15910
|
&:disabled {}
|
|
15911
|
-
`, wC =
|
|
15911
|
+
`, wC = De`
|
|
15912
15912
|
${A1};
|
|
15913
15913
|
background: ${f.color_white};
|
|
15914
15914
|
color: ${f.color_gray_6};
|
|
@@ -15931,9 +15931,9 @@ const vC = `
|
|
|
15931
15931
|
}
|
|
15932
15932
|
|
|
15933
15933
|
&:disabled {}
|
|
15934
|
-
`, O1 =
|
|
15934
|
+
`, O1 = De`
|
|
15935
15935
|
background: transparent;
|
|
15936
|
-
`, DC =
|
|
15936
|
+
`, DC = De`
|
|
15937
15937
|
${O1}
|
|
15938
15938
|
color: ${f.color_gray_6};
|
|
15939
15939
|
border: 1px solid rgba(0, 0, 0, 0.16); // TODO: token
|
|
@@ -15960,7 +15960,7 @@ const vC = `
|
|
|
15960
15960
|
}
|
|
15961
15961
|
|
|
15962
15962
|
&:disabled {}
|
|
15963
|
-
`, SC =
|
|
15963
|
+
`, SC = De`
|
|
15964
15964
|
${O1}
|
|
15965
15965
|
color: ${f.color_white};
|
|
15966
15966
|
border: 1px solid rgba(255, 255, 255, 0.2); // TODO: token
|
|
@@ -15984,9 +15984,9 @@ const vC = `
|
|
|
15984
15984
|
}
|
|
15985
15985
|
|
|
15986
15986
|
&:disabled {}
|
|
15987
|
-
`, M1 =
|
|
15987
|
+
`, M1 = De`
|
|
15988
15988
|
background: transparent;
|
|
15989
|
-
`, PC =
|
|
15989
|
+
`, PC = De`
|
|
15990
15990
|
${M1}
|
|
15991
15991
|
color: ${f.color_gray_6};
|
|
15992
15992
|
|
|
@@ -16011,7 +16011,7 @@ const vC = `
|
|
|
16011
16011
|
}
|
|
16012
16012
|
|
|
16013
16013
|
&:disabled {}
|
|
16014
|
-
`, TC =
|
|
16014
|
+
`, TC = De`
|
|
16015
16015
|
${M1}
|
|
16016
16016
|
color: ${f.color_white};
|
|
16017
16017
|
|
|
@@ -16033,10 +16033,10 @@ const vC = `
|
|
|
16033
16033
|
}
|
|
16034
16034
|
|
|
16035
16035
|
&:disabled {}
|
|
16036
|
-
`, N1 =
|
|
16036
|
+
`, N1 = De`
|
|
16037
16037
|
background: ${f.color_brand_red};
|
|
16038
16038
|
color: ${f.color_white};
|
|
16039
|
-
`, kC =
|
|
16039
|
+
`, kC = De`
|
|
16040
16040
|
${N1};
|
|
16041
16041
|
|
|
16042
16042
|
&.simulate-hover,
|
|
@@ -16060,7 +16060,7 @@ const vC = `
|
|
|
16060
16060
|
}
|
|
16061
16061
|
|
|
16062
16062
|
&:disabled {}
|
|
16063
|
-
`, EC =
|
|
16063
|
+
`, EC = De`
|
|
16064
16064
|
${N1};
|
|
16065
16065
|
|
|
16066
16066
|
&.simulate-hover,
|
|
@@ -16092,9 +16092,9 @@ const vC = `
|
|
|
16092
16092
|
case "danger":
|
|
16093
16093
|
return t ? EC : kC;
|
|
16094
16094
|
}
|
|
16095
|
-
}, RC =
|
|
16095
|
+
}, RC = De`
|
|
16096
16096
|
padding: ${f.spacing_200} ${f.spacing_300};
|
|
16097
|
-
`, IC =
|
|
16097
|
+
`, IC = De`
|
|
16098
16098
|
padding: ${f.spacing_300} ${f.spacing_400};
|
|
16099
16099
|
`, AC = (e) => {
|
|
16100
16100
|
switch (e) {
|
|
@@ -20661,29 +20661,41 @@ function Ha(e, t = ln(qd())) {
|
|
|
20661
20661
|
}
|
|
20662
20662
|
const po = A.p`
|
|
20663
20663
|
font-family: ${f.font_family_pingo};
|
|
20664
|
-
|
|
20665
|
-
|
|
20666
|
-
|
|
20664
|
+
|
|
20665
|
+
${(e) => e.fontStyle && De`
|
|
20666
|
+
font-style: ${e.fontStyle};
|
|
20667
|
+
`}
|
|
20668
|
+
|
|
20669
|
+
${(e) => e.textColor && De`
|
|
20670
|
+
color: ${e.textColor};
|
|
20671
|
+
`}
|
|
20672
|
+
|
|
20673
|
+
${(e) => e.fontWeight && De`
|
|
20674
|
+
font-style: ${e.fontWeight};
|
|
20675
|
+
`}
|
|
20676
|
+
|
|
20667
20677
|
margin-block: 0;
|
|
20668
20678
|
overflow-wrap: break-word;
|
|
20669
20679
|
hyphens: auto;
|
|
20670
20680
|
${Fd}
|
|
20671
|
-
`, ux =
|
|
20681
|
+
`, ux = De`
|
|
20672
20682
|
font-size: ${f.font_size_125};
|
|
20673
20683
|
line-height: ${f.font_size_150};
|
|
20674
|
-
`, fx =
|
|
20684
|
+
`, fx = De`
|
|
20675
20685
|
font-size: ${f.font_size_150};
|
|
20676
20686
|
line-height: ${f.font_size_175};
|
|
20677
|
-
`, px =
|
|
20687
|
+
`, px = De`
|
|
20678
20688
|
font-size: ${f.font_size_175};
|
|
20679
20689
|
line-height: ${f.font_size_200};
|
|
20680
|
-
`, mx =
|
|
20690
|
+
`, mx = De`
|
|
20681
20691
|
font-size: ${f.font_size_200};
|
|
20682
20692
|
line-height: ${f.font_size_225};
|
|
20683
|
-
`, hx =
|
|
20693
|
+
`, hx = De`
|
|
20684
20694
|
font-size: ${f.font_size_225};
|
|
20685
20695
|
line-height: ${f.font_size_250};
|
|
20686
|
-
`, ba = A(po)
|
|
20696
|
+
`, ba = A(po)`
|
|
20697
|
+
|
|
20698
|
+
`, p8 = A(ba)`
|
|
20687
20699
|
${ux}
|
|
20688
20700
|
`, m8 = A(ba)`
|
|
20689
20701
|
${fx}
|
|
@@ -20743,7 +20755,7 @@ const T8 = {
|
|
|
20743
20755
|
negative: a = !1,
|
|
20744
20756
|
italic: i,
|
|
20745
20757
|
bold: s,
|
|
20746
|
-
style: l,
|
|
20758
|
+
style: l = {},
|
|
20747
20759
|
...c
|
|
20748
20760
|
} = e, d = T8[r], u = s ? 500 : 300;
|
|
20749
20761
|
let p;
|
|
@@ -20751,14 +20763,11 @@ const T8 = {
|
|
|
20751
20763
|
d,
|
|
20752
20764
|
{
|
|
20753
20765
|
...c,
|
|
20766
|
+
fontStyle: i ? "italic" : "normal",
|
|
20767
|
+
fontWeight: u,
|
|
20768
|
+
textColor: p,
|
|
20754
20769
|
ref: t,
|
|
20755
|
-
style:
|
|
20756
|
-
"--text-font-weight": u,
|
|
20757
|
-
"--text-color": p,
|
|
20758
|
-
"--text-style": i ? "italic" : "normal",
|
|
20759
|
-
// Allow style passthrough
|
|
20760
|
-
...l
|
|
20761
|
-
}
|
|
20770
|
+
style: l
|
|
20762
20771
|
}
|
|
20763
20772
|
);
|
|
20764
20773
|
});
|
|
@@ -24200,7 +24209,7 @@ const qA = yA, ZA = a2, XA = xA, JA = DA, QA = l2, eO = TA, tO = qu, rO = kA, nO
|
|
|
24200
24209
|
`, qO = Ve`
|
|
24201
24210
|
0% { opacity: 0; transform: translateX(2px); }
|
|
24202
24211
|
100% { opacity: 1; transform: translateX(0); }
|
|
24203
|
-
`, v2 =
|
|
24212
|
+
`, v2 = De`
|
|
24204
24213
|
font-family: ${f.font_family_pingo};
|
|
24205
24214
|
border-radius: 6px; // not in tokens (yet)
|
|
24206
24215
|
padding: ${f.sizing_100};
|
|
@@ -24240,7 +24249,7 @@ const qA = yA, ZA = a2, XA = xA, JA = DA, QA = l2, eO = TA, tO = qu, rO = kA, nO
|
|
|
24240
24249
|
) });
|
|
24241
24250
|
});
|
|
24242
24251
|
XO.displayName = "DropdownMenuContent";
|
|
24243
|
-
const oB = RO, aB = g2, zs =
|
|
24252
|
+
const oB = RO, aB = g2, zs = De`
|
|
24244
24253
|
all: unset;
|
|
24245
24254
|
font-size: ${f.font_size_deprecated_100};
|
|
24246
24255
|
line-height: ${f.line_height_deprecated_129};
|
|
@@ -26863,7 +26872,7 @@ const yB = Object.assign(ho, {
|
|
|
26863
26872
|
display: grid;
|
|
26864
26873
|
grid-template-columns: repeat(12, minmax(var(--min-col-width, 0), 150px));
|
|
26865
26874
|
column-gap: ${f.sizing_600};
|
|
26866
|
-
`, BM =
|
|
26875
|
+
`, BM = De`
|
|
26867
26876
|
width: clamp(
|
|
26868
26877
|
var(--page-min-width, 750px),
|
|
26869
26878
|
var(--page-ideal-width, 90%),
|
|
@@ -31139,8 +31148,12 @@ const RK = A(L5)`
|
|
|
31139
31148
|
background-color: ${f.color_deprecated_overlay_secondary_hover};
|
|
31140
31149
|
}
|
|
31141
31150
|
|
|
31142
|
-
&[data-state~='active']
|
|
31143
|
-
|
|
31151
|
+
&[data-state~='active'] {
|
|
31152
|
+
border-bottom: 2px solid ${f.color_black};
|
|
31153
|
+
}
|
|
31154
|
+
|
|
31155
|
+
&[data-state~='active'],
|
|
31156
|
+
&[data-state~='active'] > span {
|
|
31144
31157
|
color: ${f.color_black};
|
|
31145
31158
|
}
|
|
31146
31159
|
|
|
@@ -31200,8 +31213,7 @@ const V5 = A(F5)`
|
|
|
31200
31213
|
`;
|
|
31201
31214
|
V5.displayName = "List";
|
|
31202
31215
|
wa.List = V5;
|
|
31203
|
-
const B5 =
|
|
31204
|
-
/* position: relative !important; */
|
|
31216
|
+
const B5 = De`
|
|
31205
31217
|
display: flex;
|
|
31206
31218
|
justify-content: center;
|
|
31207
31219
|
align-items: center;
|
|
@@ -31219,21 +31231,29 @@ const B5 = Pe`
|
|
|
31219
31231
|
display: flex;
|
|
31220
31232
|
${B5}
|
|
31221
31233
|
|
|
31222
|
-
${(e) => e.variant === "secondary" &&
|
|
31234
|
+
${(e) => e.variant === "secondary" && De`
|
|
31223
31235
|
&[data-state~='active'] {
|
|
31224
|
-
/* color: ${f.color_black}; */
|
|
31225
31236
|
background-color: ${f.color_gray_opacity_6};
|
|
31226
31237
|
border-radius: ${f.border_radius_400};
|
|
31227
31238
|
}
|
|
31228
|
-
`}
|
|
31229
31239
|
|
|
31230
|
-
|
|
31240
|
+
&[data-state~='active'],
|
|
31241
|
+
&[data-state~='active'] > span {
|
|
31231
31242
|
color: ${f.color_black};
|
|
31243
|
+
}
|
|
31244
|
+
`}
|
|
31245
|
+
|
|
31246
|
+
${(e) => e.variant === "primary" && De`
|
|
31232
31247
|
border-bottom: 2px solid ${f.color_gray_opacity_6};
|
|
31233
31248
|
|
|
31234
31249
|
&[data-state~='active'] {
|
|
31235
31250
|
border-bottom: 2px solid ${f.color_black};
|
|
31236
31251
|
}
|
|
31252
|
+
|
|
31253
|
+
&[data-state~='active'],
|
|
31254
|
+
&[data-state~='active'] > span {
|
|
31255
|
+
color: ${f.color_black};
|
|
31256
|
+
}
|
|
31237
31257
|
`}
|
|
31238
31258
|
`;
|
|
31239
31259
|
j5.displayName = "Trigger";
|