@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.esm.js
CHANGED
|
@@ -1465,13 +1465,13 @@ function labelBaseStyle(props) {
|
|
|
1465
1465
|
}
|
|
1466
1466
|
`;
|
|
1467
1467
|
}
|
|
1468
|
-
const Root$C =
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1468
|
+
const Root$C = /* @__PURE__ */ styled.div.withConfig({
|
|
1469
|
+
displayName: "Root",
|
|
1470
|
+
componentId: "sc-1luap7z-0"
|
|
1471
|
+
})(responsiveLabelFont, responsiveTextAlignStyle, labelBaseStyle), SpanWithTextOverflow$2 = styled.span.withConfig({
|
|
1472
|
+
displayName: "SpanWithTextOverflow",
|
|
1473
|
+
componentId: "sc-1luap7z-1"
|
|
1474
|
+
})`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`, Label = forwardRef(function(props, ref) {
|
|
1475
1475
|
const $ = c(22);
|
|
1476
1476
|
let accent, align, childrenProp, restProps, t0, t1, textOverflow, weight;
|
|
1477
1477
|
$[0] !== props ? ({
|
|
@@ -1641,9 +1641,30 @@ function avatarStrokeStyle() {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
};
|
|
1643
1643
|
}
|
|
1644
|
-
const Root$B =
|
|
1644
|
+
const Root$B = /* @__PURE__ */ styled.div.withConfig({
|
|
1645
|
+
displayName: "Root",
|
|
1646
|
+
componentId: "sc-1rj7kl0-0"
|
|
1647
|
+
})(responsiveAvatarSizeStyle, avatarStyle.root), Arrow$1 = /* @__PURE__ */ styled.div.withConfig({
|
|
1648
|
+
displayName: "Arrow",
|
|
1649
|
+
componentId: "sc-1rj7kl0-1"
|
|
1650
|
+
})(avatarStyle.arrow), BgStroke = /* @__PURE__ */ styled.ellipse.withConfig({
|
|
1651
|
+
displayName: "BgStroke",
|
|
1652
|
+
componentId: "sc-1rj7kl0-2"
|
|
1653
|
+
})(avatarStyle.bgStroke), Stroke = /* @__PURE__ */ styled.ellipse.withConfig({
|
|
1654
|
+
displayName: "Stroke",
|
|
1655
|
+
componentId: "sc-1rj7kl0-3"
|
|
1656
|
+
})(avatarStyle.stroke), Initials = /* @__PURE__ */ styled.div.withConfig({
|
|
1657
|
+
displayName: "Initials",
|
|
1658
|
+
componentId: "sc-1rj7kl0-4"
|
|
1659
|
+
})(avatarStyle.initials), InitialsLabel = /* @__PURE__ */ styled(Label).withConfig({
|
|
1660
|
+
displayName: "InitialsLabel",
|
|
1661
|
+
componentId: "sc-1rj7kl0-5"
|
|
1662
|
+
})({
|
|
1645
1663
|
color: "inherit"
|
|
1646
|
-
}), Image = styled.svg
|
|
1664
|
+
}), Image = /* @__PURE__ */ styled.svg.withConfig({
|
|
1665
|
+
displayName: "Image",
|
|
1666
|
+
componentId: "sc-1rj7kl0-6"
|
|
1667
|
+
})(avatarStyle.image), Avatar = forwardRef(function(props, ref) {
|
|
1647
1668
|
const $ = c(52);
|
|
1648
1669
|
let __unstable_hideInnerStroke, animateArrowFrom, arrowPositionProp, asProp, initials, onImageLoadError, restProps, src, t0, t1, t2, title;
|
|
1649
1670
|
$[0] !== props ? ({
|
|
@@ -1740,7 +1761,10 @@ function _avatarCounterBaseStyle(props) {
|
|
|
1740
1761
|
}
|
|
1741
1762
|
`;
|
|
1742
1763
|
}
|
|
1743
|
-
const Root$A = styled.div(
|
|
1764
|
+
const Root$A = /* @__PURE__ */ styled.div.withConfig({
|
|
1765
|
+
displayName: "Root",
|
|
1766
|
+
componentId: "sc-1ydx86y-0"
|
|
1767
|
+
})(_responsiveAvatarCounterSizeStyle, _avatarCounterBaseStyle), AvatarCounter = forwardRef(function(props, ref) {
|
|
1744
1768
|
const $ = c(9), {
|
|
1745
1769
|
count,
|
|
1746
1770
|
size: t0
|
|
@@ -1785,7 +1809,10 @@ function responsiveAvatarStackSizeStyle(props) {
|
|
|
1785
1809
|
} : EMPTY_RECORD;
|
|
1786
1810
|
});
|
|
1787
1811
|
}
|
|
1788
|
-
const Root$z = styled.div(
|
|
1812
|
+
const Root$z = /* @__PURE__ */ styled.div.withConfig({
|
|
1813
|
+
displayName: "Root",
|
|
1814
|
+
componentId: "sc-cysmbb-0"
|
|
1815
|
+
})(responsiveAvatarStackSizeStyle, avatarStackStyle), AvatarStack = forwardRef(function(props, ref) {
|
|
1789
1816
|
const $ = c(15);
|
|
1790
1817
|
let childrenProp, restProps, t0, t1;
|
|
1791
1818
|
$[0] !== props ? ({
|
|
@@ -1808,7 +1835,10 @@ const Root$z = styled.div(responsiveAvatarStackSizeStyle, avatarStackStyle), Ava
|
|
|
1808
1835
|
] }), $[7] = T0, $[8] = ref, $[9] = restProps, $[10] = size2, $[11] = t3, $[12] = t4, $[13] = t6, $[14] = t7) : t7 = $[14], t7;
|
|
1809
1836
|
});
|
|
1810
1837
|
AvatarStack.displayName = "ForwardRef(AvatarStack)";
|
|
1811
|
-
const Root$y = styled.div(
|
|
1838
|
+
const Root$y = /* @__PURE__ */ styled.div.withConfig({
|
|
1839
|
+
displayName: "Root",
|
|
1840
|
+
componentId: "sc-1hhky9f-0"
|
|
1841
|
+
})(boxStyle, flexItemStyle, responsiveBoxStyle, responsiveGridItemStyle, responsiveMarginStyle, responsivePaddingStyle), Box = forwardRef(function(props, ref) {
|
|
1812
1842
|
const $ = c(59);
|
|
1813
1843
|
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;
|
|
1814
1844
|
$[0] !== props ? ({
|
|
@@ -1913,13 +1943,13 @@ function textBaseStyle(props) {
|
|
|
1913
1943
|
}
|
|
1914
1944
|
`;
|
|
1915
1945
|
}
|
|
1916
|
-
const Root$x =
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1946
|
+
const Root$x = /* @__PURE__ */ styled.div.withConfig({
|
|
1947
|
+
displayName: "Root",
|
|
1948
|
+
componentId: "sc-11ov82j-0"
|
|
1949
|
+
})(responsiveTextFont, responsiveTextAlignStyle, textBaseStyle), SpanWithTextOverflow$1 = styled.span.withConfig({
|
|
1950
|
+
displayName: "SpanWithTextOverflow",
|
|
1951
|
+
componentId: "sc-11ov82j-1"
|
|
1952
|
+
})`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`, Text = forwardRef(function(props, ref) {
|
|
1923
1953
|
const $ = c(22);
|
|
1924
1954
|
let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
|
|
1925
1955
|
$[0] !== props ? ({
|
|
@@ -1960,7 +1990,10 @@ function badgeStyle(props) {
|
|
|
1960
1990
|
}
|
|
1961
1991
|
};
|
|
1962
1992
|
}
|
|
1963
|
-
const Root$w = styled(Box)(
|
|
1993
|
+
const Root$w = /* @__PURE__ */ styled(Box).withConfig({
|
|
1994
|
+
displayName: "Root",
|
|
1995
|
+
componentId: "sc-5u140l-0"
|
|
1996
|
+
})(responsiveRadiusStyle, badgeStyle), Badge = forwardRef(function(props, ref) {
|
|
1964
1997
|
const $ = c(17);
|
|
1965
1998
|
let children, restProps, t0, t1, t2, t3;
|
|
1966
1999
|
if ($[0] !== props) {
|
|
@@ -1983,7 +2016,10 @@ const Root$w = styled(Box)(responsiveRadiusStyle, badgeStyle), Badge = forwardRe
|
|
|
1983
2016
|
return $[10] !== ref || $[11] !== restProps || $[12] !== t4 || $[13] !== t5 || $[14] !== t6 || $[15] !== tone ? (t7 = /* @__PURE__ */ 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;
|
|
1984
2017
|
});
|
|
1985
2018
|
Badge.displayName = "ForwardRef(Badge)";
|
|
1986
|
-
const Root$v = styled(Box)(
|
|
2019
|
+
const Root$v = /* @__PURE__ */ styled(Box).withConfig({
|
|
2020
|
+
displayName: "Root",
|
|
2021
|
+
componentId: "sc-oxesg3-0"
|
|
2022
|
+
})(flexItemStyle, responsiveFlexStyle), Flex = forwardRef(function(props, ref) {
|
|
1987
2023
|
const $ = c(17);
|
|
1988
2024
|
let align, as, gap, justify, restProps, t0, wrap;
|
|
1989
2025
|
$[0] !== props ? ({
|
|
@@ -2008,11 +2044,10 @@ const rotate$1 = keyframes`
|
|
|
2008
2044
|
to {
|
|
2009
2045
|
transform: rotate(360deg);
|
|
2010
2046
|
}
|
|
2011
|
-
`, Root$u = styled(Text)
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
`, Spinner = forwardRef(function(props, ref) {
|
|
2047
|
+
`, Root$u = styled(Text).withConfig({
|
|
2048
|
+
displayName: "Root",
|
|
2049
|
+
componentId: "sc-124hnd0-0"
|
|
2050
|
+
})`& > span > svg{animation:${rotate$1} 500ms linear infinite;}`, Spinner = forwardRef(function(props, ref) {
|
|
2016
2051
|
const $ = c(4);
|
|
2017
2052
|
let t0;
|
|
2018
2053
|
$[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = /* @__PURE__ */ jsx(SpinnerIcon, {}), $[0] = t0) : t0 = $[0];
|
|
@@ -2188,20 +2223,13 @@ function buttonColorStyles(props) {
|
|
|
2188
2223
|
}
|
|
2189
2224
|
}, style?.button?.root].filter(Boolean);
|
|
2190
2225
|
}
|
|
2191
|
-
const Root$t =
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
align-items: center;
|
|
2199
|
-
justify-content: center;
|
|
2200
|
-
background-color: var(--card-bg-color);
|
|
2201
|
-
border-radius: inherit;
|
|
2202
|
-
z-index: 1;
|
|
2203
|
-
box-shadow: inherit;
|
|
2204
|
-
`, Button = forwardRef(function(props, ref) {
|
|
2226
|
+
const Root$t = /* @__PURE__ */ styled.button.withConfig({
|
|
2227
|
+
displayName: "Root",
|
|
2228
|
+
componentId: "sc-aaekt4-0"
|
|
2229
|
+
})(responsiveRadiusStyle, buttonBaseStyles, buttonColorStyles), LoadingBox = styled.div.withConfig({
|
|
2230
|
+
displayName: "LoadingBox",
|
|
2231
|
+
componentId: "sc-aaekt4-1"
|
|
2232
|
+
})`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 = forwardRef(function(props, ref) {
|
|
2205
2233
|
const $ = c(64);
|
|
2206
2234
|
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;
|
|
2207
2235
|
$[0] !== props ? ({
|
|
@@ -2417,7 +2445,10 @@ function cardColorStyle(props) {
|
|
|
2417
2445
|
${style?.card?.root}
|
|
2418
2446
|
`;
|
|
2419
2447
|
}
|
|
2420
|
-
const Root$s = styled(Box)(
|
|
2448
|
+
const Root$s = /* @__PURE__ */ styled(Box).withConfig({
|
|
2449
|
+
displayName: "Root",
|
|
2450
|
+
componentId: "sc-osnro2-0"
|
|
2451
|
+
})(responsiveBorderStyle, responsiveRadiusStyle, responsiveShadowStyle, cardStyle), Card = forwardRef(function(props, ref) {
|
|
2421
2452
|
const $ = c(42);
|
|
2422
2453
|
let asProp, border2, borderBottom2, borderLeft2, borderRight2, borderTop2, muted, pressed, restProps, scheme, selected, shadow, t0, t1, t2, t3;
|
|
2423
2454
|
$[0] !== props ? ({
|
|
@@ -2583,7 +2614,13 @@ function inputElementStyles(props) {
|
|
|
2583
2614
|
}
|
|
2584
2615
|
`;
|
|
2585
2616
|
}
|
|
2586
|
-
const Root$r =
|
|
2617
|
+
const Root$r = /* @__PURE__ */ styled.div.withConfig({
|
|
2618
|
+
displayName: "Root",
|
|
2619
|
+
componentId: "sc-1l5mt2l-0"
|
|
2620
|
+
})(checkboxBaseStyles), Input$5 = /* @__PURE__ */ styled.input.withConfig({
|
|
2621
|
+
displayName: "Input",
|
|
2622
|
+
componentId: "sc-1l5mt2l-1"
|
|
2623
|
+
})(inputElementStyles), Checkbox = forwardRef(function(props, forwardedRef) {
|
|
2587
2624
|
const $ = c(25);
|
|
2588
2625
|
let checked, className, customValidity, disabled, indeterminate, readOnly, restProps, style;
|
|
2589
2626
|
$[0] !== props ? ({
|
|
@@ -2766,7 +2803,10 @@ function codeBaseStyle() {
|
|
|
2766
2803
|
}
|
|
2767
2804
|
`;
|
|
2768
2805
|
}
|
|
2769
|
-
const Root$q = styled.pre(
|
|
2806
|
+
const Root$q = /* @__PURE__ */ styled.pre.withConfig({
|
|
2807
|
+
displayName: "Root",
|
|
2808
|
+
componentId: "sc-4dymyn-0"
|
|
2809
|
+
})(codeBaseStyle, responsiveCodeFontStyle), Code = forwardRef(function(props, ref) {
|
|
2770
2810
|
const $ = c(23);
|
|
2771
2811
|
let children, languageProp, restProps, t0, weight;
|
|
2772
2812
|
$[0] !== props ? ({
|
|
@@ -2807,7 +2847,10 @@ function responsiveContainerWidthStyle(props) {
|
|
|
2807
2847
|
maxWidth: val === "auto" ? "none" : rem(container[val])
|
|
2808
2848
|
}));
|
|
2809
2849
|
}
|
|
2810
|
-
const Root$p = styled(Box)(
|
|
2850
|
+
const Root$p = /* @__PURE__ */ styled(Box).withConfig({
|
|
2851
|
+
displayName: "Root",
|
|
2852
|
+
componentId: "sc-wyroop-0"
|
|
2853
|
+
})(containerBaseStyle, responsiveContainerWidthStyle), Container = forwardRef(function(props, ref) {
|
|
2811
2854
|
const $ = c(9);
|
|
2812
2855
|
let as, restProps, t0;
|
|
2813
2856
|
$[0] !== props ? ({
|
|
@@ -2820,7 +2863,10 @@ const Root$p = styled(Box)(containerBaseStyle, responsiveContainerWidthStyle), C
|
|
|
2820
2863
|
return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t1 ? (t2 = /* @__PURE__ */ 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;
|
|
2821
2864
|
});
|
|
2822
2865
|
Container.displayName = "ForwardRef(Container)";
|
|
2823
|
-
const Root$o = styled(Box)(
|
|
2866
|
+
const Root$o = /* @__PURE__ */ styled(Box).withConfig({
|
|
2867
|
+
displayName: "Root",
|
|
2868
|
+
componentId: "sc-v8t8oz-0"
|
|
2869
|
+
})(responsiveGridStyle), Grid = forwardRef(function(props, ref) {
|
|
2824
2870
|
const $ = c(26);
|
|
2825
2871
|
let as, autoCols, autoFlow, autoRows, children, columns, gap, gapX, gapY, restProps, rows;
|
|
2826
2872
|
$[0] !== props ? ({
|
|
@@ -2900,13 +2946,13 @@ function headingBaseStyle(props) {
|
|
|
2900
2946
|
}
|
|
2901
2947
|
`;
|
|
2902
2948
|
}
|
|
2903
|
-
const Root$n =
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2949
|
+
const Root$n = /* @__PURE__ */ styled.div.withConfig({
|
|
2950
|
+
displayName: "Root",
|
|
2951
|
+
componentId: "sc-137lwim-0"
|
|
2952
|
+
})(headingBaseStyle, responsiveTextAlignStyle, responsiveHeadingFont), SpanWithTextOverflow = styled.span.withConfig({
|
|
2953
|
+
displayName: "SpanWithTextOverflow",
|
|
2954
|
+
componentId: "sc-137lwim-1"
|
|
2955
|
+
})`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`, Heading = forwardRef(function(props, ref) {
|
|
2910
2956
|
const $ = c(22);
|
|
2911
2957
|
let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
|
|
2912
2958
|
$[0] !== props ? ({
|
|
@@ -2959,7 +3005,10 @@ function inlineSpaceStyle(props) {
|
|
|
2959
3005
|
};
|
|
2960
3006
|
});
|
|
2961
3007
|
}
|
|
2962
|
-
const Root$m = styled(Box)(
|
|
3008
|
+
const Root$m = /* @__PURE__ */ styled(Box).withConfig({
|
|
3009
|
+
displayName: "Root",
|
|
3010
|
+
componentId: "sc-1pkiy6j-0"
|
|
3011
|
+
})(inlineBaseStyle, inlineSpaceStyle), Inline = forwardRef(function(props, ref) {
|
|
2963
3012
|
const $ = c(12);
|
|
2964
3013
|
let as, childrenProp, restProps, space;
|
|
2965
3014
|
$[0] !== props ? ({
|
|
@@ -2995,7 +3044,10 @@ function kbdStyle() {
|
|
|
2995
3044
|
}
|
|
2996
3045
|
`;
|
|
2997
3046
|
}
|
|
2998
|
-
const Root$l = styled.kbd(
|
|
3047
|
+
const Root$l = /* @__PURE__ */ styled.kbd.withConfig({
|
|
3048
|
+
displayName: "Root",
|
|
3049
|
+
componentId: "sc-1w7yd8w-0"
|
|
3050
|
+
})(responsiveRadiusStyle, kbdStyle), KBD = forwardRef(function(props, ref) {
|
|
2999
3051
|
const $ = c(17);
|
|
3000
3052
|
let children, restProps, t0, t1, t2;
|
|
3001
3053
|
$[0] !== props ? ({
|
|
@@ -3081,7 +3133,10 @@ function getRoundedCommands(points) {
|
|
|
3081
3133
|
function compileCommands(cmds) {
|
|
3082
3134
|
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(" ");
|
|
3083
3135
|
}
|
|
3084
|
-
const Root$k = styled.div(
|
|
3136
|
+
const Root$k = /* @__PURE__ */ styled.div.withConfig({
|
|
3137
|
+
displayName: "Root",
|
|
3138
|
+
componentId: "sc-12vzy6c-0"
|
|
3139
|
+
})(({
|
|
3085
3140
|
$w: w
|
|
3086
3141
|
}) => css`
|
|
3087
3142
|
position: absolute;
|
|
@@ -3129,11 +3184,13 @@ const Root$k = styled.div(({
|
|
|
3129
3184
|
transform: rotate(180deg);
|
|
3130
3185
|
}
|
|
3131
3186
|
}
|
|
3132
|
-
`), StrokePath = styled.path
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3187
|
+
`), StrokePath = styled.path.withConfig({
|
|
3188
|
+
displayName: "StrokePath",
|
|
3189
|
+
componentId: "sc-12vzy6c-1"
|
|
3190
|
+
})`stroke:var(--card-shadow-outline-color);`, ShapePath = styled.path.withConfig({
|
|
3191
|
+
displayName: "ShapePath",
|
|
3192
|
+
componentId: "sc-12vzy6c-2"
|
|
3193
|
+
})`fill:var(--card-bg-color);`, Arrow = forwardRef(function(props, ref) {
|
|
3137
3194
|
const $ = c(24);
|
|
3138
3195
|
let h, restProps, t0, w;
|
|
3139
3196
|
$[0] !== props ? ({
|
|
@@ -3438,7 +3495,10 @@ function _temp$5(v) {
|
|
|
3438
3495
|
return v + 1;
|
|
3439
3496
|
}
|
|
3440
3497
|
LayerProvider.displayName = "LayerProvider";
|
|
3441
|
-
const Root$j = styled.div({
|
|
3498
|
+
const Root$j = /* @__PURE__ */ styled.div.withConfig({
|
|
3499
|
+
displayName: "Root",
|
|
3500
|
+
componentId: "sc-16kojrv-0"
|
|
3501
|
+
})({
|
|
3442
3502
|
position: "relative"
|
|
3443
3503
|
}), LayerChildren = forwardRef(function(props, forwardedRef) {
|
|
3444
3504
|
const $ = c(22);
|
|
@@ -3558,14 +3618,10 @@ function _isEqual(objA, objB) {
|
|
|
3558
3618
|
const keysA = Object.keys(objA), keysB = Object.keys(objB);
|
|
3559
3619
|
return keysA.length !== keysB.length ? !1 : keysA.every((key2) => objA[key2] === objB[key2]);
|
|
3560
3620
|
}
|
|
3561
|
-
const Root$i = styled.div
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
position: absolute;
|
|
3566
|
-
overflow: hidden;
|
|
3567
|
-
overflow: clip;
|
|
3568
|
-
`, SrOnly = forwardRef(function(props, ref) {
|
|
3621
|
+
const Root$i = styled.div.withConfig({
|
|
3622
|
+
displayName: "Root",
|
|
3623
|
+
componentId: "sc-mubr0c-0"
|
|
3624
|
+
})`display:block;width:0;height:0;position:absolute;overflow:hidden;overflow:clip;`, SrOnly = forwardRef(function(props, ref) {
|
|
3569
3625
|
const $ = c(4), {
|
|
3570
3626
|
as,
|
|
3571
3627
|
children
|
|
@@ -3574,13 +3630,13 @@ const Root$i = styled.div`
|
|
|
3574
3630
|
return $[0] !== as || $[1] !== children || $[2] !== ref ? (t0 = /* @__PURE__ */ jsx(Root$i, { "aria-hidden": !0, as, "data-ui": "SrOnly", ref, children }), $[0] = as, $[1] = children, $[2] = ref, $[3] = t0) : t0 = $[3], t0;
|
|
3575
3631
|
});
|
|
3576
3632
|
SrOnly.displayName = "ForwardRef(SrOnly)";
|
|
3577
|
-
const Root$h = styled.div
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3633
|
+
const Root$h = styled.div.withConfig({
|
|
3634
|
+
displayName: "Root",
|
|
3635
|
+
componentId: "sc-dlqsj4-0"
|
|
3636
|
+
})`position:relative;`, ItemWrapper = styled.div.withConfig({
|
|
3637
|
+
displayName: "ItemWrapper",
|
|
3638
|
+
componentId: "sc-dlqsj4-1"
|
|
3639
|
+
})`position:absolute;left:0;right:0;`, VirtualList = forwardRef(function(props, forwardedRef) {
|
|
3584
3640
|
const $ = c(56);
|
|
3585
3641
|
let getItemKey, onChange, renderItem, restProps, t0, t1, t2;
|
|
3586
3642
|
$[0] !== props ? ({
|
|
@@ -3766,18 +3822,10 @@ function calcMaxWidth(params) {
|
|
|
3766
3822
|
if (!(currentWidth === void 0 && boundaryWidth === void 0))
|
|
3767
3823
|
return Math.min(currentWidth ?? 1 / 0, (boundaryWidth || 1 / 0) - DEFAULT_POPOVER_PADDING * 2);
|
|
3768
3824
|
}
|
|
3769
|
-
const MotionCard$1 = styled(motion.create(Card))
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
flex-direction: column;
|
|
3774
|
-
width: max-content;
|
|
3775
|
-
min-width: min-content;
|
|
3776
|
-
& > * {
|
|
3777
|
-
opacity: var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY}, 1);
|
|
3778
|
-
will-change: opacity;
|
|
3779
|
-
}
|
|
3780
|
-
`, PopoverCard = memo(forwardRef(function(props, ref) {
|
|
3825
|
+
const MotionCard$1 = styled(motion.create(Card)).withConfig({
|
|
3826
|
+
displayName: "MotionCard",
|
|
3827
|
+
componentId: "sc-ihg31s-0"
|
|
3828
|
+
})`&: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 = memo(forwardRef(function(props, ref) {
|
|
3781
3829
|
const $ = c(60);
|
|
3782
3830
|
let animate, arrow2, arrowRef, arrowX, arrowY, children, marginsProp, originX, originY, overflow, padding, placement, radius, restProps, scheme, shadow, strategy, style, tone, width, xProp, yProp;
|
|
3783
3831
|
$[0] !== props ? ({
|
|
@@ -4100,7 +4148,13 @@ function inputElementStyle(props) {
|
|
|
4100
4148
|
}
|
|
4101
4149
|
`;
|
|
4102
4150
|
}
|
|
4103
|
-
const Root$g =
|
|
4151
|
+
const Root$g = /* @__PURE__ */ styled.div.withConfig({
|
|
4152
|
+
displayName: "Root",
|
|
4153
|
+
componentId: "sc-ccrwkf-0"
|
|
4154
|
+
})(radioBaseStyle), Input$4 = /* @__PURE__ */ styled.input.withConfig({
|
|
4155
|
+
displayName: "Input",
|
|
4156
|
+
componentId: "sc-ccrwkf-1"
|
|
4157
|
+
})(inputElementStyle), Radio = forwardRef(function(props, forwardedRef) {
|
|
4104
4158
|
const $ = c(19);
|
|
4105
4159
|
let className, customValidity, disabled, readOnly, restProps, style;
|
|
4106
4160
|
$[0] !== props ? ({
|
|
@@ -4268,7 +4322,16 @@ const selectStyle = {
|
|
|
4268
4322
|
root: rootStyle,
|
|
4269
4323
|
input: inputStyle,
|
|
4270
4324
|
iconBox: iconBoxStyle
|
|
4271
|
-
}, Root$f =
|
|
4325
|
+
}, Root$f = /* @__PURE__ */ styled.div.withConfig({
|
|
4326
|
+
displayName: "Root",
|
|
4327
|
+
componentId: "sc-5mxno7-0"
|
|
4328
|
+
})(selectStyle.root), Input$3 = /* @__PURE__ */ styled.select.withConfig({
|
|
4329
|
+
displayName: "Input",
|
|
4330
|
+
componentId: "sc-5mxno7-1"
|
|
4331
|
+
})(selectStyle.input), IconBox = /* @__PURE__ */ styled(Box).withConfig({
|
|
4332
|
+
displayName: "IconBox",
|
|
4333
|
+
componentId: "sc-5mxno7-2"
|
|
4334
|
+
})(selectStyle.iconBox), Select = forwardRef(function(props, forwardedRef) {
|
|
4272
4335
|
const $ = c(29);
|
|
4273
4336
|
let children, customValidity, disabled, readOnly, restProps, t0, t1, t2, t3;
|
|
4274
4337
|
$[0] !== props ? ({
|
|
@@ -4323,7 +4386,10 @@ function responsiveStackSpaceStyle(props) {
|
|
|
4323
4386
|
gridGap: rem(space[spaceIndex])
|
|
4324
4387
|
}));
|
|
4325
4388
|
}
|
|
4326
|
-
const Root$e = styled(Box)(
|
|
4389
|
+
const Root$e = /* @__PURE__ */ styled(Box).withConfig({
|
|
4390
|
+
displayName: "Root",
|
|
4391
|
+
componentId: "sc-8dpfq2-0"
|
|
4392
|
+
})(stackBaseStyle, responsiveStackSpaceStyle), Stack = forwardRef(function(props, ref) {
|
|
4327
4393
|
const $ = c(10);
|
|
4328
4394
|
let as, restProps, space;
|
|
4329
4395
|
$[0] !== props ? ({
|
|
@@ -4489,7 +4555,22 @@ function switchThumbStyles(props) {
|
|
|
4489
4555
|
`}
|
|
4490
4556
|
`;
|
|
4491
4557
|
}
|
|
4492
|
-
const Root$d =
|
|
4558
|
+
const Root$d = /* @__PURE__ */ styled.span.withConfig({
|
|
4559
|
+
displayName: "Root",
|
|
4560
|
+
componentId: "sc-dw1foe-0"
|
|
4561
|
+
})(switchBaseStyles), Input$2 = /* @__PURE__ */ styled.input.withConfig({
|
|
4562
|
+
displayName: "Input",
|
|
4563
|
+
componentId: "sc-dw1foe-1"
|
|
4564
|
+
})(switchInputStyles), Representation = /* @__PURE__ */ styled.span.withConfig({
|
|
4565
|
+
displayName: "Representation",
|
|
4566
|
+
componentId: "sc-dw1foe-2"
|
|
4567
|
+
})(switchRepresentationStyles), Track = /* @__PURE__ */ styled.span.withConfig({
|
|
4568
|
+
displayName: "Track",
|
|
4569
|
+
componentId: "sc-dw1foe-3"
|
|
4570
|
+
})(switchTrackStyles), Thumb = /* @__PURE__ */ styled.span.withConfig({
|
|
4571
|
+
displayName: "Thumb",
|
|
4572
|
+
componentId: "sc-dw1foe-4"
|
|
4573
|
+
})(switchThumbStyles), Switch = forwardRef(function(props, forwardedRef) {
|
|
4493
4574
|
const $ = c(26);
|
|
4494
4575
|
let checked, className, disabled, indeterminate, readOnly, restProps, style;
|
|
4495
4576
|
$[0] !== props ? ({
|
|
@@ -4525,12 +4606,19 @@ const Root$d = styled.span(switchBaseStyles), Input$2 = styled.input(switchInput
|
|
|
4525
4606
|
] }), $[21] = className, $[22] = style, $[23] = t6, $[24] = t8, $[25] = t9) : t9 = $[25], t9;
|
|
4526
4607
|
});
|
|
4527
4608
|
Switch.displayName = "ForwardRef(Switch)";
|
|
4528
|
-
const Root$c =
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4609
|
+
const Root$c = /* @__PURE__ */ styled.span.withConfig({
|
|
4610
|
+
displayName: "Root",
|
|
4611
|
+
componentId: "sc-1d6h1o8-0"
|
|
4612
|
+
})(textInputRootStyle), InputRoot$1 = styled.span.withConfig({
|
|
4613
|
+
displayName: "InputRoot",
|
|
4614
|
+
componentId: "sc-1d6h1o8-1"
|
|
4615
|
+
})`flex:1;min-width:0;display:block;position:relative;`, Input$1 = /* @__PURE__ */ styled.textarea.withConfig({
|
|
4616
|
+
displayName: "Input",
|
|
4617
|
+
componentId: "sc-1d6h1o8-2"
|
|
4618
|
+
})(responsiveInputPaddingStyle, textInputBaseStyle, textInputFontSizeStyle), Presentation$1 = /* @__PURE__ */ styled.div.withConfig({
|
|
4619
|
+
displayName: "Presentation",
|
|
4620
|
+
componentId: "sc-1d6h1o8-3"
|
|
4621
|
+
})(responsiveRadiusStyle, textInputRepresentationStyle), TextArea = forwardRef(function(props, forwardedRef) {
|
|
4534
4622
|
const $ = c(29);
|
|
4535
4623
|
let __unstable_disableFocusRing, customValidity, restProps, t0, t1, t2, t3, t4, weight;
|
|
4536
4624
|
$[0] !== props ? ({
|
|
@@ -4562,47 +4650,43 @@ const Root$c = styled.span(textInputRootStyle), InputRoot$1 = styled.span`
|
|
|
4562
4650
|
TextArea.displayName = "ForwardRef(TextArea)";
|
|
4563
4651
|
const CLEAR_BUTTON_BOX_STYLE = {
|
|
4564
4652
|
zIndex: 2
|
|
4565
|
-
}, Root$b = styled(Card).attrs({
|
|
4653
|
+
}, Root$b = /* @__PURE__ */ styled(Card).attrs({
|
|
4566
4654
|
forwardedAs: "span"
|
|
4567
|
-
})(
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4655
|
+
}).withConfig({
|
|
4656
|
+
displayName: "Root",
|
|
4657
|
+
componentId: "sc-h62wco-0"
|
|
4658
|
+
})(textInputRootStyle), InputRoot = styled.span.withConfig({
|
|
4659
|
+
displayName: "InputRoot",
|
|
4660
|
+
componentId: "sc-h62wco-1"
|
|
4661
|
+
})`flex:1;min-width:0;display:block;position:relative;`, Prefix = styled(Card).attrs({
|
|
4573
4662
|
forwardedAs: "span"
|
|
4574
|
-
})
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
& > span {
|
|
4579
|
-
display: block;
|
|
4580
|
-
margin: -1px;
|
|
4581
|
-
}
|
|
4582
|
-
`, Suffix = styled(Card).attrs({
|
|
4663
|
+
}).withConfig({
|
|
4664
|
+
displayName: "Prefix",
|
|
4665
|
+
componentId: "sc-h62wco-2"
|
|
4666
|
+
})`border-top-right-radius:0;border-bottom-right-radius:0;& > span{display:block;margin:-1px;}`, Suffix = styled(Card).attrs({
|
|
4583
4667
|
forwardedAs: "span"
|
|
4584
|
-
})
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4668
|
+
}).withConfig({
|
|
4669
|
+
displayName: "Suffix",
|
|
4670
|
+
componentId: "sc-h62wco-3"
|
|
4671
|
+
})`border-top-left-radius:0;border-bottom-left-radius:0;& > span{display:block;margin:-1px;}`, Input = /* @__PURE__ */ styled.input.withConfig({
|
|
4672
|
+
displayName: "Input",
|
|
4673
|
+
componentId: "sc-h62wco-4"
|
|
4674
|
+
})(responsiveInputPaddingStyle, textInputBaseStyle, textInputFontSizeStyle), Presentation = /* @__PURE__ */ styled.span.withConfig({
|
|
4675
|
+
displayName: "Presentation",
|
|
4676
|
+
componentId: "sc-h62wco-5"
|
|
4677
|
+
})(responsiveRadiusStyle, textInputRepresentationStyle), LeftBox = styled(Box).withConfig({
|
|
4678
|
+
displayName: "LeftBox",
|
|
4679
|
+
componentId: "sc-h62wco-6"
|
|
4680
|
+
})`position:absolute;top:0;left:0;`, RightBox = styled(Box).withConfig({
|
|
4681
|
+
displayName: "RightBox",
|
|
4682
|
+
componentId: "sc-h62wco-7"
|
|
4683
|
+
})`position:absolute;top:0;right:0;`, RightCard = styled(Card).withConfig({
|
|
4684
|
+
displayName: "RightCard",
|
|
4685
|
+
componentId: "sc-h62wco-8"
|
|
4686
|
+
})`background-color:transparent;position:absolute;top:0;right:0;`, TextInputClearButton = /* @__PURE__ */ styled(Button).withConfig({
|
|
4687
|
+
displayName: "TextInputClearButton",
|
|
4688
|
+
componentId: "sc-h62wco-9"
|
|
4689
|
+
})({
|
|
4606
4690
|
"&:not([hidden])": {
|
|
4607
4691
|
display: "block"
|
|
4608
4692
|
}
|
|
@@ -4727,12 +4811,10 @@ const DEFAULT_TOOLTIP_ARROW_WIDTH = 15, DEFAULT_TOOLTIP_ARROW_HEIGHT = 6, DEFAUL
|
|
|
4727
4811
|
right: ["right-end", "right-start", "left", "top", "bottom"],
|
|
4728
4812
|
"right-start": ["right", "right-end", "left-start", "top-start", "bottom-start"],
|
|
4729
4813
|
"right-end": ["right", "right-start", "left-end", "top-end", "bottom-end"]
|
|
4730
|
-
}, MotionCard = styled(motion.create(Card))
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
}
|
|
4735
|
-
`, TooltipCard = memo(forwardRef(function(props, ref) {
|
|
4814
|
+
}, MotionCard = styled(motion.create(Card)).withConfig({
|
|
4815
|
+
displayName: "MotionCard",
|
|
4816
|
+
componentId: "sc-1xn138w-0"
|
|
4817
|
+
})`& > *{opacity:var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY},1);will-change:opacity;}`, TooltipCard = memo(forwardRef(function(props, ref) {
|
|
4736
4818
|
const $ = c(42);
|
|
4737
4819
|
let animate, arrow2, arrowRef, arrowX, arrowY, children, originX, originY, padding, placement, radius, restProps, scheme, shadow, style;
|
|
4738
4820
|
$[0] !== props ? ({
|
|
@@ -4808,9 +4890,10 @@ function TooltipDelayGroupProvider(props) {
|
|
|
4808
4890
|
return $[7] !== children || $[8] !== value ? (t3 = /* @__PURE__ */ jsx(TooltipDelayGroupContext.Provider, { value, children }), $[7] = children, $[8] = value, $[9] = t3) : t3 = $[9], t3;
|
|
4809
4891
|
}
|
|
4810
4892
|
TooltipDelayGroupProvider.displayName = "TooltipDelayGroupProvider";
|
|
4811
|
-
const Root$a = styled(Layer)
|
|
4812
|
-
|
|
4813
|
-
|
|
4893
|
+
const Root$a = styled(Layer).withConfig({
|
|
4894
|
+
displayName: "Root",
|
|
4895
|
+
componentId: "sc-13f2zvh-0"
|
|
4896
|
+
})`pointer-events:none;`, Tooltip = forwardRef(function(props, forwardedRef) {
|
|
4814
4897
|
const boundaryElementContext = useBoundaryElement(), {
|
|
4815
4898
|
layer
|
|
4816
4899
|
} = useTheme_v2(), {
|
|
@@ -4957,15 +5040,13 @@ function useCloseOnMouseLeave(t0) {
|
|
|
4957
5040
|
return window.addEventListener("mousemove", handleMouseMove), () => window.removeEventListener("mousemove", handleMouseMove);
|
|
4958
5041
|
}, t3 = [onMouseMove, showTooltip], $[3] = onMouseMove, $[4] = showTooltip, $[5] = t2, $[6] = t3) : (t2 = $[5], t3 = $[6]), useEffect(t2, t3);
|
|
4959
5042
|
}
|
|
4960
|
-
const Root$9 = styled.div
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
}
|
|
4968
|
-
`, rotate = keyframes`
|
|
5043
|
+
const Root$9 = styled.div.withConfig({
|
|
5044
|
+
displayName: "Root",
|
|
5045
|
+
componentId: "sc-1igauft-0"
|
|
5046
|
+
})`line-height:0;`, ListBox = styled(Box).withConfig({
|
|
5047
|
+
displayName: "ListBox",
|
|
5048
|
+
componentId: "sc-1igauft-1"
|
|
5049
|
+
})`& > ul{list-style:none;padding:0;margin:0;}`, rotate = keyframes`
|
|
4969
5050
|
from {
|
|
4970
5051
|
transform: rotate(0deg);
|
|
4971
5052
|
}
|
|
@@ -4973,9 +5054,10 @@ const Root$9 = styled.div`
|
|
|
4973
5054
|
to {
|
|
4974
5055
|
transform: rotate(360deg);
|
|
4975
5056
|
}
|
|
4976
|
-
`, AnimatedSpinnerIcon = styled(SpinnerIcon)
|
|
4977
|
-
|
|
4978
|
-
|
|
5057
|
+
`, AnimatedSpinnerIcon = styled(SpinnerIcon).withConfig({
|
|
5058
|
+
displayName: "AnimatedSpinnerIcon",
|
|
5059
|
+
componentId: "sc-1igauft-2"
|
|
5060
|
+
})`animation:${rotate} 500ms linear infinite;`;
|
|
4979
5061
|
function AutocompleteOption(props) {
|
|
4980
5062
|
const $ = c(11), {
|
|
4981
5063
|
children,
|
|
@@ -5233,18 +5315,13 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = ["Control", "Shift", "Alt", "Enter", "H
|
|
|
5233
5315
|
] });
|
|
5234
5316
|
});
|
|
5235
5317
|
InnerAutocomplete.displayName = "ForwardRef(Autocomplete)";
|
|
5236
|
-
const Autocomplete = InnerAutocomplete, Root$8 = styled.ol
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
line-height: 0;
|
|
5244
|
-
`, ExpandButton = styled(Button)`
|
|
5245
|
-
appearance: none;
|
|
5246
|
-
margin: -4px;
|
|
5247
|
-
`, Breadcrumbs = forwardRef(function(props, ref) {
|
|
5318
|
+
const Autocomplete = InnerAutocomplete, Root$8 = styled.ol.withConfig({
|
|
5319
|
+
displayName: "Root",
|
|
5320
|
+
componentId: "sc-1es8h8q-0"
|
|
5321
|
+
})`margin:0;padding:0;display:flex;list-style:none;align-items:center;white-space:nowrap;line-height:0;`, ExpandButton = styled(Button).withConfig({
|
|
5322
|
+
displayName: "ExpandButton",
|
|
5323
|
+
componentId: "sc-1es8h8q-1"
|
|
5324
|
+
})`appearance:none;margin:-4px;`, Breadcrumbs = forwardRef(function(props, ref) {
|
|
5248
5325
|
const {
|
|
5249
5326
|
children,
|
|
5250
5327
|
maxLength,
|
|
@@ -5334,40 +5411,28 @@ function useDialog() {
|
|
|
5334
5411
|
function isTargetWithinScope(boundaryElement, portalElement, target) {
|
|
5335
5412
|
return !boundaryElement || !portalElement ? !0 : containsOrEqualsElement(boundaryElement, target) || containsOrEqualsElement(portalElement, target);
|
|
5336
5413
|
}
|
|
5337
|
-
const Root$7 =
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
`, DialogHeader = styled(Box)`
|
|
5360
|
-
position: relative;
|
|
5361
|
-
z-index: 2;
|
|
5362
|
-
`, DialogContent = styled(Box)`
|
|
5363
|
-
position: relative;
|
|
5364
|
-
z-index: 1;
|
|
5365
|
-
overflow: auto;
|
|
5366
|
-
outline: none;
|
|
5367
|
-
`, DialogFooter = styled(Box)`
|
|
5368
|
-
position: relative;
|
|
5369
|
-
z-index: 3;
|
|
5370
|
-
`, DialogCard = forwardRef(function(props, forwardedRef) {
|
|
5414
|
+
const Root$7 = /* @__PURE__ */ styled(Layer).withConfig({
|
|
5415
|
+
displayName: "Root",
|
|
5416
|
+
componentId: "sc-4n4xb3-0"
|
|
5417
|
+
})(responsivePaddingStyle, dialogStyle, responsiveDialogPositionStyle, animationDialogStyle), DialogContainer = styled(Container).withConfig({
|
|
5418
|
+
displayName: "DialogContainer",
|
|
5419
|
+
componentId: "sc-4n4xb3-1"
|
|
5420
|
+
})`&:not([hidden]){display:flex;}width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;`, DialogCardRoot = styled(Card).withConfig({
|
|
5421
|
+
displayName: "DialogCardRoot",
|
|
5422
|
+
componentId: "sc-4n4xb3-2"
|
|
5423
|
+
})`&:not([hidden]){display:flex;}width:100%;min-height:0;max-height:100%;overflow:hidden;overflow:clip;`, DialogLayout = styled(Flex).withConfig({
|
|
5424
|
+
displayName: "DialogLayout",
|
|
5425
|
+
componentId: "sc-4n4xb3-3"
|
|
5426
|
+
})`flex:1;min-height:0;width:100%;`, DialogHeader = styled(Box).withConfig({
|
|
5427
|
+
displayName: "DialogHeader",
|
|
5428
|
+
componentId: "sc-4n4xb3-4"
|
|
5429
|
+
})`position:relative;z-index:2;`, DialogContent = styled(Box).withConfig({
|
|
5430
|
+
displayName: "DialogContent",
|
|
5431
|
+
componentId: "sc-4n4xb3-5"
|
|
5432
|
+
})`position:relative;z-index:1;overflow:auto;outline:none;`, DialogFooter = styled(Box).withConfig({
|
|
5433
|
+
displayName: "DialogFooter",
|
|
5434
|
+
componentId: "sc-4n4xb3-6"
|
|
5435
|
+
})`position:relative;z-index:3;`, DialogCard = forwardRef(function(props, forwardedRef) {
|
|
5371
5436
|
const $ = c(38), {
|
|
5372
5437
|
__unstable_autoFocus: autoFocus,
|
|
5373
5438
|
__unstable_hideCloseButton: hideCloseButton,
|
|
@@ -5522,18 +5587,13 @@ function DialogProvider(props) {
|
|
|
5522
5587
|
return $[3] !== children || $[4] !== contextValue ? (t2 = /* @__PURE__ */ jsx(DialogContext.Provider, { value: contextValue, children }), $[3] = children, $[4] = contextValue, $[5] = t2) : t2 = $[5], t2;
|
|
5523
5588
|
}
|
|
5524
5589
|
DialogProvider.displayName = "DialogProvider";
|
|
5525
|
-
const Root$6 = styled.kbd
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
`, Key = styled(KBD)`
|
|
5533
|
-
&:not([hidden]) {
|
|
5534
|
-
display: block;
|
|
5535
|
-
}
|
|
5536
|
-
`, Hotkeys = forwardRef(function(props, ref) {
|
|
5590
|
+
const Root$6 = styled.kbd.withConfig({
|
|
5591
|
+
displayName: "Root",
|
|
5592
|
+
componentId: "sc-b37mge-0"
|
|
5593
|
+
})`font:inherit;padding:1px;&:not([hidden]){display:block;}`, Key = styled(KBD).withConfig({
|
|
5594
|
+
displayName: "Key",
|
|
5595
|
+
componentId: "sc-b37mge-1"
|
|
5596
|
+
})`&:not([hidden]){display:block;}`, Hotkeys = forwardRef(function(props, ref) {
|
|
5537
5597
|
const $ = c(24);
|
|
5538
5598
|
let fontSize2, keys, padding, radius, restProps, t0;
|
|
5539
5599
|
$[0] !== props ? ({
|
|
@@ -5699,10 +5759,10 @@ function useMenuController(props) {
|
|
|
5699
5759
|
mount
|
|
5700
5760
|
};
|
|
5701
5761
|
}
|
|
5702
|
-
const Root$5 = styled(Box)
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5762
|
+
const Root$5 = styled(Box).withConfig({
|
|
5763
|
+
displayName: "Root",
|
|
5764
|
+
componentId: "sc-xt0tnv-0"
|
|
5765
|
+
})`outline:none;overflow:auto;`, Menu = forwardRef(function(props, forwardedRef) {
|
|
5706
5766
|
const $ = c(50);
|
|
5707
5767
|
let _shouldFocus, children, onClickOutside, onEscape, onItemClick, onItemSelect, onKeyDown, originElement, registerElement, restProps, t0, t1;
|
|
5708
5768
|
if ($[0] !== props) {
|
|
@@ -5923,12 +5983,10 @@ MenuButton.displayName = "ForwardRef(MenuButton)";
|
|
|
5923
5983
|
function _temp$2(v) {
|
|
5924
5984
|
return !v;
|
|
5925
5985
|
}
|
|
5926
|
-
const MenuDivider = styled.hr
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
margin: 0;
|
|
5931
|
-
`;
|
|
5986
|
+
const MenuDivider = styled.hr.withConfig({
|
|
5987
|
+
displayName: "MenuDivider",
|
|
5988
|
+
componentId: "sc-uhoxwu-0"
|
|
5989
|
+
})`height:1px;border:0;background:var(--card-hairline-soft-color);margin:0;`;
|
|
5932
5990
|
MenuDivider.displayName = "MenuDivider";
|
|
5933
5991
|
function selectableBaseStyle() {
|
|
5934
5992
|
return css`
|
|
@@ -6030,7 +6088,10 @@ function selectableColorStyle(props) {
|
|
|
6030
6088
|
${style?.card?.root}
|
|
6031
6089
|
`;
|
|
6032
6090
|
}
|
|
6033
|
-
const Selectable = styled(Box)(
|
|
6091
|
+
const Selectable = /* @__PURE__ */ styled(Box).withConfig({
|
|
6092
|
+
displayName: "Selectable",
|
|
6093
|
+
componentId: "sc-1w01ang-0"
|
|
6094
|
+
})(responsiveRadiusStyle, selectableBaseStyle, selectableColorStyle);
|
|
6034
6095
|
Selectable.displayName = "Selectable";
|
|
6035
6096
|
function useMenu() {
|
|
6036
6097
|
const value = useContext(MenuContext);
|
|
@@ -6277,7 +6338,10 @@ const keyframe = keyframes`
|
|
|
6277
6338
|
@media screen and (prefers-reduced-motion: reduce) {
|
|
6278
6339
|
background-color: var(--card-skeleton-color-from);
|
|
6279
6340
|
}
|
|
6280
|
-
`, Root$4 = styled(Box)(
|
|
6341
|
+
`, Root$4 = /* @__PURE__ */ styled(Box).withConfig({
|
|
6342
|
+
displayName: "Root",
|
|
6343
|
+
componentId: "sc-ebtpni-0"
|
|
6344
|
+
})(responsiveRadiusStyle, skeletonStyle), Skeleton = forwardRef(function(props, ref) {
|
|
6281
6345
|
const $ = c(14);
|
|
6282
6346
|
let delay, radius, restProps, t0;
|
|
6283
6347
|
$[0] !== props ? ({
|
|
@@ -6303,7 +6367,10 @@ const keyframe = keyframes`
|
|
|
6303
6367
|
return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !== visible ? (t4 = /* @__PURE__ */ 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;
|
|
6304
6368
|
});
|
|
6305
6369
|
Skeleton.displayName = "ForwardRef(Skeleton)";
|
|
6306
|
-
const Root$3 = styled(Skeleton)(
|
|
6370
|
+
const Root$3 = /* @__PURE__ */ styled(Skeleton).withConfig({
|
|
6371
|
+
displayName: "Root",
|
|
6372
|
+
componentId: "sc-2p7a1v-0"
|
|
6373
|
+
})((props) => {
|
|
6307
6374
|
const {
|
|
6308
6375
|
$size,
|
|
6309
6376
|
$style
|
|
@@ -6365,9 +6432,10 @@ const CodeSkeleton = forwardRef(function(props, ref) {
|
|
|
6365
6432
|
return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(Root$3, { ...restProps, $size, ref, $style: "code" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
|
|
6366
6433
|
});
|
|
6367
6434
|
CodeSkeleton.displayName = "ForwardRef(CodeSkeleton)";
|
|
6368
|
-
const CustomButton = styled(Button)
|
|
6369
|
-
|
|
6370
|
-
|
|
6435
|
+
const CustomButton = styled(Button).withConfig({
|
|
6436
|
+
displayName: "CustomButton",
|
|
6437
|
+
componentId: "sc-1kns779-0"
|
|
6438
|
+
})`max-width:100%;`, Tab = forwardRef(function(props, forwardedRef) {
|
|
6371
6439
|
const $ = c(30);
|
|
6372
6440
|
let focused, icon, id, label, onClick, onFocus, restProps, selected, t0, t1;
|
|
6373
6441
|
$[0] !== props ? ({
|
|
@@ -6404,14 +6472,10 @@ const CustomButton = styled(Button)`
|
|
|
6404
6472
|
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__ */ 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;
|
|
6405
6473
|
});
|
|
6406
6474
|
Tab.displayName = "ForwardRef(Tab)";
|
|
6407
|
-
const CustomInline = styled(Inline)
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
max-width: 100%;
|
|
6412
|
-
box-sizing: border-box;
|
|
6413
|
-
}
|
|
6414
|
-
`, TabList = forwardRef(function(props, ref) {
|
|
6475
|
+
const CustomInline = styled(Inline).withConfig({
|
|
6476
|
+
displayName: "CustomInline",
|
|
6477
|
+
componentId: "sc-5cm04m-0"
|
|
6478
|
+
})`& > div{display:inline-block;vertical-align:middle;max-width:100%;box-sizing:border-box;}`, TabList = forwardRef(function(props, ref) {
|
|
6415
6479
|
const $ = c(15);
|
|
6416
6480
|
let childrenProp, restProps;
|
|
6417
6481
|
$[0] !== props ? ({
|
|
@@ -6452,9 +6516,10 @@ const TabPanel = forwardRef(function(props, ref) {
|
|
|
6452
6516
|
return $[3] !== flex || $[4] !== props.children || $[5] !== ref || $[6] !== restProps || $[7] !== t0 ? (t1 = /* @__PURE__ */ 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;
|
|
6453
6517
|
});
|
|
6454
6518
|
TabPanel.displayName = "ForwardRef(TabPanel)";
|
|
6455
|
-
const TextBox = styled(Flex)
|
|
6456
|
-
|
|
6457
|
-
|
|
6519
|
+
const TextBox = styled(Flex).withConfig({
|
|
6520
|
+
displayName: "TextBox",
|
|
6521
|
+
componentId: "sc-1rr7rxo-0"
|
|
6522
|
+
})`overflow-x:auto;`, loadingAnimation = keyframes`
|
|
6458
6523
|
0% {
|
|
6459
6524
|
width: 0;
|
|
6460
6525
|
}
|
|
@@ -6511,7 +6576,10 @@ const STATUS_CARD_TONE = {
|
|
|
6511
6576
|
warning: "alert",
|
|
6512
6577
|
success: "alert",
|
|
6513
6578
|
info: "alert"
|
|
6514
|
-
}, Root$2 = styled(Card)(
|
|
6579
|
+
}, Root$2 = /* @__PURE__ */ styled(Card).withConfig({
|
|
6580
|
+
displayName: "Root",
|
|
6581
|
+
componentId: "sc-1icz8ea-0"
|
|
6582
|
+
})(rootStyles);
|
|
6515
6583
|
function Toast(props) {
|
|
6516
6584
|
const $ = c(30);
|
|
6517
6585
|
let closable, description, duration, onClose, restProps, status, t0, title;
|
|
@@ -6563,21 +6631,13 @@ let toastId = 0;
|
|
|
6563
6631
|
function generateToastId() {
|
|
6564
6632
|
return String(toastId++);
|
|
6565
6633
|
}
|
|
6566
|
-
const Root$1 = styled(Layer)
|
|
6567
|
-
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
`, ToastContainer = styled.div`
|
|
6574
|
-
box-sizing: border-box;
|
|
6575
|
-
position: absolute;
|
|
6576
|
-
right: 0;
|
|
6577
|
-
bottom: 0;
|
|
6578
|
-
max-width: 420px;
|
|
6579
|
-
width: 100%;
|
|
6580
|
-
`;
|
|
6634
|
+
const Root$1 = styled(Layer).withConfig({
|
|
6635
|
+
displayName: "Root",
|
|
6636
|
+
componentId: "sc-17mn6j-0"
|
|
6637
|
+
})`position:fixed;top:0;left:0;right:0;bottom:0;pointer-events:none;`, ToastContainer = styled.div.withConfig({
|
|
6638
|
+
displayName: "ToastContainer",
|
|
6639
|
+
componentId: "sc-17mn6j-1"
|
|
6640
|
+
})`box-sizing:border-box;position:absolute;right:0;bottom:0;max-width:420px;width:100%;`;
|
|
6581
6641
|
function ToastProvider(props) {
|
|
6582
6642
|
const $ = c(24), {
|
|
6583
6643
|
children,
|
|
@@ -7009,13 +7069,18 @@ const TreeGroup = memo(function(props) {
|
|
|
7009
7069
|
const expanded = t0 === void 0 ? !1 : t0, tree = useTree(), t1 = !expanded;
|
|
7010
7070
|
let t2;
|
|
7011
7071
|
return $[4] !== children || $[5] !== restProps || $[6] !== t1 || $[7] !== tree.space ? (t2 = /* @__PURE__ */ 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;
|
|
7012
|
-
}), Root = memo(styled.li
|
|
7072
|
+
}), Root = memo(styled.li.withConfig({
|
|
7073
|
+
displayName: "Root",
|
|
7074
|
+
componentId: "sc-iiskig-0"
|
|
7075
|
+
})(treeItemRootStyle, treeItemRootColorStyle)), TreeItemBox = /* @__PURE__ */ styled(Box).attrs({
|
|
7013
7076
|
forwardedAs: "a"
|
|
7014
|
-
})(
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7077
|
+
}).withConfig({
|
|
7078
|
+
displayName: "TreeItemBox",
|
|
7079
|
+
componentId: "sc-iiskig-1"
|
|
7080
|
+
})(treeItemBoxStyle), ToggleArrowText = styled(Text).withConfig({
|
|
7081
|
+
displayName: "ToggleArrowText",
|
|
7082
|
+
componentId: "sc-iiskig-2"
|
|
7083
|
+
})`& > svg{transition:transform 100ms;}`, TreeItem = memo(function(props) {
|
|
7019
7084
|
const {
|
|
7020
7085
|
children,
|
|
7021
7086
|
expanded: expandedProp = !1,
|