@sanity/ui 3.3.6 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/tabList.js +16 -16
- package/dist/_chunks/tabList.js.map +1 -1
- package/dist/_chunks/tabList.mjs +14 -12
- package/dist/_chunks/tabList.mjs.map +1 -1
- package/dist/_chunks/useTheme.d.mts +5 -5
- package/dist/_chunks/useTheme.d.ts +5 -5
- package/dist/index.d.mts +6 -6
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +27 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
|
@@ -493,7 +493,7 @@ interface MenuProps extends ResponsivePaddingProps {
|
|
|
493
493
|
*
|
|
494
494
|
* @public
|
|
495
495
|
*/
|
|
496
|
-
declare const Menu: import("react").ForwardRefExoticComponent<Omit<MenuProps & Omit<import("react").HTMLProps<HTMLDivElement>, "
|
|
496
|
+
declare const Menu: import("react").ForwardRefExoticComponent<Omit<MenuProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "height" | "tabIndex" | "role">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
497
497
|
/**
|
|
498
498
|
* @public
|
|
499
499
|
*/
|
|
@@ -843,7 +843,7 @@ declare const Arrow: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
843
843
|
width: number;
|
|
844
844
|
height: number;
|
|
845
845
|
radius?: number;
|
|
846
|
-
} & Omit<HTMLProps<HTMLDivElement>, "
|
|
846
|
+
} & Omit<HTMLProps<HTMLDivElement>, "height" | "width">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
847
847
|
/**
|
|
848
848
|
* DO NOT USE IN PRODUCTION
|
|
849
849
|
* @beta
|
|
@@ -1050,7 +1050,7 @@ interface PopoverProps extends Omit<LayerProps, 'as'>, ResponsiveRadiusProps, Re
|
|
|
1050
1050
|
*
|
|
1051
1051
|
* @public
|
|
1052
1052
|
*/
|
|
1053
|
-
declare const Popover: import("react").ForwardRefExoticComponent<Omit<PopoverProps & Omit<import("react").HTMLProps<HTMLDivElement>, "
|
|
1053
|
+
declare const Popover: import("react").ForwardRefExoticComponent<Omit<PopoverProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "width" | "content" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
1054
1054
|
/**
|
|
1055
1055
|
* @public
|
|
1056
1056
|
*/
|
|
@@ -1339,7 +1339,7 @@ interface TabProps {
|
|
|
1339
1339
|
/**
|
|
1340
1340
|
* @public
|
|
1341
1341
|
*/
|
|
1342
|
-
declare const Tab: import("react").ForwardRefExoticComponent<Omit<TabProps & Omit<import("react").HTMLProps<HTMLButtonElement>, "
|
|
1342
|
+
declare const Tab: import("react").ForwardRefExoticComponent<Omit<TabProps & Omit<import("react").HTMLProps<HTMLButtonElement>, "as" | "label" | "type" | "width" | "id" | "aria-controls">, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
1343
1343
|
/**
|
|
1344
1344
|
* @public
|
|
1345
1345
|
*/
|
|
@@ -1349,7 +1349,7 @@ interface TabListProps extends Omit<InlineOwnProps, 'height'> {
|
|
|
1349
1349
|
/**
|
|
1350
1350
|
* @public
|
|
1351
1351
|
*/
|
|
1352
|
-
declare const TabList: import("react").ForwardRefExoticComponent<Omit<TabListProps & Omit<import("react").HTMLProps<HTMLDivElement>, "
|
|
1352
|
+
declare const TabList: import("react").ForwardRefExoticComponent<Omit<TabListProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "height">, "ref"> & import("react").RefAttributes<unknown>>;
|
|
1353
1353
|
/**
|
|
1354
1354
|
* @internal
|
|
1355
1355
|
*/
|
|
@@ -493,7 +493,7 @@ interface MenuProps extends ResponsivePaddingProps {
|
|
|
493
493
|
*
|
|
494
494
|
* @public
|
|
495
495
|
*/
|
|
496
|
-
declare const Menu: import("react").ForwardRefExoticComponent<Omit<MenuProps & Omit<import("react").HTMLProps<HTMLDivElement>, "
|
|
496
|
+
declare const Menu: import("react").ForwardRefExoticComponent<Omit<MenuProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "height" | "tabIndex" | "role">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
497
497
|
/**
|
|
498
498
|
* @public
|
|
499
499
|
*/
|
|
@@ -843,7 +843,7 @@ declare const Arrow: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
843
843
|
width: number;
|
|
844
844
|
height: number;
|
|
845
845
|
radius?: number;
|
|
846
|
-
} & Omit<HTMLProps<HTMLDivElement>, "
|
|
846
|
+
} & Omit<HTMLProps<HTMLDivElement>, "height" | "width">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
847
847
|
/**
|
|
848
848
|
* DO NOT USE IN PRODUCTION
|
|
849
849
|
* @beta
|
|
@@ -1050,7 +1050,7 @@ interface PopoverProps extends Omit<LayerProps, 'as'>, ResponsiveRadiusProps, Re
|
|
|
1050
1050
|
*
|
|
1051
1051
|
* @public
|
|
1052
1052
|
*/
|
|
1053
|
-
declare const Popover: import("react").ForwardRefExoticComponent<Omit<PopoverProps & Omit<import("react").HTMLProps<HTMLDivElement>, "
|
|
1053
|
+
declare const Popover: import("react").ForwardRefExoticComponent<Omit<PopoverProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "width" | "content" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
1054
1054
|
/**
|
|
1055
1055
|
* @public
|
|
1056
1056
|
*/
|
|
@@ -1339,7 +1339,7 @@ interface TabProps {
|
|
|
1339
1339
|
/**
|
|
1340
1340
|
* @public
|
|
1341
1341
|
*/
|
|
1342
|
-
declare const Tab: import("react").ForwardRefExoticComponent<Omit<TabProps & Omit<import("react").HTMLProps<HTMLButtonElement>, "
|
|
1342
|
+
declare const Tab: import("react").ForwardRefExoticComponent<Omit<TabProps & Omit<import("react").HTMLProps<HTMLButtonElement>, "as" | "label" | "type" | "width" | "id" | "aria-controls">, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
1343
1343
|
/**
|
|
1344
1344
|
* @public
|
|
1345
1345
|
*/
|
|
@@ -1349,7 +1349,7 @@ interface TabListProps extends Omit<InlineOwnProps, 'height'> {
|
|
|
1349
1349
|
/**
|
|
1350
1350
|
* @public
|
|
1351
1351
|
*/
|
|
1352
|
-
declare const TabList: import("react").ForwardRefExoticComponent<Omit<TabListProps & Omit<import("react").HTMLProps<HTMLDivElement>, "
|
|
1352
|
+
declare const TabList: import("react").ForwardRefExoticComponent<Omit<TabListProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "height">, "ref"> & import("react").RefAttributes<unknown>>;
|
|
1353
1353
|
/**
|
|
1354
1354
|
* @internal
|
|
1355
1355
|
*/
|
package/dist/index.d.mts
CHANGED
|
@@ -346,7 +346,7 @@ interface DialogProps extends ResponsivePaddingProps, ResponsiveWidthProps {
|
|
|
346
346
|
*
|
|
347
347
|
* @public
|
|
348
348
|
*/
|
|
349
|
-
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>, "as" | "width" | "id">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
350
350
|
/**
|
|
351
351
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
352
352
|
* @beta
|
|
@@ -473,22 +473,22 @@ interface CodeSkeletonProps extends SkeletonProps {
|
|
|
473
473
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
474
474
|
* @beta
|
|
475
475
|
*/
|
|
476
|
-
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>, "as" | "height" | "size" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
477
477
|
/**
|
|
478
478
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
479
479
|
* @beta
|
|
480
480
|
*/
|
|
481
|
-
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>, "as" | "height" | "size" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
482
482
|
/**
|
|
483
483
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
484
484
|
* @beta
|
|
485
485
|
*/
|
|
486
|
-
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>, "as" | "height" | "size" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
487
487
|
/**
|
|
488
488
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
489
489
|
* @beta
|
|
490
490
|
*/
|
|
491
|
-
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>, "as" | "height" | "size" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
492
492
|
/**
|
|
493
493
|
* @public
|
|
494
494
|
*/
|
|
@@ -595,7 +595,7 @@ interface TreeProps {
|
|
|
595
595
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
596
596
|
* @beta
|
|
597
597
|
*/
|
|
598
|
-
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>, "as" | "height" | "wrap" | "role" | "ref" | "align"> & import("react").RefAttributes<HTMLUListElement>>;
|
|
599
599
|
/**
|
|
600
600
|
* @beta
|
|
601
601
|
*/
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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;;;;
|
|
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":";;;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ogProps extends ResponsivePaddingProps, ResponsiveWidthProps {
|
|
|
346
346
|
*
|
|
347
347
|
* @public
|
|
348
348
|
*/
|
|
349
|
-
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>, "as" | "width" | "id">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
350
350
|
/**
|
|
351
351
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
352
352
|
* @beta
|
|
@@ -473,22 +473,22 @@ interface CodeSkeletonProps extends SkeletonProps {
|
|
|
473
473
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
474
474
|
* @beta
|
|
475
475
|
*/
|
|
476
|
-
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>, "as" | "height" | "size" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
477
477
|
/**
|
|
478
478
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
479
479
|
* @beta
|
|
480
480
|
*/
|
|
481
|
-
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>, "as" | "height" | "size" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
482
482
|
/**
|
|
483
483
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
484
484
|
* @beta
|
|
485
485
|
*/
|
|
486
|
-
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>, "as" | "height" | "size" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
487
487
|
/**
|
|
488
488
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
489
489
|
* @beta
|
|
490
490
|
*/
|
|
491
|
-
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>, "as" | "height" | "size" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
492
492
|
/**
|
|
493
493
|
* @public
|
|
494
494
|
*/
|
|
@@ -595,7 +595,7 @@ interface TreeProps {
|
|
|
595
595
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
596
596
|
* @beta
|
|
597
597
|
*/
|
|
598
|
-
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>, "as" | "height" | "wrap" | "role" | "ref" | "align"> & import("react").RefAttributes<HTMLUListElement>>;
|
|
599
599
|
/**
|
|
600
600
|
* @beta
|
|
601
601
|
*/
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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;;;;
|
|
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,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,cAAA;;UClBR;EACf;EACA;EACA;EACA,gBAAgB;EAChB;EACA;;;;;iBCEc,YAAY;;;;UCNX;EACf;EACA,iBAAiB;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AI,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"),
|
|
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
|
*/
|
|
@@ -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-
|
|
636
|
+
componentId: "sc-eqpl40-0"
|
|
637
637
|
})(checkboxBaseStyles), Input$4 = /* @__PURE__ */ styled_components.styled.input.withConfig({
|
|
638
638
|
displayName: "Input",
|
|
639
|
-
componentId: "sc-
|
|
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)(
|
|
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,
|
|
@@ -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-
|
|
1158
|
+
componentId: "sc-gi1uze-0"
|
|
1159
1159
|
})(selectStyle.root), Input$2 = /* @__PURE__ */ styled_components.styled.select.withConfig({
|
|
1160
1160
|
displayName: "Input",
|
|
1161
|
-
componentId: "sc-
|
|
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-
|
|
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)(
|
|
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,
|
|
@@ -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-
|
|
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-
|
|
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)(
|
|
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-
|
|
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;
|
|
@@ -1643,7 +1643,7 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [
|
|
|
1643
1643
|
"aria-label": "Open",
|
|
1644
1644
|
disabled: expanded,
|
|
1645
1645
|
fontSize,
|
|
1646
|
-
icon:
|
|
1646
|
+
icon: _sanity_icons_ChevronDown.ChevronDownIcon,
|
|
1647
1647
|
mode: "bleed",
|
|
1648
1648
|
padding: openButtonPadding,
|
|
1649
1649
|
...openButtonProps,
|
|
@@ -1951,25 +1951,25 @@ function isTargetWithinScope(boundaryElement, portalElement, target) {
|
|
|
1951
1951
|
}
|
|
1952
1952
|
const StyledDialog = /* @__PURE__ */ (0, styled_components.styled)(require_tabList.v).withConfig({
|
|
1953
1953
|
displayName: "StyledDialog",
|
|
1954
|
-
componentId: "sc-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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:
|
|
2019
|
+
icon: _sanity_icons_Close.CloseIcon,
|
|
2020
2020
|
mode: "bleed",
|
|
2021
2021
|
onClick: onClose,
|
|
2022
2022
|
padding: 2
|
|
@@ -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:
|
|
2507
|
+
icon: _sanity_icons_Close.CloseIcon,
|
|
2508
2508
|
mode: "bleed",
|
|
2509
2509
|
padding: 2,
|
|
2510
2510
|
tone: buttonTone,
|
|
@@ -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-
|
|
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-
|
|
2925
|
+
componentId: "sc-arsnlr-1"
|
|
2926
2926
|
})(treeItemBoxStyle), ToggleArrowText = (0, styled_components.styled)(require_tabList.U).withConfig({
|
|
2927
2927
|
displayName: "ToggleArrowText",
|
|
2928
|
-
componentId: "sc-
|
|
2928
|
+
componentId: "sc-arsnlr-2"
|
|
2929
2929
|
})`& > svg{transition:transform 100ms;}`;
|
|
2930
2930
|
/**
|
|
2931
2931
|
* This API might change. DO NOT USE IN PRODUCTION.
|
|
@@ -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)(
|
|
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, {
|