@sanity/ui 4.4.5 → 4.5.0-panda.1

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.
Files changed (34) hide show
  1. package/dist/{arrow-72xi7WAV.js → arrow-BVbVEhyN.js} +21 -25
  2. package/dist/arrow-BVbVEhyN.js.map +1 -0
  3. package/dist/autocomplete.js +8 -10
  4. package/dist/autocomplete.js.map +1 -1
  5. package/dist/breadcrumbs.js +5 -6
  6. package/dist/breadcrumbs.js.map +1 -1
  7. package/dist/{button-D34_7IeR.js → button-DLiQy0Qz.js} +6 -7
  8. package/dist/button-DLiQy0Qz.js.map +1 -0
  9. package/dist/{hotkeys-DInKzmc_.js → hotkeys-D-yvp5RU.js} +4 -6
  10. package/dist/{hotkeys-DInKzmc_.js.map → hotkeys-D-yvp5RU.js.map} +1 -1
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +41 -53
  13. package/dist/index.js.map +1 -1
  14. package/dist/{layer-Bg3aVJDJ.js → layer-CA793bFP.js} +2 -3
  15. package/dist/layer-CA793bFP.js.map +1 -0
  16. package/dist/menu.js +5 -7
  17. package/dist/menu.js.map +1 -1
  18. package/dist/{popover-DiKiJ-Cd.js → popover-bcCbXwoP.js} +2 -2
  19. package/dist/{popover-DiKiJ-Cd.js.map → popover-bcCbXwoP.js.map} +1 -1
  20. package/dist/popover.js +1 -1
  21. package/dist/{stack-DpKdobwf.js → stack-TOlBMvbq.js} +2 -3
  22. package/dist/stack-TOlBMvbq.js.map +1 -0
  23. package/dist/styles.css +694 -560
  24. package/dist/{textInput-BMXkOQzX.js → textInput-ByCyqiAh.js} +8 -9
  25. package/dist/{textInput-BMXkOQzX.js.map → textInput-ByCyqiAh.js.map} +1 -1
  26. package/dist/toast.js +10 -13
  27. package/dist/toast.js.map +1 -1
  28. package/dist/tooltip.js +5 -7
  29. package/dist/tooltip.js.map +1 -1
  30. package/package.json +7 -5
  31. package/dist/arrow-72xi7WAV.js.map +0 -1
  32. package/dist/button-D34_7IeR.js.map +0 -1
  33. package/dist/layer-Bg3aVJDJ.js.map +0 -1
  34. package/dist/stack-DpKdobwf.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,19 +1,19 @@
1
1
  "use client";
2
2
  import { a as _ruleSet, c as EMPTY_RECORD, i as _responsive, n as _getArrayProp, o as rem, r as _getResponsiveSpace, t as _fillCSSObject } from "./helpers-XThPpWje.js";
3
- import { _ as isFocusable, a as textInputColorStyle, c as textInputRepresentationColorStyle, d as responsiveInputPaddingStyle, f as useCustomValidity, g as focusLastDescendant, h as focusFirstDescendant, i as textInputBaseStyle, l as textInputRepresentationStyle, m as attemptFocus, n as inputRoot, o as textInputFontSizeStyle, p as _hasFocus, r as textAreaRoot, s as textInputFontStyle, t as TextInput, u as responsiveInputPaddingIconRightStyle, v as _raf, y as _raf2 } from "./textInput-BMXkOQzX.js";
3
+ import { _ as isFocusable, a as textInputColorStyle, c as textInputRepresentationColorStyle, d as responsiveInputPaddingStyle, f as useCustomValidity, g as focusLastDescendant, h as focusFirstDescendant, i as textInputBaseStyle, l as textInputRepresentationStyle, m as attemptFocus, n as inputRoot, o as textInputFontSizeStyle, p as _hasFocus, r as textAreaRoot, s as textInputFontStyle, t as TextInput, u as responsiveInputPaddingIconRightStyle, v as _raf, y as _raf2 } from "./textInput-ByCyqiAh.js";
4
4
  import { a as isHTMLElement, c as isHTMLTextAreaElement, i as isHTMLButtonElement, n as containsOrEqualsElement, o as isHTMLInputElement, r as isHTMLAnchorElement, s as isHTMLSelectElement, t as _isEnterToClickElement } from "./element-BYgCE_iK.js";
5
5
  import { t as getTheme_v2 } from "./getTheme_v2-y09KqtEb.js";
