@sanity/ui 3.0.0-static.15 → 3.0.0-static.17
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/README.md +6 -6
- package/bin/{ui.js → sanity-ui.cjs} +1 -1
- package/dist/_chunks-cjs/{_visual-editing.js → _visual-editing.cjs} +67 -77
- package/dist/_chunks-cjs/_visual-editing.cjs.map +1 -0
- package/dist/_chunks-cjs/{buildCommand.js → buildCommand.cjs} +26 -10
- package/dist/_chunks-cjs/buildCommand.cjs.map +1 -0
- package/dist/_chunks-cjs/{refractor.js → refractor.cjs} +1 -1
- package/dist/_chunks-cjs/refractor.cjs.map +1 -0
- package/dist/_chunks-es/{_visual-editing.mjs → _visual-editing.js} +68 -78
- package/dist/_chunks-es/_visual-editing.js.map +1 -0
- package/dist/_chunks-es/{refractor.mjs → refractor.js} +1 -1
- package/dist/_chunks-es/refractor.js.map +1 -0
- package/dist/_visual-editing.cjs +30 -0
- package/dist/_visual-editing.cjs.map +1 -0
- package/dist/{_visual-editing.d.mts → _visual-editing.d.cts} +5 -15
- package/dist/_visual-editing.d.ts +5 -15
- package/dist/_visual-editing.js +29 -30
- package/dist/_visual-editing.js.map +1 -1
- package/dist/{cli.js → cli.cjs} +4 -4
- package/dist/cli.cjs.map +1 -0
- package/dist/{css.mjs → css.cjs} +809 -923
- package/dist/css.cjs.map +1 -0
- package/dist/{css.d.mts → css.d.cts} +31 -24
- package/dist/css.d.ts +31 -24
- package/dist/css.js +809 -921
- package/dist/css.js.map +1 -1
- package/dist/{index.mjs → index.cjs} +373 -406
- package/dist/index.cjs.map +1 -0
- package/dist/{index.d.mts → index.d.cts} +10 -20
- package/dist/index.d.ts +10 -20
- package/dist/index.js +371 -406
- package/dist/index.js.map +1 -1
- package/dist/{theme.mjs → theme.cjs} +219 -196
- package/dist/theme.cjs.map +1 -0
- package/dist/{theme.d.mts → theme.d.cts} +2 -0
- package/dist/theme.d.ts +2 -0
- package/dist/theme.js +218 -195
- package/dist/theme.js.map +1 -1
- package/dist/{sanity-palette.css → ui-palette.css} +1 -1
- package/dist/ui-palette.min.css +1 -0
- package/dist/{system.css → ui-system.css} +1135 -245
- package/dist/ui-system.min.css +1 -0
- package/dist/{sanity-theme.css → ui-theme.css} +199 -199
- package/dist/ui-theme.min.css +1 -0
- package/dist/ui.css +29152 -0
- package/dist/ui.min.css +1 -0
- package/exports/_visual-editing.ts +27 -27
- package/exports/index.ts +1 -1
- package/package.json +24 -24
- package/src/cli/buildCommand.ts +55 -20
- package/src/cli/index.ts +2 -14
- package/src/{ui → core}/StyleTags.tsx +4 -4
- package/src/{ui → core}/_compat/index.ts +0 -1
- package/src/{ui → core}/_compat/theme/themeProvider.tsx +3 -3
- package/src/{ui → core}/components/autocomplete/__workshop__/async.tsx +2 -2
- package/src/{ui → core}/components/autocomplete/__workshop__/custom.tsx +2 -2
- package/src/{ui → core}/components/autocomplete/__workshop__/focusAndBlur.tsx +3 -3
- package/src/{ui → core}/components/tab/tabList.tsx +19 -4
- package/src/{ui → core}/index.ts +0 -1
- package/src/{ui → core}/primitives/box/box.tsx +3 -0
- package/src/core/primitives/button/__workshop__/custom.tsx +27 -0
- package/src/{ui → core}/primitives/button/button.tsx +3 -1
- package/src/{ui → core}/primitives/card/__workshop__/asButton.tsx +0 -9
- package/src/{ui → core}/primitives/card/__workshop__/interactive.tsx +0 -1
- package/src/{ui → core}/primitives/card/__workshop__/props.tsx +0 -3
- package/src/{ui → core}/primitives/card/__workshop__/selected.tsx +6 -37
- package/src/{ui → core}/primitives/card/card.tsx +15 -21
- package/src/core/primitives/card/cardProvider.tsx +27 -0
- package/src/{ui → core}/primitives/card/types.ts +5 -4
- package/src/{ui → core}/primitives/heading/__workshop__/opticalAlignment.tsx +1 -1
- package/src/{ui → core}/primitives/heading/__workshop__/plain.tsx +1 -8
- package/src/{ui → core}/primitives/label/__workshop__/plain.tsx +1 -9
- package/src/{ui → core}/primitives/popover/popover.tsx +1 -1
- package/src/{ui → core}/primitives/text/__workshop__/example.tsx +1 -9
- package/src/{ui → core}/primitives/tooltip/tooltip.tsx +1 -1
- package/src/{ui/utils/portal/portal.ts → core/utils/portal/portal.tsx} +8 -10
- package/src/css/{compilePalette.ts → _compilePalette.ts} +2 -2
- package/src/css/{compileSystem.ts → _compileSystem.ts} +1 -1
- package/src/css/{compileTheme.ts → _compileTheme.ts} +3 -3
- package/src/css/{compileTheme_v3.ts → _compileTheme_v3.ts} +7 -1
- package/src/css/_mergeStyles.ts +0 -7
- package/src/css/_system.style.ts +3 -0
- package/src/css/aspects/font/font.style.ts +0 -21
- package/src/css/aspects/font/font.ts +1 -6
- package/src/css/aspects/font/types.ts +0 -4
- package/src/css/aspects/index.ts +1 -0
- package/src/css/aspects/textAlign/index.ts +2 -0
- package/src/css/aspects/textAlign/textAlign.style.ts +26 -0
- package/src/css/aspects/textAlign/textAlign.ts +8 -0
- package/src/css/aspects/textAlign/types.ts +7 -0
- package/src/css/index.ts +3 -3
- package/src/css/primitives/_input/_input.style.ts +9 -11
- package/src/css/primitives/box/box.style.ts +5 -1
- package/src/css/primitives/box/box.ts +2 -0
- package/src/css/primitives/box/types.ts +2 -0
- package/src/css/primitives/button/button.style.ts +23 -9
- package/src/css/primitives/button/button.ts +1 -12
- package/src/css/primitives/button/types.ts +1 -6
- package/src/css/primitives/card/card.style.ts +12 -21
- package/src/css/primitives/heading/heading.ts +2 -1
- package/src/css/primitives/heading/types.ts +2 -1
- package/src/css/primitives/kbd/kbd.style.ts +3 -6
- package/src/css/primitives/label/label.ts +2 -1
- package/src/css/primitives/label/types.ts +2 -1
- package/src/css/primitives/text/text.style.ts +0 -5
- package/src/css/primitives/text/text.ts +2 -1
- package/src/css/primitives/text/types.ts +2 -1
- package/src/css/primitives/textInput/textInput.style.ts +1 -120
- package/src/css/types.ts +9 -9
- package/src/theme/v3/color/buildColor_v3.ts +53 -25
- package/src/theme/v3/color/card.ts +0 -42
- package/src/theme/v3/color/renderColor.test.ts +1 -0
- package/src/theme/v3/color/renderColor.ts +9 -2
- package/src/theme/v3/color/token.ts +1 -0
- package/src/theme/v3/defaultTokens.ts +7 -2
- package/dist/_chunks-cjs/_visual-editing.js.map +0 -1
- package/dist/_chunks-cjs/buildCommand.js.map +0 -1
- package/dist/_chunks-cjs/refractor.js.map +0 -1
- package/dist/_chunks-es/_visual-editing.mjs.map +0 -1
- package/dist/_chunks-es/refractor.mjs.map +0 -1
- package/dist/_visual-editing.mjs +0 -31
- package/dist/_visual-editing.mjs.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/css.mjs.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/sanity-palette.min.css +0 -1
- package/dist/sanity-theme.min.css +0 -1
- package/dist/system.min.css +0 -1
- package/dist/theme.mjs.map +0 -1
- package/src/css/primitives/button/_constants.ts +0 -17
- package/src/ui/RootClassNames.tsx +0 -44
- package/src/ui/_compat/studioTheme.ts +0 -7
- package/src/ui/primitives/button/__workshop__/custom.tsx +0 -50
- package/src/ui/primitives/card/cardProvider.tsx +0 -21
- /package/dist/{cli.d.ts → cli.d.cts} +0 -0
- /package/src/{ui → core}/_compat/helpers.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/themeContext.ts +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}/_compat/types.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__/constrainedHeight.tsx +0 -0
- /package/src/{ui → core}/components/autocomplete/__workshop__/example.tsx +0 -0
- /package/src/{ui → core}/components/autocomplete/__workshop__/fullscreen.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/autocomplete.tsx +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/dialog.tsx +0 -0
- /package/src/{ui → core}/components/dialog/dialogCard.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/isTargetWithinScope.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/hotkeys.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/codeSkeleton.tsx +0 -0
- /package/src/{ui → core}/components/skeleton/headingSkeleton.tsx +0 -0
- /package/src/{ui → core}/components/skeleton/index.ts +0 -0
- /package/src/{ui → core}/components/skeleton/labelSkeleton.tsx +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/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/toast.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}/constants.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/useMatchMedia.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/useMediaIndex/useMediaIndex.ts +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}/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__/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__/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__/listNavigation.tsx +0 -0
- /package/src/{ui → core}/primitives/card/__workshop__/styled.tsx +0 -0
- /package/src/{ui → core}/primitives/card/cardContext.ts +0 -0
- /package/src/{ui → core}/primitives/card/index.ts +0 -0
- /package/src/{ui → core}/primitives/card/useCard.ts +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/code.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/heading.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/kbd/kbd.tsx +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/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__/OpenOnMountStory.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__/SidePanelStory.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/popoverLayer.tsx +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/select/select.tsx +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/{ui → core}/primitives/stack/index.ts +0 -0
- /package/src/{ui → core}/primitives/stack/stack.tsx +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__/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/text/text.tsx +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/textInput/textInput.tsx +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/tooltip.test.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/tooltip/tooltipLayer.tsx +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/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/layerCard.tsx +0 -0
- /package/src/{ui → core}/utils/layer/layerContext.ts +0 -0
- /package/src/{ui → core}/utils/layer/layerProvider.tsx +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/{ui → core}/utils/virtualList/virtualList.tsx +0 -0
package/dist/{css.mjs → css.cjs}
RENAMED
|
@@ -1,79 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
if (!(prop === void 0 || prop === !1))
|
|
5
|
-
return Array.isArray(prop) ? prop.map((value, index) => {
|
|
6
|
-
if (value === void 0 || typeof prop == "boolean" && prop === !1) return;
|
|
7
|
-
const className = (typeof value == "boolean" ? [prefix] : [prefix, value]).filter((s) => s === 0 || !!s).join("-").replace(/\./g, "_");
|
|
8
|
-
return index === 0 ? className : `${index}:${className}`;
|
|
9
|
-
}).filter(Boolean).join(" ") : (typeof prop == "boolean" ? [prefix] : [prefix, prop]).filter((s) => s === 0 || !!s).join("-").replace(/\./g, "_");
|
|
10
|
-
}
|
|
11
|
-
function _getClassNames(...classNames) {
|
|
12
|
-
return classNames.map((n) => typeof n == "string" && n.trim()).filter(Boolean).join(" ").split(" ");
|
|
13
|
-
}
|
|
14
|
-
function composeClassNames(...classNames) {
|
|
15
|
-
return unique(_getClassNames(...classNames)).join(" ") || void 0;
|
|
16
|
-
}
|
|
17
|
-
function unique(array) {
|
|
18
|
-
return Array.from(new Set(array));
|
|
19
|
-
}
|
|
20
|
-
function border(props) {
|
|
21
|
-
return composeClassNames(_resp("border", props.border), _resp("border-t", props.borderTop), _resp("border-r", props.borderRight), _resp("border-b", props.borderBottom), _resp("border-l", props.borderLeft));
|
|
22
|
-
}
|
|
23
|
-
function display(props) {
|
|
24
|
-
return composeClassNames(_resp(void 0, props.display));
|
|
25
|
-
}
|
|
26
|
-
function flex(props) {
|
|
27
|
-
return composeClassNames(_resp("flex-align", props.align), _resp("f", props.direction), _resp("flex-justify", props.justify), _resp("flex", props.wrap));
|
|
28
|
-
}
|
|
29
|
-
function flexItem(props) {
|
|
30
|
-
return composeClassNames(_resp("f", props.flex));
|
|
31
|
-
}
|
|
32
|
-
function font(props) {
|
|
33
|
-
return composeClassNames("font", props.weight && `font-${props.weight}`, _resp("text-align", props.align));
|
|
34
|
-
}
|
|
35
|
-
function gap(props) {
|
|
36
|
-
return composeClassNames(_resp("g", props.gap), _resp("gx", props.gapX), _resp("gy", props.gapY));
|
|
37
|
-
}
|
|
38
|
-
function grid(props) {
|
|
39
|
-
return composeClassNames(_resp("auto-cols", props.autoCols), _resp("auto-flow", props.autoFlow), _resp("auto-rows", props.autoRows), _resp("cols", props.columns), _resp("rows", props.rows));
|
|
40
|
-
}
|
|
41
|
-
function gridItem(props) {
|
|
42
|
-
return composeClassNames(_resp("col", props.column), _resp("col-start", props.columnStart), _resp("col-end", props.columnEnd), _resp("row", props.row), _resp("row-start", props.rowStart), _resp("row-end", props.rowEnd));
|
|
43
|
-
}
|
|
44
|
-
function height(props) {
|
|
45
|
-
return composeClassNames(_resp("h", props.height));
|
|
46
|
-
}
|
|
47
|
-
function inset(props) {
|
|
48
|
-
return composeClassNames(_resp("inset", props.inset), _resp("top", props.insetTop), _resp("right", props.insetRight), _resp("bottom", props.insetBottom), _resp("left", props.insetLeft));
|
|
49
|
-
}
|
|
50
|
-
function margin(props) {
|
|
51
|
-
return composeClassNames(_resp("m", props.margin), _resp("mx", props.marginX), _resp("my", props.marginY), _resp("mt", props.marginTop), _resp("mr", props.marginRight), _resp("mb", props.marginBottom), _resp("ml", props.marginLeft));
|
|
52
|
-
}
|
|
53
|
-
function maxWidth(props) {
|
|
54
|
-
return _resp("max-w", props.maxWidth) ?? "";
|
|
55
|
-
}
|
|
56
|
-
function minWidth(props) {
|
|
57
|
-
return _resp("min-w", props.minWidth) ?? "";
|
|
58
|
-
}
|
|
59
|
-
function overflow(props) {
|
|
60
|
-
return composeClassNames(_resp("overflow", props.overflow), _resp("overflow-x", props.overflowX), _resp("overflow-y", props.overflowY));
|
|
61
|
-
}
|
|
62
|
-
function padding(props) {
|
|
63
|
-
return composeClassNames(_resp("p", props.padding), _resp("px", props.paddingX), _resp("py", props.paddingY), _resp("pt", props.paddingTop), _resp("pr", props.paddingRight), _resp("pb", props.paddingBottom), _resp("pl", props.paddingLeft));
|
|
64
|
-
}
|
|
65
|
-
function pointerEvents(props) {
|
|
66
|
-
return composeClassNames(props.pointerEvents && `pointer-events-${props.pointerEvents}`);
|
|
67
|
-
}
|
|
68
|
-
function position(props) {
|
|
69
|
-
return composeClassNames(_resp("position", props.position));
|
|
70
|
-
}
|
|
71
|
-
function radius(props) {
|
|
72
|
-
return composeClassNames(_resp("r", props.radius));
|
|
73
|
-
}
|
|
74
|
-
function shadow(props) {
|
|
75
|
-
return composeClassNames(_resp("shadow", props.shadow));
|
|
76
|
-
}
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
3
|
+
var color = require("@sanity/color"), theme = require("@sanity/ui/theme");
|
|
77
4
|
const BREAKPOINTS = {
|
|
78
5
|
1: 360,
|
|
79
6
|
2: 600,
|
|
@@ -82,19 +9,6 @@ const BREAKPOINTS = {
|
|
|
82
9
|
5: 1800,
|
|
83
10
|
6: 2400
|
|
84
11
|
}, PREFIX = "s-";
|
|
85
|
-
function scopeClassName(className) {
|
|
86
|
-
if (className !== void 0)
|
|
87
|
-
return `${PREFIX}${className.trim()}`;
|
|
88
|
-
}
|
|
89
|
-
function _comp(...classNames) {
|
|
90
|
-
return _getClassNames(...classNames).filter(Boolean).map(scopeClassName).join(" ") || void 0;
|
|
91
|
-
}
|
|
92
|
-
function textOverflow(props) {
|
|
93
|
-
return _comp(props.textOverflow && `text-overflow-${props.textOverflow}`);
|
|
94
|
-
}
|
|
95
|
-
function width(props) {
|
|
96
|
-
return _resp("w", props.width) ?? "";
|
|
97
|
-
}
|
|
98
12
|
function isRecord(value) {
|
|
99
13
|
return value !== null && typeof value == "object" && !Array.isArray(value);
|
|
100
14
|
}
|
|
@@ -206,7 +120,7 @@ const varNames = {
|
|
|
206
120
|
width: "--avatar-focus-ring-width"
|
|
207
121
|
},
|
|
208
122
|
size: "--avatar-size",
|
|
209
|
-
sizes: AVATAR_SIZE.reduce((acc, size) => ({
|
|
123
|
+
sizes: theme.AVATAR_SIZE.reduce((acc, size) => ({
|
|
210
124
|
...acc,
|
|
211
125
|
[size]: {
|
|
212
126
|
distance: `--avatar-${size}-distance`,
|
|
@@ -347,15 +261,15 @@ const varNames = {
|
|
|
347
261
|
variant: "tinted"
|
|
348
262
|
}),
|
|
349
263
|
// tone scopes
|
|
350
|
-
...THEME_COLOR_CARD_TONES.reduce((acc, tone) => (acc[tone] = buildColorCardVarNames({
|
|
264
|
+
...theme.THEME_COLOR_CARD_TONES.reduce((acc, tone) => (acc[tone] = buildColorCardVarNames({
|
|
351
265
|
tone
|
|
352
266
|
}), acc), {}),
|
|
353
267
|
// scheme scopes
|
|
354
|
-
dark: THEME_COLOR_CARD_TONES.reduce((acc, tone) => (acc[tone] = buildColorCardVarNames({
|
|
268
|
+
dark: theme.THEME_COLOR_CARD_TONES.reduce((acc, tone) => (acc[tone] = buildColorCardVarNames({
|
|
355
269
|
scheme: "dark",
|
|
356
270
|
tone
|
|
357
271
|
}), acc), {}),
|
|
358
|
-
light: THEME_COLOR_CARD_TONES.reduce((acc, tone) => (acc[tone] = buildColorCardVarNames({
|
|
272
|
+
light: theme.THEME_COLOR_CARD_TONES.reduce((acc, tone) => (acc[tone] = buildColorCardVarNames({
|
|
359
273
|
scheme: "light",
|
|
360
274
|
tone
|
|
361
275
|
}), acc), {})
|
|
@@ -372,7 +286,7 @@ const varNames = {
|
|
|
372
286
|
code: {
|
|
373
287
|
family: "--font-code-family",
|
|
374
288
|
featureSettings: "--font-code-feature-settings",
|
|
375
|
-
sizes: FONT_CODE_SIZE.reduce((acc, size) => ({
|
|
289
|
+
sizes: theme.FONT_CODE_SIZE.reduce((acc, size) => ({
|
|
376
290
|
...acc,
|
|
377
291
|
[size]: {
|
|
378
292
|
fontSize: `--font-code-${size}-size`,
|
|
@@ -393,7 +307,7 @@ const varNames = {
|
|
|
393
307
|
heading: {
|
|
394
308
|
family: "--font-heading-family",
|
|
395
309
|
featureSettings: "--font-heading-feature-settings",
|
|
396
|
-
sizes: FONT_HEADING_SIZE.reduce((acc, size) => ({
|
|
310
|
+
sizes: theme.FONT_HEADING_SIZE.reduce((acc, size) => ({
|
|
397
311
|
...acc,
|
|
398
312
|
[size]: {
|
|
399
313
|
fontSize: `--font-heading-${size}-size`,
|
|
@@ -414,7 +328,7 @@ const varNames = {
|
|
|
414
328
|
label: {
|
|
415
329
|
family: "--font-label-family",
|
|
416
330
|
featureSettings: "--font-label-feature-settings",
|
|
417
|
-
sizes: FONT_LABEL_SIZE.reduce((acc, size) => ({
|
|
331
|
+
sizes: theme.FONT_LABEL_SIZE.reduce((acc, size) => ({
|
|
418
332
|
...acc,
|
|
419
333
|
[size]: {
|
|
420
334
|
fontSize: `--font-label-${size}-size`,
|
|
@@ -435,7 +349,7 @@ const varNames = {
|
|
|
435
349
|
text: {
|
|
436
350
|
family: "--font-text-family",
|
|
437
351
|
featureSettings: "--font-text-feature-settings",
|
|
438
|
-
sizes: FONT_TEXT_SIZE.reduce((acc, size) => ({
|
|
352
|
+
sizes: theme.FONT_TEXT_SIZE.reduce((acc, size) => ({
|
|
439
353
|
...acc,
|
|
440
354
|
[size]: {
|
|
441
355
|
fontSize: `--font-text-${size}-size`,
|
|
@@ -504,19 +418,19 @@ const varNames = {
|
|
|
504
418
|
gap: "--input-gap",
|
|
505
419
|
padding: "--input-padding"
|
|
506
420
|
},
|
|
507
|
-
radius: Object.fromEntries(RADIUS.map((radius2) => [radius2, `--radius-${radius2}`])),
|
|
508
|
-
shadow: Object.fromEntries(SHADOW.map((shadow2) => [shadow2, {
|
|
421
|
+
radius: Object.fromEntries(theme.RADIUS.map((radius2) => [radius2, `--radius-${radius2}`])),
|
|
422
|
+
shadow: Object.fromEntries(theme.SHADOW.map((shadow2) => [shadow2, {
|
|
509
423
|
umbra: `--shadow-${shadow2}-umbra`,
|
|
510
424
|
penumbra: `--shadow-${shadow2}-penumbra`,
|
|
511
425
|
ambient: `--shadow-${shadow2}-ambient`
|
|
512
426
|
}])),
|
|
513
|
-
space: Object.fromEntries(SPACE.map((space) => [space, `--space-${String(space).replace(".", "_")}`])),
|
|
427
|
+
space: Object.fromEntries(theme.SPACE.map((space) => [space, `--space-${String(space).replace(".", "_")}`])),
|
|
514
428
|
// color
|
|
515
429
|
black: "--black",
|
|
516
430
|
white: "--white",
|
|
517
|
-
...COLOR_HUES.reduce((acc, hue) => {
|
|
431
|
+
...color.COLOR_HUES.reduce((acc, hue) => {
|
|
518
432
|
const tints = {};
|
|
519
|
-
for (const tint of COLOR_TINTS)
|
|
433
|
+
for (const tint of color.COLOR_TINTS)
|
|
520
434
|
tints[tint] = `--${hue}-${tint}`;
|
|
521
435
|
return acc[hue] = tints, acc;
|
|
522
436
|
}, {})
|
|
@@ -666,7 +580,7 @@ function buildColorVariantVarNames(options) {
|
|
|
666
580
|
4: `${prefix}-fg-4`
|
|
667
581
|
}
|
|
668
582
|
};
|
|
669
|
-
for (const elementTone of THEME_COLOR_STATE_TONES) {
|
|
583
|
+
for (const elementTone of theme.THEME_COLOR_STATE_TONES) {
|
|
670
584
|
const _prefix = scheme && tone ? `--color-${scheme}-${tone}-${variant}-${elementTone}` : tone ? `--color-${tone}-${variant}-${elementTone}` : `--color-${variant}-${elementTone}`;
|
|
671
585
|
vars2[elementTone] = {
|
|
672
586
|
bg: {
|
|
@@ -694,10 +608,10 @@ function buildColorVariantVarNames(options) {
|
|
|
694
608
|
}
|
|
695
609
|
return vars2;
|
|
696
610
|
}
|
|
697
|
-
function
|
|
611
|
+
function _compilePalette() {
|
|
698
612
|
return _compileStyle({
|
|
699
613
|
layers: {
|
|
700
|
-
|
|
614
|
+
palette: {
|
|
701
615
|
":root": compilePaletteProperties()
|
|
702
616
|
}
|
|
703
617
|
}
|
|
@@ -705,23 +619,22 @@ function compilePalette() {
|
|
|
705
619
|
}
|
|
706
620
|
function compilePaletteProperties() {
|
|
707
621
|
const rules2 = {
|
|
708
|
-
[varNames.black]: color.black.hex,
|
|
709
|
-
[varNames.white]: color.white.hex
|
|
622
|
+
[varNames.black]: color.color.black.hex,
|
|
623
|
+
[varNames.white]: color.color.white.hex
|
|
710
624
|
};
|
|
711
|
-
for (const hue of HUES)
|
|
712
|
-
for (const tint of TINTS)
|
|
713
|
-
rules2[varNames[hue][tint]] = color[hue][tint].hex;
|
|
625
|
+
for (const hue of theme.HUES)
|
|
626
|
+
for (const tint of theme.TINTS)
|
|
627
|
+
rules2[varNames[hue][tint]] = color.color[hue][tint].hex;
|
|
714
628
|
return rules2;
|
|
715
629
|
}
|
|
716
630
|
function _mergeStyles(styles) {
|
|
717
631
|
const keyframes2 = {}, layers = {}, rules2 = {};
|
|
718
|
-
for (const s of styles)
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
}
|
|
632
|
+
for (const s of styles) {
|
|
633
|
+
Object.assign(keyframes2, s.keyframes);
|
|
634
|
+
for (const layerName in s.layers)
|
|
635
|
+
layers[layerName] || (layers[layerName] = {}), Object.assign(layers[layerName], s.layers[layerName]);
|
|
636
|
+
Object.assign(rules2, s.rules);
|
|
637
|
+
}
|
|
725
638
|
return {
|
|
726
639
|
keyframes: keyframes2,
|
|
727
640
|
layers,
|
|
@@ -757,13 +670,13 @@ function _responsiveRule(rules2, _name, properties) {
|
|
|
757
670
|
};
|
|
758
671
|
}
|
|
759
672
|
const darkColorVars = {};
|
|
760
|
-
for (const tone of THEME_COLOR_CARD_TONES)
|
|
673
|
+
for (const tone of theme.THEME_COLOR_CARD_TONES)
|
|
761
674
|
darkColorVars[tone] = buildColorCardVars({
|
|
762
675
|
scheme: "dark",
|
|
763
676
|
tone
|
|
764
677
|
});
|
|
765
678
|
const lightColorVars = {};
|
|
766
|
-
for (const tone of THEME_COLOR_CARD_TONES)
|
|
679
|
+
for (const tone of theme.THEME_COLOR_CARD_TONES)
|
|
767
680
|
lightColorVars[tone] = buildColorCardVars({
|
|
768
681
|
scheme: "light",
|
|
769
682
|
tone
|
|
@@ -885,7 +798,7 @@ const colorVars = {
|
|
|
885
798
|
tinted: buildColorVariantVars({
|
|
886
799
|
variant: "tinted"
|
|
887
800
|
}),
|
|
888
|
-
...THEME_COLOR_CARD_TONES.reduce((acc, tone) => ({
|
|
801
|
+
...theme.THEME_COLOR_CARD_TONES.reduce((acc, tone) => ({
|
|
889
802
|
...acc,
|
|
890
803
|
[tone]: buildColorCardVars({
|
|
891
804
|
tone
|
|
@@ -897,7 +810,7 @@ const colorVars = {
|
|
|
897
810
|
avatar: {
|
|
898
811
|
distance: `var(${varNames.avatar.distance})`,
|
|
899
812
|
size: `var(${varNames.avatar.size})`,
|
|
900
|
-
sizes: AVATAR_SIZE.reduce((acc, size) => ({
|
|
813
|
+
sizes: theme.AVATAR_SIZE.reduce((acc, size) => ({
|
|
901
814
|
...acc,
|
|
902
815
|
[size]: {
|
|
903
816
|
size: `var(${varNames.avatar.sizes[size].size})`,
|
|
@@ -922,7 +835,7 @@ const colorVars = {
|
|
|
922
835
|
font: {
|
|
923
836
|
code: {
|
|
924
837
|
family: `var(${varNames.font.code.family})`,
|
|
925
|
-
sizes: FONT_CODE_SIZE.reduce((acc, size) => ({
|
|
838
|
+
sizes: theme.FONT_CODE_SIZE.reduce((acc, size) => ({
|
|
926
839
|
...acc,
|
|
927
840
|
[size]: {
|
|
928
841
|
fontSize: `var(${varNames.font.code.sizes[size].fontSize})`,
|
|
@@ -942,7 +855,7 @@ const colorVars = {
|
|
|
942
855
|
},
|
|
943
856
|
heading: {
|
|
944
857
|
family: `var(${varNames.font.heading.family})`,
|
|
945
|
-
sizes: FONT_HEADING_SIZE.reduce((acc, size) => ({
|
|
858
|
+
sizes: theme.FONT_HEADING_SIZE.reduce((acc, size) => ({
|
|
946
859
|
...acc,
|
|
947
860
|
[size]: {
|
|
948
861
|
fontSize: `var(${varNames.font.heading.sizes[size].fontSize})`,
|
|
@@ -962,7 +875,7 @@ const colorVars = {
|
|
|
962
875
|
},
|
|
963
876
|
label: {
|
|
964
877
|
family: `var(${varNames.font.label.family})`,
|
|
965
|
-
sizes: FONT_LABEL_SIZE.reduce((acc, size) => ({
|
|
878
|
+
sizes: theme.FONT_LABEL_SIZE.reduce((acc, size) => ({
|
|
966
879
|
...acc,
|
|
967
880
|
[size]: {
|
|
968
881
|
fontSize: `var(${varNames.font.label.sizes[size].fontSize})`,
|
|
@@ -982,7 +895,7 @@ const colorVars = {
|
|
|
982
895
|
},
|
|
983
896
|
text: {
|
|
984
897
|
family: `var(${varNames.font.text.family})`,
|
|
985
|
-
sizes: FONT_TEXT_SIZE.reduce((acc, size) => ({
|
|
898
|
+
sizes: theme.FONT_TEXT_SIZE.reduce((acc, size) => ({
|
|
986
899
|
...acc,
|
|
987
900
|
[size]: {
|
|
988
901
|
fontSize: `var(${varNames.font.text.sizes[size].fontSize})`,
|
|
@@ -1017,19 +930,19 @@ const colorVars = {
|
|
|
1017
930
|
}
|
|
1018
931
|
}
|
|
1019
932
|
},
|
|
1020
|
-
radius: Object.fromEntries(RADIUS.map((radius2) => [radius2, `var(${varNames.radius[radius2]})`])),
|
|
1021
|
-
shadow: Object.fromEntries(SHADOW.map((shadow2) => [shadow2, {
|
|
933
|
+
radius: Object.fromEntries(theme.RADIUS.map((radius2) => [radius2, `var(${varNames.radius[radius2]})`])),
|
|
934
|
+
shadow: Object.fromEntries(theme.SHADOW.map((shadow2) => [shadow2, {
|
|
1022
935
|
umbra: `var(${varNames.shadow[shadow2].umbra})`,
|
|
1023
936
|
penumbra: `var(${varNames.shadow[shadow2].penumbra})`,
|
|
1024
937
|
ambient: `var(${varNames.shadow[shadow2].ambient})`
|
|
1025
938
|
}])),
|
|
1026
|
-
space: Object.fromEntries(SPACE.map((space) => [space, `var(${varNames.space[space]})`])),
|
|
939
|
+
space: Object.fromEntries(theme.SPACE.map((space) => [space, `var(${varNames.space[space]})`])),
|
|
1027
940
|
// color
|
|
1028
941
|
black: `var(${varNames.black})`,
|
|
1029
942
|
white: `var(${varNames.white})`,
|
|
1030
|
-
...COLOR_HUES.reduce((acc, hue) => {
|
|
943
|
+
...color.COLOR_HUES.reduce((acc, hue) => {
|
|
1031
944
|
const tints = {};
|
|
1032
|
-
for (const tint of COLOR_TINTS)
|
|
945
|
+
for (const tint of color.COLOR_TINTS)
|
|
1033
946
|
tints[tint] = `var(--${hue}-${tint})`;
|
|
1034
947
|
return acc[hue] = tints, acc;
|
|
1035
948
|
}, {})
|
|
@@ -1041,7 +954,7 @@ function buildColorCardVars(props) {
|
|
|
1041
954
|
} = props, prefix = scheme ? varNames.color[scheme][tone] : varNames.color[tone];
|
|
1042
955
|
return {
|
|
1043
956
|
avatar: {
|
|
1044
|
-
...THEME_COLOR_AVATAR_COLORS.reduce((acc, color2) => ({
|
|
957
|
+
...theme.THEME_COLOR_AVATAR_COLORS.reduce((acc, color2) => ({
|
|
1045
958
|
...acc,
|
|
1046
959
|
[color2]: {
|
|
1047
960
|
bg: `var(${prefix.avatar[color2].bg})`,
|
|
@@ -1150,7 +1063,7 @@ function buildColorVariantVars(options) {
|
|
|
1150
1063
|
4: `var(${_prefix}-fg-4)`
|
|
1151
1064
|
}
|
|
1152
1065
|
};
|
|
1153
|
-
for (const elementTone of THEME_COLOR_STATE_TONES) {
|
|
1066
|
+
for (const elementTone of theme.THEME_COLOR_STATE_TONES) {
|
|
1154
1067
|
const prefix = scheme && tone ? `--color-${scheme}-${tone}-${variant}-${elementTone}` : tone ? `--color-${tone}-${variant}-${elementTone}` : `--color-${variant}-${elementTone}`;
|
|
1155
1068
|
vars2[elementTone] = {
|
|
1156
1069
|
bg: {
|
|
@@ -1178,70 +1091,70 @@ function buildColorVariantVars(options) {
|
|
|
1178
1091
|
}
|
|
1179
1092
|
return vars2;
|
|
1180
1093
|
}
|
|
1181
|
-
const util$
|
|
1182
|
-
_responsiveRule(util$
|
|
1094
|
+
const util$u = {};
|
|
1095
|
+
_responsiveRule(util$u, "border", {
|
|
1183
1096
|
border: `1px solid ${vars.color.border}`
|
|
1184
1097
|
});
|
|
1185
|
-
_responsiveRule(util$
|
|
1098
|
+
_responsiveRule(util$u, "border-t", {
|
|
1186
1099
|
borderTop: `1px solid ${vars.color.border}`
|
|
1187
1100
|
});
|
|
1188
|
-
_responsiveRule(util$
|
|
1101
|
+
_responsiveRule(util$u, "border-r", {
|
|
1189
1102
|
borderRight: `1px solid ${vars.color.border}`
|
|
1190
1103
|
});
|
|
1191
|
-
_responsiveRule(util$
|
|
1104
|
+
_responsiveRule(util$u, "border-b", {
|
|
1192
1105
|
borderBottom: `1px solid ${vars.color.border}`
|
|
1193
1106
|
});
|
|
1194
|
-
_responsiveRule(util$
|
|
1107
|
+
_responsiveRule(util$u, "border-l", {
|
|
1195
1108
|
borderLeft: `1px solid ${vars.color.border}`
|
|
1196
1109
|
});
|
|
1197
1110
|
const borderStyle = {
|
|
1198
1111
|
layers: {
|
|
1199
|
-
util: util$
|
|
1112
|
+
util: util$u
|
|
1200
1113
|
}
|
|
1201
|
-
}, util$
|
|
1202
|
-
_responsiveRule(util$
|
|
1114
|
+
}, util$t = {};
|
|
1115
|
+
_responsiveRule(util$t, "block", {
|
|
1203
1116
|
"@nest": {
|
|
1204
1117
|
"&:not([hidden])": {
|
|
1205
1118
|
display: "block"
|
|
1206
1119
|
}
|
|
1207
1120
|
}
|
|
1208
1121
|
});
|
|
1209
|
-
_responsiveRule(util$
|
|
1122
|
+
_responsiveRule(util$t, "flex", {
|
|
1210
1123
|
"@nest": {
|
|
1211
1124
|
"&:not([hidden])": {
|
|
1212
1125
|
display: "flex"
|
|
1213
1126
|
}
|
|
1214
1127
|
}
|
|
1215
1128
|
});
|
|
1216
|
-
_responsiveRule(util$
|
|
1129
|
+
_responsiveRule(util$t, "grid", {
|
|
1217
1130
|
"@nest": {
|
|
1218
1131
|
"&:not([hidden])": {
|
|
1219
1132
|
display: "grid"
|
|
1220
1133
|
}
|
|
1221
1134
|
}
|
|
1222
1135
|
});
|
|
1223
|
-
_responsiveRule(util$
|
|
1136
|
+
_responsiveRule(util$t, "inline-block", {
|
|
1224
1137
|
"@nest": {
|
|
1225
1138
|
"&:not([hidden])": {
|
|
1226
1139
|
display: "inline-block"
|
|
1227
1140
|
}
|
|
1228
1141
|
}
|
|
1229
1142
|
});
|
|
1230
|
-
_responsiveRule(util$
|
|
1143
|
+
_responsiveRule(util$t, "inline-flex", {
|
|
1231
1144
|
"@nest": {
|
|
1232
1145
|
"&:not([hidden])": {
|
|
1233
1146
|
display: "inline-flex"
|
|
1234
1147
|
}
|
|
1235
1148
|
}
|
|
1236
1149
|
});
|
|
1237
|
-
_responsiveRule(util$
|
|
1150
|
+
_responsiveRule(util$t, "inline-grid", {
|
|
1238
1151
|
"@nest": {
|
|
1239
1152
|
"&:not([hidden])": {
|
|
1240
1153
|
display: "inline-grid"
|
|
1241
1154
|
}
|
|
1242
1155
|
}
|
|
1243
1156
|
});
|
|
1244
|
-
_responsiveRule(util$
|
|
1157
|
+
_responsiveRule(util$t, "none", {
|
|
1245
1158
|
"@nest": {
|
|
1246
1159
|
"&:not([hidden])": {
|
|
1247
1160
|
display: "none"
|
|
@@ -1250,125 +1163,125 @@ _responsiveRule(util$s, "none", {
|
|
|
1250
1163
|
});
|
|
1251
1164
|
const displayStyle = {
|
|
1252
1165
|
layers: {
|
|
1253
|
-
util: util$
|
|
1166
|
+
util: util$t
|
|
1254
1167
|
}
|
|
1255
|
-
}, util$
|
|
1256
|
-
_responsiveRule(util$
|
|
1168
|
+
}, util$s = {};
|
|
1169
|
+
_responsiveRule(util$s, "flex-align-flex-start", {
|
|
1257
1170
|
alignItems: "flex-start"
|
|
1258
1171
|
});
|
|
1259
|
-
_responsiveRule(util$
|
|
1172
|
+
_responsiveRule(util$s, "flex-align-flex-end", {
|
|
1260
1173
|
alignItems: "flex-end"
|
|
1261
1174
|
});
|
|
1262
|
-
_responsiveRule(util$
|
|
1175
|
+
_responsiveRule(util$s, "flex-align-center", {
|
|
1263
1176
|
alignItems: "center"
|
|
1264
1177
|
});
|
|
1265
|
-
_responsiveRule(util$
|
|
1178
|
+
_responsiveRule(util$s, "flex-align-stretch", {
|
|
1266
1179
|
alignItems: "stretch"
|
|
1267
1180
|
});
|
|
1268
|
-
_responsiveRule(util$
|
|
1181
|
+
_responsiveRule(util$s, "flex-align-baseline", {
|
|
1269
1182
|
alignItems: "baseline"
|
|
1270
1183
|
});
|
|
1271
1184
|
const flexAlignStyle = {
|
|
1272
1185
|
layers: {
|
|
1273
|
-
util: util$
|
|
1186
|
+
util: util$s
|
|
1274
1187
|
}
|
|
1275
|
-
}, util$
|
|
1276
|
-
_responsiveRule(util$
|
|
1188
|
+
}, util$r = {};
|
|
1189
|
+
_responsiveRule(util$r, "f-row", {
|
|
1277
1190
|
flexDirection: "row"
|
|
1278
1191
|
});
|
|
1279
|
-
_responsiveRule(util$
|
|
1192
|
+
_responsiveRule(util$r, "f-column", {
|
|
1280
1193
|
flexDirection: "column"
|
|
1281
1194
|
});
|
|
1282
1195
|
const flexDirectionStyle = {
|
|
1283
1196
|
layers: {
|
|
1284
|
-
util: util$
|
|
1197
|
+
util: util$r
|
|
1285
1198
|
}
|
|
1286
|
-
}, util$
|
|
1287
|
-
_responsiveRule(util$
|
|
1199
|
+
}, util$q = {};
|
|
1200
|
+
_responsiveRule(util$q, "flex-justify-flex-start", {
|
|
1288
1201
|
justifyContent: "flex-start"
|
|
1289
1202
|
});
|
|
1290
|
-
_responsiveRule(util$
|
|
1203
|
+
_responsiveRule(util$q, "flex-justify-flex-end", {
|
|
1291
1204
|
justifyContent: "flex-end"
|
|
1292
1205
|
});
|
|
1293
|
-
_responsiveRule(util$
|
|
1206
|
+
_responsiveRule(util$q, "flex-justify-center", {
|
|
1294
1207
|
justifyContent: "center"
|
|
1295
1208
|
});
|
|
1296
|
-
_responsiveRule(util$
|
|
1209
|
+
_responsiveRule(util$q, "flex-justify-space-between", {
|
|
1297
1210
|
justifyContent: "space-between"
|
|
1298
1211
|
});
|
|
1299
|
-
_responsiveRule(util$
|
|
1212
|
+
_responsiveRule(util$q, "flex-justify-space-around", {
|
|
1300
1213
|
justifyContent: "space-around"
|
|
1301
1214
|
});
|
|
1302
|
-
_responsiveRule(util$
|
|
1215
|
+
_responsiveRule(util$q, "flex-justify-space-evenly", {
|
|
1303
1216
|
justifyContent: "space-evenly"
|
|
1304
1217
|
});
|
|
1305
1218
|
const flexJustifyStyle = {
|
|
1306
1219
|
layers: {
|
|
1307
|
-
util: util$
|
|
1220
|
+
util: util$q
|
|
1308
1221
|
}
|
|
1309
|
-
}, util$
|
|
1310
|
-
_responsiveRule(util$
|
|
1222
|
+
}, util$p = {};
|
|
1223
|
+
_responsiveRule(util$p, "flex-nowrap", {
|
|
1311
1224
|
flexWrap: "nowrap"
|
|
1312
1225
|
});
|
|
1313
|
-
_responsiveRule(util$
|
|
1226
|
+
_responsiveRule(util$p, "flex-wrap", {
|
|
1314
1227
|
flexWrap: "wrap"
|
|
1315
1228
|
});
|
|
1316
|
-
_responsiveRule(util$
|
|
1229
|
+
_responsiveRule(util$p, "flex-wrap-reverse", {
|
|
1317
1230
|
flexWrap: "wrap-reverse"
|
|
1318
1231
|
});
|
|
1319
1232
|
const flexWrapStyle = {
|
|
1320
1233
|
layers: {
|
|
1321
|
-
util: util$
|
|
1234
|
+
util: util$p
|
|
1322
1235
|
}
|
|
1323
|
-
}, util$
|
|
1324
|
-
_responsiveRule(util$
|
|
1236
|
+
}, util$o = {};
|
|
1237
|
+
_responsiveRule(util$o, "f-none", {
|
|
1325
1238
|
flex: "none"
|
|
1326
1239
|
});
|
|
1327
|
-
_responsiveRule(util$
|
|
1240
|
+
_responsiveRule(util$o, "f-auto", {
|
|
1328
1241
|
flex: "auto"
|
|
1329
1242
|
});
|
|
1330
|
-
_responsiveRule(util$
|
|
1243
|
+
_responsiveRule(util$o, "f-initial", {
|
|
1331
1244
|
flex: "initial"
|
|
1332
1245
|
});
|
|
1333
|
-
_responsiveRule(util$
|
|
1246
|
+
_responsiveRule(util$o, "f-1", {
|
|
1334
1247
|
flex: 1
|
|
1335
1248
|
});
|
|
1336
|
-
_responsiveRule(util$
|
|
1249
|
+
_responsiveRule(util$o, "f-2", {
|
|
1337
1250
|
flex: 2
|
|
1338
1251
|
});
|
|
1339
|
-
_responsiveRule(util$
|
|
1252
|
+
_responsiveRule(util$o, "f-3", {
|
|
1340
1253
|
flex: 3
|
|
1341
1254
|
});
|
|
1342
|
-
_responsiveRule(util$
|
|
1255
|
+
_responsiveRule(util$o, "f-4", {
|
|
1343
1256
|
flex: 4
|
|
1344
1257
|
});
|
|
1345
|
-
_responsiveRule(util$
|
|
1258
|
+
_responsiveRule(util$o, "f-5", {
|
|
1346
1259
|
flex: 5
|
|
1347
1260
|
});
|
|
1348
|
-
_responsiveRule(util$
|
|
1261
|
+
_responsiveRule(util$o, "f-6", {
|
|
1349
1262
|
flex: 6
|
|
1350
1263
|
});
|
|
1351
|
-
_responsiveRule(util$
|
|
1264
|
+
_responsiveRule(util$o, "f-7", {
|
|
1352
1265
|
flex: 7
|
|
1353
1266
|
});
|
|
1354
|
-
_responsiveRule(util$
|
|
1267
|
+
_responsiveRule(util$o, "f-8", {
|
|
1355
1268
|
flex: 8
|
|
1356
1269
|
});
|
|
1357
|
-
_responsiveRule(util$
|
|
1270
|
+
_responsiveRule(util$o, "f-9", {
|
|
1358
1271
|
flex: 9
|
|
1359
1272
|
});
|
|
1360
|
-
_responsiveRule(util$
|
|
1273
|
+
_responsiveRule(util$o, "f-10", {
|
|
1361
1274
|
flex: 10
|
|
1362
1275
|
});
|
|
1363
|
-
_responsiveRule(util$
|
|
1276
|
+
_responsiveRule(util$o, "f-11", {
|
|
1364
1277
|
flex: 11
|
|
1365
1278
|
});
|
|
1366
|
-
_responsiveRule(util$
|
|
1279
|
+
_responsiveRule(util$o, "f-12", {
|
|
1367
1280
|
flex: 12
|
|
1368
1281
|
});
|
|
1369
1282
|
const flexStyle = {
|
|
1370
1283
|
layers: {
|
|
1371
|
-
util: util$
|
|
1284
|
+
util: util$o
|
|
1372
1285
|
}
|
|
1373
1286
|
}, primitive$q = {
|
|
1374
1287
|
".font": {
|
|
@@ -1425,554 +1338,538 @@ const flexStyle = {
|
|
|
1425
1338
|
".font-bold": {
|
|
1426
1339
|
"--font-weight": "var(--font-weight-bold)"
|
|
1427
1340
|
}
|
|
1428
|
-
}
|
|
1429
|
-
_responsiveRule(primitive$q, "text-align-initial", {
|
|
1430
|
-
textAlign: "initial"
|
|
1431
|
-
});
|
|
1432
|
-
_responsiveRule(primitive$q, "text-align-left", {
|
|
1433
|
-
textAlign: "left"
|
|
1434
|
-
});
|
|
1435
|
-
_responsiveRule(primitive$q, "text-align-center", {
|
|
1436
|
-
textAlign: "center"
|
|
1437
|
-
});
|
|
1438
|
-
_responsiveRule(primitive$q, "text-align-right", {
|
|
1439
|
-
textAlign: "right"
|
|
1440
|
-
});
|
|
1441
|
-
_responsiveRule(primitive$q, "text-align-justify", {
|
|
1442
|
-
textAlign: "justify"
|
|
1443
|
-
});
|
|
1444
|
-
const fontStyle = {
|
|
1341
|
+
}, fontStyle = {
|
|
1445
1342
|
layers: {
|
|
1446
1343
|
primitive: primitive$q
|
|
1447
1344
|
}
|
|
1448
|
-
}, util$
|
|
1449
|
-
for (const space of SPACE)
|
|
1450
|
-
_responsiveRule(util$
|
|
1345
|
+
}, util$n = {};
|
|
1346
|
+
for (const space of theme.SPACE)
|
|
1347
|
+
_responsiveRule(util$n, `g-${space}`, {
|
|
1451
1348
|
gap: vars.space[space]
|
|
1452
1349
|
});
|
|
1453
|
-
for (const space of SPACE)
|
|
1454
|
-
_responsiveRule(util$
|
|
1350
|
+
for (const space of theme.SPACE)
|
|
1351
|
+
_responsiveRule(util$n, `gx-${space}`, {
|
|
1455
1352
|
columnGap: vars.space[space]
|
|
1456
1353
|
});
|
|
1457
|
-
for (const space of SPACE)
|
|
1458
|
-
_responsiveRule(util$
|
|
1354
|
+
for (const space of theme.SPACE)
|
|
1355
|
+
_responsiveRule(util$n, `gy-${space}`, {
|
|
1459
1356
|
rowGap: vars.space[space]
|
|
1460
1357
|
});
|
|
1461
1358
|
const gapStyle = {
|
|
1462
1359
|
layers: {
|
|
1463
|
-
util: util$
|
|
1360
|
+
util: util$n
|
|
1464
1361
|
}
|
|
1465
|
-
}, util$
|
|
1466
|
-
_responsiveRule(util$
|
|
1362
|
+
}, util$m = {};
|
|
1363
|
+
_responsiveRule(util$m, "auto-cols-auto", {
|
|
1467
1364
|
gridAutoColumns: "auto"
|
|
1468
1365
|
});
|
|
1469
|
-
_responsiveRule(util$
|
|
1366
|
+
_responsiveRule(util$m, "auto-cols-min", {
|
|
1470
1367
|
gridAutoColumns: "min-content"
|
|
1471
1368
|
});
|
|
1472
|
-
_responsiveRule(util$
|
|
1369
|
+
_responsiveRule(util$m, "auto-cols-max", {
|
|
1473
1370
|
gridAutoColumns: "max-content"
|
|
1474
1371
|
});
|
|
1475
|
-
_responsiveRule(util$
|
|
1372
|
+
_responsiveRule(util$m, "auto-cols-fr", {
|
|
1476
1373
|
gridAutoColumns: "minmax(0, 1fr)"
|
|
1477
1374
|
});
|
|
1478
1375
|
const gridAutoColumnsStyle = {
|
|
1479
1376
|
layers: {
|
|
1480
|
-
util: util$
|
|
1377
|
+
util: util$m
|
|
1481
1378
|
}
|
|
1482
|
-
}, util$
|
|
1483
|
-
_responsiveRule(util$
|
|
1379
|
+
}, util$l = {};
|
|
1380
|
+
_responsiveRule(util$l, "auto-flow-row", {
|
|
1484
1381
|
gridAutoFlow: "row"
|
|
1485
1382
|
});
|
|
1486
|
-
_responsiveRule(util$
|
|
1383
|
+
_responsiveRule(util$l, "auto-flow-column", {
|
|
1487
1384
|
gridAutoFlow: "column"
|
|
1488
1385
|
});
|
|
1489
|
-
_responsiveRule(util$
|
|
1386
|
+
_responsiveRule(util$l, "auto-flow-row-dense", {
|
|
1490
1387
|
gridAutoFlow: "row dense"
|
|
1491
1388
|
});
|
|
1492
|
-
_responsiveRule(util$
|
|
1389
|
+
_responsiveRule(util$l, "auto-flow-column-dense", {
|
|
1493
1390
|
gridAutoFlow: "column dense"
|
|
1494
1391
|
});
|
|
1495
1392
|
const gridAutoFlowStyle = {
|
|
1496
1393
|
layers: {
|
|
1497
|
-
util: util$
|
|
1394
|
+
util: util$l
|
|
1498
1395
|
}
|
|
1499
|
-
}, util$
|
|
1500
|
-
_responsiveRule(util$
|
|
1396
|
+
}, util$k = {};
|
|
1397
|
+
_responsiveRule(util$k, "auto-rows-auto", {
|
|
1501
1398
|
gridAutoRows: "auto"
|
|
1502
1399
|
});
|
|
1503
|
-
_responsiveRule(util$
|
|
1400
|
+
_responsiveRule(util$k, "auto-rows-min", {
|
|
1504
1401
|
gridAutoRows: "min-content"
|
|
1505
1402
|
});
|
|
1506
|
-
_responsiveRule(util$
|
|
1403
|
+
_responsiveRule(util$k, "auto-rows-max", {
|
|
1507
1404
|
gridAutoRows: "max-content"
|
|
1508
1405
|
});
|
|
1509
|
-
_responsiveRule(util$
|
|
1406
|
+
_responsiveRule(util$k, "auto-rows-fr", {
|
|
1510
1407
|
gridAutoRows: "minmax(0, 1fr)"
|
|
1511
1408
|
});
|
|
1512
1409
|
const gridAutoRowsStyle = {
|
|
1513
1410
|
layers: {
|
|
1514
|
-
util: util$
|
|
1411
|
+
util: util$k
|
|
1515
1412
|
}
|
|
1516
|
-
}, util$
|
|
1517
|
-
_responsiveRule(util$
|
|
1413
|
+
}, util$j = {};
|
|
1414
|
+
_responsiveRule(util$j, "cols-1", {
|
|
1518
1415
|
gridTemplateColumns: "repeat(1, 1fr)"
|
|
1519
1416
|
});
|
|
1520
|
-
_responsiveRule(util$
|
|
1417
|
+
_responsiveRule(util$j, "cols-2", {
|
|
1521
1418
|
gridTemplateColumns: "repeat(2, 1fr)"
|
|
1522
1419
|
});
|
|
1523
|
-
_responsiveRule(util$
|
|
1420
|
+
_responsiveRule(util$j, "cols-3", {
|
|
1524
1421
|
gridTemplateColumns: "repeat(3, 1fr)"
|
|
1525
1422
|
});
|
|
1526
|
-
_responsiveRule(util$
|
|
1423
|
+
_responsiveRule(util$j, "cols-4", {
|
|
1527
1424
|
gridTemplateColumns: "repeat(4, 1fr)"
|
|
1528
1425
|
});
|
|
1529
|
-
_responsiveRule(util$
|
|
1426
|
+
_responsiveRule(util$j, "cols-5", {
|
|
1530
1427
|
gridTemplateColumns: "repeat(5, 1fr)"
|
|
1531
1428
|
});
|
|
1532
|
-
_responsiveRule(util$
|
|
1429
|
+
_responsiveRule(util$j, "cols-6", {
|
|
1533
1430
|
gridTemplateColumns: "repeat(6, 1fr)"
|
|
1534
1431
|
});
|
|
1535
|
-
_responsiveRule(util$
|
|
1432
|
+
_responsiveRule(util$j, "cols-7", {
|
|
1536
1433
|
gridTemplateColumns: "repeat(7, 1fr)"
|
|
1537
1434
|
});
|
|
1538
|
-
_responsiveRule(util$
|
|
1435
|
+
_responsiveRule(util$j, "cols-8", {
|
|
1539
1436
|
gridTemplateColumns: "repeat(8, 1fr)"
|
|
1540
1437
|
});
|
|
1541
|
-
_responsiveRule(util$
|
|
1438
|
+
_responsiveRule(util$j, "cols-9", {
|
|
1542
1439
|
gridTemplateColumns: "repeat(9, 1fr)"
|
|
1543
1440
|
});
|
|
1544
|
-
_responsiveRule(util$
|
|
1441
|
+
_responsiveRule(util$j, "cols-10", {
|
|
1545
1442
|
gridTemplateColumns: "repeat(10, 1fr)"
|
|
1546
1443
|
});
|
|
1547
|
-
_responsiveRule(util$
|
|
1444
|
+
_responsiveRule(util$j, "cols-12", {
|
|
1548
1445
|
gridTemplateColumns: "repeat(12, 1fr)"
|
|
1549
1446
|
});
|
|
1550
1447
|
const gridColumnsStyle = {
|
|
1551
1448
|
layers: {
|
|
1552
|
-
util: util$
|
|
1449
|
+
util: util$j
|
|
1553
1450
|
}
|
|
1554
|
-
}, util$
|
|
1555
|
-
_responsiveRule(util$
|
|
1451
|
+
}, util$i = {};
|
|
1452
|
+
_responsiveRule(util$i, "rows-1", {
|
|
1556
1453
|
gridTemplateRows: "repeat(1, 1fr)"
|
|
1557
1454
|
});
|
|
1558
|
-
_responsiveRule(util$
|
|
1455
|
+
_responsiveRule(util$i, "rows-2", {
|
|
1559
1456
|
gridTemplateRows: "repeat(2, 1fr)"
|
|
1560
1457
|
});
|
|
1561
|
-
_responsiveRule(util$
|
|
1458
|
+
_responsiveRule(util$i, "rows-3", {
|
|
1562
1459
|
gridTemplateRows: "repeat(3, 1fr)"
|
|
1563
1460
|
});
|
|
1564
|
-
_responsiveRule(util$
|
|
1461
|
+
_responsiveRule(util$i, "rows-4", {
|
|
1565
1462
|
gridTemplateRows: "repeat(4, 1fr)"
|
|
1566
1463
|
});
|
|
1567
|
-
_responsiveRule(util$
|
|
1464
|
+
_responsiveRule(util$i, "rows-5", {
|
|
1568
1465
|
gridTemplateRows: "repeat(5, 1fr)"
|
|
1569
1466
|
});
|
|
1570
|
-
_responsiveRule(util$
|
|
1467
|
+
_responsiveRule(util$i, "rows-6", {
|
|
1571
1468
|
gridTemplateRows: "repeat(6, 1fr)"
|
|
1572
1469
|
});
|
|
1573
|
-
_responsiveRule(util$
|
|
1470
|
+
_responsiveRule(util$i, "rows-7", {
|
|
1574
1471
|
gridTemplateRows: "repeat(7, 1fr)"
|
|
1575
1472
|
});
|
|
1576
|
-
_responsiveRule(util$
|
|
1473
|
+
_responsiveRule(util$i, "rows-8", {
|
|
1577
1474
|
gridTemplateRows: "repeat(8, 1fr)"
|
|
1578
1475
|
});
|
|
1579
|
-
_responsiveRule(util$
|
|
1476
|
+
_responsiveRule(util$i, "rows-9", {
|
|
1580
1477
|
gridTemplateRows: "repeat(9, 1fr)"
|
|
1581
1478
|
});
|
|
1582
|
-
_responsiveRule(util$
|
|
1479
|
+
_responsiveRule(util$i, "rows-10", {
|
|
1583
1480
|
gridTemplateRows: "repeat(10, 1fr)"
|
|
1584
1481
|
});
|
|
1585
|
-
_responsiveRule(util$
|
|
1482
|
+
_responsiveRule(util$i, "rows-12", {
|
|
1586
1483
|
gridTemplateRows: "repeat(12, 1fr)"
|
|
1587
1484
|
});
|
|
1588
1485
|
const gridRowsStyle = {
|
|
1589
1486
|
layers: {
|
|
1590
|
-
util: util$
|
|
1487
|
+
util: util$i
|
|
1591
1488
|
}
|
|
1592
|
-
}, util$
|
|
1593
|
-
_responsiveRule(util$
|
|
1489
|
+
}, util$h = {};
|
|
1490
|
+
_responsiveRule(util$h, "col-auto", {
|
|
1594
1491
|
gridColumn: "auto"
|
|
1595
1492
|
});
|
|
1596
|
-
_responsiveRule(util$
|
|
1493
|
+
_responsiveRule(util$h, "col-full", {
|
|
1597
1494
|
gridColumn: "1 / -1"
|
|
1598
1495
|
});
|
|
1599
|
-
_responsiveRule(util$
|
|
1496
|
+
_responsiveRule(util$h, "col-1", {
|
|
1600
1497
|
gridColumn: "span 1 / span 1"
|
|
1601
1498
|
});
|
|
1602
|
-
_responsiveRule(util$
|
|
1499
|
+
_responsiveRule(util$h, "col-2", {
|
|
1603
1500
|
gridColumn: "span 2 / span 2"
|
|
1604
1501
|
});
|
|
1605
|
-
_responsiveRule(util$
|
|
1502
|
+
_responsiveRule(util$h, "col-3", {
|
|
1606
1503
|
gridColumn: "span 3 / span 3"
|
|
1607
1504
|
});
|
|
1608
|
-
_responsiveRule(util$
|
|
1505
|
+
_responsiveRule(util$h, "col-4", {
|
|
1609
1506
|
gridColumn: "span 4 / span 4"
|
|
1610
1507
|
});
|
|
1611
|
-
_responsiveRule(util$
|
|
1508
|
+
_responsiveRule(util$h, "col-5", {
|
|
1612
1509
|
gridColumn: "span 5 / span 5"
|
|
1613
1510
|
});
|
|
1614
|
-
_responsiveRule(util$
|
|
1511
|
+
_responsiveRule(util$h, "col-6", {
|
|
1615
1512
|
gridColumn: "span 6 / span 6"
|
|
1616
1513
|
});
|
|
1617
|
-
_responsiveRule(util$
|
|
1514
|
+
_responsiveRule(util$h, "col-7", {
|
|
1618
1515
|
gridColumn: "span 7 / span 7"
|
|
1619
1516
|
});
|
|
1620
|
-
_responsiveRule(util$
|
|
1517
|
+
_responsiveRule(util$h, "col-8", {
|
|
1621
1518
|
gridColumn: "span 8 / span 8"
|
|
1622
1519
|
});
|
|
1623
|
-
_responsiveRule(util$
|
|
1520
|
+
_responsiveRule(util$h, "col-9", {
|
|
1624
1521
|
gridColumn: "span 9 / span 9"
|
|
1625
1522
|
});
|
|
1626
|
-
_responsiveRule(util$
|
|
1523
|
+
_responsiveRule(util$h, "col-10", {
|
|
1627
1524
|
gridColumn: "span 10 / span 10"
|
|
1628
1525
|
});
|
|
1629
|
-
_responsiveRule(util$
|
|
1526
|
+
_responsiveRule(util$h, "col-12", {
|
|
1630
1527
|
gridColumn: "span 12 / span 12"
|
|
1631
1528
|
});
|
|
1632
1529
|
const gridColumnStyle = {
|
|
1633
1530
|
layers: {
|
|
1634
|
-
util: util$
|
|
1531
|
+
util: util$h
|
|
1635
1532
|
}
|
|
1636
|
-
}, util$
|
|
1637
|
-
_responsiveRule(util$
|
|
1533
|
+
}, util$g = {};
|
|
1534
|
+
_responsiveRule(util$g, "col-end-auto", {
|
|
1638
1535
|
gridColumnEnd: "auto"
|
|
1639
1536
|
});
|
|
1640
|
-
_responsiveRule(util$
|
|
1537
|
+
_responsiveRule(util$g, "col-end-1", {
|
|
1641
1538
|
gridColumnEnd: "1"
|
|
1642
1539
|
});
|
|
1643
|
-
_responsiveRule(util$
|
|
1540
|
+
_responsiveRule(util$g, "col-end-2", {
|
|
1644
1541
|
gridColumnEnd: "2"
|
|
1645
1542
|
});
|
|
1646
|
-
_responsiveRule(util$
|
|
1543
|
+
_responsiveRule(util$g, "col-end-3", {
|
|
1647
1544
|
gridColumnEnd: "3"
|
|
1648
1545
|
});
|
|
1649
|
-
_responsiveRule(util$
|
|
1546
|
+
_responsiveRule(util$g, "col-end-4", {
|
|
1650
1547
|
gridColumnEnd: "4"
|
|
1651
1548
|
});
|
|
1652
|
-
_responsiveRule(util$
|
|
1549
|
+
_responsiveRule(util$g, "col-end-5", {
|
|
1653
1550
|
gridColumnEnd: "5"
|
|
1654
1551
|
});
|
|
1655
|
-
_responsiveRule(util$
|
|
1552
|
+
_responsiveRule(util$g, "col-end-6", {
|
|
1656
1553
|
gridColumnEnd: "6"
|
|
1657
1554
|
});
|
|
1658
|
-
_responsiveRule(util$
|
|
1555
|
+
_responsiveRule(util$g, "col-end-7", {
|
|
1659
1556
|
gridColumnEnd: "7"
|
|
1660
1557
|
});
|
|
1661
|
-
_responsiveRule(util$
|
|
1558
|
+
_responsiveRule(util$g, "col-end-8", {
|
|
1662
1559
|
gridColumnEnd: "8"
|
|
1663
1560
|
});
|
|
1664
|
-
_responsiveRule(util$
|
|
1561
|
+
_responsiveRule(util$g, "col-end-9", {
|
|
1665
1562
|
gridColumnEnd: "9"
|
|
1666
1563
|
});
|
|
1667
|
-
_responsiveRule(util$
|
|
1564
|
+
_responsiveRule(util$g, "col-end-10", {
|
|
1668
1565
|
gridColumnEnd: "10"
|
|
1669
1566
|
});
|
|
1670
|
-
_responsiveRule(util$
|
|
1567
|
+
_responsiveRule(util$g, "col-end-11", {
|
|
1671
1568
|
gridColumnEnd: "11"
|
|
1672
1569
|
});
|
|
1673
|
-
_responsiveRule(util$
|
|
1570
|
+
_responsiveRule(util$g, "col-end-12", {
|
|
1674
1571
|
gridColumnEnd: "12"
|
|
1675
1572
|
});
|
|
1676
1573
|
const gridColumnEndStyle = {
|
|
1677
1574
|
layers: {
|
|
1678
|
-
util: util$
|
|
1575
|
+
util: util$g
|
|
1679
1576
|
}
|
|
1680
|
-
}, util$
|
|
1681
|
-
_responsiveRule(util$
|
|
1577
|
+
}, util$f = {};
|
|
1578
|
+
_responsiveRule(util$f, "col-start-auto", {
|
|
1682
1579
|
gridColumnStart: "auto"
|
|
1683
1580
|
});
|
|
1684
|
-
_responsiveRule(util$
|
|
1581
|
+
_responsiveRule(util$f, "col-start-1", {
|
|
1685
1582
|
gridColumnStart: "1"
|
|
1686
1583
|
});
|
|
1687
|
-
_responsiveRule(util$
|
|
1584
|
+
_responsiveRule(util$f, "col-start-2", {
|
|
1688
1585
|
gridColumnStart: "2"
|
|
1689
1586
|
});
|
|
1690
|
-
_responsiveRule(util$
|
|
1587
|
+
_responsiveRule(util$f, "col-start-3", {
|
|
1691
1588
|
gridColumnStart: "3"
|
|
1692
1589
|
});
|
|
1693
|
-
_responsiveRule(util$
|
|
1590
|
+
_responsiveRule(util$f, "col-start-4", {
|
|
1694
1591
|
gridColumnStart: "4"
|
|
1695
1592
|
});
|
|
1696
|
-
_responsiveRule(util$
|
|
1593
|
+
_responsiveRule(util$f, "col-start-5", {
|
|
1697
1594
|
gridColumnStart: "5"
|
|
1698
1595
|
});
|
|
1699
|
-
_responsiveRule(util$
|
|
1596
|
+
_responsiveRule(util$f, "col-start-6", {
|
|
1700
1597
|
gridColumnStart: "6"
|
|
1701
1598
|
});
|
|
1702
|
-
_responsiveRule(util$
|
|
1599
|
+
_responsiveRule(util$f, "col-start-7", {
|
|
1703
1600
|
gridColumnStart: "7"
|
|
1704
1601
|
});
|
|
1705
|
-
_responsiveRule(util$
|
|
1602
|
+
_responsiveRule(util$f, "col-start-8", {
|
|
1706
1603
|
gridColumnStart: "8"
|
|
1707
1604
|
});
|
|
1708
|
-
_responsiveRule(util$
|
|
1605
|
+
_responsiveRule(util$f, "col-start-9", {
|
|
1709
1606
|
gridColumnStart: "9"
|
|
1710
1607
|
});
|
|
1711
|
-
_responsiveRule(util$
|
|
1608
|
+
_responsiveRule(util$f, "col-start-10", {
|
|
1712
1609
|
gridColumnStart: "10"
|
|
1713
1610
|
});
|
|
1714
|
-
_responsiveRule(util$
|
|
1611
|
+
_responsiveRule(util$f, "col-start-11", {
|
|
1715
1612
|
gridColumnStart: "11"
|
|
1716
1613
|
});
|
|
1717
|
-
_responsiveRule(util$
|
|
1614
|
+
_responsiveRule(util$f, "col-start-12", {
|
|
1718
1615
|
gridColumnStart: "12"
|
|
1719
1616
|
});
|
|
1720
1617
|
const gridColumnStartStyle = {
|
|
1721
1618
|
layers: {
|
|
1722
|
-
util: util$
|
|
1619
|
+
util: util$f
|
|
1723
1620
|
}
|
|
1724
|
-
}, util$
|
|
1725
|
-
_responsiveRule(util$
|
|
1621
|
+
}, util$e = {};
|
|
1622
|
+
_responsiveRule(util$e, "row-auto", {
|
|
1726
1623
|
gridRow: "auto"
|
|
1727
1624
|
});
|
|
1728
|
-
_responsiveRule(util$
|
|
1625
|
+
_responsiveRule(util$e, "row-full", {
|
|
1729
1626
|
gridRow: "1 / -1"
|
|
1730
1627
|
});
|
|
1731
|
-
_responsiveRule(util$
|
|
1628
|
+
_responsiveRule(util$e, "row-1", {
|
|
1732
1629
|
gridRow: "span 1 / span 1"
|
|
1733
1630
|
});
|
|
1734
|
-
_responsiveRule(util$
|
|
1631
|
+
_responsiveRule(util$e, "row-2", {
|
|
1735
1632
|
gridRow: "span 2 / span 2"
|
|
1736
1633
|
});
|
|
1737
|
-
_responsiveRule(util$
|
|
1634
|
+
_responsiveRule(util$e, "row-3", {
|
|
1738
1635
|
gridRow: "span 3 / span 3"
|
|
1739
1636
|
});
|
|
1740
|
-
_responsiveRule(util$
|
|
1637
|
+
_responsiveRule(util$e, "row-4", {
|
|
1741
1638
|
gridRow: "span 4 / span 4"
|
|
1742
1639
|
});
|
|
1743
|
-
_responsiveRule(util$
|
|
1640
|
+
_responsiveRule(util$e, "row-5", {
|
|
1744
1641
|
gridRow: "span 5 / span 5"
|
|
1745
1642
|
});
|
|
1746
|
-
_responsiveRule(util$
|
|
1643
|
+
_responsiveRule(util$e, "row-6", {
|
|
1747
1644
|
gridRow: "span 6 / span 6"
|
|
1748
1645
|
});
|
|
1749
|
-
_responsiveRule(util$
|
|
1646
|
+
_responsiveRule(util$e, "row-7", {
|
|
1750
1647
|
gridRow: "span 7 / span 7"
|
|
1751
1648
|
});
|
|
1752
|
-
_responsiveRule(util$
|
|
1649
|
+
_responsiveRule(util$e, "row-8", {
|
|
1753
1650
|
gridRow: "span 8 / span 8"
|
|
1754
1651
|
});
|
|
1755
|
-
_responsiveRule(util$
|
|
1652
|
+
_responsiveRule(util$e, "row-9", {
|
|
1756
1653
|
gridRow: "span 9 / span 9"
|
|
1757
1654
|
});
|
|
1758
|
-
_responsiveRule(util$
|
|
1655
|
+
_responsiveRule(util$e, "row-10", {
|
|
1759
1656
|
gridRow: "span 10 / span 10"
|
|
1760
1657
|
});
|
|
1761
|
-
_responsiveRule(util$
|
|
1658
|
+
_responsiveRule(util$e, "row-12", {
|
|
1762
1659
|
gridRow: "span 12 / span 12"
|
|
1763
1660
|
});
|
|
1764
1661
|
const gridRowStyle = {
|
|
1765
1662
|
layers: {
|
|
1766
|
-
util: util$
|
|
1663
|
+
util: util$e
|
|
1767
1664
|
}
|
|
1768
|
-
}, util$
|
|
1769
|
-
_responsiveRule(util$
|
|
1665
|
+
}, util$d = {};
|
|
1666
|
+
_responsiveRule(util$d, "row-end-auto", {
|
|
1770
1667
|
gridRowEnd: "auto"
|
|
1771
1668
|
});
|
|
1772
|
-
_responsiveRule(util$
|
|
1669
|
+
_responsiveRule(util$d, "row-end-1", {
|
|
1773
1670
|
gridRowEnd: "1"
|
|
1774
1671
|
});
|
|
1775
|
-
_responsiveRule(util$
|
|
1672
|
+
_responsiveRule(util$d, "row-end-2", {
|
|
1776
1673
|
gridRowEnd: "2"
|
|
1777
1674
|
});
|
|
1778
|
-
_responsiveRule(util$
|
|
1675
|
+
_responsiveRule(util$d, "row-end-3", {
|
|
1779
1676
|
gridRowEnd: "3"
|
|
1780
1677
|
});
|
|
1781
|
-
_responsiveRule(util$
|
|
1678
|
+
_responsiveRule(util$d, "row-end-4", {
|
|
1782
1679
|
gridRowEnd: "4"
|
|
1783
1680
|
});
|
|
1784
|
-
_responsiveRule(util$
|
|
1681
|
+
_responsiveRule(util$d, "row-end-5", {
|
|
1785
1682
|
gridRowEnd: "5"
|
|
1786
1683
|
});
|
|
1787
|
-
_responsiveRule(util$
|
|
1684
|
+
_responsiveRule(util$d, "row-end-6", {
|
|
1788
1685
|
gridRowEnd: "6"
|
|
1789
1686
|
});
|
|
1790
|
-
_responsiveRule(util$
|
|
1687
|
+
_responsiveRule(util$d, "row-end-7", {
|
|
1791
1688
|
gridRowEnd: "7"
|
|
1792
1689
|
});
|
|
1793
|
-
_responsiveRule(util$
|
|
1690
|
+
_responsiveRule(util$d, "row-end-8", {
|
|
1794
1691
|
gridRowEnd: "8"
|
|
1795
1692
|
});
|
|
1796
|
-
_responsiveRule(util$
|
|
1693
|
+
_responsiveRule(util$d, "row-end-9", {
|
|
1797
1694
|
gridRowEnd: "9"
|
|
1798
1695
|
});
|
|
1799
|
-
_responsiveRule(util$
|
|
1696
|
+
_responsiveRule(util$d, "row-end-10", {
|
|
1800
1697
|
gridRowEnd: "10"
|
|
1801
1698
|
});
|
|
1802
|
-
_responsiveRule(util$
|
|
1699
|
+
_responsiveRule(util$d, "row-end-11", {
|
|
1803
1700
|
gridRowEnd: "11"
|
|
1804
1701
|
});
|
|
1805
|
-
_responsiveRule(util$
|
|
1702
|
+
_responsiveRule(util$d, "row-end-12", {
|
|
1806
1703
|
gridRowEnd: "12"
|
|
1807
1704
|
});
|
|
1808
1705
|
const gridRowEndStyle = {
|
|
1809
1706
|
layers: {
|
|
1810
|
-
util: util$
|
|
1707
|
+
util: util$d
|
|
1811
1708
|
}
|
|
1812
|
-
}, util$
|
|
1813
|
-
_responsiveRule(util$
|
|
1709
|
+
}, util$c = {};
|
|
1710
|
+
_responsiveRule(util$c, "row-start-auto", {
|
|
1814
1711
|
gridRowStart: "auto"
|
|
1815
1712
|
});
|
|
1816
|
-
_responsiveRule(util$
|
|
1713
|
+
_responsiveRule(util$c, "row-start-1", {
|
|
1817
1714
|
gridRowStart: "1"
|
|
1818
1715
|
});
|
|
1819
|
-
_responsiveRule(util$
|
|
1716
|
+
_responsiveRule(util$c, "row-start-2", {
|
|
1820
1717
|
gridRowStart: "2"
|
|
1821
1718
|
});
|
|
1822
|
-
_responsiveRule(util$
|
|
1719
|
+
_responsiveRule(util$c, "row-start-3", {
|
|
1823
1720
|
gridRowStart: "3"
|
|
1824
1721
|
});
|
|
1825
|
-
_responsiveRule(util$
|
|
1722
|
+
_responsiveRule(util$c, "row-start-4", {
|
|
1826
1723
|
gridRowStart: "4"
|
|
1827
1724
|
});
|
|
1828
|
-
_responsiveRule(util$
|
|
1725
|
+
_responsiveRule(util$c, "row-start-5", {
|
|
1829
1726
|
gridRowStart: "5"
|
|
1830
1727
|
});
|
|
1831
|
-
_responsiveRule(util$
|
|
1728
|
+
_responsiveRule(util$c, "row-start-6", {
|
|
1832
1729
|
gridRowStart: "6"
|
|
1833
1730
|
});
|
|
1834
|
-
_responsiveRule(util$
|
|
1731
|
+
_responsiveRule(util$c, "row-start-7", {
|
|
1835
1732
|
gridRowStart: "7"
|
|
1836
1733
|
});
|
|
1837
|
-
_responsiveRule(util$
|
|
1734
|
+
_responsiveRule(util$c, "row-start-8", {
|
|
1838
1735
|
gridRowStart: "8"
|
|
1839
1736
|
});
|
|
1840
|
-
_responsiveRule(util$
|
|
1737
|
+
_responsiveRule(util$c, "row-start-9", {
|
|
1841
1738
|
gridRowStart: "9"
|
|
1842
1739
|
});
|
|
1843
|
-
_responsiveRule(util$
|
|
1740
|
+
_responsiveRule(util$c, "row-start-10", {
|
|
1844
1741
|
gridRowStart: "10"
|
|
1845
1742
|
});
|
|
1846
|
-
_responsiveRule(util$
|
|
1743
|
+
_responsiveRule(util$c, "row-start-11", {
|
|
1847
1744
|
gridRowStart: "11"
|
|
1848
1745
|
});
|
|
1849
|
-
_responsiveRule(util$
|
|
1746
|
+
_responsiveRule(util$c, "row-start-12", {
|
|
1850
1747
|
gridRowStart: "12"
|
|
1851
1748
|
});
|
|
1852
1749
|
const gridRowStartStyle = {
|
|
1853
1750
|
layers: {
|
|
1854
|
-
util: util$
|
|
1751
|
+
util: util$c
|
|
1855
1752
|
}
|
|
1856
|
-
}, util$
|
|
1857
|
-
_responsiveRule(util$
|
|
1753
|
+
}, util$b = {};
|
|
1754
|
+
_responsiveRule(util$b, "h-fill", {
|
|
1858
1755
|
height: "100%"
|
|
1859
1756
|
});
|
|
1860
|
-
_responsiveRule(util$
|
|
1757
|
+
_responsiveRule(util$b, "h-stretch", {
|
|
1861
1758
|
height: "stretch"
|
|
1862
1759
|
});
|
|
1863
1760
|
const heightStyle = {
|
|
1864
1761
|
layers: {
|
|
1865
|
-
util: util$
|
|
1762
|
+
util: util$b
|
|
1866
1763
|
}
|
|
1867
|
-
}, util$
|
|
1868
|
-
_responsiveRule(util$
|
|
1764
|
+
}, util$a = {};
|
|
1765
|
+
_responsiveRule(util$a, "inset-0", {
|
|
1869
1766
|
top: 0,
|
|
1870
1767
|
left: 0,
|
|
1871
1768
|
right: 0,
|
|
1872
1769
|
bottom: 0
|
|
1873
1770
|
});
|
|
1874
|
-
_responsiveRule(util$
|
|
1771
|
+
_responsiveRule(util$a, "top-0", {
|
|
1875
1772
|
top: 0
|
|
1876
1773
|
});
|
|
1877
|
-
_responsiveRule(util$
|
|
1774
|
+
_responsiveRule(util$a, "right-0", {
|
|
1878
1775
|
right: 0
|
|
1879
1776
|
});
|
|
1880
|
-
_responsiveRule(util$
|
|
1777
|
+
_responsiveRule(util$a, "bottom-0", {
|
|
1881
1778
|
bottom: 0
|
|
1882
1779
|
});
|
|
1883
|
-
_responsiveRule(util$
|
|
1780
|
+
_responsiveRule(util$a, "left-0", {
|
|
1884
1781
|
left: 0
|
|
1885
1782
|
});
|
|
1886
1783
|
const insetStyle = {
|
|
1887
1784
|
layers: {
|
|
1888
|
-
util: util$
|
|
1785
|
+
util: util$a
|
|
1889
1786
|
}
|
|
1890
|
-
}, util$
|
|
1891
|
-
for (const space of SPACE)
|
|
1892
|
-
_responsiveRule(util$
|
|
1787
|
+
}, util$9 = {};
|
|
1788
|
+
for (const space of theme.SPACE)
|
|
1789
|
+
_responsiveRule(util$9, `m-${space}`, {
|
|
1893
1790
|
margin: vars.space[space]
|
|
1894
1791
|
});
|
|
1895
|
-
for (const space of SPACE)
|
|
1896
|
-
_responsiveRule(util$
|
|
1792
|
+
for (const space of theme.SPACE)
|
|
1793
|
+
_responsiveRule(util$9, `mx-${space}`, {
|
|
1897
1794
|
marginLeft: vars.space[space],
|
|
1898
1795
|
marginRight: vars.space[space]
|
|
1899
1796
|
});
|
|
1900
|
-
for (const space of SPACE)
|
|
1901
|
-
_responsiveRule(util$
|
|
1797
|
+
for (const space of theme.SPACE)
|
|
1798
|
+
_responsiveRule(util$9, `my-${space}`, {
|
|
1902
1799
|
marginTop: vars.space[space],
|
|
1903
1800
|
marginBottom: vars.space[space]
|
|
1904
1801
|
});
|
|
1905
|
-
for (const space of SPACE)
|
|
1906
|
-
_responsiveRule(util$
|
|
1802
|
+
for (const space of theme.SPACE)
|
|
1803
|
+
_responsiveRule(util$9, `mt-${space}`, {
|
|
1907
1804
|
marginTop: vars.space[space]
|
|
1908
1805
|
});
|
|
1909
|
-
for (const space of SPACE)
|
|
1910
|
-
_responsiveRule(util$
|
|
1806
|
+
for (const space of theme.SPACE)
|
|
1807
|
+
_responsiveRule(util$9, `mr-${space}`, {
|
|
1911
1808
|
marginRight: vars.space[space]
|
|
1912
1809
|
});
|
|
1913
|
-
for (const space of SPACE)
|
|
1914
|
-
_responsiveRule(util$
|
|
1810
|
+
for (const space of theme.SPACE)
|
|
1811
|
+
_responsiveRule(util$9, `mb-${space}`, {
|
|
1915
1812
|
marginBottom: vars.space[space]
|
|
1916
1813
|
});
|
|
1917
|
-
for (const space of SPACE)
|
|
1918
|
-
_responsiveRule(util$
|
|
1814
|
+
for (const space of theme.SPACE)
|
|
1815
|
+
_responsiveRule(util$9, `ml-${space}`, {
|
|
1919
1816
|
marginLeft: vars.space[space]
|
|
1920
1817
|
});
|
|
1921
1818
|
const marginStyle = {
|
|
1922
1819
|
layers: {
|
|
1923
|
-
util: util$
|
|
1820
|
+
util: util$9
|
|
1924
1821
|
}
|
|
1925
|
-
}, util$
|
|
1926
|
-
_responsiveRule(util$
|
|
1822
|
+
}, util$8 = {};
|
|
1823
|
+
_responsiveRule(util$8, "max-w-0", {
|
|
1927
1824
|
maxWidth: vars.container[0]
|
|
1928
1825
|
});
|
|
1929
|
-
_responsiveRule(util$
|
|
1826
|
+
_responsiveRule(util$8, "max-w-1", {
|
|
1930
1827
|
maxWidth: vars.container[1]
|
|
1931
1828
|
});
|
|
1932
|
-
_responsiveRule(util$
|
|
1829
|
+
_responsiveRule(util$8, "max-w-2", {
|
|
1933
1830
|
maxWidth: vars.container[2]
|
|
1934
1831
|
});
|
|
1935
|
-
_responsiveRule(util$
|
|
1832
|
+
_responsiveRule(util$8, "max-w-3", {
|
|
1936
1833
|
maxWidth: vars.container[3]
|
|
1937
1834
|
});
|
|
1938
|
-
_responsiveRule(util$
|
|
1835
|
+
_responsiveRule(util$8, "max-w-4", {
|
|
1939
1836
|
maxWidth: vars.container[4]
|
|
1940
1837
|
});
|
|
1941
|
-
_responsiveRule(util$
|
|
1838
|
+
_responsiveRule(util$8, "max-w-5", {
|
|
1942
1839
|
maxWidth: vars.container[5]
|
|
1943
1840
|
});
|
|
1944
|
-
_responsiveRule(util$
|
|
1841
|
+
_responsiveRule(util$8, "max-w-auto", {
|
|
1945
1842
|
maxWidth: "none"
|
|
1946
1843
|
});
|
|
1947
|
-
_responsiveRule(util$
|
|
1844
|
+
_responsiveRule(util$8, "max-w-fill", {
|
|
1948
1845
|
maxWidth: "100%"
|
|
1949
1846
|
});
|
|
1950
1847
|
const maxWidthStyle = {
|
|
1951
1848
|
layers: {
|
|
1952
|
-
util: util$
|
|
1849
|
+
util: util$8
|
|
1953
1850
|
}
|
|
1954
|
-
}, util$
|
|
1955
|
-
_responsiveRule(util$
|
|
1851
|
+
}, util$7 = {};
|
|
1852
|
+
_responsiveRule(util$7, "min-w-0", {
|
|
1956
1853
|
minWidth: "0"
|
|
1957
1854
|
});
|
|
1958
|
-
_responsiveRule(util$
|
|
1855
|
+
_responsiveRule(util$7, "min-w-auto", {
|
|
1959
1856
|
minWidth: "auto"
|
|
1960
1857
|
});
|
|
1961
|
-
_responsiveRule(util$
|
|
1858
|
+
_responsiveRule(util$7, "min-w-full", {
|
|
1962
1859
|
minWidth: "100%"
|
|
1963
1860
|
});
|
|
1964
|
-
_responsiveRule(util$
|
|
1861
|
+
_responsiveRule(util$7, "min-w-min", {
|
|
1965
1862
|
minWidth: "min-content"
|
|
1966
1863
|
});
|
|
1967
|
-
_responsiveRule(util$
|
|
1864
|
+
_responsiveRule(util$7, "min-w-max", {
|
|
1968
1865
|
minWidth: "max-content"
|
|
1969
1866
|
});
|
|
1970
|
-
_responsiveRule(util$
|
|
1867
|
+
_responsiveRule(util$7, "min-w-fit", {
|
|
1971
1868
|
minWidth: "fit-content"
|
|
1972
1869
|
});
|
|
1973
1870
|
const minWidthStyle = {
|
|
1974
1871
|
layers: {
|
|
1975
|
-
util: util$
|
|
1872
|
+
util: util$7
|
|
1976
1873
|
}
|
|
1977
1874
|
}, rules$2 = {
|
|
1978
1875
|
".outline-none": {
|
|
@@ -1982,57 +1879,57 @@ const minWidthStyle = {
|
|
|
1982
1879
|
layers: {
|
|
1983
1880
|
util: rules$2
|
|
1984
1881
|
}
|
|
1985
|
-
}, util$
|
|
1986
|
-
_responsiveRule(util$
|
|
1882
|
+
}, util$6 = {};
|
|
1883
|
+
_responsiveRule(util$6, "overflow-visible", {
|
|
1987
1884
|
overflow: "visible"
|
|
1988
1885
|
});
|
|
1989
|
-
_responsiveRule(util$
|
|
1886
|
+
_responsiveRule(util$6, "overflow-hidden", {
|
|
1990
1887
|
overflow: "hidden"
|
|
1991
1888
|
});
|
|
1992
|
-
_responsiveRule(util$
|
|
1889
|
+
_responsiveRule(util$6, "overflow-scroll", {
|
|
1993
1890
|
overflow: "scroll"
|
|
1994
1891
|
});
|
|
1995
|
-
_responsiveRule(util$
|
|
1892
|
+
_responsiveRule(util$6, "overflow-auto", {
|
|
1996
1893
|
overflow: "auto"
|
|
1997
1894
|
});
|
|
1998
1895
|
const overflowStyle = {
|
|
1999
1896
|
layers: {
|
|
2000
|
-
util: util$
|
|
1897
|
+
util: util$6
|
|
2001
1898
|
}
|
|
2002
|
-
}, util$
|
|
2003
|
-
for (const space of SPACE)
|
|
2004
|
-
_responsiveRule(util$
|
|
1899
|
+
}, util$5 = {};
|
|
1900
|
+
for (const space of theme.SPACE)
|
|
1901
|
+
_responsiveRule(util$5, `p-${space}`, {
|
|
2005
1902
|
padding: vars.space[space]
|
|
2006
1903
|
});
|
|
2007
|
-
for (const space of SPACE)
|
|
2008
|
-
_responsiveRule(util$
|
|
1904
|
+
for (const space of theme.SPACE)
|
|
1905
|
+
_responsiveRule(util$5, `px-${space}`, {
|
|
2009
1906
|
paddingLeft: vars.space[space],
|
|
2010
1907
|
paddingRight: vars.space[space]
|
|
2011
1908
|
});
|
|
2012
|
-
for (const space of SPACE)
|
|
2013
|
-
_responsiveRule(util$
|
|
1909
|
+
for (const space of theme.SPACE)
|
|
1910
|
+
_responsiveRule(util$5, `py-${space}`, {
|
|
2014
1911
|
paddingTop: vars.space[space],
|
|
2015
1912
|
paddingBottom: vars.space[space]
|
|
2016
1913
|
});
|
|
2017
|
-
for (const space of SPACE)
|
|
2018
|
-
_responsiveRule(util$
|
|
1914
|
+
for (const space of theme.SPACE)
|
|
1915
|
+
_responsiveRule(util$5, `pt-${space}`, {
|
|
2019
1916
|
paddingTop: vars.space[space]
|
|
2020
1917
|
});
|
|
2021
|
-
for (const space of SPACE)
|
|
2022
|
-
_responsiveRule(util$
|
|
1918
|
+
for (const space of theme.SPACE)
|
|
1919
|
+
_responsiveRule(util$5, `pr-${space}`, {
|
|
2023
1920
|
paddingRight: vars.space[space]
|
|
2024
1921
|
});
|
|
2025
|
-
for (const space of SPACE)
|
|
2026
|
-
_responsiveRule(util$
|
|
1922
|
+
for (const space of theme.SPACE)
|
|
1923
|
+
_responsiveRule(util$5, `pb-${space}`, {
|
|
2027
1924
|
paddingBottom: vars.space[space]
|
|
2028
1925
|
});
|
|
2029
|
-
for (const space of SPACE)
|
|
2030
|
-
_responsiveRule(util$
|
|
1926
|
+
for (const space of theme.SPACE)
|
|
1927
|
+
_responsiveRule(util$5, `pl-${space}`, {
|
|
2031
1928
|
paddingLeft: vars.space[space]
|
|
2032
1929
|
});
|
|
2033
1930
|
const paddingStyle = {
|
|
2034
1931
|
layers: {
|
|
2035
|
-
util: util$
|
|
1932
|
+
util: util$5
|
|
2036
1933
|
}
|
|
2037
1934
|
}, rules$1 = {
|
|
2038
1935
|
".pointer-events-none": {
|
|
@@ -2045,63 +1942,83 @@ const paddingStyle = {
|
|
|
2045
1942
|
layers: {
|
|
2046
1943
|
util: rules$1
|
|
2047
1944
|
}
|
|
2048
|
-
}, util$
|
|
2049
|
-
_responsiveRule(util$
|
|
1945
|
+
}, util$4 = {};
|
|
1946
|
+
_responsiveRule(util$4, "position-absolute", {
|
|
2050
1947
|
position: "absolute"
|
|
2051
1948
|
});
|
|
2052
|
-
_responsiveRule(util$
|
|
1949
|
+
_responsiveRule(util$4, "position-fixed", {
|
|
2053
1950
|
position: "fixed"
|
|
2054
1951
|
});
|
|
2055
|
-
_responsiveRule(util$
|
|
1952
|
+
_responsiveRule(util$4, "position-relative", {
|
|
2056
1953
|
position: "relative"
|
|
2057
1954
|
});
|
|
2058
|
-
_responsiveRule(util$
|
|
1955
|
+
_responsiveRule(util$4, "position-static", {
|
|
2059
1956
|
position: "static"
|
|
2060
1957
|
});
|
|
2061
|
-
_responsiveRule(util$
|
|
1958
|
+
_responsiveRule(util$4, "position-sticky", {
|
|
2062
1959
|
position: "sticky"
|
|
2063
1960
|
});
|
|
2064
1961
|
const positionStyle = {
|
|
2065
1962
|
layers: {
|
|
2066
|
-
util: util$
|
|
1963
|
+
util: util$4
|
|
2067
1964
|
}
|
|
2068
|
-
}, util$
|
|
2069
|
-
_responsiveRule(util$
|
|
1965
|
+
}, util$3 = {};
|
|
1966
|
+
_responsiveRule(util$3, "r-0", {
|
|
2070
1967
|
borderRadius: vars.radius[0]
|
|
2071
1968
|
});
|
|
2072
|
-
_responsiveRule(util$
|
|
1969
|
+
_responsiveRule(util$3, "r-1", {
|
|
2073
1970
|
borderRadius: vars.radius[1]
|
|
2074
1971
|
});
|
|
2075
|
-
_responsiveRule(util$
|
|
1972
|
+
_responsiveRule(util$3, "r-2", {
|
|
2076
1973
|
borderRadius: vars.radius[2]
|
|
2077
1974
|
});
|
|
2078
|
-
_responsiveRule(util$
|
|
1975
|
+
_responsiveRule(util$3, "r-3", {
|
|
2079
1976
|
borderRadius: vars.radius[3]
|
|
2080
1977
|
});
|
|
2081
|
-
_responsiveRule(util$
|
|
1978
|
+
_responsiveRule(util$3, "r-4", {
|
|
2082
1979
|
borderRadius: vars.radius[4]
|
|
2083
1980
|
});
|
|
2084
|
-
_responsiveRule(util$
|
|
1981
|
+
_responsiveRule(util$3, "r-5", {
|
|
2085
1982
|
borderRadius: vars.radius[5]
|
|
2086
1983
|
});
|
|
2087
|
-
_responsiveRule(util$
|
|
1984
|
+
_responsiveRule(util$3, "r-6", {
|
|
2088
1985
|
borderRadius: vars.radius[6]
|
|
2089
1986
|
});
|
|
2090
|
-
_responsiveRule(util$
|
|
1987
|
+
_responsiveRule(util$3, "r-full", {
|
|
2091
1988
|
borderRadius: "9999px"
|
|
2092
1989
|
});
|
|
2093
1990
|
const radiusStyle = {
|
|
2094
1991
|
layers: {
|
|
2095
|
-
util: util$
|
|
1992
|
+
util: util$3
|
|
2096
1993
|
}
|
|
2097
|
-
}, util$
|
|
2098
|
-
for (const shadow2 of SHADOW)
|
|
2099
|
-
shadow2 === 0 ? _responsiveRule(util$
|
|
1994
|
+
}, util$2 = {};
|
|
1995
|
+
for (const shadow2 of theme.SHADOW)
|
|
1996
|
+
shadow2 === 0 ? _responsiveRule(util$2, "shadow-0", {
|
|
2100
1997
|
boxShadow: "none"
|
|
2101
|
-
}) : _responsiveRule(util$
|
|
1998
|
+
}) : _responsiveRule(util$2, `shadow-${shadow2}`, {
|
|
2102
1999
|
boxShadow: [`0 0 0 ${vars.card.shadow.outline} ${vars.color.shadow.outline}`, `${vars.shadow[shadow2].umbra} ${vars.color.shadow.umbra}`, `${vars.shadow[shadow2].penumbra} ${vars.color.shadow.penumbra}`, `${vars.shadow[shadow2].ambient} ${vars.color.shadow.ambient}`].join(", ")
|
|
2103
2000
|
});
|
|
2104
2001
|
const shadowStyle = {
|
|
2002
|
+
layers: {
|
|
2003
|
+
util: util$2
|
|
2004
|
+
}
|
|
2005
|
+
}, util$1 = {};
|
|
2006
|
+
_responsiveRule(util$1, "text-align-initial", {
|
|
2007
|
+
textAlign: "initial"
|
|
2008
|
+
});
|
|
2009
|
+
_responsiveRule(util$1, "text-align-left", {
|
|
2010
|
+
textAlign: "left"
|
|
2011
|
+
});
|
|
2012
|
+
_responsiveRule(util$1, "text-align-center", {
|
|
2013
|
+
textAlign: "center"
|
|
2014
|
+
});
|
|
2015
|
+
_responsiveRule(util$1, "text-align-right", {
|
|
2016
|
+
textAlign: "right"
|
|
2017
|
+
});
|
|
2018
|
+
_responsiveRule(util$1, "text-align-justify", {
|
|
2019
|
+
textAlign: "justify"
|
|
2020
|
+
});
|
|
2021
|
+
const textAlignStyle = {
|
|
2105
2022
|
layers: {
|
|
2106
2023
|
util: util$1
|
|
2107
2024
|
}
|
|
@@ -2263,25 +2180,25 @@ const widthStyle = {
|
|
|
2263
2180
|
height: "calc(var(--font-skeleton-line-height) - var(--font-skeleton-ascender-height) - var(--font-skeleton-descender-height))"
|
|
2264
2181
|
}
|
|
2265
2182
|
};
|
|
2266
|
-
for (const size of FONT_CODE_SIZE)
|
|
2183
|
+
for (const size of theme.FONT_CODE_SIZE)
|
|
2267
2184
|
_responsiveRule(component$2, `code-skeleton-${size}`, {
|
|
2268
2185
|
"--font-skeleton-line-height": vars.font.code.sizes[size].lineHeight,
|
|
2269
2186
|
"--font-skeleton-ascender-height": vars.font.code.sizes[size].ascenderHeight,
|
|
2270
2187
|
"--font-skeleton-descender-height": vars.font.code.sizes[size].descenderHeight
|
|
2271
2188
|
});
|
|
2272
|
-
for (const size of FONT_HEADING_SIZE)
|
|
2189
|
+
for (const size of theme.FONT_HEADING_SIZE)
|
|
2273
2190
|
_responsiveRule(component$2, `heading-skeleton-${size}`, {
|
|
2274
2191
|
"--font-skeleton-line-height": vars.font.heading.sizes[size].lineHeight,
|
|
2275
2192
|
"--font-skeleton-ascender-height": vars.font.heading.sizes[size].ascenderHeight,
|
|
2276
2193
|
"--font-skeleton-descender-height": vars.font.heading.sizes[size].descenderHeight
|
|
2277
2194
|
});
|
|
2278
|
-
for (const size of FONT_LABEL_SIZE)
|
|
2195
|
+
for (const size of theme.FONT_LABEL_SIZE)
|
|
2279
2196
|
_responsiveRule(component$2, `label-skeleton-${size}`, {
|
|
2280
2197
|
"--font-skeleton-line-height": vars.font.label.sizes[size].lineHeight,
|
|
2281
2198
|
"--font-skeleton-ascender-height": vars.font.label.sizes[size].ascenderHeight,
|
|
2282
2199
|
"--font-skeleton-descender-height": vars.font.label.sizes[size].descenderHeight
|
|
2283
2200
|
});
|
|
2284
|
-
for (const size of FONT_TEXT_SIZE)
|
|
2201
|
+
for (const size of theme.FONT_TEXT_SIZE)
|
|
2285
2202
|
_responsiveRule(component$2, `text-skeleton-${size}`, {
|
|
2286
2203
|
"--font-skeleton-line-height": vars.font.text.sizes[size].lineHeight,
|
|
2287
2204
|
"--font-skeleton-ascender-height": vars.font.text.sizes[size].ascenderHeight,
|
|
@@ -2516,24 +2433,24 @@ const skeletonStyle = {
|
|
|
2516
2433
|
}
|
|
2517
2434
|
}
|
|
2518
2435
|
};
|
|
2519
|
-
for (const
|
|
2520
|
-
const source = vars.font.text.sizes[
|
|
2521
|
-
primitive$o
|
|
2436
|
+
for (const size of theme.FONT_TEXT_SIZE) {
|
|
2437
|
+
const source = vars.font.text.sizes[size];
|
|
2438
|
+
_responsiveRule(primitive$o, `input-${size}`, {
|
|
2522
2439
|
[varNames.input.fontSize]: source.fontSize,
|
|
2523
2440
|
[varNames.input.lineHeight]: source.lineHeight,
|
|
2524
2441
|
[varNames.input.letterSpacing]: source.letterSpacing,
|
|
2525
2442
|
[varNames.input.ascenderHeight]: source.ascenderHeight,
|
|
2526
2443
|
[varNames.input.descenderHeight]: source.descenderHeight
|
|
2527
|
-
};
|
|
2444
|
+
});
|
|
2528
2445
|
}
|
|
2529
|
-
for (const space of SPACE)
|
|
2530
|
-
primitive$o
|
|
2446
|
+
for (const space of theme.SPACE)
|
|
2447
|
+
_responsiveRule(primitive$o, `input-p-${space}`, {
|
|
2531
2448
|
[varNames.input.padding]: vars.space[space]
|
|
2532
|
-
};
|
|
2533
|
-
for (const space of SPACE)
|
|
2534
|
-
primitive$o
|
|
2449
|
+
});
|
|
2450
|
+
for (const space of theme.SPACE)
|
|
2451
|
+
_responsiveRule(primitive$o, `input-g-${space}`, {
|
|
2535
2452
|
[varNames.input.gap]: vars.space[space]
|
|
2536
|
-
};
|
|
2453
|
+
});
|
|
2537
2454
|
const _inputStyle = {
|
|
2538
2455
|
layers: {
|
|
2539
2456
|
primitive: primitive$o
|
|
@@ -2608,7 +2525,7 @@ const _inputStyle = {
|
|
|
2608
2525
|
};
|
|
2609
2526
|
function buildSelectableTones() {
|
|
2610
2527
|
const rules2 = {};
|
|
2611
|
-
for (const tone of THEME_COLOR_STATE_TONES) {
|
|
2528
|
+
for (const tone of theme.THEME_COLOR_STATE_TONES) {
|
|
2612
2529
|
const target = varNames.color, source = vars.color;
|
|
2613
2530
|
rules2[`&.${tone}`] = {
|
|
2614
2531
|
[target.tinted.bg[0]]: source.tinted[tone].bg[0],
|
|
@@ -2679,7 +2596,7 @@ const primitive$m = {
|
|
|
2679
2596
|
[varNames.color.avatar.bg]: vars.color.border,
|
|
2680
2597
|
[varNames.color.avatar.fg]: vars.color.bg
|
|
2681
2598
|
},
|
|
2682
|
-
...THEME_COLOR_AVATAR_COLORS.reduce((acc, color2) => ({
|
|
2599
|
+
...theme.THEME_COLOR_AVATAR_COLORS.reduce((acc, color2) => ({
|
|
2683
2600
|
...acc,
|
|
2684
2601
|
[`&.${color2}`]: {
|
|
2685
2602
|
[varNames.color.avatar.bg]: vars.color.avatar[color2].bg,
|
|
@@ -2773,7 +2690,7 @@ const primitive$m = {
|
|
|
2773
2690
|
}
|
|
2774
2691
|
}
|
|
2775
2692
|
};
|
|
2776
|
-
for (const size of AVATAR_SIZE)
|
|
2693
|
+
for (const size of theme.AVATAR_SIZE)
|
|
2777
2694
|
_responsiveRule(primitive$m, `avatar-${size}`, {
|
|
2778
2695
|
[varNames.avatar.distance]: vars.avatar.sizes[size].distance,
|
|
2779
2696
|
[varNames.avatar.size]: vars.avatar.sizes[size].size
|
|
@@ -2789,7 +2706,7 @@ const avatarStyle = {
|
|
|
2789
2706
|
verticalAlign: "top"
|
|
2790
2707
|
}
|
|
2791
2708
|
};
|
|
2792
|
-
for (const tone of THEME_COLOR_STATE_TONES)
|
|
2709
|
+
for (const tone of theme.THEME_COLOR_STATE_TONES)
|
|
2793
2710
|
primitive$l[`.badge-${tone}`] = {
|
|
2794
2711
|
[varNames.color.bg]: vars.color.tinted[tone].bg[4],
|
|
2795
2712
|
[varNames.color.fg]: vars.color.tinted[tone].fg[3]
|
|
@@ -2803,7 +2720,10 @@ const badgeStyle = {
|
|
|
2803
2720
|
// todo: move to aspects
|
|
2804
2721
|
minHeight: 0,
|
|
2805
2722
|
"@nest": {
|
|
2806
|
-
"
|
|
2723
|
+
"iframe&": {
|
|
2724
|
+
border: "none"
|
|
2725
|
+
},
|
|
2726
|
+
"ul&, ol&": {
|
|
2807
2727
|
listStyle: "none"
|
|
2808
2728
|
},
|
|
2809
2729
|
"&.muted": {
|
|
@@ -2822,18 +2742,6 @@ const badgeStyle = {
|
|
|
2822
2742
|
layers: {
|
|
2823
2743
|
primitive: primitive$k
|
|
2824
2744
|
}
|
|
2825
|
-
}, toneMap = {
|
|
2826
|
-
default: "default",
|
|
2827
|
-
neutral: "neutral",
|
|
2828
|
-
suggest: "suggest",
|
|
2829
|
-
primary: "accent",
|
|
2830
|
-
positive: "positive",
|
|
2831
|
-
caution: "caution",
|
|
2832
|
-
critical: "critical"
|
|
2833
|
-
}, variantMap = {
|
|
2834
|
-
default: "solid",
|
|
2835
|
-
ghost: "ghost",
|
|
2836
|
-
bleed: "tinted"
|
|
2837
2745
|
}, primitive$j = {
|
|
2838
2746
|
".button": {
|
|
2839
2747
|
WebkitFontSmoothing: "inherit",
|
|
@@ -2881,11 +2789,13 @@ const badgeStyle = {
|
|
|
2881
2789
|
opacity: 0.8
|
|
2882
2790
|
}
|
|
2883
2791
|
};
|
|
2884
|
-
for (const tone of THEME_COLOR_STATE_TONES) {
|
|
2792
|
+
for (const tone of theme.THEME_COLOR_STATE_TONES) {
|
|
2885
2793
|
const solid = vars.color.solid[tone], tinted = vars.color.tinted[tone];
|
|
2886
|
-
primitive$j[`.button
|
|
2794
|
+
primitive$j[`.button[data-mode="default"][data-tone="${tone}"]`] = {
|
|
2887
2795
|
[varNames.color.bg]: solid.bg[0],
|
|
2888
2796
|
[varNames.color.border]: solid.border[1],
|
|
2797
|
+
[varNames.color.code.bg]: solid.bg[1],
|
|
2798
|
+
[varNames.color.code.fg]: solid.fg[4],
|
|
2889
2799
|
[varNames.color.fg]: solid.fg[0],
|
|
2890
2800
|
[varNames.color.muted.bg]: solid.bg[1],
|
|
2891
2801
|
[varNames.color.muted.fg]: solid.fg[4],
|
|
@@ -2894,6 +2804,8 @@ for (const tone of THEME_COLOR_STATE_TONES) {
|
|
|
2894
2804
|
"&:not([data-disabled]):hover": {
|
|
2895
2805
|
[varNames.color.bg]: solid.bg[1],
|
|
2896
2806
|
[varNames.color.border]: solid.border[2],
|
|
2807
|
+
[varNames.color.code.bg]: solid.bg[2],
|
|
2808
|
+
[varNames.color.code.fg]: solid.fg[4],
|
|
2897
2809
|
[varNames.color.fg]: solid.fg[0],
|
|
2898
2810
|
[varNames.color.muted.bg]: solid.bg[2],
|
|
2899
2811
|
[varNames.color.muted.fg]: solid.fg[4]
|
|
@@ -2901,6 +2813,8 @@ for (const tone of THEME_COLOR_STATE_TONES) {
|
|
|
2901
2813
|
"&:not([data-disabled]):active": {
|
|
2902
2814
|
[varNames.color.bg]: solid.bg[2],
|
|
2903
2815
|
[varNames.color.border]: solid.border[3],
|
|
2816
|
+
[varNames.color.code.bg]: solid.bg[3],
|
|
2817
|
+
[varNames.color.code.fg]: solid.fg[4],
|
|
2904
2818
|
[varNames.color.fg]: solid.fg[0],
|
|
2905
2819
|
[varNames.color.muted.bg]: solid.bg[3],
|
|
2906
2820
|
[varNames.color.muted.fg]: solid.fg[4]
|
|
@@ -2908,6 +2822,8 @@ for (const tone of THEME_COLOR_STATE_TONES) {
|
|
|
2908
2822
|
"&:not([data-disabled])[data-selected]": {
|
|
2909
2823
|
[varNames.color.bg]: solid.bg[2],
|
|
2910
2824
|
[varNames.color.border]: solid.border[3],
|
|
2825
|
+
[varNames.color.code.bg]: solid.bg[3],
|
|
2826
|
+
[varNames.color.code.fg]: solid.fg[4],
|
|
2911
2827
|
[varNames.color.fg]: solid.fg[0],
|
|
2912
2828
|
[varNames.color.muted.bg]: solid.bg[3],
|
|
2913
2829
|
[varNames.color.muted.fg]: solid.fg[4]
|
|
@@ -2931,25 +2847,30 @@ for (const tone of THEME_COLOR_STATE_TONES) {
|
|
|
2931
2847
|
[varNames.color.muted.fg]: vars.color.tinted.default.border[4]
|
|
2932
2848
|
}
|
|
2933
2849
|
}
|
|
2934
|
-
}, primitive$j[`.button
|
|
2850
|
+
}, primitive$j[`.button[data-mode="ghost"][data-tone="${tone}"]`] = {
|
|
2935
2851
|
[varNames.color.bg]: tinted.bg[1],
|
|
2936
|
-
[varNames.color.border]: tinted.border[
|
|
2852
|
+
[varNames.color.border]: tinted.border[1],
|
|
2937
2853
|
[varNames.color.fg]: tinted.fg[2],
|
|
2854
|
+
[varNames.color.code.bg]: tinted.bg[2],
|
|
2855
|
+
[varNames.color.code.fg]: tinted.fg[4],
|
|
2938
2856
|
[varNames.color.muted.bg]: tinted.bg[2],
|
|
2939
2857
|
[varNames.color.muted.fg]: tinted.fg[4],
|
|
2940
2858
|
"--button-box-shadow": "inset 0 0 0 var(--button-border-width) var(--color-border)",
|
|
2941
2859
|
"@nest": {
|
|
2942
2860
|
"&:not([data-disabled]):hover": {
|
|
2943
2861
|
[varNames.color.bg]: tinted.bg[2],
|
|
2944
|
-
[varNames.color.border]: tinted.border[
|
|
2862
|
+
[varNames.color.border]: tinted.border[2],
|
|
2863
|
+
[varNames.color.code.bg]: tinted.bg[3],
|
|
2864
|
+
[varNames.color.code.fg]: tinted.fg[3],
|
|
2945
2865
|
[varNames.color.fg]: tinted.fg[1],
|
|
2946
2866
|
[varNames.color.muted.bg]: tinted.bg[3],
|
|
2947
2867
|
[varNames.color.muted.fg]: tinted.fg[3]
|
|
2948
|
-
// '--button-box-shadow': `inset 0 0 0 var(--button-border-width) var(--color-border)`,
|
|
2949
2868
|
},
|
|
2950
2869
|
"&:not([data-disabled]):active": {
|
|
2951
2870
|
[varNames.color.bg]: tinted.bg[3],
|
|
2952
|
-
[varNames.color.border]: tinted.border[
|
|
2871
|
+
[varNames.color.border]: tinted.border[3],
|
|
2872
|
+
[varNames.color.code.bg]: tinted.bg[4],
|
|
2873
|
+
[varNames.color.code.fg]: tinted.fg[3],
|
|
2953
2874
|
[varNames.color.fg]: tinted.fg[1],
|
|
2954
2875
|
[varNames.color.muted.bg]: tinted.bg[4],
|
|
2955
2876
|
[varNames.color.muted.fg]: tinted.fg[3],
|
|
@@ -2957,7 +2878,9 @@ for (const tone of THEME_COLOR_STATE_TONES) {
|
|
|
2957
2878
|
},
|
|
2958
2879
|
"&:not([data-disabled])[data-selected]": {
|
|
2959
2880
|
[varNames.color.bg]: tinted.bg[3],
|
|
2960
|
-
[varNames.color.border]: tinted.border[
|
|
2881
|
+
[varNames.color.border]: tinted.border[3],
|
|
2882
|
+
[varNames.color.code.bg]: tinted.bg[4],
|
|
2883
|
+
[varNames.color.code.fg]: tinted.fg[3],
|
|
2961
2884
|
[varNames.color.fg]: tinted.fg[1],
|
|
2962
2885
|
[varNames.color.muted.bg]: tinted.bg[4],
|
|
2963
2886
|
[varNames.color.muted.fg]: tinted.fg[3],
|
|
@@ -2982,7 +2905,7 @@ for (const tone of THEME_COLOR_STATE_TONES) {
|
|
|
2982
2905
|
[varNames.color.muted.fg]: vars.color.tinted.default.border[3]
|
|
2983
2906
|
}
|
|
2984
2907
|
}
|
|
2985
|
-
}, primitive$j[`.button
|
|
2908
|
+
}, primitive$j[`.button[data-mode="bleed"][data-tone="${tone}"]`] = {
|
|
2986
2909
|
boxShadow: "none",
|
|
2987
2910
|
[varNames.color.bg]: tinted.bg[0],
|
|
2988
2911
|
[varNames.color.border]: tinted.border[1],
|
|
@@ -3068,6 +2991,11 @@ const buttonStyle = {
|
|
|
3068
2991
|
font: "inherit",
|
|
3069
2992
|
whiteSpace: "inherit"
|
|
3070
2993
|
},
|
|
2994
|
+
"&[data-checkered]": {
|
|
2995
|
+
backgroundSize: `${vars.space[3]} ${vars.space[3]}`,
|
|
2996
|
+
backgroundPosition: "top left",
|
|
2997
|
+
backgroundImage: `repeating-conic-gradient(${vars.color.bg} 0% 25%, ${vars.color.muted.bg} 0% 50%)`
|
|
2998
|
+
},
|
|
3071
2999
|
"a&:not([data-disabled]):hover, button&:not([data-disabled]):hover": {
|
|
3072
3000
|
[varNames.color.bg]: vars.color.tinted.default.bg[1],
|
|
3073
3001
|
[varNames.color.border]: vars.color.tinted.default.border[3],
|
|
@@ -3104,41 +3032,27 @@ const buttonStyle = {
|
|
|
3104
3032
|
[varNames.color.muted.bg]: vars.color.solid.primary.bg[1],
|
|
3105
3033
|
[varNames.color.muted.fg]: vars.color.solid.primary.fg[3]
|
|
3106
3034
|
},
|
|
3107
|
-
// '&:not([data-disabled]):focus': {
|
|
3108
|
-
// '--color-bg': vars.color.solid.bg[0],
|
|
3109
|
-
// '--color-border': vars.color.solid.border[1],
|
|
3110
|
-
// '--color-fg': vars.color.solid.fg[1],
|
|
3111
|
-
// '--color-muted-bg': vars.color.solid.bg[1],
|
|
3112
|
-
// '--color-muted-fg': vars.color.solid.fg[3],
|
|
3113
|
-
// },
|
|
3114
3035
|
"a&[data-disabled], button&[data-disabled]": {
|
|
3115
|
-
[varNames.color.bg]: vars.color.tinted.default.bg[
|
|
3116
|
-
[varNames.color.border]: vars.color.tinted.default.border[
|
|
3117
|
-
[varNames.color.fg]: vars.color.tinted.default.
|
|
3118
|
-
[varNames.color.muted.bg]: vars.color.tinted.default.bg[
|
|
3119
|
-
[varNames.color.muted.fg]: vars.color.tinted.default.
|
|
3036
|
+
[varNames.color.bg]: vars.color.tinted.default.bg[0],
|
|
3037
|
+
[varNames.color.border]: vars.color.tinted.default.border[1],
|
|
3038
|
+
[varNames.color.fg]: vars.color.tinted.default.border[3],
|
|
3039
|
+
[varNames.color.muted.bg]: vars.color.tinted.default.bg[1],
|
|
3040
|
+
[varNames.color.muted.fg]: vars.color.tinted.default.border[1]
|
|
3120
3041
|
}
|
|
3121
|
-
// '&[data-disabled]': {
|
|
3122
|
-
// '--color-bg': vars.color.tinted.bg[0],
|
|
3123
|
-
// '--color-border': vars.color.tinted.border[1],
|
|
3124
|
-
// '--color-fg': vars.color.tinted.border[4],
|
|
3125
|
-
// '--color-muted-bg': vars.color.tinted.bg[1],
|
|
3126
|
-
// '--color-muted-fg': vars.color.tinted.border[4],
|
|
3127
|
-
// },
|
|
3128
3042
|
}
|
|
3129
3043
|
}
|
|
3130
3044
|
};
|
|
3131
|
-
for (const scheme of THEME_COLOR_SCHEMES
|
|
3045
|
+
for (const scheme of theme.THEME_COLOR_SCHEMES) {
|
|
3132
3046
|
const schemeProps = {
|
|
3133
3047
|
colorScheme: scheme
|
|
3134
3048
|
};
|
|
3135
|
-
for (const tone of THEME_COLOR_CARD_TONES) {
|
|
3049
|
+
for (const tone of theme.THEME_COLOR_CARD_TONES) {
|
|
3136
3050
|
const _varNames = varNames.color[tone], _vars = vars.color[scheme][tone];
|
|
3137
3051
|
_assignToneProps(schemeProps, _varNames, _vars);
|
|
3138
3052
|
}
|
|
3139
3053
|
primitive$i[`.card.${scheme}`] = schemeProps;
|
|
3140
3054
|
}
|
|
3141
|
-
for (const tone of THEME_COLOR_CARD_TONES) {
|
|
3055
|
+
for (const tone of theme.THEME_COLOR_CARD_TONES) {
|
|
3142
3056
|
const _varNames = varNames.color, _vars = vars.color[tone], toneProps = {};
|
|
3143
3057
|
_assignToneProps(toneProps, _varNames, _vars), Object.assign(toneProps, {
|
|
3144
3058
|
"--card-bg-color": vars.color.bg,
|
|
@@ -3173,7 +3087,7 @@ const cardStyle = {
|
|
|
3173
3087
|
}
|
|
3174
3088
|
};
|
|
3175
3089
|
function _assignToneProps(toneProps, _varNames, _vars) {
|
|
3176
|
-
for (const hue of THEME_COLOR_AVATAR_COLORS)
|
|
3090
|
+
for (const hue of theme.THEME_COLOR_AVATAR_COLORS)
|
|
3177
3091
|
toneProps[`${_varNames.avatar[hue].bg}`] = _vars.avatar[hue].bg, toneProps[`${_varNames.avatar[hue].fg}`] = _vars.avatar[hue].fg;
|
|
3178
3092
|
Object.assign(toneProps, {
|
|
3179
3093
|
[_varNames.backdrop]: _vars.backdrop,
|
|
@@ -3223,7 +3137,7 @@ function _assignToneProps(toneProps, _varNames, _vars) {
|
|
|
3223
3137
|
[_varNames.shadow.ambient]: _vars.shadow.ambient
|
|
3224
3138
|
});
|
|
3225
3139
|
for (const variant of ["solid", "tinted"])
|
|
3226
|
-
for (const elementTone of THEME_COLOR_STATE_TONES) {
|
|
3140
|
+
for (const elementTone of theme.THEME_COLOR_STATE_TONES) {
|
|
3227
3141
|
const __varNames = _varNames[variant][elementTone], __vars = _vars[variant][elementTone];
|
|
3228
3142
|
Object.assign(toneProps, {
|
|
3229
3143
|
[__varNames.bg[0]]: __vars.bg[0],
|
|
@@ -3411,7 +3325,7 @@ const primitive$h = {
|
|
|
3411
3325
|
}
|
|
3412
3326
|
}
|
|
3413
3327
|
};
|
|
3414
|
-
for (const size of FONT_CODE_SIZE)
|
|
3328
|
+
for (const size of theme.FONT_CODE_SIZE)
|
|
3415
3329
|
_responsiveRule(primitive$g, `code-${size}`, {
|
|
3416
3330
|
"--font-size": `var(--font-code-${size}-size)`,
|
|
3417
3331
|
"--font-line-height": `var(--font-code-${size}-line-height)`,
|
|
@@ -3457,7 +3371,7 @@ const codeStyle = {
|
|
|
3457
3371
|
"--color-fg": "var(--color-tinted-default-fg-4)"
|
|
3458
3372
|
}
|
|
3459
3373
|
};
|
|
3460
|
-
for (const size of FONT_HEADING_SIZE)
|
|
3374
|
+
for (const size of theme.FONT_HEADING_SIZE)
|
|
3461
3375
|
_responsiveRule(primitive$e, `heading-${size}`, {
|
|
3462
3376
|
"--font-size": `var(--font-heading-${size}-size)`,
|
|
3463
3377
|
"--font-line-height": `var(--font-heading-${size}-line-height)`,
|
|
@@ -3473,11 +3387,8 @@ const headingStyle = {
|
|
|
3473
3387
|
}
|
|
3474
3388
|
}, primitive$d = {
|
|
3475
3389
|
".kbd": {
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
// '--color-fg': 'var(--color-tinted-default-fg-3)',
|
|
3479
|
-
boxShadow: "inset 0 0 0 0.5px var(--color-tinted-default-border-3)",
|
|
3480
|
-
background: "var(--color-muted-bg)",
|
|
3390
|
+
boxShadow: `inset 0 0 0 0.5px ${vars.color.border}`,
|
|
3391
|
+
backgroundColor: vars.color.muted.bg,
|
|
3481
3392
|
font: "inherit",
|
|
3482
3393
|
verticalAlign: "top",
|
|
3483
3394
|
"@nest": {
|
|
@@ -3514,7 +3425,7 @@ const headingStyle = {
|
|
|
3514
3425
|
"--color-fg": "var(--color-muted-fg)"
|
|
3515
3426
|
}
|
|
3516
3427
|
};
|
|
3517
|
-
for (const size of FONT_LABEL_SIZE)
|
|
3428
|
+
for (const size of theme.FONT_LABEL_SIZE)
|
|
3518
3429
|
_responsiveRule(primitive$c, `label-${size}`, {
|
|
3519
3430
|
"--font-size": `var(--font-label-${size}-size)`,
|
|
3520
3431
|
"--font-line-height": `var(--font-label-${size}-line-height)`,
|
|
@@ -3794,15 +3705,11 @@ const labelStyle = {
|
|
|
3794
3705
|
}
|
|
3795
3706
|
}
|
|
3796
3707
|
},
|
|
3797
|
-
// 'text-accent': {
|
|
3798
|
-
// '--color-fg': 'var(--color-accent-fg)',
|
|
3799
|
-
// },
|
|
3800
3708
|
".text-muted": {
|
|
3801
3709
|
color: "var(--color-muted-fg)"
|
|
3802
|
-
// '--color-fg': 'var(--color-tinted-default-fg-4)',
|
|
3803
3710
|
}
|
|
3804
3711
|
};
|
|
3805
|
-
for (const size of FONT_TEXT_SIZE)
|
|
3712
|
+
for (const size of theme.FONT_TEXT_SIZE)
|
|
3806
3713
|
_responsiveRule(primitive$5, `text-${size}`, {
|
|
3807
3714
|
"--font-size": `var(--font-text-${size}-size)`,
|
|
3808
3715
|
"--font-line-height": `var(--font-text-${size}-line-height)`,
|
|
@@ -3859,126 +3766,7 @@ const textStyle = {
|
|
|
3859
3766
|
}
|
|
3860
3767
|
}
|
|
3861
3768
|
},
|
|
3862
|
-
".text-input-presentation": {
|
|
3863
|
-
// position: 'absolute',
|
|
3864
|
-
// top: 0,
|
|
3865
|
-
// left: 0,
|
|
3866
|
-
// right: 0,
|
|
3867
|
-
// bottom: 0,
|
|
3868
|
-
// display: 'block',
|
|
3869
|
-
// pointerEvents: 'none',
|
|
3870
|
-
// zIndex: 0,
|
|
3871
|
-
// backgroundColor: 'var(--input-bg-color)',
|
|
3872
|
-
// 'boxShadow': 'var(--input-box-shadow)',
|
|
3873
|
-
// '--input-border-color': 'var(--color-input-default-enabled-border)',
|
|
3874
|
-
// '--input-border-color': 'var(--color-tinted-default-border-1)',
|
|
3875
|
-
// '--input-box-shadow': 'inset 0 0 0 1px var(--input-border-color)',
|
|
3876
|
-
// border-top-left-radius: ${$hasPrefix ? 0 : undefined};
|
|
3877
|
-
// border-bottom-left-radius: ${$hasPrefix ? 0 : undefined};
|
|
3878
|
-
// border-top-right-radius: ${$hasSuffix ? 0 : undefined};
|
|
3879
|
-
// border-bottom-right-radius: ${$hasSuffix ? 0 : undefined};
|
|
3880
|
-
// '@nest': {
|
|
3881
|
-
// 'input:hover + &': {
|
|
3882
|
-
// '--input-border-color': 'var(--color-tinted-default-border-2)',
|
|
3883
|
-
// },
|
|
3884
|
-
// 'input:focus + &': {
|
|
3885
|
-
// '--input-border-color': 'var(--color-tinted-default-border-2)',
|
|
3886
|
-
// },
|
|
3887
|
-
// },
|
|
3888
|
-
// &[data-scheme='${$scheme}'][data-tone='${$tone}'] {
|
|
3889
|
-
// --card-bg-color: ${color.input.default.enabled.bg};
|
|
3890
|
-
// --card-fg-color: ${color.input.default.enabled.fg};
|
|
3891
|
-
// /* enabled */
|
|
3892
|
-
// *:not(:disabled) + &[data-border] {
|
|
3893
|
-
// --input-box-shadow: ${focusRingBorderStyle({
|
|
3894
|
-
// color: color.input.default.enabled.border,
|
|
3895
|
-
// width: input.border.width,
|
|
3896
|
-
// })};
|
|
3897
|
-
// }
|
|
3898
|
-
// /* invalid */
|
|
3899
|
-
// *:not(:disabled):invalid + & {
|
|
3900
|
-
// --card-bg-color: ${color.input.invalid.enabled.bg};
|
|
3901
|
-
// --card-fg-color: ${color.input.invalid.enabled.fg};
|
|
3902
|
-
// &[data-border] {
|
|
3903
|
-
// --input-box-shadow: ${focusRingBorderStyle({
|
|
3904
|
-
// color: color.input.invalid.enabled.border,
|
|
3905
|
-
// width: input.border.width,
|
|
3906
|
-
// })};
|
|
3907
|
-
// }
|
|
3908
|
-
// }
|
|
3909
|
-
// /* focused */
|
|
3910
|
-
// *:not(:disabled):focus + & {
|
|
3911
|
-
// &[data-border] {
|
|
3912
|
-
// --input-box-shadow: ${$unstableDisableFocusRing
|
|
3913
|
-
// ? undefined
|
|
3914
|
-
// : focusRingStyle({
|
|
3915
|
-
// border: {color: color.input.default.enabled.border, width: input.border.width},
|
|
3916
|
-
// focusRing: input.text.focusRing,
|
|
3917
|
-
// })};
|
|
3918
|
-
// }
|
|
3919
|
-
// &:not([data-border]) {
|
|
3920
|
-
// --input-box-shadow: ${$unstableDisableFocusRing
|
|
3921
|
-
// ? undefined
|
|
3922
|
-
// : focusRingStyle({focusRing: input.text.focusRing})};
|
|
3923
|
-
// }
|
|
3924
|
-
// }
|
|
3925
|
-
// /* disabled */
|
|
3926
|
-
// *:not(:invalid):disabled + & {
|
|
3927
|
-
// --card-bg-color: ${color.input.default.disabled.bg} !important;
|
|
3928
|
-
// --card-fg-color: ${color.input.default.disabled.fg} !important;
|
|
3929
|
-
// --card-icon-color: ${color.input.default.disabled.fg} !important;
|
|
3930
|
-
// &[data-border] {
|
|
3931
|
-
// --input-box-shadow: ${focusRingBorderStyle({
|
|
3932
|
-
// color: color.input.default.disabled.border,
|
|
3933
|
-
// width: input.border.width,
|
|
3934
|
-
// })};
|
|
3935
|
-
// }
|
|
3936
|
-
// }
|
|
3937
|
-
// *:invalid:disabled + & {
|
|
3938
|
-
// --card-bg-color: ${color.input.invalid.disabled.bg} !important;
|
|
3939
|
-
// --card-fg-color: ${color.input.invalid.disabled.fg} !important;
|
|
3940
|
-
// --card-icon-color: ${color.input.invalid.disabled.fg} !important;
|
|
3941
|
-
// &[data-border] {
|
|
3942
|
-
// --input-box-shadow: ${focusRingBorderStyle({
|
|
3943
|
-
// color: color.input.invalid.disabled.border,
|
|
3944
|
-
// width: input.border.width,
|
|
3945
|
-
// })};
|
|
3946
|
-
// }
|
|
3947
|
-
// }
|
|
3948
|
-
// /* readOnly */
|
|
3949
|
-
// *:not(:invalid):read-only + & {
|
|
3950
|
-
// --card-bg-color: ${color.input.default.readOnly.bg} !important;
|
|
3951
|
-
// --card-fg-color: ${color.input.default.readOnly.fg} !important;
|
|
3952
|
-
// }
|
|
3953
|
-
// *:invalid:read-only + & {
|
|
3954
|
-
// --card-bg-color: ${color.input.invalid.readOnly.bg} !important;
|
|
3955
|
-
// --card-fg-color: ${color.input.invalid.readOnly.fg} !important;
|
|
3956
|
-
// }
|
|
3957
|
-
// /* hovered */
|
|
3958
|
-
// @media (hover: hover) {
|
|
3959
|
-
// *:not(:disabled):not(:read-only):not(:invalid):hover + & {
|
|
3960
|
-
// --card-bg-color: ${color.input.default.hovered.bg};
|
|
3961
|
-
// --card-fg-color: ${color.input.default.hovered.fg};
|
|
3962
|
-
// }
|
|
3963
|
-
// *:invalid:not(:disabled):not(:read-only):hover + & {
|
|
3964
|
-
// --card-bg-color: ${color.input.invalid.hovered.bg};
|
|
3965
|
-
// --card-fg-color: ${color.input.invalid.hovered.fg};
|
|
3966
|
-
// }
|
|
3967
|
-
// *:not(:disabled):not(:read-only):not(:invalid):not(:focus):hover + &[data-border] {
|
|
3968
|
-
// --input-box-shadow: ${focusRingBorderStyle({
|
|
3969
|
-
// color: color.input.default.hovered.border,
|
|
3970
|
-
// width: input.border.width,
|
|
3971
|
-
// })};
|
|
3972
|
-
// }
|
|
3973
|
-
// *:invalid:not(:disabled):not(:read-only):not(:focus):hover + &[data-border] {
|
|
3974
|
-
// --input-box-shadow: ${focusRingBorderStyle({
|
|
3975
|
-
// color: color.input.invalid.hovered.border,
|
|
3976
|
-
// width: input.border.width,
|
|
3977
|
-
// })};
|
|
3978
|
-
// }
|
|
3979
|
-
// }
|
|
3980
|
-
// }
|
|
3981
|
-
}
|
|
3769
|
+
".text-input-presentation": {}
|
|
3982
3770
|
}, textInputStyle = {
|
|
3983
3771
|
layers: {
|
|
3984
3772
|
primitive: primitive$3
|
|
@@ -4140,6 +3928,7 @@ const textStyle = {
|
|
|
4140
3928
|
{
|
|
4141
3929
|
// define order of layers
|
|
4142
3930
|
layers: {
|
|
3931
|
+
palette: {},
|
|
4143
3932
|
theme: {},
|
|
4144
3933
|
base: {},
|
|
4145
3934
|
util: {},
|
|
@@ -4179,6 +3968,7 @@ const textStyle = {
|
|
|
4179
3968
|
positionStyle,
|
|
4180
3969
|
radiusStyle,
|
|
4181
3970
|
shadowStyle,
|
|
3971
|
+
textAlignStyle,
|
|
4182
3972
|
textOverflowStyle,
|
|
4183
3973
|
widthStyle,
|
|
4184
3974
|
// utils
|
|
@@ -4219,69 +4009,70 @@ const textStyle = {
|
|
|
4219
4009
|
toastStyle,
|
|
4220
4010
|
treeStyle
|
|
4221
4011
|
]);
|
|
4222
|
-
function
|
|
4012
|
+
function _compileSystem() {
|
|
4223
4013
|
return _compileStyle(_systemStyle);
|
|
4224
4014
|
}
|
|
4225
4015
|
const THEME_COLOR_SCHEMES = ["dark", "light"], THEME_COLOR_VARIANTS = ["tinted", "solid"];
|
|
4226
|
-
function
|
|
4016
|
+
function _compileTheme_v3(theme2) {
|
|
4227
4017
|
return _compileStyle({
|
|
4228
4018
|
layers: {
|
|
4229
4019
|
theme: {
|
|
4230
|
-
":root": compileThemeProperties(
|
|
4020
|
+
":root": compileThemeProperties(theme2)
|
|
4231
4021
|
}
|
|
4232
4022
|
}
|
|
4233
4023
|
});
|
|
4234
4024
|
}
|
|
4235
|
-
function compileThemeProperties(
|
|
4025
|
+
function compileThemeProperties(theme2) {
|
|
4236
4026
|
return {
|
|
4237
|
-
...buildAvatarThemeProperties(
|
|
4238
|
-
...buildButtonThemeProperties(
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
...
|
|
4242
|
-
...
|
|
4243
|
-
...
|
|
4244
|
-
...
|
|
4245
|
-
...
|
|
4246
|
-
...
|
|
4247
|
-
...
|
|
4248
|
-
...
|
|
4249
|
-
...
|
|
4027
|
+
...buildAvatarThemeProperties(theme2),
|
|
4028
|
+
...buildButtonThemeProperties(theme2),
|
|
4029
|
+
// card
|
|
4030
|
+
[varNames.card.shadow.outline]: px(theme2.card.shadow.outline),
|
|
4031
|
+
...buildColorThemeProperties(theme2),
|
|
4032
|
+
...buildContainerThemeProperties(theme2),
|
|
4033
|
+
...buildFontCodeThemeProperties(theme2),
|
|
4034
|
+
...buildFontHeadingThemeProperties(theme2),
|
|
4035
|
+
...buildFontLabelThemeProperties(theme2),
|
|
4036
|
+
...buildFontTextThemeProperties(theme2),
|
|
4037
|
+
...buildInputThemeProperties(theme2),
|
|
4038
|
+
...buildRadiusThemeProperties(theme2),
|
|
4039
|
+
...buildShadowThemeProperties(theme2),
|
|
4040
|
+
...buildSpaceThemeProperties(theme2)
|
|
4250
4041
|
};
|
|
4251
4042
|
}
|
|
4252
|
-
function buildAvatarThemeProperties(
|
|
4043
|
+
function buildAvatarThemeProperties(theme2) {
|
|
4253
4044
|
return {
|
|
4254
|
-
[varNames.avatar.focusRing.offset]: px(
|
|
4255
|
-
[varNames.avatar.focusRing.width]: px(
|
|
4256
|
-
[varNames.avatar.sizes[0].distance]: rem(
|
|
4257
|
-
[varNames.avatar.sizes[0].size]: rem(
|
|
4258
|
-
[varNames.avatar.sizes[1].distance]: rem(
|
|
4259
|
-
[varNames.avatar.sizes[1].size]: rem(
|
|
4260
|
-
[varNames.avatar.sizes[2].distance]: rem(
|
|
4261
|
-
[varNames.avatar.sizes[2].size]: rem(
|
|
4262
|
-
[varNames.avatar.sizes[3].distance]: rem(
|
|
4263
|
-
[varNames.avatar.sizes[3].size]: rem(
|
|
4045
|
+
[varNames.avatar.focusRing.offset]: px(theme2.avatar.focusRing.offset),
|
|
4046
|
+
[varNames.avatar.focusRing.width]: px(theme2.avatar.focusRing.width),
|
|
4047
|
+
[varNames.avatar.sizes[0].distance]: rem(theme2.avatar.sizes[0].distance),
|
|
4048
|
+
[varNames.avatar.sizes[0].size]: rem(theme2.avatar.sizes[0].size),
|
|
4049
|
+
[varNames.avatar.sizes[1].distance]: rem(theme2.avatar.sizes[1].distance),
|
|
4050
|
+
[varNames.avatar.sizes[1].size]: rem(theme2.avatar.sizes[1].size),
|
|
4051
|
+
[varNames.avatar.sizes[2].distance]: rem(theme2.avatar.sizes[2].distance),
|
|
4052
|
+
[varNames.avatar.sizes[2].size]: rem(theme2.avatar.sizes[2].size),
|
|
4053
|
+
[varNames.avatar.sizes[3].distance]: rem(theme2.avatar.sizes[3].distance),
|
|
4054
|
+
[varNames.avatar.sizes[3].size]: rem(theme2.avatar.sizes[3].size)
|
|
4264
4055
|
};
|
|
4265
4056
|
}
|
|
4266
|
-
function buildButtonThemeProperties(
|
|
4057
|
+
function buildButtonThemeProperties(theme2) {
|
|
4267
4058
|
return {
|
|
4268
|
-
[varNames.button.border.width]: px(
|
|
4269
|
-
[varNames.button.focusRing.offset]: px(
|
|
4270
|
-
[varNames.button.focusRing.width]: px(
|
|
4059
|
+
[varNames.button.border.width]: px(theme2.button.border.width),
|
|
4060
|
+
[varNames.button.focusRing.offset]: px(theme2.button.focusRing.offset),
|
|
4061
|
+
[varNames.button.focusRing.width]: px(theme2.button.focusRing.width)
|
|
4271
4062
|
};
|
|
4272
4063
|
}
|
|
4273
|
-
function buildContainerThemeProperties(
|
|
4064
|
+
function buildContainerThemeProperties(theme2) {
|
|
4274
4065
|
return {
|
|
4275
|
-
[varNames.container[0]]: rem(
|
|
4276
|
-
[varNames.container[1]]: rem(
|
|
4277
|
-
[varNames.container[2]]: rem(
|
|
4278
|
-
[varNames.container[3]]: rem(
|
|
4279
|
-
[varNames.container[4]]: rem(
|
|
4280
|
-
[varNames.container[5]]: rem(
|
|
4066
|
+
[varNames.container[0]]: rem(theme2.container[0]),
|
|
4067
|
+
[varNames.container[1]]: rem(theme2.container[1]),
|
|
4068
|
+
[varNames.container[2]]: rem(theme2.container[2]),
|
|
4069
|
+
[varNames.container[3]]: rem(theme2.container[3]),
|
|
4070
|
+
[varNames.container[4]]: rem(theme2.container[4]),
|
|
4071
|
+
[varNames.container[5]]: rem(theme2.container[5])
|
|
4281
4072
|
};
|
|
4282
4073
|
}
|
|
4283
|
-
function buildFontCodeThemeProperties(theme) {
|
|
4284
|
-
const v = varNames.font.code, t = theme.font.code, props = {
|
|
4074
|
+
function buildFontCodeThemeProperties(theme$1) {
|
|
4075
|
+
const v = varNames.font.code, t = theme$1.font.code, props = {
|
|
4285
4076
|
[v.family]: t.family,
|
|
4286
4077
|
[v.featureSettings]: t.featureSettings || "normal",
|
|
4287
4078
|
[v.weights.regular]: t.weights.regular,
|
|
@@ -4289,14 +4080,14 @@ function buildFontCodeThemeProperties(theme) {
|
|
|
4289
4080
|
[v.weights.semibold]: t.weights.semibold,
|
|
4290
4081
|
[v.weights.bold]: t.weights.bold
|
|
4291
4082
|
};
|
|
4292
|
-
for (const size of FONT_CODE_SIZE) {
|
|
4293
|
-
const _v = varNames.font.code.sizes[size], _t = theme.font.code.sizes[size];
|
|
4083
|
+
for (const size of theme.FONT_CODE_SIZE) {
|
|
4084
|
+
const _v = varNames.font.code.sizes[size], _t = theme$1.font.code.sizes[size];
|
|
4294
4085
|
props[_v.fontSize] = rem(_t.fontSize), props[_v.lineHeight] = rem(_t.lineHeight), props[_v.ascenderHeight] = rem(_t.ascenderHeight), props[_v.descenderHeight] = rem(_t.descenderHeight), props[_v.letterSpacing] = rem(_t.letterSpacing), props[_v.iconSize] = rem(_t.iconSize);
|
|
4295
4086
|
}
|
|
4296
4087
|
return props;
|
|
4297
4088
|
}
|
|
4298
|
-
function buildFontHeadingThemeProperties(theme) {
|
|
4299
|
-
const v = varNames.font.heading, t = theme.font.heading, props = {
|
|
4089
|
+
function buildFontHeadingThemeProperties(theme$1) {
|
|
4090
|
+
const v = varNames.font.heading, t = theme$1.font.heading, props = {
|
|
4300
4091
|
[v.family]: t.family,
|
|
4301
4092
|
[v.featureSettings]: t.featureSettings,
|
|
4302
4093
|
[v.weights.regular]: t.weights.regular,
|
|
@@ -4304,14 +4095,14 @@ function buildFontHeadingThemeProperties(theme) {
|
|
|
4304
4095
|
[v.weights.semibold]: t.weights.semibold,
|
|
4305
4096
|
[v.weights.bold]: t.weights.bold
|
|
4306
4097
|
};
|
|
4307
|
-
for (const size of FONT_HEADING_SIZE) {
|
|
4098
|
+
for (const size of theme.FONT_HEADING_SIZE) {
|
|
4308
4099
|
const _v = v.sizes[size], _t = t.sizes[size];
|
|
4309
4100
|
props[_v.fontSize] = rem(_t.fontSize), props[_v.lineHeight] = rem(_t.lineHeight), props[_v.ascenderHeight] = rem(_t.ascenderHeight), props[_v.descenderHeight] = rem(_t.descenderHeight), props[_v.letterSpacing] = rem(_t.letterSpacing), props[_v.iconSize] = rem(_t.iconSize);
|
|
4310
4101
|
}
|
|
4311
4102
|
return props;
|
|
4312
4103
|
}
|
|
4313
|
-
function buildFontLabelThemeProperties(theme) {
|
|
4314
|
-
const v = varNames.font.label, t = theme.font.label, props = {
|
|
4104
|
+
function buildFontLabelThemeProperties(theme$1) {
|
|
4105
|
+
const v = varNames.font.label, t = theme$1.font.label, props = {
|
|
4315
4106
|
[v.family]: t.family,
|
|
4316
4107
|
[v.featureSettings]: t.featureSettings,
|
|
4317
4108
|
[v.weights.regular]: t.weights.regular,
|
|
@@ -4319,14 +4110,14 @@ function buildFontLabelThemeProperties(theme) {
|
|
|
4319
4110
|
[v.weights.semibold]: t.weights.semibold,
|
|
4320
4111
|
[v.weights.bold]: t.weights.bold
|
|
4321
4112
|
};
|
|
4322
|
-
for (const size of FONT_LABEL_SIZE) {
|
|
4113
|
+
for (const size of theme.FONT_LABEL_SIZE) {
|
|
4323
4114
|
const _v = v.sizes[size], _t = t.sizes[size];
|
|
4324
4115
|
props[_v.fontSize] = rem(_t.fontSize), props[_v.lineHeight] = rem(_t.lineHeight), props[_v.ascenderHeight] = rem(_t.ascenderHeight), props[_v.descenderHeight] = rem(_t.descenderHeight), props[_v.letterSpacing] = rem(_t.letterSpacing), props[_v.iconSize] = rem(_t.iconSize);
|
|
4325
4116
|
}
|
|
4326
4117
|
return props;
|
|
4327
4118
|
}
|
|
4328
|
-
function buildFontTextThemeProperties(theme) {
|
|
4329
|
-
const v = varNames.font.text, t = theme.font.text, props = {
|
|
4119
|
+
function buildFontTextThemeProperties(theme$1) {
|
|
4120
|
+
const v = varNames.font.text, t = theme$1.font.text, props = {
|
|
4330
4121
|
[v.family]: t.family,
|
|
4331
4122
|
[v.featureSettings]: t.featureSettings,
|
|
4332
4123
|
[v.weights.regular]: t.weights.regular,
|
|
@@ -4334,208 +4125,301 @@ function buildFontTextThemeProperties(theme) {
|
|
|
4334
4125
|
[v.weights.semibold]: t.weights.semibold,
|
|
4335
4126
|
[v.weights.bold]: t.weights.bold
|
|
4336
4127
|
};
|
|
4337
|
-
for (const size of FONT_TEXT_SIZE) {
|
|
4128
|
+
for (const size of theme.FONT_TEXT_SIZE) {
|
|
4338
4129
|
const _v = v.sizes[size], _t = t.sizes[size];
|
|
4339
4130
|
props[_v.fontSize] = rem(_t.fontSize), props[_v.lineHeight] = rem(_t.lineHeight), props[_v.ascenderHeight] = rem(_t.ascenderHeight), props[_v.descenderHeight] = rem(_t.descenderHeight), props[_v.letterSpacing] = rem(_t.letterSpacing), props[_v.iconSize] = rem(_t.iconSize);
|
|
4340
4131
|
}
|
|
4341
4132
|
return props;
|
|
4342
4133
|
}
|
|
4343
|
-
function buildInputThemeProperties(
|
|
4134
|
+
function buildInputThemeProperties(theme2) {
|
|
4344
4135
|
return {
|
|
4345
|
-
[varNames.input.border.width]: px(
|
|
4346
|
-
[varNames.input.checkbox.focusRing.offset]: px(
|
|
4347
|
-
[varNames.input.checkbox.focusRing.width]: px(
|
|
4348
|
-
[varNames.input.checkbox.size]: rem(
|
|
4349
|
-
[varNames.input.radio.focusRing.offset]: px(
|
|
4350
|
-
[varNames.input.radio.focusRing.width]: px(
|
|
4351
|
-
[varNames.input.radio.markSize]: rem(
|
|
4352
|
-
[varNames.input.radio.size]: rem(
|
|
4353
|
-
[varNames.input.select.focusRing.offset]: px(
|
|
4354
|
-
[varNames.input.select.focusRing.width]: px(
|
|
4355
|
-
[varNames.input.switch.focusRing.offset]: px(
|
|
4356
|
-
[varNames.input.switch.focusRing.width]: px(
|
|
4357
|
-
[varNames.input.switch.height]: rem(
|
|
4358
|
-
[varNames.input.switch.padding]: rem(
|
|
4359
|
-
[varNames.input.switch.transitionDurationMs]: `${
|
|
4360
|
-
[varNames.input.switch.transitionTimingFunction]:
|
|
4361
|
-
[varNames.input.switch.width]: rem(
|
|
4362
|
-
[varNames.input.text.focusRing.offset]: px(
|
|
4363
|
-
[varNames.input.text.focusRing.width]: px(
|
|
4136
|
+
[varNames.input.border.width]: px(theme2.input.border.width),
|
|
4137
|
+
[varNames.input.checkbox.focusRing.offset]: px(theme2.input.checkbox.focusRing.offset),
|
|
4138
|
+
[varNames.input.checkbox.focusRing.width]: px(theme2.input.checkbox.focusRing.width),
|
|
4139
|
+
[varNames.input.checkbox.size]: rem(theme2.input.checkbox.size),
|
|
4140
|
+
[varNames.input.radio.focusRing.offset]: px(theme2.input.radio.focusRing.offset),
|
|
4141
|
+
[varNames.input.radio.focusRing.width]: px(theme2.input.radio.focusRing.width),
|
|
4142
|
+
[varNames.input.radio.markSize]: rem(theme2.input.radio.markSize),
|
|
4143
|
+
[varNames.input.radio.size]: rem(theme2.input.radio.size),
|
|
4144
|
+
[varNames.input.select.focusRing.offset]: px(theme2.input.select.focusRing.offset),
|
|
4145
|
+
[varNames.input.select.focusRing.width]: px(theme2.input.select.focusRing.width),
|
|
4146
|
+
[varNames.input.switch.focusRing.offset]: px(theme2.input.switch.focusRing.offset),
|
|
4147
|
+
[varNames.input.switch.focusRing.width]: px(theme2.input.switch.focusRing.width),
|
|
4148
|
+
[varNames.input.switch.height]: rem(theme2.input.switch.height),
|
|
4149
|
+
[varNames.input.switch.padding]: rem(theme2.input.switch.padding),
|
|
4150
|
+
[varNames.input.switch.transitionDurationMs]: `${theme2.input.switch.transitionDurationMs}ms`,
|
|
4151
|
+
[varNames.input.switch.transitionTimingFunction]: theme2.input.switch.transitionTimingFunction,
|
|
4152
|
+
[varNames.input.switch.width]: rem(theme2.input.switch.width),
|
|
4153
|
+
[varNames.input.text.focusRing.offset]: px(theme2.input.text.focusRing.offset),
|
|
4154
|
+
[varNames.input.text.focusRing.width]: px(theme2.input.text.focusRing.width)
|
|
4364
4155
|
};
|
|
4365
4156
|
}
|
|
4366
|
-
function buildRadiusThemeProperties(
|
|
4157
|
+
function buildRadiusThemeProperties(theme2) {
|
|
4367
4158
|
return {
|
|
4368
|
-
[varNames.radius[0]]: px(
|
|
4369
|
-
[varNames.radius[1]]: px(
|
|
4370
|
-
[varNames.radius[2]]: px(
|
|
4371
|
-
[varNames.radius[3]]: px(
|
|
4372
|
-
[varNames.radius[4]]: px(
|
|
4373
|
-
[varNames.radius[5]]: px(
|
|
4374
|
-
[varNames.radius[6]]: px(
|
|
4159
|
+
[varNames.radius[0]]: px(theme2.radius[0]),
|
|
4160
|
+
[varNames.radius[1]]: px(theme2.radius[1]),
|
|
4161
|
+
[varNames.radius[2]]: px(theme2.radius[2]),
|
|
4162
|
+
[varNames.radius[3]]: px(theme2.radius[3]),
|
|
4163
|
+
[varNames.radius[4]]: px(theme2.radius[4]),
|
|
4164
|
+
[varNames.radius[5]]: px(theme2.radius[5]),
|
|
4165
|
+
[varNames.radius[6]]: px(theme2.radius[6])
|
|
4375
4166
|
};
|
|
4376
4167
|
}
|
|
4377
|
-
function buildShadowThemeProperties(
|
|
4168
|
+
function buildShadowThemeProperties(theme2) {
|
|
4378
4169
|
return {
|
|
4379
|
-
[varNames.shadow[0].umbra]: toBoxShadow(
|
|
4380
|
-
[varNames.shadow[0].penumbra]: toBoxShadow(
|
|
4381
|
-
[varNames.shadow[0].ambient]: toBoxShadow(
|
|
4382
|
-
[varNames.shadow[1].umbra]: toBoxShadow(
|
|
4383
|
-
[varNames.shadow[1].penumbra]: toBoxShadow(
|
|
4384
|
-
[varNames.shadow[1].ambient]: toBoxShadow(
|
|
4385
|
-
[varNames.shadow[2].umbra]: toBoxShadow(
|
|
4386
|
-
[varNames.shadow[2].penumbra]: toBoxShadow(
|
|
4387
|
-
[varNames.shadow[2].ambient]: toBoxShadow(
|
|
4388
|
-
[varNames.shadow[3].umbra]: toBoxShadow(
|
|
4389
|
-
[varNames.shadow[3].penumbra]: toBoxShadow(
|
|
4390
|
-
[varNames.shadow[3].ambient]: toBoxShadow(
|
|
4391
|
-
[varNames.shadow[4].umbra]: toBoxShadow(
|
|
4392
|
-
[varNames.shadow[4].penumbra]: toBoxShadow(
|
|
4393
|
-
[varNames.shadow[4].ambient]: toBoxShadow(
|
|
4394
|
-
[varNames.shadow[5].umbra]: toBoxShadow(
|
|
4395
|
-
[varNames.shadow[5].penumbra]: toBoxShadow(
|
|
4396
|
-
[varNames.shadow[5].ambient]: toBoxShadow(
|
|
4170
|
+
[varNames.shadow[0].umbra]: toBoxShadow(theme2.shadow[0]?.umbra),
|
|
4171
|
+
[varNames.shadow[0].penumbra]: toBoxShadow(theme2.shadow[0]?.penumbra),
|
|
4172
|
+
[varNames.shadow[0].ambient]: toBoxShadow(theme2.shadow[0]?.ambient),
|
|
4173
|
+
[varNames.shadow[1].umbra]: toBoxShadow(theme2.shadow[1]?.umbra),
|
|
4174
|
+
[varNames.shadow[1].penumbra]: toBoxShadow(theme2.shadow[1]?.penumbra),
|
|
4175
|
+
[varNames.shadow[1].ambient]: toBoxShadow(theme2.shadow[1]?.ambient),
|
|
4176
|
+
[varNames.shadow[2].umbra]: toBoxShadow(theme2.shadow[2]?.umbra),
|
|
4177
|
+
[varNames.shadow[2].penumbra]: toBoxShadow(theme2.shadow[2]?.penumbra),
|
|
4178
|
+
[varNames.shadow[2].ambient]: toBoxShadow(theme2.shadow[2]?.ambient),
|
|
4179
|
+
[varNames.shadow[3].umbra]: toBoxShadow(theme2.shadow[3]?.umbra),
|
|
4180
|
+
[varNames.shadow[3].penumbra]: toBoxShadow(theme2.shadow[3]?.penumbra),
|
|
4181
|
+
[varNames.shadow[3].ambient]: toBoxShadow(theme2.shadow[3]?.ambient),
|
|
4182
|
+
[varNames.shadow[4].umbra]: toBoxShadow(theme2.shadow[4]?.umbra),
|
|
4183
|
+
[varNames.shadow[4].penumbra]: toBoxShadow(theme2.shadow[4]?.penumbra),
|
|
4184
|
+
[varNames.shadow[4].ambient]: toBoxShadow(theme2.shadow[4]?.ambient),
|
|
4185
|
+
[varNames.shadow[5].umbra]: toBoxShadow(theme2.shadow[5]?.umbra),
|
|
4186
|
+
[varNames.shadow[5].penumbra]: toBoxShadow(theme2.shadow[5]?.penumbra),
|
|
4187
|
+
[varNames.shadow[5].ambient]: toBoxShadow(theme2.shadow[5]?.ambient)
|
|
4397
4188
|
};
|
|
4398
4189
|
}
|
|
4399
|
-
function buildSpaceThemeProperties(
|
|
4190
|
+
function buildSpaceThemeProperties(theme2) {
|
|
4400
4191
|
return {
|
|
4401
|
-
[varNames.space[0]]: px(
|
|
4402
|
-
[varNames.space[0.5]]: px(
|
|
4403
|
-
[varNames.space[1]]: px(
|
|
4404
|
-
[varNames.space[2]]: px(
|
|
4405
|
-
[varNames.space[3]]: px(
|
|
4406
|
-
[varNames.space[4]]: px(
|
|
4407
|
-
[varNames.space[5]]: px(
|
|
4408
|
-
[varNames.space[6]]: px(
|
|
4409
|
-
[varNames.space[7]]: px(
|
|
4410
|
-
[varNames.space[8]]: px(
|
|
4411
|
-
[varNames.space[9]]: px(
|
|
4192
|
+
[varNames.space[0]]: px(theme2.space[0]),
|
|
4193
|
+
[varNames.space[0.5]]: px(theme2.space[1] / 2),
|
|
4194
|
+
[varNames.space[1]]: px(theme2.space[1]),
|
|
4195
|
+
[varNames.space[2]]: px(theme2.space[2]),
|
|
4196
|
+
[varNames.space[3]]: px(theme2.space[3]),
|
|
4197
|
+
[varNames.space[4]]: px(theme2.space[4]),
|
|
4198
|
+
[varNames.space[5]]: px(theme2.space[5]),
|
|
4199
|
+
[varNames.space[6]]: px(theme2.space[6]),
|
|
4200
|
+
[varNames.space[7]]: px(theme2.space[7]),
|
|
4201
|
+
[varNames.space[8]]: px(theme2.space[8]),
|
|
4202
|
+
[varNames.space[9]]: px(theme2.space[9])
|
|
4412
4203
|
};
|
|
4413
4204
|
}
|
|
4414
|
-
function buildColorThemeProperties(theme) {
|
|
4205
|
+
function buildColorThemeProperties(theme$1) {
|
|
4415
4206
|
const props = {};
|
|
4416
4207
|
for (const scheme of THEME_COLOR_SCHEMES)
|
|
4417
|
-
for (const cardTone of THEME_COLOR_CARD_TONES) {
|
|
4418
|
-
Object.assign(props, buildColorAvatarThemeProperties(theme, {
|
|
4208
|
+
for (const cardTone of theme.THEME_COLOR_CARD_TONES) {
|
|
4209
|
+
Object.assign(props, buildColorAvatarThemeProperties(theme$1, {
|
|
4419
4210
|
scheme,
|
|
4420
4211
|
cardTone
|
|
4421
|
-
})), Object.assign(props, buildColorCardThemeProperties(theme, {
|
|
4212
|
+
})), Object.assign(props, buildColorCardThemeProperties(theme$1, {
|
|
4422
4213
|
scheme,
|
|
4423
4214
|
cardTone
|
|
4424
4215
|
}));
|
|
4425
4216
|
for (const colorVariant of THEME_COLOR_VARIANTS)
|
|
4426
|
-
for (const elementTone of THEME_COLOR_STATE_TONES) {
|
|
4427
|
-
const v = varNames.color[scheme][cardTone][colorVariant][elementTone], t = theme._tokens.color[cardTone].variant[colorVariant][elementTone], context = {
|
|
4217
|
+
for (const elementTone of theme.THEME_COLOR_STATE_TONES) {
|
|
4218
|
+
const v = varNames.color[scheme][cardTone][colorVariant][elementTone], t = theme$1._tokens.color[cardTone].variant[colorVariant][elementTone], context = {
|
|
4219
|
+
bgValue: "transparent",
|
|
4428
4220
|
bgVar: v.bg[0],
|
|
4429
4221
|
hue: t._hue,
|
|
4430
4222
|
scheme
|
|
4431
4223
|
};
|
|
4432
4224
|
Object.assign(props, {
|
|
4433
|
-
[v.bg[0]]: renderColor(t.bg[0], context),
|
|
4225
|
+
[v.bg[0]]: theme.renderColor(t.bg[0], context),
|
|
4434
4226
|
[v.bg[1]]: `color-mix(in srgb, var(${v.bg[0]}), var(${v.bg[4]}) 25%)`,
|
|
4435
4227
|
[v.bg[2]]: `color-mix(in srgb, var(${v.bg[0]}), var(${v.bg[4]}) 50%)`,
|
|
4436
4228
|
[v.bg[3]]: `color-mix(in srgb, var(${v.bg[0]}), var(${v.bg[4]}) 75%)`,
|
|
4437
|
-
[v.bg[4]]: renderColor(t.bg[4], context),
|
|
4438
|
-
[v.border[0]]: renderColor(t.border[0], context),
|
|
4229
|
+
[v.bg[4]]: theme.renderColor(t.bg[4], context),
|
|
4230
|
+
[v.border[0]]: theme.renderColor(t.border[0], context),
|
|
4439
4231
|
[v.border[1]]: `color-mix(in srgb, var(${v.border[0]}), var(${v.border[4]}) 25%)`,
|
|
4440
4232
|
[v.border[2]]: `color-mix(in srgb, var(${v.border[0]}), var(${v.border[4]}) 50%)`,
|
|
4441
4233
|
[v.border[3]]: `color-mix(in srgb, var(${v.border[0]}), var(${v.border[4]}) 75%)`,
|
|
4442
|
-
[v.border[4]]: renderColor(t.border[4], context),
|
|
4443
|
-
[v.fg[0]]: renderColor(t.fg[0], context),
|
|
4234
|
+
[v.border[4]]: theme.renderColor(t.border[4], context),
|
|
4235
|
+
[v.fg[0]]: theme.renderColor(t.fg[0], context),
|
|
4444
4236
|
[v.fg[1]]: `color-mix(in srgb, var(${v.fg[0]}), var(${v.fg[4]}) 25%)`,
|
|
4445
4237
|
[v.fg[2]]: `color-mix(in srgb, var(${v.fg[0]}), var(${v.fg[4]}) 50%)`,
|
|
4446
4238
|
[v.fg[3]]: `color-mix(in srgb, var(${v.fg[0]}), var(${v.fg[4]}) 75%)`,
|
|
4447
|
-
[v.fg[4]]: renderColor(t.fg[4], context)
|
|
4239
|
+
[v.fg[4]]: theme.renderColor(t.fg[4], context)
|
|
4448
4240
|
});
|
|
4449
4241
|
}
|
|
4450
4242
|
}
|
|
4451
4243
|
return props;
|
|
4452
4244
|
}
|
|
4453
|
-
function buildColorAvatarThemeProperties(theme, options) {
|
|
4245
|
+
function buildColorAvatarThemeProperties(theme$1, options) {
|
|
4454
4246
|
const {
|
|
4455
4247
|
scheme,
|
|
4456
4248
|
cardTone
|
|
4457
|
-
} = options, v = varNames.color[scheme][cardTone], t = theme._tokens.color[cardTone], props = {};
|
|
4458
|
-
for (const hue of HUES) {
|
|
4249
|
+
} = options, v = varNames.color[scheme][cardTone], t = theme$1._tokens.color[cardTone], props = {};
|
|
4250
|
+
for (const hue of theme.HUES) {
|
|
4459
4251
|
const context = {
|
|
4252
|
+
bgValue: "transparent",
|
|
4460
4253
|
bgVar: varNames.color.bg,
|
|
4461
4254
|
hue: t.avatar[hue]._hue ?? hue,
|
|
4462
4255
|
scheme
|
|
4463
4256
|
};
|
|
4464
4257
|
Object.assign(props, {
|
|
4465
|
-
[v.avatar[hue].bg]: renderColor(t.avatar[hue].bg, context),
|
|
4466
|
-
[v.avatar[hue].fg]: renderColor(t.avatar[hue].fg, context)
|
|
4258
|
+
[v.avatar[hue].bg]: theme.renderColor(t.avatar[hue].bg, context),
|
|
4259
|
+
[v.avatar[hue].fg]: theme.renderColor(t.avatar[hue].fg, context)
|
|
4467
4260
|
});
|
|
4468
4261
|
}
|
|
4469
4262
|
return props;
|
|
4470
4263
|
}
|
|
4471
|
-
function buildColorCardThemeProperties(theme, options) {
|
|
4264
|
+
function buildColorCardThemeProperties(theme$1, options) {
|
|
4472
4265
|
const {
|
|
4473
4266
|
scheme,
|
|
4474
4267
|
cardTone
|
|
4475
|
-
} = options, v = varNames.color[scheme][cardTone], t = theme._tokens.color[cardTone], context = {
|
|
4268
|
+
} = options, v = varNames.color[scheme][cardTone], t = theme$1._tokens.color[cardTone], context = {
|
|
4269
|
+
bgValue: "transparent",
|
|
4476
4270
|
bgVar: varNames.color.bg,
|
|
4477
4271
|
hue: t._hue,
|
|
4478
4272
|
scheme
|
|
4479
4273
|
};
|
|
4480
4274
|
return {
|
|
4481
4275
|
// backdrop
|
|
4482
|
-
[v.backdrop]: renderColor(t.backdrop, context),
|
|
4276
|
+
[v.backdrop]: theme.renderColor(t.backdrop, context),
|
|
4483
4277
|
// code
|
|
4484
|
-
[v.code.bg]: renderColor(t.code.bg, context),
|
|
4485
|
-
[v.code.fg]: renderColor(t.code.fg, context),
|
|
4278
|
+
[v.code.bg]: theme.renderColor(t.code.bg, context),
|
|
4279
|
+
[v.code.fg]: theme.renderColor(t.code.fg, context),
|
|
4486
4280
|
// code / token
|
|
4487
|
-
[v.code.token.atrule]: renderColor(t.code.token.atrule, context),
|
|
4488
|
-
[v.code.token.attrName]: renderColor(t.code.token.attrName, context),
|
|
4489
|
-
[v.code.token.attrValue]: renderColor(t.code.token.attrValue, context),
|
|
4490
|
-
[v.code.token.attribute]: renderColor(t.code.token.attribute, context),
|
|
4491
|
-
[v.code.token.boolean]: renderColor(t.code.token.boolean, context),
|
|
4492
|
-
[v.code.token.builtin]: renderColor(t.code.token.builtin, context),
|
|
4493
|
-
[v.code.token.cdata]: renderColor(t.code.token.cdata, context),
|
|
4494
|
-
[v.code.token.char]: renderColor(t.code.token.char, context),
|
|
4495
|
-
[v.code.token.className]: renderColor(t.code.token.className, context),
|
|
4496
|
-
[v.code.token.class]: renderColor(t.code.token.class, context),
|
|
4497
|
-
[v.code.token.comment]: renderColor(t.code.token.comment, context),
|
|
4498
|
-
[v.code.token.constant]: renderColor(t.code.token.constant, context),
|
|
4499
|
-
[v.code.token.deleted]: renderColor(t.code.token.deleted, context),
|
|
4500
|
-
[v.code.token.doctype]: renderColor(t.code.token.doctype, context),
|
|
4501
|
-
[v.code.token.entity]: renderColor(t.code.token.entity, context),
|
|
4502
|
-
[v.code.token.function]: renderColor(t.code.token.function, context),
|
|
4503
|
-
[v.code.token.hexcode]: renderColor(t.code.token.hexcode, context),
|
|
4504
|
-
[v.code.token.id]: renderColor(t.code.token.id, context),
|
|
4505
|
-
[v.code.token.important]: renderColor(t.code.token.important, context),
|
|
4506
|
-
[v.code.token.inserted]: renderColor(t.code.token.inserted, context),
|
|
4507
|
-
[v.code.token.keyword]: renderColor(t.code.token.keyword, context),
|
|
4508
|
-
[v.code.token.number]: renderColor(t.code.token.number, context),
|
|
4509
|
-
[v.code.token.operator]: renderColor(t.code.token.operator, context),
|
|
4510
|
-
[v.code.token.prolog]: renderColor(t.code.token.prolog, context),
|
|
4511
|
-
[v.code.token.property]: renderColor(t.code.token.property, context),
|
|
4512
|
-
[v.code.token.pseudoClass]: renderColor(t.code.token.pseudoClass, context),
|
|
4513
|
-
[v.code.token.pseudoElement]: renderColor(t.code.token.pseudoElement, context),
|
|
4514
|
-
[v.code.token.punctuation]: renderColor(t.code.token.punctuation, context),
|
|
4515
|
-
[v.code.token.regex]: renderColor(t.code.token.regex, context),
|
|
4516
|
-
[v.code.token.selector]: renderColor(t.code.token.selector, context),
|
|
4517
|
-
[v.code.token.string]: renderColor(t.code.token.string, context),
|
|
4518
|
-
[v.code.token.symbol]: renderColor(t.code.token.symbol, context),
|
|
4519
|
-
[v.code.token.tag]: renderColor(t.code.token.tag, context),
|
|
4520
|
-
[v.code.token.unit]: renderColor(t.code.token.unit, context),
|
|
4521
|
-
[v.code.token.url]: renderColor(t.code.token.url, context),
|
|
4522
|
-
[v.code.token.variable]: renderColor(t.code.token.variable, context),
|
|
4281
|
+
[v.code.token.atrule]: theme.renderColor(t.code.token.atrule, context),
|
|
4282
|
+
[v.code.token.attrName]: theme.renderColor(t.code.token.attrName, context),
|
|
4283
|
+
[v.code.token.attrValue]: theme.renderColor(t.code.token.attrValue, context),
|
|
4284
|
+
[v.code.token.attribute]: theme.renderColor(t.code.token.attribute, context),
|
|
4285
|
+
[v.code.token.boolean]: theme.renderColor(t.code.token.boolean, context),
|
|
4286
|
+
[v.code.token.builtin]: theme.renderColor(t.code.token.builtin, context),
|
|
4287
|
+
[v.code.token.cdata]: theme.renderColor(t.code.token.cdata, context),
|
|
4288
|
+
[v.code.token.char]: theme.renderColor(t.code.token.char, context),
|
|
4289
|
+
[v.code.token.className]: theme.renderColor(t.code.token.className, context),
|
|
4290
|
+
[v.code.token.class]: theme.renderColor(t.code.token.class, context),
|
|
4291
|
+
[v.code.token.comment]: theme.renderColor(t.code.token.comment, context),
|
|
4292
|
+
[v.code.token.constant]: theme.renderColor(t.code.token.constant, context),
|
|
4293
|
+
[v.code.token.deleted]: theme.renderColor(t.code.token.deleted, context),
|
|
4294
|
+
[v.code.token.doctype]: theme.renderColor(t.code.token.doctype, context),
|
|
4295
|
+
[v.code.token.entity]: theme.renderColor(t.code.token.entity, context),
|
|
4296
|
+
[v.code.token.function]: theme.renderColor(t.code.token.function, context),
|
|
4297
|
+
[v.code.token.hexcode]: theme.renderColor(t.code.token.hexcode, context),
|
|
4298
|
+
[v.code.token.id]: theme.renderColor(t.code.token.id, context),
|
|
4299
|
+
[v.code.token.important]: theme.renderColor(t.code.token.important, context),
|
|
4300
|
+
[v.code.token.inserted]: theme.renderColor(t.code.token.inserted, context),
|
|
4301
|
+
[v.code.token.keyword]: theme.renderColor(t.code.token.keyword, context),
|
|
4302
|
+
[v.code.token.number]: theme.renderColor(t.code.token.number, context),
|
|
4303
|
+
[v.code.token.operator]: theme.renderColor(t.code.token.operator, context),
|
|
4304
|
+
[v.code.token.prolog]: theme.renderColor(t.code.token.prolog, context),
|
|
4305
|
+
[v.code.token.property]: theme.renderColor(t.code.token.property, context),
|
|
4306
|
+
[v.code.token.pseudoClass]: theme.renderColor(t.code.token.pseudoClass, context),
|
|
4307
|
+
[v.code.token.pseudoElement]: theme.renderColor(t.code.token.pseudoElement, context),
|
|
4308
|
+
[v.code.token.punctuation]: theme.renderColor(t.code.token.punctuation, context),
|
|
4309
|
+
[v.code.token.regex]: theme.renderColor(t.code.token.regex, context),
|
|
4310
|
+
[v.code.token.selector]: theme.renderColor(t.code.token.selector, context),
|
|
4311
|
+
[v.code.token.string]: theme.renderColor(t.code.token.string, context),
|
|
4312
|
+
[v.code.token.symbol]: theme.renderColor(t.code.token.symbol, context),
|
|
4313
|
+
[v.code.token.tag]: theme.renderColor(t.code.token.tag, context),
|
|
4314
|
+
[v.code.token.unit]: theme.renderColor(t.code.token.unit, context),
|
|
4315
|
+
[v.code.token.url]: theme.renderColor(t.code.token.url, context),
|
|
4316
|
+
[v.code.token.variable]: theme.renderColor(t.code.token.variable, context),
|
|
4523
4317
|
// focus ring
|
|
4524
|
-
[v.focusRing]: renderColor(t.focusRing, context),
|
|
4318
|
+
[v.focusRing]: theme.renderColor(t.focusRing, context),
|
|
4525
4319
|
// link
|
|
4526
|
-
[v.link.fg]: renderColor(t.link.fg, context),
|
|
4320
|
+
[v.link.fg]: theme.renderColor(t.link.fg, context),
|
|
4527
4321
|
// shadow
|
|
4528
|
-
[v.shadow.outline]: renderColor(t.shadow.outline, context),
|
|
4529
|
-
[v.shadow.umbra]: renderColor(t.shadow.umbra, context),
|
|
4530
|
-
[v.shadow.penumbra]: renderColor(t.shadow.penumbra, context),
|
|
4531
|
-
[v.shadow.ambient]: renderColor(t.shadow.ambient, context)
|
|
4322
|
+
[v.shadow.outline]: theme.renderColor(t.shadow.outline, context),
|
|
4323
|
+
[v.shadow.umbra]: theme.renderColor(t.shadow.umbra, context),
|
|
4324
|
+
[v.shadow.penumbra]: theme.renderColor(t.shadow.penumbra, context),
|
|
4325
|
+
[v.shadow.ambient]: theme.renderColor(t.shadow.ambient, context)
|
|
4532
4326
|
};
|
|
4533
4327
|
}
|
|
4534
|
-
function
|
|
4535
|
-
return
|
|
4328
|
+
function _compileTheme(theme2) {
|
|
4329
|
+
return theme2.v3 ? _compileTheme_v3(theme2.v3) : theme2.v2 ? `/* v2 - not supported */
|
|
4536
4330
|
` : `/* v0 - not supported */
|
|
4537
4331
|
`;
|
|
4538
4332
|
}
|
|
4333
|
+
function _resp(prefix, prop) {
|
|
4334
|
+
if (!(prop === void 0 || prop === !1))
|
|
4335
|
+
return Array.isArray(prop) ? prop.map((value, index) => {
|
|
4336
|
+
if (value === void 0 || typeof prop == "boolean" && prop === !1) return;
|
|
4337
|
+
const className = (typeof value == "boolean" ? [prefix] : [prefix, value]).filter((s) => s === 0 || !!s).join("-").replace(/\./g, "_");
|
|
4338
|
+
return index === 0 ? className : `${index}:${className}`;
|
|
4339
|
+
}).filter(Boolean).join(" ") : (typeof prop == "boolean" ? [prefix] : [prefix, prop]).filter((s) => s === 0 || !!s).join("-").replace(/\./g, "_");
|
|
4340
|
+
}
|
|
4341
|
+
function _getClassNames(...classNames) {
|
|
4342
|
+
return classNames.map((n) => typeof n == "string" && n.trim()).filter(Boolean).join(" ").split(" ");
|
|
4343
|
+
}
|
|
4344
|
+
function composeClassNames(...classNames) {
|
|
4345
|
+
return unique(_getClassNames(...classNames)).join(" ") || void 0;
|
|
4346
|
+
}
|
|
4347
|
+
function unique(array) {
|
|
4348
|
+
return Array.from(new Set(array));
|
|
4349
|
+
}
|
|
4350
|
+
function border(props) {
|
|
4351
|
+
return composeClassNames(_resp("border", props.border), _resp("border-t", props.borderTop), _resp("border-r", props.borderRight), _resp("border-b", props.borderBottom), _resp("border-l", props.borderLeft));
|
|
4352
|
+
}
|
|
4353
|
+
function display(props) {
|
|
4354
|
+
return composeClassNames(_resp(void 0, props.display));
|
|
4355
|
+
}
|
|
4356
|
+
function flex(props) {
|
|
4357
|
+
return composeClassNames(_resp("flex-align", props.align), _resp("f", props.direction), _resp("flex-justify", props.justify), _resp("flex", props.wrap));
|
|
4358
|
+
}
|
|
4359
|
+
function flexItem(props) {
|
|
4360
|
+
return composeClassNames(_resp("f", props.flex));
|
|
4361
|
+
}
|
|
4362
|
+
function font(props) {
|
|
4363
|
+
return composeClassNames("font", props.weight && `font-${props.weight}`);
|
|
4364
|
+
}
|
|
4365
|
+
function gap(props) {
|
|
4366
|
+
return composeClassNames(_resp("g", props.gap), _resp("gx", props.gapX), _resp("gy", props.gapY));
|
|
4367
|
+
}
|
|
4368
|
+
function grid(props) {
|
|
4369
|
+
return composeClassNames(_resp("auto-cols", props.autoCols), _resp("auto-flow", props.autoFlow), _resp("auto-rows", props.autoRows), _resp("cols", props.columns), _resp("rows", props.rows));
|
|
4370
|
+
}
|
|
4371
|
+
function gridItem(props) {
|
|
4372
|
+
return composeClassNames(_resp("col", props.column), _resp("col-start", props.columnStart), _resp("col-end", props.columnEnd), _resp("row", props.row), _resp("row-start", props.rowStart), _resp("row-end", props.rowEnd));
|
|
4373
|
+
}
|
|
4374
|
+
function height(props) {
|
|
4375
|
+
return composeClassNames(_resp("h", props.height));
|
|
4376
|
+
}
|
|
4377
|
+
function inset(props) {
|
|
4378
|
+
return composeClassNames(_resp("inset", props.inset), _resp("top", props.insetTop), _resp("right", props.insetRight), _resp("bottom", props.insetBottom), _resp("left", props.insetLeft));
|
|
4379
|
+
}
|
|
4380
|
+
function margin(props) {
|
|
4381
|
+
return composeClassNames(_resp("m", props.margin), _resp("mx", props.marginX), _resp("my", props.marginY), _resp("mt", props.marginTop), _resp("mr", props.marginRight), _resp("mb", props.marginBottom), _resp("ml", props.marginLeft));
|
|
4382
|
+
}
|
|
4383
|
+
function maxWidth(props) {
|
|
4384
|
+
return _resp("max-w", props.maxWidth) ?? "";
|
|
4385
|
+
}
|
|
4386
|
+
function minWidth(props) {
|
|
4387
|
+
return _resp("min-w", props.minWidth) ?? "";
|
|
4388
|
+
}
|
|
4389
|
+
function overflow(props) {
|
|
4390
|
+
return composeClassNames(_resp("overflow", props.overflow), _resp("overflow-x", props.overflowX), _resp("overflow-y", props.overflowY));
|
|
4391
|
+
}
|
|
4392
|
+
function padding(props) {
|
|
4393
|
+
return composeClassNames(_resp("p", props.padding), _resp("px", props.paddingX), _resp("py", props.paddingY), _resp("pt", props.paddingTop), _resp("pr", props.paddingRight), _resp("pb", props.paddingBottom), _resp("pl", props.paddingLeft));
|
|
4394
|
+
}
|
|
4395
|
+
function pointerEvents(props) {
|
|
4396
|
+
return composeClassNames(props.pointerEvents && `pointer-events-${props.pointerEvents}`);
|
|
4397
|
+
}
|
|
4398
|
+
function position(props) {
|
|
4399
|
+
return composeClassNames(_resp("position", props.position));
|
|
4400
|
+
}
|
|
4401
|
+
function radius(props) {
|
|
4402
|
+
return composeClassNames(_resp("r", props.radius));
|
|
4403
|
+
}
|
|
4404
|
+
function shadow(props) {
|
|
4405
|
+
return composeClassNames(_resp("shadow", props.shadow));
|
|
4406
|
+
}
|
|
4407
|
+
function textAlign(props) {
|
|
4408
|
+
return composeClassNames(_resp("text-align", props.textAlign));
|
|
4409
|
+
}
|
|
4410
|
+
function scopeClassName(className) {
|
|
4411
|
+
if (className !== void 0)
|
|
4412
|
+
return `${PREFIX}${className.trim()}`;
|
|
4413
|
+
}
|
|
4414
|
+
function _comp(...classNames) {
|
|
4415
|
+
return _getClassNames(...classNames).filter(Boolean).map(scopeClassName).join(" ") || void 0;
|
|
4416
|
+
}
|
|
4417
|
+
function textOverflow(props) {
|
|
4418
|
+
return _comp(props.textOverflow && `text-overflow-${props.textOverflow}`);
|
|
4419
|
+
}
|
|
4420
|
+
function width(props) {
|
|
4421
|
+
return _resp("w", props.width) ?? "";
|
|
4422
|
+
}
|
|
4539
4423
|
function breadcrumbs() {
|
|
4540
4424
|
return _comp("breadcrumbs");
|
|
4541
4425
|
}
|
|
@@ -4670,15 +4554,12 @@ function box(props) {
|
|
|
4670
4554
|
pointerEvents(props),
|
|
4671
4555
|
position(props),
|
|
4672
4556
|
radius(props),
|
|
4557
|
+
textAlign(props),
|
|
4673
4558
|
width(props)
|
|
4674
4559
|
);
|
|
4675
4560
|
}
|
|
4676
4561
|
function button(props) {
|
|
4677
|
-
|
|
4678
|
-
mode,
|
|
4679
|
-
tone
|
|
4680
|
-
} = props;
|
|
4681
|
-
return _comp("button", variantMap[mode ?? "default"], toneMap[tone ?? "default"], display(props), flexItem(props), radius(props), width(props));
|
|
4562
|
+
return _comp("button", display(props), flexItem(props), radius(props), width(props));
|
|
4682
4563
|
}
|
|
4683
4564
|
function buttonLoadingBox() {
|
|
4684
4565
|
return "button-loading-box";
|
|
@@ -4701,13 +4582,17 @@ function container(props) {
|
|
|
4701
4582
|
}));
|
|
4702
4583
|
}
|
|
4703
4584
|
function heading(props) {
|
|
4704
|
-
return _comp("block", "heading", font(props), props.accent && "heading-accent", props.muted && "heading-muted", _resp("heading", props.size), flexItem(props)
|
|
4585
|
+
return _comp("block", "heading", font(props), props.accent && "heading-accent", props.muted && "heading-muted", _resp("heading", props.size), flexItem(props), textAlign({
|
|
4586
|
+
textAlign: props.align
|
|
4587
|
+
}));
|
|
4705
4588
|
}
|
|
4706
4589
|
function kbd(props) {
|
|
4707
4590
|
return _comp("kbd", radius(props));
|
|
4708
4591
|
}
|
|
4709
4592
|
function label(props) {
|
|
4710
|
-
return _comp("label", "block", font(props), props.accent && "label-accent", props.muted && "label-muted", _resp("label", props.size)
|
|
4593
|
+
return _comp("label", "block", font(props), props.accent && "label-accent", props.muted && "label-muted", _resp("label", props.size), textAlign({
|
|
4594
|
+
textAlign: props.align
|
|
4595
|
+
}));
|
|
4711
4596
|
}
|
|
4712
4597
|
function popover() {
|
|
4713
4598
|
return _comp("popover");
|
|
@@ -4749,7 +4634,9 @@ function _switchTrack() {
|
|
|
4749
4634
|
return _comp("switch-track");
|
|
4750
4635
|
}
|
|
4751
4636
|
function text(props) {
|
|
4752
|
-
return _comp("text", "block", flexItem(props), font(props), props.accent && "text-accent", props.muted && "text-muted", _resp("text", props.size)
|
|
4637
|
+
return _comp("text", "block", flexItem(props), font(props), props.accent && "text-accent", props.muted && "text-muted", _resp("text", props.size), textAlign({
|
|
4638
|
+
textAlign: props.align
|
|
4639
|
+
}));
|
|
4753
4640
|
}
|
|
4754
4641
|
function textArea(props) {
|
|
4755
4642
|
return composeClassNames(_comp("text-area"), _input(props));
|
|
@@ -4766,108 +4653,107 @@ function tooltipCard() {
|
|
|
4766
4653
|
function srOnly() {
|
|
4767
4654
|
return _comp(composeClassNames("sr-only"));
|
|
4768
4655
|
}
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
//# sourceMappingURL=css.mjs.map
|
|
4656
|
+
exports.BREAKPOINTS = BREAKPOINTS;
|
|
4657
|
+
exports.PREFIX = PREFIX;
|
|
4658
|
+
exports._arrow = _arrow;
|
|
4659
|
+
exports._arrowShape = _arrowShape;
|
|
4660
|
+
exports._arrowStroke = _arrowStroke;
|
|
4661
|
+
exports._arrowStrokeMask = _arrowStrokeMask;
|
|
4662
|
+
exports._compilePalette = _compilePalette;
|
|
4663
|
+
exports._compileSystem = _compileSystem;
|
|
4664
|
+
exports._compileTheme = _compileTheme;
|
|
4665
|
+
exports._getClassNames = _getClassNames;
|
|
4666
|
+
exports._input = _input;
|
|
4667
|
+
exports._inputElement = _inputElement;
|
|
4668
|
+
exports._inputPresentation = _inputPresentation;
|
|
4669
|
+
exports._selectable = _selectable;
|
|
4670
|
+
exports._switch = _switch;
|
|
4671
|
+
exports._switchElement = _switchElement;
|
|
4672
|
+
exports._switchPresentation = _switchPresentation;
|
|
4673
|
+
exports._switchThumb = _switchThumb;
|
|
4674
|
+
exports._switchTrack = _switchTrack;
|
|
4675
|
+
exports.animatedSpinnerIcon = animatedSpinnerIcon;
|
|
4676
|
+
exports.avatar = avatar;
|
|
4677
|
+
exports.avatarArrow = avatarArrow;
|
|
4678
|
+
exports.avatarCounter = avatarCounter;
|
|
4679
|
+
exports.avatarImage = avatarImage;
|
|
4680
|
+
exports.avatarInitials = avatarInitials;
|
|
4681
|
+
exports.avatarStack = avatarStack;
|
|
4682
|
+
exports.badge = badge;
|
|
4683
|
+
exports.border = border;
|
|
4684
|
+
exports.box = box;
|
|
4685
|
+
exports.breadcrumbs = breadcrumbs;
|
|
4686
|
+
exports.button = button;
|
|
4687
|
+
exports.buttonLoadingBox = buttonLoadingBox;
|
|
4688
|
+
exports.card = card;
|
|
4689
|
+
exports.checkbox = checkbox;
|
|
4690
|
+
exports.checkboxInput = checkboxInput;
|
|
4691
|
+
exports.code = code;
|
|
4692
|
+
exports.codeSkeleton = codeSkeleton;
|
|
4693
|
+
exports.composeClassNames = composeClassNames;
|
|
4694
|
+
exports.container = container;
|
|
4695
|
+
exports.dialog = dialog;
|
|
4696
|
+
exports.dialogCardRoot = dialogCardRoot;
|
|
4697
|
+
exports.dialogContainer = dialogContainer;
|
|
4698
|
+
exports.dialogContent = dialogContent;
|
|
4699
|
+
exports.dialogFooter = dialogFooter;
|
|
4700
|
+
exports.dialogHeader = dialogHeader;
|
|
4701
|
+
exports.dialogLayout = dialogLayout;
|
|
4702
|
+
exports.display = display;
|
|
4703
|
+
exports.flex = flex;
|
|
4704
|
+
exports.flexItem = flexItem;
|
|
4705
|
+
exports.font = font;
|
|
4706
|
+
exports.gap = gap;
|
|
4707
|
+
exports.grid = grid;
|
|
4708
|
+
exports.gridItem = gridItem;
|
|
4709
|
+
exports.heading = heading;
|
|
4710
|
+
exports.headingSkeleton = headingSkeleton;
|
|
4711
|
+
exports.height = height;
|
|
4712
|
+
exports.inset = inset;
|
|
4713
|
+
exports.isArray = isArray;
|
|
4714
|
+
exports.isRecord = isRecord;
|
|
4715
|
+
exports.kbd = kbd;
|
|
4716
|
+
exports.label = label;
|
|
4717
|
+
exports.labelSkeleton = labelSkeleton;
|
|
4718
|
+
exports.margin = margin;
|
|
4719
|
+
exports.maxWidth = maxWidth;
|
|
4720
|
+
exports.menu = menu;
|
|
4721
|
+
exports.menuDivider = menuDivider;
|
|
4722
|
+
exports.minWidth = minWidth;
|
|
4723
|
+
exports.overflow = overflow;
|
|
4724
|
+
exports.padding = padding;
|
|
4725
|
+
exports.pointerEvents = pointerEvents;
|
|
4726
|
+
exports.popover = popover;
|
|
4727
|
+
exports.popoverCard = popoverCard;
|
|
4728
|
+
exports.position = position;
|
|
4729
|
+
exports.px = px;
|
|
4730
|
+
exports.radio = radio;
|
|
4731
|
+
exports.radius = radius;
|
|
4732
|
+
exports.rem = rem;
|
|
4733
|
+
exports.scopeClassName = scopeClassName;
|
|
4734
|
+
exports.select = select;
|
|
4735
|
+
exports.selectPresentation = selectPresentation;
|
|
4736
|
+
exports.shadow = shadow;
|
|
4737
|
+
exports.skeleton = skeleton;
|
|
4738
|
+
exports.spinner = spinner;
|
|
4739
|
+
exports.srOnly = srOnly;
|
|
4740
|
+
exports.stack = stack;
|
|
4741
|
+
exports.text = text;
|
|
4742
|
+
exports.textAlign = textAlign;
|
|
4743
|
+
exports.textArea = textArea;
|
|
4744
|
+
exports.textInput = textInput;
|
|
4745
|
+
exports.textOverflow = textOverflow;
|
|
4746
|
+
exports.textSkeleton = textSkeleton;
|
|
4747
|
+
exports.toBoxShadow = toBoxShadow;
|
|
4748
|
+
exports.toast = toast;
|
|
4749
|
+
exports.toastLayer = toastLayer;
|
|
4750
|
+
exports.toastLoadingBar = toastLoadingBar;
|
|
4751
|
+
exports.toastLoadingBarMask = toastLoadingBarMask;
|
|
4752
|
+
exports.toastLoadingBarProgress = toastLoadingBarProgress;
|
|
4753
|
+
exports.tooltip = tooltip;
|
|
4754
|
+
exports.tooltipCard = tooltipCard;
|
|
4755
|
+
exports.treeItem = treeItem;
|
|
4756
|
+
exports.varNames = varNames;
|
|
4757
|
+
exports.vars = vars;
|
|
4758
|
+
exports.width = width;
|
|
4759
|
+
//# sourceMappingURL=css.cjs.map
|