@sanity/ui 3.3.4 → 3.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{refractor.js → _chunks/refractor.js} +2 -0
- package/dist/_chunks/refractor.js.map +1 -0
- package/dist/_chunks/refractor.mjs.map +1 -0
- package/dist/{tabList.js → _chunks/tabList.js} +10 -11
- package/dist/_chunks/tabList.js.map +1 -0
- package/dist/{tabList.mjs → _chunks/tabList.mjs} +8 -11
- package/dist/_chunks/tabList.mjs.map +1 -0
- package/dist/_chunks/theme.d.mts +1204 -0
- package/dist/_chunks/theme.d.mts.map +1 -0
- package/dist/_chunks/theme.d.ts +1204 -0
- package/dist/_chunks/theme.d.ts.map +1 -0
- package/dist/{theme2.js → _chunks/theme.js} +3 -1
- package/dist/_chunks/theme.js.map +1 -0
- package/dist/{theme2.mjs → _chunks/theme.mjs} +2 -2
- package/dist/_chunks/theme.mjs.map +1 -0
- package/dist/{useTheme.d.mts → _chunks/useTheme.d.mts} +18 -47
- package/dist/_chunks/useTheme.d.mts.map +1 -0
- package/dist/{useTheme.d.ts → _chunks/useTheme.d.ts} +18 -47
- package/dist/_chunks/useTheme.d.ts.map +1 -0
- package/dist/_visual-editing.d.mts +1 -1
- package/dist/_visual-editing.d.ts +1 -1
- package/dist/_visual-editing.js +1 -1
- package/dist/_visual-editing.mjs +1 -1
- package/dist/index.d.mts +38 -14
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +38 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -14
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +15 -15
- package/dist/index.mjs.map +1 -1
- package/dist/theme.d.mts +2 -1206
- package/dist/theme.d.ts +2 -1206
- package/dist/theme.js +1 -1
- package/dist/theme.mjs +1 -1
- package/package.json +8 -13
- package/dist/refractor.mjs.map +0 -1
- package/dist/tabList.mjs.map +0 -1
- package/dist/theme.d.mts.map +0 -1
- package/dist/theme.d.ts.map +0 -1
- package/dist/theme2.d.mts +0 -2
- package/dist/theme2.d.ts +0 -2
- package/dist/theme2.mjs.map +0 -1
- package/dist/useTheme.d.mts.map +0 -1
- package/dist/useTheme.d.ts.map +0 -1
- /package/dist/{refractor.mjs → _chunks/refractor.mjs} +0 -0
package/dist/index.d.mts.map
CHANGED
|
@@ -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,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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.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;;;;UCOK;EACf;EACA;;;;;;;cAWW,0BAAQ,0BAAA,KAAA,qBAAA,UAAA,oCAAA,wCAAA,cAAA;;;;UCpBJ;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;;;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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.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
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 "./theme.js";
|
|
2
|
-
import { $ as
|
|
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 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
|
*/
|
|
@@ -282,7 +306,7 @@ interface BreadcrumbsProps {
|
|
|
282
306
|
/**
|
|
283
307
|
* @beta
|
|
284
308
|
*/
|
|
285
|
-
declare const Breadcrumbs: import("react").ForwardRefExoticComponent<BreadcrumbsProps & Omit<import("react").HTMLProps<HTMLOListElement>, "as" | "
|
|
309
|
+
declare const Breadcrumbs: import("react").ForwardRefExoticComponent<BreadcrumbsProps & Omit<import("react").HTMLProps<HTMLOListElement>, "as" | "type" | "ref"> & import("react").RefAttributes<HTMLOListElement>>;
|
|
286
310
|
/**
|
|
287
311
|
* @public
|
|
288
312
|
*/
|
|
@@ -322,7 +346,7 @@ interface DialogProps extends ResponsivePaddingProps, ResponsiveWidthProps {
|
|
|
322
346
|
*
|
|
323
347
|
* @public
|
|
324
348
|
*/
|
|
325
|
-
declare const Dialog: import("react").ForwardRefExoticComponent<Omit<DialogProps & Omit<import("react").HTMLProps<HTMLDivElement>, "
|
|
349
|
+
declare const Dialog: import("react").ForwardRefExoticComponent<Omit<DialogProps & Omit<import("react").HTMLProps<HTMLDivElement>, "width" | "as" | "id">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
326
350
|
/**
|
|
327
351
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
328
352
|
* @beta
|
|
@@ -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>, "
|
|
476
|
+
declare const TextSkeleton: import("react").ForwardRefExoticComponent<Omit<TextSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "height" | "as" | "size" | "children">, "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>, "
|
|
481
|
+
declare const LabelSkeleton: import("react").ForwardRefExoticComponent<Omit<LabelSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "height" | "as" | "size" | "children">, "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>, "
|
|
486
|
+
declare const HeadingSkeleton: import("react").ForwardRefExoticComponent<Omit<HeadingSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "height" | "as" | "size" | "children">, "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>, "
|
|
491
|
+
declare const CodeSkeleton: import("react").ForwardRefExoticComponent<Omit<CodeSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "height" | "as" | "size" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
468
492
|
/**
|
|
469
493
|
* @public
|
|
470
494
|
*/
|
|
@@ -571,7 +595,7 @@ interface TreeProps {
|
|
|
571
595
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
572
596
|
* @beta
|
|
573
597
|
*/
|
|
574
|
-
declare const Tree: import("react").ForwardRefExoticComponent<TreeProps & Omit<import("react").HTMLProps<HTMLUListElement>, "
|
|
598
|
+
declare const Tree: import("react").ForwardRefExoticComponent<TreeProps & Omit<import("react").HTMLProps<HTMLUListElement>, "height" | "as" | "wrap" | "role" | "ref" | "align"> & import("react").RefAttributes<HTMLUListElement>>;
|
|
575
599
|
/**
|
|
576
600
|
* @beta
|
|
577
601
|
*/
|
package/dist/index.d.ts.map
CHANGED
|
@@ -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;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,kB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H;;;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;;;;UCOK;EACf;EACA;;;;;;;cAWW,0BAAQ,0BAAA,KAAA,qBAAA,UAAA,oCAAA,wCAAA,cAAA;;;;UCpBJ;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,UAA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Je;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,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_tabList = require("./tabList.js"), require_theme = require("./
|
|
2
|
+
const require_tabList = require("./_chunks/tabList.js"), require_theme = require("./_chunks/theme.js");
|
|
3
3
|
let react_compiler_runtime = require("react-compiler-runtime"), _sanity_icons = require("@sanity/icons"), react = require("react"), react_is = require("react-is");
|
|
4
4
|
react_is = require_tabList.It(react_is);
|
|
5
5
|
let styled_components = require("styled-components"), react_jsx_runtime = require("react/jsx-runtime"), motion_react = require("motion/react");
|
|
@@ -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
|
|
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;
|
|
@@ -712,7 +712,7 @@ function codeSyntaxHighlightingStyle({ theme }) {
|
|
|
712
712
|
function codeBaseStyle() {
|
|
713
713
|
return styled_components.css`color:var(--card-code-fg-color);& code{font-family:inherit;&.refractor .token{${codeSyntaxHighlightingStyle}}}& a{color:inherit;text-decoration:underline;border-radius:1px;}& svg{display:inline;}& [data-sanity-icon]{vertical-align:baseline;}`;
|
|
714
714
|
}
|
|
715
|
-
const LazyRefractor = (0, react.lazy)(() => Promise.resolve().then(() => require("./refractor.js"))), StyledCode = /* @__PURE__ */ styled_components.styled.pre.withConfig({
|
|
715
|
+
const LazyRefractor = (0, react.lazy)(() => Promise.resolve().then(() => require("./_chunks/refractor.js"))), StyledCode = /* @__PURE__ */ styled_components.styled.pre.withConfig({
|
|
716
716
|
displayName: "StyledCode",
|
|
717
717
|
componentId: "sc-botxhl-0"
|
|
718
718
|
})(codeBaseStyle, responsiveCodeFontStyle), CodeComponent = (0, react.forwardRef)(function(props, ref) {
|
|
@@ -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
|
|
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;
|
|
@@ -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
|
|
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);
|
|
@@ -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
|
|
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
|
|
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) => {
|
|
@@ -1947,7 +1947,7 @@ function useDialog() {
|
|
|
1947
1947
|
return (0, react.useContext)(DialogContext);
|
|
1948
1948
|
}
|
|
1949
1949
|
function isTargetWithinScope(boundaryElement, portalElement, target) {
|
|
1950
|
-
return !boundaryElement || !portalElement
|
|
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",
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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,
|
|
@@ -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
|
|
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",
|
|
@@ -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
|
|
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];
|
|
@@ -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
|