6
6
  import { _ as useTheme_v2, a as useMatchMedia, b as responsivePaddingStyle, c as ThemeColorProvider, d as createGlobalScopedContext, g as useTheme, h as _cardColorStyle, i as usePrefersReducedMotion, l as useRootTheme, m as focusRingStyle, n as LayerProvider, o as useMediaIndex, p as focusRingBorderStyle, s as Card, t as useLayer, u as ThemeProvider, v as responsiveRadiusStyle, y as Box } from "./useLayer-D_TnC6On.js";
7
7
  import { t as Flex } from "./flex-ohP2jG9d.js";
8
- import { a as fontColorStyle, i as responsiveTextAlignStyle, n as Text, r as SpanWithTextOverflow, t as Stack } from "./stack-DpKdobwf.js";
8
+ import { a as fontColorStyle, i as responsiveTextAlignStyle, n as Text, r as SpanWithTextOverflow, t as Stack } from "./stack-TOlBMvbq.js";
9
9
  import { i as responsiveFont, n as _fontWeight, r as _responsiveFontSize, t as _fontBase } from "./responsiveFont-Cyvxxz-G.js";
10
- import { n as Spinner, t as Button } from "./button-D34_7IeR.js";
10
+ import { n as Spinner, t as Button } from "./button-DLiQy0Qz.js";
11
11
  import { t as _elementSizeObserver } from "./elementSizeObserver-pevZfdGa.js";
12
- import { a as resolvePortalElement, i as PortalContext, n as Portal, o as useBoundaryElement, r as usePortal, s as BoundaryElementContext, t as Arrow } from "./arrow-72xi7WAV.js";
12
+ import { a as resolvePortalElement, i as PortalContext, n as Portal, o as useBoundaryElement, r as usePortal, s as BoundaryElementContext, t as Arrow } from "./arrow-BVbVEhyN.js";
13
13
  import { t as useClickOutsideEvent } from "./useClickOutsideEvent-CC1zgOmv.js";
14
14
  import { a as rgba$1, c as hslToRgb$1, i as multiply$1, l as rgbToHex$1, n as buildTheme, o as parseColor$1, r as screen$1, s as hexToRgb$1, t as createColorTheme$1, u as rgbToHsl$1 } from "./factory-BzXTX8_Q.js";
15
- import { i as useGlobalKeyDown, n as KBD, r as Inline, t as Hotkeys } from "./hotkeys-DInKzmc_.js";
16
- import { t as Layer } from "./layer-Bg3aVJDJ.js";
15
+ import { i as useGlobalKeyDown, n as KBD, r as Inline, t as Hotkeys } from "./hotkeys-D-yvp5RU.js";
16
+ import { t as Layer } from "./layer-CA793bFP.js";
17
17
  import { t as Grid } from "./grid-D-gOpN8z.js";
18
18
  import { c } from "react/compiler-runtime";
19
19
  import { ChevronDownIcon } from "@sanity/icons/ChevronDown";
