@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
|
@@ -220,10 +220,6 @@ type ElementType$1<P = any> = TagType | ComponentType<P>;
|
|
|
220
220
|
type Props<P extends EmptyProps, E extends ElementType$1<P>> = Assign<E extends TagType ? React.JSX.IntrinsicElements[E] : React.ComponentProps<E>, P & {
|
|
221
221
|
as?: E;
|
|
222
222
|
}>;
|
|
223
|
-
/**
|
|
224
|
-
* @public
|
|
225
|
-
*/
|
|
226
|
-
type DialogPosition = 'absolute' | 'fixed';
|
|
227
223
|
/**
|
|
228
224
|
* @public
|
|
229
225
|
*/
|
|
@@ -321,7 +317,7 @@ interface HotkeysProps {
|
|
|
321
317
|
*
|
|
322
318
|
* @public
|
|
323
319
|
*/
|
|
324
|
-
declare const Hotkeys: import("react").ForwardRefExoticComponent<HotkeysProps & Omit<import("react").HTMLProps<HTMLElement>, "as" | "
|
|
320
|
+
declare const Hotkeys: import("react").ForwardRefExoticComponent<HotkeysProps & Omit<import("react").HTMLProps<HTMLElement>, "as" | "size" | "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
325
321
|
/**
|
|
326
322
|
* @public
|
|
327
323
|
*/
|
|
@@ -497,7 +493,7 @@ interface MenuProps extends ResponsivePaddingProps {
|
|
|
497
493
|
*
|
|
498
494
|
* @public
|
|
499
495
|
*/
|
|
500
|
-
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>, "height" | "as" | "tabIndex" | "role">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
501
497
|
/**
|
|
502
498
|
* @public
|
|
503
499
|
*/
|
|
@@ -720,12 +716,6 @@ type ContainerProps<E extends ElementType$1 = 'div'> = Props<ContainerOwnProps,
|
|
|
720
716
|
* @public
|
|
721
717
|
*/
|
|
722
718
|
declare const Container: <E extends ElementType$1 = "div">(props: ContainerProps<E>) => React.JSX.Element;
|
|
723
|
-
/**
|
|
724
|
-
* @internal
|
|
725
|
-
*/
|
|
726
|
-
interface ResponsiveWidthStyleProps {
|
|
727
|
-
$width: (number | 'auto')[];
|
|
728
|
-
}
|
|
729
719
|
/**
|
|
730
720
|
* @public
|
|
731
721
|
*/
|
|
@@ -853,7 +843,7 @@ declare const Arrow: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
853
843
|
width: number;
|
|
854
844
|
height: number;
|
|
855
845
|
radius?: number;
|
|
856
|
-
} & Omit<HTMLProps<HTMLDivElement>, "
|
|
846
|
+
} & Omit<HTMLProps<HTMLDivElement>, "width" | "height">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
857
847
|
/**
|
|
858
848
|
* DO NOT USE IN PRODUCTION
|
|
859
849
|
* @beta
|
|
@@ -995,16 +985,16 @@ interface PopoverProps extends Omit<LayerProps, 'as'>, ResponsiveRadiusProps, Re
|
|
|
995
985
|
boundaryElement?: HTMLElement | null;
|
|
996
986
|
children?: React.JSX.Element;
|
|
997
987
|
/**
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
988
|
+
* When `true`, prevent overflow within the current boundary:
|
|
989
|
+
* - by flipping on its side axis
|
|
990
|
+
* - by resizing
|
|
991
|
+
/*
|
|
992
|
+
* Note that:
|
|
993
|
+
* - setting `preventOverflow` to `true` also prevents overflow on its side axis
|
|
994
|
+
* - setting `matchReferenceWidth` to `true` also causes the popover to resize
|
|
995
|
+
*
|
|
996
|
+
* @defaultValue false
|
|
997
|
+
*/
|
|
1008
998
|
constrainSize?: boolean;
|
|
1009
999
|
content?: React.ReactNode;
|
|
1010
1000
|
disabled?: boolean;
|
|
@@ -1060,7 +1050,7 @@ interface PopoverProps extends Omit<LayerProps, 'as'>, ResponsiveRadiusProps, Re
|
|
|
1060
1050
|
*
|
|
1061
1051
|
* @public
|
|
1062
1052
|
*/
|
|
1063
|
-
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>, "width" | "as" | "content" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
1064
1054
|
/**
|
|
1065
1055
|
* @public
|
|
1066
1056
|
*/
|
|
@@ -1158,7 +1148,6 @@ interface TextAreaProps extends ResponsiveRadiusProps {
|
|
|
1158
1148
|
/**
|
|
1159
1149
|
* A multiline text input.
|
|
1160
1150
|
*
|
|
1161
|
-
|
|
1162
1151
|
* @public
|
|
1163
1152
|
*/
|
|
1164
1153
|
declare const TextArea: import("react").ForwardRefExoticComponent<Omit<TextAreaProps & Omit<import("react").HTMLProps<HTMLTextAreaElement>, "as">, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -1252,21 +1241,7 @@ interface TooltipProps extends Omit<LayerProps, 'as'> {
|
|
|
1252
1241
|
*
|
|
1253
1242
|
* @public
|
|
1254
1243
|
*/
|
|
1255
|
-
declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "
|
|
1256
|
-
/**
|
|
1257
|
-
* @beta
|
|
1258
|
-
*/
|
|
1259
|
-
interface TooltipDelayGroupContextValue {
|
|
1260
|
-
setIsGroupActive: (nextState: React.SetStateAction<boolean>, delay?: number | undefined) => void;
|
|
1261
|
-
setOpenTooltipId: (nextId: string | null, delay?: number | undefined) => void;
|
|
1262
|
-
openDelay: number;
|
|
1263
|
-
closeDelay: number;
|
|
1264
|
-
openTooltipId: string | null;
|
|
1265
|
-
}
|
|
1266
|
-
/**
|
|
1267
|
-
* @beta
|
|
1268
|
-
*/
|
|
1269
|
-
declare const TooltipDelayGroupContext: import("react").Context<TooltipDelayGroupContextValue | null>;
|
|
1244
|
+
declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "content" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
1270
1245
|
/**
|
|
1271
1246
|
* @public
|
|
1272
1247
|
* */
|
|
@@ -1292,10 +1267,6 @@ declare function TooltipDelayGroupProvider(props: TooltipDelayGroupProviderProps
|
|
|
1292
1267
|
declare namespace TooltipDelayGroupProvider {
|
|
1293
1268
|
var displayName: string;
|
|
1294
1269
|
}
|
|
1295
|
-
/**
|
|
1296
|
-
* @beta
|
|
1297
|
-
*/
|
|
1298
|
-
declare function useTooltipDelayGroup(): TooltipDelayGroupContextValue | null;
|
|
1299
1270
|
/**
|
|
1300
1271
|
* @public
|
|
1301
1272
|
*/
|
|
@@ -1368,7 +1339,7 @@ interface TabProps {
|
|
|
1368
1339
|
/**
|
|
1369
1340
|
* @public
|
|
1370
1341
|
*/
|
|
1371
|
-
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>, "width" | "as" | "label" | "type" | "id" | "aria-controls">, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
1372
1343
|
/**
|
|
1373
1344
|
* @public
|
|
1374
1345
|
*/
|
|
@@ -1378,7 +1349,7 @@ interface TabListProps extends Omit<InlineOwnProps, 'height'> {
|
|
|
1378
1349
|
/**
|
|
1379
1350
|
* @public
|
|
1380
1351
|
*/
|
|
1381
|
-
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>, "height" | "as">, "ref"> & import("react").RefAttributes<unknown>>;
|
|
1382
1353
|
/**
|
|
1383
1354
|
* @internal
|
|
1384
1355
|
*/
|
|
@@ -1447,5 +1418,5 @@ declare function useTheme(): Theme$1;
|
|
|
1447
1418
|
* @public
|
|
1448
1419
|
*/
|
|
1449
1420
|
declare function useTheme_v2(): Theme_v2;
|
|
1450
|
-
export {
|
|
1421
|
+
export { Portal as $, BadgeMode as $n, AvatarOwnProps as $t, TextInputProps as A, GridAutoCols as An, screen as Ar, Code as At, Spinner as B, ElementType$1 as Bn, Badge as Bt, MenuGroupProps as C, Placement as Cn, hexToRgb as Cr, GridProps as Ct, TooltipProps as D, GridItemRow as Dn, rgbToHex as Dr, Container as Dt, Tooltip as E, GridItemColumnStart as En, parseColor as Er, FlexProps as Et, TextOwnProps as F, FlexJustify as Fn, CardOwnProps as Ft, PopoverProps as G, ButtonMode as Gn, BoxProps as Gt, Select as H, Props as Hn, BadgeProps as Ht, TextProps as I, FlexValue as In, CardProps as It, VirtualList as J, ButtonWidth as Jn, AvatarStack as Jt, PopoverUpdateCallback as K, ButtonTextAlign as Kn, AvatarRootStyleProps as Kt, Stack as L, FlexWrap as Ln, Button as Lt, TextArea as M, GridAutoRows as Mn, CodeProps as Mt, TextAreaProps as N, FlexAlign as Nn, CardStyleProps as Nt, TextInput as O, GridItemRowEnd as On, rgbToHsl as Or, ContainerOwnProps as Ot, Text as P, FlexDirection as Pn, Card as Pt, PortalProviderProps as Q, BoxSizing as Qn, Avatar as Qt, StackOwnProps as R, Assign as Rn, ButtonOwnProps as Rt, MenuGroupOwnProps as S, PopoverMargins as Sn, createColorTheme as Sr, GridOwnProps as St, TooltipDelayGroupProviderProps as T, GridItemColumnEnd as Tn, multiply as Tr, FlexOwnProps as Tt, SelectProps as U, TagType as Un, Box as Ut, SpinnerProps as V, EmptyProps as Vn, BadgeOwnProps as Vt, Popover as W, CardTone as Wn, BoxOwnProps as Wt, VirtualListProps as X, BoxHeight as Xn, AvatarCounter as Xt, VirtualListChangeOpts as Y, BoxDisplay as Yn, AvatarStackProps as Yt, PortalProvider as Z, BoxOverflow as Zn, AvatarCounterProps as Zt, TabProps as _, Hotkeys as _n, ThemeFontWeight as _r, InlineProps as _t, usePrefersDark as a, Delay as an, BoxShadow as ar, ErrorBoundary as at, MenuItemProps as b, SelectableTone as bn, ThemeLayer as br, HeadingProps as bt, isHTMLAnchorElement as c, ResponsiveFlexItemProps as cn, RootTheme as cr, Arrow as ct, isHTMLInputElement as d, ResponsiveGridProps as dn, ThemeColorButtonModeKey as dr, LabelProps as dt, AvatarProps as en, BadgeTone as er, PortalProps as et, isHTMLSelectElement as f, ResponsiveMarginProps as fn, ThemeColorSchemeKey as fr, KBD as ft, Tab as g, ResponsiveWidthProps as gn, ThemeFontSize as gr, InlineOwnProps as gt, TabListProps as h, ResponsiveShadowProps as hn, ThemeFontKey as hr, Inline as ht, ThemeProviderProps as i, MenuProps as in, BaseTheme as ir, LayerProps as it, TextInputType as j, GridAutoFlow as jn, studioTheme as jr, CodeOwnProps as jt, TextInputClearButtonProps as k, GridItemRowStart as kn, rgba as kr, ContainerProps as kt, isHTMLButtonElement as l, ResponsiveFlexProps as ln, Styles as lr, Label as lt, TabList as m, ResponsiveRadiusProps as mn, ThemeFont as mr, KBDProps as mt, useTheme_v2 as n, MenuDividerProps as nn, AvatarSize as nr, LayerProviderProps as nt, _isEnterToClickElement as o, ResponsiveBorderProps as on, HSL as or, ErrorBoundaryProps as ot, isHTMLTextAreaElement as p, ResponsivePaddingProps as pn, ThemeColorSyntax as pr, KBDOwnProps as pt, PopoverWidth as q, ButtonTone as qn, ResponsiveAvatarSizeStyleProps as qt, ThemeProvider as r, Menu as rn, AvatarStatus as rr, Layer as rt, containsOrEqualsElement as s, ResponsiveBoxProps as sn, RGB as sr, ErrorBoundaryState as st, useTheme as t, MenuDivider as tn, AvatarPosition as tr, LayerProvider as tt, isHTMLElement as u, ResponsiveGridItemProps as un, Theme as ur, LabelOwnProps as ut, MenuItem as v, HotkeysProps as vn, ThemeFontWeightKey as vr, Heading as vt, TooltipDelayGroupProvider as w, GridItemColumn as wn, hslToRgb as wr, Flex as wt, MenuGroup as x, Radius as xn, ThemeShadow as xr, Grid as xt, MenuItemOwnProps as y, TextAlign as yn, ThemeFonts as yr, HeadingOwnProps as yt, StackProps as z, ComponentType as zn, ButtonProps as zt };
|
|
1451
1422
|
//# sourceMappingURL=useTheme.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.d.mts","names":[],"sources":["../../src/core/_compat.ts","../../src/core/types/avatar.ts","../../src/core/types/badge.ts","../../src/core/types/box.ts","../../src/core/types/button.ts","../../src/core/types/card.ts","../../src/core/types/component.ts","../../src/core/types/flex.ts","../../src/core/types/grid.ts","../../src/core/types/gridItem.ts","../../src/core/types/placement.ts","../../src/core/types/popover.ts","../../src/core/types/radius.ts","../../src/core/types/selectable.ts","../../src/core/types/text.ts","../../src/core/components/hotkeys/hotkeys.tsx","../../src/core/primitives/types.ts","../../src/core/components/menu/menu.tsx","../../src/core/components/menu/menuDivider.ts","../../src/core/primitives/avatar/avatar.tsx","../../src/core/primitives/avatar/avatarCounter.tsx","../../src/core/primitives/avatar/avatarStack.tsx","../../src/core/primitives/avatar/types.ts","../../src/core/primitives/box/box.tsx","../../src/core/primitives/badge/badge.tsx","../../src/core/primitives/button/button.tsx","../../src/core/primitives/card/card.tsx","../../src/core/primitives/card/types.ts","../../src/core/primitives/code/code.tsx","../../src/core/primitives/container/container.tsx","../../src/core/primitives/flex/flex.tsx","../../src/core/primitives/grid/grid.tsx","../../src/core/primitives/heading/heading.tsx","../../src/core/primitives/inline/inline.tsx","../../src/core/primitives/kbd/kbd.tsx","../../src/core/primitives/label/label.tsx","../../src/core/utils/arrow/arrow.tsx","../../src/core/utils/errorBoundary.tsx","../../src/core/utils/layer/layer.tsx","../../src/core/utils/layer/layerProvider.tsx","../../src/core/utils/portal/portal.ts","../../src/core/utils/portal/portalProvider.tsx","../../src/core/utils/virtualList/virtualList.tsx","../../src/core/primitives/popover/types.ts","../../src/core/primitives/popover/popover.tsx","../../src/core/primitives/select/select.tsx","../../src/core/primitives/spinner/spinner.tsx","../../src/core/primitives/stack/stack.tsx","../../src/core/primitives/text/text.tsx","../../src/core/primitives/textArea/textArea.tsx","../../src/core/primitives/textInput/textInput.tsx","../../src/core/primitives/tooltip/tooltip.tsx","../../src/core/primitives/tooltip/tooltipDelayGroup/tooltipDelayGroupProvider.tsx","../../src/core/components/menu/menuGroup.tsx","../../src/core/components/menu/menuItem.tsx","../../src/core/components/tab/tab.tsx","../../src/core/components/tab/tabList.tsx","../../src/core/helpers/element.ts","../../src/core/hooks/usePrefersDark.ts","../../src/core/theme/themeProvider.tsx","../../src/core/theme/useTheme.ts"],"mappings":";;;;;;KAyDY,YAAY;;;;;KAMZ,YAAY;;;;;KAMZ,MAAM;;;;;KAMN,MAAM;;;;;KAMN,YAAY;;;;;KAMZ,SAAS;;;;;KAMT,QAAQ;;;;;KAMR,0BAA0B;;;;;KAM1B,sBAAsB;;;;;KAMtB,mBAAmB;;;;;KAMnB,YAAY;;;;;KAMZ,eAAe;;;;;KAMf,gBAAgB;;;;;KAMhB,kBAAkB;;;;;KAMlB,qBAAqB;;;;;KAMrB,aAAa;;;;;KAMb,aAAa;;;;;KAMb,cAAc;;;;;cAgFb,yBAAgB;;;;;cAMhB,iBAAQ;;;;;cAMR,iBAAQ;;;;;cAMR,iBAAQ;;;;;cAMR,mBAAU;;;;;cAMV,iBAAQ;;;;;cAMR,iBAAQ;;;;;cAMR,aAAI;;;;;cAMJ,eAAM;;;;;cAMN,aAAW;;;;KClSZ;;;;KAKA;;;;KAKA;;;;;KCPA;;;;KAKA,YAAY;;;;KCRZ;;;;KAKA;;;;KAKA;;;;KAK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ElementType$1<P = any> = TagType | ComponentType<P>;
|
|
|
220
220
|
type Props<P extends EmptyProps, E extends ElementType$1<P>> = Assign<E extends TagType ? React.JSX.IntrinsicElements[E] : React.ComponentProps<E>, P & {
|
|
221
221
|
as?: E;
|
|
222
222
|
}>;
|
|
223
|
-
/**
|
|
224
|
-
* @public
|
|
225
|
-
*/
|
|
226
|
-
type DialogPosition = 'absolute' | 'fixed';
|
|
227
223
|
/**
|
|
228
224
|
* @public
|
|
229
225
|
*/
|
|
@@ -321,7 +317,7 @@ interface HotkeysProps {
|
|
|
321
317
|
*
|
|
322
318
|
* @public
|
|
323
319
|
*/
|
|
324
|
-
declare const Hotkeys: import("react").ForwardRefExoticComponent<HotkeysProps & Omit<import("react").HTMLProps<HTMLElement>, "as" | "
|
|
320
|
+
declare const Hotkeys: import("react").ForwardRefExoticComponent<HotkeysProps & Omit<import("react").HTMLProps<HTMLElement>, "as" | "size" | "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
325
321
|
/**
|
|
326
322
|
* @public
|
|
327
323
|
*/
|
|
@@ -497,7 +493,7 @@ interface MenuProps extends ResponsivePaddingProps {
|
|
|
497
493
|
*
|
|
498
494
|
* @public
|
|
499
495
|
*/
|
|
500
|
-
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>, "height" | "as" | "tabIndex" | "role">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
501
497
|
/**
|
|
502
498
|
* @public
|
|
503
499
|
*/
|
|
@@ -720,12 +716,6 @@ type ContainerProps<E extends ElementType$1 = 'div'> = Props<ContainerOwnProps,
|
|
|
720
716
|
* @public
|
|
721
717
|
*/
|
|
722
718
|
declare const Container: <E extends ElementType$1 = "div">(props: ContainerProps<E>) => React.JSX.Element;
|
|
723
|
-
/**
|
|
724
|
-
* @internal
|
|
725
|
-
*/
|
|
726
|
-
interface ResponsiveWidthStyleProps {
|
|
727
|
-
$width: (number | 'auto')[];
|
|
728
|
-
}
|
|
729
719
|
/**
|
|
730
720
|
* @public
|
|
731
721
|
*/
|
|
@@ -853,7 +843,7 @@ declare const Arrow: import("react").ForwardRefExoticComponent<Omit<{
|
|
|
853
843
|
width: number;
|
|
854
844
|
height: number;
|
|
855
845
|
radius?: number;
|
|
856
|
-
} & Omit<HTMLProps<HTMLDivElement>, "
|
|
846
|
+
} & Omit<HTMLProps<HTMLDivElement>, "width" | "height">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
857
847
|
/**
|
|
858
848
|
* DO NOT USE IN PRODUCTION
|
|
859
849
|
* @beta
|
|
@@ -995,16 +985,16 @@ interface PopoverProps extends Omit<LayerProps, 'as'>, ResponsiveRadiusProps, Re
|
|
|
995
985
|
boundaryElement?: HTMLElement | null;
|
|
996
986
|
children?: React.JSX.Element;
|
|
997
987
|
/**
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
988
|
+
* When `true`, prevent overflow within the current boundary:
|
|
989
|
+
* - by flipping on its side axis
|
|
990
|
+
* - by resizing
|
|
991
|
+
/*
|
|
992
|
+
* Note that:
|
|
993
|
+
* - setting `preventOverflow` to `true` also prevents overflow on its side axis
|
|
994
|
+
* - setting `matchReferenceWidth` to `true` also causes the popover to resize
|
|
995
|
+
*
|
|
996
|
+
* @defaultValue false
|
|
997
|
+
*/
|
|
1008
998
|
constrainSize?: boolean;
|
|
1009
999
|
content?: React.ReactNode;
|
|
1010
1000
|
disabled?: boolean;
|
|
@@ -1060,7 +1050,7 @@ interface PopoverProps extends Omit<LayerProps, 'as'>, ResponsiveRadiusProps, Re
|
|
|
1060
1050
|
*
|
|
1061
1051
|
* @public
|
|
1062
1052
|
*/
|
|
1063
|
-
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>, "width" | "as" | "content" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
1064
1054
|
/**
|
|
1065
1055
|
* @public
|
|
1066
1056
|
*/
|
|
@@ -1158,7 +1148,6 @@ interface TextAreaProps extends ResponsiveRadiusProps {
|
|
|
1158
1148
|
/**
|
|
1159
1149
|
* A multiline text input.
|
|
1160
1150
|
*
|
|
1161
|
-
|
|
1162
1151
|
* @public
|
|
1163
1152
|
*/
|
|
1164
1153
|
declare const TextArea: import("react").ForwardRefExoticComponent<Omit<TextAreaProps & Omit<import("react").HTMLProps<HTMLTextAreaElement>, "as">, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -1252,21 +1241,7 @@ interface TooltipProps extends Omit<LayerProps, 'as'> {
|
|
|
1252
1241
|
*
|
|
1253
1242
|
* @public
|
|
1254
1243
|
*/
|
|
1255
|
-
declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "
|
|
1256
|
-
/**
|
|
1257
|
-
* @beta
|
|
1258
|
-
*/
|
|
1259
|
-
interface TooltipDelayGroupContextValue {
|
|
1260
|
-
setIsGroupActive: (nextState: React.SetStateAction<boolean>, delay?: number | undefined) => void;
|
|
1261
|
-
setOpenTooltipId: (nextId: string | null, delay?: number | undefined) => void;
|
|
1262
|
-
openDelay: number;
|
|
1263
|
-
closeDelay: number;
|
|
1264
|
-
openTooltipId: string | null;
|
|
1265
|
-
}
|
|
1266
|
-
/**
|
|
1267
|
-
* @beta
|
|
1268
|
-
*/
|
|
1269
|
-
declare const TooltipDelayGroupContext: import("react").Context<TooltipDelayGroupContextValue | null>;
|
|
1244
|
+
declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "content" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
1270
1245
|
/**
|
|
1271
1246
|
* @public
|
|
1272
1247
|
* */
|
|
@@ -1292,10 +1267,6 @@ declare function TooltipDelayGroupProvider(props: TooltipDelayGroupProviderProps
|
|
|
1292
1267
|
declare namespace TooltipDelayGroupProvider {
|
|
1293
1268
|
var displayName: string;
|
|
1294
1269
|
}
|
|
1295
|
-
/**
|
|
1296
|
-
* @beta
|
|
1297
|
-
*/
|
|
1298
|
-
declare function useTooltipDelayGroup(): TooltipDelayGroupContextValue | null;
|
|
1299
1270
|
/**
|
|
1300
1271
|
* @public
|
|
1301
1272
|
*/
|
|
@@ -1368,7 +1339,7 @@ interface TabProps {
|
|
|
1368
1339
|
/**
|
|
1369
1340
|
* @public
|
|
1370
1341
|
*/
|
|
1371
|
-
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>, "width" | "as" | "label" | "type" | "id" | "aria-controls">, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
1372
1343
|
/**
|
|
1373
1344
|
* @public
|
|
1374
1345
|
*/
|
|
@@ -1378,7 +1349,7 @@ interface TabListProps extends Omit<InlineOwnProps, 'height'> {
|
|
|
1378
1349
|
/**
|
|
1379
1350
|
* @public
|
|
1380
1351
|
*/
|
|
1381
|
-
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>, "height" | "as">, "ref"> & import("react").RefAttributes<unknown>>;
|
|
1382
1353
|
/**
|
|
1383
1354
|
* @internal
|
|
1384
1355
|
*/
|
|
@@ -1447,5 +1418,5 @@ declare function useTheme(): Theme$1;
|
|
|
1447
1418
|
* @public
|
|
1448
1419
|
*/
|
|
1449
1420
|
declare function useTheme_v2(): Theme_v2;
|
|
1450
|
-
export {
|
|
1421
|
+
export { Portal as $, BadgeMode as $n, AvatarOwnProps as $t, TextInputProps as A, GridAutoCols as An, screen as Ar, Code as At, Spinner as B, ElementType$1 as Bn, Badge as Bt, MenuGroupProps as C, Placement as Cn, hexToRgb as Cr, GridProps as Ct, TooltipProps as D, GridItemRow as Dn, rgbToHex as Dr, Container as Dt, Tooltip as E, GridItemColumnStart as En, parseColor as Er, FlexProps as Et, TextOwnProps as F, FlexJustify as Fn, CardOwnProps as Ft, PopoverProps as G, ButtonMode as Gn, BoxProps as Gt, Select as H, Props as Hn, BadgeProps as Ht, TextProps as I, FlexValue as In, CardProps as It, VirtualList as J, ButtonWidth as Jn, AvatarStack as Jt, PopoverUpdateCallback as K, ButtonTextAlign as Kn, AvatarRootStyleProps as Kt, Stack as L, FlexWrap as Ln, Button as Lt, TextArea as M, GridAutoRows as Mn, CodeProps as Mt, TextAreaProps as N, FlexAlign as Nn, CardStyleProps as Nt, TextInput as O, GridItemRowEnd as On, rgbToHsl as Or, ContainerOwnProps as Ot, Text as P, FlexDirection as Pn, Card as Pt, PortalProviderProps as Q, BoxSizing as Qn, Avatar as Qt, StackOwnProps as R, Assign as Rn, ButtonOwnProps as Rt, MenuGroupOwnProps as S, PopoverMargins as Sn, createColorTheme as Sr, GridOwnProps as St, TooltipDelayGroupProviderProps as T, GridItemColumnEnd as Tn, multiply as Tr, FlexOwnProps as Tt, SelectProps as U, TagType as Un, Box as Ut, SpinnerProps as V, EmptyProps as Vn, BadgeOwnProps as Vt, Popover as W, CardTone as Wn, BoxOwnProps as Wt, VirtualListProps as X, BoxHeight as Xn, AvatarCounter as Xt, VirtualListChangeOpts as Y, BoxDisplay as Yn, AvatarStackProps as Yt, PortalProvider as Z, BoxOverflow as Zn, AvatarCounterProps as Zt, TabProps as _, Hotkeys as _n, ThemeFontWeight as _r, InlineProps as _t, usePrefersDark as a, Delay as an, BoxShadow as ar, ErrorBoundary as at, MenuItemProps as b, SelectableTone as bn, ThemeLayer as br, HeadingProps as bt, isHTMLAnchorElement as c, ResponsiveFlexItemProps as cn, RootTheme as cr, Arrow as ct, isHTMLInputElement as d, ResponsiveGridProps as dn, ThemeColorButtonModeKey as dr, LabelProps as dt, AvatarProps as en, BadgeTone as er, PortalProps as et, isHTMLSelectElement as f, ResponsiveMarginProps as fn, ThemeColorSchemeKey as fr, KBD as ft, Tab as g, ResponsiveWidthProps as gn, ThemeFontSize as gr, InlineOwnProps as gt, TabListProps as h, ResponsiveShadowProps as hn, ThemeFontKey as hr, Inline as ht, ThemeProviderProps as i, MenuProps as in, BaseTheme as ir, LayerProps as it, TextInputType as j, GridAutoFlow as jn, studioTheme as jr, CodeOwnProps as jt, TextInputClearButtonProps as k, GridItemRowStart as kn, rgba as kr, ContainerProps as kt, isHTMLButtonElement as l, ResponsiveFlexProps as ln, Styles as lr, Label as lt, TabList as m, ResponsiveRadiusProps as mn, ThemeFont as mr, KBDProps as mt, useTheme_v2 as n, MenuDividerProps as nn, AvatarSize as nr, LayerProviderProps as nt, _isEnterToClickElement as o, ResponsiveBorderProps as on, HSL as or, ErrorBoundaryProps as ot, isHTMLTextAreaElement as p, ResponsivePaddingProps as pn, ThemeColorSyntax as pr, KBDOwnProps as pt, PopoverWidth as q, ButtonTone as qn, ResponsiveAvatarSizeStyleProps as qt, ThemeProvider as r, Menu as rn, AvatarStatus as rr, Layer as rt, containsOrEqualsElement as s, ResponsiveBoxProps as sn, RGB as sr, ErrorBoundaryState as st, useTheme as t, MenuDivider as tn, AvatarPosition as tr, LayerProvider as tt, isHTMLElement as u, ResponsiveGridItemProps as un, Theme as ur, LabelOwnProps as ut, MenuItem as v, HotkeysProps as vn, ThemeFontWeightKey as vr, Heading as vt, TooltipDelayGroupProvider as w, GridItemColumn as wn, hslToRgb as wr, Flex as wt, MenuGroup as x, Radius as xn, ThemeShadow as xr, Grid as xt, MenuItemOwnProps as y, TextAlign as yn, ThemeFonts as yr, HeadingOwnProps as yt, StackProps as z, ComponentType as zn, ButtonProps as zt };
|
|
1451
1422
|
//# sourceMappingURL=useTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.d.ts","names":[],"sources":["../../src/core/_compat.ts","../../src/core/types/avatar.ts","../../src/core/types/badge.ts","../../src/core/types/box.ts","../../src/core/types/button.ts","../../src/core/types/card.ts","../../src/core/types/component.ts","../../src/core/types/flex.ts","../../src/core/types/grid.ts","../../src/core/types/gridItem.ts","../../src/core/types/placement.ts","../../src/core/types/popover.ts","../../src/core/types/radius.ts","../../src/core/types/selectable.ts","../../src/core/types/text.ts","../../src/core/components/hotkeys/hotkeys.tsx","../../src/core/primitives/types.ts","../../src/core/components/menu/menu.tsx","../../src/core/components/menu/menuDivider.ts","../../src/core/primitives/avatar/avatar.tsx","../../src/core/primitives/avatar/avatarCounter.tsx","../../src/core/primitives/avatar/avatarStack.tsx","../../src/core/primitives/avatar/types.ts","../../src/core/primitives/box/box.tsx","../../src/core/primitives/badge/badge.tsx","../../src/core/primitives/button/button.tsx","../../src/core/primitives/card/card.tsx","../../src/core/primitives/card/types.ts","../../src/core/primitives/code/code.tsx","../../src/core/primitives/container/container.tsx","../../src/core/primitives/flex/flex.tsx","../../src/core/primitives/grid/grid.tsx","../../src/core/primitives/heading/heading.tsx","../../src/core/primitives/inline/inline.tsx","../../src/core/primitives/kbd/kbd.tsx","../../src/core/primitives/label/label.tsx","../../src/core/utils/arrow/arrow.tsx","../../src/core/utils/errorBoundary.tsx","../../src/core/utils/layer/layer.tsx","../../src/core/utils/layer/layerProvider.tsx","../../src/core/utils/portal/portal.ts","../../src/core/utils/portal/portalProvider.tsx","../../src/core/utils/virtualList/virtualList.tsx","../../src/core/primitives/popover/types.ts","../../src/core/primitives/popover/popover.tsx","../../src/core/primitives/select/select.tsx","../../src/core/primitives/spinner/spinner.tsx","../../src/core/primitives/stack/stack.tsx","../../src/core/primitives/text/text.tsx","../../src/core/primitives/textArea/textArea.tsx","../../src/core/primitives/textInput/textInput.tsx","../../src/core/primitives/tooltip/tooltip.tsx","../../src/core/primitives/tooltip/tooltipDelayGroup/tooltipDelayGroupProvider.tsx","../../src/core/components/menu/menuGroup.tsx","../../src/core/components/menu/menuItem.tsx","../../src/core/components/tab/tab.tsx","../../src/core/components/tab/tabList.tsx","../../src/core/helpers/element.ts","../../src/core/hooks/usePrefersDark.ts","../../src/core/theme/themeProvider.tsx","../../src/core/theme/useTheme.ts"],"mappings":";;;;;;KAyDY,YAAY;;;;;KAMZ,YAAY;;;;;KAMZ,MAAM;;;;;KAMN,MAAM;;;;;KAMN,YAAY;;;;;KAMZ,SAAS;;;;;KAMT,QAAQ;;;;;KAMR,0BAA0B;;;;;KAM1B,sBAAsB;;;;;KAMtB,mBAAmB;;;;;KAMnB,YAAY;;;;;KAMZ,eAAe;;;;;KAMf,gBAAgB;;;;;KAMhB,kBAAkB;;;;;KAMlB,qBAAqB;;;;;KAMrB,aAAa;;;;;KAMb,aAAa;;;;;KAMb,cAAc;;;;;cAgFb,yBAAgB;;;;;cAMhB,iBAAQ;;;;;cAMR,iBAAQ;;;;;cAMR,iBAAQ;;;;;cAMR,mBAAU;;;;;cAMV,iBAAQ;;;;;cAMR,iBAAQ;;;;;cAMR,aAAI;;;;;cAMJ,eAAM;;;;;cAMN,aAAW;;;;KClSZ;;;;KAKA;;;;KAKA;;;;;KCPA;;;;KAKA,YAAY;;;;KCRZ;;;;KAKA;;;;KAKA;;;;KAKA;;;;KCbA,aAAa;;;;KAKb;;;;KAKA,aAAa;;;;KAKb;;;;KCfA,WAAW;;;;;;KCAX,OAAO,kBAAkB,oBAAoB,KAAK,SAAS,KAAK;;KAGhE;;KAGA,gBAAgB,MAAM,IAAI;;KAG1B,cAAc,WACtB,MAAM,kBAAkB,KACxB,MAAM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UCnNE,yBAAyB,wBAAwB;EAChE;EACA;EAEA,OAAO,MAAM,cAAc,MAAM;EAEjC,YAAY,MAAM,cAAc,MAAM;EACtC;EACA;EACA;;;;EAIA;EACA,OAAO,MAAM;EACb,OAAO;;;;;KAMG,cAAc,UAAU,4BAA0B,MAAM,kBAAkB;;;;cAwJzE,WAA4C,UAAU,0BACjE,OAAO,cAAc,OAClB,MAAM,IAAI;;;;UC/LE;;;;EAIf;EACA;EAEA,SAAS,MAAM,cAAc,MAAM;EACnC;EACA;EACA,UAAU,MAAM;EAChB;EACA;EACA,SAAS;;;;;cAUE,qBAAG,0BAAA,KAAA,WAAA,qBAAA,UAAA,0GAAA,cAAA;;;;UCxBC,qBAAqB,KAAK;EACzC,UAAU,MAAM,MAAM,IAAI;;;;;cAgBf,yBAAO,0BAAA,KAAA,eAAA,qBAAA,UAAA,4DAAA;;;;iBCtBJ,uBAAuB,SAAS;;;;iBAOhC,cAAc,gBAAgB,QAAQ;;;;iBAOtC,oBAAoB,mBAAmB,WAAW;;;;iBAOlD,mBAAmB,mBAAmB,WAAW;;;;iBAOjD,oBAAoB,mBAAmB,WAAW;;;;iBAOlD,oBAAoB,mBAAmB,WAAW;;;;iBAOlD,sBAAsB,mBAAmB,WAAW;;;;iBAOpD,wBAAwB,SAAS,aAAa,MAAM;;;;;;;;;;;;iBCvCpD,eAAe;;;;UCGd;EACf,WAAW,MAAM;EACjB,SAAS;EACT,QAAQ;EACR,OAAO;;;;;iBAMO,cAAc,OAAO,qBAAqB,MAAM,IAAI;kBAApD;MAAA;;;;;iBCpBA,YAAY;;;;iBAQZ,eAAe"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { B as
|
|
1
|
+
import { $ as Portal, B as Spinner, E as Tooltip, L as Stack, Lt as Button, O as TextInput, P as Text, Pt as Card, Sn as PopoverMargins, Ut as Box, W as Popover, Z as PortalProvider, _n as Hotkeys, a as usePrefersDark, b as MenuItemProps, c as isHTMLAnchorElement, g as Tab, jr as studioTheme, m as TabList, n as useTheme_v2, r as ThemeProvider, rn as Menu, tn as MenuDivider, tt as LayerProvider, u as isHTMLElement, v as MenuItem, wt as Flex, x as MenuGroup, xt as Grid } from "./_chunks/useTheme.mjs";
|
|
2
2
|
export { Box, Button, Card, Flex, Grid, Hotkeys, LayerProvider, Menu, MenuDivider, MenuGroup, MenuItem, type MenuItemProps, Popover, type PopoverMargins, Portal, PortalProvider, Spinner, Stack, Tab, TabList, Text, TextInput, ThemeProvider, Tooltip, isHTMLAnchorElement, isHTMLElement, studioTheme, usePrefersDark, useTheme_v2 };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { B as
|
|
1
|
+
import { $ as Portal, B as Spinner, E as Tooltip, L as Stack, Lt as Button, O as TextInput, P as Text, Pt as Card, Sn as PopoverMargins, Ut as Box, W as Popover, Z as PortalProvider, _n as Hotkeys, a as usePrefersDark, b as MenuItemProps, c as isHTMLAnchorElement, g as Tab, jr as studioTheme, m as TabList, n as useTheme_v2, r as ThemeProvider, rn as Menu, tn as MenuDivider, tt as LayerProvider, u as isHTMLElement, v as MenuItem, wt as Flex, x as MenuGroup, xt as Grid } from "./_chunks/useTheme.js";
|
|
2
2
|
export { Box, Button, Card, Flex, Grid, Hotkeys, LayerProvider, Menu, MenuDivider, MenuGroup, MenuItem, type MenuItemProps, Popover, type PopoverMargins, Portal, PortalProvider, Spinner, Stack, Tab, TabList, Text, TextInput, ThemeProvider, Tooltip, isHTMLAnchorElement, isHTMLElement, studioTheme, usePrefersDark, useTheme_v2 };
|
package/dist/_visual-editing.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_tabList = require("./tabList.js");
|
|
2
|
+
const require_tabList = require("./_chunks/tabList.js");
|
|
3
3
|
exports.Box = require_tabList.W, exports.Button = require_tabList.z, exports.Card = require_tabList.R, exports.Flex = require_tabList.H, exports.Grid = require_tabList.D, exports.Hotkeys = require_tabList.s, exports.LayerProvider = require_tabList.b, exports.Menu = require_tabList.o, 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.Spinner = require_tabList.V, exports.Stack = require_tabList.p, exports.Tab = require_tabList.n, exports.TabList = require_tabList.t, exports.Text = require_tabList.U, exports.TextInput = require_tabList.f, exports.ThemeProvider = require_tabList.ot, exports.Tooltip = require_tabList.c, exports.isHTMLAnchorElement = require_tabList.vt, exports.isHTMLElement = require_tabList.bt, exports.studioTheme = require_tabList.Ft, exports.usePrefersDark = require_tabList.k, exports.useTheme_v2 = require_tabList.rt;
|
package/dist/_visual-editing.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { D as Grid, Ft as studioTheme, H as Flex, R as Card, U as Text, V as Spinner, W as Box, a as MenuDivider, b as LayerProvider, bt as isHTMLElement, c as Tooltip, f as TextInput, g as Portal, h as PortalProvider, i as MenuGroup, k as usePrefersDark, m as Popover, n as Tab, o as Menu, ot as ThemeProvider, p as Stack, r as MenuItem, rt as useTheme_v2, s as Hotkeys, t as TabList, vt as isHTMLAnchorElement, z as Button } from "./tabList.mjs";
|
|
1
|
+
import { D as Grid, Ft as studioTheme, H as Flex, R as Card, U as Text, V as Spinner, W as Box, a as MenuDivider, b as LayerProvider, bt as isHTMLElement, c as Tooltip, f as TextInput, g as Portal, h as PortalProvider, i as MenuGroup, k as usePrefersDark, m as Popover, n as Tab, o as Menu, ot as ThemeProvider, p as Stack, r as MenuItem, rt as useTheme_v2, s as Hotkeys, t as TabList, vt as isHTMLAnchorElement, z as Button } from "./_chunks/tabList.mjs";
|
|
2
2
|
export { Box, Button, Card, Flex, Grid, Hotkeys, LayerProvider, Menu, MenuDivider, MenuGroup, MenuItem, Popover, Portal, PortalProvider, Spinner, Stack, Tab, TabList, Text, TextInput, ThemeProvider, Tooltip, isHTMLAnchorElement, isHTMLElement, studioTheme, usePrefersDark, useTheme_v2 };
|
package/dist/index.d.mts
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.mjs";
|
|
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.mjs";
|
|
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.mjs";
|
|
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
|
*/
|