@sanity/ui 3.3.5 → 3.4.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/core/primitives/checkbox/checkbox.tsx","../src/core/utils/boundaryElement/boundaryElementProvider.tsx","../src/core/utils/boundaryElement/types.ts","../src/core/utils/boundaryElement/useBoundaryElement.ts","../src/core/utils/conditionalWrapper/conditionalWrapper.tsx","../src/core/utils/elementQuery/elementQuery.tsx","../src/core/utils/layer/types.ts","../src/core/utils/layer/useLayer.ts","../src/core/utils/portal/types.ts","../src/core/utils/portal/usePortal.ts","../src/core/utils/srOnly/srOnly.tsx","../src/core/primitives/radio/radio.tsx","../src/core/primitives/switch/switch.tsx","../src/core/components/autocomplete/types.ts","../src/core/components/autocomplete/autocomplete.tsx","../src/core/components/breadcrumbs/breadcrumbs.tsx","../src/core/components/dialog/dialog.tsx","../src/core/components/dialog/dialogContext.ts","../src/core/components/dialog/dialogProvider.tsx","../src/core/components/dialog/useDialog.ts","../src/core/components/menu/menuButton.tsx","../src/core/components/skeleton/skeleton.tsx","../src/core/components/skeleton/textSkeleton.tsx","../src/core/components/tab/tabPanel.tsx","../src/core/components/toast/toast.tsx","../src/core/components/toast/toastLayer.tsx","../src/core/components/toast/toastProvider.tsx","../src/core/components/toast/types.ts","../src/core/components/toast/useToast.ts","../src/core/components/tree/tree.tsx","../src/core/components/tree/treeItem.tsx","../src/core/components/tree/types.ts","../src/core/components/tree/useTree.ts","../src/core/helpers/animation.ts","../src/core/helpers/focus.ts","../src/core/helpers/scroll.ts","../src/core/hooks/useArrayProp.ts","../src/core/hooks/useClickOutside.ts","../src/core/hooks/useClickOutsideEvent.ts","../src/core/hooks/useCustomValidity.ts","../src/core/hooks/useElementRect/useElementRect.ts","../src/core/observers/elementSizeObserver.ts","../src/core/hooks/useElementSize.ts","../src/core/hooks/useForwardedRef.ts","../src/core/hooks/useGlobalKeyDown.ts","../src/core/hooks/useMatchMedia.ts","../src/core/hooks/useMediaIndex/useMediaIndex.ts","../src/core/hooks/usePrefersReducedMotion.ts","../src/core/observers/resizeObserver.ts","../src/core/styles/helpers.ts","../src/core/styles/types.ts","../src/core/styles/font/types.ts","../src/core/styles/font/codeFontStyle.ts","../src/core/styles/font/headingFontStyle.ts","../src/core/styles/font/labelFontStyle.ts","../src/core/styles/font/textAlignStyle.ts","../src/core/styles/font/textFontStyle.ts","../src/core/theme/themeColorProvider.tsx","../src/core/theme/types.ts","../src/core/theme/useRootTheme.ts"],"mappings":";;;;;;UAUiB,aAAA;EACf,aAAA;EACA,cAAc;AAAA;;AAAA;AAWhB;;;cAAa,QAAA,kBAAQ,yBAAA,CAAA,IAAA,CAAA,IAAA,iBAAA,SAAA,CAAA,gBAAA,oBAAA,aAAA,2BAAA,aAAA,CAAA,gBAAA;;;;UCfJ,4BAAA;EACf,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,OAAA,EAAS,WAAW;AAAA;;ADEN;AAWhB;iBCPgB,uBAAA,CAAwB,KAAA,EAAO,4BAAA,GAA+B,KAAA,CAAM,GAAA,CAAI,OAAO;AAAA,kBAA/E,uBAAA;EAAA,IAAuB,WAAA;AAAA;;;;UCbtB,2BAAA;EACf,OAAA;EACA,OAAA,EAAS,WAAW;AAAA;;;;iBCSN,kBAAA,IAAsB,2BAA2B;;;;;iBCVjD,kBAAA;EACd,QAAA;EACA,SAAA;EACA;AAAA;EAEA,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,SAAA;EACA,OAAA,GAAU,QAAA,EAAU,KAAA,CAAM,SAAA,KAAc,KAAA,CAAM,SAAA;AAAA,IAC5C,KAAA,CAAM,SAAA;AAAA,kBARM,kBAAA;EAAA,IAAkB,WAAA;AAAA;;;;;UCMjB,eAAA;EACf,EAAA,GAAK,KAAA,CAAM,WAAA,SAAoB,KAAA,CAAM,GAAA,CAAI,iBAAiB;EAC1D,KAAA;AAAA;ALAc;A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,IAAA,GAAO,qBAAA;AAAA;AzDYT;;;AAAA,iByDNgB,kBAAA,CAAmB,KAAA,EAAO,uBAAA,GAA0B,KAAA,CAAM,GAAA,CAAI,OAAO;AAAA,kBAArE,kBAAA;EAAA,IAAkB,WAAA;AAAA;;;;UCZjB,iBAAA;E1DKa;E0DH5B,OAAA;EACA,MAAA,EAAQ,qBAAA;EACR,KAAA,EAAO,WAAA;EACP,IAAA,EAAM,qBAAA;AAAA;;;;iBCFQ,YAAA,IAAgB,iBAAiB"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/core/types/dialog.ts","../src/core/primitives/checkbox/checkbox.tsx","../src/core/primitives/container/types.ts","../src/core/utils/boundaryElement/boundaryElementProvider.tsx","../src/core/utils/boundaryElement/types.ts","../src/core/utils/boundaryElement/useBoundaryElement.ts","../src/core/utils/conditionalWrapper/conditionalWrapper.tsx","../src/core/utils/elementQuery/elementQuery.tsx","../src/core/utils/layer/types.ts","../src/core/utils/layer/useLayer.ts","../src/core/utils/portal/types.ts","../src/core/utils/portal/usePortal.ts","../src/core/utils/srOnly/srOnly.tsx","../src/core/primitives/radio/radio.tsx","../src/core/primitives/switch/switch.tsx","../src/core/primitives/tooltip/tooltipDelayGroup/types.ts","../src/core/primitives/tooltip/tooltipDelayGroup/tooltipDelayGroupContext.tsx","../src/core/primitives/tooltip/tooltipDelayGroup/useTooltipDelayGroup.ts","../src/core/components/autocomplete/types.ts","../src/core/components/autocomplete/autocomplete.tsx","../src/core/components/breadcrumbs/breadcrumbs.tsx","../src/core/components/dialog/dialog.tsx","../src/core/components/dialog/dialogContext.ts","../src/core/components/dialog/dialogProvider.tsx","../src/core/components/dialog/useDialog.ts","../src/core/components/menu/menuButton.tsx","../src/core/components/skeleton/skeleton.tsx","../src/core/components/skeleton/textSkeleton.tsx","../src/core/components/tab/tabPanel.tsx","../src/core/components/toast/toast.tsx","../src/core/components/toast/toastLayer.tsx","../src/core/components/toast/toastProvider.tsx","../src/core/components/toast/types.ts","../src/core/components/toast/useToast.ts","../src/core/components/tree/tree.tsx","../src/core/components/tree/treeItem.tsx","../src/core/components/tree/types.ts","../src/core/components/tree/useTree.ts","../src/core/helpers/animation.ts","../src/core/helpers/focus.ts","../src/core/helpers/scroll.ts","../src/core/hooks/useArrayProp.ts","../src/core/hooks/useClickOutside.ts","../src/core/hooks/useClickOutsideEvent.ts","../src/core/hooks/useCustomValidity.ts","../src/core/hooks/useElementRect/useElementRect.ts","../src/core/observers/elementSizeObserver.ts","../src/core/hooks/useElementSize.ts","../src/core/hooks/useForwardedRef.ts","../src/core/hooks/useGlobalKeyDown.ts","../src/core/hooks/useMatchMedia.ts","../src/core/hooks/useMediaIndex/useMediaIndex.ts","../src/core/hooks/usePrefersReducedMotion.ts","../src/core/observers/resizeObserver.ts","../src/core/styles/helpers.ts","../src/core/styles/types.ts","../src/core/styles/font/types.ts","../src/core/styles/font/codeFontStyle.ts","../src/core/styles/font/headingFontStyle.ts","../src/core/styles/font/labelFontStyle.ts","../src/core/styles/font/textAlignStyle.ts","../src/core/styles/font/textFontStyle.ts","../src/core/theme/themeColorProvider.tsx","../src/core/theme/types.ts","../src/core/theme/useRootTheme.ts"],"mappings":";;;;;;KAGY;;;;UCQK;EACf;EACA;;;;;;;cAWW,0BAAQ,0BAAA,KAAA,qBAAA,UAAA,oCAAA,wCAAA,cAAA;;;;UCrBJ;EACf;;;;;UCIe;EACf,UAAU,MAAM;EAChB,SAAS;;;;;iBAMK,wBAAwB,OAAO,+BAA+B,MAAM,IAAI;kBAAxE;MAAA;;;;;UCbC;EACf;EACA,SAAS;;;;;iBCSK,sBAAsB;;;;;iBCVtB,qBACd,UACA,WACA;EAEA,UAAU,MAAM;EAChB;EACA,UAAU,UAAU,MAAM,cAAc,MAAM;IAC5C,MAAM;kBARM;MAAA;;;;;;UCMC;EACf,KAAK,MAAM,oBAAoB,MAAM,IAAI;EACzC;;;;;;cAOW,8BAAY,0BAAA,KAAA,kBAAA,qBAAA,UAAA,2DAAA,c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1B,iBACA,QAAQ,KACR,WAAW,OAAO,GAAG,eAAe,OAAO,QAAQ,YAClD;;;;iBAaa,cAAc,YAAY,KAAK,IAAI,iBAAiB,aAAa,MAAM;;;;iBASvE,oBACd,OAAO,SACP,iBACA,0BACC;;;;UCpDc;EACf,OAAO;;;;;UCCQ;EACf;;;;;UAMe;EACf,UAAU;;;;;UAMK;EACf,QAAQ;;;;;UAMO,iCACP,sBAAsB,8BAA8B;EAC5D;EACA;;;;;;iBCrBc,wBACd,OAAO,uBAAuB,+BAA+B,aAC5D;;;;;iBCFa,sBAAsB,OAAO,2BAA2B,aAAa;;;;;iBCArE,oBAAoB,OAAO,2BAA2B,aAAa;;;;;iBCAnE,yBACd,OAAO,gCAAgC,aACtC;;;;;iBCFa,mBAAmB,OAAO,2BAA2B,aAAa;;;;UCFjE;EACf,WAAW,MAAM;EACjB,SAAS;EACT,OAAO;;;;;iBAMO,mBAAmB,OAAO,0BAA0B,MAAM,IAAI;kBAA9D;MAAA;;;;;UCZC;;EAEf;EACA,QAAQ;EACR,OAAO;EACP,MAAM;;;;;iBCFQ,gBAAgB"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,10 @@
1
1
  import { $t as ThemeColorGenericState, At as ThemeColorScheme, Bt as ThemeColorMutedTone, Et as Theme$1, Ft as ThemeColorSolidTone, Gt as ThemeColorCardState, Hn as ThemeColorSchemeKey$1, Ht as ThemeColorInputState, It as ThemeColorSelectable, Jt as ThemeColorButtonStates, Kt as ThemeColorButton, Lt as ThemeColorSelectableState, Mt as ThemeColorSpot, Nt as ThemeColorSpotKey, Ot as ThemeInput, Pt as ThemeColorSolid, Qt as ThemeColorToneKey, Rt as ThemeColorSelectableStates, Ut as ThemeColorInputStates, Vt as ThemeColorInput, Wt as ThemeColorCard, Xt as ThemeColorBase, Yt as ThemeColorButtonTones, Zt as ThemeColorName, bt as PartialThemeColorBuilderOpts, en as ThemeAvatar, fn as CSSObject, jt as ThemeColorSchemes, kt as ThemeColor, qt as ThemeColorButtonState, un as ThemeFontWeightKey$1, wt as RootTheme$1, xt as ThemeColorBuilderOpts, zn as ThemeColorCardToneKey, zt as ThemeColorMuted } from "./_chunks/theme.js";
