@sanity/ui 2.9.0-corel.0 → 3.0.0-static.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/ui.js +6 -0
- package/dist/_chunks-cjs/buildCommand.js +2836 -0
- package/dist/_chunks-cjs/buildCommand.js.map +1 -0
- package/dist/_chunks-cjs/getTheme_v2.js +1 -27
- package/dist/_chunks-cjs/getTheme_v2.js.map +1 -1
- package/dist/_chunks-es/getTheme_v2.mjs +1 -27
- package/dist/_chunks-es/getTheme_v2.mjs.map +1 -1
- package/dist/_legacy/getTheme_v2.esm.js +1 -27
- package/dist/_legacy/getTheme_v2.esm.js.map +1 -1
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +23 -0
- package/dist/cli.js.map +1 -0
- package/dist/css.d.mts +943 -0
- package/dist/css.d.ts +943 -0
- package/dist/css.esm.js +3135 -0
- package/dist/css.esm.js.map +1 -0
- package/dist/css.js +3135 -0
- package/dist/css.js.map +1 -0
- package/dist/css.mjs +3135 -0
- package/dist/css.mjs.map +1 -0
- package/dist/index.d.mts +175 -164
- package/dist/index.d.ts +175 -164
- package/dist/index.esm.js +864 -1955
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +870 -1962
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +864 -1955
- package/dist/index.mjs.map +1 -1
- package/dist/sanity-theme.css +25 -0
- package/dist/system.css +2953 -0
- package/dist/theme.d.mts +84 -22
- package/dist/theme.d.ts +84 -22
- package/dist/theme.esm.js +232 -283
- package/dist/theme.esm.js.map +1 -1
- package/dist/theme.js +232 -283
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +232 -283
- package/dist/theme.mjs.map +1 -1
- package/exports/css.ts +1 -0
- package/package.json +25 -4
- package/src/core/__workshop__/constants.ts +15 -15
- package/src/core/__workshop__/fontsPlugin.tsx +1 -1
- package/src/core/components/autocomplete/autocomplete.styles.tsx +1 -1
- package/src/core/components/autocomplete/autocomplete.tsx +12 -4
- package/src/core/components/breadcrumbs/__workshop__/example.tsx +1 -3
- package/src/core/components/breadcrumbs/__workshop__/index.ts +0 -5
- package/src/core/components/breadcrumbs/breadcrumbs.styles.ts +14 -2
- package/src/core/components/breadcrumbs/breadcrumbs.tsx +14 -9
- package/src/core/components/dialog/__workshop__/panes.tsx +1 -1
- package/src/core/components/dialog/dialog.tsx +77 -92
- package/src/core/components/hotkeys/hotkeys.tsx +18 -29
- package/src/core/components/menu/menu.tsx +8 -5
- package/src/core/components/menu/menuDivider.ts +2 -1
- package/src/core/components/menu/menuGroup.tsx +16 -8
- package/src/core/components/menu/menuItem.tsx +23 -14
- package/src/core/components/skeleton/skeleton.tsx +1 -1
- package/src/core/components/skeleton/styles.ts +1 -1
- package/src/core/components/skeleton/textSkeleton.tsx +1 -1
- package/src/core/components/tab/tab.tsx +6 -7
- package/src/core/components/tab/tabList.tsx +3 -2
- package/src/core/components/toast/styles.ts +1 -1
- package/src/core/components/toast/toast.tsx +6 -4
- package/src/core/components/toast/toastProvider.tsx +31 -22
- package/src/core/components/tree/style.ts +1 -1
- package/src/core/components/tree/tree.tsx +8 -2
- package/src/core/components/tree/treeGroup.tsx +1 -1
- package/src/core/components/tree/treeItem.tsx +38 -25
- package/src/core/components/tree/types.ts +5 -1
- package/src/core/lib/styled/elements.ts +135 -0
- package/src/core/lib/styled/index.ts +2 -0
- package/src/core/lib/styled/members.ts +15 -0
- package/src/core/lib/styled/styled.ts +79 -0
- package/src/core/primitives/_selectable/selectable.tsx +27 -14
- package/src/core/primitives/avatar/avatar.tsx +52 -32
- package/src/core/primitives/avatar/avatarCounter.tsx +1 -1
- package/src/core/primitives/avatar/avatarStack.tsx +1 -1
- package/src/core/primitives/badge/__workshop__/tones.tsx +9 -16
- package/src/core/primitives/badge/badge.tsx +18 -20
- package/src/core/primitives/box/box.tsx +62 -74
- package/src/core/primitives/button/__workshop__/props.tsx +3 -1
- package/src/core/primitives/button/__workshop__/sanityUploadButton.tsx +1 -1
- package/src/core/primitives/button/__workshop__/styled1.tsx +1 -1
- package/src/core/primitives/button/__workshop__/styled2.tsx +1 -1
- package/src/core/primitives/button/button.tsx +38 -45
- package/src/core/primitives/button/styles.ts +2 -2
- package/src/core/primitives/card/RootCardContext.ts +3 -0
- package/src/core/primitives/card/__workshop__/selected.tsx +1 -1
- package/src/core/primitives/card/__workshop__/styled.tsx +1 -1
- package/src/core/primitives/card/card.tsx +44 -46
- package/src/core/primitives/card/styles.ts +1 -1
- package/src/core/primitives/checkbox/checkbox.tsx +6 -8
- package/src/core/primitives/code/code.tsx +23 -12
- package/src/core/primitives/code/styles.ts +1 -1
- package/src/core/primitives/container/container.tsx +7 -15
- package/src/core/primitives/flex/__workshop__/example.tsx +1 -1
- package/src/core/primitives/flex/flex.tsx +6 -19
- package/src/core/primitives/grid/grid.tsx +2 -1
- package/src/core/primitives/heading/heading.tsx +32 -19
- package/src/core/primitives/heading/styles.ts +1 -1
- package/src/core/primitives/inline/inline.tsx +22 -13
- package/src/core/primitives/kbd/kbd.tsx +30 -37
- package/src/core/primitives/label/label.tsx +15 -4
- package/src/core/primitives/label/styles.ts +1 -1
- package/src/core/primitives/popover/__workshop__/RecursiveStory.tsx +0 -1
- package/src/core/primitives/popover/popover.tsx +21 -15
- package/src/core/primitives/popover/popoverCard.tsx +36 -38
- package/src/core/primitives/radio/radio.tsx +1 -1
- package/src/core/primitives/radio/styles.ts +1 -1
- package/src/core/primitives/select/select.tsx +1 -1
- package/src/core/primitives/select/styles.ts +1 -1
- package/src/core/primitives/spinner/spinner.tsx +6 -20
- package/src/core/primitives/stack/stack.tsx +12 -10
- package/src/core/primitives/switch/styles.ts +9 -9
- package/src/core/primitives/switch/switch.tsx +20 -21
- package/src/core/primitives/text/__workshop__/colored.tsx +1 -1
- package/src/core/primitives/text/styles.ts +1 -2
- package/src/core/primitives/text/text.tsx +17 -21
- package/src/core/primitives/textArea/textArea.tsx +1 -1
- package/src/core/primitives/textInput/__workshop__/plain.tsx +1 -1
- package/src/core/primitives/textInput/textInput.tsx +176 -123
- package/src/core/primitives/tooltip/tooltip.test.tsx +1 -0
- package/src/core/primitives/tooltip/tooltip.tsx +13 -13
- package/src/core/primitives/tooltip/tooltipCard.tsx +15 -14
- package/src/core/primitives/types.ts +35 -16
- package/src/core/styles/border/borderStyle.ts +6 -0
- package/src/core/styles/border/types.ts +1 -0
- package/src/core/styles/box/boxStyle.ts +6 -0
- package/src/core/styles/card/_cardColorStyle.ts +0 -8
- package/src/core/styles/flex/flexStyle.ts +0 -18
- package/src/core/styles/flex/types.ts +1 -3
- package/src/core/styles/grid/gridStyle.ts +0 -10
- package/src/core/styles/helpers.ts +9 -0
- package/src/core/styles/input/textInputStyle.ts +1 -1
- package/src/core/theme/__workshop__/build/Root.tsx +1 -1
- package/src/core/theme/themeProvider.tsx +1 -1
- package/src/core/theme/useTheme.ts +1 -1
- package/src/core/types/avatar.ts +6 -1
- package/src/core/types/button.ts +1 -0
- package/src/core/types/flex.ts +27 -26
- package/src/core/types/gridItem.ts +32 -24
- package/src/core/types/radius.ts +7 -4
- package/src/core/utils/arrow/arrow.tsx +1 -1
- package/src/core/utils/elementQuery/__workshop__/customMedia.tsx +1 -1
- package/src/core/utils/layer/layer.tsx +28 -11
- package/src/core/utils/srOnly/srOnly.tsx +1 -1
- package/src/core/utils/virtualList/virtualList.tsx +1 -1
- package/src/css/_resp.ts +28 -0
- package/src/css/cli/buildCommand.ts +36 -0
- package/src/css/cli/index.ts +38 -0
- package/src/css/compile/comileRules.ts +59 -0
- package/src/css/compile/compileRule.ts +58 -0
- package/src/css/compile/compileSystem.ts +7 -0
- package/src/css/compile/compileTheme.ts +509 -0
- package/src/css/components/breadcrumbs/breadcrumbs.ts +5 -0
- package/src/css/components/breadcrumbs/index.ts +1 -0
- package/src/css/components/breadcrumbs/rules.ts +7 -0
- package/src/css/components/dialog/classes.ts +29 -0
- package/src/css/components/dialog/index.ts +1 -0
- package/src/css/components/dialog/rules.ts +75 -0
- package/src/css/components/tree/index.ts +1 -0
- package/src/css/components/tree/rules.ts +52 -0
- package/src/css/components/tree/tree.ts +5 -0
- package/src/css/composeClassNames.ts +3 -0
- package/src/css/index.ts +47 -0
- package/src/css/primitives/avatar/avatar.ts +32 -0
- package/src/css/primitives/avatar/index.ts +2 -0
- package/src/css/primitives/avatar/rules.ts +190 -0
- package/src/css/primitives/avatar/types.ts +9 -0
- package/src/css/primitives/badge/badge.ts +8 -0
- package/src/css/primitives/badge/index.ts +2 -0
- package/src/css/primitives/badge/rules.ts +25 -0
- package/src/css/primitives/badge/types.ts +8 -0
- package/src/css/primitives/box/box.ts +34 -0
- package/src/css/primitives/box/index.ts +2 -0
- package/src/css/primitives/box/rules.ts +25 -0
- package/src/css/primitives/box/types.ts +49 -0
- package/src/css/primitives/button/button.ts +26 -0
- package/src/css/primitives/button/index.ts +1 -0
- package/src/css/primitives/button/rules.ts +58 -0
- package/src/css/primitives/card/card.ts +21 -0
- package/src/css/primitives/card/index.ts +1 -0
- package/src/css/primitives/card/rules.ts +93 -0
- package/src/{core/primitives/checkbox/styles.ts → css/primitives/checkbox/__styles.ts} +3 -3
- package/src/css/primitives/checkbox/checkbox.ts +9 -0
- package/src/css/primitives/checkbox/index.ts +1 -0
- package/src/css/primitives/checkbox/rules.ts +136 -0
- package/src/css/primitives/code/code.ts +9 -0
- package/src/css/primitives/code/index.ts +2 -0
- package/src/css/primitives/code/rules.ts +71 -0
- package/src/css/primitives/code/types.ts +10 -0
- package/src/css/primitives/container/container.ts +7 -0
- package/src/css/primitives/container/index.ts +2 -0
- package/src/css/primitives/container/rules.ts +8 -0
- package/src/css/primitives/container/types.ts +6 -0
- package/src/css/primitives/heading/heading.ts +16 -0
- package/src/css/primitives/heading/index.ts +2 -0
- package/src/css/primitives/heading/rules.ts +84 -0
- package/src/css/primitives/heading/types.ts +12 -0
- package/src/css/primitives/kbd/index.ts +2 -0
- package/src/css/primitives/kbd/kbd.ts +7 -0
- package/src/css/primitives/kbd/rules.ts +20 -0
- package/src/css/primitives/kbd/types.ts +5 -0
- package/src/css/primitives/label/index.ts +2 -0
- package/src/css/primitives/label/label.ts +16 -0
- package/src/css/primitives/label/rules.ts +85 -0
- package/src/css/primitives/label/types.ts +12 -0
- package/src/css/primitives/popover/index.ts +1 -0
- package/src/css/primitives/popover/popover.ts +5 -0
- package/src/css/primitives/popover/rules.ts +5 -0
- package/src/css/primitives/radio/index.ts +1 -0
- package/src/css/primitives/radio/radio.ts +5 -0
- package/src/css/primitives/radio/rules.ts +5 -0
- package/src/css/primitives/select/index.ts +1 -0
- package/src/css/primitives/select/rules.ts +5 -0
- package/src/css/primitives/select/select.ts +5 -0
- package/src/{core/primitives/_selectable/style.ts → css/primitives/selectable/__style.ts} +5 -4
- package/src/css/primitives/selectable/index.ts +2 -0
- package/src/css/primitives/selectable/rules.ts +27 -0
- package/src/css/primitives/selectable/selectable.ts +9 -0
- package/src/css/primitives/selectable/types.ts +6 -0
- package/src/css/primitives/spinner/index.ts +1 -0
- package/src/css/primitives/spinner/rules.ts +22 -0
- package/src/css/primitives/spinner/spinner.ts +5 -0
- package/src/css/primitives/switch/index.ts +1 -0
- package/src/css/primitives/switch/rules.ts +132 -0
- package/src/css/primitives/switch/switch.ts +5 -0
- package/src/css/primitives/text/index.ts +2 -0
- package/src/css/primitives/text/rules.ts +75 -0
- package/src/css/primitives/text/text.ts +16 -0
- package/src/css/primitives/text/types.ts +11 -0
- package/src/css/primitives/textArea/index.ts +1 -0
- package/src/css/primitives/textArea/rules.ts +5 -0
- package/src/css/primitives/textArea/textArea.ts +5 -0
- package/src/css/primitives/textInput/index.ts +1 -0
- package/src/css/primitives/textInput/rules.ts +226 -0
- package/src/css/primitives/textInput/textInput.ts +7 -0
- package/src/css/primitives/token/rules.ts +45 -0
- package/src/css/primitives/tooltip/index.ts +1 -0
- package/src/css/primitives/tooltip/rules.ts +17 -0
- package/src/css/primitives/tooltip/tooltip.ts +9 -0
- package/src/css/responsiveRules.ts +25 -0
- package/src/css/rules.ts +121 -0
- package/src/css/styles/border/border.ts +22 -0
- package/src/css/styles/border/index.ts +2 -0
- package/src/css/styles/border/rules.ts +24 -0
- package/src/css/styles/border/types.ts +10 -0
- package/src/css/styles/display/rules.ts +62 -0
- package/src/css/styles/flex/flex.ts +20 -0
- package/src/css/styles/flex/index.ts +2 -0
- package/src/css/styles/flex/rules.ts +28 -0
- package/src/css/styles/flex/types.ts +35 -0
- package/src/css/styles/flexItem/flexItem.ts +8 -0
- package/src/css/styles/flexItem/index.ts +2 -0
- package/src/css/styles/flexItem/rules.ts +11 -0
- package/src/css/styles/flexItem/types.ts +11 -0
- package/src/css/styles/font/font.ts +12 -0
- package/src/css/styles/font/index.ts +2 -0
- package/src/css/styles/font/rules.ts +125 -0
- package/src/css/styles/font/types.ts +6 -0
- package/src/css/styles/gap/gap.ts +8 -0
- package/src/css/styles/gap/index.ts +2 -0
- package/src/css/styles/gap/rules.ts +33 -0
- package/src/css/styles/gap/types.ts +9 -0
- package/src/css/styles/grid/rules.ts +35 -0
- package/src/css/styles/gridItem/gridItem.ts +15 -0
- package/src/css/styles/gridItem/index.ts +2 -0
- package/src/css/styles/gridItem/rules.ts +96 -0
- package/src/css/styles/gridItem/types.ts +41 -0
- package/src/css/styles/height/rules.ts +7 -0
- package/src/css/styles/margin/index.ts +2 -0
- package/src/css/styles/margin/margin.ts +15 -0
- package/src/css/styles/margin/rules.ts +59 -0
- package/src/css/styles/margin/types.ts +11 -0
- package/src/css/styles/maxWidth/index.ts +2 -0
- package/src/css/styles/maxWidth/maxWidth.ts +6 -0
- package/src/css/styles/maxWidth/rules.ts +36 -0
- package/src/css/styles/maxWidth/types.ts +6 -0
- package/src/css/styles/overflow/rules.ts +9 -0
- package/src/css/styles/padding/index.ts +2 -0
- package/src/css/styles/padding/padding.ts +15 -0
- package/src/css/styles/padding/rules.ts +59 -0
- package/src/css/styles/padding/types.ts +12 -0
- package/src/css/styles/pointerEvents/index.ts +2 -0
- package/src/css/styles/pointerEvents/pointerEvents.ts +6 -0
- package/src/css/styles/pointerEvents/rules.ts +11 -0
- package/src/css/styles/pointerEvents/types.ts +7 -0
- package/src/css/styles/position/index.ts +2 -0
- package/src/css/styles/position/position.ts +7 -0
- package/src/css/styles/position/rules.ts +31 -0
- package/src/css/styles/position/types.ts +13 -0
- package/src/css/styles/radius/index.ts +2 -0
- package/src/css/styles/radius/radius.ts +8 -0
- package/src/css/styles/radius/rules.ts +13 -0
- package/src/css/styles/radius/types.ts +7 -0
- package/src/css/styles/shadow/rules.ts +53 -0
- package/src/css/styles/width/index.ts +2 -0
- package/src/css/styles/width/rules.ts +7 -0
- package/src/css/styles/width/types.ts +8 -0
- package/src/css/styles/width/width.ts +6 -0
- package/src/css/types.ts +591 -0
- package/src/css/varNames.ts +381 -0
- package/src/css/vars.ts +313 -0
- package/src/theme/build/_deprecated/color/factory.ts +1 -1
- package/src/theme/build/_deprecated/color/muted/createMuted.ts +2 -2
- package/src/theme/build/buildColorTheme.ts +39 -45
- package/src/theme/build/renderColorTheme.ts +65 -239
- package/src/theme/build/resolveColorTokens.ts +115 -51
- package/src/theme/config/tokens/color/types.ts +18 -4
- package/src/theme/defaults/colorTokens.ts +10 -17
- package/src/theme/defaults/config.ts +1 -1
- package/src/theme/getScopedTheme.ts +2 -9
- package/src/theme/system/_constants.ts +25 -0
- package/src/theme/system/_types.ts +41 -0
- package/src/theme/system/color/_constants.ts +0 -8
- package/src/theme/system/color/badge.ts +7 -3
- package/src/theme/system/index.ts +2 -0
- package/src/theme/system/v0/color/_system.ts +4 -8
- package/src/theme/system/v0/color/color.ts +2 -3
- package/src/theme/versioning/themeColor_v0_v2.ts +0 -26
- package/src/theme/versioning/v0_v2.ts +0 -4
- package/src/core/components/breadcrumbs/__workshop__/buttons.tsx +0 -58
- package/src/core/components/dialog/styles.ts +0 -76
package/dist/css.d.ts
ADDED
|
@@ -0,0 +1,943 @@
|
|
|
1
|
+
import {AvatarPosition} from '@sanity/ui'
|
|
2
|
+
import {AvatarSize} from '@sanity/ui/theme'
|
|
3
|
+
import {ButtonMode} from '@sanity/ui'
|
|
4
|
+
import {ButtonTone} from '@sanity/ui'
|
|
5
|
+
import {ContainerWidth} from '@sanity/ui/theme'
|
|
6
|
+
import * as CSS_2 from 'csstype'
|
|
7
|
+
import {FontCodeSize} from '@sanity/ui/theme'
|
|
8
|
+
import {FontHeadingSize} from '@sanity/ui/theme'
|
|
9
|
+
import {FontLabelSize} from '@sanity/ui/theme'
|
|
10
|
+
import {FontStyleProps as FontStyleProps_2} from '@sanity/ui/css'
|
|
11
|
+
import {FontTextSize} from '@sanity/ui/theme'
|
|
12
|
+
import {FontWeight} from '@sanity/ui/theme'
|
|
13
|
+
import {Radius} from '@sanity/ui/theme'
|
|
14
|
+
import {RadiusStyleProps as RadiusStyleProps_2} from '@sanity/ui/css'
|
|
15
|
+
import {RootTheme_v2} from '@sanity/ui/theme'
|
|
16
|
+
import {SelectableTone} from '@sanity/ui'
|
|
17
|
+
import {Shadow} from '@sanity/ui/theme'
|
|
18
|
+
import {Space} from '@sanity/ui/theme'
|
|
19
|
+
import {ThemeColorAvatarColorKey} from '@sanity/ui/theme'
|
|
20
|
+
import {ThemeColorButtonModeKey} from '@sanity/ui/theme'
|
|
21
|
+
import {ThemeColorCardToneKey} from '@sanity/ui/theme'
|
|
22
|
+
import {ThemeColorInputModeKey} from '@sanity/ui/theme'
|
|
23
|
+
import {ThemeColorInputStateKey} from '@sanity/ui/theme'
|
|
24
|
+
import {ThemeColorSchemeKey} from '@sanity/ui/theme'
|
|
25
|
+
import {ThemeColorStateKey} from '@sanity/ui/theme'
|
|
26
|
+
import {ThemeColorStateToneKey} from '@sanity/ui/theme'
|
|
27
|
+
import {WidthStyleProps as WidthStyleProps_2} from '@sanity/ui/css'
|
|
28
|
+
|
|
29
|
+
export declare function avatar(props: AvatarStyleProps): string
|
|
30
|
+
|
|
31
|
+
export declare function avatarArrow(): string
|
|
32
|
+
|
|
33
|
+
export declare function avatarBgStroke(): string
|
|
34
|
+
|
|
35
|
+
export declare function avatarImage(): string
|
|
36
|
+
|
|
37
|
+
export declare function avatarInitials(): string
|
|
38
|
+
|
|
39
|
+
export declare function avatarStroke(): string
|
|
40
|
+
|
|
41
|
+
export declare interface AvatarStyleProps {
|
|
42
|
+
color: ThemeColorAvatarColorKey
|
|
43
|
+
size: ResponsiveProp<AvatarSize>
|
|
44
|
+
arrowPosition?: AvatarPosition
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/** @public */
|
|
48
|
+
export declare function badge(props: BadgeStyleProps): string
|
|
49
|
+
|
|
50
|
+
/** @public */
|
|
51
|
+
export declare interface BadgeStyleProps extends RadiusStyleProps_2 {
|
|
52
|
+
tone: ThemeColorStateToneKey
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/** @public */
|
|
56
|
+
export declare interface BorderStyleProps {
|
|
57
|
+
border?: ResponsiveProp<boolean>
|
|
58
|
+
borderTop?: ResponsiveProp<boolean>
|
|
59
|
+
borderRight?: ResponsiveProp<boolean>
|
|
60
|
+
borderBottom?: ResponsiveProp<boolean>
|
|
61
|
+
borderLeft?: ResponsiveProp<boolean>
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/** @public */
|
|
65
|
+
export declare function box(props: BoxStyleProps): string
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare type BoxDisplay = 'none' | 'block' | 'grid' | 'flex' | 'inline-block'
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare type BoxHeight = 'stretch' | 'fill'
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare type BoxOverflow = 'visible' | 'hidden' | 'auto'
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare type BoxSizing = 'content' | 'border'
|
|
86
|
+
|
|
87
|
+
/** @public */
|
|
88
|
+
export declare interface BoxStyleProps
|
|
89
|
+
extends FlexStyleProps,
|
|
90
|
+
FlexItemStyleProps,
|
|
91
|
+
GapStyleProps,
|
|
92
|
+
GridItemStyleProps,
|
|
93
|
+
MarginStyleProps,
|
|
94
|
+
MaxWidthStyleProps,
|
|
95
|
+
PaddingStyleProps,
|
|
96
|
+
PointerEventsStyleProps,
|
|
97
|
+
PositionStyleProps,
|
|
98
|
+
WidthStyleProps {
|
|
99
|
+
display?: ResponsiveProp<BoxDisplay>
|
|
100
|
+
height?: ResponsiveProp<BoxHeight>
|
|
101
|
+
overflow?: ResponsiveProp<BoxOverflow>
|
|
102
|
+
sizing?: ResponsiveProp<BoxSizing>
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export declare function breadcrumbs(): string
|
|
106
|
+
|
|
107
|
+
export declare function button(props: ButtonStyleProps): string
|
|
108
|
+
|
|
109
|
+
export declare function buttonLoadingBox(): string
|
|
110
|
+
|
|
111
|
+
export declare interface ButtonStyleProps extends RadiusStyleProps, WidthStyleProps_2 {
|
|
112
|
+
mode?: ButtonMode
|
|
113
|
+
tone?: ButtonTone
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export declare function card(props: CardStyleProps): string
|
|
117
|
+
|
|
118
|
+
export declare type CardScopedVarName =
|
|
119
|
+
| `--color-accent-fg`
|
|
120
|
+
| `--color-avatar-${ThemeColorAvatarColorKey}-bg`
|
|
121
|
+
| `--color-avatar-${ThemeColorAvatarColorKey}-fg`
|
|
122
|
+
| `--color-backdrop`
|
|
123
|
+
| `--color-badge-bg`
|
|
124
|
+
| `--color-badge-dot`
|
|
125
|
+
| `--color-badge-fg`
|
|
126
|
+
| `--color-badge-icon`
|
|
127
|
+
| `--color-badge-${ThemeColorStateToneKey}-bg`
|
|
128
|
+
| `--color-badge-${ThemeColorStateToneKey}-dot`
|
|
129
|
+
| `--color-badge-${ThemeColorStateToneKey}-fg`
|
|
130
|
+
| `--color-badge-${ThemeColorStateToneKey}-icon`
|
|
131
|
+
| `--color-bg`
|
|
132
|
+
| `--color-border`
|
|
133
|
+
| `--color-code-bg`
|
|
134
|
+
| `--color-code-fg`
|
|
135
|
+
| `--color-fg`
|
|
136
|
+
| `--color-focus-ring`
|
|
137
|
+
| `--color-icon`
|
|
138
|
+
| `--color-input-${ThemeColorInputModeKey}-${ThemeColorInputStateKey}-bg`
|
|
139
|
+
| `--color-input-${ThemeColorInputModeKey}-${ThemeColorInputStateKey}-border`
|
|
140
|
+
| `--color-input-${ThemeColorInputModeKey}-${ThemeColorInputStateKey}-fg`
|
|
141
|
+
| `--color-input-${ThemeColorInputModeKey}-${ThemeColorInputStateKey}-muted-bg`
|
|
142
|
+
| `--color-input-${ThemeColorInputModeKey}-${ThemeColorInputStateKey}-placeholder`
|
|
143
|
+
| `--color-kbd-bg`
|
|
144
|
+
| `--color-kbd-border`
|
|
145
|
+
| `--color-kbd-fg`
|
|
146
|
+
| `--color-link-fg`
|
|
147
|
+
| `--color-muted-bg`
|
|
148
|
+
| `--color-muted-fg`
|
|
149
|
+
| `--color-shadow-outline`
|
|
150
|
+
| `--color-shadow-umbra`
|
|
151
|
+
| `--color-shadow-penumbra`
|
|
152
|
+
| `--color-shadow-ambient`
|
|
153
|
+
| `--color-skeleton-from`
|
|
154
|
+
| `--color-skeleton-to`
|
|
155
|
+
| `--color-syntax-atrule`
|
|
156
|
+
| `--color-syntax-attrName`
|
|
157
|
+
| `--color-syntax-attrValue`
|
|
158
|
+
| `--color-syntax-attribute`
|
|
159
|
+
| `--color-syntax-boolean`
|
|
160
|
+
| `--color-syntax-builtin`
|
|
161
|
+
| `--color-syntax-cdata`
|
|
162
|
+
| `--color-syntax-char`
|
|
163
|
+
| `--color-syntax-class`
|
|
164
|
+
| `--color-syntax-className`
|
|
165
|
+
| `--color-syntax-comment`
|
|
166
|
+
| `--color-syntax-constant`
|
|
167
|
+
| `--color-syntax-deleted`
|
|
168
|
+
| `--color-syntax-doctype`
|
|
169
|
+
| `--color-syntax-entity`
|
|
170
|
+
| `--color-syntax-function`
|
|
171
|
+
| `--color-syntax-hexcode`
|
|
172
|
+
| `--color-syntax-id`
|
|
173
|
+
| `--color-syntax-important`
|
|
174
|
+
| `--color-syntax-inserted`
|
|
175
|
+
| `--color-syntax-keyword`
|
|
176
|
+
| `--color-syntax-number`
|
|
177
|
+
| `--color-syntax-operator`
|
|
178
|
+
| `--color-syntax-prolog`
|
|
179
|
+
| `--color-syntax-property`
|
|
180
|
+
| `--color-syntax-pseudoClass`
|
|
181
|
+
| `--color-syntax-pseudoElement`
|
|
182
|
+
| `--color-syntax-punctuation`
|
|
183
|
+
| `--color-syntax-regex`
|
|
184
|
+
| `--color-syntax-selector`
|
|
185
|
+
| `--color-syntax-string`
|
|
186
|
+
| `--color-syntax-symbol`
|
|
187
|
+
| `--color-syntax-tag`
|
|
188
|
+
| `--color-syntax-unit`
|
|
189
|
+
| `--color-syntax-url`
|
|
190
|
+
| `--color-syntax-variable`
|
|
191
|
+
| `--card-accent-fg-color`
|
|
192
|
+
| `--card-avatar-${ThemeColorAvatarColorKey}-bg-color`
|
|
193
|
+
| `--card-avatar-${ThemeColorAvatarColorKey}-fg-color`
|
|
194
|
+
| `--card-backdrop-color`
|
|
195
|
+
| `--card-badge-${ThemeColorStateToneKey}-bg-color`
|
|
196
|
+
| `--card-badge-${ThemeColorStateToneKey}-dot-color`
|
|
197
|
+
| `--card-badge-${ThemeColorStateToneKey}-fg-color`
|
|
198
|
+
| `--card-badge-${ThemeColorStateToneKey}-icon-color`
|
|
199
|
+
| `--card-bg-color`
|
|
200
|
+
| `--card-border-color`
|
|
201
|
+
| `--card-code-bg-color`
|
|
202
|
+
| `--card-code-fg-color`
|
|
203
|
+
| `--card-fg-color`
|
|
204
|
+
| `--card-focus-ring-color`
|
|
205
|
+
| `--card-icon-color`
|
|
206
|
+
| `--card-kbd-bg-color`
|
|
207
|
+
| `--card-kbd-border-color`
|
|
208
|
+
| `--card-kbd-fg-color`
|
|
209
|
+
| `--card-link-fg-color`
|
|
210
|
+
| `--card-muted-bg-color`
|
|
211
|
+
| `--card-muted-fg-color`
|
|
212
|
+
| `--card-shadow-outline-color`
|
|
213
|
+
| `--card-shadow-umbra-color`
|
|
214
|
+
| `--card-shadow-penumbra-color`
|
|
215
|
+
| `--card-shadow-ambient-color`
|
|
216
|
+
| `--card-skeleton-from-color`
|
|
217
|
+
| `--card-skeleton-to-color`
|
|
218
|
+
| `--avatar-bg-color`
|
|
219
|
+
| `--avatar-fg-color`
|
|
220
|
+
| `--color-checkbox-bg`
|
|
221
|
+
| `--color-checkbox-fg`
|
|
222
|
+
| `--color-checkbox-border`
|
|
223
|
+
| `--font-ascender-height`
|
|
224
|
+
| `--font-cap-height`
|
|
225
|
+
| `--font-descender-height`
|
|
226
|
+
| `--font-family`
|
|
227
|
+
| `--font-icon-offset`
|
|
228
|
+
| `--font-icon-size`
|
|
229
|
+
| `--font-letter-spacing`
|
|
230
|
+
| `--font-line-height`
|
|
231
|
+
| `--font-size`
|
|
232
|
+
| `--font-weight-regular`
|
|
233
|
+
| `--font-weight-medium`
|
|
234
|
+
| `--font-weight-semibold`
|
|
235
|
+
| `--font-weight-bold`
|
|
236
|
+
| `--font-weight`
|
|
237
|
+
| `--fg-color`
|
|
238
|
+
|
|
239
|
+
export declare interface CardStyleProps extends BoxStyleProps, BorderStyleProps, RadiusStyleProps {
|
|
240
|
+
checkered?: boolean
|
|
241
|
+
shadow?: ResponsiveProp<number>
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export declare function checkbox(): string
|
|
245
|
+
|
|
246
|
+
export declare function checkboxInput(): string
|
|
247
|
+
|
|
248
|
+
/** @public */
|
|
249
|
+
export declare function code(props: CodeStyleProps): string
|
|
250
|
+
|
|
251
|
+
/** @public */
|
|
252
|
+
export declare type CodeSize = number
|
|
253
|
+
|
|
254
|
+
/** @public */
|
|
255
|
+
export declare interface CodeStyleProps extends FontStyleProps_2 {
|
|
256
|
+
size?: ResponsiveProp<CodeSize>
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export declare interface ColorAvatarColorVarNames {
|
|
260
|
+
bg: CSSVarName
|
|
261
|
+
fg: CSSVarName
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export declare interface ColorAvatarColorVars {
|
|
265
|
+
bg: CSSVar
|
|
266
|
+
fg: CSSVar
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export declare type ColorAvatarVars = Record<ThemeColorAvatarColorKey, ColorAvatarColorVars>
|
|
270
|
+
|
|
271
|
+
export declare interface ColorBadgeToneVarNames {
|
|
272
|
+
bg: CSSVarName
|
|
273
|
+
dot: CSSVarName
|
|
274
|
+
fg: CSSVarName
|
|
275
|
+
icon: CSSVarName
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export declare interface ColorBadgeToneVars {
|
|
279
|
+
bg: CSSVar
|
|
280
|
+
dot: CSSVar
|
|
281
|
+
fg: CSSVar
|
|
282
|
+
icon: CSSVar
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export declare type ColorBadgeVars = Record<ThemeColorStateToneKey, ColorBadgeToneVars>
|
|
286
|
+
|
|
287
|
+
export declare interface ColorCardVarNames extends ColorStateVarNames {
|
|
288
|
+
backdrop: ThemeVarName
|
|
289
|
+
focusRing: ThemeVarName
|
|
290
|
+
input: Record<ThemeColorInputModeKey, Record<ThemeColorInputStateKey, ColorInputStateVarNames>>
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export declare interface ColorCardVars extends ColorStateVars {
|
|
294
|
+
backdrop: CSSVar
|
|
295
|
+
focusRing: CSSVar
|
|
296
|
+
input: Record<ThemeColorInputModeKey, Record<ThemeColorInputStateKey, ColorInputStateVars>>
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export declare type ColorInputModeVars = Record<ThemeColorInputStateKey, ColorInputStateVars>
|
|
300
|
+
|
|
301
|
+
export declare interface ColorInputStateVarNames {
|
|
302
|
+
bg: CSSVarName
|
|
303
|
+
border: CSSVarName
|
|
304
|
+
fg: CSSVarName
|
|
305
|
+
muted: {
|
|
306
|
+
bg: CSSVarName
|
|
307
|
+
}
|
|
308
|
+
placeholder: CSSVarName
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export declare interface ColorInputStateVars {
|
|
312
|
+
bg: CSSVar
|
|
313
|
+
border: CSSVar
|
|
314
|
+
fg: CSSVar
|
|
315
|
+
muted: {
|
|
316
|
+
bg: CSSVar
|
|
317
|
+
}
|
|
318
|
+
placeholder: CSSVar
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export declare interface ColorInputStateVars {
|
|
322
|
+
bg: CSSVar
|
|
323
|
+
border: CSSVar
|
|
324
|
+
fg: CSSVar
|
|
325
|
+
muted: {
|
|
326
|
+
bg: CSSVar
|
|
327
|
+
}
|
|
328
|
+
placeholder: CSSVar
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export declare type ColorInputVars = Record<ThemeColorInputModeKey, ColorInputModeVars>
|
|
332
|
+
|
|
333
|
+
export declare type ColorSchemeVarNames = Record<ThemeColorCardToneKey, ColorCardVarNames>
|
|
334
|
+
|
|
335
|
+
export declare type ColorSchemeVars = Record<ThemeColorCardToneKey, ColorCardVars>
|
|
336
|
+
|
|
337
|
+
export declare interface ColorStateVarNames {
|
|
338
|
+
accent: {
|
|
339
|
+
fg: CSSVarName
|
|
340
|
+
}
|
|
341
|
+
avatar: Record<ThemeColorAvatarColorKey, ColorAvatarColorVarNames>
|
|
342
|
+
badge: Record<ThemeColorStateToneKey, ColorBadgeToneVarNames>
|
|
343
|
+
bg: CSSVarName
|
|
344
|
+
border: CSSVarName
|
|
345
|
+
code: {
|
|
346
|
+
bg: CSSVarName
|
|
347
|
+
fg: CSSVarName
|
|
348
|
+
}
|
|
349
|
+
fg: CSSVarName
|
|
350
|
+
icon: CSSVarName
|
|
351
|
+
kbd: {
|
|
352
|
+
bg: CSSVarName
|
|
353
|
+
border: CSSVarName
|
|
354
|
+
fg: CSSVarName
|
|
355
|
+
}
|
|
356
|
+
link: {
|
|
357
|
+
fg: CSSVarName
|
|
358
|
+
}
|
|
359
|
+
muted: {
|
|
360
|
+
bg: CSSVarName
|
|
361
|
+
fg: CSSVarName
|
|
362
|
+
}
|
|
363
|
+
shadow: {
|
|
364
|
+
outline: CSSVarName
|
|
365
|
+
umbra: CSSVarName
|
|
366
|
+
penumbra: CSSVarName
|
|
367
|
+
ambient: CSSVarName
|
|
368
|
+
}
|
|
369
|
+
skeleton: {
|
|
370
|
+
from: CSSVarName
|
|
371
|
+
to: CSSVarName
|
|
372
|
+
}
|
|
373
|
+
syntax: {
|
|
374
|
+
atrule: CSSVarName
|
|
375
|
+
attrName: CSSVarName
|
|
376
|
+
attrValue: CSSVarName
|
|
377
|
+
attribute: CSSVarName
|
|
378
|
+
boolean: CSSVarName
|
|
379
|
+
builtin: CSSVarName
|
|
380
|
+
cdata: CSSVarName
|
|
381
|
+
char: CSSVarName
|
|
382
|
+
class: CSSVarName
|
|
383
|
+
className: CSSVarName
|
|
384
|
+
comment: CSSVarName
|
|
385
|
+
constant: CSSVarName
|
|
386
|
+
deleted: CSSVarName
|
|
387
|
+
doctype: CSSVarName
|
|
388
|
+
entity: CSSVarName
|
|
389
|
+
function: CSSVarName
|
|
390
|
+
hexcode: CSSVarName
|
|
391
|
+
id: CSSVarName
|
|
392
|
+
important: CSSVarName
|
|
393
|
+
inserted: CSSVarName
|
|
394
|
+
keyword: CSSVarName
|
|
395
|
+
number: CSSVarName
|
|
396
|
+
operator: CSSVarName
|
|
397
|
+
prolog: CSSVarName
|
|
398
|
+
property: CSSVarName
|
|
399
|
+
pseudoClass: CSSVarName
|
|
400
|
+
pseudoElement: CSSVarName
|
|
401
|
+
punctuation: CSSVarName
|
|
402
|
+
regex: CSSVarName
|
|
403
|
+
selector: CSSVarName
|
|
404
|
+
string: CSSVarName
|
|
405
|
+
symbol: CSSVarName
|
|
406
|
+
tag: CSSVarName
|
|
407
|
+
unit: CSSVarName
|
|
408
|
+
url: CSSVarName
|
|
409
|
+
variable: CSSVarName
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export declare interface ColorStateVars {
|
|
414
|
+
accent: {
|
|
415
|
+
fg: CSSVar
|
|
416
|
+
}
|
|
417
|
+
avatar: ColorAvatarVars
|
|
418
|
+
badge: Record<ThemeColorStateToneKey, ColorBadgeToneVars>
|
|
419
|
+
bg: CSSVar
|
|
420
|
+
border: CSSVar
|
|
421
|
+
code: {
|
|
422
|
+
bg: CSSVar
|
|
423
|
+
fg: CSSVar
|
|
424
|
+
}
|
|
425
|
+
fg: CSSVar
|
|
426
|
+
icon: CSSVar
|
|
427
|
+
input: ColorInputVars
|
|
428
|
+
kbd: {
|
|
429
|
+
bg: CSSVar
|
|
430
|
+
border: CSSVar
|
|
431
|
+
fg: CSSVar
|
|
432
|
+
}
|
|
433
|
+
link: {
|
|
434
|
+
fg: CSSVar
|
|
435
|
+
}
|
|
436
|
+
muted: {
|
|
437
|
+
bg: CSSVar
|
|
438
|
+
fg: CSSVar
|
|
439
|
+
}
|
|
440
|
+
shadow: {
|
|
441
|
+
outline: CSSVar
|
|
442
|
+
umbra: CSSVar
|
|
443
|
+
penumbra: CSSVar
|
|
444
|
+
ambient: CSSVar
|
|
445
|
+
}
|
|
446
|
+
skeleton: {
|
|
447
|
+
from: CSSVar
|
|
448
|
+
to: CSSVar
|
|
449
|
+
}
|
|
450
|
+
syntax: {
|
|
451
|
+
atrule: CSSVar
|
|
452
|
+
attrName: CSSVar
|
|
453
|
+
attrValue: CSSVar
|
|
454
|
+
attribute: CSSVar
|
|
455
|
+
boolean: CSSVar
|
|
456
|
+
builtin: CSSVar
|
|
457
|
+
cdata: CSSVar
|
|
458
|
+
char: CSSVar
|
|
459
|
+
class: CSSVar
|
|
460
|
+
className: CSSVar
|
|
461
|
+
comment: CSSVar
|
|
462
|
+
constant: CSSVar
|
|
463
|
+
deleted: CSSVar
|
|
464
|
+
doctype: CSSVar
|
|
465
|
+
entity: CSSVar
|
|
466
|
+
function: CSSVar
|
|
467
|
+
hexcode: CSSVar
|
|
468
|
+
id: CSSVar
|
|
469
|
+
important: CSSVar
|
|
470
|
+
inserted: CSSVar
|
|
471
|
+
keyword: CSSVar
|
|
472
|
+
number: CSSVar
|
|
473
|
+
operator: CSSVar
|
|
474
|
+
prolog: CSSVar
|
|
475
|
+
property: CSSVar
|
|
476
|
+
pseudoClass: CSSVar
|
|
477
|
+
pseudoElement: CSSVar
|
|
478
|
+
punctuation: CSSVar
|
|
479
|
+
regex: CSSVar
|
|
480
|
+
selector: CSSVar
|
|
481
|
+
string: CSSVar
|
|
482
|
+
symbol: CSSVar
|
|
483
|
+
tag: CSSVar
|
|
484
|
+
unit: CSSVar
|
|
485
|
+
url: CSSVar
|
|
486
|
+
variable: CSSVar
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
/** @public */
|
|
491
|
+
export declare function compileSystem(): string
|
|
492
|
+
|
|
493
|
+
/** @public */
|
|
494
|
+
export declare function compileTheme(theme: RootTheme_v2): string
|
|
495
|
+
|
|
496
|
+
export declare function composeClassNames(...classNames: Array<string | false | undefined>): string
|
|
497
|
+
|
|
498
|
+
export declare function container(props: ContainerStyleProps): string
|
|
499
|
+
|
|
500
|
+
export declare interface ContainerStyleProps {
|
|
501
|
+
width?: ResponsiveProp<ContainerWidth>
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/** @public */
|
|
505
|
+
export declare type CSSVar = `var(${CSSVarName})`
|
|
506
|
+
|
|
507
|
+
/** @public */
|
|
508
|
+
export declare type CSSVarName = ThemeVarName | CardScopedVarName
|
|
509
|
+
|
|
510
|
+
/** @public */
|
|
511
|
+
export declare interface CustomCSSProperties extends Record<CSSVarName, string> {}
|
|
512
|
+
|
|
513
|
+
export declare function dialog(): string
|
|
514
|
+
|
|
515
|
+
export declare function dialogCardRoot(): string
|
|
516
|
+
|
|
517
|
+
export declare function dialogContainer(): string
|
|
518
|
+
|
|
519
|
+
export declare function dialogContent(): string
|
|
520
|
+
|
|
521
|
+
export declare function dialogFooter(): string
|
|
522
|
+
|
|
523
|
+
export declare function dialogHeader(): string
|
|
524
|
+
|
|
525
|
+
export declare function dialogLayout(): string
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* @public
|
|
529
|
+
*/
|
|
530
|
+
export declare type FlexAlign = 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch'
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* @public
|
|
534
|
+
*/
|
|
535
|
+
export declare type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse'
|
|
536
|
+
|
|
537
|
+
/** @public */
|
|
538
|
+
export declare interface FlexItemStyleProps {
|
|
539
|
+
flex?: ResponsiveProp<FlexValue>
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @public
|
|
544
|
+
*/
|
|
545
|
+
export declare type FlexJustify =
|
|
546
|
+
| 'flex-start'
|
|
547
|
+
| 'flex-end'
|
|
548
|
+
| 'center'
|
|
549
|
+
| 'space-between'
|
|
550
|
+
| 'space-around'
|
|
551
|
+
| 'space-evenly'
|
|
552
|
+
|
|
553
|
+
/** @public */
|
|
554
|
+
export declare interface FlexStyleProps {
|
|
555
|
+
align?: ResponsiveProp<FlexAlign>
|
|
556
|
+
direction?: ResponsiveProp<FlexDirection>
|
|
557
|
+
justify?: ResponsiveProp<FlexJustify>
|
|
558
|
+
wrap?: ResponsiveProp<FlexWrap>
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* @public
|
|
563
|
+
*/
|
|
564
|
+
export declare type FlexValue = number | 'none' | 'auto' | 'initial'
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* @public
|
|
568
|
+
*/
|
|
569
|
+
export declare type FlexWrap = 'wrap' | 'wrap-reverse' | 'nowrap'
|
|
570
|
+
|
|
571
|
+
/** @public */
|
|
572
|
+
export declare interface FontStyleProps {
|
|
573
|
+
weight?: FontWeight
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
/** @public */
|
|
577
|
+
export declare interface GapStyleProps {
|
|
578
|
+
gap?: ResponsiveProp<Space>
|
|
579
|
+
gapX?: ResponsiveProp<Space>
|
|
580
|
+
gapY?: ResponsiveProp<Space>
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* @public
|
|
585
|
+
*/
|
|
586
|
+
export declare type GridItemColumn = 'auto' | 'full' | number
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* @public
|
|
590
|
+
*/
|
|
591
|
+
export declare type GridItemColumnEnd = 'auto' | number
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* @public
|
|
595
|
+
*/
|
|
596
|
+
export declare type GridItemColumnStart = 'auto' | number
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* @public
|
|
600
|
+
*/
|
|
601
|
+
export declare type GridItemRow = 'auto' | 'full' | number
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
export declare type GridItemRowEnd = 'auto' | number
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* @public
|
|
610
|
+
*/
|
|
611
|
+
export declare type GridItemRowStart = 'auto' | number
|
|
612
|
+
|
|
613
|
+
export declare interface GridItemStyleProps {
|
|
614
|
+
column?: ResponsiveProp<GridItemColumn>
|
|
615
|
+
columnStart?: ResponsiveProp<GridItemColumnStart>
|
|
616
|
+
columnEnd?: ResponsiveProp<GridItemColumnEnd>
|
|
617
|
+
row?: ResponsiveProp<GridItemRow>
|
|
618
|
+
rowStart?: ResponsiveProp<GridItemRowStart>
|
|
619
|
+
rowEnd?: ResponsiveProp<GridItemRowEnd>
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
/** @public */
|
|
623
|
+
export declare function heading(props: HeadingStyleProps): string
|
|
624
|
+
|
|
625
|
+
/** @public */
|
|
626
|
+
export declare type HeadingSize = number
|
|
627
|
+
|
|
628
|
+
/** @public */
|
|
629
|
+
export declare interface HeadingStyleProps extends FontStyleProps_2 {
|
|
630
|
+
accent?: boolean
|
|
631
|
+
muted?: boolean
|
|
632
|
+
size?: ResponsiveProp<HeadingSize>
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
/** @public */
|
|
636
|
+
export declare type Inset = 0
|
|
637
|
+
|
|
638
|
+
export declare function kbd(props: KBDStyleProps): string
|
|
639
|
+
|
|
640
|
+
export declare interface KBDStyleProps extends RadiusStyleProps {}
|
|
641
|
+
|
|
642
|
+
/** @public */
|
|
643
|
+
export declare function label(props: LabelStyleProps): string
|
|
644
|
+
|
|
645
|
+
/** @public */
|
|
646
|
+
export declare type LabelSize = number
|
|
647
|
+
|
|
648
|
+
/** @public */
|
|
649
|
+
export declare interface LabelStyleProps extends FontStyleProps_2 {
|
|
650
|
+
accent?: boolean
|
|
651
|
+
muted?: boolean
|
|
652
|
+
size?: ResponsiveProp<LabelSize>
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
export declare interface MarginStyleProps {
|
|
656
|
+
margin?: ResponsiveProp<number>
|
|
657
|
+
marginTop?: ResponsiveProp<number>
|
|
658
|
+
marginRight?: ResponsiveProp<number>
|
|
659
|
+
marginBottom?: ResponsiveProp<number>
|
|
660
|
+
marginLeft?: ResponsiveProp<number>
|
|
661
|
+
marginX?: ResponsiveProp<number>
|
|
662
|
+
marginY?: ResponsiveProp<number>
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
export declare interface MaxWidthStyleProps {
|
|
666
|
+
maxWidth?: ResponsiveProp<ContainerWidth | 'fill'>
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
/** @public */
|
|
670
|
+
export declare interface PaddingStyleProps {
|
|
671
|
+
padding?: ResponsiveProp<number>
|
|
672
|
+
paddingTop?: ResponsiveProp<number>
|
|
673
|
+
paddingRight?: ResponsiveProp<number>
|
|
674
|
+
paddingBottom?: ResponsiveProp<number>
|
|
675
|
+
paddingLeft?: ResponsiveProp<number>
|
|
676
|
+
paddingX?: ResponsiveProp<number>
|
|
677
|
+
paddingY?: ResponsiveProp<number>
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/** @public */
|
|
681
|
+
export declare type PointerEvents = 'auto' | 'none'
|
|
682
|
+
|
|
683
|
+
/** @public */
|
|
684
|
+
export declare interface PointerEventsStyleProps {
|
|
685
|
+
pointerEvents?: PointerEvents
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export declare function popover(): string
|
|
689
|
+
|
|
690
|
+
/** @public */
|
|
691
|
+
export declare type Position = 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky'
|
|
692
|
+
|
|
693
|
+
/** @public */
|
|
694
|
+
export declare interface PositionStyleProps {
|
|
695
|
+
inset?: ResponsiveProp<Inset>
|
|
696
|
+
position?: ResponsiveProp<Position>
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
/** @public */
|
|
700
|
+
export declare interface Properties extends CSS_2.PropertiesFallback, Partial<CustomCSSProperties> {
|
|
701
|
+
'@keyframes'?: Record<string, Record<string, Properties>>
|
|
702
|
+
'@media'?: Record<string, Properties>
|
|
703
|
+
'@nest'?: Record<string, Properties>
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
export declare function radio(): string
|
|
707
|
+
|
|
708
|
+
/** @public */
|
|
709
|
+
export declare interface RadiusStyleProps {
|
|
710
|
+
radius?: ResponsiveProp<Radius>
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export declare type ResponsiveProp<T> = T | Array<T | null | undefined>
|
|
714
|
+
|
|
715
|
+
/** @public */
|
|
716
|
+
export declare interface Rules {
|
|
717
|
+
[className: string]: Properties
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export declare interface ScopedColorVarNames extends Omit<ColorStateVarNames, 'badge'> {
|
|
721
|
+
badge: Record<ThemeColorStateToneKey, ColorBadgeToneVarNames> & ColorBadgeToneVarNames
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
export declare interface ScopedColorVars extends Omit<ColorStateVars, 'badge'> {
|
|
725
|
+
badge: ColorBadgeVars & ColorBadgeToneVars
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
export declare function select(): string
|
|
729
|
+
|
|
730
|
+
export declare function selectable(props: SelectableStyleProps): string
|
|
731
|
+
|
|
732
|
+
export declare interface SelectableStyleProps extends RadiusStyleProps {
|
|
733
|
+
tone?: SelectableTone
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export declare function spinner(): string
|
|
737
|
+
|
|
738
|
+
export declare function _switch(): string
|
|
739
|
+
|
|
740
|
+
/** @public */
|
|
741
|
+
export declare function text(props: TextStyleProps): string
|
|
742
|
+
|
|
743
|
+
export declare function textArea(): string
|
|
744
|
+
|
|
745
|
+
export declare function textInput(props: {size: ResponsiveProp<number>}): string
|
|
746
|
+
|
|
747
|
+
export declare type TextSize = number
|
|
748
|
+
|
|
749
|
+
/** @public */
|
|
750
|
+
export declare interface TextStyleProps extends FontStyleProps_2 {
|
|
751
|
+
accent?: boolean
|
|
752
|
+
muted?: boolean
|
|
753
|
+
size?: ResponsiveProp<TextSize>
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
/** @public */
|
|
757
|
+
export declare type ThemeVarName =
|
|
758
|
+
| `--avatar-focus-ring-offset`
|
|
759
|
+
| `--avatar-focus-ring-width`
|
|
760
|
+
| `--avatar-${AvatarSize}-distance`
|
|
761
|
+
| `--avatar-${AvatarSize}-size`
|
|
762
|
+
| `--button-border-width`
|
|
763
|
+
| `--button-focus-ring-offset`
|
|
764
|
+
| `--button-focus-ring-width`
|
|
765
|
+
| `--button-text-weight`
|
|
766
|
+
| `--card-border-width`
|
|
767
|
+
| `--card-focus-ring-offset`
|
|
768
|
+
| `--card-focus-ring-width`
|
|
769
|
+
| `--card-shadow-outline`
|
|
770
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-accent-fg`
|
|
771
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-avatar-${ThemeColorAvatarColorKey}-bg`
|
|
772
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-avatar-${ThemeColorAvatarColorKey}-fg`
|
|
773
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-backdrop`
|
|
774
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-badge-${ThemeColorStateToneKey}-bg`
|
|
775
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-badge-${ThemeColorStateToneKey}-dot`
|
|
776
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-badge-${ThemeColorStateToneKey}-fg`
|
|
777
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-badge-${ThemeColorStateToneKey}-icon`
|
|
778
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-bg`
|
|
779
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-border`
|
|
780
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-button-${ThemeColorButtonModeKey}-${ThemeColorStateToneKey}-${ThemeColorStateKey}-accent-fg`
|
|
781
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-button-${ThemeColorButtonModeKey}-${ThemeColorStateToneKey}-${ThemeColorStateKey}-bg`
|
|
782
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-button-${ThemeColorButtonModeKey}-${ThemeColorStateToneKey}-${ThemeColorStateKey}-border`
|
|
783
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-button-${ThemeColorButtonModeKey}-${ThemeColorStateToneKey}-${ThemeColorStateKey}-code-bg`
|
|
784
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-button-${ThemeColorButtonModeKey}-${ThemeColorStateToneKey}-${ThemeColorStateKey}-code-fg`
|
|
785
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-button-${ThemeColorButtonModeKey}-${ThemeColorStateToneKey}-${ThemeColorStateKey}-fg`
|
|
786
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-button-${ThemeColorButtonModeKey}-${ThemeColorStateToneKey}-${ThemeColorStateKey}-icon`
|
|
787
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-button-${ThemeColorButtonModeKey}-${ThemeColorStateToneKey}-${ThemeColorStateKey}-link-fg`
|
|
788
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-button-${ThemeColorButtonModeKey}-${ThemeColorStateToneKey}-${ThemeColorStateKey}-muted-bg`
|
|
789
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-button-${ThemeColorButtonModeKey}-${ThemeColorStateToneKey}-${ThemeColorStateKey}-muted-fg`
|
|
790
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-button-${ThemeColorButtonModeKey}-${ThemeColorStateToneKey}-${ThemeColorStateKey}-skeleton-from`
|
|
791
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-button-${ThemeColorButtonModeKey}-${ThemeColorStateToneKey}-${ThemeColorStateKey}-skeleton-to`
|
|
792
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-code-bg`
|
|
793
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-code-fg`
|
|
794
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-focus-ring`
|
|
795
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-icon`
|
|
796
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-kbd-bg`
|
|
797
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-kbd-border`
|
|
798
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-kbd-fg`
|
|
799
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-link-fg`
|
|
800
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-muted-bg`
|
|
801
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-muted-fg`
|
|
802
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-skeleton-from`
|
|
803
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-skeleton-to`
|
|
804
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-input-${ThemeColorInputModeKey}-${ThemeColorInputStateKey}-bg`
|
|
805
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-input-${ThemeColorInputModeKey}-${ThemeColorInputStateKey}-border`
|
|
806
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-input-${ThemeColorInputModeKey}-${ThemeColorInputStateKey}-fg`
|
|
807
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-input-${ThemeColorInputModeKey}-${ThemeColorInputStateKey}-muted-bg`
|
|
808
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-input-${ThemeColorInputModeKey}-${ThemeColorInputStateKey}-placeholder`
|
|
809
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-shadow-outline`
|
|
810
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-shadow-umbra`
|
|
811
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-shadow-penumbra`
|
|
812
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-shadow-ambient`
|
|
813
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-atrule`
|
|
814
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-attrName`
|
|
815
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-attrValue`
|
|
816
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-attribute`
|
|
817
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-boolean`
|
|
818
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-builtin`
|
|
819
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-cdata`
|
|
820
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-char`
|
|
821
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-class`
|
|
822
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-className`
|
|
823
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-comment`
|
|
824
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-constant`
|
|
825
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-deleted`
|
|
826
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-doctype`
|
|
827
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-entity`
|
|
828
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-function`
|
|
829
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-hexcode`
|
|
830
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-id`
|
|
831
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-important`
|
|
832
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-inserted`
|
|
833
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-keyword`
|
|
834
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-number`
|
|
835
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-operator`
|
|
836
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-prolog`
|
|
837
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-property`
|
|
838
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-pseudoClass`
|
|
839
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-pseudoElement`
|
|
840
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-punctuation`
|
|
841
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-regex`
|
|
842
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-selector`
|
|
843
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-string`
|
|
844
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-symbol`
|
|
845
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-tag`
|
|
846
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-unit`
|
|
847
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-url`
|
|
848
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-syntax-variable`
|
|
849
|
+
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-fg`
|
|
850
|
+
| `--container-${ContainerWidth}`
|
|
851
|
+
| `--font-code-family`
|
|
852
|
+
| `--font-code-weight-${FontWeight}`
|
|
853
|
+
| `--font-code-${FontCodeSize}-ascender-height`
|
|
854
|
+
| `--font-code-${FontCodeSize}-descender-height`
|
|
855
|
+
| `--font-code-${FontCodeSize}-size`
|
|
856
|
+
| `--font-code-${FontCodeSize}-line-height`
|
|
857
|
+
| `--font-code-${FontCodeSize}-letter-spacing`
|
|
858
|
+
| `--font-code-${FontCodeSize}-icon-size`
|
|
859
|
+
| `--font-heading-family`
|
|
860
|
+
| `--font-heading-weight-${FontWeight}`
|
|
861
|
+
| `--font-heading-${FontHeadingSize}-ascender-height`
|
|
862
|
+
| `--font-heading-${FontHeadingSize}-descender-height`
|
|
863
|
+
| `--font-heading-${FontHeadingSize}-size`
|
|
864
|
+
| `--font-heading-${FontHeadingSize}-line-height`
|
|
865
|
+
| `--font-heading-${FontHeadingSize}-letter-spacing`
|
|
866
|
+
| `--font-heading-${FontHeadingSize}-icon-size`
|
|
867
|
+
| `--font-label-family`
|
|
868
|
+
| `--font-label-weight-${FontWeight}`
|
|
869
|
+
| `--font-label-${FontLabelSize}-ascender-height`
|
|
870
|
+
| `--font-label-${FontLabelSize}-descender-height`
|
|
871
|
+
| `--font-label-${FontLabelSize}-size`
|
|
872
|
+
| `--font-label-${FontLabelSize}-line-height`
|
|
873
|
+
| `--font-label-${FontLabelSize}-letter-spacing`
|
|
874
|
+
| `--font-label-${FontLabelSize}-icon-size`
|
|
875
|
+
| `--font-text-family`
|
|
876
|
+
| `--font-text-weight-${FontWeight}`
|
|
877
|
+
| `--font-text-${FontTextSize}-ascender-height`
|
|
878
|
+
| `--font-text-${FontTextSize}-descender-height`
|
|
879
|
+
| `--font-text-${FontTextSize}-size`
|
|
880
|
+
| `--font-text-${FontTextSize}-line-height`
|
|
881
|
+
| `--font-text-${FontTextSize}-letter-spacing`
|
|
882
|
+
| `--font-text-${FontTextSize}-icon-size`
|
|
883
|
+
| `--input-border-width`
|
|
884
|
+
| `--input-box-shadow`
|
|
885
|
+
| `--input-checkbox-focus-ring-offset`
|
|
886
|
+
| `--input-checkbox-focus-ring-width`
|
|
887
|
+
| `--input-checkbox-size`
|
|
888
|
+
| `--input-radio-focus-ring-offset`
|
|
889
|
+
| `--input-radio-focus-ring-width`
|
|
890
|
+
| `--input-radio-mark-size`
|
|
891
|
+
| `--input-radio-size`
|
|
892
|
+
| `--input-select-focus-ring-offset`
|
|
893
|
+
| `--input-select-focus-ring-width`
|
|
894
|
+
| `--input-switch-focus-ring-offset`
|
|
895
|
+
| `--input-switch-focus-ring-width`
|
|
896
|
+
| '--input-switch-width'
|
|
897
|
+
| '--input-switch-height'
|
|
898
|
+
| '--input-switch-padding'
|
|
899
|
+
| '--input-switch-transition-duration-ms'
|
|
900
|
+
| '--input-switch-transition-timing-function'
|
|
901
|
+
| '--input-text-focus-ring-offset'
|
|
902
|
+
| '--input-text-focus-ring-width'
|
|
903
|
+
| '--layer-dialog-z-offset'
|
|
904
|
+
| `--radius-${Radius}`
|
|
905
|
+
| `--space-${Space}`
|
|
906
|
+
| `--shadow-${Shadow}-umbra`
|
|
907
|
+
| `--shadow-${Shadow}-penumbra`
|
|
908
|
+
| `--shadow-${Shadow}-ambient`
|
|
909
|
+
|
|
910
|
+
export declare function tooltip(): string
|
|
911
|
+
|
|
912
|
+
export declare function tooltipCard(): string
|
|
913
|
+
|
|
914
|
+
export declare function treeItem(): string
|
|
915
|
+
|
|
916
|
+
/** @public */
|
|
917
|
+
export declare interface VarNames {
|
|
918
|
+
color: Record<ThemeColorSchemeKey, ColorSchemeVarNames> & ScopedColorVarNames
|
|
919
|
+
avatar: {
|
|
920
|
+
focusRing: {
|
|
921
|
+
offset: CSSVarName
|
|
922
|
+
width: CSSVarName
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
space: Record<Space, CSSVarName>
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
/** @public */
|
|
929
|
+
export declare interface Vars {
|
|
930
|
+
color: {
|
|
931
|
+
dark: ColorSchemeVars
|
|
932
|
+
light: ColorSchemeVars
|
|
933
|
+
} & ScopedColorVars
|
|
934
|
+
space: Record<Space, CSSVar>
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
export declare type Width = 'fill'
|
|
938
|
+
|
|
939
|
+
export declare interface WidthStyleProps {
|
|
940
|
+
width?: ResponsiveProp<ContainerWidth | 'fill'>
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
export {}
|