@@ -84,7 +84,6 @@ const DialogContext = createGlobalScopedContext("@sanity/ui/context/dialog", { v
84
84
  function useDialog() {
85
85
  return useContext(DialogContext);
86
86
  }
87
- var dialogCard = "mrrgwt5", dialogContainer = "mrrgwt4", dialogContent = "mrrgwt8", dialogLayer = "mrrgwt0", dialogLayout = "mrrgwt6";
88
87
  function isTargetWithinScope(boundaryElement, portalElement, target) {
89
88
  return !boundaryElement || !portalElement || containsOrEqualsElement(boundaryElement, target) || containsOrEqualsElement(portalElement, target);
90
89
  }
@@ -124,7 +123,7 @@ function DialogCard(props) {
124
123
  $[24] === Symbol.for("react.memo_cache_sentinel") ? (t10 = () => [ref.current], $[24] = t10) : t10 = $[24], useClickOutsideEvent(t9, t10);
125
124
  let t11;
126
125
  $[25] !== header || $[26] !== labelId || $[27] !== onClose || $[28] !== showCloseButton || $[29] !== showHeader ? (t11 = showHeader && /* @__PURE__ */ jsx(Box, {
127
- className: "mrrgwt7",
126
+ className: "emPzDJ eYlglL",
128
127
  "data-ui": "DialogHeader",
129
128
  children: /* @__PURE__ */ jsxs(Flex, {
130
129
  align: "flex-start",
@@ -153,7 +152,7 @@ function DialogCard(props) {
153
152
  }), $[25] = header, $[26] = labelId, $[27] = onClose, $[28] = showCloseButton, $[29] = showHeader, $[30] = t11) : t11 = $[30];
154
153
  let t12;
155
154
  $[31] === children ? t12 = $[32] : (t12 = /* @__PURE__ */ jsx(Box, {
156
- className: dialogContent,
155
+ className: "dFXmkO gWzzAr emPzDJ dStxMA",
157
156
  "data-ui": "DialogContent",
158
157
  flex: 1,
159
158
  ref: contentRef,
@@ -162,13 +161,13 @@ function DialogCard(props) {
162
161
  }), $[31] = children, $[32] = t12);
163
162
  let t13;
164
163
  $[33] === footer ? t13 = $[34] : (t13 = footer && /* @__PURE__ */ jsx(Box, {
165
- className: "mrrgwt9",
164
+ className: "emPzDJ cYUUrS",
166
165
  "data-ui": "DialogFooter",
167
166
  children: footer
168
167
  }), $[33] = footer, $[34] = t13);
169
168
  let t14;
170
169
  $[35] !== t11 || $[36] !== t12 || $[37] !== t13 ? (t14 = /* @__PURE__ */ jsxs(Flex, {
171
- className: dialogLayout,
170
+ className: "jLKaQQ diGfnu",
172
171
  direction: "column",
173
172
  flex: 1,
174
173
  children: [
@@ -179,7 +178,7 @@ function DialogCard(props) {
179
178
  }), $[35] = t11, $[36] = t12, $[37] = t13, $[38] = t14) : t14 = $[38];
180
179
  let t15;
181
180
  $[39] !== radius || $[40] !== scheme || $[41] !== shadow || $[42] !== t14 ? (t15 = /* @__PURE__ */ jsx(Card, {
182
- className: dialogCard,
181
+ className: "ftCJS jLKaQQ fqYOpD diGfnu",
183
182
  display: "flex",
184
183
  radius,
185
184
  ref,
@@ -189,7 +188,7 @@ function DialogCard(props) {
189
188
  }), $[39] = radius, $[40] = scheme, $[41] = shadow, $[42] = t14, $[43] = t15) : t15 = $[43];
190
189
  let t16;
191
190
  return $[44] !== t15 || $[45] !== width ? (t16 = /* @__PURE__ */ jsx(Container, {
192
- className: dialogContainer,
191
+ className: "fAtomh bhTTzp ePwsZv bsGhWR diGfnu",
193
192
  "data-ui": "DialogCard",
194
193
  display: "flex",
195
194
  width,
@@ -237,8 +236,8 @@ function Dialog(props) {
237
236
  }
238
237
  }, 0);
239
238
  }, $[39] = boundaryElement, $[40] = portalElement, $[41] = t14) : t14 = $[41];
240
- let handleRootClick = t14, t15 = animate && "mrrgwt3", t16;
241
- $[42] !== className || $[43] !== t15 ? (t16 = clsx(dialogLayer, t15, className), $[42] = className, $[43] = t15, $[44] = t16) : t16 = $[44];
239
+ let handleRootClick = t14, t15 = animate && "eKvwpd foMIZB", t16;
240
+ $[42] !== className || $[43] !== t15 ? (t16 = clsx("fAtomh kyGdCf bsGhWR kiKDyH dFXmkO hWgptE qbeer djbxbl", t15, className), $[42] = className, $[43] = t15, $[44] = t16) : t16 = $[44];
242
241
  let t17;
243
242
  $[45] === Symbol.for("react.memo_cache_sentinel") ? (t17 = /* @__PURE__ */ jsx("div", {
244
243
  ref: preDivRef,
@@ -312,7 +311,6 @@ function DialogProvider(props) {
312
311
  children
313
312
  }), $[3] = children, $[4] = contextValue, $[5] = t1) : t1 = $[5], t1;
314
313
  }
315
- var skeleton = "_1pqyuub1", skeletonAnimated = "_1pqyuub4", skeletonHidden = "_1pqyuub3", skeletonStatic = "_1pqyuub5", skeletonVisible = "_1pqyuub2";
316
314
  const StyledSkeleton$1 = /* @__PURE__ */ styled(Box).withConfig({
317
315
  displayName: "StyledSkeleton",
318
316
  componentId: "sc-qq1bsx-0"
@@ -336,8 +334,8 @@ function Skeleton(props) {
336
334
  }, t2 = [delay], $[7] = delay, $[8] = t1, $[9] = t2), useEffect(t1, t2);
337
335
  let t3;
338
336
  $[10] === radius ? t3 = $[11] : (t3 = _getArrayProp(radius), $[10] = radius, $[11] = t3);
339
- let t4 = !delay || visible ? skeletonVisible : skeletonHidden, t5 = animated ? skeletonAnimated : skeletonStatic, t6;
340
- $[12] !== className || $[13] !== t4 || $[14] !== t5 ? (t6 = clsx(skeleton, t4, t5, className), $[12] = className, $[13] = t4, $[14] = t5, $[15] = t6) : t6 = $[15];
337
+ let t4 = !delay || visible ? "frJqtw" : "bgTIyZ", t5 = animated ? "bjraDg iWSyZJ dJxRDW eYpbHi krabKr TeBDG cWHiZE gPHhfd anCSM kAaLvT UPzAf kNAlYZ eBCRlA cgyejD" : "iWSyZJ", t6;
338
+ $[12] !== className || $[13] !== t4 || $[14] !== t5 ? (t6 = clsx("eyEVfe eCMeFC", t4, t5, className), $[12] = className, $[13] = t4, $[14] = t5, $[15] = t6) : t6 = $[15];
341
339
  let t7;
342
340
  return $[16] !== ref || $[17] !== restProps || $[18] !== t3 || $[19] !== t6 ? (t7 = /* @__PURE__ */ jsx(StyledSkeleton$1, {
343
341
  "data-ui": "Skeleton",
@@ -425,7 +423,6 @@ function CodeSkeleton(props) {
425
423
  $style: "code"
426
424
  }), $[5] = $size, $[6] = restProps, $[7] = t2) : t2 = $[7], t2;
427
425
  }
428
- var tab = "_1hcl71a0";
429
426
  /**
430
427
  * @public
431
428
  */
@@ -447,7 +444,7 @@ function Tab(props) {
447
444
  focused && !focusedRef.current && (ref.current && ref.current.focus(), focusedRef.current = !0);
448
445
  }, t6 = [focused], $[17] = focused, $[18] = t5, $[19] = t6), useEffect(t5, t6);
449
446
  let t7;
450
- $[20] === className ? t7 = $[21] : (t7 = clsx(tab, className), $[20] = className, $[21] = t7);
447
+ $[20] === className ? t7 = $[21] : (t7 = clsx("hPjhXT", className), $[20] = className, $[21] = t7);
451
448
  let t8 = selected ? "true" : "false", t9 = selected ? 0 : -1, t10;
452
449
  return $[22] !== fontSize || $[23] !== handleFocus || $[24] !== icon || $[25] !== id || $[26] !== label || $[27] !== onClick || $[28] !== padding || $[29] !== restProps || $[30] !== selected || $[31] !== t7 || $[32] !== t8 || $[33] !== t9 ? (t10 = /* @__PURE__ */ jsx(Button, {
453
450
  className: t7,
@@ -470,7 +467,6 @@ function Tab(props) {
470
467
  type: "button"
471
468
  }), $[22] = fontSize, $[23] = handleFocus, $[24] = icon, $[25] = id, $[26] = label, $[27] = onClick, $[28] = padding, $[29] = restProps, $[30] = selected, $[31] = t7, $[32] = t8, $[33] = t9, $[34] = t10) : t10 = $[34], t10;
472
469
  }
473
- var tabList = "_17rlsyd0";
474
470
  /**
475
471
  * @public
476
472
  */
@@ -491,7 +487,7 @@ function TabList(props) {
491
487
  event.key === "ArrowLeft" && setFocusedIndex((prevIndex) => (prevIndex + numTabs - 1) % numTabs), event.key === "ArrowRight" && setFocusedIndex((prevIndex_0) => (prevIndex_0 + 1) % numTabs);
492
488
  }, $[10] = numTabs, $[11] = t1);
493
489
  let handleKeyDown = t1, t2;
494
- $[12] === className ? t2 = $[13] : (t2 = clsx(tabList, className), $[12] = className, $[13] = t2);
490
+ $[12] === className ? t2 = $[13] : (t2 = clsx("fKaiaP eJIKXE bCEGXA hlTznM", className), $[12] = className, $[13] = t2);
495
491
  let t3;
496
492
  return $[14] !== handleKeyDown || $[15] !== ref || $[16] !== restProps || $[17] !== t2 || $[18] !== tabs ? (t3 = /* @__PURE__ */ jsx(Inline, {
497
493
  className: t2,
@@ -734,8 +730,7 @@ function TreeGroup(props) {
734
730
  children
735
731
  }), $[4] = children, $[5] = restProps, $[6] = t1, $[7] = tree.gap, $[8] = t2) : t2 = $[8], t2;
736
732
  }
737
- var treeItem = "jq4eni0";
738
- const StyledTreeItem = /* @__PURE__ */ styled.li.withConfig({
733
+ const treeItem = "ZyINL VaYZP hYXSkP kyddSM igTsvP kyTYla duclHY BXTsx ihcTNF dRJpaF oWpmy hdUmmY", StyledTreeItem = /* @__PURE__ */ styled.li.withConfig({
739
734
  displayName: "StyledTreeItem",
740
735
  componentId: "sc-mgt2q1-0"
741
736
  })(treeItemRootColorStyle), TreeItemBox = /* @__PURE__ */ styled.a.withConfig({
@@ -798,7 +793,7 @@ function TreeItem(props) {
798
793
  size: fontSize,
799
794
  weight,
800
795
  children: /* @__PURE__ */ jsx(ToggleArrowRightIcon, {
801
- className: "jq4eni1",
796
+ className: "fIJvmj",
802
797
  style: { transform: expanded ? "rotate(90deg)" : void 0 }
803
798
  })
804
799
  }), $[35] = IconComponent, $[36] = expanded, $[37] = fontSize, $[38] = muted, $[39] = weight, $[40] = t17) : t17 = $[40];
@@ -1052,8 +1047,7 @@ function responsiveAvatarSizeStyle(props) {
1052
1047
  return { "--avatar-size": rem(avatarSize.size) };
1053
1048
  });
1054
1049
  }
1055
- var avatarArrow = "_1o7kttu1", avatarCounter = "_1o7kttu7", avatarRoot = "_1o7kttu0", avatarStack = "_1o7kttu6";
1056
- const StyledAvatar = /* @__PURE__ */ styled(/* @__PURE__ */ styled.div.attrs({ className: avatarRoot }).withConfig({
1050
+ const StyledAvatar = /* @__PURE__ */ styled(/* @__PURE__ */ styled.div.attrs({ className: "jOHnOz gcUkTl fMVBjb ixvSSg kwLhwW emPzDJ eIsAcC hhRcrn iMJsxr hykRjY hdBYnA dRiciA eKhxNy igUxFW jKeppS ddjAuZ dYvYSB" }).withConfig({
1057
1051
  displayName: "AvatarBase",
1058
1052
  componentId: "sc-943qen-0"
1059
1053
  })(avatarRootStyle)).withConfig({
@@ -1077,7 +1071,7 @@ function AvatarComponent(props) {
1077
1071
  }, $[18] = onImageLoadError, $[19] = t5);
1078
1072
  let handleImageError = t5, T0 = StyledAvatar, t6 = typeof as == "string" ? as : void 0, t8;
1079
1073
  $[20] === color ? t8 = $[21] : (t8 = /* @__PURE__ */ jsx("div", {
1080
- className: avatarArrow,
1074
+ className: "kyGdCf ixvSSg kiKDyH bgTIyZ lhPceK hWgptE qbeer iFTChX dpkMvs fRJJGt fXXdBW dGSZft hCrTsA eTFVft bbpCZG entgPE eHFqYL iVKMrE fgylBq ktJvyW jAObRc fNiGDY jKggCm",
1081
1075
  children: /* @__PURE__ */ jsx("svg", {
1082
1076
  width: "11",
1083
1077
  height: "7",
@@ -1092,24 +1086,24 @@ function AvatarComponent(props) {
1092
1086
  let t9;
1093
1087
  $[22] !== __unstable_hideInnerStroke || $[23] !== avatarSize || $[24] !== handleImageError || $[25] !== imageFailed || $[26] !== src ? (t9 = !imageFailed && src && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("img", {
1094
1088
  alt: "",
1095
- className: "_1o7kttu2",
1089
+ className: "gHYZIR kwLhwW exIGLf emPzDJ hhRcrn gIVJpv",
1096
1090
  draggable: !1,
1097
1091
  height: avatarSize.size,
1098
1092
  onError: handleImageError,
1099
1093
  src,
1100
1094
  width: avatarSize.size
1101
1095
  }), /* @__PURE__ */ jsxs("svg", {
1102
- className: "_1o7kttu3",
1096
+ className: "gHYZIR kwLhwW kiKDyH cERSkX lhPceK qbeer hhRcrn",
1103
1097
  viewBox: "0 0 2 2",
1104
1098
  fill: "none",
1105
1099
  children: [!__unstable_hideInnerStroke && /* @__PURE__ */ jsx("circle", {
1106
- className: "_1o7kttu4",
1100
+ className: "iMJkVA ysDJT",
1107
1101
  cx: "1",
1108
1102
  cy: "1",
1109
1103
  r: "1",
1110
1104
  vectorEffect: "non-scaling-stroke"
1111
1105
  }), /* @__PURE__ */ jsx("circle", {
1112
- className: "_1o7kttu5",
1106
+ className: "ggmhkl ksRPkh hxmycU fgUwLY",
1113
1107
  cx: "1",
1114
1108
  cy: "1",
1115
1109
  r: "1",
@@ -1117,7 +1111,7 @@ function AvatarComponent(props) {
1117
1111
  })]
1118
1112
  })] }), $[22] = __unstable_hideInnerStroke, $[23] = avatarSize, $[24] = handleImageError, $[25] = imageFailed, $[26] = src, $[27] = t9) : t9 = $[27];
1119
1113
  let t10 = (imageFailed || !src) && initials && /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx("div", {
1120
- className: "_1o7kttu8",
1114
+ className: "fAtomh gHYZIR fuocjA ePwsZv bsGhWR dBwzdG cPyXJe diGfnu djbxbl",
1121
1115
  children: /* @__PURE__ */ jsx(Label, {
1122
1116
  as: "span",
1123
1117
  size: size.map(_temp$2),
@@ -1168,7 +1162,7 @@ function _avatarCounterPaddingStyle(props) {
1168
1162
  let { space } = getTheme_v2(props.theme);
1169
1163
  return css`padding:0 ${rem(space[2])};`;
1170
1164
  }
1171
- const StyledAvatarCounter = /* @__PURE__ */ styled.div.attrs({ className: avatarCounter }).withConfig({
1165
+ const StyledAvatarCounter = /* @__PURE__ */ styled.div.attrs({ className: "fAtomh dNSLRW dupTko ixvSSg fIoZKR bsGhWR eIsAcC djbxbl" }).withConfig({
1172
1166
  displayName: "StyledAvatarCounter",
1173
1167
  componentId: "sc-nxxvbb-0"
1174
1168
  })(_responsiveAvatarCounterSizeStyle, _avatarCounterPaddingStyle);
@@ -1221,7 +1215,7 @@ function AvatarStack(props) {
1221
1215
  let children = Children.toArray(childrenProp).filter(isValidElement), maxLength = Math.max(maxLengthProp, 0), t10;
1222
1216
  $[22] === sizeProp ? t10 = $[23] : (t10 = _getArrayProp(sizeProp), $[22] = sizeProp, $[23] = t10);
1223
1217
  let size = t10, len = children.length, extraCount = len - (maxLength - 1), visibleChildren = extraCount > 1 ? children.slice(extraCount, len) : children;
1224
- T0 = StyledAvatarStack, $[24] === className ? t2 = $[25] : (t2 = clsx(avatarStack, className), $[24] = className, $[25] = t2), t3 = "AvatarStack", t4 = restProps, t5 = ref, t6 = size, $[26] !== len || $[27] !== size ? (t7 = len === 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AvatarCounter, {
1218
+ T0 = StyledAvatarStack, $[24] === className ? t2 = $[25] : (t2 = clsx("cbkwRf isxeDy cnjfpu", className), $[24] = className, $[25] = t2), t3 = "AvatarStack", t4 = restProps, t5 = ref, t6 = size, $[26] !== len || $[27] !== size ? (t7 = len === 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AvatarCounter, {
1225
1219
  count: len,
1226
1220
  size
1227
1221
  }) }), $[26] = len, $[27] = size, $[28] = t7) : t7 = $[28], $[29] !== extraCount || $[30] !== len || $[31] !== size ? (t8 = len !== 0 && extraCount > 1 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AvatarCounter, {
@@ -1317,7 +1311,6 @@ function inputElementColorStyles(props) {
1317
1311
  color: color.input.default.readOnly.border
1318
1312
  })};color:${color.input.default.readOnly.fg};}&[data-read-only]&:checked + span{background-color:${color.input.default.readOnly.muted.bg};}`;
1319
1313
  }
1320
- var checkbox = "_3ec2r70";
1321
1314
  const Input$3 = /* @__PURE__ */ styled(/* @__PURE__ */ styled.input.withConfig({
1322
1315
  displayName: "InputBase",
1323
1316
  componentId: "sc-13r9vw-0"
@@ -1340,7 +1333,7 @@ function Checkbox(props) {
1340
1333
  ref.current && (ref.current.indeterminate = indeterminate || !1);
1341
1334
  }, t2 = [indeterminate], $[11] = indeterminate, $[12] = t1, $[13] = t2), useEffect(t1, t2), useCustomValidity(ref, customValidity);
1342
1335
  let t3;
1343
- $[14] === className ? t3 = $[15] : (t3 = clsx(checkbox, className), $[14] = className, $[15] = t3);
1336
+ $[14] === className ? t3 = $[15] : (t3 = clsx("gSxJLz emPzDJ", className), $[14] = className, $[15] = t3);
1344
1337
  let t4 = !disabled && readOnly ? "" : void 0, t5 = customValidity ? "" : void 0, t6 = disabled || readOnly, t7;
1345
1338
  $[16] !== checked || $[17] !== readOnly || $[18] !== restProps || $[19] !== t4 || $[20] !== t5 || $[21] !== t6 ? (t7 = /* @__PURE__ */ jsx(Input$3, {
1346
1339
  "data-read-only": t4,
@@ -1429,7 +1422,6 @@ function inputElementStyle(props) {
1429
1422
  color: color.input.invalid.enabled.muted.bg
1430
1423
  })};&::after{background:${color.input.invalid.enabled.muted.bg};}}&[data-read-only] + span{box-shadow:0 0 0 1px ${color.input.default.readOnly.border};background:${color.input.default.readOnly.bg};&::after{background:${color.input.default.readOnly.border};}}&:not([data-read-only]):disabled + span{box-shadow:0 0 0 1px ${color.input.default.disabled.border};background:${color.input.default.disabled.bg};&::after{background:${color.input.default.disabled.border};}}`;
1431
1424
  }
1432
- var radio = "_1ncptbw0";
1433
1425
  const Input$2 = /* @__PURE__ */ styled.input.withConfig({
1434
1426
  displayName: "Input",
1435
1427
  componentId: "sc-z843so-0"
@@ -1445,7 +1437,7 @@ function Radio(props) {
1445
1437
  let ref = useRef(null), t0;
1446
1438
  $[8] === Symbol.for("react.memo_cache_sentinel") ? (t0 = () => ref.current, $[8] = t0) : t0 = $[8], useImperativeHandle(forwardedRef, t0), useCustomValidity(ref, customValidity);
1447
1439
  let t1;
1448
- $[9] === className ? t1 = $[10] : (t1 = clsx(radio, className), $[9] = className, $[10] = t1);
1440
+ $[9] === className ? t1 = $[10] : (t1 = clsx("emPzDJ cXmUGv", className), $[9] = className, $[10] = t1);
1449
1441
  let t2 = !disabled && readOnly ? "" : void 0, t3 = customValidity ? "" : void 0, t4 = disabled || readOnly, t5;
1450
1442
  $[11] !== readOnly || $[12] !== restProps || $[13] !== t2 || $[14] !== t3 || $[15] !== t4 ? (t5 = /* @__PURE__ */ jsx(Input$2, {
1451
1443
  "data-read-only": t2,
@@ -1513,9 +1505,7 @@ const selectStyle = {
1513
1505
  inputColor: inputColorStyle,
1514
1506
  input: inputStyle,
1515
1507
  iconBox: iconBoxStyle
1516
- };
1517
- var select = "i0dus80";
1518
- const InputBase$1 = styled.select.withConfig({
1508
+ }, InputBase$1 = styled.select.withConfig({
1519
1509
  displayName: "InputBase",
1520
1510
  componentId: "sc-0h3t7m-0"
1521
1511
  })`${selectStyle.inputBase}`, InputColor = /* @__PURE__ */ styled(InputBase$1).withConfig({
@@ -1573,7 +1563,7 @@ function Select(props) {
1573
1563
  }), $[32] = padding, $[33] = t13, $[34] = t14) : t14 = $[34];
1574
1564
  let t15;
1575
1565
  return $[35] !== t11 || $[36] !== t14 ? (t15 = /* @__PURE__ */ jsxs("div", {
1576
- className: select,
1566
+ className: "emPzDJ iQYtgN cXmUGv",
1577
1567
  "data-ui": "Select",
1578
1568
  children: [t11, t14]
1579
1569
  }), $[35] = t11, $[36] = t14, $[37] = t15) : t15 = $[37], t15;
@@ -1590,14 +1580,13 @@ function switchThumbStyles(props) {
1590
1580
  let { $indeterminate } = props, { input } = getTheme_v2(props.theme), trackWidth = input.switch.width, trackHeight = input.switch.height, trackPadding = input.switch.padding, size = trackHeight - input.switch.padding * 2, checkedOffset = trackWidth - trackPadding * 2 - size, indeterminateOffset = trackWidth / 2 - size / 2 - trackPadding, checked = $indeterminate !== !0 && props.$checked === !0;
1591
1581
  return css`left:${rem(trackPadding)};top:${rem(trackPadding)};height:${rem(size)};width:${rem(size)};border-radius:${rem(size / 2)};transition-duration:${input.switch.transitionDurationMs}ms;transition-timing-function:${input.switch.transitionTimingFunction};transform:translate3d(0,0,0);${checked && css`transform:translate3d(${checkedOffset}px,0,0);`} ${$indeterminate && css`transform:translate3d(${indeterminateOffset}px,0,0);`}`;
1592
1582
  }
1593
- var switchInput = "_1kqqib91", switchRepresentation = "_1kqqib92", switchRoot = "_1kqqib90", switchThumb = "_1kqqib94", switchTrack = "_1kqqib93";
1594
- const Representation = /* @__PURE__ */ styled.span.attrs({ className: switchRepresentation }).withConfig({
1583
+ const Representation = /* @__PURE__ */ styled.span.attrs({ className: "dJgWtv cERSkX emPzDJ kmCWMa bpuMrN dbSCHR dMOWAL dRmRBl lhNBpt iqwUak eKJNom dCrjkN yDftq gIVJpv" }).withConfig({
1595
1584
  displayName: "Representation",
1596
1585
  componentId: "sc-fbcjg3-0"
1597
- })(switchRepresentationStyles), Track = /* @__PURE__ */ styled.span.attrs({ className: switchTrack }).withConfig({
1586
+ })(switchRepresentationStyles), Track = /* @__PURE__ */ styled.span.attrs({ className: "indMik kiKDyH lhPceK qbeer gIVJpv" }).withConfig({
1598
1587
  displayName: "Track",
1599
1588
  componentId: "sc-fbcjg3-1"
1600
- })(switchTrackStyles), Thumb = /* @__PURE__ */ styled.span.attrs({ className: switchThumb }).withConfig({
1589
+ })(switchTrackStyles), Thumb = /* @__PURE__ */ styled.span.attrs({ className: "eHHXIg kecFSQ lhPceK bNSskR gIVJpv" }).withConfig({
1601
1590
  displayName: "Thumb",
1602
1591
  componentId: "sc-fbcjg3-2"
1603
1592
  })(switchThumbStyles);
@@ -1618,10 +1607,10 @@ function Switch(props) {
1618
1607
  ref.current && (ref.current.indeterminate = indeterminate || !1);
1619
1608
  }, t2 = [indeterminate], $[10] = indeterminate, $[11] = t1, $[12] = t2), useEffect(t1, t2);
1620
1609
  let t3;
1621
- $[13] === className ? t3 = $[14] : (t3 = clsx(switchRoot, className), $[13] = className, $[14] = t3);
1610
+ $[13] === className ? t3 = $[14] : (t3 = clsx("emPzDJ cXmUGv", className), $[13] = className, $[14] = t3);
1622
1611
  let t4 = !disabled && readOnly ? "" : void 0, t5 = indeterminate !== !0 && checked, t6 = disabled || readOnly, t7;
1623
1612
  $[15] !== restProps || $[16] !== t4 || $[17] !== t5 || $[18] !== t6 ? (t7 = /* @__PURE__ */ jsx("input", {
1624
- className: switchInput,
1613
+ className: "kyGdCf ePwsZv kiKDyH jZsjHW bgTIyZ dFXmkO bnBrYd lhPceK hWgptE qbeer diGfnu dStxMA",
1625
1614
  "data-read-only": t4,
1626
1615
  ...restProps,
1627
1616
  checked: t5,
@@ -1869,7 +1858,6 @@ function _temp() {
1869
1858
  return document.body;
1870
1859
  }
1871
1860
  const emptySubscribe = () => () => {};
1872
- var srOnly = "_11g9yuw0";
1873
1861
  /**
1874
1862
  * @public
1875
1863
  */
@@ -1877,13 +1865,13 @@ function SrOnly(props) {
1877
1865
  let $ = c(4), { as: t0, children, ref } = props, Component = t0 === void 0 ? "div" : t0, t1;
1878
1866
  return $[0] !== Component || $[1] !== children || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(Component, {
1879
1867
  "aria-hidden": !0,
1880
- className: srOnly,
1868
+ className: "krAvjf bLvdID fqYOpD lhPceK hRLrZa",
1881
1869
  "data-ui": "SrOnly",
1882
1870
  ref,
1883
1871
  children
1884
1872
  }), $[0] = Component, $[1] = children, $[2] = ref, $[3] = t1) : t1 = $[3], t1;
1885
1873
  }
1886
- var virtualList = "_1poism10", virtualListItem = "_1poism11";
1874
+ const virtualListItem = "kiKDyH lhPceK hWgptE";
1887
1875
  /**
1888
1876
  * @beta
1889
1877
  */
@@ -1960,7 +1948,7 @@ function VirtualList(props) {
1960
1948
  renderItem
1961
1949
  }, $[28] = fromIndex, $[29] = gap, $[30] = getItemKey, $[31] = itemHeight, $[32] = items, $[33] = renderItem, $[34] = space, $[35] = toIndex, $[36] = t11) : t11 = $[36];
1962
1950
  let children = useChildren(t11), Component = as, t12;
1963
- $[37] === className ? t12 = $[38] : (t12 = clsx(virtualList, className), $[37] = className, $[38] = t12);
1951
+ $[37] === className ? t12 = $[38] : (t12 = clsx("emPzDJ", className), $[37] = className, $[38] = t12);
1964
1952
  let t13;
1965
1953
  $[39] === height ? t13 = $[40] : (t13 = { height }, $[39] = height, $[40] = t13);
1966
1954
  let t14;