@mkbabb/glass-ui 3.7.0 → 3.9.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/README.md +1 -6
- package/dist/CardAction-DuArVky-.js +157 -0
- package/dist/{CommandShortcut-CY0aQTz5.js → CommandShortcut-CefCj5mt.js} +7 -7
- package/dist/{ContextMenuSubContent-BeDz7G6f.js → ContextMenuSubContent-Bhg4f5jX.js} +3 -3
- package/dist/{DataTable-gtPOLZvl.js → DataTable-CUHMukiQ.js} +4 -4
- package/dist/DeckProgress-Dmk4_AKN.js +23 -0
- package/dist/{DialogContent-DG1YMR-P.js → DialogContent-BRkT1cjP.js} +3 -3
- package/dist/{DialogFooter-BCIaDP15.js → DialogFooter-Gprw8H_A.js} +1 -1
- package/dist/{HoverPopover-DXpOEw1P.js → HoverPopover-2LOIW34a.js} +1 -1
- package/dist/{IconTooltip-Cu86JR4e.js → IconTooltip-yefK7cJc.js} +1 -1
- package/dist/{MetricBadge-D-bRaQUD.js → MetricBadge-lTc002u2.js} +1 -1
- package/dist/{Notification-B5WHP3_1.js → Notification-BxK8LZMw.js} +1 -1
- package/dist/{NumberFieldContent-CLNVR1iY.js → NumberFieldContent-BbLOh8RU.js} +2 -2
- package/dist/{PopoverContent-F1bWnYoh.js → PopoverContent-BId6ggf_.js} +1 -1
- package/dist/{Progress-c4vo4ALi.js → Progress-iEuD9pxG.js} +4 -4
- package/dist/{ScrollingText-BEp377U5.js → ScrollingText-BPP84wKo.js} +2 -2
- package/dist/{SelectScrollDownButton-DAo5NmY_.js → SelectScrollDownButton-T32cVFeM.js} +4 -4
- package/dist/{SelectSeparator-COFMJGng.js → SelectSeparator-C4Ql0gzV.js} +1 -1
- package/dist/{TabsList-COqIdW7i.js → TabsList-B8CVOQPC.js} +2 -2
- package/dist/{Toaster-BMaeziJJ.js → Toaster-1rYWrmAm.js} +1 -1
- package/dist/{ToggleGroupItem-C-AIkBUw.js → ToggleGroupItem-Cev4pOVK.js} +5 -5
- package/dist/animated-digit.js +1 -1
- package/dist/api/index.d.ts +5 -3
- package/dist/aurora.js +339 -408
- package/dist/{badge-DHQrc_GQ.js → badge-BvwvT50i.js} +4 -4
- package/dist/badge.js +1 -1
- package/dist/{button-CAywcrhO.js → button-DN39cGqL.js} +13 -12
- package/dist/button.js +1 -1
- package/dist/canvas.d.ts +1 -0
- package/dist/canvas.js +3 -0
- package/dist/card.js +1 -1
- package/dist/carousel.js +106 -105
- package/dist/collapsible.js +1 -1
- package/dist/{color-DjJCAQ6f.js → color-8jBjWiJ6.js} +22 -14
- package/dist/color.js +2 -2
- package/dist/command.js +1 -1
- package/dist/compile-DAjIoEy2.js +158 -0
- package/dist/components/custom/aurora/composables/atoms.d.ts +90 -25
- package/dist/components/custom/aurora/composables/color.d.ts +0 -12
- package/dist/components/custom/aurora/composables/uniformBridge.d.ts +34 -23
- package/dist/components/custom/aurora/constants/presets.d.ts +10 -7
- package/dist/components/custom/aurora/constants/renderMode.d.ts +22 -0
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/composition.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/index.d.ts +3 -3
- package/dist/components/custom/configurator/ConfiguratorLayer.vue.d.ts +1 -1
- package/dist/components/custom/constellation/Constellation.vue.d.ts +40 -5
- package/dist/components/custom/constellation/constellationField.d.ts +110 -5
- package/dist/components/custom/constellation/index.d.ts +2 -2
- package/dist/components/custom/dock/DockSeparator.vue.d.ts +3 -0
- package/dist/components/custom/dock/GlassDock.vue.d.ts +57 -67
- package/dist/components/custom/dock/composables/dockContext.d.ts +7 -0
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +57 -0
- package/dist/components/custom/dock/composables/index.d.ts +3 -0
- package/dist/components/custom/dock/composables/useDockHold.d.ts +61 -0
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +13 -59
- package/dist/components/custom/dock/index.d.ts +4 -1
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +13 -0
- package/dist/components/custom/goo-blob/composables/useBlobMood.d.ts +23 -5
- package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +2 -0
- package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +2 -0
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +20 -5
- package/dist/components/custom/goo-blob/index.d.ts +1 -1
- package/dist/components/custom/goo-blob/shaders/sdf-body.glsl.d.ts +1 -1
- package/dist/components/custom/goo-blob/shaders/watercolor-edges.glsl.d.ts +2 -2
- package/dist/components/custom/goo-blob/types.d.ts +8 -0
- package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +92 -0
- package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +49 -0
- package/dist/components/custom/tabs/index.d.ts +2 -5
- package/dist/components/ui/button/index.d.ts +1 -1
- package/dist/components/ui/card/Card.vue.d.ts +28 -10
- package/dist/components/ui/card/index.d.ts +1 -1
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +1 -1
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +1 -1
- package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +3 -4
- package/dist/components/ui/progress/ProgressDefault.vue.d.ts +14 -4
- package/dist/components/ui/slider/Slider.vue.d.ts +3 -1
- package/dist/components/ui/slider/index.d.ts +14 -7
- package/dist/components/ui/tabs/TabsList.vue.d.ts +1 -1
- package/dist/composables/color/index.d.ts +19 -0
- package/dist/composables/context/createContext.d.ts +1 -1
- package/dist/composables/dom/index.d.ts +1 -1
- package/dist/composables/dom/useResolveTokenColor.d.ts +27 -0
- package/dist/composables/glass/canvas2d/index.d.ts +2 -1
- package/dist/composables/glass/canvas2d/resolveCanvasColor.d.ts +20 -0
- package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +15 -1
- package/dist/composables/glass/index.d.ts +3 -1
- package/dist/composables/glass/useSpecularTracking.d.ts +33 -0
- package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +1 -1
- package/dist/composables/glass/webgl/shaders/procedural-color.glsl.d.ts +4 -0
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +1 -1
- package/dist/composables/motion/core/index.d.ts +1 -0
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +2 -2
- package/dist/constellation.js +143 -74
- package/dist/context-menu.js +2 -2
- package/dist/controls.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/deck-progress.d.ts +1 -0
- package/dist/deck-progress.js +2 -0
- package/dist/dialog.js +2 -2
- package/dist/dock.js +468 -354
- package/dist/{dockContext-DLgrVWsU.js → dockContext-BKeIMmNk.js} +1 -1
- package/dist/dom.js +6 -6
- package/dist/{dropdown-menu-BWpwutt0.js → dropdown-menu-D77jX6Df.js} +4 -4
- package/dist/dropdown-menu.js +1 -1
- package/dist/fonts/README.md +26 -18
- package/dist/forms.js +5 -5
- package/dist/fourier-field.js +35 -35
- package/dist/glass-panel.js +7 -7
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +154 -169
- package/dist/goo-blob.js +361 -274
- package/dist/header-ribbon.js +1 -1
- 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 -2
- package/dist/instrument-chassis.js +1 -1
- package/dist/instrument-rail.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +5 -5
- package/dist/{menuItemVariants-B4eFR5Ix.js → menuItemVariants-CCoBNkU5.js} +1 -1
- package/dist/metric-badge.js +1 -1
- package/dist/metric-stack.js +1 -1
- package/dist/motion-core.js +65 -65
- package/dist/motion.js +1 -1
- 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/progress.js +1 -1
- package/dist/pulse.js +2 -2
- package/dist/reactive.js +2 -2
- package/dist/resolveCanvasColor-BBiYfp8g.js +11 -0
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +9 -9
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/{sheet-Cv1uO-Gq.js → sheet-VZEtNFvO.js} +2 -2
- package/dist/sheet.js +1 -1
- package/dist/slider-DC2mwuoe.js +142 -0
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +2 -2
- package/dist/status-dot.js +17 -16
- package/dist/styles/animations.css +6 -2
- package/dist/styles/components.css +1 -1
- package/dist/styles/dock/density.css +230 -0
- package/dist/styles/dock/layer-group.css +263 -0
- package/dist/styles/dock/layers.css +355 -0
- package/dist/styles/dock/morph.css +244 -0
- package/dist/styles/dock/overflow.css +201 -0
- package/dist/styles/dock/shell.css +457 -0
- package/dist/styles/dock-controls.css +187 -50
- package/dist/styles/dock.css +65 -1181
- package/dist/styles/fonts.css +0 -25
- package/dist/styles/glass.css +482 -102
- package/dist/styles/index.css +12 -11
- package/dist/styles/theme.css +60 -2
- package/dist/styles/tokens.css +625 -72
- package/dist/styles/typography.css +52 -69
- package/dist/styles/utilities.css +91 -40
- package/dist/styles/view-transition.css +12 -40
- package/dist/switch.js +1 -1
- package/dist/tabs.js +183 -152
- package/dist/timeline.js +3 -3
- package/dist/toast.js +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{useCanvas2D-C31yfUGY.js → useCanvas2D-ClrQuZtp.js} +2 -1
- package/dist/{useConfiguratorState-B24TcgIn.js → useConfiguratorState-DxAqksK6.js} +24 -13
- package/dist/useResolveTokenColor-r9pnNjqK.js +24 -0
- package/dist/useSpecularTracking-BVRZsRHA.js +26 -0
- package/dist/{useTextHighlight-aMPdEpkq.js → useTextHighlight-DON84L8w.js} +1 -1
- package/dist/{useTouchGate-YQRwyUGU.js → useTouchGate-WFyJYsth.js} +1 -1
- package/dist/vReveal-CqaCz_mC.js +44 -0
- package/dist/watercolor-dot.js +1 -1
- package/package.json +67 -36
- package/src/fonts/README.md +26 -18
- package/src/styles/animations.css +6 -2
- package/src/styles/dock/density.css +230 -0
- package/src/styles/dock/layer-group.css +263 -0
- package/src/styles/dock/layers.css +355 -0
- package/src/styles/dock/morph.css +244 -0
- package/src/styles/dock/overflow.css +201 -0
- package/src/styles/dock/shell.css +457 -0
- package/src/styles/dock-controls.css +187 -50
- package/src/styles/dock.css +65 -1181
- package/src/styles/fonts.css +0 -25
- package/src/styles/glass.css +482 -102
- package/src/styles/index.css +12 -11
- package/src/styles/theme.css +60 -2
- package/src/styles/tokens.css +625 -72
- package/src/styles/typography.css +52 -69
- package/src/styles/utilities.css +91 -40
- package/src/styles/view-transition.css +12 -40
- package/dist/CardAction-D8nSE62a.js +0 -163
- package/dist/DiscoGlyph-ZoBYpoxI.js +0 -132
- package/dist/GlyphFace-Ce_oe3tM.js +0 -51
- package/dist/UnderlineTabs-D_c1iYo-.js +0 -39
- package/dist/compile-iM4IUB66.js +0 -158
- package/dist/components/custom/aurora/constants/shaders/painterly.wgsl.d.ts +0 -7
- package/dist/components/custom/aurora/constants/shaders/wake.wgsl.d.ts +0 -4
- package/dist/components/custom/disco-glyph/DiscoGlyph.vue.d.ts +0 -58
- package/dist/components/custom/disco-glyph/index.d.ts +0 -1
- package/dist/components/custom/glass-carousel/GlassCarousel.vue.d.ts +0 -36
- package/dist/components/custom/glass-carousel/GlassCarouselItem.vue.d.ts +0 -28
- package/dist/components/custom/glass-carousel/index.d.ts +0 -4
- package/dist/components/custom/glass-carousel/useGlassCarousel.d.ts +0 -30
- package/dist/components/custom/glyph-face/GlyphFace.vue.d.ts +0 -64
- package/dist/components/custom/glyph-face/index.d.ts +0 -2
- package/dist/components/custom/glyph-face/keys.d.ts +0 -9
- package/dist/components/custom/responsive-tabs/ResponsiveTabs.vue.d.ts +0 -73
- package/dist/components/custom/responsive-tabs/index.d.ts +0 -2
- package/dist/components/custom/tabs/BouncyTabs.vue.d.ts +0 -27
- package/dist/components/custom/tabs/BouncyToggle.vue.d.ts +0 -60
- package/dist/components/custom/tabs/UnderlineTabs.vue.d.ts +0 -20
- package/dist/components/custom/tabs/composables/useBouncySlider.d.ts +0 -39
- package/dist/disco-glyph.d.ts +0 -1
- package/dist/disco-glyph.js +0 -2
- package/dist/fonts/fraunces/fraunces-latin.woff2 +0 -0
- package/dist/glass-carousel.d.ts +0 -1
- package/dist/glass-carousel.js +0 -214
- package/dist/glyph-face.d.ts +0 -1
- package/dist/glyph-face.js +0 -3
- package/dist/keys-Dyf_uTs5.js +0 -9
- package/dist/responsive-tabs.d.ts +0 -1
- package/dist/responsive-tabs.js +0 -95
- package/dist/slider-BA9wIs5e.js +0 -130
- package/dist/styles/disco-glyph.css +0 -26
- package/dist/styles/glyph-face.css +0 -92
- package/dist/useViewTransition-DaN5Zrox.js +0 -21
- package/dist/vReveal-BE2TsPoR.js +0 -24
- package/src/fonts/fraunces/fraunces-latin.woff2 +0 -0
- package/src/styles/disco-glyph.css +0 -26
- package/src/styles/glyph-face.css +0 -92
- /package/dist/{CollapsibleContent-D7UNsXQr.js → CollapsibleContent-CP9qF1v4.js} +0 -0
- /package/dist/{ContextMenuContent-DGKZX1Du.js → ContextMenuContent-DDa0v27s.js} +0 -0
- /package/dist/{HoverCardContent-Bn0UBMY9.js → HoverCardContent-B6CcQ8He.js} +0 -0
- /package/dist/{InstrumentChassis-BLJBl1BW.js → InstrumentChassis-C2f6cBaQ.js} +0 -0
- /package/dist/{InstrumentRail-BElFwKyt.js → InstrumentRail-CUJ05YVG.js} +0 -0
- /package/dist/{Label-DBc7bKzZ.js → Label-zRfbQdCn.js} +0 -0
- /package/dist/{ModalOverlay-D1VrWyoi.js → ModalOverlay-B1GkAjNb.js} +0 -0
- /package/dist/{PaperBackdrop-DCGoGatv.js → PaperBackdrop-CqwjnfLv.js} +0 -0
- /package/dist/{SelectGroup-BcaFjvP4.js → SelectGroup-BFiod7X2.js} +0 -0
- /package/dist/{Separator-DZyqsCum.js → Separator-D7sD7RKj.js} +0 -0
- /package/dist/{Switch-2rsAtDfA.js → Switch-LDKLmmgx.js} +0 -0
- /package/dist/{TooltipProvider-CD2IXfRv.js → TooltipProvider-CmZzCuaG.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-gLzyemvl.js → _plugin-vue_export-helper-ok8pgSl5.js} +0 -0
- /package/dist/composables/{dom → motion}/useTextHighlight.d.ts +0 -0
- /package/dist/{createContext-CvNyBk4o.js → createContext-B44Sah_H.js} +0 -0
- /package/dist/{useGlassRenderer-HebgSEgN.js → useGlassRenderer-5I0YkI4t.js} +0 -0
- /package/dist/{useInterval-D3USn0yc.js → useInterval-Dsmqwi03.js} +0 -0
- /package/dist/{useResizeObserver-CSyxGxIX.js → useResizeObserver-CWCbk5Px.js} +0 -0
- /package/dist/{useSpringMount-LRZqJTaF.js → useSpringMount-BJSHcLl3.js} +0 -0
- /package/dist/{useTimer-DEJonOZa.js → useTimer-3xqf_54b.js} +0 -0
- /package/dist/{useUserInvalidAria-CQKjEfwP.js → useUserInvalidAria-DoJKMZ3s.js} +0 -0
- /package/dist/{useViewportReady-K96m-Mdv.js → useViewportReady-RIr5Wgkh.js} +0 -0
package/src/styles/index.css
CHANGED
|
@@ -60,10 +60,15 @@
|
|
|
60
60
|
* over the glass tiers.
|
|
61
61
|
* 5. paper.css — paper underpaint + grain overlay utilities.
|
|
62
62
|
* Pairs with (4) for paper-on-glass compositions.
|
|
63
|
-
* 6. dock.css — dock
|
|
64
|
-
*
|
|
65
|
-
* comma-groups
|
|
66
|
-
* (
|
|
63
|
+
* 6. dock.css — the dock CORE: the `@property --dock-morph-t`
|
|
64
|
+
* registration, the shared cross-control four-state
|
|
65
|
+
* comma-groups, and the `@import`s of the cohesive
|
|
66
|
+
* `dock/*.css` partials (shell · morph · density ·
|
|
67
|
+
* layers · layer-group · overflow — AX.W06 carved
|
|
68
|
+
* the 1762-line god-module into single-axis partials,
|
|
69
|
+
* each < 500 lines, all in the SAME @layer components
|
|
70
|
+
* so the cascade is isomorphic). Component utility
|
|
71
|
+
* layer; consumes (1) + (3).
|
|
67
72
|
* 6b. dock-controls.css — the five dock CONTROL families carved out of
|
|
68
73
|
* dock.css (AU.W8b.3): .dock-icon-button,
|
|
69
74
|
* .dark-mode-toggle-button, .dock-tab-button + tiers,
|
|
@@ -99,13 +104,11 @@
|
|
|
99
104
|
* binding + bezel hairlines + sibling divider
|
|
100
105
|
* rule). Composes alongside instrument-chassis;
|
|
101
106
|
* shares the bezel-line twin-pixel idiom.
|
|
102
|
-
* 14.
|
|
103
|
-
* 15.
|
|
104
|
-
* 16. hover-popover.css — V.W3 popover-animation grammar.
|
|
105
|
-
* 17. drawer.css — AN.W3 detented bottom-sheet grammar (glass
|
|
107
|
+
* 14. hover-popover.css — V.W3 popover-animation grammar.
|
|
108
|
+
* 15. drawer.css — AN.W3 detented bottom-sheet grammar (glass
|
|
106
109
|
* sheet surface + peek handle + snap-stop rules).
|
|
107
110
|
*
|
|
108
|
-
* Per-package component CSS lives at (12)-(
|
|
111
|
+
* Per-package component CSS lives at (12)-(15) (loaded after utilities so
|
|
109
112
|
* component-local recipes can override). New per-package CSS files append
|
|
110
113
|
* to that tail.
|
|
111
114
|
*/
|
|
@@ -127,8 +130,6 @@
|
|
|
127
130
|
@import "./utilities.css";
|
|
128
131
|
@import "./instrument-chassis.css";
|
|
129
132
|
@import "./instrument-rail.css";
|
|
130
|
-
@import "./glyph-face.css";
|
|
131
|
-
@import "./disco-glyph.css";
|
|
132
133
|
@import "./hover-popover.css";
|
|
133
134
|
@import "./drawer.css";
|
|
134
135
|
|
package/src/styles/theme.css
CHANGED
|
@@ -62,6 +62,50 @@
|
|
|
62
62
|
The density-scaled --dock-card-radius (dock.css) resolves through this. */
|
|
63
63
|
--radius-dock-card: var(--radius-3xl);
|
|
64
64
|
--radius-tooltip: var(--radius-lg);
|
|
65
|
+
|
|
66
|
+
/* ── AX.W56 — the corner-SHAPE axis (parallel to the corner-RADIUS ladder above).
|
|
67
|
+
`corner-shape` only changes the CURVE within the `border-radius` box; the
|
|
68
|
+
region is still the `--radius-*` token. These are plain @theme (the radius
|
|
69
|
+
siblings' rationale applies — each alias is its own override point, and the
|
|
70
|
+
semantic shapes are value-identical keywords that must not collapse under
|
|
71
|
+
inline). Chrome 139+ only (~65% global May 2026); the un-gated `border-radius`
|
|
72
|
+
round stays the cross-engine CONTRACT and the `@supports (corner-shape:
|
|
73
|
+
superellipse(2))` gate (glass.css/dock.css) is the PE tier. NEVER make
|
|
74
|
+
corner-shape the contract — Safari/Firefox have no positive signal through 2026.
|
|
75
|
+
|
|
76
|
+
Superellipse exponent (MDN authoritative): `superellipse(K)` paints
|
|
77
|
+
|x|^(2K) + |y|^(2K) = 1, so the curve exponent n = 2K. The CSS `squircle`
|
|
78
|
+
keyword == `superellipse(2)` == n=4 — the iOS-idiomatic web squircle. The
|
|
79
|
+
k-PRIMITIVE band (a consumer dials 1.7–2.4 to taste; W42's dock-morph calc()s
|
|
80
|
+
its animated k against this ONE vocabulary — do not re-define a second k). */
|
|
81
|
+
--corner-k-squircle: 2; /* the squircle — superellipse(2), n=4 */
|
|
82
|
+
--corner-k-soft: 1.7; /* gentler, between round and squircle — n≈3.4 */
|
|
83
|
+
--corner-k-sharp: 2.4; /* crisper square-bias for large surfaces — n≈4.8 */
|
|
84
|
+
|
|
85
|
+
/* Semantic per-surface SHAPE aliases — the rounded-vs-squircle POLICY.
|
|
86
|
+
Cards, pills/buttons, small docks, and panels stay ROUND (the superellipse is
|
|
87
|
+
imperceptible at a 16px card radius or a stadium pill — dropping it there is
|
|
88
|
+
visually free). The big-dock card shell (the large --radius-dock-card / 24px
|
|
89
|
+
surface) is the one site where the squircle READS — the iOS-26 idiom the dock
|
|
90
|
+
wants. A consumer opts an additional large-radius surface in by re-pointing its
|
|
91
|
+
`--corner-shape-<surface>` at `superellipse(var(--corner-k-squircle))`. */
|
|
92
|
+
--corner-shape-card: round;
|
|
93
|
+
--corner-shape-pill: round;
|
|
94
|
+
--corner-shape-panel: round;
|
|
95
|
+
--corner-shape-bigdock: superellipse(var(--corner-k-squircle));
|
|
96
|
+
/* AX.W56(R1) — the overlay-band glass surfaces W54 makes glass-default
|
|
97
|
+
(Dialog + Sheet content) ride the squircle alongside the big-dock. They
|
|
98
|
+
sit at the large `--radius-dialog` (16px) modal radius where the
|
|
99
|
+
superellipse READS — the same iOS-26 idiom. @supports-gated in glass.css
|
|
100
|
+
over the `border-radius` round CONTRACT; a consumer dials either back to
|
|
101
|
+
round by re-pointing the alias. */
|
|
102
|
+
--corner-shape-dialog: superellipse(var(--corner-k-squircle));
|
|
103
|
+
--corner-shape-sheet: superellipse(var(--corner-k-squircle));
|
|
104
|
+
/* AX.W59 — the spectrum slider's track-height thumb reads as a SQUIRCLE
|
|
105
|
+
(the iOS color-picker idiom). It rides the same --corner-k-squircle
|
|
106
|
+
vocabulary; @supports-gated in Slider.vue over a --radius-* round
|
|
107
|
+
fallback. A consumer dials it to round (a circular knob) or to soft. */
|
|
108
|
+
--corner-shape-thumb: superellipse(var(--corner-k-squircle));
|
|
65
109
|
}
|
|
66
110
|
|
|
67
111
|
@theme inline {
|
|
@@ -77,6 +121,13 @@
|
|
|
77
121
|
--text-subheading: var(--type-subheading);
|
|
78
122
|
--text-heading: var(--type-heading);
|
|
79
123
|
--text-title: var(--type-title);
|
|
124
|
+
/* AX.W50 D17 — the picker-family type-scale → `text-dropdown` /
|
|
125
|
+
`text-dropdown-secondary` utilities, bridging the `--dropdown-text` token pair
|
|
126
|
+
(tokens.css §10, a specialization of W51's `--control-text` comfort register)
|
|
127
|
+
so a Tailwind `text-dropdown` utility resolves the family scale. Mirrors the
|
|
128
|
+
`--text-small: var(--type-small)` ladder-bridge idiom above. */
|
|
129
|
+
--text-dropdown: var(--dropdown-text);
|
|
130
|
+
--text-dropdown-secondary: var(--dropdown-text-secondary);
|
|
80
131
|
--text-display: var(--type-display-1);
|
|
81
132
|
--text-display-1: var(--type-display-1);
|
|
82
133
|
--text-display-2: var(--type-display-2);
|
|
@@ -103,9 +154,17 @@
|
|
|
103
154
|
|
|
104
155
|
/* ═══════════════════════════════════════════════
|
|
105
156
|
Font families → font-* utilities
|
|
157
|
+
|
|
158
|
+
ONE brand register, bridged from tokens.css §0's --font-stack-* source.
|
|
159
|
+
--font-text is the body/heading/prose/display register (Plus Jakarta
|
|
160
|
+
Sans). --font-serif is a bridge alias for the demo configurator's "serif"
|
|
161
|
+
control slot — it resolves to the SAME text register (the library carries
|
|
162
|
+
no display-serif voice). A consumer rebrands the whole text register by
|
|
163
|
+
overriding --font-text once.
|
|
106
164
|
═══════════════════════════════════════════════ */
|
|
165
|
+
--font-text: var(--font-stack-text);
|
|
107
166
|
--font-display: var(--font-stack-display);
|
|
108
|
-
--font-serif: var(--font-stack-
|
|
167
|
+
--font-serif: var(--font-stack-text);
|
|
109
168
|
--font-sans: var(--font-stack-sans);
|
|
110
169
|
--font-mono: var(--font-stack-mono);
|
|
111
170
|
|
|
@@ -358,7 +417,6 @@
|
|
|
358
417
|
--ease-in: var(--motion-ease-in);
|
|
359
418
|
--ease-out-expo: var(--motion-ease-out-expo);
|
|
360
419
|
--ease-apple: var(--motion-ease-apple);
|
|
361
|
-
--ease-apple-spring: var(--motion-ease-apple-spring);
|
|
362
420
|
--ease-spring: var(--spring-snappy);
|
|
363
421
|
--ease-decelerate: var(--motion-ease-out);
|
|
364
422
|
--ease-accelerate: var(--motion-ease-in);
|