2
- import { $ as VirtualListProps, $n as ButtonWidth, $t as AvatarStackProps, A as TooltipProps, An as GridItemColumnStart, Ar as multiply, At as ResponsiveWidthStyleProps, B as Stack, Bn as FlexValue, Bt as CardProps, C as MenuGroupProps, Cn as TextAlign, Cr as ThemeFontWeightKey, Ct as HeadingProps, D as TooltipDelayGroupContext, Dn as Placement, Dr as createColorTheme, Dt as Flex, E as TooltipDelayGroupProviderProps, En as PopoverMargins, Er as ThemeShadow, Et as GridProps, F as TextArea, Fn as GridAutoFlow, Fr as screen, Ft as CodeOwnProps, G as Select, Gn as ElementType, Gt as BadgeOwnProps, H as StackProps, Hn as DialogPosition, Ht as ButtonOwnProps, I as TextAreaProps, In as GridAutoRows, Ir as studioTheme, It as CodeProps, J as PopoverProps, Jn as TagType, Jt as BoxOwnProps, K as SelectProps, Kn as EmptyProps, Kt as BadgeProps, L as Text, Ln as FlexAlign, Lt as CardStyleProps, M as TextInputClearButtonProps, Mn as GridItemRowEnd, Mr as rgbToHex, Mt as ContainerOwnProps, N as TextInputProps, Nn as GridItemRowStart, Nr as rgbToHsl, Nt as ContainerProps, O as TooltipDelayGroupContextValue, On as GridItemColumn, Or as hexToRgb, Ot as FlexOwnProps, P as TextInputType, Pn as GridAutoCols, Pr as rgba, Pt as Code, Q as VirtualListChangeOpts, Qn as ButtonTone, Qt as AvatarStack, R as TextOwnProps, Rn as FlexDirection, Rt as Card, S as MenuGroupOwnProps, Sn as HotkeysProps, Sr as ThemeFontWeight, St as HeadingOwnProps, T as TooltipDelayGroupProvider, Tn as Radius, Tr as ThemeLayer, Tt as GridOwnProps, U as Spinner, Un as Assign, Ut as ButtonProps, V as StackOwnProps, Vn as FlexWrap, Vt as Button, W as SpinnerProps, Wn as ComponentType, Wt as Badge, X as PopoverWidth, Xn as ButtonMode, Xt as AvatarRootStyleProps, Y as PopoverUpdateCallback, Yn as CardTone, Yt as BoxProps, Z as VirtualList, Zn as ButtonTextAlign, Zt as ResponsiveAvatarSizeStyleProps, _ as TabProps, _n as ResponsivePaddingProps, _r as ThemeColorSchemeKey, _t as KBDProps, a as usePrefersDark, an as MenuDivider, ar as BadgeTone, at as LayerProviderProps, b as MenuItemProps, bn as ResponsiveWidthProps, br as ThemeFontKey, bt as InlineProps, c as isHTMLAnchorElement, cn as MenuProps, cr as AvatarStatus, ct as ErrorBoundary, d as isHTMLInputElement, dn as ResponsiveBoxProps, dr as HSL, dt as Arrow, en as AvatarCounter, er as BoxDisplay, et as PortalProvider, f as isHTMLSelectElement, fn as ResponsiveFlexItemProps, fr as RGB, ft as Label, g as Tab, gn as ResponsiveMarginProps, gr as ThemeColorButtonModeKey, gt as KBDOwnProps, h as TabListProps, hn as ResponsiveGridProps, hr as Theme, ht as KBD, i as ThemeProviderProps, in as AvatarProps, ir as BadgeMode, it as LayerProvider, j as TextInput, jn as GridItemRow, jr as parseColor, jt as Container, k as Tooltip, kn as GridItemColumnEnd, kr as hslToRgb, kt as FlexProps, l as isHTMLButtonElement, ln as Delay, lr as BaseTheme, lt as ErrorBoundaryProps, m as TabList, mn as ResponsiveGridItemProps, mr as Styles, mt as LabelProps, n as useTheme_v2, nn as Avatar, nr as BoxOverflow, nt as Portal, o as _isEnterToClickElement, on as MenuDividerProps, or as AvatarPosition, ot as Layer, p as isHTMLTextAreaElement, pn as ResponsiveFlexProps, pr as RootTheme, pt as LabelOwnProps, q as Popover, qn as Props, qt as Box, r as ThemeProvider, rn as AvatarOwnProps, rr as BoxSizing, rt as PortalProps, s as containsOrEqualsElement, sn as Menu, sr as AvatarSize, st as LayerProps, t as useTheme, tn as AvatarCounterProps, tr as BoxHeight, tt as PortalProviderProps, u as isHTMLElement, un as ResponsiveBorderProps, ur as BoxShadow, ut as ErrorBoundaryState, v as MenuItem, vn as ResponsiveRadiusProps, vr as ThemeColorSyntax, vt as Inline, w as useTooltipDelayGroup, wn as SelectableTone, wr as ThemeFonts, wt as Grid, x as MenuGroup, xn as Hotkeys, xr as ThemeFontSize, xt as Heading, y as MenuItemOwnProps, yn as ResponsiveShadowProps, yr as ThemeFont, yt as InlineOwnProps, z as TextProps, zn as FlexJustify, zt as CardOwnProps } from "./_chunks/useTheme.js";
2
+ import { $ as Portal, $n as BadgeMode, $t as AvatarOwnProps, A as TextInputProps, An as GridAutoCols, Ar as screen, At as Code, B as Spinner, Bn as ElementType, Bt as Badge, C as MenuGroupProps, Cn as Placement, Cr as hexToRgb, Ct as GridProps, D as TooltipProps, Dn as GridItemRow, Dr as rgbToHex, Dt as Container, E as Tooltip, En as GridItemColumnStart, Er as parseColor, Et as FlexProps, F as TextOwnProps, Fn as FlexJustify, Ft as CardOwnProps, G as PopoverProps, Gn as ButtonMode, Gt as BoxProps, H as Select, Hn as Props, Ht as BadgeProps, I as TextProps, In as FlexValue, It as CardProps, J as VirtualList, Jn as ButtonWidth, Jt as AvatarStack, K as PopoverUpdateCallback, Kn as ButtonTextAlign, Kt as AvatarRootStyleProps, L as Stack, Ln as FlexWrap, Lt as Button, M as TextArea, Mn as GridAutoRows, Mt as CodeProps, N as TextAreaProps, Nn as FlexAlign, Nt as CardStyleProps, O as TextInput, On as GridItemRowEnd, Or as rgbToHsl, Ot as ContainerOwnProps, P as Text, Pn as FlexDirection, Pt as Card, Q as PortalProviderProps, Qn as BoxSizing, Qt as Avatar, R as StackOwnProps, Rn as Assign, Rt as ButtonOwnProps, S as MenuGroupOwnProps, Sn as PopoverMargins, Sr as createColorTheme, St as GridOwnProps, T as TooltipDelayGroupProviderProps, Tn as GridItemColumnEnd, Tr as multiply, Tt as FlexOwnProps, U as SelectProps, Un as TagType, Ut as Box, V as SpinnerProps, Vn as EmptyProps, Vt as BadgeOwnProps, W as Popover, Wn as CardTone, Wt as BoxOwnProps, X as VirtualListProps, Xn as BoxHeight, Xt as AvatarCounter, Y as VirtualListChangeOpts, Yn as BoxDisplay, Yt as AvatarStackProps, Z as PortalProvider, Zn as BoxOverflow, Zt as AvatarCounterProps, _ as TabProps, _n as Hotkeys, _r as ThemeFontWeight, _t as InlineProps, a as usePrefersDark, an as Delay, ar as BoxShadow, at as ErrorBoundary, b as MenuItemProps, bn as SelectableTone, br as ThemeLayer, bt as HeadingProps, c as isHTMLAnchorElement, cn as ResponsiveFlexItemProps, cr as RootTheme, ct as Arrow, d as isHTMLInputElement, dn as ResponsiveGridProps, dr as ThemeColorButtonModeKey, dt as LabelProps, en as AvatarProps, er as BadgeTone, et as PortalProps, f as isHTMLSelectElement, fn as ResponsiveMarginProps, fr as ThemeColorSchemeKey, ft as KBD, g as Tab, gn as ResponsiveWidthProps, gr as ThemeFontSize, gt as InlineOwnProps, h as TabListProps, hn as ResponsiveShadowProps, hr as ThemeFontKey, ht as Inline, i as ThemeProviderProps, in as MenuProps, ir as BaseTheme, it as LayerProps, j as TextInputType, jn as GridAutoFlow, jr as studioTheme, jt as CodeOwnProps, k as TextInputClearButtonProps, kn as GridItemRowStart, kr as rgba, kt as ContainerProps, l as isHTMLButtonElement, ln as ResponsiveFlexProps, lr as Styles, lt as Label, m as TabList, mn as ResponsiveRadiusProps, mr as ThemeFont, mt as KBDProps, n as useTheme_v2, nn as MenuDividerProps, nr as AvatarSize, nt as LayerProviderProps, o as _isEnterToClickElement, on as ResponsiveBorderProps, or as HSL, ot as ErrorBoundaryProps, p as isHTMLTextAreaElement, pn as ResponsivePaddingProps, pr as ThemeColorSyntax, pt as KBDOwnProps, q as PopoverWidth, qn as ButtonTone, qt as ResponsiveAvatarSizeStyleProps, r as ThemeProvider, rn as Menu, rr as AvatarStatus, rt as Layer, s as containsOrEqualsElement, sn as ResponsiveBoxProps, sr as RGB, st as ErrorBoundaryState, t as useTheme, tn as MenuDivider, tr as AvatarPosition, tt as LayerProvider, u as isHTMLElement, un as ResponsiveGridItemProps, ur as Theme, ut as LabelOwnProps, v as MenuItem, vn as HotkeysProps, vr as ThemeFontWeightKey, vt as Heading, w as TooltipDelayGroupProvider, wn as GridItemColumn, wr as hslToRgb, wt as Flex, x as MenuGroup, xn as Radius, xr as ThemeShadow, xt as Grid, y as MenuItemOwnProps, yn as TextAlign, yr as ThemeFonts, yt as HeadingOwnProps, z as StackProps, zn as ComponentType, zt as ButtonProps } from "./_chunks/useTheme.js";
3
3
  import { ElementType as ElementType$1, HTMLProps, ReactNode, Ref } from "react";
