@mkbabb/glass-ui 3.11.2 → 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CardAction-DuArVky-.js → CardAction-Cj2eycQ2.js} +2 -2
- package/dist/{CommandShortcut-CefCj5mt.js → CommandShortcut-RowNEO6i.js} +4 -4
- package/dist/{ContextMenuSubContent-Bhg4f5jX.js → ContextMenuSubContent-BQmxTAdw.js} +4 -4
- package/dist/{DataTable-CUHMukiQ.js → DataTable-BCddn3T3.js} +3 -3
- package/dist/{DialogContent-BRkT1cjP.js → DialogContent-Dl9WkAoS.js} +3 -3
- package/dist/{DialogFooter-Gprw8H_A.js → DialogFooter-Blu4t7tJ.js} +2 -2
- package/dist/{HoverPopover-2LOIW34a.js → HoverPopover-CISOJQuZ.js} +1 -1
- package/dist/{IconTooltip-Cus0fvK0.js → IconTooltip-DPzE09X9.js} +1 -1
- package/dist/MetricBadge-C9QMz1KT.js +79 -0
- package/dist/{Notification-DLMhblXR.js → Notification-DdwNxIrI.js} +2 -2
- package/dist/{NumberFieldContent-BbLOh8RU.js → NumberFieldContent-CqaN-SvN.js} +3 -3
- package/dist/{PopoverContent-BId6ggf_.js → PopoverContent-BYwt2-4x.js} +1 -1
- package/dist/{ScrollingText-BPP84wKo.js → ScrollingText-DfFrwSph.js} +1 -1
- package/dist/{SelectScrollDownButton-T32cVFeM.js → SelectScrollDownButton-CiDUxfEj.js} +6 -6
- package/dist/{Switch-Ch-k3Rv-.js → Switch-CsIuYP_e.js} +1 -1
- package/dist/{TabsList-B8CVOQPC.js → TabsList-Dttss653.js} +9 -5
- package/dist/{Toaster-1rYWrmAm.js → Toaster-D6q4HtXu.js} +50 -47
- package/dist/{ToggleGroupItem-COu_4IW4.js → ToggleGroupItem-D_AHlRw9.js} +18 -22
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +5 -2
- package/dist/api.js +2 -2
- package/dist/aurora.js +69 -69
- package/dist/{badge-CaoFJzRb.js → badge-UILT_3pZ.js} +1 -1
- package/dist/badge.js +1 -1
- package/dist/{button-DN39cGqL.js → button-ChXMfsud.js} +12 -12
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.js +8 -8
- package/dist/{check-BBKKKSTf.js → check-njhk-vfu.js} +1 -1
- package/dist/{chevron-down-BSkTP2aL.js → chevron-down-DKkxb4VV.js} +1 -1
- package/dist/{chevron-right-sDM0Yvrf.js → chevron-right-CPXbqQQz.js} +1 -1
- package/dist/{chevron-up-CCOD_FTz.js → chevron-up-n_24SqI-.js} +1 -1
- package/dist/coalesceMetric-5qIeZnTx.js +13 -0
- package/dist/{color-C5ls_QF7.js → color-CUYeFbgd.js} +9 -7
- package/dist/color.js +1 -1
- package/dist/command.js +1 -1
- package/dist/components/custom/animated-digit/AnimatedDigit.vue.d.ts +8 -0
- package/dist/components/custom/aurora/constants/presets.d.ts +5 -62
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/vangogh-medium.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/index.d.ts +1 -1
- package/dist/components/custom/configurator/ConfiguratorRow.vue.d.ts +16 -0
- package/dist/components/custom/constellation/Constellation.vue.d.ts +74 -6
- package/dist/components/custom/constellation/composables/createConstellationField.d.ts +41 -0
- package/dist/components/custom/constellation/composables/useConstellationPointer.d.ts +35 -0
- package/dist/components/custom/constellation/constants.d.ts +61 -0
- package/dist/components/custom/constellation/constellationDraw.d.ts +30 -0
- package/dist/components/custom/constellation/constellationField.d.ts +116 -149
- package/dist/components/custom/constellation/constellationInteraction.d.ts +132 -0
- package/dist/components/custom/constellation/index.d.ts +5 -2
- package/dist/components/custom/controls/DarkModeToggle.vue.d.ts +11 -0
- package/dist/components/custom/dock/DockRail.vue.d.ts +88 -0
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +3 -4
- package/dist/components/custom/dock/GlassDock.vue.d.ts +5 -118
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +36 -0
- package/dist/components/custom/dock/composables/index.d.ts +1 -0
- package/dist/components/custom/dock/composables/useDockClickIntegrity.d.ts +23 -0
- package/dist/components/custom/dock/composables/useDockMorphWindow.d.ts +15 -0
- package/dist/components/custom/dock/composables/useDockOrientationMorph.d.ts +44 -0
- package/dist/components/custom/dock/composables/useDockShellProps.d.ts +165 -0
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +44 -0
- package/dist/components/custom/dock/constants.d.ts +48 -0
- package/dist/components/custom/dock/index.d.ts +3 -0
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +5 -37
- package/dist/components/custom/fourier-field/index.d.ts +1 -1
- package/dist/components/custom/fourier-field/math.d.ts +17 -0
- package/dist/components/custom/fourier-field/presets.d.ts +54 -0
- package/dist/components/custom/goo-blob/composables/buildMetaballProgram.d.ts +18 -0
- package/dist/components/custom/goo-blob/composables/uploadBlobUniforms.d.ts +41 -0
- package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +4 -3
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +11 -8
- package/dist/components/custom/goo-blob/constants.d.ts +52 -0
- package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +1 -0
- package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +2 -2
- package/dist/components/custom/labeled-field/LabeledField.vue.d.ts +37 -0
- package/dist/components/custom/labeled-field/LabeledSelect.vue.d.ts +6 -0
- package/dist/components/custom/labeled-field/LabeledSlider.vue.d.ts +6 -0
- package/dist/components/custom/labeled-field/LabeledSwitch.vue.d.ts +6 -0
- package/dist/components/custom/metric-badge/MetricBadge.vue.d.ts +11 -18
- package/dist/components/custom/metric-badge/index.d.ts +1 -0
- package/dist/components/custom/metric-cell/MetricCell.vue.d.ts +15 -4
- package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +6 -4
- package/dist/components/custom/tabs/constants.d.ts +12 -0
- package/dist/components/custom/underline/GlassUnderline.vue.d.ts +84 -0
- package/dist/components/custom/underline/index.d.ts +2 -0
- package/dist/components/custom/underline/types.d.ts +56 -0
- package/dist/components/ui/card/Card.vue.d.ts +15 -3
- package/dist/components/ui/drawer/Drawer.vue.d.ts +1 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +2 -2
- package/dist/components/ui/metric-pill/MetricPill.vue.d.ts +6 -3
- package/dist/components/ui/slider/index.d.ts +22 -19
- package/dist/components/ui/tabs/TabsIndicator.vue.d.ts +4 -1
- package/dist/components/ui/toast/use-toast.d.ts +2 -2
- package/dist/components/ui/toggle/Toggle.vue.d.ts +1 -1
- package/dist/components/ui/toggle/index.d.ts +1 -1
- package/dist/components/ui/toggle-group/ToggleGroup.vue.d.ts +1 -7
- package/dist/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +1 -3
- package/dist/components/ui/toggle-group/toggleGroupContext.d.ts +0 -13
- package/dist/composables/color/index.d.ts +12 -0
- package/dist/composables/dark/index.d.ts +1 -1
- package/dist/composables/dark/useGlobalDark.d.ts +1 -21
- package/dist/composables/glass/index.d.ts +0 -1
- package/dist/composables/glass/useGlassBackdropLuminance.d.ts +59 -0
- package/dist/composables/glass/useSpecularTracking.d.ts +12 -3
- package/dist/composables/motion/core/index.d.ts +1 -1
- package/dist/composables/motion/curves.d.ts +48 -0
- package/dist/composables/motion/index.d.ts +2 -0
- package/dist/composables/motion/springPresets.d.ts +33 -0
- package/dist/composables/motion/suite.d.ts +2 -0
- package/dist/composables/motion/useLiquidFlex.d.ts +85 -0
- package/dist/composables/motion/useSpringMount.d.ts +1 -1
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +2 -2
- package/dist/constellation.js +336 -222
- package/dist/context-menu.js +2 -2
- package/dist/controls.js +47 -13
- package/dist/dark.d.ts +1 -1
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/dialog.js +2 -2
- package/dist/dock.js +705 -365
- package/dist/dockContext-BegmJVmx.js +17 -0
- package/dist/dom.js +5 -5
- package/dist/{dropdown-menu-D77jX6Df.js → dropdown-menu-DzkkyBwX.js} +11 -8
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +39 -80
- package/dist/forms.js +5 -5
- package/dist/fourier-field.js +134 -99
- package/dist/fourier-math.js +2 -2
- package/dist/glass-panel.js +86 -20
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +222 -212
- package/dist/goo-blob.js +243 -212
- package/dist/hover-card.js +1 -1
- package/dist/hover-popover.js +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/instrument-chassis.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +28 -18
- package/dist/{math-DTpRVC0e.js → math-U6-RrLmV.js} +18 -2
- package/dist/metric-badge.js +1 -1
- package/dist/metric-cell.js +25 -21
- package/dist/metric-stack.js +35 -34
- package/dist/{minimize-2-lcXOuc6V.js → minimize-2-BV31Ob_h.js} +1 -1
- package/dist/motion-core.js +32 -137
- package/dist/motion-curves.d.ts +1 -0
- package/dist/motion-curves.js +130 -0
- package/dist/motion.js +38 -37
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/paper-backdrop.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/{presets-BP_ALM0m.js → presets-BKVyQfbt.js} +1 -14
- package/dist/progress.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/scrolling-text.js +1 -1
- package/dist/{search-nbkvr2dC.js → search-BSGrf2Sk.js} +1 -1
- package/dist/search.js +9 -9
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/{sheet-VZEtNFvO.js → sheet-1fChZjtw.js} +3 -3
- package/dist/sheet.js +1 -1
- package/dist/{slider-ClgpP7EB.js → slider-B-JP2JlI.js} +4 -4
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +2 -2
- package/dist/springPresets--YdWTHtm.js +40 -0
- package/dist/stacked-icons.js +6 -6
- package/dist/styles/animations.css +29 -114
- package/dist/styles/cards.css +55 -0
- package/dist/styles/components.css +4 -1
- package/dist/styles/configurator.css +42 -0
- package/dist/styles/dock/layer-group.css +83 -25
- package/dist/styles/dock/layers.css +23 -1
- package/dist/styles/dock/morph-bridge.css +123 -0
- package/dist/styles/dock/morph.css +175 -45
- package/dist/styles/dock/overflow.css +51 -1
- package/dist/styles/dock/rail-extend.css +300 -0
- package/dist/styles/dock/shell.css +63 -105
- package/dist/styles/dock-controls/dark-mode-toggle.css +109 -0
- package/dist/styles/dock-controls/icon-button.css +133 -0
- package/dist/styles/dock-controls/tab-button.css +202 -0
- package/dist/styles/dock-controls/touch-floor.css +94 -0
- package/dist/styles/dock-controls/triggers.css +128 -0
- package/dist/styles/dock-controls.css +30 -595
- package/dist/styles/dock.css +2 -0
- package/dist/styles/drawer.css +2 -0
- package/dist/styles/floating-panel.css +17 -0
- package/dist/styles/glass/a11y-fallback.css +245 -0
- package/dist/styles/glass/ladder.css +337 -0
- package/dist/styles/glass/material.css +238 -0
- package/dist/styles/glass/progress-rail.css +78 -0
- package/dist/styles/glass/squircle.css +66 -0
- package/dist/styles/glass/surfaces.css +306 -0
- package/dist/styles/glass-refract.css +2 -0
- package/dist/styles/glass.css +31 -1188
- package/dist/styles/hover-popover.css +2 -0
- package/dist/styles/index.css +28 -14
- package/dist/styles/instrument-chassis.css +4 -0
- package/dist/styles/paper.css +2 -68
- package/dist/styles/segmented-tabs.css +275 -0
- package/dist/styles/theme/bridges.css +337 -0
- package/dist/styles/theme/dark.css +7 -0
- package/dist/styles/theme/literals.css +94 -0
- package/dist/styles/theme/radius.css +95 -0
- package/dist/styles/theme.css +26 -529
- package/dist/styles/tokens/color-radius.css +260 -0
- package/dist/styles/tokens/dark-arm.css +200 -0
- package/dist/styles/tokens/glass.css +440 -0
- package/dist/styles/tokens/light-dark.css +158 -0
- package/dist/styles/tokens/offsets-sizing.css +500 -0
- package/dist/styles/tokens/property-regs.css +169 -0
- package/dist/styles/tokens/scale-paper.css +366 -0
- package/dist/styles/tokens/scheme-motion.css +334 -0
- package/dist/styles/tokens/shadow.css +166 -0
- package/dist/styles/tokens.css +22 -2360
- package/dist/styles/typography.css +75 -21
- package/dist/styles/utilities/a11y-overrides.css +140 -0
- package/dist/styles/utilities/animate.css +26 -0
- package/dist/styles/utilities/base.css +365 -0
- package/dist/styles/utilities/btn.css +401 -0
- package/dist/styles/utilities/components.css +317 -0
- package/dist/styles/utilities.css +19 -1291
- package/dist/styles/view-transition.css +0 -51
- package/dist/switch.js +1 -1
- package/dist/tabs.js +91 -82
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/underline.d.ts +1 -0
- package/dist/underline.js +85 -0
- package/dist/{useAnimatedNumber-Bcpy5Etf.js → useAnimatedNumber-C5I3wWd8.js} +1 -1
- package/dist/{useConfiguratorState-DxAqksK6.js → useConfiguratorState-DAoeHVue.js} +8 -8
- package/dist/{useGlobalDark-CAhOXNLO.js → useGlobalDark-yhL4Wp-s.js} +3 -22
- package/dist/useLiquidFlex-BL0lLLN2.js +30 -0
- package/dist/useRAFLoop-Bxv0o6L5.js +109 -0
- package/dist/{useScrollProgress-CffFGLa5.js → useScrollProgress-Dlvx-L3v.js} +1 -1
- package/dist/useSpecularTracking-Bo5su68i.js +32 -0
- package/dist/useSpringMount-CI2jOstM.js +108 -0
- package/dist/{useTouchGate-WFyJYsth.js → useTouchGate-Dg7MQI1G.js} +1 -1
- package/dist/utils/coalesceMetric.d.ts +29 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/vReveal-CqaCz_mC.js +44 -0
- package/dist/watercolor-dot.js +11 -9
- package/dist/{x-Dfsegz9Y.js → x-BUwTKe50.js} +1 -1
- package/package.json +78 -58
- package/src/styles/animations.css +29 -114
- package/src/styles/cards.css +53 -0
- package/src/styles/configurator.css +42 -0
- package/src/styles/dock/layer-group.css +83 -25
- package/src/styles/dock/layers.css +23 -1
- package/src/styles/dock/morph-bridge.css +123 -0
- package/src/styles/dock/morph.css +175 -45
- package/src/styles/dock/overflow.css +51 -1
- package/src/styles/dock/rail-extend.css +300 -0
- package/src/styles/dock/shell.css +63 -105
- package/src/styles/dock-controls/dark-mode-toggle.css +109 -0
- package/src/styles/dock-controls/icon-button.css +133 -0
- package/src/styles/dock-controls/tab-button.css +202 -0
- package/src/styles/dock-controls/touch-floor.css +94 -0
- package/src/styles/dock-controls/triggers.css +128 -0
- package/src/styles/dock-controls.css +30 -595
- package/src/styles/dock.css +2 -0
- package/src/styles/floating-panel.css +15 -0
- package/src/styles/glass/a11y-fallback.css +245 -0
- package/src/styles/glass/ladder.css +337 -0
- package/src/styles/glass/material.css +238 -0
- package/src/styles/glass/progress-rail.css +78 -0
- package/src/styles/glass/squircle.css +66 -0
- package/src/styles/glass/surfaces.css +306 -0
- package/src/styles/glass.css +31 -1188
- package/src/styles/index.css +28 -14
- package/src/styles/paper.css +2 -68
- package/src/styles/segmented-tabs.css +271 -0
- package/src/styles/theme/bridges.css +337 -0
- package/src/styles/theme/dark.css +7 -0
- package/src/styles/theme/literals.css +94 -0
- package/src/styles/theme/radius.css +95 -0
- package/src/styles/theme.css +26 -529
- package/src/styles/tokens/color-radius.css +260 -0
- package/src/styles/tokens/dark-arm.css +200 -0
- package/src/styles/tokens/glass.css +440 -0
- package/src/styles/tokens/light-dark.css +158 -0
- package/src/styles/tokens/offsets-sizing.css +500 -0
- package/src/styles/tokens/property-regs.css +169 -0
- package/src/styles/tokens/scale-paper.css +366 -0
- package/src/styles/tokens/scheme-motion.css +334 -0
- package/src/styles/tokens/shadow.css +166 -0
- package/src/styles/tokens.css +22 -2360
- package/src/styles/typography.css +75 -21
- package/src/styles/utilities/a11y-overrides.css +140 -0
- package/src/styles/utilities/animate.css +26 -0
- package/src/styles/utilities/base.css +365 -0
- package/src/styles/utilities/btn.css +401 -0
- package/src/styles/utilities/components.css +317 -0
- package/src/styles/utilities.css +19 -1291
- package/src/styles/view-transition.css +0 -51
- package/dist/DeckProgress-Dmk4_AKN.js +0 -23
- package/dist/InstrumentRail-CUJ05YVG.js +0 -44
- package/dist/MetricBadge-BZVWIxNy.js +0 -80
- package/dist/components/custom/deck-progress/DeckProgress.vue.d.ts +0 -27
- package/dist/components/custom/deck-progress/index.d.ts +0 -2
- package/dist/components/custom/dialog-native/GlassDialogNative.vue.d.ts +0 -57
- package/dist/components/custom/dialog-native/index.d.ts +0 -1
- package/dist/components/custom/handmark/HandMark.vue.d.ts +0 -29
- package/dist/components/custom/handmark/brush.d.ts +0 -242
- package/dist/components/custom/handmark/freehand.d.ts +0 -69
- package/dist/components/custom/handmark/geometry.d.ts +0 -50
- package/dist/components/custom/handmark/index.d.ts +0 -21
- package/dist/components/custom/handmark/ink.d.ts +0 -11
- package/dist/components/custom/handmark/texture.d.ts +0 -39
- package/dist/components/custom/handmark/types.d.ts +0 -53
- package/dist/components/custom/handmark/useHandMark.d.ts +0 -87
- package/dist/components/custom/instrument-rail/InstrumentRail.vue.d.ts +0 -91
- package/dist/components/custom/instrument-rail/index.d.ts +0 -2
- package/dist/composables/motion/useRouteTransition.d.ts +0 -42
- package/dist/deck-progress.d.ts +0 -1
- package/dist/deck-progress.js +0 -2
- package/dist/dockContext-BKeIMmNk.js +0 -9
- package/dist/handmark.d.ts +0 -1
- package/dist/handmark.js +0 -663
- package/dist/instrument-rail.d.ts +0 -1
- package/dist/instrument-rail.js +0 -2
- package/dist/styles/instrument-rail.css +0 -127
- package/dist/useGlassRenderer-D7YGOYiM.js +0 -69
- package/dist/useSpecularTracking-BVRZsRHA.js +0 -26
- package/dist/useSpringMount-BJSHcLl3.js +0 -113
- package/dist/useViewTransition-DaN5Zrox.js +0 -21
- package/dist/vReveal-zUIQk-rJ.js +0 -53
- package/src/styles/instrument-rail.css +0 -127
- /package/dist/{ContextMenuContent-DDa0v27s.js → ContextMenuContent-CT3AS1WX.js} +0 -0
- /package/dist/{HoverCardContent-B6CcQ8He.js → HoverCardContent-Csywg3YF.js} +0 -0
- /package/dist/{Input-xuDwALQR.js → Input-DWQQIOC4.js} +0 -0
- /package/dist/{InstrumentChassis-C2f6cBaQ.js → InstrumentChassis-UUJX0-mW.js} +0 -0
- /package/dist/{Label-zRfbQdCn.js → Label-r3WzWrsj.js} +0 -0
- /package/dist/{ModalOverlay-B1GkAjNb.js → ModalOverlay-DVLI2VRr.js} +0 -0
- /package/dist/{PaperBackdrop-CqwjnfLv.js → PaperBackdrop-DIXTtVq6.js} +0 -0
- /package/dist/{Progress-iEuD9pxG.js → Progress-DwlUKGbr.js} +0 -0
- /package/dist/{SelectGroup-BFiod7X2.js → SelectGroup-aumMgWLs.js} +0 -0
- /package/dist/{SelectSeparator-C4Ql0gzV.js → SelectSeparator-BQ_1Fcbp.js} +0 -0
- /package/dist/{Separator-D7sD7RKj.js → Separator-0JE6LtNu.js} +0 -0
- /package/dist/{TooltipProvider-CmZzCuaG.js → TooltipProvider-B3MkB_8P.js} +0 -0
- /package/dist/{compile-BOXjLUxu.js → compile-B7NGOBcP.js} +0 -0
- /package/dist/{constants-yKeKnE84.js → constants-CS75AWHG.js} +0 -0
- /package/dist/{createContext-B44Sah_H.js → createContext-BM46COQ-.js} +0 -0
- /package/dist/{createLucideIcon-B6uNAU9G.js → createLucideIcon-DydS2qgk.js} +0 -0
- /package/dist/{menuItemVariants-CCoBNkU5.js → menuItemVariants-DPiEarb0.js} +0 -0
- /package/dist/{supportsCssTimeline-C5oe0lnD.js → supportsCssTimeline-BWenxvHU.js} +0 -0
- /package/dist/{useIntersectionPause-Cck5Uxk8.js → useIntersectionPause-Cc-H9ees.js} +0 -0
- /package/dist/{useInterval-Dsmqwi03.js → useInterval-iHludrxk.js} +0 -0
- /package/dist/{useKeyboardShortcuts-CyIYrndH.js → useKeyboardShortcuts-Be3w_Rwk.js} +0 -0
- /package/dist/{useResizeObserver-CWCbk5Px.js → useResizeObserver-BhgdhOIj.js} +0 -0
- /package/dist/{useResolveTokenColor-r9pnNjqK.js → useResolveTokenColor-Dvn2RZJW.js} +0 -0
- /package/dist/{useSortable-C8ReQ50P.js → useSortable-muI29agz.js} +0 -0
- /package/dist/{useTextHighlight-CWEi25hf.js → useTextHighlight-DmRYkOBx.js} +0 -0
- /package/dist/{useTimer-3xqf_54b.js → useTimer-Dzarvzuk.js} +0 -0
- /package/dist/{useUserInvalidAria-DoJKMZ3s.js → useUserInvalidAria-B2h6jAM_.js} +0 -0
- /package/dist/{useViewportReady-RIr5Wgkh.js → useViewportReady-B40FK4Pa.js} +0 -0
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
/* theme/bridges.css — the `@theme inline` block: the tokens.css `var(--token)`
|
|
2
|
+
BRIDGES (color/shadow/blur/duration/ease/typography) (AZ.W-CARVE partial 2 of 4).
|
|
3
|
+
|
|
4
|
+
Inline substitutes the referenced value and mints no second var, so the
|
|
5
|
+
tokens.css token stays the single override point (plain would emit
|
|
6
|
+
`--color-primary` AND `--primary`). Guardrail: NEVER `@property`-register a
|
|
7
|
+
color token — registration snapshots the value and breaks light-dark().
|
|
8
|
+
|
|
9
|
+
Cascade: this partial MUST @import AFTER theme/radius.css (it references the
|
|
10
|
+
radius primitives) and BEFORE theme/literals.css. */
|
|
11
|
+
|
|
12
|
+
@theme inline {
|
|
13
|
+
/* ═══════════════════════════════════════════════
|
|
14
|
+
Typography — size scale → text-* utilities
|
|
15
|
+
═══════════════════════════════════════════════ */
|
|
16
|
+
--text-admin-label: var(--type-admin-label);
|
|
17
|
+
--text-micro: var(--type-micro);
|
|
18
|
+
--text-caption: var(--type-caption);
|
|
19
|
+
--text-small: var(--type-small);
|
|
20
|
+
--text-body: var(--type-body);
|
|
21
|
+
--text-prose: var(--type-prose);
|
|
22
|
+
--text-subheading: var(--type-subheading);
|
|
23
|
+
--text-heading: var(--type-heading);
|
|
24
|
+
--text-title: var(--type-title);
|
|
25
|
+
/* AX.W50 D17 — the picker-family type-scale → `text-dropdown` /
|
|
26
|
+
`text-dropdown-secondary` utilities, bridging the `--dropdown-text` token pair
|
|
27
|
+
(tokens.css §10, a specialization of W51's `--control-text` comfort register)
|
|
28
|
+
so a Tailwind `text-dropdown` utility resolves the family scale. Mirrors the
|
|
29
|
+
`--text-small: var(--type-small)` ladder-bridge idiom above. */
|
|
30
|
+
--text-dropdown: var(--dropdown-text);
|
|
31
|
+
--text-dropdown-secondary: var(--dropdown-text-secondary);
|
|
32
|
+
--text-display: var(--type-display-1);
|
|
33
|
+
--text-display-1: var(--type-display-1);
|
|
34
|
+
--text-display-2: var(--type-display-2);
|
|
35
|
+
--text-display-3: var(--type-display-3);
|
|
36
|
+
--text-display-4: var(--type-display-4);
|
|
37
|
+
--text-display-5: var(--type-display-5);
|
|
38
|
+
|
|
39
|
+
/* Line heights → leading-* utilities */
|
|
40
|
+
--leading-micro: var(--type-leading-micro);
|
|
41
|
+
--leading-caption: var(--type-leading-caption);
|
|
42
|
+
--leading-small: var(--type-leading-small);
|
|
43
|
+
--leading-body: var(--type-leading-body);
|
|
44
|
+
--leading-prose: var(--type-leading-prose);
|
|
45
|
+
--leading-heading: var(--type-leading-heading);
|
|
46
|
+
--leading-display: var(--type-leading-display);
|
|
47
|
+
|
|
48
|
+
/* Letter spacing → tracking-* utilities */
|
|
49
|
+
--tracking-tight: var(--type-tracking-tight);
|
|
50
|
+
--tracking-snug: var(--type-tracking-snug);
|
|
51
|
+
--tracking-normal: var(--type-tracking-normal);
|
|
52
|
+
--tracking-wide: var(--type-tracking-wide);
|
|
53
|
+
--tracking-wider: var(--type-tracking-wider);
|
|
54
|
+
--tracking-caps: var(--type-tracking-caps);
|
|
55
|
+
|
|
56
|
+
/* ═══════════════════════════════════════════════
|
|
57
|
+
Font families → font-* utilities
|
|
58
|
+
|
|
59
|
+
ONE brand register, bridged from tokens.css §0's --font-stack-* source.
|
|
60
|
+
--font-text is the body/heading/prose/display register (Plus Jakarta
|
|
61
|
+
Sans). --font-serif is a bridge alias for the demo configurator's "serif"
|
|
62
|
+
control slot — it resolves to the SAME text register (the library carries
|
|
63
|
+
no display-serif voice). A consumer rebrands the whole text register by
|
|
64
|
+
overriding --font-text once.
|
|
65
|
+
═══════════════════════════════════════════════ */
|
|
66
|
+
--font-text: var(--font-stack-text);
|
|
67
|
+
--font-display: var(--font-stack-display);
|
|
68
|
+
--font-serif: var(--font-stack-text);
|
|
69
|
+
--font-sans: var(--font-stack-sans);
|
|
70
|
+
--font-mono: var(--font-stack-mono);
|
|
71
|
+
|
|
72
|
+
/* ═══════════════════════════════════════════════
|
|
73
|
+
Colors — core
|
|
74
|
+
═══════════════════════════════════════════════ */
|
|
75
|
+
--color-border: var(--border);
|
|
76
|
+
/* AQ.W2 §3d — the whisper-alpha border hairline rung (border-border-soft /
|
|
77
|
+
bg-border-soft utilities). Auto-dark via --border. */
|
|
78
|
+
--color-border-soft: var(--border-soft);
|
|
79
|
+
--color-input: var(--input);
|
|
80
|
+
--color-ring: var(--ring);
|
|
81
|
+
--color-background: var(--background);
|
|
82
|
+
--color-foreground: var(--foreground);
|
|
83
|
+
|
|
84
|
+
--color-primary: var(--primary);
|
|
85
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
86
|
+
|
|
87
|
+
--color-secondary: var(--secondary);
|
|
88
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
89
|
+
|
|
90
|
+
--color-muted: var(--muted);
|
|
91
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
92
|
+
/* AU.W8b.4 — the muted-foreground-strong bridge (text-muted-foreground-strong
|
|
93
|
+
utility). The base token already exists (tokens.css:362); only the
|
|
94
|
+
--color-muted-foreground bridge was present. CardDescription consumes
|
|
95
|
+
text-muted-foreground-strong through this. NOT @property-registered (a
|
|
96
|
+
design-token color; registration would break light-dark() re-resolution). */
|
|
97
|
+
--color-muted-foreground-strong: var(--muted-foreground-strong);
|
|
98
|
+
|
|
99
|
+
--color-accent: var(--accent);
|
|
100
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
101
|
+
|
|
102
|
+
--color-destructive: var(--destructive);
|
|
103
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
104
|
+
|
|
105
|
+
--color-popover: var(--popover);
|
|
106
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
107
|
+
|
|
108
|
+
--color-card: var(--card);
|
|
109
|
+
--color-card-foreground: var(--card-foreground);
|
|
110
|
+
|
|
111
|
+
/* R0G-5 — bg-surface-public-data-panel utility. */
|
|
112
|
+
--color-surface-public-data-panel: var(--surface-public-data-panel);
|
|
113
|
+
|
|
114
|
+
--color-shadow: var(--shadow);
|
|
115
|
+
|
|
116
|
+
/* Semantic foregrounds — bg-{success,warning,info}-foreground +
|
|
117
|
+
text-{success,warning,info}-foreground. Companions to the existing
|
|
118
|
+
--color-{success,warning,info} bridges below. R5 vocab.γ gap row 4. */
|
|
119
|
+
--color-success-foreground: var(--success-foreground);
|
|
120
|
+
--color-warning-foreground: var(--warning-foreground);
|
|
121
|
+
--color-info-foreground: var(--info-foreground);
|
|
122
|
+
|
|
123
|
+
/* Muted-tinted rungs — bg-muted-soft / bg-muted-medium. */
|
|
124
|
+
--color-muted-soft: var(--muted-soft);
|
|
125
|
+
--color-muted-medium: var(--muted-medium);
|
|
126
|
+
|
|
127
|
+
/* AU.W8b.4 — glass-tier surface/border bridges (bg-glass-quiet /
|
|
128
|
+
border-glass-quiet). Companions to the existing --shadow-glass-quiet
|
|
129
|
+
bridge below; lets the Toggle `card` variant compose bg-glass-quiet /
|
|
130
|
+
border-glass-quiet / shadow-glass-quiet instead of bg-[var(--glass-…)]
|
|
131
|
+
arbitrary wraps. NOT @property-registered (design-token colors —
|
|
132
|
+
registration snapshots the resolved color + breaks light-dark()). */
|
|
133
|
+
--color-glass-quiet: var(--glass-bg-quiet);
|
|
134
|
+
--color-glass-border-quiet: var(--glass-border-quiet);
|
|
135
|
+
|
|
136
|
+
/* Foreground-tint rungs — bg-surface-tint-{4,6,8,10,12,15,18,22,25}. */
|
|
137
|
+
--color-surface-tint-4: var(--surface-tint-4);
|
|
138
|
+
--color-surface-tint-6: var(--surface-tint-6);
|
|
139
|
+
--color-surface-tint-8: var(--surface-tint-8);
|
|
140
|
+
--color-surface-tint-10: var(--surface-tint-10);
|
|
141
|
+
--color-surface-tint-12: var(--surface-tint-12);
|
|
142
|
+
--color-surface-tint-15: var(--surface-tint-15);
|
|
143
|
+
--color-surface-tint-18: var(--surface-tint-18);
|
|
144
|
+
--color-surface-tint-22: var(--surface-tint-22);
|
|
145
|
+
--color-surface-tint-25: var(--surface-tint-25);
|
|
146
|
+
--color-surface-tint-35: var(--surface-tint-35);
|
|
147
|
+
--color-surface-tint-40: var(--surface-tint-40);
|
|
148
|
+
--color-surface-tint-70: var(--surface-tint-70);
|
|
149
|
+
|
|
150
|
+
/* Surface-tint tier aliases (V.W3.T10) — semantic names mapped to
|
|
151
|
+
the canonical numeric scale. Lets consumers compose
|
|
152
|
+
`bg-surface-tint-quiet|floating|modal` without picking a numeric
|
|
153
|
+
rung; the alias resolves to the rung that matches the surface
|
|
154
|
+
tier's canonical opacity. Quiet ≈ 6% (light backdrop tint),
|
|
155
|
+
floating ≈ 12% (panel-tier tint), modal ≈ 18% (heavy modal tint). */
|
|
156
|
+
--color-surface-tint-quiet: var(--surface-tint-6);
|
|
157
|
+
--color-surface-tint-floating: var(--surface-tint-12);
|
|
158
|
+
--color-surface-tint-modal: var(--surface-tint-18);
|
|
159
|
+
|
|
160
|
+
/* Overlay scrims — bg-overlay-scrim{,-strong,-subtle}. */
|
|
161
|
+
--color-overlay-scrim: var(--overlay-scrim);
|
|
162
|
+
--color-overlay-scrim-strong: var(--overlay-scrim-strong);
|
|
163
|
+
--color-overlay-scrim-subtle: var(--overlay-scrim-subtle);
|
|
164
|
+
|
|
165
|
+
/* ═══════════════════════════════════════════════
|
|
166
|
+
Colors — section palette (13-stop)
|
|
167
|
+
═══════════════════════════════════════════════ */
|
|
168
|
+
--color-section-0: var(--section-color-0);
|
|
169
|
+
--color-section-1: var(--section-color-1);
|
|
170
|
+
--color-section-2: var(--section-color-2);
|
|
171
|
+
--color-section-3: var(--section-color-3);
|
|
172
|
+
--color-section-4: var(--section-color-4);
|
|
173
|
+
--color-section-5: var(--section-color-5);
|
|
174
|
+
--color-section-6: var(--section-color-6);
|
|
175
|
+
--color-section-7: var(--section-color-7);
|
|
176
|
+
--color-section-8: var(--section-color-8);
|
|
177
|
+
--color-section-9: var(--section-color-9);
|
|
178
|
+
--color-section-10: var(--section-color-10);
|
|
179
|
+
--color-section-11: var(--section-color-11);
|
|
180
|
+
--color-section-12: var(--section-color-12);
|
|
181
|
+
|
|
182
|
+
--color-section-heading: var(--section-heading);
|
|
183
|
+
--color-accent-pink: var(--accent-pink);
|
|
184
|
+
--color-accent-red: var(--accent-red);
|
|
185
|
+
|
|
186
|
+
/* ═══════════════════════════════════════════════
|
|
187
|
+
Colors — viz basis
|
|
188
|
+
═══════════════════════════════════════════════ */
|
|
189
|
+
--color-viz-fourier: var(--viz-fourier);
|
|
190
|
+
--color-viz-chebyshev: var(--viz-chebyshev);
|
|
191
|
+
--color-viz-legendre: var(--viz-legendre);
|
|
192
|
+
--color-viz-amber: var(--viz-amber);
|
|
193
|
+
--color-viz-green: var(--viz-green);
|
|
194
|
+
|
|
195
|
+
/* ═══════════════════════════════════════════════
|
|
196
|
+
Colors — semantic UI accents
|
|
197
|
+
═══════════════════════════════════════════════ */
|
|
198
|
+
--color-tier-featured: var(--tier-featured);
|
|
199
|
+
--color-tier-saved: var(--tier-saved);
|
|
200
|
+
--color-like: var(--like);
|
|
201
|
+
--color-success: var(--success);
|
|
202
|
+
--color-warning: var(--warning);
|
|
203
|
+
--color-info: var(--info);
|
|
204
|
+
--color-delete: var(--delete);
|
|
205
|
+
|
|
206
|
+
/* ═══════════════════════════════════════════════
|
|
207
|
+
Colors — gold + rainbow accents (kept for consumers)
|
|
208
|
+
═══════════════════════════════════════════════ */
|
|
209
|
+
--color-gold: var(--gold);
|
|
210
|
+
--color-gold-light: var(--gold-light);
|
|
211
|
+
--color-gold-dark: var(--gold-dark);
|
|
212
|
+
--color-gold-deep: var(--gold-deep);
|
|
213
|
+
|
|
214
|
+
--color-rainbow-red: var(--rainbow-red);
|
|
215
|
+
--color-rainbow-orange: var(--rainbow-orange);
|
|
216
|
+
--color-rainbow-yellow: var(--rainbow-yellow);
|
|
217
|
+
--color-rainbow-green: var(--rainbow-green);
|
|
218
|
+
--color-rainbow-blue: var(--rainbow-blue);
|
|
219
|
+
--color-rainbow-indigo: var(--rainbow-indigo);
|
|
220
|
+
--color-rainbow-violet: var(--rainbow-violet);
|
|
221
|
+
|
|
222
|
+
/* ═══════════════════════════════════════════════
|
|
223
|
+
Z-index → z-* utilities
|
|
224
|
+
═══════════════════════════════════════════════ */
|
|
225
|
+
--z-index-behind: var(--z-behind);
|
|
226
|
+
--z-index-background: var(--z-background);
|
|
227
|
+
--z-index-content: var(--z-content);
|
|
228
|
+
--z-index-controls: var(--z-controls);
|
|
229
|
+
--z-index-bar: var(--z-bar);
|
|
230
|
+
--z-index-header: var(--z-header);
|
|
231
|
+
--z-index-dock: var(--z-dock);
|
|
232
|
+
--z-index-panel: var(--z-panel);
|
|
233
|
+
--z-index-overlay: var(--z-overlay);
|
|
234
|
+
--z-index-hovercard: var(--z-hovercard);
|
|
235
|
+
--z-index-tooltip: var(--z-tooltip);
|
|
236
|
+
--z-index-popover: var(--z-popover);
|
|
237
|
+
--z-index-modal: var(--z-modal);
|
|
238
|
+
--z-index-fullscreen: var(--z-fullscreen);
|
|
239
|
+
--z-index-toast: var(--z-toast);
|
|
240
|
+
--z-index-toggle: var(--z-toggle);
|
|
241
|
+
--z-index-max: var(--z-max);
|
|
242
|
+
|
|
243
|
+
/* The radius PRIMITIVES + the semantic radius aliases (→ rounded-*
|
|
244
|
+
utilities) live in the LEADING plain @theme block above — plain, not
|
|
245
|
+
inline, so value-identical aliases never collide during candidate
|
|
246
|
+
resolution. See the order/collision note there. */
|
|
247
|
+
|
|
248
|
+
/* ═══════════════════════════════════════════════
|
|
249
|
+
Sizing → h-*, min-w-*, and spacing utilities
|
|
250
|
+
═══════════════════════════════════════════════ */
|
|
251
|
+
--height-chart-compact: var(--chart-height-compact);
|
|
252
|
+
--height-chart-default: var(--chart-height-default);
|
|
253
|
+
--height-chart-large: var(--chart-height-large);
|
|
254
|
+
--min-width-input-sm: var(--input-min-width-sm);
|
|
255
|
+
--spacing-chart-margin: var(--chart-margin);
|
|
256
|
+
/* AU.W8b.4 — w-popover utility (Combobox list width). Lifts `w-[200px]`. */
|
|
257
|
+
--width-popover: var(--popover-width);
|
|
258
|
+
|
|
259
|
+
/* Golden-ratio spacing — p-phi-5 / m-phi-6 etc. via Tailwind's spacing
|
|
260
|
+
utilities. φ² and φ³ rungs for hero/chassis padding ladder. */
|
|
261
|
+
--spacing-phi-5: var(--space-phi-5);
|
|
262
|
+
--spacing-phi-6: var(--space-phi-6);
|
|
263
|
+
|
|
264
|
+
/* V.W2 T13 — Icon-size ladder bridge → `size-icon-*`/`h-icon-*`/`w-icon-*`
|
|
265
|
+
utilities. Consumers can compose via `class="size-icon-2xl"` etc.
|
|
266
|
+
directly without the `size-[var(--icon-2xl)]` arbitrary-property form. */
|
|
267
|
+
--spacing-icon-xs: var(--icon-xs);
|
|
268
|
+
--spacing-icon-sm: var(--icon-sm);
|
|
269
|
+
--spacing-icon-md: var(--icon-md);
|
|
270
|
+
--spacing-icon-lg: var(--icon-lg);
|
|
271
|
+
--spacing-icon-xl: var(--icon-xl);
|
|
272
|
+
--spacing-icon-2xl: var(--icon-2xl);
|
|
273
|
+
--spacing-icon-3xl: var(--icon-3xl);
|
|
274
|
+
--spacing-icon-hero: var(--icon-hero);
|
|
275
|
+
|
|
276
|
+
/* ═══════════════════════════════════════════════
|
|
277
|
+
Shadows → shadow-* utilities
|
|
278
|
+
═══════════════════════════════════════════════ */
|
|
279
|
+
--shadow-cartoon: var(--cartoon-shadow);
|
|
280
|
+
--shadow-cartoon-hover: var(--cartoon-shadow-hover);
|
|
281
|
+
--shadow-soft: var(--soft-shadow);
|
|
282
|
+
--shadow-elevated: var(--elevated-shadow);
|
|
283
|
+
--shadow-modal: var(--modal-shadow);
|
|
284
|
+
|
|
285
|
+
--shadow-card: var(--card-shadow);
|
|
286
|
+
--shadow-dock: var(--dock-shadow);
|
|
287
|
+
--shadow-dock-collapsed: var(--dock-shadow-collapsed);
|
|
288
|
+
|
|
289
|
+
--shadow-glass-wash: var(--glass-shadow-wash);
|
|
290
|
+
--shadow-glass-quiet: var(--glass-shadow-quiet);
|
|
291
|
+
--shadow-glass-resting: var(--glass-shadow-resting);
|
|
292
|
+
--shadow-glass-floating: var(--glass-shadow-floating);
|
|
293
|
+
--shadow-glass-overlay: var(--glass-shadow-overlay);
|
|
294
|
+
|
|
295
|
+
--shadow-cartoon-sm: var(--cartoon-shadow-sm);
|
|
296
|
+
--shadow-cartoon-md: var(--cartoon-shadow-md);
|
|
297
|
+
--shadow-cartoon-lg: var(--cartoon-shadow-lg);
|
|
298
|
+
|
|
299
|
+
/* ═══════════════════════════════════════════════
|
|
300
|
+
Blur → blur-* and backdrop-blur-* utilities
|
|
301
|
+
═══════════════════════════════════════════════ */
|
|
302
|
+
--blur-glass-wash: var(--glass-blur-wash-radius);
|
|
303
|
+
--blur-glass-quiet: var(--glass-blur-quiet-radius);
|
|
304
|
+
--blur-glass-resting: var(--glass-blur-resting-radius);
|
|
305
|
+
--blur-glass-floating: var(--glass-blur-floating-radius);
|
|
306
|
+
--blur-glass-overlay: var(--glass-blur-overlay-radius);
|
|
307
|
+
--blur-dock: var(--glass-blur-dock-radius);
|
|
308
|
+
|
|
309
|
+
/* ═══════════════════════════════════════════════
|
|
310
|
+
Easing → ease-* utilities
|
|
311
|
+
═══════════════════════════════════════════════ */
|
|
312
|
+
--ease-spring-smooth: var(--spring-smooth);
|
|
313
|
+
--ease-spring-snappy: var(--spring-snappy);
|
|
314
|
+
--ease-spring-bouncy: var(--spring-bouncy);
|
|
315
|
+
--ease-spring-gentle: var(--spring-gentle);
|
|
316
|
+
|
|
317
|
+
--ease-standard: var(--motion-ease-standard);
|
|
318
|
+
--ease-out: var(--motion-ease-out);
|
|
319
|
+
--ease-in: var(--motion-ease-in);
|
|
320
|
+
--ease-out-expo: var(--motion-ease-out-expo);
|
|
321
|
+
--ease-apple: var(--motion-ease-apple);
|
|
322
|
+
--ease-spring: var(--spring-snappy);
|
|
323
|
+
--ease-decelerate: var(--motion-ease-out);
|
|
324
|
+
--ease-accelerate: var(--motion-ease-in);
|
|
325
|
+
|
|
326
|
+
/* ═══════════════════════════════════════════════
|
|
327
|
+
Duration → duration-* utilities
|
|
328
|
+
═══════════════════════════════════════════════ */
|
|
329
|
+
--transition-duration-instant: var(--duration-instant);
|
|
330
|
+
--transition-duration-fast: var(--duration-fast);
|
|
331
|
+
--transition-duration-normal: var(--duration-normal);
|
|
332
|
+
--transition-duration-slow: var(--duration-slow);
|
|
333
|
+
--transition-duration-panel: var(--duration-panel);
|
|
334
|
+
--transition-duration-xl: var(--duration-xl);
|
|
335
|
+
--transition-duration-xxl: var(--duration-xxl);
|
|
336
|
+
--transition-duration-sparkle: var(--duration-sparkle);
|
|
337
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/* theme/dark.css — the class-based dark-mode variant (AZ.W-CARVE partial 4 of 4).
|
|
2
|
+
|
|
3
|
+
Cascade: this partial MUST @import LAST (after radius/bridges/literals) — it
|
|
4
|
+
declares the `dark:` variant the rest of the cascade keys off. */
|
|
5
|
+
|
|
6
|
+
/* Class-based dark mode */
|
|
7
|
+
@variant dark (&:where(.dark, .dark *));
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/* theme/literals.css — the trailing plain @theme: directly-authored LITERALS
|
|
2
|
+
(AZ.W-CARVE partial 3 of 4).
|
|
3
|
+
|
|
4
|
+
The override surface here is the namespaced var itself, not a tokens.css
|
|
5
|
+
bridge, so these mint their global variable. The --animate-* composites
|
|
6
|
+
(literal keyframe name + var() timing — no tokens.css twin to double), the
|
|
7
|
+
opacity rungs, and the text-shadow family.
|
|
8
|
+
|
|
9
|
+
Cascade: this partial MUST @import AFTER theme/bridges.css and BEFORE
|
|
10
|
+
theme/dark.css. */
|
|
11
|
+
|
|
12
|
+
@theme {
|
|
13
|
+
/* ═══════════════════════════════════════════════
|
|
14
|
+
Animation → animate-* utilities
|
|
15
|
+
═══════════════════════════════════════════════ */
|
|
16
|
+
--animate-floating-panel-in: floating-panel-in var(--duration-fast) var(--ease-out);
|
|
17
|
+
--animate-tooltip-in: tooltip-in var(--duration-fast) var(--ease-out);
|
|
18
|
+
--animate-fade-in: fade-in var(--duration-normal) var(--spring-smooth);
|
|
19
|
+
--animate-scale-in: scale-in var(--duration-normal) var(--spring-smooth);
|
|
20
|
+
--animate-slide-up: slide-up var(--duration-normal) var(--spring-smooth);
|
|
21
|
+
--animate-dock-in: dock-in var(--duration-panel) var(--spring-snappy) both;
|
|
22
|
+
/* ── Shimmer family: documented duration offset ──────────────────────────
|
|
23
|
+
The shimmer ladder is intentionally non-paired-by-name:
|
|
24
|
+
- `--animate-shimmer` reads `--duration-shimmer-fast` (3s) — fast loop
|
|
25
|
+
tempo for the band-pass shimmer pattern (skeleton, marketing).
|
|
26
|
+
- `--animate-shimmer-sweep` and `--animate-gold-shimmer` both read the
|
|
27
|
+
unsuffixed `--duration-shimmer` (5s) — slower one-pass sweep for
|
|
28
|
+
brand-polish moments (Complete! gold-shimmer headline, hero lifts).
|
|
29
|
+
The fast/canonical split exists because the two shimmer modes (looping
|
|
30
|
+
band-pass vs one-pass sweep) want different tempos. The pre-V audit
|
|
31
|
+
(C-c §5.3) flagged this as a "naming inversion"; it is intentional —
|
|
32
|
+
documented here so the offset is searchable. The orphan
|
|
33
|
+
`--duration-shimmer-slow` (8s) was excised in V.W2 T5. */
|
|
34
|
+
--animate-shimmer: shimmer var(--duration-shimmer-fast) linear infinite;
|
|
35
|
+
--animate-shimmer-sweep: shimmer-sweep var(--duration-shimmer) ease-in-out infinite;
|
|
36
|
+
--animate-gold-shimmer: gold-shimmer-slide var(--duration-shimmer) linear infinite;
|
|
37
|
+
--animate-shake: shake 0.5s ease-in-out;
|
|
38
|
+
|
|
39
|
+
/* ═══════════════════════════════════════════════
|
|
40
|
+
Opacity → opacity-* utilities
|
|
41
|
+
|
|
42
|
+
Bridges the canonical `--opacity-disabled` (0.5) and
|
|
43
|
+
`--opacity-icon-muted` (0.8) rungs from tokens.css §11. Tailwind
|
|
44
|
+
v4 generates `opacity-disabled` / `opacity-icon-muted` utilities
|
|
45
|
+
(and the `disabled:opacity-disabled` modifier form) from these
|
|
46
|
+
@theme declarations; the values match tokens.css line 550-551.
|
|
47
|
+
|
|
48
|
+
Consumers replace 18+ hardcoded `disabled:opacity-50` literals
|
|
49
|
+
across the primitive slice with `disabled:opacity-disabled`.
|
|
50
|
+
(Per audit U.W0.C-a §1.2 / §gap.4 — U12.)
|
|
51
|
+
═══════════════════════════════════════════════ */
|
|
52
|
+
--opacity-disabled: 0.5;
|
|
53
|
+
--opacity-icon-muted: 0.8;
|
|
54
|
+
|
|
55
|
+
/* ═══════════════════════════════════════════════
|
|
56
|
+
text-shadow → text-shadow-* utilities (AW.W26)
|
|
57
|
+
|
|
58
|
+
text-shadow is the lone shadow family that shipped no `@theme` bridge
|
|
59
|
+
(Tailwind v4.1 minted the `text-shadow-{2xs,xs,sm,md,lg}` utilities). The
|
|
60
|
+
rungs are warm-`--shadow-color`-derived via `color-mix` per the box-shadow
|
|
61
|
+
ladder (tokens.css §7) + the cartoon-shadow precept's one-source chain, so
|
|
62
|
+
they re-tint under `.dark` BY CONSTRUCTION — `--shadow-color: var(--foreground)`
|
|
63
|
+
flips light→dark with no hardcoded `.dark` re-declaration. The hand-rolled
|
|
64
|
+
multi-stop `text-shadow:` literals in `.depth-text` (utilities.css) +
|
|
65
|
+
`.text-engraved` (typography.css) now compose these tokens. */
|
|
66
|
+
--text-shadow-2xs: 0 1px 0 color-mix(in srgb, var(--shadow-color) 12%, transparent);
|
|
67
|
+
--text-shadow-xs: 0 1px 1px color-mix(in srgb, var(--shadow-color) 16%, transparent);
|
|
68
|
+
--text-shadow-sm: 0 1px 0 color-mix(in srgb, var(--shadow-color) 14%, transparent),
|
|
69
|
+
0 2px 3px color-mix(in srgb, var(--shadow-color) 18%, transparent);
|
|
70
|
+
--text-shadow-md: 0 1px 0 color-mix(in srgb, var(--shadow-color) 16%, transparent),
|
|
71
|
+
0 2px 4px color-mix(in srgb, var(--shadow-color) 20%, transparent),
|
|
72
|
+
0 4px 8px color-mix(in srgb, var(--shadow-color) 14%, transparent);
|
|
73
|
+
--text-shadow-lg: 0 1px 0 color-mix(in srgb, var(--shadow-color) 18%, transparent),
|
|
74
|
+
0 2px 4px color-mix(in srgb, var(--shadow-color) 22%, transparent),
|
|
75
|
+
0 6px 12px color-mix(in srgb, var(--shadow-color) 18%, transparent);
|
|
76
|
+
|
|
77
|
+
/* Two IDENTITY text-shadow tokens — the hard offset STAMP (`.depth-text`)
|
|
78
|
+
+ the two-stop EMBOSS (`.text-engraved`). These hold the multi-stop
|
|
79
|
+
literals INSIDE the `@theme` defs so the utilities compose `var(--text-shadow-*)`
|
|
80
|
+
and no raw `text-shadow:` literal survives in `utilities.css`/`typography.css`
|
|
81
|
+
(AW.W26 gate 4). Both are `--shadow-color`/surface-tint-derived, so they
|
|
82
|
+
re-tint under `.dark` BY CONSTRUCTION. */
|
|
83
|
+
--text-shadow-depth: 1px 1px 0 var(--shadow),
|
|
84
|
+
2px 2px 0 var(--shadow),
|
|
85
|
+
3px 3px 0 var(--shadow),
|
|
86
|
+
4px 4px 0 var(--shadow),
|
|
87
|
+
5px 5px 0 var(--shadow),
|
|
88
|
+
5px 5px 1px color-mix(in srgb, var(--shadow-color) 10%, transparent),
|
|
89
|
+
2px 2px 2px color-mix(in srgb, var(--shadow-color) 20%, transparent),
|
|
90
|
+
4px 4px 5px color-mix(in srgb, var(--shadow-color) 25%, transparent),
|
|
91
|
+
6px 6px 10px color-mix(in srgb, var(--shadow-color) 15%, transparent);
|
|
92
|
+
--text-shadow-engraved: 0 1px 0 color-mix(in srgb, var(--background) 30%, transparent),
|
|
93
|
+
0 -1px 0 var(--surface-tint-8);
|
|
94
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/* theme/radius.css — the LEADING plain @theme: the radius primitives + the
|
|
2
|
+
radius semantic aliases + the corner-SHAPE axis (AZ.W-CARVE partial 1 of 4).
|
|
3
|
+
|
|
4
|
+
Plain (not inline) on purpose — the radius scale has no tokens.css twin, so
|
|
5
|
+
each `--radius-*` is the lone declaration + single override point. Inline is
|
|
6
|
+
WRONG here: it substitutes the VALUE, so two aliases resolving to one
|
|
7
|
+
primitive (`--radius-card`/`--radius-dialog` both → `--radius-2xl`) collapse
|
|
8
|
+
to an identical value and v4 drops one `rounded-*` utility when both are
|
|
9
|
+
scanned. Plain mints each alias's own var, so value-identical siblings never
|
|
10
|
+
collide. This partial MUST @import BEFORE theme/bridges.css (the inline
|
|
11
|
+
bridges reference these primitives). */
|
|
12
|
+
|
|
13
|
+
/* Radius primitives — leading plain @theme (declared before the inline aliases
|
|
14
|
+
reference them; see the order note above). */
|
|
15
|
+
@theme {
|
|
16
|
+
--radius: 0.625rem;
|
|
17
|
+
--radius-xs: 4px;
|
|
18
|
+
--radius-sm: 4px;
|
|
19
|
+
--radius-md: 6px;
|
|
20
|
+
--radius-xl: 12px;
|
|
21
|
+
--radius-2xl: 1rem;
|
|
22
|
+
/* AW.W3b — a finite radius rung above --radius-2xl (16px), below
|
|
23
|
+
--radius-pill (the stadium). The big-dock card shell's corner geometry. */
|
|
24
|
+
--radius-3xl: 1.5rem;
|
|
25
|
+
--radius-pill: 9999px;
|
|
26
|
+
|
|
27
|
+
/* Semantic radius aliases — plain @theme (not inline; see header note).
|
|
28
|
+
Value-identical siblings (e.g. --radius-card + --radius-dialog) would
|
|
29
|
+
collapse + drop a rounded-* utility under inline; plain mints each
|
|
30
|
+
alias's own var. */
|
|
31
|
+
--radius-lg: var(--radius);
|
|
32
|
+
--radius-card: var(--radius-2xl);
|
|
33
|
+
--radius-panel: var(--radius-xl);
|
|
34
|
+
--radius-dialog: var(--radius-2xl);
|
|
35
|
+
--radius-input: var(--radius);
|
|
36
|
+
--radius-button: var(--radius);
|
|
37
|
+
/* AW.W25 — form-radius unification. `--radius-field` is the non-pill field
|
|
38
|
+
rung the multi-line / stepper form atoms (Textarea, NumberFieldInput)
|
|
39
|
+
resolve so a multi-line box stops inheriting the `9999px` stadium pill;
|
|
40
|
+
single-line controls (Input, SelectTrigger) keep the pill. `--radius-control`
|
|
41
|
+
is the semantic control-corner rung that retires the raw `rounded-sm` (4px)
|
|
42
|
+
on Checkbox + base Tabs onto a softer, named radius. One geometry language
|
|
43
|
+
across the form family — token + class only, no new primitive. */
|
|
44
|
+
--radius-field: var(--radius-2xl);
|
|
45
|
+
--radius-control: var(--radius-md);
|
|
46
|
+
--radius-badge: var(--radius-pill);
|
|
47
|
+
--radius-dock: var(--radius-pill);
|
|
48
|
+
/* AW.W3b — the big-dock card shell's default (comfortable-density) radius.
|
|
49
|
+
The density-scaled --dock-card-radius (dock.css) resolves through this. */
|
|
50
|
+
--radius-dock-card: var(--radius-3xl);
|
|
51
|
+
--radius-tooltip: var(--radius-lg);
|
|
52
|
+
|
|
53
|
+
/* ── AX.W56 — the corner-SHAPE axis (parallel to the corner-RADIUS ladder above).
|
|
54
|
+
`corner-shape` only changes the CURVE within the `border-radius` box; the
|
|
55
|
+
region is still the `--radius-*` token. These are plain @theme (the radius
|
|
56
|
+
siblings' rationale applies — each alias is its own override point, and the
|
|
57
|
+
semantic shapes are value-identical keywords that must not collapse under
|
|
58
|
+
inline). Chrome 139+ only (~65% global May 2026); the un-gated `border-radius`
|
|
59
|
+
round stays the cross-engine CONTRACT and the `@supports (corner-shape:
|
|
60
|
+
superellipse(2))` gate (glass.css/dock.css) is the PE tier. NEVER make
|
|
61
|
+
corner-shape the contract — Safari/Firefox have no positive signal through 2026.
|
|
62
|
+
|
|
63
|
+
Superellipse exponent (MDN authoritative): `superellipse(K)` paints
|
|
64
|
+
|x|^(2K) + |y|^(2K) = 1, so the curve exponent n = 2K. The CSS `squircle`
|
|
65
|
+
keyword == `superellipse(2)` == n=4 — the iOS-idiomatic web squircle. The
|
|
66
|
+
k-PRIMITIVE band (a consumer dials 1.7–2.4 to taste; W42's dock-morph calc()s
|
|
67
|
+
its animated k against this ONE vocabulary — do not re-define a second k). */
|
|
68
|
+
--corner-k-squircle: 2; /* the squircle — superellipse(2), n=4 */
|
|
69
|
+
--corner-k-soft: 1.7; /* gentler, between round and squircle — n≈3.4 */
|
|
70
|
+
--corner-k-sharp: 2.4; /* crisper square-bias for large surfaces — n≈4.8 */
|
|
71
|
+
|
|
72
|
+
/* Semantic per-surface SHAPE aliases — the rounded-vs-squircle POLICY (a
|
|
73
|
+
RADIUS-THRESHOLD policy: the superellipse only READS at a LARGE radius
|
|
74
|
+
~--radius-xl/12px and up). ROUND set = card, pill (small controls + data
|
|
75
|
+
cards + stadium pills — the superellipse is imperceptible, dropping it is
|
|
76
|
+
free). SQUIRCLE set = bigdock, dialog, sheet, panel, hero (the large-radius
|
|
77
|
+
glass overlays where the iOS-26 silhouette reads — the blur halo + cartoon
|
|
78
|
+
under-shadow follow the shape). ALL ride the ONE --corner-k-squircle vocab.
|
|
79
|
+
W56b (USER-DECISION R1) extended the family off big-dock-only onto the large
|
|
80
|
+
glass overlays; @supports-gated in glass/squircle.css over the `border-radius`
|
|
81
|
+
round CONTRACT. A consumer dials any surface back to round (or opts one in) by
|
|
82
|
+
re-pointing its `--corner-shape-<surface>` alias. */
|
|
83
|
+
--corner-shape-card: round;
|
|
84
|
+
--corner-shape-pill: round;
|
|
85
|
+
--corner-shape-bigdock: superellipse(var(--corner-k-squircle));
|
|
86
|
+
--corner-shape-dialog: superellipse(var(--corner-k-squircle));
|
|
87
|
+
--corner-shape-sheet: superellipse(var(--corner-k-squircle));
|
|
88
|
+
--corner-shape-panel: superellipse(var(--corner-k-squircle));
|
|
89
|
+
--corner-shape-hero: superellipse(var(--corner-k-squircle));
|
|
90
|
+
/* AX.W59 — the spectrum slider's track-height thumb reads as a SQUIRCLE
|
|
91
|
+
(the iOS color-picker idiom). It rides the same --corner-k-squircle
|
|
92
|
+
vocabulary; @supports-gated in Slider.vue over a --radius-* round
|
|
93
|
+
fallback. A consumer dials it to round (a circular knob) or to soft. */
|
|
94
|
+
--corner-shape-thumb: superellipse(var(--corner-k-squircle));
|
|
95
|
+
}
|