@sanity/ui 2.10.17 → 2.10.18-canary.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/index.esm.js +329 -264
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +329 -264
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +329 -264
- package/dist/index.mjs.map +1 -1
- package/package.json +28 -41
package/dist/index.js
CHANGED
|
@@ -1459,13 +1459,13 @@ function labelBaseStyle(props) {
|
|
|
1459
1459
|
}
|
|
1460
1460
|
`;
|
|
1461
1461
|
}
|
|
1462
|
-
const Root$C =
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1462
|
+
const Root$C = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
1463
|
+
displayName: "Root",
|
|
1464
|
+
componentId: "sc-1luap7z-0"
|
|
1465
|
+
})(responsiveLabelFont, responsiveTextAlignStyle, labelBaseStyle), SpanWithTextOverflow$2 = styledComponents.styled.span.withConfig({
|
|
1466
|
+
displayName: "SpanWithTextOverflow",
|
|
1467
|
+
componentId: "sc-1luap7z-1"
|
|
1468
|
+
})`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`, Label = react.forwardRef(function(props, ref) {
|
|
1469
1469
|
const $ = reactCompilerRuntime.c(22);
|
|
1470
1470
|
let accent, align, childrenProp, restProps, t0, t1, textOverflow, weight;
|
|
1471
1471
|
$[0] !== props ? ({
|
|
@@ -1635,9 +1635,30 @@ function avatarStrokeStyle() {
|
|
|
1635
1635
|
}
|
|
1636
1636
|
};
|
|
1637
1637
|
}
|
|
1638
|
-
const Root$B =
|
|
1638
|
+
const Root$B = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
1639
|
+
displayName: "Root",
|
|
1640
|
+
componentId: "sc-1rj7kl0-0"
|
|
1641
|
+
})(responsiveAvatarSizeStyle, avatarStyle.root), Arrow$1 = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
1642
|
+
displayName: "Arrow",
|
|
1643
|
+
componentId: "sc-1rj7kl0-1"
|
|
1644
|
+
})(avatarStyle.arrow), BgStroke = /* @__PURE__ */ styledComponents.styled.ellipse.withConfig({
|
|
1645
|
+
displayName: "BgStroke",
|
|
1646
|
+
componentId: "sc-1rj7kl0-2"
|
|
1647
|
+
})(avatarStyle.bgStroke), Stroke = /* @__PURE__ */ styledComponents.styled.ellipse.withConfig({
|
|
1648
|
+
displayName: "Stroke",
|
|
1649
|
+
componentId: "sc-1rj7kl0-3"
|
|
1650
|
+
})(avatarStyle.stroke), Initials = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
1651
|
+
displayName: "Initials",
|
|
1652
|
+
componentId: "sc-1rj7kl0-4"
|
|
1653
|
+
})(avatarStyle.initials), InitialsLabel = /* @__PURE__ */ styledComponents.styled(Label).withConfig({
|
|
1654
|
+
displayName: "InitialsLabel",
|
|
1655
|
+
componentId: "sc-1rj7kl0-5"
|
|
1656
|
+
})({
|
|
1639
1657
|
color: "inherit"
|
|
1640
|
-
}), Image = styledComponents.styled.svg
|
|
1658
|
+
}), Image = /* @__PURE__ */ styledComponents.styled.svg.withConfig({
|
|
1659
|
+
displayName: "Image",
|
|
1660
|
+
componentId: "sc-1rj7kl0-6"
|
|
1661
|
+
})(avatarStyle.image), Avatar = react.forwardRef(function(props, ref) {
|
|
1641
1662
|
const $ = reactCompilerRuntime.c(52);
|
|
1642
1663
|
let __unstable_hideInnerStroke, animateArrowFrom, arrowPositionProp, asProp, initials, onImageLoadError, restProps, src, t0, t1, t2, title;
|
|
1643
1664
|
$[0] !== props ? ({
|
|
@@ -1734,7 +1755,10 @@ function _avatarCounterBaseStyle(props) {
|
|
|
1734
1755
|
}
|
|
1735
1756
|
`;
|
|
1736
1757
|
}
|
|
1737
|
-
const Root$A = styledComponents.styled.div
|
|
1758
|
+
const Root$A = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
1759
|
+
displayName: "Root",
|
|
1760
|
+
componentId: "sc-1ydx86y-0"
|
|
1761
|
+
})(_responsiveAvatarCounterSizeStyle, _avatarCounterBaseStyle), AvatarCounter = react.forwardRef(function(props, ref) {
|
|
1738
1762
|
const $ = reactCompilerRuntime.c(9), {
|
|
1739
1763
|
count,
|
|
1740
1764
|
size: t0
|
|
@@ -1779,7 +1803,10 @@ function responsiveAvatarStackSizeStyle(props) {
|
|
|
1779
1803
|
} : EMPTY_RECORD;
|
|
1780
1804
|
});
|
|
1781
1805
|
}
|
|
1782
|
-
const Root$z = styledComponents.styled.div
|
|
1806
|
+
const Root$z = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
1807
|
+
displayName: "Root",
|
|
1808
|
+
componentId: "sc-cysmbb-0"
|
|
1809
|
+
})(responsiveAvatarStackSizeStyle, avatarStackStyle), AvatarStack = react.forwardRef(function(props, ref) {
|
|
1783
1810
|
const $ = reactCompilerRuntime.c(15);
|
|
1784
1811
|
let childrenProp, restProps, t0, t1;
|
|
1785
1812
|
$[0] !== props ? ({
|
|
@@ -1802,7 +1829,10 @@ const Root$z = styledComponents.styled.div(responsiveAvatarStackSizeStyle, avata
|
|
|
1802
1829
|
] }), $[7] = T0, $[8] = ref, $[9] = restProps, $[10] = size2, $[11] = t3, $[12] = t4, $[13] = t6, $[14] = t7) : t7 = $[14], t7;
|
|
1803
1830
|
});
|
|
1804
1831
|
AvatarStack.displayName = "ForwardRef(AvatarStack)";
|
|
1805
|
-
const Root$y = styledComponents.styled.div
|
|
1832
|
+
const Root$y = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
1833
|
+
displayName: "Root",
|
|
1834
|
+
componentId: "sc-1hhky9f-0"
|
|
1835
|
+
})(boxStyle, flexItemStyle, responsiveBoxStyle, responsiveGridItemStyle, responsiveMarginStyle, responsivePaddingStyle), Box = react.forwardRef(function(props, ref) {
|
|
1806
1836
|
const $ = reactCompilerRuntime.c(59);
|
|
1807
1837
|
let column, columnEnd, columnStart, flex, height, marginBottom, marginLeft, marginRight, marginTop, marginX, marginY, overflow, paddingBottom, paddingLeft, paddingRight, paddingTop, paddingX, paddingY, restProps, row, rowEnd, rowStart, sizing, t0, t1, t2, t3;
|
|
1808
1838
|
$[0] !== props ? ({
|
|
@@ -1907,13 +1937,13 @@ function textBaseStyle(props) {
|
|
|
1907
1937
|
}
|
|
1908
1938
|
`;
|
|
1909
1939
|
}
|
|
1910
|
-
const Root$x =
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1940
|
+
const Root$x = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
1941
|
+
displayName: "Root",
|
|
1942
|
+
componentId: "sc-11ov82j-0"
|
|
1943
|
+
})(responsiveTextFont, responsiveTextAlignStyle, textBaseStyle), SpanWithTextOverflow$1 = styledComponents.styled.span.withConfig({
|
|
1944
|
+
displayName: "SpanWithTextOverflow",
|
|
1945
|
+
componentId: "sc-11ov82j-1"
|
|
1946
|
+
})`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`, Text = react.forwardRef(function(props, ref) {
|
|
1917
1947
|
const $ = reactCompilerRuntime.c(22);
|
|
1918
1948
|
let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
|
|
1919
1949
|
$[0] !== props ? ({
|
|
@@ -1954,7 +1984,10 @@ function badgeStyle(props) {
|
|
|
1954
1984
|
}
|
|
1955
1985
|
};
|
|
1956
1986
|
}
|
|
1957
|
-
const Root$w = styledComponents.styled(Box)
|
|
1987
|
+
const Root$w = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
|
|
1988
|
+
displayName: "Root",
|
|
1989
|
+
componentId: "sc-5u140l-0"
|
|
1990
|
+
})(responsiveRadiusStyle, badgeStyle), Badge = react.forwardRef(function(props, ref) {
|
|
1958
1991
|
const $ = reactCompilerRuntime.c(17);
|
|
1959
1992
|
let children, restProps, t0, t1, t2, t3;
|
|
1960
1993
|
if ($[0] !== props) {
|
|
@@ -1977,7 +2010,10 @@ const Root$w = styledComponents.styled(Box)(responsiveRadiusStyle, badgeStyle),
|
|
|
1977
2010
|
return $[10] !== ref || $[11] !== restProps || $[12] !== t4 || $[13] !== t5 || $[14] !== t6 || $[15] !== tone ? (t7 = /* @__PURE__ */ jsxRuntime.jsx(Root$w, { "data-ui": "Badge", ...restProps, $tone: tone, $radius: t4, padding: t5, ref, children: t6 }), $[10] = ref, $[11] = restProps, $[12] = t4, $[13] = t5, $[14] = t6, $[15] = tone, $[16] = t7) : t7 = $[16], t7;
|
|
1978
2011
|
});
|
|
1979
2012
|
Badge.displayName = "ForwardRef(Badge)";
|
|
1980
|
-
const Root$v = styledComponents.styled(Box)
|
|
2013
|
+
const Root$v = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
|
|
2014
|
+
displayName: "Root",
|
|
2015
|
+
componentId: "sc-oxesg3-0"
|
|
2016
|
+
})(flexItemStyle, responsiveFlexStyle), Flex = react.forwardRef(function(props, ref) {
|
|
1981
2017
|
const $ = reactCompilerRuntime.c(17);
|
|
1982
2018
|
let align, as, gap, justify, restProps, t0, wrap;
|
|
1983
2019
|
$[0] !== props ? ({
|
|
@@ -2002,11 +2038,10 @@ const rotate$1 = styledComponents.keyframes`
|
|
|
2002
2038
|
to {
|
|
2003
2039
|
transform: rotate(360deg);
|
|
2004
2040
|
}
|
|
2005
|
-
`, Root$u = styledComponents.styled(Text)
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
`, Spinner = react.forwardRef(function(props, ref) {
|
|
2041
|
+
`, Root$u = styledComponents.styled(Text).withConfig({
|
|
2042
|
+
displayName: "Root",
|
|
2043
|
+
componentId: "sc-124hnd0-0"
|
|
2044
|
+
})`& > span > svg{animation:${rotate$1} 500ms linear infinite;}`, Spinner = react.forwardRef(function(props, ref) {
|
|
2010
2045
|
const $ = reactCompilerRuntime.c(4);
|
|
2011
2046
|
let t0;
|
|
2012
2047
|
$[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = /* @__PURE__ */ jsxRuntime.jsx(icons.SpinnerIcon, {}), $[0] = t0) : t0 = $[0];
|
|
@@ -2182,20 +2217,13 @@ function buttonColorStyles(props) {
|
|
|
2182
2217
|
}
|
|
2183
2218
|
}, style?.button?.root].filter(Boolean);
|
|
2184
2219
|
}
|
|
2185
|
-
const Root$t =
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
align-items: center;
|
|
2193
|
-
justify-content: center;
|
|
2194
|
-
background-color: var(--card-bg-color);
|
|
2195
|
-
border-radius: inherit;
|
|
2196
|
-
z-index: 1;
|
|
2197
|
-
box-shadow: inherit;
|
|
2198
|
-
`, Button = react.forwardRef(function(props, ref) {
|
|
2220
|
+
const Root$t = /* @__PURE__ */ styledComponents.styled.button.withConfig({
|
|
2221
|
+
displayName: "Root",
|
|
2222
|
+
componentId: "sc-aaekt4-0"
|
|
2223
|
+
})(responsiveRadiusStyle, buttonBaseStyles, buttonColorStyles), LoadingBox = styledComponents.styled.div.withConfig({
|
|
2224
|
+
displayName: "LoadingBox",
|
|
2225
|
+
componentId: "sc-aaekt4-1"
|
|
2226
|
+
})`position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:var(--card-bg-color);border-radius:inherit;z-index:1;box-shadow:inherit;`, Button = react.forwardRef(function(props, ref) {
|
|
2199
2227
|
const $ = reactCompilerRuntime.c(64);
|
|
2200
2228
|
let IconComponent, IconRightComponent, children, disabled, loading, paddingBottomProp, paddingLeftProp, paddingRightProp, paddingTopProp, paddingXProp, paddingYProp, restProps, selected, t0, t1, t2, t3, t4, t5, t6, t7, t8, text, textAlign, width;
|
|
2201
2229
|
$[0] !== props ? ({
|
|
@@ -2411,7 +2439,10 @@ function cardColorStyle(props) {
|
|
|
2411
2439
|
${style?.card?.root}
|
|
2412
2440
|
`;
|
|
2413
2441
|
}
|
|
2414
|
-
const Root$s = styledComponents.styled(Box)
|
|
2442
|
+
const Root$s = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
|
|
2443
|
+
displayName: "Root",
|
|
2444
|
+
componentId: "sc-osnro2-0"
|
|
2445
|
+
})(responsiveBorderStyle, responsiveRadiusStyle, responsiveShadowStyle, cardStyle), Card = react.forwardRef(function(props, ref) {
|
|
2415
2446
|
const $ = reactCompilerRuntime.c(42);
|
|
2416
2447
|
let asProp, border2, borderBottom2, borderLeft2, borderRight2, borderTop2, muted, pressed, restProps, scheme, selected, shadow, t0, t1, t2, t3;
|
|
2417
2448
|
$[0] !== props ? ({
|
|
@@ -2577,7 +2608,13 @@ function inputElementStyles(props) {
|
|
|
2577
2608
|
}
|
|
2578
2609
|
`;
|
|
2579
2610
|
}
|
|
2580
|
-
const Root$r =
|
|
2611
|
+
const Root$r = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
2612
|
+
displayName: "Root",
|
|
2613
|
+
componentId: "sc-1l5mt2l-0"
|
|
2614
|
+
})(checkboxBaseStyles), Input$5 = /* @__PURE__ */ styledComponents.styled.input.withConfig({
|
|
2615
|
+
displayName: "Input",
|
|
2616
|
+
componentId: "sc-1l5mt2l-1"
|
|
2617
|
+
})(inputElementStyles), Checkbox = react.forwardRef(function(props, forwardedRef) {
|
|
2581
2618
|
const $ = reactCompilerRuntime.c(25);
|
|
2582
2619
|
let checked, className, customValidity, disabled, indeterminate, readOnly, restProps, style;
|
|
2583
2620
|
$[0] !== props ? ({
|
|
@@ -2760,7 +2797,10 @@ function codeBaseStyle() {
|
|
|
2760
2797
|
}
|
|
2761
2798
|
`;
|
|
2762
2799
|
}
|
|
2763
|
-
const Root$q = styledComponents.styled.pre
|
|
2800
|
+
const Root$q = /* @__PURE__ */ styledComponents.styled.pre.withConfig({
|
|
2801
|
+
displayName: "Root",
|
|
2802
|
+
componentId: "sc-4dymyn-0"
|
|
2803
|
+
})(codeBaseStyle, responsiveCodeFontStyle), Code = react.forwardRef(function(props, ref) {
|
|
2764
2804
|
const $ = reactCompilerRuntime.c(23);
|
|
2765
2805
|
let children, languageProp, restProps, t0, weight;
|
|
2766
2806
|
$[0] !== props ? ({
|
|
@@ -2801,7 +2841,10 @@ function responsiveContainerWidthStyle(props) {
|
|
|
2801
2841
|
maxWidth: val === "auto" ? "none" : rem(container[val])
|
|
2802
2842
|
}));
|
|
2803
2843
|
}
|
|
2804
|
-
const Root$p = styledComponents.styled(Box)
|
|
2844
|
+
const Root$p = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
|
|
2845
|
+
displayName: "Root",
|
|
2846
|
+
componentId: "sc-wyroop-0"
|
|
2847
|
+
})(containerBaseStyle, responsiveContainerWidthStyle), Container = react.forwardRef(function(props, ref) {
|
|
2805
2848
|
const $ = reactCompilerRuntime.c(9);
|
|
2806
2849
|
let as, restProps, t0;
|
|
2807
2850
|
$[0] !== props ? ({
|
|
@@ -2814,7 +2857,10 @@ const Root$p = styledComponents.styled(Box)(containerBaseStyle, responsiveContai
|
|
|
2814
2857
|
return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t1 ? (t2 = /* @__PURE__ */ jsxRuntime.jsx(Root$p, { "data-ui": "Container", ...restProps, $width: t1, forwardedAs: as, ref }), $[4] = as, $[5] = ref, $[6] = restProps, $[7] = t1, $[8] = t2) : t2 = $[8], t2;
|
|
2815
2858
|
});
|
|
2816
2859
|
Container.displayName = "ForwardRef(Container)";
|
|
2817
|
-
const Root$o = styledComponents.styled(Box)
|
|
2860
|
+
const Root$o = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
|
|
2861
|
+
displayName: "Root",
|
|
2862
|
+
componentId: "sc-v8t8oz-0"
|
|
2863
|
+
})(responsiveGridStyle), Grid = react.forwardRef(function(props, ref) {
|
|
2818
2864
|
const $ = reactCompilerRuntime.c(26);
|
|
2819
2865
|
let as, autoCols, autoFlow, autoRows, children, columns, gap, gapX, gapY, restProps, rows;
|
|
2820
2866
|
$[0] !== props ? ({
|
|
@@ -2894,13 +2940,13 @@ function headingBaseStyle(props) {
|
|
|
2894
2940
|
}
|
|
2895
2941
|
`;
|
|
2896
2942
|
}
|
|
2897
|
-
const Root$n =
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2943
|
+
const Root$n = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
2944
|
+
displayName: "Root",
|
|
2945
|
+
componentId: "sc-137lwim-0"
|
|
2946
|
+
})(headingBaseStyle, responsiveTextAlignStyle, responsiveHeadingFont), SpanWithTextOverflow = styledComponents.styled.span.withConfig({
|
|
2947
|
+
displayName: "SpanWithTextOverflow",
|
|
2948
|
+
componentId: "sc-137lwim-1"
|
|
2949
|
+
})`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`, Heading = react.forwardRef(function(props, ref) {
|
|
2904
2950
|
const $ = reactCompilerRuntime.c(22);
|
|
2905
2951
|
let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
|
|
2906
2952
|
$[0] !== props ? ({
|
|
@@ -2953,7 +2999,10 @@ function inlineSpaceStyle(props) {
|
|
|
2953
2999
|
};
|
|
2954
3000
|
});
|
|
2955
3001
|
}
|
|
2956
|
-
const Root$m = styledComponents.styled(Box)
|
|
3002
|
+
const Root$m = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
|
|
3003
|
+
displayName: "Root",
|
|
3004
|
+
componentId: "sc-1pkiy6j-0"
|
|
3005
|
+
})(inlineBaseStyle, inlineSpaceStyle), Inline = react.forwardRef(function(props, ref) {
|
|
2957
3006
|
const $ = reactCompilerRuntime.c(12);
|
|
2958
3007
|
let as, childrenProp, restProps, space;
|
|
2959
3008
|
$[0] !== props ? ({
|
|
@@ -2989,7 +3038,10 @@ function kbdStyle() {
|
|
|
2989
3038
|
}
|
|
2990
3039
|
`;
|
|
2991
3040
|
}
|
|
2992
|
-
const Root$l = styledComponents.styled.kbd
|
|
3041
|
+
const Root$l = /* @__PURE__ */ styledComponents.styled.kbd.withConfig({
|
|
3042
|
+
displayName: "Root",
|
|
3043
|
+
componentId: "sc-1w7yd8w-0"
|
|
3044
|
+
})(responsiveRadiusStyle, kbdStyle), KBD = react.forwardRef(function(props, ref) {
|
|
2993
3045
|
const $ = reactCompilerRuntime.c(17);
|
|
2994
3046
|
let children, restProps, t0, t1, t2;
|
|
2995
3047
|
$[0] !== props ? ({
|
|
@@ -3075,7 +3127,10 @@ function getRoundedCommands(points) {
|
|
|
3075
3127
|
function compileCommands(cmds) {
|
|
3076
3128
|
return cmds.map((n, idx) => n.type === "point" ? `${idx === 0 ? "M" : "L"} ${n.x} ${n.y}` : n.type === "curve" ? `C ${n.startControl.x} ${n.startControl.y} ${n.endControl.x} ${n.endControl.y} ${n.curveEnd.x} ${n.curveEnd.y}` : "").join(" ");
|
|
3077
3129
|
}
|
|
3078
|
-
const Root$k = styledComponents.styled.div(
|
|
3130
|
+
const Root$k = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
3131
|
+
displayName: "Root",
|
|
3132
|
+
componentId: "sc-12vzy6c-0"
|
|
3133
|
+
})(({
|
|
3079
3134
|
$w: w
|
|
3080
3135
|
}) => styledComponents.css`
|
|
3081
3136
|
position: absolute;
|
|
@@ -3123,11 +3178,13 @@ const Root$k = styledComponents.styled.div(({
|
|
|
3123
3178
|
transform: rotate(180deg);
|
|
3124
3179
|
}
|
|
3125
3180
|
}
|
|
3126
|
-
`), StrokePath = styledComponents.styled.path
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3181
|
+
`), StrokePath = styledComponents.styled.path.withConfig({
|
|
3182
|
+
displayName: "StrokePath",
|
|
3183
|
+
componentId: "sc-12vzy6c-1"
|
|
3184
|
+
})`stroke:var(--card-shadow-outline-color);`, ShapePath = styledComponents.styled.path.withConfig({
|
|
3185
|
+
displayName: "ShapePath",
|
|
3186
|
+
componentId: "sc-12vzy6c-2"
|
|
3187
|
+
})`fill:var(--card-bg-color);`, Arrow = react.forwardRef(function(props, ref) {
|
|
3131
3188
|
const $ = reactCompilerRuntime.c(24);
|
|
3132
3189
|
let h, restProps, t0, w;
|
|
3133
3190
|
$[0] !== props ? ({
|
|
@@ -3432,7 +3489,10 @@ function _temp$5(v) {
|
|
|
3432
3489
|
return v + 1;
|
|
3433
3490
|
}
|
|
3434
3491
|
LayerProvider.displayName = "LayerProvider";
|
|
3435
|
-
const Root$j = styledComponents.styled.div({
|
|
3492
|
+
const Root$j = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
3493
|
+
displayName: "Root",
|
|
3494
|
+
componentId: "sc-16kojrv-0"
|
|
3495
|
+
})({
|
|
3436
3496
|
position: "relative"
|
|
3437
3497
|
}), LayerChildren = react.forwardRef(function(props, forwardedRef) {
|
|
3438
3498
|
const $ = reactCompilerRuntime.c(22);
|
|
@@ -3552,14 +3612,10 @@ function _isEqual(objA, objB) {
|
|
|
3552
3612
|
const keysA = Object.keys(objA), keysB = Object.keys(objB);
|
|
3553
3613
|
return keysA.length !== keysB.length ? !1 : keysA.every((key2) => objA[key2] === objB[key2]);
|
|
3554
3614
|
}
|
|
3555
|
-
const Root$i = styledComponents.styled.div
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
position: absolute;
|
|
3560
|
-
overflow: hidden;
|
|
3561
|
-
overflow: clip;
|
|
3562
|
-
`, SrOnly = react.forwardRef(function(props, ref) {
|
|
3615
|
+
const Root$i = styledComponents.styled.div.withConfig({
|
|
3616
|
+
displayName: "Root",
|
|
3617
|
+
componentId: "sc-mubr0c-0"
|
|
3618
|
+
})`display:block;width:0;height:0;position:absolute;overflow:hidden;overflow:clip;`, SrOnly = react.forwardRef(function(props, ref) {
|
|
3563
3619
|
const $ = reactCompilerRuntime.c(4), {
|
|
3564
3620
|
as,
|
|
3565
3621
|
children
|
|
@@ -3568,13 +3624,13 @@ const Root$i = styledComponents.styled.div`
|
|
|
3568
3624
|
return $[0] !== as || $[1] !== children || $[2] !== ref ? (t0 = /* @__PURE__ */ jsxRuntime.jsx(Root$i, { "aria-hidden": !0, as, "data-ui": "SrOnly", ref, children }), $[0] = as, $[1] = children, $[2] = ref, $[3] = t0) : t0 = $[3], t0;
|
|
3569
3625
|
});
|
|
3570
3626
|
SrOnly.displayName = "ForwardRef(SrOnly)";
|
|
3571
|
-
const Root$h = styledComponents.styled.div
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3627
|
+
const Root$h = styledComponents.styled.div.withConfig({
|
|
3628
|
+
displayName: "Root",
|
|
3629
|
+
componentId: "sc-dlqsj4-0"
|
|
3630
|
+
})`position:relative;`, ItemWrapper = styledComponents.styled.div.withConfig({
|
|
3631
|
+
displayName: "ItemWrapper",
|
|
3632
|
+
componentId: "sc-dlqsj4-1"
|
|
3633
|
+
})`position:absolute;left:0;right:0;`, VirtualList = react.forwardRef(function(props, forwardedRef) {
|
|
3578
3634
|
const $ = reactCompilerRuntime.c(56);
|
|
3579
3635
|
let getItemKey, onChange, renderItem, restProps, t0, t1, t2;
|
|
3580
3636
|
$[0] !== props ? ({
|
|
@@ -3760,18 +3816,10 @@ function calcMaxWidth(params) {
|
|
|
3760
3816
|
if (!(currentWidth === void 0 && boundaryWidth === void 0))
|
|
3761
3817
|
return Math.min(currentWidth ?? 1 / 0, (boundaryWidth || 1 / 0) - DEFAULT_POPOVER_PADDING * 2);
|
|
3762
3818
|
}
|
|
3763
|
-
const MotionCard$1 = styledComponents.styled(framerMotion.motion.create(Card))
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
flex-direction: column;
|
|
3768
|
-
width: max-content;
|
|
3769
|
-
min-width: min-content;
|
|
3770
|
-
& > * {
|
|
3771
|
-
opacity: var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY}, 1);
|
|
3772
|
-
will-change: opacity;
|
|
3773
|
-
}
|
|
3774
|
-
`, PopoverCard = react.memo(react.forwardRef(function(props, ref) {
|
|
3819
|
+
const MotionCard$1 = styledComponents.styled(framerMotion.motion.create(Card)).withConfig({
|
|
3820
|
+
displayName: "MotionCard",
|
|
3821
|
+
componentId: "sc-ihg31s-0"
|
|
3822
|
+
})`&:not([hidden]){display:flex;}flex-direction:column;width:max-content;min-width:min-content;& > *{opacity:var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY},1);will-change:opacity;}`, PopoverCard = react.memo(react.forwardRef(function(props, ref) {
|
|
3775
3823
|
const $ = reactCompilerRuntime.c(60);
|
|
3776
3824
|
let animate, arrow, arrowRef, arrowX, arrowY, children, marginsProp, originX, originY, overflow, padding, placement, radius, restProps, scheme, shadow, strategy, style, tone, width, xProp, yProp;
|
|
3777
3825
|
$[0] !== props ? ({
|
|
@@ -4094,7 +4142,13 @@ function inputElementStyle(props) {
|
|
|
4094
4142
|
}
|
|
4095
4143
|
`;
|
|
4096
4144
|
}
|
|
4097
|
-
const Root$g =
|
|
4145
|
+
const Root$g = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
4146
|
+
displayName: "Root",
|
|
4147
|
+
componentId: "sc-ccrwkf-0"
|
|
4148
|
+
})(radioBaseStyle), Input$4 = /* @__PURE__ */ styledComponents.styled.input.withConfig({
|
|
4149
|
+
displayName: "Input",
|
|
4150
|
+
componentId: "sc-ccrwkf-1"
|
|
4151
|
+
})(inputElementStyle), Radio = react.forwardRef(function(props, forwardedRef) {
|
|
4098
4152
|
const $ = reactCompilerRuntime.c(19);
|
|
4099
4153
|
let className, customValidity, disabled, readOnly, restProps, style;
|
|
4100
4154
|
$[0] !== props ? ({
|
|
@@ -4262,7 +4316,16 @@ const selectStyle = {
|
|
|
4262
4316
|
root: rootStyle,
|
|
4263
4317
|
input: inputStyle,
|
|
4264
4318
|
iconBox: iconBoxStyle
|
|
4265
|
-
}, Root$f =
|
|
4319
|
+
}, Root$f = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
4320
|
+
displayName: "Root",
|
|
4321
|
+
componentId: "sc-5mxno7-0"
|
|
4322
|
+
})(selectStyle.root), Input$3 = /* @__PURE__ */ styledComponents.styled.select.withConfig({
|
|
4323
|
+
displayName: "Input",
|
|
4324
|
+
componentId: "sc-5mxno7-1"
|
|
4325
|
+
})(selectStyle.input), IconBox = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
|
|
4326
|
+
displayName: "IconBox",
|
|
4327
|
+
componentId: "sc-5mxno7-2"
|
|
4328
|
+
})(selectStyle.iconBox), Select = react.forwardRef(function(props, forwardedRef) {
|
|
4266
4329
|
const $ = reactCompilerRuntime.c(29);
|
|
4267
4330
|
let children, customValidity, disabled, readOnly, restProps, t0, t1, t2, t3;
|
|
4268
4331
|
$[0] !== props ? ({
|
|
@@ -4317,7 +4380,10 @@ function responsiveStackSpaceStyle(props) {
|
|
|
4317
4380
|
gridGap: rem(space[spaceIndex])
|
|
4318
4381
|
}));
|
|
4319
4382
|
}
|
|
4320
|
-
const Root$e = styledComponents.styled(Box)
|
|
4383
|
+
const Root$e = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
|
|
4384
|
+
displayName: "Root",
|
|
4385
|
+
componentId: "sc-8dpfq2-0"
|
|
4386
|
+
})(stackBaseStyle, responsiveStackSpaceStyle), Stack = react.forwardRef(function(props, ref) {
|
|
4321
4387
|
const $ = reactCompilerRuntime.c(10);
|
|
4322
4388
|
let as, restProps, space;
|
|
4323
4389
|
$[0] !== props ? ({
|
|
@@ -4483,7 +4549,22 @@ function switchThumbStyles(props) {
|
|
|
4483
4549
|
`}
|
|
4484
4550
|
`;
|
|
4485
4551
|
}
|
|
4486
|
-
const Root$d =
|
|
4552
|
+
const Root$d = /* @__PURE__ */ styledComponents.styled.span.withConfig({
|
|
4553
|
+
displayName: "Root",
|
|
4554
|
+
componentId: "sc-dw1foe-0"
|
|
4555
|
+
})(switchBaseStyles), Input$2 = /* @__PURE__ */ styledComponents.styled.input.withConfig({
|
|
4556
|
+
displayName: "Input",
|
|
4557
|
+
componentId: "sc-dw1foe-1"
|
|
4558
|
+
})(switchInputStyles), Representation = /* @__PURE__ */ styledComponents.styled.span.withConfig({
|
|
4559
|
+
displayName: "Representation",
|
|
4560
|
+
componentId: "sc-dw1foe-2"
|
|
4561
|
+
})(switchRepresentationStyles), Track = /* @__PURE__ */ styledComponents.styled.span.withConfig({
|
|
4562
|
+
displayName: "Track",
|
|
4563
|
+
componentId: "sc-dw1foe-3"
|
|
4564
|
+
})(switchTrackStyles), Thumb = /* @__PURE__ */ styledComponents.styled.span.withConfig({
|
|
4565
|
+
displayName: "Thumb",
|
|
4566
|
+
componentId: "sc-dw1foe-4"
|
|
4567
|
+
})(switchThumbStyles), Switch = react.forwardRef(function(props, forwardedRef) {
|
|
4487
4568
|
const $ = reactCompilerRuntime.c(26);
|
|
4488
4569
|
let checked, className, disabled, indeterminate, readOnly, restProps, style;
|
|
4489
4570
|
$[0] !== props ? ({
|
|
@@ -4519,12 +4600,19 @@ const Root$d = styledComponents.styled.span(switchBaseStyles), Input$2 = styledC
|
|
|
4519
4600
|
] }), $[21] = className, $[22] = style, $[23] = t6, $[24] = t8, $[25] = t9) : t9 = $[25], t9;
|
|
4520
4601
|
});
|
|
4521
4602
|
Switch.displayName = "ForwardRef(Switch)";
|
|
4522
|
-
const Root$c =
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4603
|
+
const Root$c = /* @__PURE__ */ styledComponents.styled.span.withConfig({
|
|
4604
|
+
displayName: "Root",
|
|
4605
|
+
componentId: "sc-1d6h1o8-0"
|
|
4606
|
+
})(textInputRootStyle), InputRoot$1 = styledComponents.styled.span.withConfig({
|
|
4607
|
+
displayName: "InputRoot",
|
|
4608
|
+
componentId: "sc-1d6h1o8-1"
|
|
4609
|
+
})`flex:1;min-width:0;display:block;position:relative;`, Input$1 = /* @__PURE__ */ styledComponents.styled.textarea.withConfig({
|
|
4610
|
+
displayName: "Input",
|
|
4611
|
+
componentId: "sc-1d6h1o8-2"
|
|
4612
|
+
})(responsiveInputPaddingStyle, textInputBaseStyle, textInputFontSizeStyle), Presentation$1 = /* @__PURE__ */ styledComponents.styled.div.withConfig({
|
|
4613
|
+
displayName: "Presentation",
|
|
4614
|
+
componentId: "sc-1d6h1o8-3"
|
|
4615
|
+
})(responsiveRadiusStyle, textInputRepresentationStyle), TextArea = react.forwardRef(function(props, forwardedRef) {
|
|
4528
4616
|
const $ = reactCompilerRuntime.c(29);
|
|
4529
4617
|
let __unstable_disableFocusRing, customValidity, restProps, t0, t1, t2, t3, t4, weight;
|
|
4530
4618
|
$[0] !== props ? ({
|
|
@@ -4556,47 +4644,43 @@ const Root$c = styledComponents.styled.span(textInputRootStyle), InputRoot$1 = s
|
|
|
4556
4644
|
TextArea.displayName = "ForwardRef(TextArea)";
|
|
4557
4645
|
const CLEAR_BUTTON_BOX_STYLE = {
|
|
4558
4646
|
zIndex: 2
|
|
4559
|
-
}, Root$b = styledComponents.styled(Card).attrs({
|
|
4647
|
+
}, Root$b = /* @__PURE__ */ styledComponents.styled(Card).attrs({
|
|
4560
4648
|
forwardedAs: "span"
|
|
4561
|
-
})(
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4649
|
+
}).withConfig({
|
|
4650
|
+
displayName: "Root",
|
|
4651
|
+
componentId: "sc-h62wco-0"
|
|
4652
|
+
})(textInputRootStyle), InputRoot = styledComponents.styled.span.withConfig({
|
|
4653
|
+
displayName: "InputRoot",
|
|
4654
|
+
componentId: "sc-h62wco-1"
|
|
4655
|
+
})`flex:1;min-width:0;display:block;position:relative;`, Prefix = styledComponents.styled(Card).attrs({
|
|
4567
4656
|
forwardedAs: "span"
|
|
4568
|
-
})
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
& > span {
|
|
4573
|
-
display: block;
|
|
4574
|
-
margin: -1px;
|
|
4575
|
-
}
|
|
4576
|
-
`, Suffix = styledComponents.styled(Card).attrs({
|
|
4657
|
+
}).withConfig({
|
|
4658
|
+
displayName: "Prefix",
|
|
4659
|
+
componentId: "sc-h62wco-2"
|
|
4660
|
+
})`border-top-right-radius:0;border-bottom-right-radius:0;& > span{display:block;margin:-1px;}`, Suffix = styledComponents.styled(Card).attrs({
|
|
4577
4661
|
forwardedAs: "span"
|
|
4578
|
-
})
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4662
|
+
}).withConfig({
|
|
4663
|
+
displayName: "Suffix",
|
|
4664
|
+
componentId: "sc-h62wco-3"
|
|
4665
|
+
})`border-top-left-radius:0;border-bottom-left-radius:0;& > span{display:block;margin:-1px;}`, Input = /* @__PURE__ */ styledComponents.styled.input.withConfig({
|
|
4666
|
+
displayName: "Input",
|
|
4667
|
+
componentId: "sc-h62wco-4"
|
|
4668
|
+
})(responsiveInputPaddingStyle, textInputBaseStyle, textInputFontSizeStyle), Presentation = /* @__PURE__ */ styledComponents.styled.span.withConfig({
|
|
4669
|
+
displayName: "Presentation",
|
|
4670
|
+
componentId: "sc-h62wco-5"
|
|
4671
|
+
})(responsiveRadiusStyle, textInputRepresentationStyle), LeftBox = styledComponents.styled(Box).withConfig({
|
|
4672
|
+
displayName: "LeftBox",
|
|
4673
|
+
componentId: "sc-h62wco-6"
|
|
4674
|
+
})`position:absolute;top:0;left:0;`, RightBox = styledComponents.styled(Box).withConfig({
|
|
4675
|
+
displayName: "RightBox",
|
|
4676
|
+
componentId: "sc-h62wco-7"
|
|
4677
|
+
})`position:absolute;top:0;right:0;`, RightCard = styledComponents.styled(Card).withConfig({
|
|
4678
|
+
displayName: "RightCard",
|
|
4679
|
+
componentId: "sc-h62wco-8"
|
|
4680
|
+
})`background-color:transparent;position:absolute;top:0;right:0;`, TextInputClearButton = /* @__PURE__ */ styledComponents.styled(Button).withConfig({
|
|
4681
|
+
displayName: "TextInputClearButton",
|
|
4682
|
+
componentId: "sc-h62wco-9"
|
|
4683
|
+
})({
|
|
4600
4684
|
"&:not([hidden])": {
|
|
4601
4685
|
display: "block"
|
|
4602
4686
|
}
|
|
@@ -4721,12 +4805,10 @@ const DEFAULT_TOOLTIP_ARROW_WIDTH = 15, DEFAULT_TOOLTIP_ARROW_HEIGHT = 6, DEFAUL
|
|
|
4721
4805
|
right: ["right-end", "right-start", "left", "top", "bottom"],
|
|
4722
4806
|
"right-start": ["right", "right-end", "left-start", "top-start", "bottom-start"],
|
|
4723
4807
|
"right-end": ["right", "right-start", "left-end", "top-end", "bottom-end"]
|
|
4724
|
-
}, MotionCard = styledComponents.styled(framerMotion.motion.create(Card))
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
}
|
|
4729
|
-
`, TooltipCard = react.memo(react.forwardRef(function(props, ref) {
|
|
4808
|
+
}, MotionCard = styledComponents.styled(framerMotion.motion.create(Card)).withConfig({
|
|
4809
|
+
displayName: "MotionCard",
|
|
4810
|
+
componentId: "sc-1xn138w-0"
|
|
4811
|
+
})`& > *{opacity:var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY},1);will-change:opacity;}`, TooltipCard = react.memo(react.forwardRef(function(props, ref) {
|
|
4730
4812
|
const $ = reactCompilerRuntime.c(42);
|
|
4731
4813
|
let animate, arrow, arrowRef, arrowX, arrowY, children, originX, originY, padding, placement, radius, restProps, scheme, shadow, style;
|
|
4732
4814
|
$[0] !== props ? ({
|
|
@@ -4802,9 +4884,10 @@ function TooltipDelayGroupProvider(props) {
|
|
|
4802
4884
|
return $[7] !== children || $[8] !== value ? (t3 = /* @__PURE__ */ jsxRuntime.jsx(TooltipDelayGroupContext.Provider, { value, children }), $[7] = children, $[8] = value, $[9] = t3) : t3 = $[9], t3;
|
|
4803
4885
|
}
|
|
4804
4886
|
TooltipDelayGroupProvider.displayName = "TooltipDelayGroupProvider";
|
|
4805
|
-
const Root$a = styledComponents.styled(Layer)
|
|
4806
|
-
|
|
4807
|
-
|
|
4887
|
+
const Root$a = styledComponents.styled(Layer).withConfig({
|
|
4888
|
+
displayName: "Root",
|
|
4889
|
+
componentId: "sc-13f2zvh-0"
|
|
4890
|
+
})`pointer-events:none;`, Tooltip = react.forwardRef(function(props, forwardedRef) {
|
|
4808
4891
|
const boundaryElementContext = useBoundaryElement(), {
|
|
4809
4892
|
layer
|
|
4810
4893
|
} = useTheme_v2(), {
|
|
@@ -4951,15 +5034,13 @@ function useCloseOnMouseLeave(t0) {
|
|
|
4951
5034
|
return window.addEventListener("mousemove", handleMouseMove), () => window.removeEventListener("mousemove", handleMouseMove);
|
|
4952
5035
|
}, t3 = [onMouseMove, showTooltip], $[3] = onMouseMove, $[4] = showTooltip, $[5] = t2, $[6] = t3) : (t2 = $[5], t3 = $[6]), react.useEffect(t2, t3);
|
|
4953
5036
|
}
|
|
4954
|
-
const Root$9 = styledComponents.styled.div
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
}
|
|
4962
|
-
`, rotate = styledComponents.keyframes`
|
|
5037
|
+
const Root$9 = styledComponents.styled.div.withConfig({
|
|
5038
|
+
displayName: "Root",
|
|
5039
|
+
componentId: "sc-1igauft-0"
|
|
5040
|
+
})`line-height:0;`, ListBox = styledComponents.styled(Box).withConfig({
|
|
5041
|
+
displayName: "ListBox",
|
|
5042
|
+
componentId: "sc-1igauft-1"
|
|
5043
|
+
})`& > ul{list-style:none;padding:0;margin:0;}`, rotate = styledComponents.keyframes`
|
|
4963
5044
|
from {
|
|
4964
5045
|
transform: rotate(0deg);
|
|
4965
5046
|
}
|
|
@@ -4967,9 +5048,10 @@ const Root$9 = styledComponents.styled.div`
|
|
|
4967
5048
|
to {
|
|
4968
5049
|
transform: rotate(360deg);
|
|
4969
5050
|
}
|
|
4970
|
-
`, AnimatedSpinnerIcon = styledComponents.styled(icons.SpinnerIcon)
|
|
4971
|
-
|
|
4972
|
-
|
|
5051
|
+
`, AnimatedSpinnerIcon = styledComponents.styled(icons.SpinnerIcon).withConfig({
|
|
5052
|
+
displayName: "AnimatedSpinnerIcon",
|
|
5053
|
+
componentId: "sc-1igauft-2"
|
|
5054
|
+
})`animation:${rotate} 500ms linear infinite;`;
|
|
4973
5055
|
function AutocompleteOption(props) {
|
|
4974
5056
|
const $ = reactCompilerRuntime.c(11), {
|
|
4975
5057
|
children,
|
|
@@ -5227,18 +5309,13 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = ["Control", "Shift", "Alt", "Enter", "H
|
|
|
5227
5309
|
] });
|
|
5228
5310
|
});
|
|
5229
5311
|
InnerAutocomplete.displayName = "ForwardRef(Autocomplete)";
|
|
5230
|
-
const Autocomplete = InnerAutocomplete, Root$8 = styledComponents.styled.ol
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
line-height: 0;
|
|
5238
|
-
`, ExpandButton = styledComponents.styled(Button)`
|
|
5239
|
-
appearance: none;
|
|
5240
|
-
margin: -4px;
|
|
5241
|
-
`, Breadcrumbs = react.forwardRef(function(props, ref) {
|
|
5312
|
+
const Autocomplete = InnerAutocomplete, Root$8 = styledComponents.styled.ol.withConfig({
|
|
5313
|
+
displayName: "Root",
|
|
5314
|
+
componentId: "sc-1es8h8q-0"
|
|
5315
|
+
})`margin:0;padding:0;display:flex;list-style:none;align-items:center;white-space:nowrap;line-height:0;`, ExpandButton = styledComponents.styled(Button).withConfig({
|
|
5316
|
+
displayName: "ExpandButton",
|
|
5317
|
+
componentId: "sc-1es8h8q-1"
|
|
5318
|
+
})`appearance:none;margin:-4px;`, Breadcrumbs = react.forwardRef(function(props, ref) {
|
|
5242
5319
|
const {
|
|
5243
5320
|
children,
|
|
5244
5321
|
maxLength,
|
|
@@ -5328,40 +5405,28 @@ function useDialog() {
|
|
|
5328
5405
|
function isTargetWithinScope(boundaryElement, portalElement, target) {
|
|
5329
5406
|
return !boundaryElement || !portalElement ? !0 : containsOrEqualsElement(boundaryElement, target) || containsOrEqualsElement(portalElement, target);
|
|
5330
5407
|
}
|
|
5331
|
-
const Root$7 = styledComponents.styled(Layer)
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
`, DialogHeader = styledComponents.styled(Box)`
|
|
5354
|
-
position: relative;
|
|
5355
|
-
z-index: 2;
|
|
5356
|
-
`, DialogContent = styledComponents.styled(Box)`
|
|
5357
|
-
position: relative;
|
|
5358
|
-
z-index: 1;
|
|
5359
|
-
overflow: auto;
|
|
5360
|
-
outline: none;
|
|
5361
|
-
`, DialogFooter = styledComponents.styled(Box)`
|
|
5362
|
-
position: relative;
|
|
5363
|
-
z-index: 3;
|
|
5364
|
-
`, DialogCard = react.forwardRef(function(props, forwardedRef) {
|
|
5408
|
+
const Root$7 = /* @__PURE__ */ styledComponents.styled(Layer).withConfig({
|
|
5409
|
+
displayName: "Root",
|
|
5410
|
+
componentId: "sc-4n4xb3-0"
|
|
5411
|
+
})(responsivePaddingStyle, dialogStyle, responsiveDialogPositionStyle, animationDialogStyle), DialogContainer = styledComponents.styled(Container).withConfig({
|
|
5412
|
+
displayName: "DialogContainer",
|
|
5413
|
+
componentId: "sc-4n4xb3-1"
|
|
5414
|
+
})`&:not([hidden]){display:flex;}width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;`, DialogCardRoot = styledComponents.styled(Card).withConfig({
|
|
5415
|
+
displayName: "DialogCardRoot",
|
|
5416
|
+
componentId: "sc-4n4xb3-2"
|
|
5417
|
+
})`&:not([hidden]){display:flex;}width:100%;min-height:0;max-height:100%;overflow:hidden;overflow:clip;`, DialogLayout = styledComponents.styled(Flex).withConfig({
|
|
5418
|
+
displayName: "DialogLayout",
|
|
5419
|
+
componentId: "sc-4n4xb3-3"
|
|
5420
|
+
})`flex:1;min-height:0;width:100%;`, DialogHeader = styledComponents.styled(Box).withConfig({
|
|
5421
|
+
displayName: "DialogHeader",
|
|
5422
|
+
componentId: "sc-4n4xb3-4"
|
|
5423
|
+
})`position:relative;z-index:2;`, DialogContent = styledComponents.styled(Box).withConfig({
|
|
5424
|
+
displayName: "DialogContent",
|
|
5425
|
+
componentId: "sc-4n4xb3-5"
|
|
5426
|
+
})`position:relative;z-index:1;overflow:auto;outline:none;`, DialogFooter = styledComponents.styled(Box).withConfig({
|
|
5427
|
+
displayName: "DialogFooter",
|
|
5428
|
+
componentId: "sc-4n4xb3-6"
|
|
5429
|
+
})`position:relative;z-index:3;`, DialogCard = react.forwardRef(function(props, forwardedRef) {
|
|
5365
5430
|
const $ = reactCompilerRuntime.c(38), {
|
|
5366
5431
|
__unstable_autoFocus: autoFocus,
|
|
5367
5432
|
__unstable_hideCloseButton: hideCloseButton,
|
|
@@ -5516,18 +5581,13 @@ function DialogProvider(props) {
|
|
|
5516
5581
|
return $[3] !== children || $[4] !== contextValue ? (t2 = /* @__PURE__ */ jsxRuntime.jsx(DialogContext.Provider, { value: contextValue, children }), $[3] = children, $[4] = contextValue, $[5] = t2) : t2 = $[5], t2;
|
|
5517
5582
|
}
|
|
5518
5583
|
DialogProvider.displayName = "DialogProvider";
|
|
5519
|
-
const Root$6 = styledComponents.styled.kbd
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
`, Key = styledComponents.styled(KBD)`
|
|
5527
|
-
&:not([hidden]) {
|
|
5528
|
-
display: block;
|
|
5529
|
-
}
|
|
5530
|
-
`, Hotkeys = react.forwardRef(function(props, ref) {
|
|
5584
|
+
const Root$6 = styledComponents.styled.kbd.withConfig({
|
|
5585
|
+
displayName: "Root",
|
|
5586
|
+
componentId: "sc-b37mge-0"
|
|
5587
|
+
})`font:inherit;padding:1px;&:not([hidden]){display:block;}`, Key = styledComponents.styled(KBD).withConfig({
|
|
5588
|
+
displayName: "Key",
|
|
5589
|
+
componentId: "sc-b37mge-1"
|
|
5590
|
+
})`&:not([hidden]){display:block;}`, Hotkeys = react.forwardRef(function(props, ref) {
|
|
5531
5591
|
const $ = reactCompilerRuntime.c(24);
|
|
5532
5592
|
let fontSize2, keys, padding, radius, restProps, t0;
|
|
5533
5593
|
$[0] !== props ? ({
|
|
@@ -5693,10 +5753,10 @@ function useMenuController(props) {
|
|
|
5693
5753
|
mount
|
|
5694
5754
|
};
|
|
5695
5755
|
}
|
|
5696
|
-
const Root$5 = styledComponents.styled(Box)
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5756
|
+
const Root$5 = styledComponents.styled(Box).withConfig({
|
|
5757
|
+
displayName: "Root",
|
|
5758
|
+
componentId: "sc-xt0tnv-0"
|
|
5759
|
+
})`outline:none;overflow:auto;`, Menu = react.forwardRef(function(props, forwardedRef) {
|
|
5700
5760
|
const $ = reactCompilerRuntime.c(50);
|
|
5701
5761
|
let _shouldFocus, children, onClickOutside, onEscape, onItemClick, onItemSelect, onKeyDown, originElement, registerElement, restProps, t0, t1;
|
|
5702
5762
|
if ($[0] !== props) {
|
|
@@ -5917,12 +5977,10 @@ MenuButton.displayName = "ForwardRef(MenuButton)";
|
|
|
5917
5977
|
function _temp$2(v) {
|
|
5918
5978
|
return !v;
|
|
5919
5979
|
}
|
|
5920
|
-
const MenuDivider = styledComponents.styled.hr
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
margin: 0;
|
|
5925
|
-
`;
|
|
5980
|
+
const MenuDivider = styledComponents.styled.hr.withConfig({
|
|
5981
|
+
displayName: "MenuDivider",
|
|
5982
|
+
componentId: "sc-uhoxwu-0"
|
|
5983
|
+
})`height:1px;border:0;background:var(--card-hairline-soft-color);margin:0;`;
|
|
5926
5984
|
MenuDivider.displayName = "MenuDivider";
|
|
5927
5985
|
function selectableBaseStyle() {
|
|
5928
5986
|
return styledComponents.css`
|
|
@@ -6024,7 +6082,10 @@ function selectableColorStyle(props) {
|
|
|
6024
6082
|
${style?.card?.root}
|
|
6025
6083
|
`;
|
|
6026
6084
|
}
|
|
6027
|
-
const Selectable = styledComponents.styled(Box)(
|
|
6085
|
+
const Selectable = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
|
|
6086
|
+
displayName: "Selectable",
|
|
6087
|
+
componentId: "sc-1w01ang-0"
|
|
6088
|
+
})(responsiveRadiusStyle, selectableBaseStyle, selectableColorStyle);
|
|
6028
6089
|
Selectable.displayName = "Selectable";
|
|
6029
6090
|
function useMenu() {
|
|
6030
6091
|
const value = react.useContext(MenuContext);
|
|
@@ -6271,7 +6332,10 @@ const keyframe = styledComponents.keyframes`
|
|
|
6271
6332
|
@media screen and (prefers-reduced-motion: reduce) {
|
|
6272
6333
|
background-color: var(--card-skeleton-color-from);
|
|
6273
6334
|
}
|
|
6274
|
-
`, Root$4 = styledComponents.styled(Box)
|
|
6335
|
+
`, Root$4 = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
|
|
6336
|
+
displayName: "Root",
|
|
6337
|
+
componentId: "sc-ebtpni-0"
|
|
6338
|
+
})(responsiveRadiusStyle, skeletonStyle), Skeleton = react.forwardRef(function(props, ref) {
|
|
6275
6339
|
const $ = reactCompilerRuntime.c(14);
|
|
6276
6340
|
let delay, radius, restProps, t0;
|
|
6277
6341
|
$[0] !== props ? ({
|
|
@@ -6297,7 +6361,10 @@ const keyframe = styledComponents.keyframes`
|
|
|
6297
6361
|
return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !== visible ? (t4 = /* @__PURE__ */ jsxRuntime.jsx(Root$4, { ...restProps, $animated: animated, $radius: t3, $visible: visible, ref }), $[8] = animated, $[9] = ref, $[10] = restProps, $[11] = t3, $[12] = visible, $[13] = t4) : t4 = $[13], t4;
|
|
6298
6362
|
});
|
|
6299
6363
|
Skeleton.displayName = "ForwardRef(Skeleton)";
|
|
6300
|
-
const Root$3 = styledComponents.styled(Skeleton)(
|
|
6364
|
+
const Root$3 = /* @__PURE__ */ styledComponents.styled(Skeleton).withConfig({
|
|
6365
|
+
displayName: "Root",
|
|
6366
|
+
componentId: "sc-2p7a1v-0"
|
|
6367
|
+
})((props) => {
|
|
6301
6368
|
const {
|
|
6302
6369
|
$size,
|
|
6303
6370
|
$style
|
|
@@ -6359,9 +6426,10 @@ const CodeSkeleton = react.forwardRef(function(props, ref) {
|
|
|
6359
6426
|
return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsxRuntime.jsx(Root$3, { ...restProps, $size, ref, $style: "code" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
|
|
6360
6427
|
});
|
|
6361
6428
|
CodeSkeleton.displayName = "ForwardRef(CodeSkeleton)";
|
|
6362
|
-
const CustomButton = styledComponents.styled(Button)
|
|
6363
|
-
|
|
6364
|
-
|
|
6429
|
+
const CustomButton = styledComponents.styled(Button).withConfig({
|
|
6430
|
+
displayName: "CustomButton",
|
|
6431
|
+
componentId: "sc-1kns779-0"
|
|
6432
|
+
})`max-width:100%;`, Tab = react.forwardRef(function(props, forwardedRef) {
|
|
6365
6433
|
const $ = reactCompilerRuntime.c(30);
|
|
6366
6434
|
let focused, icon, id, label, onClick, onFocus, restProps, selected, t0, t1;
|
|
6367
6435
|
$[0] !== props ? ({
|
|
@@ -6398,14 +6466,10 @@ const CustomButton = styledComponents.styled(Button)`
|
|
|
6398
6466
|
return $[18] !== fontSize2 || $[19] !== handleFocus || $[20] !== icon || $[21] !== id || $[22] !== label || $[23] !== onClick || $[24] !== padding || $[25] !== restProps || $[26] !== selected || $[27] !== t7 || $[28] !== t8 ? (t9 = /* @__PURE__ */ jsxRuntime.jsx(CustomButton, { "data-ui": "Tab", ...restProps, "aria-selected": t7, fontSize: fontSize2, icon, id, mode: "bleed", onClick, onBlur: handleBlur, onFocus: handleFocus, padding, ref, role: "tab", selected, tabIndex: t8, text: label, type: "button" }), $[18] = fontSize2, $[19] = handleFocus, $[20] = icon, $[21] = id, $[22] = label, $[23] = onClick, $[24] = padding, $[25] = restProps, $[26] = selected, $[27] = t7, $[28] = t8, $[29] = t9) : t9 = $[29], t9;
|
|
6399
6467
|
});
|
|
6400
6468
|
Tab.displayName = "ForwardRef(Tab)";
|
|
6401
|
-
const CustomInline = styledComponents.styled(Inline)
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
max-width: 100%;
|
|
6406
|
-
box-sizing: border-box;
|
|
6407
|
-
}
|
|
6408
|
-
`, TabList = react.forwardRef(function(props, ref) {
|
|
6469
|
+
const CustomInline = styledComponents.styled(Inline).withConfig({
|
|
6470
|
+
displayName: "CustomInline",
|
|
6471
|
+
componentId: "sc-5cm04m-0"
|
|
6472
|
+
})`& > div{display:inline-block;vertical-align:middle;max-width:100%;box-sizing:border-box;}`, TabList = react.forwardRef(function(props, ref) {
|
|
6409
6473
|
const $ = reactCompilerRuntime.c(15);
|
|
6410
6474
|
let childrenProp, restProps;
|
|
6411
6475
|
$[0] !== props ? ({
|
|
@@ -6446,9 +6510,10 @@ const TabPanel = react.forwardRef(function(props, ref) {
|
|
|
6446
6510
|
return $[3] !== flex || $[4] !== props.children || $[5] !== ref || $[6] !== restProps || $[7] !== t0 ? (t1 = /* @__PURE__ */ jsxRuntime.jsx(Box, { "data-ui": "TabPanel", ...restProps, flex, ref, role: "tabpanel", tabIndex: t0, children: props.children }), $[3] = flex, $[4] = props.children, $[5] = ref, $[6] = restProps, $[7] = t0, $[8] = t1) : t1 = $[8], t1;
|
|
6447
6511
|
});
|
|
6448
6512
|
TabPanel.displayName = "ForwardRef(TabPanel)";
|
|
6449
|
-
const TextBox = styledComponents.styled(Flex)
|
|
6450
|
-
|
|
6451
|
-
|
|
6513
|
+
const TextBox = styledComponents.styled(Flex).withConfig({
|
|
6514
|
+
displayName: "TextBox",
|
|
6515
|
+
componentId: "sc-1rr7rxo-0"
|
|
6516
|
+
})`overflow-x:auto;`, loadingAnimation = styledComponents.keyframes`
|
|
6452
6517
|
0% {
|
|
6453
6518
|
width: 0;
|
|
6454
6519
|
}
|
|
@@ -6505,7 +6570,10 @@ const STATUS_CARD_TONE = {
|
|
|
6505
6570
|
warning: "alert",
|
|
6506
6571
|
success: "alert",
|
|
6507
6572
|
info: "alert"
|
|
6508
|
-
}, Root$2 = styledComponents.styled(Card)(
|
|
6573
|
+
}, Root$2 = /* @__PURE__ */ styledComponents.styled(Card).withConfig({
|
|
6574
|
+
displayName: "Root",
|
|
6575
|
+
componentId: "sc-1icz8ea-0"
|
|
6576
|
+
})(rootStyles);
|
|
6509
6577
|
function Toast(props) {
|
|
6510
6578
|
const $ = reactCompilerRuntime.c(30);
|
|
6511
6579
|
let closable, description, duration, onClose, restProps, status, t0, title;
|
|
@@ -6557,21 +6625,13 @@ let toastId = 0;
|
|
|
6557
6625
|
function generateToastId() {
|
|
6558
6626
|
return String(toastId++);
|
|
6559
6627
|
}
|
|
6560
|
-
const Root$1 = styledComponents.styled(Layer)
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
|
|
6566
|
-
|
|
6567
|
-
`, ToastContainer = styledComponents.styled.div`
|
|
6568
|
-
box-sizing: border-box;
|
|
6569
|
-
position: absolute;
|
|
6570
|
-
right: 0;
|
|
6571
|
-
bottom: 0;
|
|
6572
|
-
max-width: 420px;
|
|
6573
|
-
width: 100%;
|
|
6574
|
-
`;
|
|
6628
|
+
const Root$1 = styledComponents.styled(Layer).withConfig({
|
|
6629
|
+
displayName: "Root",
|
|
6630
|
+
componentId: "sc-17mn6j-0"
|
|
6631
|
+
})`position:fixed;top:0;left:0;right:0;bottom:0;pointer-events:none;`, ToastContainer = styledComponents.styled.div.withConfig({
|
|
6632
|
+
displayName: "ToastContainer",
|
|
6633
|
+
componentId: "sc-17mn6j-1"
|
|
6634
|
+
})`box-sizing:border-box;position:absolute;right:0;bottom:0;max-width:420px;width:100%;`;
|
|
6575
6635
|
function ToastProvider(props) {
|
|
6576
6636
|
const $ = reactCompilerRuntime.c(24), {
|
|
6577
6637
|
children,
|
|
@@ -7003,13 +7063,18 @@ const TreeGroup = react.memo(function(props) {
|
|
|
7003
7063
|
const expanded = t0 === void 0 ? !1 : t0, tree = useTree(), t1 = !expanded;
|
|
7004
7064
|
let t2;
|
|
7005
7065
|
return $[4] !== children || $[5] !== restProps || $[6] !== t1 || $[7] !== tree.space ? (t2 = /* @__PURE__ */ jsxRuntime.jsx(Stack, { as: "ul", "data-ui": "TreeGroup", ...restProps, hidden: t1, marginTop: tree.space, role: "group", space: tree.space, children }), $[4] = children, $[5] = restProps, $[6] = t1, $[7] = tree.space, $[8] = t2) : t2 = $[8], t2;
|
|
7006
|
-
}), Root = react.memo(styledComponents.styled.li
|
|
7066
|
+
}), Root = react.memo(styledComponents.styled.li.withConfig({
|
|
7067
|
+
displayName: "Root",
|
|
7068
|
+
componentId: "sc-iiskig-0"
|
|
7069
|
+
})(treeItemRootStyle, treeItemRootColorStyle)), TreeItemBox = /* @__PURE__ */ styledComponents.styled(Box).attrs({
|
|
7007
7070
|
forwardedAs: "a"
|
|
7008
|
-
})
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7071
|
+
}).withConfig({
|
|
7072
|
+
displayName: "TreeItemBox",
|
|
7073
|
+
componentId: "sc-iiskig-1"
|
|
7074
|
+
})(treeItemBoxStyle), ToggleArrowText = styledComponents.styled(Text).withConfig({
|
|
7075
|
+
displayName: "ToggleArrowText",
|
|
7076
|
+
componentId: "sc-iiskig-2"
|
|
7077
|
+
})`& > svg{transition:transform 100ms;}`, TreeItem = react.memo(function(props) {
|
|
7013
7078
|
const {
|
|
7014
7079
|
children,
|
|
7015
7080
|
expanded: expandedProp = !1,
|