@sanity/ui 3.0.0-static.10 → 3.0.0-static.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks-cjs/_visual-editing.js +207 -286
- package/dist/_chunks-cjs/_visual-editing.js.map +1 -1
- package/dist/_chunks-cjs/buildCommand.js +1 -1
- package/dist/_chunks-cjs/buildCommand.js.map +1 -1
- package/dist/_chunks-cjs/refractor.js.map +1 -1
- package/dist/_chunks-cjs/v3_v2.js +251 -0
- package/dist/_chunks-cjs/v3_v2.js.map +1 -0
- package/dist/_chunks-es/_visual-editing.mjs +210 -289
- package/dist/_chunks-es/_visual-editing.mjs.map +1 -1
- package/dist/_chunks-es/refractor.mjs.map +1 -1
- package/dist/_chunks-es/v3_v2.mjs +252 -0
- package/dist/_chunks-es/v3_v2.mjs.map +1 -0
- package/dist/_visual-editing.d.mts +12 -17
- package/dist/_visual-editing.d.ts +12 -17
- package/dist/cli.js +1 -1
- package/dist/css.d.mts +1089 -427
- package/dist/css.d.ts +1089 -427
- package/dist/css.js +2384 -2550
- package/dist/css.js.map +1 -1
- package/dist/css.mjs +2385 -2551
- package/dist/css.mjs.map +1 -1
- package/dist/index.d.mts +14 -46
- package/dist/index.d.ts +14 -46
- package/dist/index.js +31 -20
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +33 -22
- package/dist/index.mjs.map +1 -1
- package/dist/sanity-palette.css +9 -1
- package/dist/sanity-theme.css +1 -1
- package/dist/system.css +3569 -23230
- package/dist/theme.d.mts +122 -88
- package/dist/theme.d.ts +122 -88
- package/dist/theme.js +217 -430
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +200 -411
- package/dist/theme.mjs.map +1 -1
- package/exports/_visual-editing.ts +27 -27
- package/exports/index.ts +1 -1
- package/package.json +40 -40
- package/src/cli/buildCommand.ts +2 -2
- package/src/{ui → core}/StyleTags.tsx +1 -1
- package/src/core/_compat/theme/themeContext.ts +10 -0
- package/src/{ui → core}/_compat/theme/themeProvider.tsx +3 -15
- package/src/{ui → core}/_compat/types.ts +1 -11
- package/src/{ui → core}/components/autocomplete/__workshop__/async.tsx +1 -1
- package/src/{ui → core}/components/autocomplete/__workshop__/constrainedHeight.tsx +13 -6
- package/src/{ui → core}/components/autocomplete/__workshop__/fullscreen.tsx +4 -3
- package/src/{ui → core}/components/autocomplete/autocomplete.tsx +10 -4
- package/src/{ui → core}/components/dialog/dialog.tsx +4 -3
- package/src/{ui → core}/components/hotkeys/hotkeys.tsx +10 -8
- package/src/{ui → core}/components/toast/toast.tsx +1 -0
- package/src/{ui → core}/constants.ts +0 -6
- package/src/core/hooks/useMatchMedia.ts +46 -0
- package/src/{ui → core}/hooks/useMediaIndex/useMediaIndex.ts +4 -4
- package/src/{ui → core}/primitives/box/box.tsx +1 -9
- package/src/{ui → core}/primitives/button/button.tsx +12 -14
- package/src/{ui → core}/primitives/card/card.tsx +19 -35
- package/src/core/primitives/card/index.ts +2 -0
- package/src/core/primitives/card/types.ts +12 -0
- package/src/{ui → core}/primitives/code/code.tsx +1 -1
- package/src/{ui → core}/primitives/heading/heading.tsx +1 -1
- package/src/{ui → core}/primitives/kbd/kbd.tsx +2 -2
- package/src/{ui → core}/primitives/popover/__workshop__/OpenOnMountStory.tsx +1 -1
- package/src/{ui → core}/primitives/popover/__workshop__/SidePanelStory.tsx +3 -7
- package/src/{ui → core}/primitives/popover/popover.tsx +70 -9
- package/src/{ui → core}/primitives/popover/popoverCard.tsx +38 -51
- package/src/{ui → core}/primitives/select/select.tsx +3 -3
- package/src/{ui → core}/primitives/stack/stack.tsx +5 -10
- package/src/{ui → core}/primitives/text/text.tsx +1 -1
- package/src/{ui → core}/primitives/textInput/textInput.tsx +1 -1
- package/src/{ui → core}/primitives/tooltip/tooltip.test.tsx +2 -2
- package/src/{ui → core}/primitives/tooltip/tooltip.tsx +3 -2
- package/src/{ui → core}/utils/layer/layerProvider.tsx +1 -1
- package/src/{ui → core}/utils/portal/portal.ts +2 -15
- package/src/{ui → core}/utils/virtualList/virtualList.tsx +1 -2
- package/src/css/_resp.ts +5 -12
- package/src/css/compile/compilePalette.ts +41 -8
- package/src/css/compile/compileRule.ts +1 -8
- package/src/css/compile/compileRules.test.ts +0 -1
- package/src/css/compile/compileRules.ts +3 -6
- package/src/css/compile/compileSystem.ts +3 -6
- package/src/css/compile/compileTheme_v3.ts +55 -46
- package/src/css/components/breadcrumbs/breadcrumbs.ts +2 -2
- package/src/css/components/dialog/dialog.ts +8 -9
- package/src/css/components/dialog/rules.ts +0 -2
- package/src/css/components/menu/menu.ts +3 -3
- package/src/css/components/skeleton/rules.ts +0 -1
- package/src/css/components/skeleton/skeleton.ts +7 -7
- package/src/css/components/skeleton/types.ts +1 -1
- package/src/css/components/toast/rules.ts +0 -1
- package/src/css/components/toast/toast.ts +6 -6
- package/src/css/components/tree/tree.ts +2 -2
- package/src/css/composeClassNames.ts +5 -9
- package/src/css/index.ts +2 -3
- package/src/css/primitives/_arrow/_arrow.ts +6 -6
- package/src/css/primitives/_arrow/{_arrow.style.ts → rules.ts} +5 -7
- package/src/css/primitives/_input/input.ts +12 -12
- package/src/css/primitives/_input/{_input.style.ts → rules.ts} +20 -19
- package/src/css/primitives/_input/types.ts +1 -1
- package/src/css/primitives/_selectable/_contants.ts +1 -1
- package/src/css/primitives/_selectable/{_selectable.style.ts → rules.ts} +3 -6
- package/src/css/primitives/_selectable/selectable.ts +3 -3
- package/src/css/primitives/_selectable/types.ts +1 -1
- package/src/css/primitives/avatar/avatar.ts +7 -7
- package/src/css/primitives/badge/badge.ts +3 -3
- package/src/css/primitives/badge/rules.ts +22 -0
- package/src/css/primitives/badge/types.ts +1 -1
- package/src/css/primitives/box/box.ts +6 -10
- package/src/css/primitives/box/rules.ts +28 -0
- package/src/css/primitives/box/types.ts +7 -5
- package/src/css/primitives/button/_constants.ts +1 -1
- package/src/css/primitives/button/button.ts +3 -3
- package/src/css/primitives/button/rules.ts +10 -19
- package/src/css/primitives/card/_constants.ts +2 -2
- package/src/css/primitives/card/card.ts +6 -4
- package/src/css/primitives/card/rules.ts +471 -0
- package/src/css/primitives/card/types.ts +2 -1
- package/src/css/primitives/checkbox/checkbox.ts +3 -3
- package/src/css/primitives/code/code.ts +3 -3
- package/src/css/primitives/code/types.ts +1 -1
- package/src/css/primitives/container/container.ts +3 -3
- package/src/css/primitives/heading/heading.ts +5 -5
- package/src/css/primitives/heading/types.ts +1 -1
- package/src/css/primitives/kbd/kbd.ts +3 -3
- package/src/css/primitives/kbd/types.ts +1 -1
- package/src/css/primitives/label/label.ts +3 -3
- package/src/css/primitives/label/types.ts +1 -1
- package/src/css/primitives/popover/popover.ts +2 -6
- package/src/css/primitives/radio/radio.ts +2 -2
- package/src/css/primitives/select/select.ts +2 -3
- package/src/css/primitives/spinner/rules.ts +0 -1
- package/src/css/primitives/spinner/spinner.ts +3 -3
- package/src/css/primitives/switch/switch.ts +6 -6
- package/src/css/primitives/text/text.ts +3 -3
- package/src/css/primitives/text/types.ts +1 -1
- package/src/css/primitives/textArea/textArea.ts +1 -2
- package/src/css/primitives/textInput/textInput.ts +2 -2
- package/src/css/primitives/tooltip/tooltip.ts +3 -3
- package/src/css/rules.ts +113 -0
- package/src/css/styles/border/border.ts +22 -0
- package/src/css/styles/border/rules.ts +24 -0
- package/src/css/styles/display/rules.ts +62 -0
- package/src/css/styles/flex/flex.ts +20 -0
- package/src/css/styles/flex/rules.ts +28 -0
- package/src/css/{aspects → styles}/flexItem/flexItem.ts +1 -1
- package/src/css/styles/flexItem/rules.ts +12 -0
- package/src/css/{aspects → styles}/flexItem/types.ts +1 -17
- package/src/css/{aspects → styles}/font/font.ts +7 -2
- package/src/css/{aspects/font/font.style.ts → styles/font/rules.ts} +25 -28
- package/src/css/styles/gap/rules.ts +34 -0
- package/src/css/{aspects → styles}/grid/grid.ts +2 -2
- package/src/css/styles/grid/rules.ts +146 -0
- package/src/css/{aspects → styles}/grid/types.ts +2 -2
- package/src/css/styles/gridItem/rules.ts +96 -0
- package/src/css/{aspects → styles}/index.ts +0 -2
- package/src/css/styles/inset/rules.ts +16 -0
- package/src/css/styles/margin/rules.ts +64 -0
- package/src/css/styles/maxWidth/rules.ts +13 -0
- package/src/css/{aspects → styles}/maxWidth/types.ts +1 -1
- package/src/css/styles/outline/rules.ts +7 -0
- package/src/css/styles/overflow/rules.ts +9 -0
- package/src/css/styles/padding/rules.ts +62 -0
- package/src/css/styles/pointerEvents/rules.ts +11 -0
- package/src/css/{aspects → styles}/position/position.ts +1 -1
- package/src/css/styles/position/rules.ts +24 -0
- package/src/css/styles/radius/rules.ts +13 -0
- package/src/css/{aspects → styles}/radius/types.ts +1 -1
- package/src/css/styles/shadow/rules.ts +53 -0
- package/src/css/styles/textOverflow/rules.ts +17 -0
- package/src/css/styles/textOverflow/textOverflow.ts +6 -0
- package/src/css/{aspects → styles}/width/rules.ts +0 -1
- package/src/css/{aspects → styles}/width/types.ts +1 -1
- package/src/css/types.ts +253 -311
- package/src/css/utils/srOnly/rules.ts +11 -0
- package/src/css/varNames.ts +81 -128
- package/src/css/vars.ts +76 -122
- package/src/theme/_constants.ts +1 -1
- package/src/theme/_types.ts +2 -2
- package/src/theme/build/buildTheme.ts +2 -2
- package/src/theme/defaults/colorTokens.ts +2 -2
- package/src/theme/defaults/config.ts +1 -1
- package/src/theme/defaults/fonts.ts +4 -4
- package/src/theme/palette/constants.ts +3 -1
- package/src/theme/palette/types.ts +12 -0
- package/src/theme/v3/buildTheme_v3.ts +2 -1
- package/src/theme/v3/color/buildColor_v3.ts +38 -43
- package/src/theme/v3/color/card.ts +38 -43
- package/src/theme/v3/color/color.ts +38 -42
- package/src/theme/v3/defaults.ts +72 -69
- package/src/theme/v3/resolveTokens.ts +38 -43
- package/src/theme/v3/types.ts +3 -0
- package/src/theme/versioning/themeColor_v3_v2.ts +1 -1
- package/src/css/_comp.test.ts +0 -7
- package/src/css/_comp.ts +0 -11
- package/src/css/_mergeStyles.ts +0 -31
- package/src/css/_responsiveRule.ts +0 -38
- package/src/css/aspects/border/border.style.ts +0 -13
- package/src/css/aspects/border/border.ts +0 -14
- package/src/css/aspects/display/display.style.ts +0 -34
- package/src/css/aspects/flex/flex.style.ts +0 -30
- package/src/css/aspects/flex/flex.ts +0 -13
- package/src/css/aspects/flex/flexAlign.style.ts +0 -12
- package/src/css/aspects/flex/flexDirection.style.ts +0 -11
- package/src/css/aspects/flex/flexJustify.style.ts +0 -13
- package/src/css/aspects/flex/flexWrap.style.ts +0 -10
- package/src/css/aspects/flexItem/flex.style.ts +0 -22
- package/src/css/aspects/gap/gap.style.ts +0 -21
- package/src/css/aspects/grid/gridAutoColumns.style.ts +0 -11
- package/src/css/aspects/grid/gridAutoFlow.style.ts +0 -11
- package/src/css/aspects/grid/gridAutoRows.style.ts +0 -11
- package/src/css/aspects/grid/gridColumns.style.ts +0 -18
- package/src/css/aspects/grid/gridRows.style.ts +0 -18
- package/src/css/aspects/gridItem/gridColumn.style.ts +0 -20
- package/src/css/aspects/gridItem/gridColumnEnd.style.ts +0 -20
- package/src/css/aspects/gridItem/gridColumnStart.style.ts +0 -20
- package/src/css/aspects/gridItem/gridRow.style.ts +0 -20
- package/src/css/aspects/gridItem/gridRowEnd.style.ts +0 -20
- package/src/css/aspects/gridItem/gridRowStart.style.ts +0 -20
- package/src/css/aspects/height/height.style.ts +0 -9
- package/src/css/aspects/height/height.ts +0 -17
- package/src/css/aspects/height/index.ts +0 -1
- package/src/css/aspects/inset/inset.style.ts +0 -12
- package/src/css/aspects/margin/margin.style.ts +0 -46
- package/src/css/aspects/maxWidth/maxWidth.style.ts +0 -16
- package/src/css/aspects/minWidth/index.ts +0 -2
- package/src/css/aspects/minWidth/minWidth.style.ts +0 -13
- package/src/css/aspects/minWidth/minWidth.ts +0 -6
- package/src/css/aspects/minWidth/types.ts +0 -7
- package/src/css/aspects/outline/outline.style.ts +0 -9
- package/src/css/aspects/overflow/overflow.style.ts +0 -11
- package/src/css/aspects/padding/padding.style.ts +0 -46
- package/src/css/aspects/pointerEvents/pointerEvents.style.ts +0 -13
- package/src/css/aspects/position/position.style.ts +0 -12
- package/src/css/aspects/radius/radius.style.ts +0 -16
- package/src/css/aspects/shadow/shadow.style.ts +0 -49
- package/src/css/aspects/textOverflow/textOverflow.style.ts +0 -21
- package/src/css/aspects/textOverflow/textOverflow.ts +0 -6
- package/src/css/aspects/width/width.style.ts +0 -11
- package/src/css/compile/compileStyle.ts +0 -148
- package/src/css/components/breadcrumbs/breadcrumbs.style.ts +0 -9
- package/src/css/components/dialog/dialog.style.ts +0 -79
- package/src/css/components/menu/menu.style.ts +0 -17
- package/src/css/components/skeleton/skeleton.style.ts +0 -96
- package/src/css/components/toast/toast.style.ts +0 -20
- package/src/css/components/tree/tree.style.ts +0 -55
- package/src/css/constants.ts +0 -1
- package/src/css/primitives/_input/__workshop__/customInput.tsx +0 -16
- package/src/css/primitives/_input/__workshop__/index.ts +0 -14
- package/src/css/primitives/avatar/avatar.style.ts +0 -175
- package/src/css/primitives/badge/badge.style.ts +0 -22
- package/src/css/primitives/box/box.style.ts +0 -31
- package/src/css/primitives/button/button.style.ts +0 -201
- package/src/css/primitives/card/card.style.ts +0 -270
- package/src/css/primitives/checkbox/checkbox.style.ts +0 -154
- package/src/css/primitives/code/code.style.ts +0 -62
- package/src/css/primitives/container/container.style.ts +0 -10
- package/src/css/primitives/heading/heading.style.ts +0 -47
- package/src/css/primitives/kbd/kbd.style.ts +0 -22
- package/src/css/primitives/label/label.style.ts +0 -48
- package/src/css/primitives/popover/popover.style.ts +0 -5
- package/src/css/primitives/radio/radio.style.ts +0 -123
- package/src/css/primitives/select/select.style.ts +0 -24
- package/src/css/primitives/spinner/spinner.style.ts +0 -22
- package/src/css/primitives/stack/stack.style.ts +0 -9
- package/src/css/primitives/stack/stack.ts +0 -6
- package/src/css/primitives/switch/switch.style.ts +0 -94
- package/src/css/primitives/text/text.style.ts +0 -64
- package/src/css/primitives/textArea/textArea.style.ts +0 -9
- package/src/css/primitives/textInput/textInput.style.ts +0 -167
- package/src/css/primitives/token/token.style.ts +0 -49
- package/src/css/primitives/tooltip/tooltip.style.ts +0 -21
- package/src/css/scopeClassName.ts +0 -6
- package/src/css/system.style.ts +0 -158
- package/src/css/utils/srOnly/srOnly.style.ts +0 -14
- package/src/ui/_compat/theme/themeContext.ts +0 -10
- package/src/ui/hooks/useMatchMedia.ts +0 -28
- package/src/ui/primitives/card/cardContext.ts +0 -10
- package/src/ui/primitives/card/cardProvider.tsx +0 -19
- package/src/ui/primitives/card/index.ts +0 -4
- package/src/ui/primitives/card/types.ts +0 -27
- package/src/ui/primitives/card/useCard.ts +0 -7
- package/src/ui/primitives/stack/index.ts +0 -1
- /package/src/{ui → core}/_compat/index.ts +0 -0
- /package/src/{ui → core}/_compat/styles/_responsive.ts +0 -0
- /package/src/{ui → core}/_compat/styles/index.ts +0 -0
- /package/src/{ui → core}/_compat/theme/index.ts +0 -0
- /package/src/{ui → core}/_compat/theme/theme.test.tsx +0 -0
- /package/src/{ui → core}/_compat/theme/themeColorProvider.tsx +0 -0
- /package/src/{ui → core}/_compat/theme/types.ts +0 -0
- /package/src/{ui → core}/_compat/theme/useRootTheme.ts +0 -0
- /package/src/{ui → core}/_compat/theme/useTheme.ts +0 -0
- /package/src/{ui → core}/components/autocomplete/__mocks__/apiStore.ts +0 -0
- /package/src/{ui → core}/components/autocomplete/__mocks__/countries.ts +0 -0
- /package/src/{ui → core}/components/autocomplete/__workshop__/custom.tsx +0 -0
- /package/src/{ui → core}/components/autocomplete/__workshop__/example.tsx +0 -0
- /package/src/{ui → core}/components/autocomplete/__workshop__/focusAndBlur.tsx +0 -0
- /package/src/{ui → core}/components/autocomplete/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/components/autocomplete/__workshop__/types.ts +0 -0
- /package/src/{ui → core}/components/autocomplete/autocompleteOption.tsx +0 -0
- /package/src/{ui → core}/components/autocomplete/autocompleteReducer.ts +0 -0
- /package/src/{ui → core}/components/autocomplete/constants.ts +0 -0
- /package/src/{ui → core}/components/autocomplete/index.ts +0 -0
- /package/src/{ui → core}/components/autocomplete/types.ts +0 -0
- /package/src/{ui → core}/components/breadcrumbs/__workshop__/example.tsx +0 -0
- /package/src/{ui → core}/components/breadcrumbs/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/components/breadcrumbs/breadcrumbs.tsx +0 -0
- /package/src/{ui → core}/components/breadcrumbs/index.ts +0 -0
- /package/src/{ui → core}/components/dialog/__workshop__/activate.tsx +0 -0
- /package/src/{ui → core}/components/dialog/__workshop__/autoFocus.tsx +0 -0
- /package/src/{ui → core}/components/dialog/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/components/dialog/__workshop__/layering.tsx +0 -0
- /package/src/{ui → core}/components/dialog/__workshop__/nested.tsx +0 -0
- /package/src/{ui → core}/components/dialog/__workshop__/onScroll.tsx +0 -0
- /package/src/{ui → core}/components/dialog/__workshop__/panes.tsx +0 -0
- /package/src/{ui → core}/components/dialog/__workshop__/position.tsx +0 -0
- /package/src/{ui → core}/components/dialog/__workshop__/props.tsx +0 -0
- /package/src/{ui → core}/components/dialog/__workshop__/provider.tsx +0 -0
- /package/src/{ui → core}/components/dialog/__workshop__/wrapped.tsx +0 -0
- /package/src/{ui → core}/components/dialog/dialogContext.ts +0 -0
- /package/src/{ui → core}/components/dialog/dialogProvider.tsx +0 -0
- /package/src/{ui → core}/components/dialog/index.ts +0 -0
- /package/src/{ui → core}/components/dialog/useDialog.ts +0 -0
- /package/src/{ui → core}/components/hotkeys/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/components/hotkeys/__workshop__/plain.tsx +0 -0
- /package/src/{ui → core}/components/hotkeys/index.ts +0 -0
- /package/src/{ui → core}/components/index.ts +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/asComponent.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/avatarMenu.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/closableMenuButton.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/constrainedInBoundary.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/customMenuItem.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/customSelectedState.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/disableFocusOnClose.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/groups.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/menuButton.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/menuGroupRight.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/nestedMenu.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/onCloseMenuButton.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/selectedItem.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/shouldFocus.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/tones.tsx +0 -0
- /package/src/{ui → core}/components/menu/__workshop__/withoutArrow.tsx +0 -0
- /package/src/{ui → core}/components/menu/helpers.ts +0 -0
- /package/src/{ui → core}/components/menu/index.ts +0 -0
- /package/src/{ui → core}/components/menu/menu.test.tsx +0 -0
- /package/src/{ui → core}/components/menu/menu.tsx +0 -0
- /package/src/{ui → core}/components/menu/menuButton.tsx +0 -0
- /package/src/{ui → core}/components/menu/menuContext.ts +0 -0
- /package/src/{ui → core}/components/menu/menuDivider.tsx +0 -0
- /package/src/{ui → core}/components/menu/menuGroup.tsx +0 -0
- /package/src/{ui → core}/components/menu/menuItem.tsx +0 -0
- /package/src/{ui → core}/components/menu/useMenu.ts +0 -0
- /package/src/{ui → core}/components/menu/useMenuController.ts +0 -0
- /package/src/{ui → core}/components/skeleton/__workshop__/delay.tsx +0 -0
- /package/src/{ui → core}/components/skeleton/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/components/skeleton/__workshop__/skeleton.tsx +0 -0
- /package/src/{ui → core}/components/skeleton/index.ts +0 -0
- /package/src/{ui → core}/components/skeleton/skeleton.tsx +0 -0
- /package/src/{ui → core}/components/skeleton/textSkeleton.tsx +0 -0
- /package/src/{ui → core}/components/tab/__workshop__/example.tsx +0 -0
- /package/src/{ui → core}/components/tab/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/components/tab/index.ts +0 -0
- /package/src/{ui → core}/components/tab/tab.tsx +0 -0
- /package/src/{ui → core}/components/tab/tabList.tsx +0 -0
- /package/src/{ui → core}/components/tab/tabPanel.tsx +0 -0
- /package/src/{ui → core}/components/toast/__workshop__/hook.tsx +0 -0
- /package/src/{ui → core}/components/toast/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/components/toast/__workshop__/toast.tsx +0 -0
- /package/src/{ui → core}/components/toast/index.ts +0 -0
- /package/src/{ui → core}/components/toast/toast.test.tsx +0 -0
- /package/src/{ui → core}/components/toast/toastContext.ts +0 -0
- /package/src/{ui → core}/components/toast/toastLayer.tsx +0 -0
- /package/src/{ui → core}/components/toast/toastProvider.tsx +0 -0
- /package/src/{ui → core}/components/toast/toastState.ts +0 -0
- /package/src/{ui → core}/components/toast/types.ts +0 -0
- /package/src/{ui → core}/components/toast/useToast.ts +0 -0
- /package/src/{ui → core}/components/tree/__workshop__/basic.perf.ts +0 -0
- /package/src/{ui → core}/components/tree/__workshop__/basic.tsx +0 -0
- /package/src/{ui → core}/components/tree/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/components/tree/__workshop__/tabFromElement.tsx +0 -0
- /package/src/{ui → core}/components/tree/helpers.ts +0 -0
- /package/src/{ui → core}/components/tree/index.ts +0 -0
- /package/src/{ui → core}/components/tree/tree.tsx +0 -0
- /package/src/{ui → core}/components/tree/treeContext.ts +0 -0
- /package/src/{ui → core}/components/tree/treeGroup.tsx +0 -0
- /package/src/{ui → core}/components/tree/treeItem.tsx +0 -0
- /package/src/{ui → core}/components/tree/types.ts +0 -0
- /package/src/{ui → core}/components/tree/useTree.ts +0 -0
- /package/src/{ui → core}/global.ts +0 -0
- /package/src/{ui → core}/helpers/animation.ts +0 -0
- /package/src/{ui → core}/helpers/element.ts +0 -0
- /package/src/{ui → core}/helpers/focus.ts +0 -0
- /package/src/{ui → core}/helpers/index.ts +0 -0
- /package/src/{ui → core}/helpers/props.ts +0 -0
- /package/src/{ui → core}/helpers/scroll.ts +0 -0
- /package/src/{ui → core}/hooks/index.ts +0 -0
- /package/src/{ui → core}/hooks/useArrayProp.ts +0 -0
- /package/src/{ui → core}/hooks/useClickOutside.test.tsx +0 -0
- /package/src/{ui → core}/hooks/useClickOutside.ts +0 -0
- /package/src/{ui → core}/hooks/useClickOutsideEvent.test.tsx +0 -0
- /package/src/{ui → core}/hooks/useClickOutsideEvent.ts +0 -0
- /package/src/{ui → core}/hooks/useCustomValidity.ts +0 -0
- /package/src/{ui → core}/hooks/useDelayed.test.ts +0 -0
- /package/src/{ui → core}/hooks/useDelayedState.ts +0 -0
- /package/src/{ui → core}/hooks/useElementRect/__workshop__/example.tsx +0 -0
- /package/src/{ui → core}/hooks/useElementRect/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/hooks/useElementRect/index.ts +0 -0
- /package/src/{ui → core}/hooks/useElementRect/useElementRect.ts +0 -0
- /package/src/{ui → core}/hooks/useElementSize.ts +0 -0
- /package/src/{ui → core}/hooks/useForwardedRef.ts +0 -0
- /package/src/{ui → core}/hooks/useGlobalKeyDown.ts +0 -0
- /package/src/{ui → core}/hooks/useIsomorphicEffect.ts +0 -0
- /package/src/{ui → core}/hooks/useMediaIndex/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/hooks/useMediaIndex/__workshop__/test.tsx +0 -0
- /package/src/{ui → core}/hooks/useMediaIndex/index.ts +0 -0
- /package/src/{ui → core}/hooks/useMediaIndex/useMediaIndex.test.tsx +0 -0
- /package/src/{ui → core}/hooks/useMounted.ts +0 -0
- /package/src/{ui → core}/hooks/usePrefersDark.hydration.test.tsx +0 -0
- /package/src/{ui → core}/hooks/usePrefersDark.test.tsx +0 -0
- /package/src/{ui → core}/hooks/usePrefersDark.ts +0 -0
- /package/src/{ui → core}/hooks/usePrefersReducedMotion.hydration.test.tsx +0 -0
- /package/src/{ui → core}/hooks/usePrefersReducedMotion.test.tsx +0 -0
- /package/src/{ui → core}/hooks/usePrefersReducedMotion.ts +0 -0
- /package/src/{ui → core}/index.ts +0 -0
- /package/src/{ui → core}/lib/createGlobalScopedContext.ts +0 -0
- /package/src/{ui → core}/lib/globalScope.ts +0 -0
- /package/src/{ui → core}/lib/isRecord.ts +0 -0
- /package/src/{ui → core}/middleware/origin.ts +0 -0
- /package/src/{ui → core}/observers/elementSizeObserver.ts +0 -0
- /package/src/{ui → core}/observers/index.ts +0 -0
- /package/src/{ui → core}/observers/resizeObserver.ts +0 -0
- /package/src/{ui → core}/primitives/_selectable/index.ts +0 -0
- /package/src/{ui → core}/primitives/_selectable/selectable.tsx +0 -0
- /package/src/{ui → core}/primitives/avatar/__workshop__/asButton.tsx +0 -0
- /package/src/{ui → core}/primitives/avatar/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/avatar/__workshop__/stack.tsx +0 -0
- /package/src/{ui → core}/primitives/avatar/__workshop__/withinButton.tsx +0 -0
- /package/src/{ui → core}/primitives/avatar/__workshop__/withinMenuItem.tsx +0 -0
- /package/src/{ui → core}/primitives/avatar/avatar.tsx +0 -0
- /package/src/{ui → core}/primitives/avatar/avatarCounter.tsx +0 -0
- /package/src/{ui → core}/primitives/avatar/avatarStack.tsx +0 -0
- /package/src/{ui → core}/primitives/avatar/index.ts +0 -0
- /package/src/{ui → core}/primitives/avatar/types.ts +0 -0
- /package/src/{ui → core}/primitives/badge/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/badge/__workshop__/props.tsx +0 -0
- /package/src/{ui → core}/primitives/badge/__workshop__/tones.tsx +0 -0
- /package/src/{ui → core}/primitives/badge/badge.test.tsx +0 -0
- /package/src/{ui → core}/primitives/badge/badge.tsx +0 -0
- /package/src/{ui → core}/primitives/badge/index.ts +0 -0
- /package/src/{ui → core}/primitives/badge/types.ts +0 -0
- /package/src/{ui → core}/primitives/box/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/box/__workshop__/props.tsx +0 -0
- /package/src/{ui → core}/primitives/box/__workshop__/responsive.tsx +0 -0
- /package/src/{ui → core}/primitives/box/index.ts +0 -0
- /package/src/{ui → core}/primitives/button/__workshop__/custom.tsx +0 -0
- /package/src/{ui → core}/primitives/button/__workshop__/customIcons.tsx +0 -0
- /package/src/{ui → core}/primitives/button/__workshop__/disabled.tsx +0 -0
- /package/src/{ui → core}/primitives/button/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/button/__workshop__/mixedChildren.tsx +0 -0
- /package/src/{ui → core}/primitives/button/__workshop__/props.tsx +0 -0
- /package/src/{ui → core}/primitives/button/__workshop__/sanityUploadButton.tsx +0 -0
- /package/src/{ui → core}/primitives/button/__workshop__/stacked.tsx +0 -0
- /package/src/{ui → core}/primitives/button/__workshop__/styled1.tsx +0 -0
- /package/src/{ui → core}/primitives/button/__workshop__/styled2.tsx +0 -0
- /package/src/{ui → core}/primitives/button/__workshop__/uploadButton.tsx +0 -0
- /package/src/{ui → core}/primitives/button/button.test.tsx +0 -0
- /package/src/{ui → core}/primitives/button/index.ts +0 -0
- /package/src/{ui → core}/primitives/card/__workshop__/allTones.tsx +0 -0
- /package/src/{ui → core}/primitives/card/__workshop__/asButton.tsx +0 -0
- /package/src/{ui → core}/primitives/card/__workshop__/asComponent.tsx +0 -0
- /package/src/{ui → core}/primitives/card/__workshop__/checkered.tsx +0 -0
- /package/src/{ui → core}/primitives/card/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/card/__workshop__/interactive.tsx +0 -0
- /package/src/{ui → core}/primitives/card/__workshop__/listNavigation.tsx +0 -0
- /package/src/{ui → core}/primitives/card/__workshop__/props.tsx +0 -0
- /package/src/{ui → core}/primitives/card/__workshop__/selected.tsx +0 -0
- /package/src/{ui → core}/primitives/card/__workshop__/styled.tsx +0 -0
- /package/src/{ui → core}/primitives/checkbox/__workshop__/example.tsx +0 -0
- /package/src/{ui → core}/primitives/checkbox/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/checkbox/__workshop__/props.tsx +0 -0
- /package/src/{ui → core}/primitives/checkbox/__workshop__/readOnly.tsx +0 -0
- /package/src/{ui → core}/primitives/checkbox/__workshop__/tones.tsx +0 -0
- /package/src/{ui → core}/primitives/checkbox/checkbox.tsx +0 -0
- /package/src/{ui → core}/primitives/checkbox/index.ts +0 -0
- /package/src/{ui → core}/primitives/code/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/code/__workshop__/opticalAlignment.tsx +0 -0
- /package/src/{ui → core}/primitives/code/__workshop__/props.tsx +0 -0
- /package/src/{ui → core}/primitives/code/index.ts +0 -0
- /package/src/{ui → core}/primitives/code/refractor.tsx +0 -0
- /package/src/{ui → core}/primitives/container/__workshop__/example.tsx +0 -0
- /package/src/{ui → core}/primitives/container/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/container/container.tsx +0 -0
- /package/src/{ui → core}/primitives/container/index.ts +0 -0
- /package/src/{ui → core}/primitives/container/types.ts +0 -0
- /package/src/{ui → core}/primitives/flex/__workshop__/example.tsx +0 -0
- /package/src/{ui → core}/primitives/flex/__workshop__/gap.tsx +0 -0
- /package/src/{ui → core}/primitives/flex/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/flex/flex.tsx +0 -0
- /package/src/{ui → core}/primitives/flex/index.ts +0 -0
- /package/src/{ui → core}/primitives/grid/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/grid/__workshop__/responsive.tsx +0 -0
- /package/src/{ui → core}/primitives/grid/grid.tsx +0 -0
- /package/src/{ui → core}/primitives/grid/index.ts +0 -0
- /package/src/{ui → core}/primitives/heading/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/heading/__workshop__/opticalAlignment.tsx +0 -0
- /package/src/{ui → core}/primitives/heading/__workshop__/plain.tsx +0 -0
- /package/src/{ui → core}/primitives/heading/index.ts +0 -0
- /package/src/{ui → core}/primitives/index.ts +0 -0
- /package/src/{ui → core}/primitives/inline/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/inline/__workshop__/plain.tsx +0 -0
- /package/src/{ui → core}/primitives/inline/index.ts +0 -0
- /package/src/{ui → core}/primitives/inline/inline.tsx +0 -0
- /package/src/{ui → core}/primitives/inline/types.ts +0 -0
- /package/src/{ui → core}/primitives/kbd/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/kbd/__workshop__/plain.tsx +0 -0
- /package/src/{ui → core}/primitives/kbd/index.ts +0 -0
- /package/src/{ui → core}/primitives/label/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/label/__workshop__/opticalAlignment.tsx +0 -0
- /package/src/{ui → core}/primitives/label/__workshop__/plain.tsx +0 -0
- /package/src/{ui → core}/primitives/label/index.ts +0 -0
- /package/src/{ui → core}/primitives/label/label.tsx +0 -0
- /package/src/{ui → core}/primitives/popover/__workshop__/AlignedStory.tsx +0 -0
- /package/src/{ui → core}/primitives/popover/__workshop__/MarginsStory.tsx +0 -0
- /package/src/{ui → core}/primitives/popover/__workshop__/MatchReferenceWidthStory.tsx +0 -0
- /package/src/{ui → core}/primitives/popover/__workshop__/PlainStory.tsx +0 -0
- /package/src/{ui → core}/primitives/popover/__workshop__/RecursiveStory.tsx +0 -0
- /package/src/{ui → core}/primitives/popover/__workshop__/TestStory.tsx +0 -0
- /package/src/{ui → core}/primitives/popover/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/popover/constants.ts +0 -0
- /package/src/{ui → core}/primitives/popover/floating-ui/size.ts +0 -0
- /package/src/{ui → core}/primitives/popover/helpers.ts +0 -0
- /package/src/{ui → core}/primitives/popover/index.ts +0 -0
- /package/src/{ui → core}/primitives/popover/types.ts +0 -0
- /package/src/{ui → core}/primitives/radio/__workshop__/example.tsx +0 -0
- /package/src/{ui → core}/primitives/radio/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/radio/__workshop__/plain.tsx +0 -0
- /package/src/{ui → core}/primitives/radio/index.ts +0 -0
- /package/src/{ui → core}/primitives/radio/radio.tsx +0 -0
- /package/src/{ui → core}/primitives/select/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/select/__workshop__/plain.tsx +0 -0
- /package/src/{ui → core}/primitives/select/__workshop__/readOnly.tsx +0 -0
- /package/src/{ui → core}/primitives/select/index.ts +0 -0
- /package/src/{ui → core}/primitives/spinner/__workshop__/Props.tsx +0 -0
- /package/src/{ui → core}/primitives/spinner/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/spinner/animatedSpinnerIcon.tsx +0 -0
- /package/src/{ui → core}/primitives/spinner/index.ts +0 -0
- /package/src/{ui → core}/primitives/spinner/spinner.tsx +0 -0
- /package/src/{ui → core}/primitives/stack/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/stack/__workshop__/plain.tsx +0 -0
- /package/src/{css → core}/primitives/stack/index.ts +0 -0
- /package/src/{ui → core}/primitives/switch/__workshop__/example.tsx +0 -0
- /package/src/{ui → core}/primitives/switch/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/switch/__workshop__/props.tsx +0 -0
- /package/src/{ui → core}/primitives/switch/index.ts +0 -0
- /package/src/{ui → core}/primitives/switch/switch.tsx +0 -0
- /package/src/{ui → core}/primitives/text/__workshop__/colored.tsx +0 -0
- /package/src/{ui → core}/primitives/text/__workshop__/example.tsx +0 -0
- /package/src/{ui → core}/primitives/text/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/text/__workshop__/opticalAlignment.tsx +0 -0
- /package/src/{ui → core}/primitives/text/index.ts +0 -0
- /package/src/{ui → core}/primitives/textArea/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/textArea/__workshop__/plain.tsx +0 -0
- /package/src/{ui → core}/primitives/textArea/index.ts +0 -0
- /package/src/{ui → core}/primitives/textArea/textArea.tsx +0 -0
- /package/src/{ui → core}/primitives/textInput/__workshop__/clearButton.tsx +0 -0
- /package/src/{ui → core}/primitives/textInput/__workshop__/customValidity.tsx +0 -0
- /package/src/{ui → core}/primitives/textInput/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/textInput/__workshop__/plain.tsx +0 -0
- /package/src/{ui → core}/primitives/textInput/__workshop__/readOnly.tsx +0 -0
- /package/src/{ui → core}/primitives/textInput/__workshop__/states.tsx +0 -0
- /package/src/{ui → core}/primitives/textInput/__workshop__/tones.tsx +0 -0
- /package/src/{ui → core}/primitives/textInput/__workshop__/typed.tsx +0 -0
- /package/src/{ui → core}/primitives/textInput/index.ts +0 -0
- /package/src/{ui → core}/primitives/tooltip/__workshop__/customPortal.tsx +0 -0
- /package/src/{ui → core}/primitives/tooltip/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/primitives/tooltip/__workshop__/overflowingBoundary.tsx +0 -0
- /package/src/{ui → core}/primitives/tooltip/__workshop__/props.tsx +0 -0
- /package/src/{ui → core}/primitives/tooltip/__workshop__/resizableBoundary.tsx +0 -0
- /package/src/{ui → core}/primitives/tooltip/constants.ts +0 -0
- /package/src/{ui → core}/primitives/tooltip/index.ts +0 -0
- /package/src/{ui → core}/primitives/tooltip/tooltipCard.tsx +0 -0
- /package/src/{ui → core}/primitives/tooltip/tooltipDelayGroup/index.ts +0 -0
- /package/src/{ui → core}/primitives/tooltip/tooltipDelayGroup/tooltipDelayGroupContext.tsx +0 -0
- /package/src/{ui → core}/primitives/tooltip/tooltipDelayGroup/tooltipDelayGroupProvider.tsx +0 -0
- /package/src/{ui → core}/primitives/tooltip/tooltipDelayGroup/types.ts +0 -0
- /package/src/{ui → core}/primitives/tooltip/tooltipDelayGroup/useTooltipDelayGroup.ts +0 -0
- /package/src/{ui → core}/primitives/types.ts +0 -0
- /package/src/{ui → core}/types/avatar.ts +0 -0
- /package/src/{ui → core}/types/badge.ts +0 -0
- /package/src/{ui → core}/types/box.ts +0 -0
- /package/src/{ui → core}/types/button.ts +0 -0
- /package/src/{ui → core}/types/card.ts +0 -0
- /package/src/{ui → core}/types/dialog.ts +0 -0
- /package/src/{ui → core}/types/flex.ts +0 -0
- /package/src/{ui → core}/types/grid.ts +0 -0
- /package/src/{ui → core}/types/gridItem.ts +0 -0
- /package/src/{ui → core}/types/index.ts +0 -0
- /package/src/{ui → core}/types/placement.ts +0 -0
- /package/src/{ui → core}/types/popover.ts +0 -0
- /package/src/{ui → core}/types/props.ts +0 -0
- /package/src/{ui → core}/types/radius.ts +0 -0
- /package/src/{ui → core}/types/selectable.ts +0 -0
- /package/src/{ui → core}/types/text.ts +0 -0
- /package/src/{ui → core}/utils/arrow/arrow.tsx +0 -0
- /package/src/{ui → core}/utils/arrow/cmds.ts +0 -0
- /package/src/{ui → core}/utils/arrow/index.ts +0 -0
- /package/src/{ui → core}/utils/boundaryElement/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/utils/boundaryElement/__workshop__/plain.tsx +0 -0
- /package/src/{ui → core}/utils/boundaryElement/boundaryElement.test.tsx +0 -0
- /package/src/{ui → core}/utils/boundaryElement/boundaryElementContext.ts +0 -0
- /package/src/{ui → core}/utils/boundaryElement/boundaryElementProvider.tsx +0 -0
- /package/src/{ui → core}/utils/boundaryElement/index.ts +0 -0
- /package/src/{ui → core}/utils/boundaryElement/types.ts +0 -0
- /package/src/{ui → core}/utils/boundaryElement/useBoundaryElement.ts +0 -0
- /package/src/{ui → core}/utils/conditionalWrapper/conditionalWrapper.tsx +0 -0
- /package/src/{ui → core}/utils/conditionalWrapper/index.ts +0 -0
- /package/src/{ui → core}/utils/elementQuery/__workshop__/customMedia.tsx +0 -0
- /package/src/{ui → core}/utils/elementQuery/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/utils/elementQuery/elementQuery.tsx +0 -0
- /package/src/{ui → core}/utils/elementQuery/helpers.ts +0 -0
- /package/src/{ui → core}/utils/elementQuery/index.ts +0 -0
- /package/src/{ui → core}/utils/errorBoundary.tsx +0 -0
- /package/src/{ui → core}/utils/getElementRef.ts +0 -0
- /package/src/{ui → core}/utils/index.ts +0 -0
- /package/src/{ui → core}/utils/layer/__workshop__/_debug.tsx +0 -0
- /package/src/{ui → core}/utils/layer/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/utils/layer/__workshop__/multipleRoots.tsx +0 -0
- /package/src/{ui → core}/utils/layer/__workshop__/nested.tsx +0 -0
- /package/src/{ui → core}/utils/layer/__workshop__/responsiveZOffset.tsx +0 -0
- /package/src/{ui → core}/utils/layer/getLayerContext.test.ts +0 -0
- /package/src/{ui → core}/utils/layer/getLayerContext.ts +0 -0
- /package/src/{ui → core}/utils/layer/index.ts +0 -0
- /package/src/{ui → core}/utils/layer/layer.test.tsx +0 -0
- /package/src/{ui → core}/utils/layer/layer.tsx +0 -0
- /package/src/{ui → core}/utils/layer/layerContext.ts +0 -0
- /package/src/{ui → core}/utils/layer/types.ts +0 -0
- /package/src/{ui → core}/utils/layer/useLayer.ts +0 -0
- /package/src/{ui → core}/utils/portal/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/utils/portal/__workshop__/named.tsx +0 -0
- /package/src/{ui → core}/utils/portal/index.ts +0 -0
- /package/src/{ui → core}/utils/portal/portal.test.tsx +0 -0
- /package/src/{ui → core}/utils/portal/portalContext.ts +0 -0
- /package/src/{ui → core}/utils/portal/portalProvider.tsx +0 -0
- /package/src/{ui → core}/utils/portal/types.ts +0 -0
- /package/src/{ui → core}/utils/portal/usePortal.ts +0 -0
- /package/src/{ui → core}/utils/spanWithTextOverflow.tsx +0 -0
- /package/src/{ui → core}/utils/srOnly/index.ts +0 -0
- /package/src/{ui → core}/utils/srOnly/srOnly.tsx +0 -0
- /package/src/{ui → core}/utils/virtualList/__workshop__/changingProps.tsx +0 -0
- /package/src/{ui → core}/utils/virtualList/__workshop__/elementScroll.tsx +0 -0
- /package/src/{ui → core}/utils/virtualList/__workshop__/index.ts +0 -0
- /package/src/{ui → core}/utils/virtualList/__workshop__/infiniteList.tsx +0 -0
- /package/src/{ui → core}/utils/virtualList/__workshop__/windowScrolll.tsx +0 -0
- /package/src/{ui → core}/utils/virtualList/index.ts +0 -0
- /package/src/css/{aspects → styles}/border/index.ts +0 -0
- /package/src/css/{aspects → styles}/border/types.ts +0 -0
- /package/src/css/{aspects → styles}/display/display.ts +0 -0
- /package/src/css/{aspects → styles}/display/index.ts +0 -0
- /package/src/css/{aspects → styles}/display/types.ts +0 -0
- /package/src/css/{aspects → styles}/flex/index.ts +0 -0
- /package/src/css/{aspects → styles}/flex/types.ts +0 -0
- /package/src/css/{aspects → styles}/flexItem/index.ts +0 -0
- /package/src/css/{aspects → styles}/font/index.ts +0 -0
- /package/src/css/{aspects → styles}/font/types.ts +0 -0
- /package/src/css/{aspects → styles}/gap/gap.ts +0 -0
- /package/src/css/{aspects → styles}/gap/index.ts +0 -0
- /package/src/css/{aspects → styles}/gap/types.ts +0 -0
- /package/src/css/{aspects → styles}/grid/index.ts +0 -0
- /package/src/css/{aspects → styles}/gridItem/gridItem.ts +0 -0
- /package/src/css/{aspects → styles}/gridItem/index.ts +0 -0
- /package/src/css/{aspects → styles}/gridItem/types.ts +0 -0
- /package/src/css/{aspects → styles}/height/rules.ts +0 -0
- /package/src/css/{aspects → styles}/inset/index.ts +0 -0
- /package/src/css/{aspects → styles}/inset/inset.ts +0 -0
- /package/src/css/{aspects → styles}/inset/types.ts +0 -0
- /package/src/css/{aspects → styles}/margin/index.ts +0 -0
- /package/src/css/{aspects → styles}/margin/margin.ts +0 -0
- /package/src/css/{aspects → styles}/margin/types.ts +0 -0
- /package/src/css/{aspects → styles}/maxWidth/index.ts +0 -0
- /package/src/css/{aspects → styles}/maxWidth/maxWidth.ts +0 -0
- /package/src/css/{aspects → styles}/overflow/index.ts +0 -0
- /package/src/css/{aspects → styles}/overflow/overflow.ts +0 -0
- /package/src/css/{aspects → styles}/overflow/types.ts +0 -0
- /package/src/css/{aspects → styles}/padding/index.ts +0 -0
- /package/src/css/{aspects → styles}/padding/padding.ts +0 -0
- /package/src/css/{aspects → styles}/padding/types.ts +0 -0
- /package/src/css/{aspects → styles}/pointerEvents/index.ts +0 -0
- /package/src/css/{aspects → styles}/pointerEvents/pointerEvents.ts +0 -0
- /package/src/css/{aspects → styles}/pointerEvents/types.ts +0 -0
- /package/src/css/{aspects → styles}/position/index.ts +0 -0
- /package/src/css/{aspects → styles}/position/types.ts +0 -0
- /package/src/css/{aspects → styles}/radius/index.ts +0 -0
- /package/src/css/{aspects → styles}/radius/radius.ts +0 -0
- /package/src/css/{aspects → styles}/shadow/index.ts +0 -0
- /package/src/css/{aspects → styles}/shadow/shadow.ts +0 -0
- /package/src/css/{aspects → styles}/shadow/types.ts +0 -0
- /package/src/css/{aspects → styles}/textOverflow/index.ts +0 -0
- /package/src/css/{aspects → styles}/textOverflow/types.ts +0 -0
- /package/src/css/{aspects → styles}/width/index.ts +0 -0
- /package/src/css/{aspects → styles}/width/width.ts +0 -0
package/dist/css.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {AvatarSize} from '@sanity/ui/theme'
|
|
2
|
+
import {ColorHueKey} from '@sanity/color'
|
|
2
3
|
import {ContainerWidth} from '@sanity/ui/theme'
|
|
3
4
|
import {default as CSS_2} from 'csstype'
|
|
4
5
|
import {FontCodeSize} from '@sanity/ui/theme'
|
|
@@ -6,27 +7,29 @@ import {FontHeadingSize} from '@sanity/ui/theme'
|
|
|
6
7
|
import {FontLabelSize} from '@sanity/ui/theme'
|
|
7
8
|
import {FontTextSize} from '@sanity/ui/theme'
|
|
8
9
|
import {FontWeight} from '@sanity/ui/theme'
|
|
9
|
-
import {Hue} from '@sanity/ui/theme'
|
|
10
|
+
import {Hue as Hue_2} from '@sanity/ui/theme'
|
|
11
|
+
import {PaletteConfig as PaletteConfig_2} from '@sanity/ui/theme'
|
|
10
12
|
import {Radius} from '@sanity/ui/theme'
|
|
11
13
|
import {RootTheme} from '@sanity/ui/theme'
|
|
12
14
|
import {Shadow} from '@sanity/ui/theme'
|
|
13
15
|
import {Space} from '@sanity/ui/theme'
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
16
|
+
import type {StyledObject} from 'styled-components'
|
|
17
|
+
import {ThemeBoxShadow as ThemeBoxShadow_2} from '@sanity/ui/theme'
|
|
18
|
+
import {ThemeColorAvatarColorKey as ThemeColorAvatarColorKey_2} from '@sanity/ui/theme'
|
|
19
|
+
import {ThemeColorButtonModeKey as ThemeColorButtonModeKey_2} from '@sanity/ui/theme'
|
|
20
|
+
import {ThemeColorCardToneKey as ThemeColorCardToneKey_2} from '@sanity/ui/theme'
|
|
21
|
+
import {ThemeColorSchemeKey as ThemeColorSchemeKey_2} from '@sanity/ui/theme'
|
|
22
|
+
import {ThemeColorStateToneKey as ThemeColorStateToneKey_2} from '@sanity/ui/theme'
|
|
23
|
+
import {Tint as Tint_2} from '@sanity/ui/theme'
|
|
21
24
|
|
|
22
25
|
export declare function animatedSpinnerIcon(): string | undefined
|
|
23
26
|
|
|
24
27
|
/** @internal */
|
|
25
28
|
export declare function _arrow(): string | undefined
|
|
26
29
|
|
|
27
|
-
export declare function _arrowShape(): string
|
|
30
|
+
export declare function _arrowShape(): string
|
|
28
31
|
|
|
29
|
-
export declare function _arrowStroke(): string
|
|
32
|
+
export declare function _arrowStroke(): string
|
|
30
33
|
|
|
31
34
|
export declare function avatar(props: AvatarStyleProps): string | undefined
|
|
32
35
|
|
|
@@ -47,7 +50,7 @@ export declare type AvatarScopedVarName =
|
|
|
47
50
|
export declare function avatarStack(props: {size?: AvatarStyleProps['size']}): string | undefined
|
|
48
51
|
|
|
49
52
|
export declare interface AvatarStyleProps {
|
|
50
|
-
color:
|
|
53
|
+
color: ThemeColorAvatarColorKey_2
|
|
51
54
|
size: ResponsiveProp<AvatarSize>
|
|
52
55
|
}
|
|
53
56
|
|
|
@@ -56,7 +59,7 @@ export declare function badge(props: BadgeStyleProps): string | undefined
|
|
|
56
59
|
|
|
57
60
|
/** @public */
|
|
58
61
|
export declare interface BadgeStyleProps extends RadiusStyleProps {
|
|
59
|
-
tone:
|
|
62
|
+
tone: ThemeColorStateToneKey_2
|
|
60
63
|
}
|
|
61
64
|
|
|
62
65
|
/** @public */
|
|
@@ -96,17 +99,16 @@ export declare interface BoxStyleProps
|
|
|
96
99
|
GapStyleProps,
|
|
97
100
|
GridStyleProps,
|
|
98
101
|
GridItemStyleProps,
|
|
99
|
-
HeightStyleProps,
|
|
100
102
|
InsetStyleProps,
|
|
101
103
|
MarginStyleProps,
|
|
102
104
|
MaxWidthStyleProps,
|
|
103
|
-
MinWidthStyleProps,
|
|
104
105
|
OverflowStyleProps,
|
|
105
106
|
PaddingStyleProps,
|
|
106
107
|
PointerEventsStyleProps,
|
|
107
108
|
PositionStyleProps,
|
|
108
109
|
RadiusStyleProps,
|
|
109
110
|
WidthStyleProps {
|
|
111
|
+
height?: ResponsiveProp<BoxHeight>
|
|
110
112
|
muted?: boolean
|
|
111
113
|
outline?: 'none'
|
|
112
114
|
sizing?: ResponsiveProp<BoxSizing>
|
|
@@ -118,68 +120,100 @@ export declare function button(props: ButtonStyleProps): string | undefined
|
|
|
118
120
|
|
|
119
121
|
export declare function buttonLoadingBox(): string | undefined
|
|
120
122
|
|
|
121
|
-
export declare type ButtonScopedVarName = '--button-box-shadow'
|
|
122
|
-
|
|
123
123
|
export declare interface ButtonStyleProps
|
|
124
124
|
extends DisplayStyleProps,
|
|
125
125
|
FlexItemStyleProps,
|
|
126
126
|
RadiusStyleProps,
|
|
127
127
|
WidthStyleProps {
|
|
128
|
-
mode?:
|
|
129
|
-
tone?:
|
|
128
|
+
mode?: ThemeColorButtonModeKey_2
|
|
129
|
+
tone?: ThemeColorStateToneKey_2
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
export declare function card(props: CardStyleProps): string | undefined
|
|
133
133
|
|
|
134
|
+
/** @public */
|
|
135
|
+
declare interface CardColorTokens {
|
|
136
|
+
_hue: Hue
|
|
137
|
+
avatar: Record<
|
|
138
|
+
Hue,
|
|
139
|
+
{
|
|
140
|
+
_hue: Hue
|
|
141
|
+
bg: [ColorToken, ColorToken]
|
|
142
|
+
fg: [ColorToken, ColorToken]
|
|
143
|
+
}
|
|
144
|
+
>
|
|
145
|
+
backdrop: [ColorToken, ColorToken]
|
|
146
|
+
focusRing: [ColorToken, ColorToken]
|
|
147
|
+
link: {
|
|
148
|
+
fg: [ColorToken, ColorToken]
|
|
149
|
+
}
|
|
150
|
+
shadow: {
|
|
151
|
+
outline: [ColorToken, ColorToken]
|
|
152
|
+
umbra: [ColorToken, ColorToken]
|
|
153
|
+
penumbra: [ColorToken, ColorToken]
|
|
154
|
+
ambient: [ColorToken, ColorToken]
|
|
155
|
+
}
|
|
156
|
+
skeleton: {
|
|
157
|
+
from: [ColorToken, ColorToken]
|
|
158
|
+
to: [ColorToken, ColorToken]
|
|
159
|
+
}
|
|
160
|
+
token: {
|
|
161
|
+
atrule: [ColorToken, ColorToken]
|
|
162
|
+
attrName: [ColorToken, ColorToken]
|
|
163
|
+
attrValue: [ColorToken, ColorToken]
|
|
164
|
+
attribute: [ColorToken, ColorToken]
|
|
165
|
+
boolean: [ColorToken, ColorToken]
|
|
166
|
+
builtin: [ColorToken, ColorToken]
|
|
167
|
+
cdata: [ColorToken, ColorToken]
|
|
168
|
+
char: [ColorToken, ColorToken]
|
|
169
|
+
class: [ColorToken, ColorToken]
|
|
170
|
+
className: [ColorToken, ColorToken]
|
|
171
|
+
comment: [ColorToken, ColorToken]
|
|
172
|
+
constant: [ColorToken, ColorToken]
|
|
173
|
+
deleted: [ColorToken, ColorToken]
|
|
174
|
+
doctype: [ColorToken, ColorToken]
|
|
175
|
+
entity: [ColorToken, ColorToken]
|
|
176
|
+
function: [ColorToken, ColorToken]
|
|
177
|
+
hexcode: [ColorToken, ColorToken]
|
|
178
|
+
id: [ColorToken, ColorToken]
|
|
179
|
+
important: [ColorToken, ColorToken]
|
|
180
|
+
inserted: [ColorToken, ColorToken]
|
|
181
|
+
keyword: [ColorToken, ColorToken]
|
|
182
|
+
number: [ColorToken, ColorToken]
|
|
183
|
+
operator: [ColorToken, ColorToken]
|
|
184
|
+
prolog: [ColorToken, ColorToken]
|
|
185
|
+
property: [ColorToken, ColorToken]
|
|
186
|
+
pseudoClass: [ColorToken, ColorToken]
|
|
187
|
+
pseudoElement: [ColorToken, ColorToken]
|
|
188
|
+
punctuation: [ColorToken, ColorToken]
|
|
189
|
+
regex: [ColorToken, ColorToken]
|
|
190
|
+
selector: [ColorToken, ColorToken]
|
|
191
|
+
string: [ColorToken, ColorToken]
|
|
192
|
+
symbol: [ColorToken, ColorToken]
|
|
193
|
+
tag: [ColorToken, ColorToken]
|
|
194
|
+
unit: [ColorToken, ColorToken]
|
|
195
|
+
url: [ColorToken, ColorToken]
|
|
196
|
+
variable: [ColorToken, ColorToken]
|
|
197
|
+
}
|
|
198
|
+
variant: {
|
|
199
|
+
solid: Record<'*' | ThemeColorStateToneKey, ElementColorTokens>
|
|
200
|
+
tinted: Record<'*' | ThemeColorStateToneKey, ElementColorTokens>
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
134
204
|
/** @public */
|
|
135
205
|
export declare type CardScopedVarName =
|
|
136
206
|
| `--color-accent-fg`
|
|
137
207
|
| `--color-avatar-bg`
|
|
138
208
|
| `--color-avatar-fg`
|
|
139
|
-
| `--color-avatar-${
|
|
140
|
-
| `--color-avatar-${
|
|
209
|
+
| `--color-avatar-${ThemeColorAvatarColorKey_2}-bg`
|
|
210
|
+
| `--color-avatar-${ThemeColorAvatarColorKey_2}-fg`
|
|
141
211
|
| `--color-backdrop`
|
|
142
|
-
| `--color-${ElementColorVariant}-${
|
|
212
|
+
| `--color-${ElementColorVariant}-${ThemeColorStateToneKey_2}-${ElementColorVariantKey}`
|
|
143
213
|
| `--color-bg`
|
|
144
214
|
| `--color-border`
|
|
145
215
|
| `--color-code-bg`
|
|
146
216
|
| `--color-code-fg`
|
|
147
|
-
| `--color-code-token-atrule`
|
|
148
|
-
| `--color-code-token-attr-name`
|
|
149
|
-
| `--color-code-token-attr-value`
|
|
150
|
-
| `--color-code-token-attribute`
|
|
151
|
-
| `--color-code-token-boolean`
|
|
152
|
-
| `--color-code-token-builtin`
|
|
153
|
-
| `--color-code-token-cdata`
|
|
154
|
-
| `--color-code-token-char`
|
|
155
|
-
| `--color-code-token-class`
|
|
156
|
-
| `--color-code-token-class-name`
|
|
157
|
-
| `--color-code-token-comment`
|
|
158
|
-
| `--color-code-token-constant`
|
|
159
|
-
| `--color-code-token-deleted`
|
|
160
|
-
| `--color-code-token-doctype`
|
|
161
|
-
| `--color-code-token-entity`
|
|
162
|
-
| `--color-code-token-function`
|
|
163
|
-
| `--color-code-token-hexcode`
|
|
164
|
-
| `--color-code-token-id`
|
|
165
|
-
| `--color-code-token-important`
|
|
166
|
-
| `--color-code-token-inserted`
|
|
167
|
-
| `--color-code-token-keyword`
|
|
168
|
-
| `--color-code-token-number`
|
|
169
|
-
| `--color-code-token-operator`
|
|
170
|
-
| `--color-code-token-prolog`
|
|
171
|
-
| `--color-code-token-property`
|
|
172
|
-
| `--color-code-token-pseudo-class`
|
|
173
|
-
| `--color-code-token-pseudo-element`
|
|
174
|
-
| `--color-code-token-punctuation`
|
|
175
|
-
| `--color-code-token-regex`
|
|
176
|
-
| `--color-code-token-selector`
|
|
177
|
-
| `--color-code-token-string`
|
|
178
|
-
| `--color-code-token-symbol`
|
|
179
|
-
| `--color-code-token-tag`
|
|
180
|
-
| `--color-code-token-unit`
|
|
181
|
-
| `--color-code-token-url`
|
|
182
|
-
| `--color-code-token-variable`
|
|
183
217
|
| `--color-fg`
|
|
184
218
|
| `--color-focus-ring`
|
|
185
219
|
| `--color-link-fg`
|
|
@@ -191,6 +225,42 @@ export declare type CardScopedVarName =
|
|
|
191
225
|
| `--color-shadow-ambient`
|
|
192
226
|
| `--color-skeleton-from`
|
|
193
227
|
| `--color-skeleton-to`
|
|
228
|
+
| `--color-token-atrule`
|
|
229
|
+
| `--color-token-attr-name`
|
|
230
|
+
| `--color-token-attr-value`
|
|
231
|
+
| `--color-token-attribute`
|
|
232
|
+
| `--color-token-boolean`
|
|
233
|
+
| `--color-token-builtin`
|
|
234
|
+
| `--color-token-cdata`
|
|
235
|
+
| `--color-token-char`
|
|
236
|
+
| `--color-token-class`
|
|
237
|
+
| `--color-token-class-name`
|
|
238
|
+
| `--color-token-comment`
|
|
239
|
+
| `--color-token-constant`
|
|
240
|
+
| `--color-token-deleted`
|
|
241
|
+
| `--color-token-doctype`
|
|
242
|
+
| `--color-token-entity`
|
|
243
|
+
| `--color-token-function`
|
|
244
|
+
| `--color-token-hexcode`
|
|
245
|
+
| `--color-token-id`
|
|
246
|
+
| `--color-token-important`
|
|
247
|
+
| `--color-token-inserted`
|
|
248
|
+
| `--color-token-keyword`
|
|
249
|
+
| `--color-token-number`
|
|
250
|
+
| `--color-token-operator`
|
|
251
|
+
| `--color-token-prolog`
|
|
252
|
+
| `--color-token-property`
|
|
253
|
+
| `--color-token-pseudo-class`
|
|
254
|
+
| `--color-token-pseudo-element`
|
|
255
|
+
| `--color-token-punctuation`
|
|
256
|
+
| `--color-token-regex`
|
|
257
|
+
| `--color-token-selector`
|
|
258
|
+
| `--color-token-string`
|
|
259
|
+
| `--color-token-symbol`
|
|
260
|
+
| `--color-token-tag`
|
|
261
|
+
| `--color-token-unit`
|
|
262
|
+
| `--color-token-url`
|
|
263
|
+
| `--color-token-variable`
|
|
194
264
|
| `--color-checkbox-bg`
|
|
195
265
|
| `--color-checkbox-fg`
|
|
196
266
|
| `--color-checkbox-border`
|
|
@@ -219,8 +289,9 @@ export declare type CardScopedVarName =
|
|
|
219
289
|
|
|
220
290
|
export declare interface CardStyleProps extends BoxStyleProps, ShadowStyleProps {
|
|
221
291
|
checkered?: boolean
|
|
222
|
-
|
|
223
|
-
|
|
292
|
+
selectable?: boolean
|
|
293
|
+
scheme?: ThemeColorSchemeKey_2
|
|
294
|
+
tone?: ThemeColorCardToneKey_2 | 'inherit'
|
|
224
295
|
}
|
|
225
296
|
|
|
226
297
|
export declare function checkbox(): string | undefined
|
|
@@ -246,8 +317,8 @@ export declare interface CodeStyleProps extends FontStyleProps {
|
|
|
246
317
|
|
|
247
318
|
/** @public */
|
|
248
319
|
export declare interface ColorAvatarColorVarNames {
|
|
249
|
-
bg:
|
|
250
|
-
fg:
|
|
320
|
+
bg: CSSVarName
|
|
321
|
+
fg: CSSVarName
|
|
251
322
|
}
|
|
252
323
|
|
|
253
324
|
/** @public */
|
|
@@ -257,7 +328,7 @@ export declare interface ColorAvatarColorVars {
|
|
|
257
328
|
}
|
|
258
329
|
|
|
259
330
|
/** @public */
|
|
260
|
-
export declare type ColorAvatarVars = Record<
|
|
331
|
+
export declare type ColorAvatarVars = Record<ThemeColorAvatarColorKey_2, ColorAvatarColorVars>
|
|
261
332
|
|
|
262
333
|
/** @public */
|
|
263
334
|
export declare interface ColorBadgeToneVars {
|
|
@@ -268,184 +339,176 @@ export declare interface ColorBadgeToneVars {
|
|
|
268
339
|
}
|
|
269
340
|
|
|
270
341
|
/** @public */
|
|
271
|
-
export declare type ColorBadgeVars = Record<
|
|
342
|
+
export declare type ColorBadgeVars = Record<ThemeColorStateToneKey_2, ColorBadgeToneVars>
|
|
272
343
|
|
|
273
344
|
export declare type ColorCardToneScopedVarName =
|
|
274
|
-
| `--color-${
|
|
275
|
-
| `--color-${
|
|
276
|
-
| `--color-${
|
|
277
|
-
| `--color-${
|
|
278
|
-
| `--color-${
|
|
279
|
-
| `--color-${
|
|
280
|
-
| `--color-${
|
|
281
|
-
| `--color-${
|
|
282
|
-
| `--color-${
|
|
283
|
-
| `--color-${
|
|
284
|
-
| `--color-${
|
|
285
|
-
| `--color-${
|
|
286
|
-
| `--color-${
|
|
287
|
-
| `--color-${
|
|
288
|
-
| `--color-${
|
|
289
|
-
| `--color-${
|
|
290
|
-
| `--color-${
|
|
291
|
-
| `--color-${
|
|
292
|
-
| `--color-${
|
|
293
|
-
| `--color-${
|
|
294
|
-
| `--color-${
|
|
295
|
-
| `--color-${
|
|
296
|
-
| `--color-${
|
|
297
|
-
| `--color-${
|
|
298
|
-
| `--color-${
|
|
299
|
-
| `--color-${
|
|
300
|
-
| `--color-${
|
|
301
|
-
| `--color-${
|
|
302
|
-
| `--color-${
|
|
303
|
-
| `--color-${
|
|
304
|
-
| `--color-${
|
|
305
|
-
| `--color-${
|
|
306
|
-
| `--color-${
|
|
307
|
-
| `--color-${
|
|
308
|
-
| `--color-${
|
|
309
|
-
| `--color-${
|
|
310
|
-
| `--color-${
|
|
311
|
-
| `--color-${
|
|
312
|
-
| `--color-${
|
|
313
|
-
| `--color-${
|
|
314
|
-
| `--color-${
|
|
315
|
-
| `--color-${
|
|
316
|
-
| `--color-${
|
|
317
|
-
| `--color-${
|
|
318
|
-
| `--color-${
|
|
319
|
-
| `--color-${
|
|
320
|
-
| `--color-${
|
|
321
|
-
| `--color-${
|
|
322
|
-
| `--color-${
|
|
323
|
-
| `--color-${
|
|
324
|
-
| `--color-${
|
|
325
|
-
| `--color-${ThemeColorCardToneKey}-skeleton-from`
|
|
326
|
-
| `--color-${ThemeColorCardToneKey}-skeleton-to`
|
|
345
|
+
| `--color-${ThemeColorCardToneKey_2}-accent-fg`
|
|
346
|
+
| `--color-${ThemeColorCardToneKey_2}-avatar-${ThemeColorAvatarColorKey_2}-bg`
|
|
347
|
+
| `--color-${ThemeColorCardToneKey_2}-avatar-${ThemeColorAvatarColorKey_2}-fg`
|
|
348
|
+
| `--color-${ThemeColorCardToneKey_2}-backdrop`
|
|
349
|
+
| `--color-${ThemeColorCardToneKey_2}-focus-ring`
|
|
350
|
+
| `--color-${ThemeColorCardToneKey_2}-link-fg`
|
|
351
|
+
| `--color-${ThemeColorCardToneKey_2}-muted-bg`
|
|
352
|
+
| `--color-${ThemeColorCardToneKey_2}-muted-fg`
|
|
353
|
+
| `--color-${ThemeColorCardToneKey_2}-${ElementColorVariant}-${ThemeColorStateToneKey_2}-${ElementColorVariantKey}`
|
|
354
|
+
| `--color-${ThemeColorCardToneKey_2}-shadow-outline`
|
|
355
|
+
| `--color-${ThemeColorCardToneKey_2}-shadow-umbra`
|
|
356
|
+
| `--color-${ThemeColorCardToneKey_2}-shadow-penumbra`
|
|
357
|
+
| `--color-${ThemeColorCardToneKey_2}-shadow-ambient`
|
|
358
|
+
| `--color-${ThemeColorCardToneKey_2}-skeleton-from`
|
|
359
|
+
| `--color-${ThemeColorCardToneKey_2}-skeleton-to`
|
|
360
|
+
| `--color-${ThemeColorCardToneKey_2}-token-atrule`
|
|
361
|
+
| `--color-${ThemeColorCardToneKey_2}-token-attr-name`
|
|
362
|
+
| `--color-${ThemeColorCardToneKey_2}-token-attr-value`
|
|
363
|
+
| `--color-${ThemeColorCardToneKey_2}-token-attribute`
|
|
364
|
+
| `--color-${ThemeColorCardToneKey_2}-token-boolean`
|
|
365
|
+
| `--color-${ThemeColorCardToneKey_2}-token-builtin`
|
|
366
|
+
| `--color-${ThemeColorCardToneKey_2}-token-cdata`
|
|
367
|
+
| `--color-${ThemeColorCardToneKey_2}-token-char`
|
|
368
|
+
| `--color-${ThemeColorCardToneKey_2}-token-class`
|
|
369
|
+
| `--color-${ThemeColorCardToneKey_2}-token-class-name`
|
|
370
|
+
| `--color-${ThemeColorCardToneKey_2}-token-comment`
|
|
371
|
+
| `--color-${ThemeColorCardToneKey_2}-token-constant`
|
|
372
|
+
| `--color-${ThemeColorCardToneKey_2}-token-deleted`
|
|
373
|
+
| `--color-${ThemeColorCardToneKey_2}-token-doctype`
|
|
374
|
+
| `--color-${ThemeColorCardToneKey_2}-token-entity`
|
|
375
|
+
| `--color-${ThemeColorCardToneKey_2}-token-function`
|
|
376
|
+
| `--color-${ThemeColorCardToneKey_2}-token-hexcode`
|
|
377
|
+
| `--color-${ThemeColorCardToneKey_2}-token-id`
|
|
378
|
+
| `--color-${ThemeColorCardToneKey_2}-token-important`
|
|
379
|
+
| `--color-${ThemeColorCardToneKey_2}-token-inserted`
|
|
380
|
+
| `--color-${ThemeColorCardToneKey_2}-token-keyword`
|
|
381
|
+
| `--color-${ThemeColorCardToneKey_2}-token-number`
|
|
382
|
+
| `--color-${ThemeColorCardToneKey_2}-token-operator`
|
|
383
|
+
| `--color-${ThemeColorCardToneKey_2}-token-prolog`
|
|
384
|
+
| `--color-${ThemeColorCardToneKey_2}-token-property`
|
|
385
|
+
| `--color-${ThemeColorCardToneKey_2}-token-pseudo-class`
|
|
386
|
+
| `--color-${ThemeColorCardToneKey_2}-token-pseudo-element`
|
|
387
|
+
| `--color-${ThemeColorCardToneKey_2}-token-punctuation`
|
|
388
|
+
| `--color-${ThemeColorCardToneKey_2}-token-regex`
|
|
389
|
+
| `--color-${ThemeColorCardToneKey_2}-token-selector`
|
|
390
|
+
| `--color-${ThemeColorCardToneKey_2}-token-string`
|
|
391
|
+
| `--color-${ThemeColorCardToneKey_2}-token-symbol`
|
|
392
|
+
| `--color-${ThemeColorCardToneKey_2}-token-tag`
|
|
393
|
+
| `--color-${ThemeColorCardToneKey_2}-token-unit`
|
|
394
|
+
| `--color-${ThemeColorCardToneKey_2}-token-url`
|
|
395
|
+
| `--color-${ThemeColorCardToneKey_2}-token-variable`
|
|
327
396
|
|
|
328
397
|
export declare type ColorCardVarName =
|
|
329
|
-
| `--color-${
|
|
330
|
-
| `--color-${
|
|
331
|
-
| `--color-${
|
|
332
|
-
| `--color-${
|
|
333
|
-
| `--color-${
|
|
334
|
-
| `--color-${
|
|
335
|
-
| `--color-${
|
|
336
|
-
| `--color-${
|
|
337
|
-
| `--color-${
|
|
338
|
-
| `--color-${
|
|
339
|
-
| `--color-${
|
|
340
|
-
| `--color-${
|
|
341
|
-
| `--color-${
|
|
342
|
-
| `--color-${
|
|
343
|
-
| `--color-${
|
|
344
|
-
| `--color-${
|
|
345
|
-
| `--color-${
|
|
346
|
-
| `--color-${
|
|
347
|
-
| `--color-${
|
|
348
|
-
| `--color-${
|
|
349
|
-
| `--color-${
|
|
350
|
-
| `--color-${
|
|
351
|
-
| `--color-${
|
|
352
|
-
| `--color-${
|
|
353
|
-
| `--color-${
|
|
354
|
-
| `--color-${
|
|
355
|
-
| `--color-${
|
|
356
|
-
| `--color-${
|
|
357
|
-
| `--color-${
|
|
358
|
-
| `--color-${
|
|
359
|
-
| `--color-${
|
|
360
|
-
| `--color-${
|
|
361
|
-
| `--color-${
|
|
362
|
-
| `--color-${
|
|
363
|
-
| `--color-${
|
|
364
|
-
| `--color-${
|
|
365
|
-
| `--color-${
|
|
366
|
-
| `--color-${
|
|
367
|
-
| `--color-${
|
|
368
|
-
| `--color-${
|
|
369
|
-
| `--color-${
|
|
370
|
-
| `--color-${
|
|
371
|
-
| `--color-${
|
|
372
|
-
| `--color-${
|
|
373
|
-
| `--color-${
|
|
374
|
-
| `--color-${
|
|
375
|
-
| `--color-${
|
|
376
|
-
| `--color-${
|
|
377
|
-
| `--color-${
|
|
378
|
-
| `--color-${
|
|
379
|
-
| `--color-${
|
|
380
|
-
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-skeleton-from`
|
|
381
|
-
| `--color-${ThemeColorSchemeKey}-${ThemeColorCardToneKey}-skeleton-to`
|
|
398
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-accent-fg`
|
|
399
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-avatar-${ThemeColorAvatarColorKey_2}-bg`
|
|
400
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-avatar-${ThemeColorAvatarColorKey_2}-fg`
|
|
401
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-backdrop`
|
|
402
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-focus-ring`
|
|
403
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-link-fg`
|
|
404
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-muted-bg`
|
|
405
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-muted-fg`
|
|
406
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-${ElementColorVariant}-${ThemeColorStateToneKey_2}-${ElementColorVariantKey}`
|
|
407
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-shadow-outline`
|
|
408
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-shadow-umbra`
|
|
409
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-shadow-penumbra`
|
|
410
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-shadow-ambient`
|
|
411
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-skeleton-from`
|
|
412
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-skeleton-to`
|
|
413
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-atrule`
|
|
414
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-attr-name`
|
|
415
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-attr-value`
|
|
416
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-attribute`
|
|
417
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-boolean`
|
|
418
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-builtin`
|
|
419
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-cdata`
|
|
420
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-char`
|
|
421
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-class`
|
|
422
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-class-name`
|
|
423
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-comment`
|
|
424
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-constant`
|
|
425
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-deleted`
|
|
426
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-doctype`
|
|
427
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-entity`
|
|
428
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-function`
|
|
429
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-hexcode`
|
|
430
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-id`
|
|
431
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-important`
|
|
432
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-inserted`
|
|
433
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-keyword`
|
|
434
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-number`
|
|
435
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-operator`
|
|
436
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-prolog`
|
|
437
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-property`
|
|
438
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-pseudo-class`
|
|
439
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-pseudo-element`
|
|
440
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-punctuation`
|
|
441
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-regex`
|
|
442
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-selector`
|
|
443
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-string`
|
|
444
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-symbol`
|
|
445
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-tag`
|
|
446
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-unit`
|
|
447
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-url`
|
|
448
|
+
| `--color-${ThemeColorSchemeKey_2}-${ThemeColorCardToneKey_2}-token-variable`
|
|
382
449
|
|
|
383
450
|
/** @public */
|
|
384
451
|
export declare interface ColorCardVarNames {
|
|
385
452
|
accent: {
|
|
386
|
-
fg:
|
|
387
|
-
}
|
|
388
|
-
avatar: Record<ThemeColorAvatarColorKey, ColorAvatarColorVarNames>
|
|
389
|
-
backdrop: VarName
|
|
390
|
-
code: {
|
|
391
|
-
bg: VarName
|
|
392
|
-
fg: VarName
|
|
393
|
-
token: {
|
|
394
|
-
atrule: VarName
|
|
395
|
-
attrName: VarName
|
|
396
|
-
attrValue: VarName
|
|
397
|
-
attribute: VarName
|
|
398
|
-
boolean: VarName
|
|
399
|
-
builtin: VarName
|
|
400
|
-
cdata: VarName
|
|
401
|
-
char: VarName
|
|
402
|
-
class: VarName
|
|
403
|
-
className: VarName
|
|
404
|
-
comment: VarName
|
|
405
|
-
constant: VarName
|
|
406
|
-
deleted: VarName
|
|
407
|
-
doctype: VarName
|
|
408
|
-
entity: VarName
|
|
409
|
-
function: VarName
|
|
410
|
-
hexcode: VarName
|
|
411
|
-
id: VarName
|
|
412
|
-
important: VarName
|
|
413
|
-
inserted: VarName
|
|
414
|
-
keyword: VarName
|
|
415
|
-
number: VarName
|
|
416
|
-
operator: VarName
|
|
417
|
-
prolog: VarName
|
|
418
|
-
property: VarName
|
|
419
|
-
pseudoClass: VarName
|
|
420
|
-
pseudoElement: VarName
|
|
421
|
-
punctuation: VarName
|
|
422
|
-
regex: VarName
|
|
423
|
-
selector: VarName
|
|
424
|
-
string: VarName
|
|
425
|
-
symbol: VarName
|
|
426
|
-
tag: VarName
|
|
427
|
-
unit: VarName
|
|
428
|
-
url: VarName
|
|
429
|
-
variable: VarName
|
|
430
|
-
}
|
|
453
|
+
fg: CSSVarName
|
|
431
454
|
}
|
|
432
|
-
|
|
455
|
+
avatar: Record<ThemeColorAvatarColorKey_2, ColorAvatarColorVarNames>
|
|
456
|
+
backdrop: CSSVarName
|
|
457
|
+
focusRing: CSSVarName
|
|
433
458
|
link: {
|
|
434
|
-
fg:
|
|
459
|
+
fg: CSSVarName
|
|
435
460
|
}
|
|
436
461
|
muted: {
|
|
437
|
-
bg:
|
|
438
|
-
fg:
|
|
462
|
+
bg: CSSVarName
|
|
463
|
+
fg: CSSVarName
|
|
439
464
|
}
|
|
440
465
|
shadow: {
|
|
441
|
-
outline:
|
|
442
|
-
umbra:
|
|
443
|
-
penumbra:
|
|
444
|
-
ambient:
|
|
466
|
+
outline: CSSVarName
|
|
467
|
+
umbra: CSSVarName
|
|
468
|
+
penumbra: CSSVarName
|
|
469
|
+
ambient: CSSVarName
|
|
445
470
|
}
|
|
446
471
|
skeleton: {
|
|
447
|
-
from:
|
|
448
|
-
to:
|
|
472
|
+
from: CSSVarName
|
|
473
|
+
to: CSSVarName
|
|
474
|
+
}
|
|
475
|
+
token: {
|
|
476
|
+
atrule: CSSVarName
|
|
477
|
+
attrName: CSSVarName
|
|
478
|
+
attrValue: CSSVarName
|
|
479
|
+
attribute: CSSVarName
|
|
480
|
+
boolean: CSSVarName
|
|
481
|
+
builtin: CSSVarName
|
|
482
|
+
cdata: CSSVarName
|
|
483
|
+
char: CSSVarName
|
|
484
|
+
class: CSSVarName
|
|
485
|
+
className: CSSVarName
|
|
486
|
+
comment: CSSVarName
|
|
487
|
+
constant: CSSVarName
|
|
488
|
+
deleted: CSSVarName
|
|
489
|
+
doctype: CSSVarName
|
|
490
|
+
entity: CSSVarName
|
|
491
|
+
function: CSSVarName
|
|
492
|
+
hexcode: CSSVarName
|
|
493
|
+
id: CSSVarName
|
|
494
|
+
important: CSSVarName
|
|
495
|
+
inserted: CSSVarName
|
|
496
|
+
keyword: CSSVarName
|
|
497
|
+
number: CSSVarName
|
|
498
|
+
operator: CSSVarName
|
|
499
|
+
prolog: CSSVarName
|
|
500
|
+
property: CSSVarName
|
|
501
|
+
pseudoClass: CSSVarName
|
|
502
|
+
pseudoElement: CSSVarName
|
|
503
|
+
punctuation: CSSVarName
|
|
504
|
+
regex: CSSVarName
|
|
505
|
+
selector: CSSVarName
|
|
506
|
+
string: CSSVarName
|
|
507
|
+
symbol: CSSVarName
|
|
508
|
+
tag: CSSVarName
|
|
509
|
+
unit: CSSVarName
|
|
510
|
+
url: CSSVarName
|
|
511
|
+
variable: CSSVarName
|
|
449
512
|
}
|
|
450
513
|
solid: ColorVariantVarNames
|
|
451
514
|
tinted: ColorVariantVarNames
|
|
@@ -458,48 +521,6 @@ export declare interface ColorCardVars {
|
|
|
458
521
|
}
|
|
459
522
|
avatar: ColorAvatarVars
|
|
460
523
|
backdrop: CSSVar
|
|
461
|
-
code: {
|
|
462
|
-
bg: CSSVar
|
|
463
|
-
fg: CSSVar
|
|
464
|
-
token: {
|
|
465
|
-
atrule: CSSVar
|
|
466
|
-
attrName: CSSVar
|
|
467
|
-
attrValue: CSSVar
|
|
468
|
-
attribute: CSSVar
|
|
469
|
-
boolean: CSSVar
|
|
470
|
-
builtin: CSSVar
|
|
471
|
-
cdata: CSSVar
|
|
472
|
-
char: CSSVar
|
|
473
|
-
class: CSSVar
|
|
474
|
-
className: CSSVar
|
|
475
|
-
comment: CSSVar
|
|
476
|
-
constant: CSSVar
|
|
477
|
-
deleted: CSSVar
|
|
478
|
-
doctype: CSSVar
|
|
479
|
-
entity: CSSVar
|
|
480
|
-
function: CSSVar
|
|
481
|
-
hexcode: CSSVar
|
|
482
|
-
id: CSSVar
|
|
483
|
-
important: CSSVar
|
|
484
|
-
inserted: CSSVar
|
|
485
|
-
keyword: CSSVar
|
|
486
|
-
number: CSSVar
|
|
487
|
-
operator: CSSVar
|
|
488
|
-
prolog: CSSVar
|
|
489
|
-
property: CSSVar
|
|
490
|
-
pseudoClass: CSSVar
|
|
491
|
-
pseudoElement: CSSVar
|
|
492
|
-
punctuation: CSSVar
|
|
493
|
-
regex: CSSVar
|
|
494
|
-
selector: CSSVar
|
|
495
|
-
string: CSSVar
|
|
496
|
-
symbol: CSSVar
|
|
497
|
-
tag: CSSVar
|
|
498
|
-
unit: CSSVar
|
|
499
|
-
url: CSSVar
|
|
500
|
-
variable: CSSVar
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
524
|
focusRing: CSSVar
|
|
504
525
|
link: {
|
|
505
526
|
fg: CSSVar
|
|
@@ -518,6 +539,44 @@ export declare interface ColorCardVars {
|
|
|
518
539
|
from: CSSVar
|
|
519
540
|
to: CSSVar
|
|
520
541
|
}
|
|
542
|
+
token: {
|
|
543
|
+
atrule: CSSVar
|
|
544
|
+
attrName: CSSVar
|
|
545
|
+
attrValue: CSSVar
|
|
546
|
+
attribute: CSSVar
|
|
547
|
+
boolean: CSSVar
|
|
548
|
+
builtin: CSSVar
|
|
549
|
+
cdata: CSSVar
|
|
550
|
+
char: CSSVar
|
|
551
|
+
class: CSSVar
|
|
552
|
+
className: CSSVar
|
|
553
|
+
comment: CSSVar
|
|
554
|
+
constant: CSSVar
|
|
555
|
+
deleted: CSSVar
|
|
556
|
+
doctype: CSSVar
|
|
557
|
+
entity: CSSVar
|
|
558
|
+
function: CSSVar
|
|
559
|
+
hexcode: CSSVar
|
|
560
|
+
id: CSSVar
|
|
561
|
+
important: CSSVar
|
|
562
|
+
inserted: CSSVar
|
|
563
|
+
keyword: CSSVar
|
|
564
|
+
number: CSSVar
|
|
565
|
+
operator: CSSVar
|
|
566
|
+
prolog: CSSVar
|
|
567
|
+
property: CSSVar
|
|
568
|
+
pseudoClass: CSSVar
|
|
569
|
+
pseudoElement: CSSVar
|
|
570
|
+
punctuation: CSSVar
|
|
571
|
+
regex: CSSVar
|
|
572
|
+
selector: CSSVar
|
|
573
|
+
string: CSSVar
|
|
574
|
+
symbol: CSSVar
|
|
575
|
+
tag: CSSVar
|
|
576
|
+
unit: CSSVar
|
|
577
|
+
url: CSSVar
|
|
578
|
+
variable: CSSVar
|
|
579
|
+
}
|
|
521
580
|
solid: ColorVariantVars
|
|
522
581
|
tinted: ColorVariantVars
|
|
523
582
|
}
|
|
@@ -525,25 +584,25 @@ export declare interface ColorCardVars {
|
|
|
525
584
|
/** @public */
|
|
526
585
|
export declare interface ColorElementVarNames {
|
|
527
586
|
bg: {
|
|
528
|
-
0:
|
|
529
|
-
1:
|
|
530
|
-
2:
|
|
531
|
-
3:
|
|
532
|
-
4:
|
|
587
|
+
0: CSSVarName
|
|
588
|
+
1: CSSVarName
|
|
589
|
+
2: CSSVarName
|
|
590
|
+
3: CSSVarName
|
|
591
|
+
4: CSSVarName
|
|
533
592
|
}
|
|
534
593
|
border: {
|
|
535
|
-
0:
|
|
536
|
-
1:
|
|
537
|
-
2:
|
|
538
|
-
3:
|
|
539
|
-
4:
|
|
594
|
+
0: CSSVarName
|
|
595
|
+
1: CSSVarName
|
|
596
|
+
2: CSSVarName
|
|
597
|
+
3: CSSVarName
|
|
598
|
+
4: CSSVarName
|
|
540
599
|
}
|
|
541
600
|
fg: {
|
|
542
|
-
0:
|
|
543
|
-
1:
|
|
544
|
-
2:
|
|
545
|
-
3:
|
|
546
|
-
4:
|
|
601
|
+
0: CSSVarName
|
|
602
|
+
1: CSSVarName
|
|
603
|
+
2: CSSVarName
|
|
604
|
+
3: CSSVarName
|
|
605
|
+
4: CSSVarName
|
|
547
606
|
}
|
|
548
607
|
}
|
|
549
608
|
|
|
@@ -584,23 +643,42 @@ export declare interface ColorInputStateVars {
|
|
|
584
643
|
}
|
|
585
644
|
|
|
586
645
|
/** @public */
|
|
587
|
-
export declare type ColorSchemeVarNames = Record<
|
|
646
|
+
export declare type ColorSchemeVarNames = Record<ThemeColorCardToneKey_2, ColorCardVarNames>
|
|
647
|
+
|
|
648
|
+
/** @public */
|
|
649
|
+
export declare interface ColorSchemeVars extends Record<ThemeColorCardToneKey_2, ColorCardVars> {}
|
|
650
|
+
|
|
651
|
+
/** @public */
|
|
652
|
+
declare type ColorToken =
|
|
653
|
+
| `black`
|
|
654
|
+
| `black/${ColorTokenOpacityValue}`
|
|
655
|
+
| `white`
|
|
656
|
+
| `white/${ColorTokenOpacityValue}`
|
|
657
|
+
| `${Hue}/${Tint}`
|
|
658
|
+
| `${Hue}/${Tint}/${ColorTokenOpacityValue}`
|
|
659
|
+
| `${Hue}/${Tint} ${number}%`
|
|
660
|
+
| `${Tint}`
|
|
661
|
+
| `${Tint}/${ColorTokenOpacityValue}`
|
|
662
|
+
| `${Tint} ${number}%`
|
|
588
663
|
|
|
589
664
|
/** @public */
|
|
590
|
-
|
|
665
|
+
declare type ColorTokenOpacityValue = `0` | `0.${number}` | `1`
|
|
666
|
+
|
|
667
|
+
/** @public */
|
|
668
|
+
declare type ColorTokens = Record<'*' | ThemeColorCardToneKey, CardColorTokens>
|
|
591
669
|
|
|
592
670
|
export declare interface ColorVariantVarNames
|
|
593
671
|
extends ColorElementVarNames,
|
|
594
|
-
Record<
|
|
672
|
+
Record<ThemeColorStateToneKey_2, ColorElementVarNames> {}
|
|
595
673
|
|
|
596
674
|
/** @public */
|
|
597
675
|
export declare interface ColorVariantVars
|
|
598
|
-
extends Record<
|
|
676
|
+
extends Record<ThemeColorStateToneKey_2, ColorElementVars>,
|
|
599
677
|
ColorElementVars {}
|
|
600
678
|
|
|
601
|
-
export declare type Columns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
|
679
|
+
export declare type Columns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12
|
|
602
680
|
|
|
603
|
-
export declare function compilePalette(): string
|
|
681
|
+
export declare function compilePalette(config: PaletteConfig_2): string
|
|
604
682
|
|
|
605
683
|
/** @public */
|
|
606
684
|
export declare function compileSystem(): string
|
|
@@ -617,11 +695,31 @@ export declare interface ContainerStyleProps {
|
|
|
617
695
|
width?: ResponsiveProp<ContainerWidth>
|
|
618
696
|
}
|
|
619
697
|
|
|
698
|
+
/**
|
|
699
|
+
* Work around types that are missing in `styled-components@6`
|
|
700
|
+
* https://github.com/styled-components/styled-components/issues/4062
|
|
701
|
+
* @internal
|
|
702
|
+
*/
|
|
703
|
+
declare type CSSObject = StyledObject<any>
|
|
704
|
+
|
|
620
705
|
/** @public */
|
|
621
|
-
export declare type CSSVar = `var(${
|
|
706
|
+
export declare type CSSVar = `var(${CSSVarName})`
|
|
622
707
|
|
|
623
708
|
/** @public */
|
|
624
|
-
export declare
|
|
709
|
+
export declare type CSSVarName =
|
|
710
|
+
| AvatarScopedVarName
|
|
711
|
+
| LegacyCardScopedVarName
|
|
712
|
+
| PaletteVarName
|
|
713
|
+
| ThemeVarName
|
|
714
|
+
| ColorCardVarName
|
|
715
|
+
| ColorCardToneScopedVarName
|
|
716
|
+
| CardScopedVarName
|
|
717
|
+
| ElementColorVariantScopedVarName
|
|
718
|
+
| InputScopedVarName
|
|
719
|
+
| SwitchScopedVarName
|
|
720
|
+
|
|
721
|
+
/** @public */
|
|
722
|
+
export declare interface CustomCSSProperties extends Record<CSSVarName, string> {}
|
|
625
723
|
|
|
626
724
|
export declare function dialog(): string | undefined
|
|
627
725
|
|
|
@@ -655,6 +753,23 @@ export declare interface DisplayStyleProps {
|
|
|
655
753
|
display?: ResponsiveProp<Display>
|
|
656
754
|
}
|
|
657
755
|
|
|
756
|
+
/** @public */
|
|
757
|
+
declare interface ElementColorTokens {
|
|
758
|
+
_hue: Hue
|
|
759
|
+
bg: {
|
|
760
|
+
0: [ColorToken, ColorToken]
|
|
761
|
+
4: [ColorToken, ColorToken]
|
|
762
|
+
}
|
|
763
|
+
border: {
|
|
764
|
+
0: [ColorToken, ColorToken]
|
|
765
|
+
4: [ColorToken, ColorToken]
|
|
766
|
+
}
|
|
767
|
+
fg: {
|
|
768
|
+
0: [ColorToken, ColorToken]
|
|
769
|
+
4: [ColorToken, ColorToken]
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
|
|
658
773
|
/** @public */
|
|
659
774
|
export declare type ElementColorVariant = 'solid' | 'tinted'
|
|
660
775
|
|
|
@@ -723,23 +838,7 @@ export declare interface FlexStyleProps {
|
|
|
723
838
|
/**
|
|
724
839
|
* @public
|
|
725
840
|
*/
|
|
726
|
-
export declare type FlexValue =
|
|
727
|
-
| 'none'
|
|
728
|
-
| 'auto'
|
|
729
|
-
| 'initial'
|
|
730
|
-
| 0
|
|
731
|
-
| 1
|
|
732
|
-
| 2
|
|
733
|
-
| 3
|
|
734
|
-
| 4
|
|
735
|
-
| 5
|
|
736
|
-
| 6
|
|
737
|
-
| 7
|
|
738
|
-
| 8
|
|
739
|
-
| 9
|
|
740
|
-
| 10
|
|
741
|
-
| 11
|
|
742
|
-
| 12
|
|
841
|
+
export declare type FlexValue = number | 'none' | 'auto' | 'initial'
|
|
743
842
|
|
|
744
843
|
/**
|
|
745
844
|
* @public
|
|
@@ -751,12 +850,12 @@ export declare function font(props: FontStyleProps): string | undefined
|
|
|
751
850
|
|
|
752
851
|
/** @public */
|
|
753
852
|
export declare interface FontSizeVarNames {
|
|
754
|
-
ascenderHeight:
|
|
755
|
-
descenderHeight:
|
|
756
|
-
fontSize:
|
|
757
|
-
lineHeight:
|
|
758
|
-
letterSpacing:
|
|
759
|
-
iconSize:
|
|
853
|
+
ascenderHeight: CSSVarName
|
|
854
|
+
descenderHeight: CSSVarName
|
|
855
|
+
fontSize: CSSVarName
|
|
856
|
+
lineHeight: CSSVarName
|
|
857
|
+
letterSpacing: CSSVarName
|
|
858
|
+
iconSize: CSSVarName
|
|
760
859
|
}
|
|
761
860
|
|
|
762
861
|
/** @public */
|
|
@@ -776,16 +875,14 @@ export declare interface FontStyleProps {
|
|
|
776
875
|
}
|
|
777
876
|
|
|
778
877
|
export declare interface FontVarNames<Size extends number> {
|
|
779
|
-
family:
|
|
878
|
+
family: CSSVarName
|
|
780
879
|
sizes: Record<Size, FontSizeVarNames>
|
|
781
|
-
weight: Record<FontWeight, VarName>
|
|
782
880
|
}
|
|
783
881
|
|
|
784
882
|
/** @public */
|
|
785
883
|
export declare interface FontVars<Size extends number> {
|
|
786
884
|
family: CSSVar
|
|
787
885
|
sizes: Record<Size, FontSizeVars>
|
|
788
|
-
weight: Record<FontWeight, CSSVar>
|
|
789
886
|
}
|
|
790
887
|
|
|
791
888
|
/** @public */
|
|
@@ -798,8 +895,6 @@ export declare interface GapStyleProps {
|
|
|
798
895
|
gapY?: ResponsiveProp<Space>
|
|
799
896
|
}
|
|
800
897
|
|
|
801
|
-
export declare function getClassNames(...classNames: Array<string | false | undefined>): string[]
|
|
802
|
-
|
|
803
898
|
export declare function grid(props: GridStyleProps): string | undefined
|
|
804
899
|
|
|
805
900
|
/**
|
|
@@ -887,19 +982,26 @@ export declare interface HeadingStyleProps extends FontStyleProps, FlexItemStyle
|
|
|
887
982
|
size?: ResponsiveProp<HeadingSize>
|
|
888
983
|
}
|
|
889
984
|
|
|
890
|
-
|
|
891
|
-
export declare function height(props: HeightStyleProps): string | undefined
|
|
985
|
+
declare type Hue = (typeof HUES)[number]
|
|
892
986
|
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
987
|
+
declare const HUES: readonly [
|
|
988
|
+
'gray',
|
|
989
|
+
'blue',
|
|
990
|
+
'purple',
|
|
991
|
+
'magenta',
|
|
992
|
+
'red',
|
|
993
|
+
'orange',
|
|
994
|
+
'yellow',
|
|
995
|
+
'green',
|
|
996
|
+
'cyan',
|
|
997
|
+
]
|
|
896
998
|
|
|
897
999
|
/** @internal */
|
|
898
1000
|
export declare function _input(props: InputStyleProps): string | undefined
|
|
899
1001
|
|
|
900
|
-
export declare function _inputElement(): string
|
|
1002
|
+
export declare function _inputElement(): string
|
|
901
1003
|
|
|
902
|
-
export declare function _inputPresentation(): string
|
|
1004
|
+
export declare function _inputPresentation(): string
|
|
903
1005
|
|
|
904
1006
|
/** @public */
|
|
905
1007
|
export declare type InputScopedVarName =
|
|
@@ -967,13 +1069,13 @@ export declare interface LabelStyleProps extends FontStyleProps {
|
|
|
967
1069
|
|
|
968
1070
|
export declare type LegacyCardScopedVarName =
|
|
969
1071
|
| `--card-accent-fg-color`
|
|
970
|
-
| `--card-avatar-${
|
|
971
|
-
| `--card-avatar-${
|
|
1072
|
+
| `--card-avatar-${ThemeColorAvatarColorKey_2}-bg-color`
|
|
1073
|
+
| `--card-avatar-${ThemeColorAvatarColorKey_2}-fg-color`
|
|
972
1074
|
| `--card-backdrop-color`
|
|
973
|
-
| `--card-badge-${
|
|
974
|
-
| `--card-badge-${
|
|
975
|
-
| `--card-badge-${
|
|
976
|
-
| `--card-badge-${
|
|
1075
|
+
| `--card-badge-${ThemeColorStateToneKey_2}-bg-color`
|
|
1076
|
+
| `--card-badge-${ThemeColorStateToneKey_2}-dot-color`
|
|
1077
|
+
| `--card-badge-${ThemeColorStateToneKey_2}-fg-color`
|
|
1078
|
+
| `--card-badge-${ThemeColorStateToneKey_2}-icon-color`
|
|
977
1079
|
| `--card-bg-color`
|
|
978
1080
|
| `--card-bg-image`
|
|
979
1081
|
| `--card-bg2-color`
|
|
@@ -1014,21 +1116,13 @@ export declare interface MarginStyleProps {
|
|
|
1014
1116
|
export declare function maxWidth(props: MaxWidthStyleProps): string
|
|
1015
1117
|
|
|
1016
1118
|
export declare interface MaxWidthStyleProps {
|
|
1017
|
-
maxWidth?: ResponsiveProp<ContainerWidth
|
|
1119
|
+
maxWidth?: ResponsiveProp<ContainerWidth>
|
|
1018
1120
|
}
|
|
1019
1121
|
|
|
1020
1122
|
export declare function menu(): string | undefined
|
|
1021
1123
|
|
|
1022
1124
|
export declare function menuDivider(): string | undefined
|
|
1023
1125
|
|
|
1024
|
-
export declare type MinWidth = 0 | 'auto' | 'full' | 'min' | 'max' | 'fit'
|
|
1025
|
-
|
|
1026
|
-
export declare function minWidth(props: MinWidthStyleProps): string
|
|
1027
|
-
|
|
1028
|
-
export declare interface MinWidthStyleProps {
|
|
1029
|
-
minWidth?: ResponsiveProp<MinWidth>
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
1126
|
export declare function overflow(props: OverflowStyleProps): string | undefined
|
|
1033
1127
|
|
|
1034
1128
|
/** @public */
|
|
@@ -1051,8 +1145,26 @@ export declare interface PaddingStyleProps {
|
|
|
1051
1145
|
paddingY?: ResponsiveProp<Space>
|
|
1052
1146
|
}
|
|
1053
1147
|
|
|
1148
|
+
declare type PaletteConfig = {
|
|
1149
|
+
chroma: {
|
|
1150
|
+
min: number
|
|
1151
|
+
max: number
|
|
1152
|
+
}
|
|
1153
|
+
luminosity: {
|
|
1154
|
+
min: number
|
|
1155
|
+
max: number
|
|
1156
|
+
}
|
|
1157
|
+
hues: Record<
|
|
1158
|
+
Hue,
|
|
1159
|
+
{
|
|
1160
|
+
h: number
|
|
1161
|
+
c: number
|
|
1162
|
+
}
|
|
1163
|
+
>
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1054
1166
|
/** @public */
|
|
1055
|
-
export declare type PaletteVarName = `--black` | `--white` | `--${
|
|
1167
|
+
export declare type PaletteVarName = `--black` | `--white` | `--${Hue_2}-${Tint_2}`
|
|
1056
1168
|
|
|
1057
1169
|
/** @public */
|
|
1058
1170
|
export declare type PointerEvents = 'auto' | 'none'
|
|
@@ -1066,8 +1178,6 @@ export declare interface PointerEventsStyleProps {
|
|
|
1066
1178
|
|
|
1067
1179
|
export declare function popover(): string | undefined
|
|
1068
1180
|
|
|
1069
|
-
export declare function popoverCard(): string | undefined
|
|
1070
|
-
|
|
1071
1181
|
/** @public */
|
|
1072
1182
|
export declare type Position = 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky'
|
|
1073
1183
|
|
|
@@ -1079,19 +1189,10 @@ export declare interface PositionStyleProps {
|
|
|
1079
1189
|
}
|
|
1080
1190
|
|
|
1081
1191
|
/** @public */
|
|
1082
|
-
export declare
|
|
1083
|
-
'@
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
/** @public */
|
|
1087
|
-
export declare type PropertiesWithVars = CSS_2.Properties &
|
|
1088
|
-
Partial<Record<VarName, string>> & {
|
|
1089
|
-
_prefix?: boolean
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
/** @public */
|
|
1093
|
-
export declare type PropertiesWithVarsAndNested = PropertiesWithVars & {
|
|
1094
|
-
'@nest'?: Record<string, PropertiesWithVars>
|
|
1192
|
+
export declare interface Properties extends CSS_2.PropertiesFallback, Partial<CustomCSSProperties> {
|
|
1193
|
+
'@keyframes'?: Record<string, Record<string, Properties>>
|
|
1194
|
+
'@media'?: Record<string, Properties>
|
|
1195
|
+
'@nest'?: Record<string, Properties>
|
|
1095
1196
|
}
|
|
1096
1197
|
|
|
1097
1198
|
export declare function px(value: number): string
|
|
@@ -1103,7 +1204,7 @@ export declare function radius(props: RadiusStyleProps): string | undefined
|
|
|
1103
1204
|
|
|
1104
1205
|
/** @public */
|
|
1105
1206
|
export declare interface RadiusStyleProps {
|
|
1106
|
-
radius?: ResponsiveProp<Radius
|
|
1207
|
+
radius?: ResponsiveProp<Radius>
|
|
1107
1208
|
}
|
|
1108
1209
|
|
|
1109
1210
|
export declare function rem(value: number): string
|
|
@@ -1111,28 +1212,61 @@ export declare function rem(value: number): string
|
|
|
1111
1212
|
/** @public */
|
|
1112
1213
|
export declare type ResponsiveProp<T> = T | Array<T | null | undefined>
|
|
1113
1214
|
|
|
1114
|
-
|
|
1215
|
+
/**
|
|
1216
|
+
* @public
|
|
1217
|
+
*/
|
|
1218
|
+
declare interface RootTheme_v2 {
|
|
1219
|
+
_version: 2
|
|
1220
|
+
avatar: ThemeAvatar_v2
|
|
1221
|
+
button: {
|
|
1222
|
+
border: {
|
|
1223
|
+
width: number
|
|
1224
|
+
}
|
|
1225
|
+
focusRing: ThemeFocusRing
|
|
1226
|
+
textWeight: ThemeFontWeightKey
|
|
1227
|
+
}
|
|
1228
|
+
card: {
|
|
1229
|
+
border: {
|
|
1230
|
+
width: number
|
|
1231
|
+
}
|
|
1232
|
+
focusRing: ThemeFocusRing
|
|
1233
|
+
shadow: {
|
|
1234
|
+
outline: number
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
color: ThemeColorSchemes_v2
|
|
1238
|
+
container: number[]
|
|
1239
|
+
font: ThemeFonts
|
|
1240
|
+
input: ThemeInput_v2
|
|
1241
|
+
layer: ThemeLayer
|
|
1242
|
+
media: number[]
|
|
1243
|
+
radius: number[]
|
|
1244
|
+
shadow: Array<ThemeShadow | null>
|
|
1245
|
+
space: number[]
|
|
1246
|
+
/** @internal */
|
|
1247
|
+
style?: ThemeStyles
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
export declare type Rows = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12
|
|
1115
1251
|
|
|
1116
1252
|
/** @public */
|
|
1117
1253
|
export declare interface Rules {
|
|
1118
1254
|
[className: string]: Properties
|
|
1119
1255
|
}
|
|
1120
1256
|
|
|
1121
|
-
export declare function scopeClassName(className: string | undefined): string | undefined
|
|
1122
|
-
|
|
1123
1257
|
export declare interface ScopedColorVarNames extends Omit<ColorCardVarNames, 'avatar'> {
|
|
1124
1258
|
accent: {
|
|
1125
|
-
fg:
|
|
1259
|
+
fg: CSSVarName
|
|
1126
1260
|
}
|
|
1127
|
-
avatar: Record<
|
|
1128
|
-
bg:
|
|
1129
|
-
border:
|
|
1130
|
-
fg:
|
|
1261
|
+
avatar: Record<ThemeColorAvatarColorKey_2, ColorAvatarColorVarNames> & ColorAvatarColorVarNames
|
|
1262
|
+
bg: CSSVarName
|
|
1263
|
+
border: CSSVarName
|
|
1264
|
+
fg: CSSVarName
|
|
1131
1265
|
input: {
|
|
1132
|
-
bg:
|
|
1133
|
-
border:
|
|
1134
|
-
fg:
|
|
1135
|
-
placeholder:
|
|
1266
|
+
bg: CSSVarName
|
|
1267
|
+
border: CSSVarName
|
|
1268
|
+
fg: CSSVarName
|
|
1269
|
+
placeholder: CSSVarName
|
|
1136
1270
|
}
|
|
1137
1271
|
}
|
|
1138
1272
|
|
|
@@ -1156,7 +1290,7 @@ export declare function _selectable(props: SelectableStyleProps): string | undef
|
|
|
1156
1290
|
|
|
1157
1291
|
/** @internal */
|
|
1158
1292
|
export declare interface SelectableStyleProps extends RadiusStyleProps {
|
|
1159
|
-
tone?:
|
|
1293
|
+
tone?: ThemeColorStateToneKey_2
|
|
1160
1294
|
}
|
|
1161
1295
|
|
|
1162
1296
|
export declare function selectPresentation(): string | undefined
|
|
@@ -1181,28 +1315,6 @@ export declare function spinner(): string | undefined
|
|
|
1181
1315
|
|
|
1182
1316
|
export declare function srOnly(): string | undefined
|
|
1183
1317
|
|
|
1184
|
-
/** @public */
|
|
1185
|
-
export declare function stack(): string | undefined
|
|
1186
|
-
|
|
1187
|
-
/** @public */
|
|
1188
|
-
export declare type Style = {
|
|
1189
|
-
keyframes?: StyleKeyframes
|
|
1190
|
-
layers?: StyleLayers
|
|
1191
|
-
rules?: StyleRules
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
/** @public */
|
|
1195
|
-
export declare type StyleKeyframes = Record<string, Record<string, Properties>>
|
|
1196
|
-
|
|
1197
|
-
/** @public */
|
|
1198
|
-
export declare type StyleLayers = Record<string, StyleRules>
|
|
1199
|
-
|
|
1200
|
-
/** @public */
|
|
1201
|
-
export declare type StyleRules = Partial<Record<StyleSelector, Properties>>
|
|
1202
|
-
|
|
1203
|
-
/** @public */
|
|
1204
|
-
export declare type StyleSelector = `.${string}` | `#${string}` | `:root`
|
|
1205
|
-
|
|
1206
1318
|
export declare function _switch(): string | undefined
|
|
1207
1319
|
|
|
1208
1320
|
export declare function _switchElement(): string | undefined
|
|
@@ -1264,6 +1376,543 @@ export declare interface TextStyleProps extends FlexItemStyleProps, FontStylePro
|
|
|
1264
1376
|
size?: ResponsiveProp<TextSize>
|
|
1265
1377
|
}
|
|
1266
1378
|
|
|
1379
|
+
/** @public */
|
|
1380
|
+
declare const THEME_COLOR_AVATAR_COLORS: ColorHueKey[]
|
|
1381
|
+
|
|
1382
|
+
/** @public */
|
|
1383
|
+
declare const THEME_COLOR_BLEND_MODES: readonly ['multiply', 'screen']
|
|
1384
|
+
|
|
1385
|
+
/** @public */
|
|
1386
|
+
declare const THEME_COLOR_BUTTON_MODES: readonly ['default', 'ghost', 'bleed']
|
|
1387
|
+
|
|
1388
|
+
/** @public */
|
|
1389
|
+
declare const THEME_COLOR_CARD_TONES: readonly [
|
|
1390
|
+
'transparent',
|
|
1391
|
+
'default',
|
|
1392
|
+
'neutral',
|
|
1393
|
+
'primary',
|
|
1394
|
+
'suggest',
|
|
1395
|
+
'positive',
|
|
1396
|
+
'caution',
|
|
1397
|
+
'critical',
|
|
1398
|
+
]
|
|
1399
|
+
|
|
1400
|
+
/** @public */
|
|
1401
|
+
declare const THEME_COLOR_INPUT_MODES: readonly ['default', 'invalid']
|
|
1402
|
+
|
|
1403
|
+
/** @public */
|
|
1404
|
+
declare const THEME_COLOR_INPUT_STATES: readonly ['enabled', 'hovered', 'readOnly', 'disabled']
|
|
1405
|
+
|
|
1406
|
+
/** @public */
|
|
1407
|
+
declare const THEME_COLOR_SCHEMES: readonly ['light', 'dark']
|
|
1408
|
+
|
|
1409
|
+
/** @public */
|
|
1410
|
+
declare const THEME_COLOR_STATE_TONES: readonly [
|
|
1411
|
+
'default',
|
|
1412
|
+
'neutral',
|
|
1413
|
+
'primary',
|
|
1414
|
+
'suggest',
|
|
1415
|
+
'positive',
|
|
1416
|
+
'caution',
|
|
1417
|
+
'critical',
|
|
1418
|
+
]
|
|
1419
|
+
|
|
1420
|
+
/** @public */
|
|
1421
|
+
declare const THEME_COLOR_STATES: readonly ['enabled', 'hovered', 'pressed', 'selected', 'disabled']
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* Supersedes `RootTheme` and `RootTheme_v2`.
|
|
1425
|
+
*
|
|
1426
|
+
* @public
|
|
1427
|
+
*/
|
|
1428
|
+
declare interface Theme_v3 {
|
|
1429
|
+
_version: 3
|
|
1430
|
+
_palette: PaletteConfig
|
|
1431
|
+
_tokens: Tokens
|
|
1432
|
+
avatar: ThemeAvatar_v2
|
|
1433
|
+
button: {
|
|
1434
|
+
border: {
|
|
1435
|
+
width: number
|
|
1436
|
+
}
|
|
1437
|
+
focusRing: ThemeFocusRing
|
|
1438
|
+
textWeight: ThemeFontWeightKey
|
|
1439
|
+
}
|
|
1440
|
+
card: {
|
|
1441
|
+
border: {
|
|
1442
|
+
width: number
|
|
1443
|
+
}
|
|
1444
|
+
focusRing: ThemeFocusRing
|
|
1445
|
+
shadow: {
|
|
1446
|
+
outline: number
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
color: ThemeColor_v3
|
|
1450
|
+
container: number[]
|
|
1451
|
+
font: ThemeFonts
|
|
1452
|
+
input: ThemeInput_v2
|
|
1453
|
+
layer: ThemeLayer
|
|
1454
|
+
media: number[]
|
|
1455
|
+
radius: number[]
|
|
1456
|
+
shadow: Array<ThemeShadow | null>
|
|
1457
|
+
space: number[]
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* @public
|
|
1462
|
+
*/
|
|
1463
|
+
declare interface ThemeAvatar_v2 {
|
|
1464
|
+
sizes: {
|
|
1465
|
+
/** Spacing between avatars in an <AvatarStack> component (px) */
|
|
1466
|
+
distance: number
|
|
1467
|
+
/** Diameter of the avatar (px) */
|
|
1468
|
+
size: number
|
|
1469
|
+
}[]
|
|
1470
|
+
focusRing: ThemeFocusRing
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* @public
|
|
1475
|
+
*/
|
|
1476
|
+
declare type ThemeBoxShadow = [number, number, number, number]
|
|
1477
|
+
|
|
1478
|
+
declare type ThemeColor_v3 = Record<ThemeColorSchemeKey, ThemeColorScheme_v3>
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* @public
|
|
1482
|
+
*/
|
|
1483
|
+
declare type ThemeColorAvatar_v2 = Record<ThemeColorAvatarColorKey, ThemeColorAvatarHue_v2>
|
|
1484
|
+
|
|
1485
|
+
/** @public */
|
|
1486
|
+
declare type ThemeColorAvatarColorKey = (typeof THEME_COLOR_AVATAR_COLORS)[number]
|
|
1487
|
+
|
|
1488
|
+
/**
|
|
1489
|
+
* @public
|
|
1490
|
+
*/
|
|
1491
|
+
declare interface ThemeColorAvatarHue_v2 {
|
|
1492
|
+
_blend?: ThemeColorBlendModeKey
|
|
1493
|
+
bg: string
|
|
1494
|
+
fg: string
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* @public
|
|
1499
|
+
*/
|
|
1500
|
+
declare type ThemeColorBadge_v2 = Record<ThemeColorStateToneKey, ThemeColorBadgeTone_v2>
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* @public
|
|
1504
|
+
*/
|
|
1505
|
+
declare interface ThemeColorBadgeTone_v2 {
|
|
1506
|
+
bg: string
|
|
1507
|
+
fg: string
|
|
1508
|
+
dot: string
|
|
1509
|
+
icon: string
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
/** @public */
|
|
1513
|
+
declare type ThemeColorBlendModeKey = (typeof THEME_COLOR_BLEND_MODES)[number]
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* @public
|
|
1517
|
+
*/
|
|
1518
|
+
declare type ThemeColorButton_v2 = Record<ThemeColorButtonModeKey, ThemeColorButtonMode_v2>
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* @public
|
|
1522
|
+
*/
|
|
1523
|
+
declare type ThemeColorButtonMode_v2 = Record<ThemeColorStateToneKey, ThemeColorButtonTone_v2>
|
|
1524
|
+
|
|
1525
|
+
/** @public */
|
|
1526
|
+
declare type ThemeColorButtonModeKey = (typeof THEME_COLOR_BUTTON_MODES)[number]
|
|
1527
|
+
|
|
1528
|
+
/**
|
|
1529
|
+
* @public
|
|
1530
|
+
*/
|
|
1531
|
+
declare type ThemeColorButtonTone_v2 = Record<ThemeColorStateKey, ThemeColorState_v2>
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* @public
|
|
1535
|
+
*/
|
|
1536
|
+
declare interface ThemeColorCard_v2 extends ThemeColorState_v2 {
|
|
1537
|
+
/** @internal */
|
|
1538
|
+
_blend: ThemeColorBlendModeKey
|
|
1539
|
+
_dark: boolean
|
|
1540
|
+
backdrop: string
|
|
1541
|
+
button: ThemeColorButton_v2
|
|
1542
|
+
focusRing: string
|
|
1543
|
+
input: ThemeColorInput_v2
|
|
1544
|
+
selectable: ThemeColorSelectable_v2
|
|
1545
|
+
shadow: ThemeColorShadow
|
|
1546
|
+
syntax: ThemeColorSyntax
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
declare interface ThemeColorCard_v3 {
|
|
1550
|
+
_hue: Hue
|
|
1551
|
+
avatar: ThemeColorAvatar_v2
|
|
1552
|
+
backdrop: string
|
|
1553
|
+
focusRing: string
|
|
1554
|
+
shadow: {
|
|
1555
|
+
outline: string
|
|
1556
|
+
umbra: string
|
|
1557
|
+
penumbra: string
|
|
1558
|
+
ambient: string
|
|
1559
|
+
}
|
|
1560
|
+
token: {
|
|
1561
|
+
atrule: string
|
|
1562
|
+
attrName: string
|
|
1563
|
+
attrValue: string
|
|
1564
|
+
attribute: string
|
|
1565
|
+
boolean: string
|
|
1566
|
+
builtin: string
|
|
1567
|
+
cdata: string
|
|
1568
|
+
char: string
|
|
1569
|
+
class: string
|
|
1570
|
+
className: string
|
|
1571
|
+
comment: string
|
|
1572
|
+
constant: string
|
|
1573
|
+
deleted: string
|
|
1574
|
+
doctype: string
|
|
1575
|
+
entity: string
|
|
1576
|
+
function: string
|
|
1577
|
+
hexcode: string
|
|
1578
|
+
id: string
|
|
1579
|
+
important: string
|
|
1580
|
+
inserted: string
|
|
1581
|
+
keyword: string
|
|
1582
|
+
number: string
|
|
1583
|
+
operator: string
|
|
1584
|
+
prolog: string
|
|
1585
|
+
property: string
|
|
1586
|
+
pseudoClass: string
|
|
1587
|
+
pseudoElement: string
|
|
1588
|
+
punctuation: string
|
|
1589
|
+
regex: string
|
|
1590
|
+
selector: string
|
|
1591
|
+
string: string
|
|
1592
|
+
symbol: string
|
|
1593
|
+
tag: string
|
|
1594
|
+
unit: string
|
|
1595
|
+
url: string
|
|
1596
|
+
variable: string
|
|
1597
|
+
}
|
|
1598
|
+
skeleton: {
|
|
1599
|
+
from: string
|
|
1600
|
+
to: string
|
|
1601
|
+
}
|
|
1602
|
+
variant: Record<ThemeColorVariantKey, ThemeColorVariant>
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
/** @public */
|
|
1606
|
+
declare type ThemeColorCardToneKey = (typeof THEME_COLOR_CARD_TONES)[number]
|
|
1607
|
+
|
|
1608
|
+
declare interface ThemeColorElement {
|
|
1609
|
+
_hue: Hue
|
|
1610
|
+
bg: {
|
|
1611
|
+
0: string
|
|
1612
|
+
4: string
|
|
1613
|
+
}
|
|
1614
|
+
border: {
|
|
1615
|
+
0: string
|
|
1616
|
+
4: string
|
|
1617
|
+
}
|
|
1618
|
+
fg: {
|
|
1619
|
+
0: string
|
|
1620
|
+
4: string
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
/**
|
|
1625
|
+
* @public
|
|
1626
|
+
*/
|
|
1627
|
+
declare type ThemeColorInput_v2 = Record<ThemeColorInputModeKey, ThemeColorInputMode_v2>
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* @public
|
|
1631
|
+
*/
|
|
1632
|
+
declare type ThemeColorInputMode_v2 = Record<ThemeColorInputStateKey, ThemeColorInputState_v2>
|
|
1633
|
+
|
|
1634
|
+
/** @public */
|
|
1635
|
+
declare type ThemeColorInputModeKey = (typeof THEME_COLOR_INPUT_MODES)[number]
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* @public
|
|
1639
|
+
*/
|
|
1640
|
+
declare interface ThemeColorInputState_v2 {
|
|
1641
|
+
_blend?: ThemeColorBlendModeKey
|
|
1642
|
+
bg: string
|
|
1643
|
+
border: string
|
|
1644
|
+
fg: string
|
|
1645
|
+
muted: {
|
|
1646
|
+
bg: string
|
|
1647
|
+
}
|
|
1648
|
+
placeholder: string
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
/** @public */
|
|
1652
|
+
declare type ThemeColorInputStateKey = (typeof THEME_COLOR_INPUT_STATES)[number]
|
|
1653
|
+
|
|
1654
|
+
/**
|
|
1655
|
+
* @public
|
|
1656
|
+
*/
|
|
1657
|
+
declare interface ThemeColorKBD {
|
|
1658
|
+
bg: string
|
|
1659
|
+
fg: string
|
|
1660
|
+
border: string
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* @public
|
|
1665
|
+
*/
|
|
1666
|
+
declare type ThemeColorScheme_v2 = Record<ThemeColorCardToneKey, ThemeColorCard_v2>
|
|
1667
|
+
|
|
1668
|
+
declare interface ThemeColorScheme_v3 {
|
|
1669
|
+
card: Record<ThemeColorCardToneKey, ThemeColorCard_v3>
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
/**
|
|
1673
|
+
* @public
|
|
1674
|
+
*/
|
|
1675
|
+
declare type ThemeColorSchemeKey = (typeof THEME_COLOR_SCHEMES)[number]
|
|
1676
|
+
|
|
1677
|
+
/**
|
|
1678
|
+
* @public
|
|
1679
|
+
*/
|
|
1680
|
+
declare type ThemeColorSchemes_v2 = Record<ThemeColorSchemeKey, ThemeColorScheme_v2>
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* @public
|
|
1684
|
+
*/
|
|
1685
|
+
declare type ThemeColorSelectable_v2 = Record<ThemeColorStateToneKey, ThemeColorSelectableTone_v2>
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* @public
|
|
1689
|
+
*/
|
|
1690
|
+
declare type ThemeColorSelectableTone_v2 = Record<ThemeColorStateKey, ThemeColorState_v2>
|
|
1691
|
+
|
|
1692
|
+
/** @public */
|
|
1693
|
+
declare interface ThemeColorShadow {
|
|
1694
|
+
outline: string
|
|
1695
|
+
umbra: string
|
|
1696
|
+
penumbra: string
|
|
1697
|
+
ambient: string
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
/**
|
|
1701
|
+
* @public
|
|
1702
|
+
*/
|
|
1703
|
+
declare interface ThemeColorState_v2 {
|
|
1704
|
+
/** @internal */
|
|
1705
|
+
_blend?: ThemeColorBlendModeKey
|
|
1706
|
+
accent: {
|
|
1707
|
+
fg: string
|
|
1708
|
+
}
|
|
1709
|
+
/**
|
|
1710
|
+
* @internal This may be removed in a future release
|
|
1711
|
+
* */
|
|
1712
|
+
avatar: ThemeColorAvatar_v2
|
|
1713
|
+
/**
|
|
1714
|
+
* @internal This may be removed in a future release
|
|
1715
|
+
* */
|
|
1716
|
+
badge: ThemeColorBadge_v2
|
|
1717
|
+
bg: string
|
|
1718
|
+
border: string
|
|
1719
|
+
code: {
|
|
1720
|
+
bg: string
|
|
1721
|
+
fg: string
|
|
1722
|
+
}
|
|
1723
|
+
fg: string
|
|
1724
|
+
icon: string
|
|
1725
|
+
kbd: ThemeColorKBD
|
|
1726
|
+
link: {
|
|
1727
|
+
fg: string
|
|
1728
|
+
}
|
|
1729
|
+
muted: {
|
|
1730
|
+
bg: string
|
|
1731
|
+
fg: string
|
|
1732
|
+
}
|
|
1733
|
+
skeleton: {
|
|
1734
|
+
from: string
|
|
1735
|
+
to: string
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
/** @public */
|
|
1740
|
+
declare type ThemeColorStateKey = (typeof THEME_COLOR_STATES)[number]
|
|
1741
|
+
|
|
1742
|
+
/** @public */
|
|
1743
|
+
declare type ThemeColorStateToneKey = (typeof THEME_COLOR_STATE_TONES)[number]
|
|
1744
|
+
|
|
1745
|
+
/**
|
|
1746
|
+
* @public
|
|
1747
|
+
*/
|
|
1748
|
+
declare interface ThemeColorSyntax {
|
|
1749
|
+
atrule: string
|
|
1750
|
+
attrName: string
|
|
1751
|
+
attrValue: string
|
|
1752
|
+
attribute: string
|
|
1753
|
+
boolean: string
|
|
1754
|
+
builtin: string
|
|
1755
|
+
cdata: string
|
|
1756
|
+
char: string
|
|
1757
|
+
class: string
|
|
1758
|
+
className: string
|
|
1759
|
+
comment: string
|
|
1760
|
+
constant: string
|
|
1761
|
+
deleted: string
|
|
1762
|
+
doctype: string
|
|
1763
|
+
entity: string
|
|
1764
|
+
function: string
|
|
1765
|
+
hexcode: string
|
|
1766
|
+
id: string
|
|
1767
|
+
important: string
|
|
1768
|
+
inserted: string
|
|
1769
|
+
keyword: string
|
|
1770
|
+
number: string
|
|
1771
|
+
operator: string
|
|
1772
|
+
prolog: string
|
|
1773
|
+
property: string
|
|
1774
|
+
pseudoClass: string
|
|
1775
|
+
pseudoElement: string
|
|
1776
|
+
punctuation: string
|
|
1777
|
+
regex: string
|
|
1778
|
+
selector: string
|
|
1779
|
+
string: string
|
|
1780
|
+
symbol: string
|
|
1781
|
+
tag: string
|
|
1782
|
+
unit: string
|
|
1783
|
+
url: string
|
|
1784
|
+
variable: string
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
declare type ThemeColorVariant = Record<ThemeColorStateToneKey, ThemeColorElement>
|
|
1788
|
+
|
|
1789
|
+
declare type ThemeColorVariantKey = 'tinted' | 'solid'
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* @public
|
|
1793
|
+
*/
|
|
1794
|
+
declare interface ThemeFocusRing {
|
|
1795
|
+
offset: number
|
|
1796
|
+
width: number
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
/**
|
|
1800
|
+
* @public
|
|
1801
|
+
*/
|
|
1802
|
+
declare interface ThemeFont {
|
|
1803
|
+
family: string
|
|
1804
|
+
featureSettings?: string
|
|
1805
|
+
weights: ThemeFontWeight
|
|
1806
|
+
sizes: ThemeFontSize[]
|
|
1807
|
+
/** @deprecated No longer supported. */
|
|
1808
|
+
horizontalOffset?: number
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* @public
|
|
1813
|
+
*/
|
|
1814
|
+
declare interface ThemeFonts {
|
|
1815
|
+
code: ThemeFont
|
|
1816
|
+
heading: ThemeFont
|
|
1817
|
+
label: ThemeFont
|
|
1818
|
+
text: ThemeFont
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
/**
|
|
1822
|
+
* @public
|
|
1823
|
+
*/
|
|
1824
|
+
declare interface ThemeFontSize {
|
|
1825
|
+
ascenderHeight: number
|
|
1826
|
+
descenderHeight: number
|
|
1827
|
+
fontSize: number
|
|
1828
|
+
iconSize: number
|
|
1829
|
+
letterSpacing: number
|
|
1830
|
+
lineHeight: number
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* @public
|
|
1835
|
+
*/
|
|
1836
|
+
declare interface ThemeFontWeight {
|
|
1837
|
+
regular: number
|
|
1838
|
+
medium: number
|
|
1839
|
+
semibold: number
|
|
1840
|
+
bold: number
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
/**
|
|
1844
|
+
* @public
|
|
1845
|
+
*/
|
|
1846
|
+
declare type ThemeFontWeightKey = 'regular' | 'medium' | 'semibold' | 'bold'
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* @public
|
|
1850
|
+
*/
|
|
1851
|
+
declare interface ThemeInput_v2 {
|
|
1852
|
+
checkbox: {
|
|
1853
|
+
size: number
|
|
1854
|
+
focusRing: ThemeFocusRing
|
|
1855
|
+
}
|
|
1856
|
+
radio: {
|
|
1857
|
+
size: number
|
|
1858
|
+
markSize: number
|
|
1859
|
+
focusRing: ThemeFocusRing
|
|
1860
|
+
}
|
|
1861
|
+
switch: {
|
|
1862
|
+
width: number
|
|
1863
|
+
height: number
|
|
1864
|
+
padding: number
|
|
1865
|
+
transitionDurationMs: number
|
|
1866
|
+
transitionTimingFunction: string
|
|
1867
|
+
focusRing: ThemeFocusRing
|
|
1868
|
+
}
|
|
1869
|
+
border: {
|
|
1870
|
+
width: number
|
|
1871
|
+
}
|
|
1872
|
+
select: {
|
|
1873
|
+
focusRing: ThemeFocusRing
|
|
1874
|
+
}
|
|
1875
|
+
text: {
|
|
1876
|
+
focusRing: ThemeFocusRing
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
/**
|
|
1881
|
+
* @public
|
|
1882
|
+
*/
|
|
1883
|
+
declare interface ThemeLayer {
|
|
1884
|
+
dialog: {
|
|
1885
|
+
zOffset: number
|
|
1886
|
+
}
|
|
1887
|
+
popover: {
|
|
1888
|
+
zOffset: number
|
|
1889
|
+
}
|
|
1890
|
+
tooltip: {
|
|
1891
|
+
zOffset: number
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* @public
|
|
1897
|
+
*/
|
|
1898
|
+
declare interface ThemeShadow {
|
|
1899
|
+
umbra: ThemeBoxShadow
|
|
1900
|
+
penumbra: ThemeBoxShadow
|
|
1901
|
+
ambient: ThemeBoxShadow
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
/**
|
|
1905
|
+
* @internal
|
|
1906
|
+
*/
|
|
1907
|
+
declare interface ThemeStyles {
|
|
1908
|
+
button?: {
|
|
1909
|
+
root?: CSSObject
|
|
1910
|
+
}
|
|
1911
|
+
card?: {
|
|
1912
|
+
root?: CSSObject
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1267
1916
|
/** @public */
|
|
1268
1917
|
export declare type ThemeVarName =
|
|
1269
1918
|
| `--avatar-focus-ring-offset`
|
|
@@ -1342,6 +1991,30 @@ export declare type ThemeVarName =
|
|
|
1342
1991
|
| `--shadow-${Shadow}-penumbra`
|
|
1343
1992
|
| `--shadow-${Shadow}-ambient`
|
|
1344
1993
|
|
|
1994
|
+
declare type Tint = (typeof TINTS)[number]
|
|
1995
|
+
|
|
1996
|
+
declare const TINTS: readonly [
|
|
1997
|
+
50,
|
|
1998
|
+
100,
|
|
1999
|
+
150,
|
|
2000
|
+
200,
|
|
2001
|
+
250,
|
|
2002
|
+
300,
|
|
2003
|
+
350,
|
|
2004
|
+
400,
|
|
2005
|
+
450,
|
|
2006
|
+
500,
|
|
2007
|
+
550,
|
|
2008
|
+
600,
|
|
2009
|
+
650,
|
|
2010
|
+
700,
|
|
2011
|
+
750,
|
|
2012
|
+
800,
|
|
2013
|
+
850,
|
|
2014
|
+
900,
|
|
2015
|
+
950,
|
|
2016
|
+
]
|
|
2017
|
+
|
|
1345
2018
|
export declare function toast(): string | undefined
|
|
1346
2019
|
|
|
1347
2020
|
export declare function toastLayer(): string | undefined
|
|
@@ -1352,7 +2025,12 @@ export declare function toastLoadingBarMask(): string | undefined
|
|
|
1352
2025
|
|
|
1353
2026
|
export declare function toastLoadingBarProgress(): string | undefined
|
|
1354
2027
|
|
|
1355
|
-
export declare function toBoxShadow(value:
|
|
2028
|
+
export declare function toBoxShadow(value: ThemeBoxShadow_2 | undefined): string
|
|
2029
|
+
|
|
2030
|
+
/** @public */
|
|
2031
|
+
declare interface Tokens {
|
|
2032
|
+
color: ColorTokens
|
|
2033
|
+
}
|
|
1356
2034
|
|
|
1357
2035
|
export declare function tooltip(): string | undefined
|
|
1358
2036
|
|
|
@@ -1360,38 +2038,25 @@ export declare function tooltipCard(): string | undefined
|
|
|
1360
2038
|
|
|
1361
2039
|
export declare function treeItem(): string | undefined
|
|
1362
2040
|
|
|
1363
|
-
|
|
1364
|
-
export declare type VarName =
|
|
1365
|
-
| AvatarScopedVarName
|
|
1366
|
-
| LegacyCardScopedVarName
|
|
1367
|
-
| PaletteVarName
|
|
1368
|
-
| ThemeVarName
|
|
1369
|
-
| ColorCardVarName
|
|
1370
|
-
| ButtonScopedVarName
|
|
1371
|
-
| ColorCardToneScopedVarName
|
|
1372
|
-
| CardScopedVarName
|
|
1373
|
-
| ElementColorVariantScopedVarName
|
|
1374
|
-
| InputScopedVarName
|
|
1375
|
-
| SwitchScopedVarName
|
|
2041
|
+
export declare function v3_v2(theme_v3: Theme_v3): RootTheme_v2
|
|
1376
2042
|
|
|
1377
2043
|
/** @public */
|
|
1378
2044
|
export declare interface VarNames {
|
|
1379
|
-
color: Record<
|
|
2045
|
+
color: Record<ThemeColorSchemeKey_2, ColorSchemeVarNames> &
|
|
1380
2046
|
ScopedColorVarNames &
|
|
1381
|
-
Record<
|
|
1382
|
-
container: Record<Exclude<ContainerWidth, 'auto'>, VarName>
|
|
2047
|
+
Record<ThemeColorCardToneKey_2, ColorCardVarNames>
|
|
1383
2048
|
avatar: {
|
|
1384
|
-
distance:
|
|
2049
|
+
distance: CSSVarName
|
|
1385
2050
|
focusRing: {
|
|
1386
|
-
offset:
|
|
1387
|
-
width:
|
|
2051
|
+
offset: CSSVarName
|
|
2052
|
+
width: CSSVarName
|
|
1388
2053
|
}
|
|
1389
|
-
size:
|
|
2054
|
+
size: CSSVarName
|
|
1390
2055
|
sizes: Record<
|
|
1391
2056
|
AvatarSize,
|
|
1392
2057
|
{
|
|
1393
|
-
distance:
|
|
1394
|
-
size:
|
|
2058
|
+
distance: CSSVarName
|
|
2059
|
+
size: CSSVarName
|
|
1395
2060
|
}
|
|
1396
2061
|
>
|
|
1397
2062
|
}
|
|
@@ -1402,16 +2067,15 @@ export declare interface VarNames {
|
|
|
1402
2067
|
text: FontVarNames<FontTextSize>
|
|
1403
2068
|
}
|
|
1404
2069
|
input: {
|
|
1405
|
-
fontSize:
|
|
1406
|
-
lineHeight:
|
|
1407
|
-
letterSpacing:
|
|
1408
|
-
ascenderHeight:
|
|
1409
|
-
descenderHeight:
|
|
1410
|
-
gap:
|
|
1411
|
-
padding:
|
|
2070
|
+
fontSize: CSSVarName
|
|
2071
|
+
lineHeight: CSSVarName
|
|
2072
|
+
letterSpacing: CSSVarName
|
|
2073
|
+
ascenderHeight: CSSVarName
|
|
2074
|
+
descenderHeight: CSSVarName
|
|
2075
|
+
gap: CSSVarName
|
|
2076
|
+
padding: CSSVarName
|
|
1412
2077
|
}
|
|
1413
|
-
|
|
1414
|
-
space: Record<Space, VarName>
|
|
2078
|
+
space: Record<Space, CSSVarName>
|
|
1415
2079
|
}
|
|
1416
2080
|
|
|
1417
2081
|
export declare const varNames: VarNames
|
|
@@ -1433,8 +2097,7 @@ export declare interface Vars {
|
|
|
1433
2097
|
dark: ColorSchemeVars
|
|
1434
2098
|
light: ColorSchemeVars
|
|
1435
2099
|
} & ScopedColorVars &
|
|
1436
|
-
Record<
|
|
1437
|
-
container: Record<Exclude<ContainerWidth, 'auto'>, CSSVar>
|
|
2100
|
+
Record<ThemeColorCardToneKey_2, ColorCardVars>
|
|
1438
2101
|
font: {
|
|
1439
2102
|
code: FontVars<FontCodeSize>
|
|
1440
2103
|
heading: FontVars<FontHeadingSize>
|
|
@@ -1456,13 +2119,12 @@ export declare interface Vars {
|
|
|
1456
2119
|
}
|
|
1457
2120
|
}
|
|
1458
2121
|
}
|
|
1459
|
-
radius: Record<Radius, CSSVar>
|
|
1460
2122
|
space: Record<Space, CSSVar>
|
|
1461
2123
|
}
|
|
1462
2124
|
|
|
1463
2125
|
export declare const vars: Vars
|
|
1464
2126
|
|
|
1465
|
-
export declare type Width = ContainerWidth
|
|
2127
|
+
export declare type Width = ContainerWidth
|
|
1466
2128
|
|
|
1467
2129
|
export declare function width(props: WidthStyleProps): string
|
|
1468
2130
|
|