4
+ /**
5
+ * @public
6
+ */
7
+ type DialogPosition = 'absolute' | 'fixed';
4
8
  /**
5
9
  * @public
6
10
  */
@@ -14,6 +18,12 @@ interface CheckboxProps {
14
18
  * @public
15
19
  */
16
20
  declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").HTMLProps<HTMLInputElement>, "as" | "type"> & CheckboxProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
21
+ /**
22
+ * @internal
23
+ */
24
+ interface ResponsiveWidthStyleProps {
25
+ $width: (number | 'auto')[];
26
+ }
17
27
  /**
18
28
  * @public
19
29
  */
@@ -43,11 +53,7 @@ declare function useBoundaryElement(): BoundaryElementContextValue;
43
53
  * @internal
44
54
  * @deprecated this component will be removed in the next major release
45
55
  */
46
- declare function ConditionalWrapper({
47
- children,
48
- condition,
49
- wrapper
50
- }: {
56
+ declare function ConditionalWrapper({ children, condition, wrapper }: {
51
57
  children: React.ReactNode;
52
58
  condition: boolean;
53
59
  wrapper: (children: React.ReactNode) => React.ReactNode;
@@ -131,6 +137,24 @@ interface SwitchProps {
131
137
  * @public
132
138
  */
133
139
  declare const Switch: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").HTMLProps<HTMLInputElement>, "as" | "type"> & SwitchProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
140
+ /**
141
+ * @beta
142
+ */
143
+ interface TooltipDelayGroupContextValue {
144
+ setIsGroupActive: (nextState: React.SetStateAction<boolean>, delay?: number | undefined) => void;
145
+ setOpenTooltipId: (nextId: string | null, delay?: number | undefined) => void;
146
+ openDelay: number;
147
+ closeDelay: number;
148
+ openTooltipId: string | null;
149
+ }
150
+ /**
151
+ * @beta
152
+ */
153
+ declare const TooltipDelayGroupContext: import("react").Context<TooltipDelayGroupContextValue | null>;
154
+ /**
155
+ * @beta
156
+ */
157
+ declare function useTooltipDelayGroup(): TooltipDelayGroupContextValue | null;
134
158
  /**
135
159
  * @public
136
160
  */
@@ -449,22 +473,22 @@ interface CodeSkeletonProps extends SkeletonProps {
449
473
  * This API might change. DO NOT USE IN PRODUCTION.
450
474
  * @beta
451
475
  */
452
- declare const TextSkeleton: import("react").ForwardRefExoticComponent<Omit<TextSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "size" | "height" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
476
+ declare const TextSkeleton: import("react").ForwardRefExoticComponent<Omit<TextSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "height" | "size">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
453
477
  /**
454
478
  * This API might change. DO NOT USE IN PRODUCTION.
455
479
  * @beta
456
480
  */
457
- declare const LabelSkeleton: import("react").ForwardRefExoticComponent<Omit<LabelSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "size" | "height" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
481
+ declare const LabelSkeleton: import("react").ForwardRefExoticComponent<Omit<LabelSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "height" | "size">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
458
482
  /**
459
483
  * This API might change. DO NOT USE IN PRODUCTION.
460
484
  * @beta
461
485
  */
462
- declare const HeadingSkeleton: import("react").ForwardRefExoticComponent<Omit<HeadingSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "size" | "height" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
486
+ declare const HeadingSkeleton: import("react").ForwardRefExoticComponent<Omit<HeadingSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "height" | "size">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
463
487
  /**
464
488
  * This API might change. DO NOT USE IN PRODUCTION.
465
489
  * @beta
466
490
  */
467
- declare const CodeSkeleton: import("react").ForwardRefExoticComponent<Omit<CodeSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "size" | "height" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
491
+ declare const CodeSkeleton: import("react").ForwardRefExoticComponent<Omit<CodeSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "height" | "size">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
468
492
  /**
469
493
  * @public
470
494
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/core/primitives/checkbox/checkbox.tsx","../src/core/utils/boundaryElement/boundaryElementProvider.tsx","../src/core/utils/boundaryElement/types.ts","../src/core/utils/boundaryElement/useBoundaryElement.ts","../src/core/utils/conditionalWrapper/conditionalWrapper.tsx","../src/core/utils/elementQuery/elementQuery.tsx","../src/core/utils/layer/types.ts","../src/core/utils/layer/useLayer.ts","../src/core/utils/portal/types.ts","../src/core/utils/portal/usePortal.ts","../src/core/utils/srOnly/srOnly.tsx","../src/core/primitives/radio/radio.tsx","../src/core/primitives/switch/switch.tsx","../src/core/components/autocomplete/types.ts","../src/core/components/autocomplete/autocomplete.tsx","../src/core/components/breadcrumbs/breadcrumbs.tsx","../src/core/components/dialog/dialog.tsx","../src/core/components/dialog/dialogContext.ts","../src/core/components/dialog/dialogProvider.tsx","../src/core/components/dialog/useDialog.ts","../src/core/components/menu/menuButton.tsx","../src/core/components/skeleton/skeleton.tsx","../src/core/components/skeleton/textSkeleton.tsx","../src/core/components/tab/tabPanel.tsx","../src/core/components/toast/toast.tsx","../src/core/components/toast/toastLayer.tsx","../src/core/components/toast/toastProvider.tsx","../src/core/components/toast/types.ts","../src/core/components/toast/useToast.ts","../src/core/components/tree/tree.tsx","../src/core/components/tree/treeItem.tsx","../src/core/components/tree/types.ts","../src/core/components/tree/useTree.ts","../src/core/helpers/animation.ts","../src/core/helpers/focus.ts","../src/core/helpers/scroll.ts","../src/core/hooks/useArrayProp.ts","../src/core/hooks/useClickOutside.ts","../src/core/hooks/useClickOutsideEvent.ts","../src/core/hooks/useCustomValidity.ts","../src/core/hooks/useElementRect/useElementRect.ts","../src/core/observers/elementSizeObserver.ts","../src/core/hooks/useElementSize.ts","../src/core/hooks/useForwardedRef.ts","../src/core/hooks/useGlobalKeyDown.ts","../src/core/hooks/useMatchMedia.ts","../src/core/hooks/useMediaIndex/useMediaIndex.ts","../src/core/hooks/usePrefersReducedMotion.ts","../src/core/observers/resizeObserver.ts","../src/core/styles/helpers.ts","../src/core/styles/types.ts","../src/core/styles/font/types.ts","../src/core/styles/font/codeFontStyle.ts","../src/core/styles/font/headingFontStyle.ts","../src/core/styles/font/labelFontStyle.ts","../src/core/styles/font/textAlignStyle.ts","../src/core/styles/font/textFontStyle.ts","../src/core/theme/themeColorProvider.tsx","../src/core/theme/types.ts","../src/core/theme/useRootTheme.ts"],"mappings":";;;;;;UAUiB,aAAA;EACf,aAAA;EACA,cAAc;AAAA;;AAAA;AAWhB;;;cAAa,QAAA,kBAAQ,yBAAA,CAAA,IAAA,CAAA,IAAA,iBAAA,SAAA,CAAA,gBAAA,oBAAA,aAAA,2BAAA,aAAA,CAAA,gBAAA;;;;UCfJ,4BAAA;EACf,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,OAAA,EAAS,WAAW;AAAA;;ADEN;AAWhB;iBCPgB,uBAAA,CAAwB,KAAA,EAAO,4BAAA,GAA+B,KAAA,CAAM,GAAA,CAAI,OAAO;AAAA,kBAA/E,uBAAA;EAAA,IAAuB,WAAA;AAAA;;;;UCbtB,2BAAA;EACf,OAAA;EACA,OAAA,EAAS,WAAW;AAAA;;;;iBCSN,kBAAA,IAAsB,2BAA2B;;;;;iBCVjD,kBAAA;E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,GAA2B,UAAA,GAAa,SAAA;;ArDArF;;;iBsDAgB,mBAAA,CAAoB,KAAA,EAAO,wBAAA,GAA2B,UAAA,GAAa,SAAA;;AtDAnF;;;iBuDAgB,wBAAA,CACd,KAAA,EAAO,6BAAA,GAAgC,UAAA,GACtC,SAAA;;AvDFH;;;iBwDAgB,kBAAA,CAAmB,KAAA,EAAO,wBAAA,GAA2B,UAAA,GAAa,SAAA;;;;UCFjE,uBAAA;EACf,QAAA,GAAW,KAAA,CAAM,SAAA;EACjB,MAAA,GAAS,qBAAA;EACT,IAAA,GAAO,qBAAA;AAAA;AzDYT;;;AAAA,iByDNgB,kBAAA,CAAmB,KAAA,EAAO,uBAAA,GAA0B,KAAA,CAAM,GAAA,CAAI,OAAO;AAAA,kBAArE,kBAAA;EAAA,IAAkB,WAAA;AAAA;;;;UCZjB,iBAAA;E1DKa;E0DH5B,OAAA;EACA,MAAA,EAAQ,qBAAA;EACR,KAAA,EAAO,WAAA;EACP,IAAA,EAAM,qBAAA;AAAA;;;;iBCFQ,YAAA,IAAgB,iBAAiB"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/core/types/dialog.ts","../src/core/primitives/checkbox/checkbox.tsx","../src/core/primitives/container/types.ts","../src/core/utils/boundaryElement/boundaryElementProvider.tsx","../src/core/utils/boundaryElement/types.ts","../src/core/utils/boundaryElement/useBoundaryElement.ts","../src/core/utils/conditionalWrapper/conditionalWrapper.tsx","../src/core/utils/elementQuery/elementQuery.tsx","../src/core/utils/layer/types.ts","../src/core/utils/layer/useLayer.ts","../src/core/utils/portal/types.ts","../src/core/utils/portal/usePortal.ts","../src/core/utils/srOnly/srOnly.tsx","../src/core/primitives/radio/radio.tsx","../src/core/primitives/switch/switch.tsx","../src/core/primitives/tooltip/tooltipDelayGroup/types.ts","../src/core/primitives/tooltip/tooltipDelayGroup/tooltipDelayGroupContext.tsx","../src/core/primitives/tooltip/tooltipDelayGroup/useTooltipDelayGroup.ts","../src/core/components/autocomplete/types.ts","../src/core/components/autocomplete/autocomplete.tsx","../src/core/components/breadcrumbs/breadcrumbs.tsx","../src/core/components/dialog/dialog.tsx","../src/core/components/dialog/dialogContext.ts","../src/core/components/dialog/dialogProvider.tsx","../src/core/components/dialog/useDialog.ts","../src/core/components/menu/menuButton.tsx","../src/core/components/skeleton/skeleton.tsx","../src/core/components/skeleton/textSkeleton.tsx","../src/core/components/tab/tabPanel.tsx","../src/core/components/toast/toast.tsx","../src/core/components/toast/toastLayer.tsx","../src/core/components/toast/toastProvider.tsx","../src/core/components/toast/types.ts","../src/core/components/toast/useToast.ts","../src/core/components/tree/tree.tsx","../src/core/components/tree/treeItem.tsx","../src/core/components/tree/types.ts","../src/core/components/tree/useTree.ts","../src/core/helpers/animation.ts","../src/core/helpers/focus.ts","../src/core/helpers/scroll.ts","../src/core/hooks/useArrayProp.ts","../src/core/hooks/useClickOutside.ts","../src/core/hooks/useClickOutsideEvent.ts","../src/core/hooks/useCustomValidity.ts","../src/core/hooks/useElementRect/useElementRect.ts","../src/core/observers/elementSizeObserver.ts","../src/core/hooks/useElementSize.ts","../src/core/hooks/useForwardedRef.ts","../src/core/hooks/useGlobalKeyDown.ts","../src/core/hooks/useMatchMedia.ts","../src/core/hooks/useMediaIndex/useMediaIndex.ts","../src/core/hooks/usePrefersReducedMotion.ts","../src/core/observers/resizeObserver.ts","../src/core/styles/helpers.ts","../src/core/styles/types.ts","../src/core/styles/font/types.ts","../src/core/styles/font/codeFontStyle.ts","../src/core/styles/font/headingFontStyle.ts","../src/core/styles/font/labelFontStyle.ts","../src/core/styles/font/textAlignStyle.ts","../src/core/styles/font/textFontStyle.ts","../src/core/theme/themeColorProvider.tsx","../src/core/theme/types.ts","../src/core/theme/useRootTheme.ts"],"mappings":";;;;;;KAGY;;;;UCQK;EACf;EACA;;;;;;;cAWW,0BAAQ,0BAAA,KAAA,qBAAA,UAAA,oCAAA,wCAAA,cAAA;;;;UCrBJ;EACf;;;;;UCIe;EACf,UAAU,MAAM;EAChB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BCrCjB,eAAe,SAAS,qBAAqB;;;;;;;;;;;iBCK7C,gBAAgB,GAAG,KAAK,MAAM,aAAa,KAAK,MAAM,iBAAiB;;;;;;;;iBCHvE,iBACd,YAAY,OAAO,wBACnB,UAAU;;;;;;;;iBCHI,cACd,iCACA;;;;UCJe;EACf,YAAY;EACZ;;;;;;iBAuFc;;;;;;;;;;;;iBCnFA,wBAAwB;;;;cCR3B,wBAAwB;;;;iBCErB,eAAe,gBAAgB,yBAAyB,YAAY;;;;iBAWpE,IAAI;;;;iBASJ,YAAY,GAC1B,iBACA,QAAQ,KACR,WAAW,OAAO,GAAG,eAAe,OAAO,QAAQ,YAClD;;;;iBAaa,cAAc,YAAY,KAAK,IAAI,iBAAiB,aAAa,MAAM;;;;iBASvE,oBACd,OAAO,SACP,iBACA,0BACC;;;;UCpDc;EACf,OAAO;;;;;UCCQ;EACf;;;;;UAMe;EACf,UAAU;;;;;UAMK;EACf,QAAQ;;;;;UAMO,iCACP,sBAAsB,8BAA8B;EAC5D;EACA;;;;;;iBCrBc,wBACd,OAAO,uBAAuB,+BAA+B,aAC5D;;;;;iBCFa,sBAAsB,OAAO,2BAA2B,aAAa;;;;;iBCArE,oBAAoB,OAAO,2BAA2B,aAAa;;;;;iBCAnE,yBACd,OAAO,gCAAgC,aACtC;;;;;iBCFa,mBAAmB,OAAO,2BAA2B,aAAa;;;;UCFjE;EACf,WAAW,MAAM;EACjB,SAAS;EACT,OAAO;;;;;iBAMO,mBAAmB,OAAO,0BAA0B,MAAM,IAAI;kBAA9D;MAAA;;;;;UCZC;;EAEf;EACA,QAAQ;EACR,OAAO;EACP,MAAM;;;;;iBCFQ,gBAAgB"}
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_tabList = require("./_chunks/tabList.js"), require_theme = require("./_chunks/theme.js");
3
- let react_compiler_runtime = require("react-compiler-runtime"), _sanity_icons = require("@sanity/icons"), react = require("react"), react_is = require("react-is");
3
+ let react_compiler_runtime = require("react-compiler-runtime"), _sanity_icons_ChevronDown = require("@sanity/icons/ChevronDown"), react = require("react"), react_is = require("react-is");
4
4
  react_is = require_tabList.It(react_is);
5
- let styled_components = require("styled-components"), react_jsx_runtime = require("react/jsx-runtime"), motion_react = require("motion/react");
5
+ let styled_components = require("styled-components"), react_jsx_runtime = require("react/jsx-runtime"), _sanity_icons_Spinner = require("@sanity/icons/Spinner"), _sanity_icons_Checkmark = require("@sanity/icons/Checkmark"), _sanity_icons_Remove = require("@sanity/icons/Remove"), motion_react = require("motion/react"), _sanity_icons_Close = require("@sanity/icons/Close"), _sanity_icons_ToggleArrowRight = require("@sanity/icons/ToggleArrowRight");
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -104,7 +104,7 @@ const StyledLabel = /* @__PURE__ */ styled_components.styled.div.withConfig({
104
104
  })(responsiveLabelFont, require_tabList.lt, labelBaseStyle), LabelComponent = (0, react.forwardRef)(function(props, ref) {
105
105
  let $ = (0, react_compiler_runtime.c)(26), accent, align, childrenProp, restProps, t0, t1, textOverflow, weight;
106
106
  $[0] === props ? (accent = $[1], align = $[2], childrenProp = $[3], restProps = $[4], t0 = $[5], t1 = $[6], textOverflow = $[7], weight = $[8]) : ({accent, align, children: childrenProp, muted: t0, size: t1, textOverflow, weight, ...restProps} = props, $[0] = props, $[1] = accent, $[2] = align, $[3] = childrenProp, $[4] = restProps, $[5] = t0, $[6] = t1, $[7] = textOverflow, $[8] = weight);
107
- let muted = t0 === void 0 ? !1 : t0, size = t1 === void 0 ? 2 : t1, children = childrenProp;
107
+ let muted = t0 !== void 0 && t0, size = t1 === void 0 ? 2 : t1, children = childrenProp;
108
108
  if (textOverflow === "ellipsis") {
109
109
  let t2;
110
110
  $[9] === children ? t2 = $[10] : (t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.G, { children }), $[9] = children, $[10] = t2), children = t2;
@@ -633,10 +633,10 @@ function inputElementStyles(props) {
633
633
  }
634
634
  const StyledCheckbox = /* @__PURE__ */ styled_components.styled.div.withConfig({
635
635
  displayName: "StyledCheckbox",
636
- componentId: "sc-mje2ol-0"
636
+ componentId: "sc-eqpl40-0"
637
637
  })(checkboxBaseStyles), Input$4 = /* @__PURE__ */ styled_components.styled.input.withConfig({
638
638
  displayName: "Input",
639
- componentId: "sc-mje2ol-1"
639
+ componentId: "sc-eqpl40-1"
640
640
  })(inputElementStyles), Checkbox = (0, react.forwardRef)(function(props, forwardedRef) {
641
641
  let $ = (0, react_compiler_runtime.c)(25), checked, className, customValidity, disabled, indeterminate, readOnly, restProps, style;
642
642
  $[0] === props ? (checked = $[1], className = $[2], customValidity = $[3], disabled = $[4], indeterminate = $[5], readOnly = $[6], restProps = $[7], style = $[8]) : ({checked, className, disabled, indeterminate, customValidity, readOnly, style, ...restProps} = props, $[0] = props, $[1] = checked, $[2] = className, $[3] = customValidity, $[4] = disabled, $[5] = indeterminate, $[6] = readOnly, $[7] = restProps, $[8] = style);
@@ -658,7 +658,7 @@ const StyledCheckbox = /* @__PURE__ */ styled_components.styled.div.withConfig({
658
658
  ref
659
659
  }), $[13] = checked, $[14] = readOnly, $[15] = restProps, $[16] = t3, $[17] = t4, $[18] = t5, $[19] = t6) : t6 = $[19];
660
660
  let t7;
661
- $[20] === Symbol.for("react.memo_cache_sentinel") ? (t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_sanity_icons.CheckmarkIcon, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_sanity_icons.RemoveIcon, {})] }), $[20] = t7) : t7 = $[20];
661
+ $[20] === Symbol.for("react.memo_cache_sentinel") ? (t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_sanity_icons_Checkmark.CheckmarkIcon, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_sanity_icons_Remove.RemoveIcon, {})] }), $[20] = t7) : t7 = $[20];
662
662
  let t8;
663
663
  return $[21] !== className || $[22] !== style || $[23] !== t6 ? (t8 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(StyledCheckbox, {
664
664
  className,
@@ -791,7 +791,7 @@ const StyledHeading = /* @__PURE__ */ styled_components.styled.div.withConfig({
791
791
  })(headingBaseStyle, require_tabList.lt, responsiveHeadingFont), HeadingComponent = (0, react.forwardRef)(function(props, ref) {
792
792
  let $ = (0, react_compiler_runtime.c)(26), align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
793
793
  $[0] === props ? (align = $[1], childrenProp = $[2], restProps = $[3], t0 = $[4], t1 = $[5], t2 = $[6], textOverflow = $[7], weight = $[8]) : ({accent: t0, align, children: childrenProp, muted: t1, size: t2, textOverflow, weight, ...restProps} = props, $[0] = props, $[1] = align, $[2] = childrenProp, $[3] = restProps, $[4] = t0, $[5] = t1, $[6] = t2, $[7] = textOverflow, $[8] = weight);
794
- let accent = t0 === void 0 ? !1 : t0, muted = t1 === void 0 ? !1 : t1, size = t2 === void 0 ? 2 : t2, children = childrenProp;
794
+ let accent = t0 !== void 0 && t0, muted = t1 !== void 0 && t1, size = t2 === void 0 ? 2 : t2, children = childrenProp;
795
795
  if (textOverflow === "ellipsis") {
796
796
  let t3;
797
797
  $[9] === children ? t3 = $[10] : (t3 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.G, { children }), $[9] = children, $[10] = t3), children = t3;
@@ -1155,13 +1155,13 @@ const selectStyle = {
1155
1155
  iconBox: iconBoxStyle
1156
1156
  }, StyledSelect = /* @__PURE__ */ styled_components.styled.div.withConfig({
1157
1157
  displayName: "StyledSelect",
1158
- componentId: "sc-a3ltm7-0"
1158
+ componentId: "sc-gi1uze-0"
1159
1159
  })(selectStyle.root), Input$2 = /* @__PURE__ */ styled_components.styled.select.withConfig({
1160
1160
  displayName: "Input",
1161
- componentId: "sc-a3ltm7-1"
1161
+ componentId: "sc-gi1uze-1"
1162
1162
  })(selectStyle.input), IconBox = /* @__PURE__ */ (0, styled_components.styled)(require_tabList.W).withConfig({
1163
1163
  displayName: "IconBox",
1164
- componentId: "sc-a3ltm7-2"
1164
+ componentId: "sc-gi1uze-2"
1165
1165
  })(selectStyle.iconBox), Select = (0, react.forwardRef)(function(props, forwardedRef) {
1166
1166
  let $ = (0, react_compiler_runtime.c)(38), children, customValidity, disabled, gap, readOnly, restProps, t0, t1, t2, t3;
1167
1167
  $[0] === props ? (children = $[1], customValidity = $[2], disabled = $[3], gap = $[4], readOnly = $[5], restProps = $[6], t0 = $[7], t1 = $[8], t2 = $[9], t3 = $[10]) : ({children, customValidity, disabled, fontSize: t0, gap, padding: t1, radius: t2, readOnly, space: t3, ...restProps} = props, $[0] = props, $[1] = children, $[2] = customValidity, $[3] = disabled, $[4] = gap, $[5] = readOnly, $[6] = restProps, $[7] = t0, $[8] = t1, $[9] = t2, $[10] = t3);
@@ -1189,7 +1189,7 @@ const selectStyle = {
1189
1189
  children
1190
1190
  }), $[20] = children, $[21] = restProps, $[22] = t10, $[23] = t5, $[24] = t6, $[25] = t7, $[26] = t8, $[27] = t9, $[28] = t11) : t11 = $[28];
1191
1191
  let t12;
1192
- $[29] === Symbol.for("react.memo_cache_sentinel") ? (t12 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_sanity_icons.ChevronDownIcon, {}), $[29] = t12) : t12 = $[29];
1192
+ $[29] === Symbol.for("react.memo_cache_sentinel") ? (t12 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_sanity_icons_ChevronDown.ChevronDownIcon, {}), $[29] = t12) : t12 = $[29];
1193
1193
  let t13;
1194
1194
  $[30] === fontSize ? t13 = $[31] : (t13 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.U, {
1195
1195
  size: fontSize,
@@ -1293,7 +1293,7 @@ const StyledTextArea = /* @__PURE__ */ styled_components.styled.span.withConfig(
1293
1293
  })(require_tabList.K, require_tabList.X), TextArea = (0, react.forwardRef)(function(props, forwardedRef) {
1294
1294
  let $ = (0, react_compiler_runtime.c)(35), __unstable_disableFocusRing, customValidity, restProps, t0, t1, t2, t3, t4, weight;
1295
1295
  $[0] === props ? (__unstable_disableFocusRing = $[1], customValidity = $[2], restProps = $[3], t0 = $[4], t1 = $[5], t2 = $[6], t3 = $[7], t4 = $[8], weight = $[9]) : ({border: t0, customValidity, disabled: t1, fontSize: t2, padding: t3, radius: t4, weight, __unstable_disableFocusRing, ...restProps} = props, $[0] = props, $[1] = __unstable_disableFocusRing, $[2] = customValidity, $[3] = restProps, $[4] = t0, $[5] = t1, $[6] = t2, $[7] = t3, $[8] = t4, $[9] = weight);
1296
- let border = t0 === void 0 ? !0 : t0, disabled = t1 === void 0 ? !1 : t1, fontSize = t2 === void 0 ? 2 : t2, padding = t3 === void 0 ? 3 : t3, radius = t4 === void 0 ? 2 : t4, ref = (0, react.useRef)(null), rootTheme = require_tabList.at(), t5;
1296
+ let border = t0 === void 0 || t0, disabled = t1 !== void 0 && t1, fontSize = t2 === void 0 ? 2 : t2, padding = t3 === void 0 ? 3 : t3, radius = t4 === void 0 ? 2 : t4, ref = (0, react.useRef)(null), rootTheme = require_tabList.at(), t5;
1297
1297
  $[10] === Symbol.for("react.memo_cache_sentinel") ? (t5 = () => ref.current, $[10] = t5) : t5 = $[10], (0, react.useImperativeHandle)(forwardedRef, t5), require_tabList.I(ref, customValidity);
1298
1298
  let t6 = rootTheme.scheme, t7 = rootTheme.tone, t8;
1299
1299
  $[11] === fontSize ? t8 = $[12] : (t8 = require_tabList.ft(fontSize), $[11] = fontSize, $[12] = t8);
@@ -1361,13 +1361,13 @@ TooltipDelayGroupProvider.displayName = "TooltipDelayGroupProvider";
1361
1361
  */
1362
1362
  const StyledAutocomplete = styled_components.styled.div.withConfig({
1363
1363
  displayName: "StyledAutocomplete",
1364
- componentId: "sc-890276-0"
1364
+ componentId: "sc-hv7uk8-0"
1365
1365
  })`line-height:0;`, ListBox = (0, styled_components.styled)(require_tabList.W).withConfig({
1366
1366
  displayName: "ListBox",
1367
- componentId: "sc-890276-1"
1368
- })`& > ul{list-style:none;padding:0;margin:0;}`, rotate = styled_components.keyframes`from{transform:rotate(0deg);}to{transform:rotate(360deg);}`, AnimatedSpinnerIcon = (0, styled_components.styled)(_sanity_icons.SpinnerIcon).withConfig({
1367
+ componentId: "sc-hv7uk8-1"
1368
+ })`& > ul{list-style:none;padding:0;margin:0;}`, rotate = styled_components.keyframes`from{transform:rotate(0deg);}to{transform:rotate(360deg);}`, AnimatedSpinnerIcon = (0, styled_components.styled)(_sanity_icons_Spinner.SpinnerIcon).withConfig({
1369
1369
  displayName: "AnimatedSpinnerIcon",
1370
- componentId: "sc-890276-2"
1370
+ componentId: "sc-hv7uk8-2"
1371
1371
  })`animation:${rotate} 500ms linear infinite;`;
1372
1372
  function AutocompleteOption(props) {
1373
1373
  let $ = (0, react_compiler_runtime.c)(11), { children, id, onSelect, selected, value } = props, t0;
@@ -1451,7 +1451,7 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1451
1451
  ], AUTOCOMPLETE_POPOVER_FALLBACK_PLACEMENTS = ["bottom-start", "top-start"], DEFAULT_RENDER_VALUE = (value, option) => option ? option.value : value, DEFAULT_FILTER_OPTION = (query, option) => option.value.toLowerCase().indexOf(query.toLowerCase()) > -1, InnerAutocomplete = (0, react.forwardRef)(function(props, forwardedRef) {
1452
1452
  let $ = (0, react_compiler_runtime.c)(181), customValidity, disabled, filterOptionProp, icon, id, loading, onBlur, onChange, onFocus, onQueryChange, onSelect, openButton, openOnFocus, optionsProp, prefix, readOnly, relatedElements, renderOptionProp, renderPopover, restProps, suffix, t0, t1, t2, t3, t4, t5, t6, valueProp;
1453
1453
  $[0] === props ? (customValidity = $[1], disabled = $[2], filterOptionProp = $[3], icon = $[4], id = $[5], loading = $[6], onBlur = $[7], onChange = $[8], onFocus = $[9], onQueryChange = $[10], onSelect = $[11], openButton = $[12], openOnFocus = $[13], optionsProp = $[14], prefix = $[15], readOnly = $[16], relatedElements = $[17], renderOptionProp = $[18], renderPopover = $[19], restProps = $[20], suffix = $[21], t0 = $[22], t1 = $[23], t2 = $[24], t3 = $[25], t4 = $[26], t5 = $[27], t6 = $[28], valueProp = $[29]) : ({border: t0, customValidity, disabled, filterOption: filterOptionProp, fontSize: t1, icon, id, listBox: t2, loading, onBlur, onChange, onFocus, onQueryChange, onSelect, openButton, openOnFocus, options: optionsProp, padding: t3, popover: t4, prefix, radius: t5, readOnly, relatedElements, renderOption: renderOptionProp, renderPopover, renderValue: t6, suffix, value: valueProp, ...restProps} = props, $[0] = props, $[1] = customValidity, $[2] = disabled, $[3] = filterOptionProp, $[4] = icon, $[5] = id, $[6] = loading, $[7] = onBlur, $[8] = onChange, $[9] = onFocus, $[10] = onQueryChange, $[11] = onSelect, $[12] = openButton, $[13] = openOnFocus, $[14] = optionsProp, $[15] = prefix, $[16] = readOnly, $[17] = relatedElements, $[18] = renderOptionProp, $[19] = renderPopover, $[20] = restProps, $[21] = suffix, $[22] = t0, $[23] = t1, $[24] = t2, $[25] = t3, $[26] = t4, $[27] = t5, $[28] = t6, $[29] = valueProp);
1454
- let border = t0 === void 0 ? !0 : t0, fontSize = t1 === void 0 ? 2 : t1, listBox = t2 === void 0 ? require_tabList.Tt : t2, paddingProp = t3 === void 0 ? 3 : t3, popover = t4 === void 0 ? require_tabList.Tt : t4, radius = t5 === void 0 ? 2 : t5, renderValue = t6 === void 0 ? DEFAULT_RENDER_VALUE : t6, t7 = valueProp || null, t8 = valueProp || null, t9;
1454
+ let border = t0 === void 0 || t0, fontSize = t1 === void 0 ? 2 : t1, listBox = t2 === void 0 ? require_tabList.Tt : t2, paddingProp = t3 === void 0 ? 3 : t3, popover = t4 === void 0 ? require_tabList.Tt : t4, radius = t5 === void 0 ? 2 : t5, renderValue = t6 === void 0 ? DEFAULT_RENDER_VALUE : t6, t7 = valueProp || null, t8 = valueProp || null, t9;
1455
1455
  $[30] !== t7 || $[31] !== t8 ? (t9 = {
1456
1456
  activeValue: t7,
1457
1457
  focused: !1,
@@ -1487,7 +1487,7 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1487
1487
  let currentOption = t16, t17;
1488
1488
  if ($[46] !== filterOption || $[47] !== options || $[48] !== query) {
1489
1489
  let t18;
1490
- $[50] !== filterOption || $[51] !== query ? (t18 = (option) => query ? filterOption(query, option) : !0, $[50] = filterOption, $[51] = query, $[52] = t18) : t18 = $[52], t17 = options.filter(t18), $[46] = filterOption, $[47] = options, $[48] = query, $[49] = t17;
1490
+ $[50] !== filterOption || $[51] !== query ? (t18 = (option) => !query || filterOption(query, option), $[50] = filterOption, $[51] = query, $[52] = t18) : t18 = $[52], t17 = options.filter(t18), $[46] = filterOption, $[47] = options, $[48] = query, $[49] = t17;
1491
1491
  } else t17 = $[49];
1492
1492
  let filteredOptions = t17, filteredOptionsLen = filteredOptions.length, activeItemId = activeValue ? `${id}-option-${activeValue}` : void 0, expanded = query !== null && loading || focused && query !== null, t18;
1493
1493
  $[53] !== onBlur || $[54] !== onQueryChange || $[55] !== relatedElements ? (t18 = (event) => {
@@ -1643,7 +1643,7 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
1643
1643
  "aria-label": "Open",
1644
1644
  disabled: expanded,
1645
1645
  fontSize,
1646
- icon: _sanity_icons.ChevronDownIcon,
1646
+ icon: _sanity_icons_ChevronDown.ChevronDownIcon,
1647
1647
  mode: "bleed",
1648
1648
  padding: openButtonPadding,
1649
1649
  ...openButtonProps,
@@ -1947,29 +1947,29 @@ function useDialog() {
1947
1947
  return (0, react.useContext)(DialogContext);
1948
1948
  }
1949
1949
  function isTargetWithinScope(boundaryElement, portalElement, target) {
1950
- return !boundaryElement || !portalElement ? !0 : require_tabList._t(boundaryElement, target) || require_tabList._t(portalElement, target);
1950
+ return !boundaryElement || !portalElement || require_tabList._t(boundaryElement, target) || require_tabList._t(portalElement, target);
1951
1951
  }
1952
1952
  const StyledDialog = /* @__PURE__ */ (0, styled_components.styled)(require_tabList.v).withConfig({
1953
1953
  displayName: "StyledDialog",
1954
- componentId: "sc-7l6kmb-0"
1954
+ componentId: "sc-r9i1m3-0"
1955
1955
  })(require_tabList.q, dialogStyle, responsiveDialogPositionStyle, animationDialogStyle), DialogContainer = (0, styled_components.styled)(Container).withConfig({
1956
1956
  displayName: "DialogContainer",
1957
- componentId: "sc-7l6kmb-1"
1957
+ componentId: "sc-r9i1m3-1"
1958
1958
  })`&:not([hidden]){display:flex;}width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;`, DialogCardRoot = (0, styled_components.styled)(require_tabList.R).withConfig({
1959
1959
  displayName: "DialogCardRoot",
1960
- componentId: "sc-7l6kmb-2"
1960
+ componentId: "sc-r9i1m3-2"
1961
1961
  })`&:not([hidden]){display:flex;}width:100%;min-height:0;max-height:100%;overflow:hidden;overflow:clip;`, DialogLayout = (0, styled_components.styled)(require_tabList.H).withConfig({
1962
1962
  displayName: "DialogLayout",
1963
- componentId: "sc-7l6kmb-3"
1963
+ componentId: "sc-r9i1m3-3"
1964
1964
  })`flex:1;min-height:0;width:100%;`, DialogHeader = (0, styled_components.styled)(require_tabList.W).withConfig({
1965
1965
  displayName: "DialogHeader",
1966
- componentId: "sc-7l6kmb-4"
1966
+ componentId: "sc-r9i1m3-4"
1967
1967
  })`position:relative;z-index:2;`, DialogContent = (0, styled_components.styled)(require_tabList.W).withConfig({
1968
1968
  displayName: "DialogContent",
1969
- componentId: "sc-7l6kmb-5"
1969
+ componentId: "sc-r9i1m3-5"
1970
1970
  })`position:relative;z-index:1;overflow:auto;outline:none;`, DialogFooter = (0, styled_components.styled)(require_tabList.W).withConfig({
1971
1971
  displayName: "DialogFooter",
1972
- componentId: "sc-7l6kmb-6"
1972
+ componentId: "sc-r9i1m3-6"
1973
1973
  })`position:relative;z-index:3;`, DialogCard = (0, react.forwardRef)(function(props, forwardedRef) {
1974
1974
  let $ = (0, react_compiler_runtime.c)(44), { __unstable_autoFocus: autoFocus, __unstable_hideCloseButton: hideCloseButton, children, contentRef: forwardedContentRef, footer, header, id, onClickOutside, onClose, portal: portalProp, radius: radiusProp, scheme, shadow: shadowProp, width: widthProp } = props, portal = require_tabList._(), portalElement = portalProp ? portal.elements?.[portalProp] || null : portal.element, boundaryElement = require_tabList.x().element, t0;
1975
1975
  $[0] === radiusProp ? t0 = $[1] : (t0 = require_tabList.ft(radiusProp), $[0] = radiusProp, $[1] = t0);
@@ -2016,7 +2016,7 @@ const StyledDialog = /* @__PURE__ */ (0, styled_components.styled)(require_tabLi
2016
2016
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.z, {
2017
2017
  "aria-label": "Close dialog",
2018
2018
  disabled: !onClose,
2019
- icon: _sanity_icons.CloseIcon,
2019
+ icon: _sanity_icons_Close.CloseIcon,
2020
2020
  mode: "bleed",
2021
2021
  onClick: onClose,
2022
2022
  padding: 2
@@ -2065,7 +2065,7 @@ DialogCard.displayName = "ForwardRef(DialogCard)";
2065
2065
  const Dialog = (0, react.forwardRef)(function(props, ref) {
2066
2066
  let $ = (0, react_compiler_runtime.c)(70), dialog = useDialog(), { layer } = require_tabList.rt(), _positionProp, _zOffsetProp, children, contentRef, footer, header, id, onActivate, onClickOutside, onClose, onFocus, portalProp, restProps, scheme, t0, t1, t2, t3, t4, t5, t6;
2067
2067
  $[0] === props ? (_positionProp = $[1], _zOffsetProp = $[2], children = $[3], contentRef = $[4], footer = $[5], header = $[6], id = $[7], onActivate = $[8], onClickOutside = $[9], onClose = $[10], onFocus = $[11], portalProp = $[12], restProps = $[13], scheme = $[14], t0 = $[15], t1 = $[16], t2 = $[17], t3 = $[18], t4 = $[19], t5 = $[20], t6 = $[21]) : ({__unstable_autoFocus: t0, __unstable_hideCloseButton: t1, cardRadius: t2, cardShadow: t3, children, contentRef, footer, header, id, onActivate, onClickOutside, onClose, onFocus, padding: t4, portal: portalProp, position: _positionProp, scheme, width: t5, zOffset: _zOffsetProp, animate: t6, ...restProps} = props, $[0] = props, $[1] = _positionProp, $[2] = _zOffsetProp, $[3] = children, $[4] = contentRef, $[5] = footer, $[6] = header, $[7] = id, $[8] = onActivate, $[9] = onClickOutside, $[10] = onClose, $[11] = onFocus, $[12] = portalProp, $[13] = restProps, $[14] = scheme, $[15] = t0, $[16] = t1, $[17] = t2, $[18] = t3, $[19] = t4, $[20] = t5, $[21] = t6);
2068
- let autoFocus = t0 === void 0 ? !0 : t0, hideCloseButton = t1 === void 0 ? !1 : t1, cardRadiusProp = t2 === void 0 ? 4 : t2, cardShadow = t3 === void 0 ? 3 : t3, paddingProp = t4 === void 0 ? 3 : t4, widthProp = t5 === void 0 ? 0 : t5, _animate = t6 === void 0 ? !1 : t6, positionProp = _positionProp ?? (dialog.position || "fixed"), zOffsetProp = _zOffsetProp ?? (dialog.zOffset || layer.dialog.zOffset), animate = require_tabList.O() ? !1 : _animate, portal = require_tabList._(), portalElement = portalProp ? portal.elements?.[portalProp] || null : portal.element, boundaryElement = require_tabList.x().element, t7;
2068
+ let autoFocus = t0 === void 0 || t0, hideCloseButton = t1 !== void 0 && t1, cardRadiusProp = t2 === void 0 ? 4 : t2, cardShadow = t3 === void 0 ? 3 : t3, paddingProp = t4 === void 0 ? 3 : t4, widthProp = t5 === void 0 ? 0 : t5, _animate = t6 !== void 0 && t6, positionProp = _positionProp ?? (dialog.position || "fixed"), zOffsetProp = _zOffsetProp ?? (dialog.zOffset || layer.dialog.zOffset), animate = !require_tabList.O() && _animate, portal = require_tabList._(), portalElement = portalProp ? portal.elements?.[portalProp] || null : portal.element, boundaryElement = require_tabList.x().element, t7;
2069
2069
  $[22] === cardRadiusProp ? t7 = $[23] : (t7 = require_tabList.ft(cardRadiusProp), $[22] = cardRadiusProp, $[23] = t7);
2070
2070
  let cardRadius = t7, t8;
2071
2071
  $[24] === paddingProp ? t8 = $[25] : (t8 = require_tabList.ft(paddingProp), $[24] = paddingProp, $[25] = t8);
@@ -2185,7 +2185,7 @@ DialogProvider.displayName = "DialogProvider";
2185
2185
  * @public
2186
2186
  */
2187
2187
  const MenuButton = (0, react.forwardRef)(function(props, forwardedRef) {
2188
- let $ = (0, react_compiler_runtime.c)(62), { __unstable_disableRestoreFocusOnClose: t0, boundaryElement: deprecated_boundaryElement, button: buttonProp, id, menu: menuProp, onClose, onOpen, placement: deprecated_placement, popoverScheme: deprecated_popoverScheme, portal: t1, popover, popoverRadius: deprecated_popoverRadius, preventOverflow: deprecated_preventOverflow } = props, disableRestoreFocusOnClose = t0 === void 0 ? !1 : t0, deprecated_portal = t1 === void 0 ? !0 : t1, [open, setOpen] = (0, react.useState)(!1), [shouldFocus, setShouldFocus] = (0, react.useState)(null), [buttonElement, setButtonElement] = (0, react.useState)(null), t2;
2188
+ let $ = (0, react_compiler_runtime.c)(62), { __unstable_disableRestoreFocusOnClose: t0, boundaryElement: deprecated_boundaryElement, button: buttonProp, id, menu: menuProp, onClose, onOpen, placement: deprecated_placement, popoverScheme: deprecated_popoverScheme, portal: t1, popover, popoverRadius: deprecated_popoverRadius, preventOverflow: deprecated_preventOverflow } = props, disableRestoreFocusOnClose = t0 !== void 0 && t0, deprecated_portal = t1 === void 0 || t1, [open, setOpen] = (0, react.useState)(!1), [shouldFocus, setShouldFocus] = (0, react.useState)(null), [buttonElement, setButtonElement] = (0, react.useState)(null), t2;
2189
2189
  $[0] === Symbol.for("react.memo_cache_sentinel") ? (t2 = [], $[0] = t2) : t2 = $[0];
2190
2190
  let [menuElements, setChildMenuElements] = (0, react.useState)(t2), openRef = (0, react.useRef)(open), t3, t4;
2191
2191
  $[1] !== onOpen || $[2] !== open ? (t3 = () => {
@@ -2303,7 +2303,7 @@ const animation = styled_components.css`background-image:linear-gradient( to rig
2303
2303
  })(require_tabList.K, skeletonStyle), Skeleton = (0, react.forwardRef)(function(props, ref) {
2304
2304
  let $ = (0, react_compiler_runtime.c)(16), delay, radius, restProps, t0;
2305
2305
  $[0] === props ? (delay = $[1], radius = $[2], restProps = $[3], t0 = $[4]) : ({animated: t0, delay, radius, ...restProps} = props, $[0] = props, $[1] = delay, $[2] = radius, $[3] = restProps, $[4] = t0);
2306
- let animated = t0 === void 0 ? !1 : t0, [visible, setVisible] = (0, react.useState)(!delay), t1, t2;
2306
+ let animated = t0 !== void 0 && t0, [visible, setVisible] = (0, react.useState)(!delay), t1, t2;
2307
2307
  $[5] === delay ? (t1 = $[6], t2 = $[7]) : (t1 = () => {
2308
2308
  if (!delay) return;
2309
2309
  let timeout = setTimeout(() => {
@@ -2315,7 +2315,7 @@ const animation = styled_components.css`background-image:linear-gradient( to rig
2315
2315
  }, t2 = [delay], $[5] = delay, $[6] = t1, $[7] = t2), (0, react.useEffect)(t1, t2);
2316
2316
  let t3;
2317
2317
  $[8] === radius ? t3 = $[9] : (t3 = require_tabList.ft(radius), $[8] = radius, $[9] = t3);
2318
- let t4 = delay ? visible : !0, t5;
2318
+ let t4 = !delay || visible, t5;
2319
2319
  return $[10] !== animated || $[11] !== ref || $[12] !== restProps || $[13] !== t3 || $[14] !== t4 ? (t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledSkeleton$1, {
2320
2320
  ...restProps,
2321
2321
  $animated: animated,
@@ -2504,7 +2504,7 @@ function Toast(props) {
2504
2504
  padding: 1,
2505
2505
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.z, {
2506
2506
  as: "button",
2507
- icon: _sanity_icons.CloseIcon,
2507
+ icon: _sanity_icons_Close.CloseIcon,
2508
2508
  mode: "bleed",
2509
2509
  padding: 2,
2510
2510
  tone: buttonTone,
@@ -2905,7 +2905,7 @@ function useTree() {
2905
2905
  function TreeGroup(props) {
2906
2906
  let $ = (0, react_compiler_runtime.c)(9), children, restProps, t0;
2907
2907
  $[0] === props ? (children = $[1], restProps = $[2], t0 = $[3]) : ({children, expanded: t0, ...restProps} = props, $[0] = props, $[1] = children, $[2] = restProps, $[3] = t0);
2908
- let expanded = t0 === void 0 ? !1 : t0, tree = useTree(), t1 = !expanded, t2;
2908
+ let expanded = t0 !== void 0 && t0, tree = useTree(), t1 = !expanded, t2;
2909
2909
  return $[4] !== children || $[5] !== restProps || $[6] !== t1 || $[7] !== tree.gap ? (t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tabList.p, {
2910
2910
  as: "ul",
2911
2911
  "data-ui": "TreeGroup",
@@ -2919,13 +2919,13 @@ function TreeGroup(props) {
2919
2919
  }
2920
2920
  const StyledTreeItem = /* @__PURE__ */ styled_components.styled.li.withConfig({
2921
2921
  displayName: "StyledTreeItem",
2922
- componentId: "sc-v9loy0-0"
2922
+ componentId: "sc-arsnlr-0"
2923
2923
  })(treeItemRootStyle, treeItemRootColorStyle), TreeItemBox = /* @__PURE__ */ (0, styled_components.styled)(require_tabList.W).attrs({ forwardedAs: "a" }).withConfig({
2924
2924
  displayName: "TreeItemBox",
2925
- componentId: "sc-v9loy0-1"
2925
+ componentId: "sc-arsnlr-1"
2926
2926
  })(treeItemBoxStyle), ToggleArrowText = (0, styled_components.styled)(require_tabList.U).withConfig({
2927
2927
  displayName: "ToggleArrowText",
2928
- componentId: "sc-v9loy0-2"
2928
+ componentId: "sc-arsnlr-2"
2929
2929
  })`& > svg{transition:transform 100ms;}`;
2930
2930
  /**
2931
2931
  * This API might change. DO NOT USE IN PRODUCTION.
@@ -2934,7 +2934,7 @@ const StyledTreeItem = /* @__PURE__ */ styled_components.styled.li.withConfig({
2934
2934
  function TreeItem(props) {
2935
2935
  let $ = (0, react_compiler_runtime.c)(114), IconComponent, children, gap, href, idProp, linkAs, muted, onClick, restProps, t0, t1, t2, t3, t4, text, weight;
2936
2936
  $[0] === props ? (IconComponent = $[1], children = $[2], gap = $[3], href = $[4], idProp = $[5], linkAs = $[6], muted = $[7], onClick = $[8], restProps = $[9], t0 = $[10], t1 = $[11], t2 = $[12], t3 = $[13], t4 = $[14], text = $[15], weight = $[16]) : ({children, expanded: t0, fontSize: t1, href, icon: IconComponent, id: idProp, linkAs, muted, onClick, padding: t2, selected: t3, gap, space: t4, text, weight, ...restProps} = props, $[0] = props, $[1] = IconComponent, $[2] = children, $[3] = gap, $[4] = href, $[5] = idProp, $[6] = linkAs, $[7] = muted, $[8] = onClick, $[9] = restProps, $[10] = t0, $[11] = t1, $[12] = t2, $[13] = t3, $[14] = t4, $[15] = text, $[16] = weight);
2937
- let expandedProp = t0 === void 0 ? !1 : t0, fontSize = t1 === void 0 ? 1 : t1, padding = t2 === void 0 ? 2 : t2, selected = t3 === void 0 ? !1 : t3, spacing = gap === void 0 ? t4 === void 0 ? 2 : t4 : gap, [rootElement, _setRootElement] = (0, react.useState)(null), t5;
2937
+ let expandedProp = t0 !== void 0 && t0, fontSize = t1 === void 0 ? 1 : t1, padding = t2 === void 0 ? 2 : t2, selected = t3 !== void 0 && t3, spacing = gap === void 0 ? t4 === void 0 ? 2 : t4 : gap, [rootElement, _setRootElement] = (0, react.useState)(null), t5;
2938
2938
  $[17] === Symbol.for("react.memo_cache_sentinel") ? (t5 = (node) => {
2939
2939
  (0, react.startTransition)(() => _setRootElement(node));
2940
2940
  }, $[17] = t5) : t5 = $[17];
@@ -2988,7 +2988,7 @@ function TreeItem(props) {
2988
2988
  muted,
2989
2989
  size: fontSize,
2990
2990
  weight,
2991
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_sanity_icons.ToggleArrowRightIcon, { style: { transform: expanded ? "rotate(90deg)" : void 0 } })
2991
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_sanity_icons_ToggleArrowRight.ToggleArrowRightIcon, { style: { transform: expanded ? "rotate(90deg)" : void 0 } })
2992
2992
  }), $[53] = IconComponent, $[54] = expanded, $[55] = fontSize, $[56] = muted, $[57] = weight, $[58] = t18) : t18 = $[58];
2993
2993
  let t19;
2994
2994
  $[59] !== spacing || $[60] !== t16 || $[61] !== t17 || $[62] !== t18 ? (t19 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_tabList.W, {
@@ -3083,3 +3083,5 @@ function TreeItem(props) {
3083
3083
  }), $[103] = expanded, $[104] = handleClick, $[105] = handleKeyDown, $[106] = id, $[107] = itemKey, $[108] = restProps, $[109] = t22, $[110] = t23, $[111] = t25, $[112] = tabIndex, $[113] = t26) : t26 = $[113], t26;
3084
3084
  }
3085
3085
  TreeItem.displayName = "TreeItem", exports.Arrow = require_tabList.w, exports.Autocomplete = Autocomplete, exports.Avatar = Avatar, exports.AvatarCounter = AvatarCounter, exports.AvatarStack = AvatarStack, exports.Badge = Badge, exports.BoundaryElementProvider = BoundaryElementProvider, exports.Box = require_tabList.W, exports.Breadcrumbs = Breadcrumbs, exports.Button = require_tabList.z, exports.Card = require_tabList.R, exports.Checkbox = Checkbox, exports.Code = Code, exports.CodeSkeleton = CodeSkeleton, exports.ConditionalWrapper = ConditionalWrapper, exports.Container = Container, exports.Dialog = Dialog, exports.DialogContext = DialogContext, exports.DialogProvider = DialogProvider, exports.ElementQuery = ElementQuery, exports.ErrorBoundary = ErrorBoundary, exports.Flex = require_tabList.H, exports.Grid = require_tabList.D, exports.Heading = Heading, exports.HeadingSkeleton = HeadingSkeleton, exports.Hotkeys = require_tabList.s, exports.Inline = require_tabList.E, exports.KBD = require_tabList.T, exports.Label = Label, exports.LabelSkeleton = LabelSkeleton, exports.Layer = require_tabList.v, exports.LayerProvider = require_tabList.b, exports.Menu = require_tabList.o, exports.MenuButton = MenuButton, exports.MenuDivider = require_tabList.a, exports.MenuGroup = require_tabList.i, exports.MenuItem = require_tabList.r, exports.Popover = require_tabList.m, exports.Portal = require_tabList.g, exports.PortalProvider = require_tabList.h, exports.Radio = Radio, exports.Select = Select, exports.Skeleton = Skeleton, exports.Spinner = require_tabList.V, exports.SrOnly = SrOnly, exports.Stack = require_tabList.p, exports.Switch = Switch, exports.Tab = require_tabList.n, exports.TabList = require_tabList.t, exports.TabPanel = TabPanel, exports.Text = require_tabList.U, exports.TextArea = TextArea, exports.TextInput = require_tabList.f, exports.TextSkeleton = TextSkeleton, exports.ThemeColorProvider = require_tabList.it, exports.ThemeProvider = require_tabList.ot, exports.Toast = Toast, exports.ToastProvider = ToastProvider, exports.Tooltip = require_tabList.c, exports.TooltipDelayGroupContext = require_tabList.u, exports.TooltipDelayGroupProvider = TooltipDelayGroupProvider, exports.Tree = Tree, exports.TreeItem = TreeItem, exports.VirtualList = VirtualList, exports._ResizeObserver = require_tabList.F, exports._elementSizeObserver = require_tabList.P, exports._fillCSSObject = require_tabList.dt, exports._getArrayProp = require_tabList.ft, exports._getResponsiveSpace = require_tabList.pt, exports._hasFocus = _hasFocus, exports._isEnterToClickElement = require_tabList.gt, exports._isScrollable = _isScrollable, exports._raf = _raf, exports._raf2 = _raf2, exports._responsive = require_tabList.mt, exports.attemptFocus = attemptFocus, exports.containsOrEqualsElement = require_tabList._t, exports.createColorTheme = require_tabList.Et, exports.focusFirstDescendant = focusFirstDescendant, exports.focusLastDescendant = focusLastDescendant, exports.hexToRgb = require_tabList.Dt, exports.hslToRgb = require_tabList.Ot, exports.isFocusable = isFocusable, exports.isHTMLAnchorElement = require_tabList.vt, exports.isHTMLButtonElement = require_tabList.yt, exports.isHTMLElement = require_tabList.bt, exports.isHTMLInputElement = require_tabList.xt, exports.isHTMLSelectElement = require_tabList.St, exports.isHTMLTextAreaElement = require_tabList.Ct, exports.multiply = require_tabList.kt, exports.parseColor = require_tabList.At, exports.rem = require_tabList.ht, exports.responsiveCodeFontStyle = responsiveCodeFontStyle, exports.responsiveHeadingFont = responsiveHeadingFont, exports.responsiveLabelFont = responsiveLabelFont, exports.responsiveTextAlignStyle = require_tabList.lt, exports.responsiveTextFont = require_tabList.ct, exports.rgbToHex = require_tabList.jt, exports.rgbToHsl = require_tabList.Mt, exports.rgba = require_tabList.Nt, exports.screen = require_tabList.Pt, exports.studioTheme = require_tabList.Ft, exports.useArrayProp = useArrayProp, exports.useBoundaryElement = require_tabList.x, exports.useClickOutside = useClickOutside, exports.useClickOutsideEvent = require_tabList.L, exports.useCustomValidity = require_tabList.I, exports.useDialog = useDialog, exports.useElementRect = useElementRect, exports.useElementSize = require_tabList.N, exports.useForwardedRef = useForwardedRef, exports.useGlobalKeyDown = require_tabList.M, exports.useLayer = require_tabList.y, exports.useMatchMedia = require_tabList.j, exports.useMediaIndex = require_tabList.A, exports.usePortal = require_tabList._, exports.usePrefersDark = require_tabList.k, exports.usePrefersReducedMotion = require_tabList.O, exports.useRootTheme = require_tabList.at, exports.useTheme = require_tabList.nt, exports.useTheme_v2 = require_tabList.rt, exports.useToast = useToast, exports.useTooltipDelayGroup = require_tabList.l, exports.useTree = useTree;
3086
+
3087
+ //# sourceMappingURL=index.js.map