@mkbabb/glass-ui 3.13.0 → 4.0.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-XH4YBVEK.js +158 -0
- package/dist/{CommandShortcut-RowNEO6i.js → CommandShortcut-DdtWXxOK.js} +57 -52
- package/dist/{ContextMenuSubContent-BQmxTAdw.js → ContextMenuSubContent-B0Vs6atR.js} +1 -1
- package/dist/{DataTable-BCddn3T3.js → DataTable-C464Zbqd.js} +99 -97
- package/dist/DialogContent-DDE6pQBU.js +103 -0
- package/dist/{DialogFooter-Blu4t7tJ.js → DialogFooter-8eZbdmPc.js} +1 -1
- package/dist/FadingScroll-DwNnvKMs.js +76 -0
- package/dist/{HoverPopover-CISOJQuZ.js → HoverPopover-Dpzwvc4t.js} +1 -1
- package/dist/IconChip-BDw1j5mu.js +54 -0
- package/dist/{MetricBadge-C9QMz1KT.js → MetricBadge-BpC0R_Ec.js} +1 -1
- package/dist/{Notification-DdwNxIrI.js → Notification-DKjKsQq8.js} +8 -8
- package/dist/{NumberFieldContent-CqaN-SvN.js → NumberFieldContent-1VtwDSgf.js} +1 -1
- package/dist/PopoverContent-BTorlp--.js +127 -0
- package/dist/{Progress-DwlUKGbr.js → Progress-hAT4gqGH.js} +97 -77
- package/dist/{ScrollingText-DfFrwSph.js → ScrollingText-CUVFTWk2.js} +2 -2
- package/dist/{SelectScrollDownButton-CiDUxfEj.js → SelectScrollDownButton-C1jb3b3K.js} +22 -6
- package/dist/{Switch-CsIuYP_e.js → Switch-Dr--uLGH.js} +1 -1
- package/dist/{Toaster-D6q4HtXu.js → Toaster-Bm_HQSpc.js} +6 -6
- package/dist/{ToggleGroupItem-D_AHlRw9.js → ToggleGroupItem-Dzk9hWsF.js} +1 -1
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +8 -5
- package/dist/api.js +2 -2
- package/dist/aurora.js +132 -117
- package/dist/{button-ChXMfsud.js → button-BNDWhAZb.js} +2 -2
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.d.ts +1 -1
- package/dist/carousel.js +97 -141
- package/dist/collapsible.js +1 -1
- package/dist/color-swatch.d.ts +1 -0
- package/dist/color-swatch.js +47 -0
- package/dist/color.js +1 -1
- package/dist/command.js +1 -1
- package/dist/components/custom/aurora/constants/presets.d.ts +28 -0
- package/dist/components/custom/aurora/constants/renderMode.d.ts +2 -0
- package/dist/components/custom/aurora/index.d.ts +1 -1
- package/dist/components/custom/color-swatch/ColorSwatch.vue.d.ts +22 -0
- package/dist/components/custom/color-swatch/index.d.ts +1 -0
- package/dist/components/custom/configurator/Configurator.vue.d.ts +19 -8
- package/dist/components/custom/constellation/Constellation.vue.d.ts +18 -206
- package/dist/components/custom/constellation/composables/useConstellation.d.ts +26 -0
- package/dist/components/custom/constellation/constellationField.d.ts +2 -369
- package/dist/components/custom/constellation/constellationTypes.d.ts +369 -0
- package/dist/components/custom/constellation/index.d.ts +1 -1
- package/dist/components/custom/dock/DockRail.vue.d.ts +17 -16
- package/dist/components/custom/dock/DockSection.vue.d.ts +69 -0
- package/dist/components/custom/dock/DockSeparator.vue.d.ts +49 -1
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +5 -5
- package/dist/components/custom/dock/constants.d.ts +35 -0
- package/dist/components/custom/dock/index.d.ts +2 -0
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +10 -0
- package/dist/components/custom/fading-scroll/FadingScroll.vue.d.ts +25 -0
- package/dist/components/custom/fading-scroll/composables/useFadingScroll.d.ts +31 -0
- package/dist/components/custom/fading-scroll/constants.d.ts +19 -0
- package/dist/components/custom/fading-scroll/index.d.ts +2 -0
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +7 -0
- 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/glass-panel/GlassPanel.vue.d.ts +8 -0
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +11 -1
- package/dist/components/custom/goo-blob/constants.d.ts +6 -1
- package/dist/components/custom/handmark/HandMark.vue.d.ts +29 -0
- package/dist/components/custom/handmark/brush.d.ts +269 -0
- package/dist/components/custom/handmark/composables/useHandMark.d.ts +89 -0
- package/dist/components/custom/handmark/constants.d.ts +39 -0
- package/dist/components/custom/handmark/freehand.d.ts +69 -0
- package/dist/components/custom/handmark/geometry.d.ts +52 -0
- package/dist/components/custom/handmark/index.d.ts +27 -0
- package/dist/components/custom/handmark/ink.d.ts +11 -0
- package/dist/components/custom/handmark/texture.d.ts +39 -0
- package/dist/components/custom/handmark/types.d.ts +62 -0
- package/dist/components/custom/icon-chip/IconChip.vue.d.ts +4 -0
- package/dist/components/custom/icon-chip/index.d.ts +2 -0
- package/dist/components/custom/icon-chip/types.d.ts +72 -0
- package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +15 -2
- package/dist/components/custom/pager-dots/PagerDots.vue.d.ts +39 -0
- package/dist/components/custom/pager-dots/index.d.ts +2 -0
- package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +20 -25
- package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +30 -21
- package/dist/components/custom/tabs/constants.d.ts +9 -3
- package/dist/components/custom/tabs/index.d.ts +1 -1
- package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +14 -0
- package/dist/components/ui/_shared/index.d.ts +2 -0
- package/dist/components/ui/_shared/menuItemVariants.d.ts +19 -0
- package/dist/components/ui/_shared/useSurfaceAxis.d.ts +41 -0
- package/dist/components/ui/card/Card.vue.d.ts +1 -1
- package/dist/components/ui/carousel/index.d.ts +0 -1
- package/dist/components/ui/command/Command.vue.d.ts +3 -0
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +8 -3
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +5 -0
- package/dist/components/ui/index.d.ts +0 -1
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +3 -0
- package/dist/components/ui/progress/ProgressSectioned.vue.d.ts +14 -3
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +27 -4
- package/dist/components/ui/sheet/SheetContent.vue.d.ts +6 -0
- package/dist/components/ui/skeleton/Skeleton.vue.d.ts +3 -0
- package/dist/composables/dark/index.d.ts +1 -1
- package/dist/composables/dark/useGlobalDark.d.ts +23 -1
- package/dist/composables/motion/useViewTransition.d.ts +36 -1
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +2 -2
- package/dist/constellation.js +92 -94
- package/dist/context-menu.js +2 -2
- package/dist/controls.js +10 -4
- 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 +510 -321
- package/dist/{dockContext-BegmJVmx.js → dockContext-Bu1Avy-a.js} +1 -1
- package/dist/dom.js +5 -5
- package/dist/{dropdown-menu-DzkkyBwX.js → dropdown-menu-BJ7E9js_.js} +2 -2
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +42 -38
- package/dist/fading-scroll.d.ts +1 -0
- package/dist/fading-scroll.js +2 -0
- package/dist/forms.js +3 -3
- package/dist/fourier-field.js +38 -37
- package/dist/fourier-math.js +2 -2
- package/dist/glass-panel.js +39 -36
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +129 -145
- package/dist/goo-blob.js +86 -81
- package/dist/handmark.d.ts +1 -0
- package/dist/handmark.js +707 -0
- package/dist/header-ribbon.js +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/hover-popover.js +1 -1
- package/dist/icon-chip.d.ts +1 -0
- package/dist/icon-chip.js +2 -0
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/keyboard.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +6 -6
- package/dist/{math-U6-RrLmV.js → math-DeuJwLFx.js} +11 -3
- package/dist/{menuItemVariants-DPiEarb0.js → menuItemVariants-DWRQXBxJ.js} +10 -4
- package/dist/metric-badge.js +1 -1
- package/dist/metric-cell.js +25 -22
- package/dist/metric-stack.js +1 -1
- package/dist/motion-core.js +33 -32
- package/dist/motion-curves.js +1 -1
- package/dist/motion.js +4 -4
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.d.ts +1 -0
- package/dist/pager-dots.js +91 -0
- package/dist/paper-backdrop.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/{presets-BKVyQfbt.js → presets-BW2b-fr1.js} +14 -1
- package/dist/progress.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +5 -5
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/{sheet-1fChZjtw.js → sheet-CquRYOAw.js} +59 -55
- package/dist/sheet.js +1 -1
- package/dist/{slider-B-JP2JlI.js → slider-DQ95MET2.js} +7 -7
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +3 -3
- package/dist/styles/animations.css +11 -26
- package/dist/styles/components.css +1 -1
- package/dist/styles/configurator.css +35 -0
- package/dist/styles/dock/density.css +19 -0
- package/dist/styles/dock/overflow.css +15 -0
- package/dist/styles/dock/rail-extend.css +168 -71
- package/dist/styles/dock/section.css +59 -0
- package/dist/styles/dock/shell.css +34 -5
- package/dist/styles/dock-controls/icon-button.css +11 -1
- package/dist/styles/dock-controls/tab-button.css +24 -83
- package/dist/styles/dock-controls/triggers.css +7 -0
- package/dist/styles/dock.css +6 -3
- package/dist/styles/drawer.css +46 -0
- package/dist/styles/feedback-tone.css +104 -0
- package/dist/styles/glass/ladder.css +68 -22
- package/dist/styles/glass/surface-axis.css +113 -0
- package/dist/styles/glass/surfaces.css +88 -12
- package/dist/styles/glass.css +5 -2
- package/dist/styles/icon-chip.css +149 -0
- package/dist/styles/index.css +67 -5
- package/dist/styles/instrument-chassis.css +42 -0
- package/dist/styles/menu.css +127 -0
- package/dist/styles/segmented-tabs.css +160 -89
- package/dist/styles/select.css +50 -0
- package/dist/styles/theme/bridges.css +11 -1
- package/dist/styles/tokens/color-radius.css +40 -13
- package/dist/styles/tokens/dark-arm.css +124 -16
- package/dist/styles/tokens/glass.css +83 -23
- package/dist/styles/tokens/light-dark.css +48 -19
- package/dist/styles/tokens/offsets-sizing.css +62 -0
- package/dist/styles/tokens/property-regs.css +3 -10
- package/dist/styles/tokens/scale-paper.css +45 -2
- package/dist/styles/tokens/scheme-motion.css +32 -14
- package/dist/styles/transitions.css +7 -7
- package/dist/styles/typography/scale.css +153 -0
- package/dist/styles/typography/semantic.css +220 -0
- package/dist/styles/typography/utilities.css +159 -0
- package/dist/styles/typography.css +23 -507
- package/dist/styles/utilities/a11y-overrides.css +33 -4
- package/dist/styles/utilities/base.css +177 -1
- package/dist/styles/utilities/btn.css +18 -201
- package/dist/styles/view-transition.css +4 -1
- package/dist/switch.js +1 -1
- package/dist/tabs.js +154 -183
- package/dist/timeline.js +2 -2
- package/dist/toast.js +1 -1
- package/dist/toggle-chip.js +3 -1
- package/dist/toggle-group.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{useAnimatedNumber-C5I3wWd8.js → useAnimatedNumber-C_3wZLx4.js} +1 -1
- package/dist/useConfiguratorState-kiIlun8I.js +303 -0
- package/dist/{useGlobalDark-yhL4Wp-s.js → useGlobalDark-C28t0VWJ.js} +22 -3
- package/dist/{useRAFLoop-Bxv0o6L5.js → useRAFLoop-CdwJ7284.js} +1 -1
- package/dist/{useSpringMount-CI2jOstM.js → useSpringMount-CvopqiFr.js} +1 -1
- package/dist/useSurfaceAxis-CMnF2zHb.js +7 -0
- package/dist/{useTouchGate-Dg7MQI1G.js → useTouchGate-28Tk2-t2.js} +1 -1
- package/dist/{vReveal-CqaCz_mC.js → useViewTransition-COsPjQVZ.js} +15 -12
- package/dist/vReveal-D9k0jADx.js +10 -0
- package/dist/watercolor-dot.js +12 -5
- package/package.json +71 -7
- package/src/styles/animations.css +11 -26
- package/src/styles/configurator.css +35 -0
- package/src/styles/dock/density.css +19 -0
- package/src/styles/dock/overflow.css +15 -0
- package/src/styles/dock/rail-extend.css +168 -71
- package/src/styles/dock/section.css +59 -0
- package/src/styles/dock/shell.css +34 -5
- package/src/styles/dock-controls/icon-button.css +11 -1
- package/src/styles/dock-controls/tab-button.css +24 -83
- package/src/styles/dock-controls/triggers.css +7 -0
- package/src/styles/dock.css +6 -3
- package/src/styles/drawer.css +42 -0
- package/src/styles/feedback-tone.css +104 -0
- package/src/styles/glass/ladder.css +68 -22
- package/src/styles/glass/surface-axis.css +113 -0
- package/src/styles/glass/surfaces.css +88 -12
- package/src/styles/glass.css +5 -2
- package/src/styles/icon-chip.css +149 -0
- package/src/styles/index.css +66 -4
- package/src/styles/instrument-chassis.css +42 -0
- package/src/styles/menu.css +127 -0
- package/src/styles/segmented-tabs.css +156 -87
- package/src/styles/select.css +50 -0
- package/src/styles/theme/bridges.css +11 -1
- package/src/styles/tokens/color-radius.css +40 -13
- package/src/styles/tokens/dark-arm.css +124 -16
- package/src/styles/tokens/glass.css +83 -23
- package/src/styles/tokens/light-dark.css +48 -19
- package/src/styles/tokens/offsets-sizing.css +62 -0
- package/src/styles/tokens/property-regs.css +3 -10
- package/src/styles/tokens/scale-paper.css +45 -2
- package/src/styles/tokens/scheme-motion.css +32 -14
- package/src/styles/transitions.css +7 -7
- package/src/styles/typography/scale.css +153 -0
- package/src/styles/typography/semantic.css +220 -0
- package/src/styles/typography/utilities.css +159 -0
- package/src/styles/typography.css +23 -507
- package/src/styles/utilities/a11y-overrides.css +33 -4
- package/src/styles/utilities/base.css +177 -1
- package/src/styles/utilities/btn.css +18 -201
- package/src/styles/view-transition.css +4 -1
- package/dist/CardAction-Cj2eycQ2.js +0 -157
- package/dist/DialogContent-Dl9WkAoS.js +0 -100
- package/dist/PopoverContent-BYwt2-4x.js +0 -121
- package/dist/TabsList-Dttss653.js +0 -105
- package/dist/components/custom/underline/GlassUnderline.vue.d.ts +0 -84
- package/dist/components/custom/underline/index.d.ts +0 -2
- package/dist/components/custom/underline/types.d.ts +0 -56
- package/dist/components/ui/carousel/CarouselDots.vue.d.ts +0 -4
- package/dist/underline.d.ts +0 -1
- package/dist/underline.js +0 -85
- package/dist/useConfiguratorState-DAoeHVue.js +0 -287
- /package/dist/{CollapsibleContent-CP9qF1v4.js → CollapsibleContent-C_s6fG7r.js} +0 -0
- /package/dist/{ContextMenuContent-CT3AS1WX.js → ContextMenuContent-ON3x7cuk.js} +0 -0
- /package/dist/{HoverCardContent-Csywg3YF.js → HoverCardContent-DkMaQzH5.js} +0 -0
- /package/dist/{IconTooltip-DPzE09X9.js → IconTooltip-DSjasZIt.js} +0 -0
- /package/dist/{Input-DWQQIOC4.js → Input-DVG_J0ne.js} +0 -0
- /package/dist/{Label-r3WzWrsj.js → Label-Ck9SWEKM.js} +0 -0
- /package/dist/{ModalOverlay-DVLI2VRr.js → ModalOverlay-CkPRRgl_.js} +0 -0
- /package/dist/{PaperBackdrop-DIXTtVq6.js → PaperBackdrop-nBKe0vkB.js} +0 -0
- /package/dist/{SelectGroup-aumMgWLs.js → SelectGroup-Dcczq44n.js} +0 -0
- /package/dist/{SelectSeparator-BQ_1Fcbp.js → SelectSeparator-DK2y1Bun.js} +0 -0
- /package/dist/{Separator-0JE6LtNu.js → Separator-BArl4OaB.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-ok8pgSl5.js → _plugin-vue_export-helper-CBt_VvXa.js} +0 -0
- /package/dist/{color-CUYeFbgd.js → color-DweYl7pE.js} +0 -0
- /package/dist/{compile-B7NGOBcP.js → compile-EXXzEr1q.js} +0 -0
- /package/dist/{constants-CS75AWHG.js → constants-BPOqYJAm.js} +0 -0
- /package/dist/{createContext-BM46COQ-.js → createContext-B2RaZ-b8.js} +0 -0
- /package/dist/{prng-D27-B3tK.js → prng-Cg22zv8g.js} +0 -0
- /package/dist/{springPresets--YdWTHtm.js → springPresets-WXaLbu8u.js} +0 -0
- /package/dist/{useIntersectionPause-Cc-H9ees.js → useIntersectionPause-Bj4sPkMh.js} +0 -0
- /package/dist/{useInterval-iHludrxk.js → useInterval-CNdua40W.js} +0 -0
- /package/dist/{useKeyboardShortcuts-Be3w_Rwk.js → useKeyboardShortcuts-BXWXOZ-9.js} +0 -0
- /package/dist/{useLiquidFlex-BL0lLLN2.js → useLiquidFlex-C12hXwOZ.js} +0 -0
- /package/dist/{useResizeObserver-BhgdhOIj.js → useResizeObserver-V6nq5gJb.js} +0 -0
- /package/dist/{useResolveTokenColor-Dvn2RZJW.js → useResolveTokenColor-NUG2zYAW.js} +0 -0
- /package/dist/{useScrollProgress-Dlvx-L3v.js → useScrollProgress-D7bYU2RK.js} +0 -0
- /package/dist/{useSortable-muI29agz.js → useSortable-BVqlJRBR.js} +0 -0
- /package/dist/{useTextHighlight-DmRYkOBx.js → useTextHighlight-NmBM5V_4.js} +0 -0
- /package/dist/{useTimer-Dzarvzuk.js → useTimer-B_PAasDL.js} +0 -0
- /package/dist/{useUserInvalidAria-B2h6jAM_.js → useUserInvalidAria-CDfJuakL.js} +0 -0
- /package/dist/{useViewportReady-B40FK4Pa.js → useViewportReady-CvBcCYDf.js} +0 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
2
|
import { t } from "./x-BUwTKe50.js";
|
|
3
|
-
import { t as n } from "./
|
|
4
|
-
import { t as r } from "./
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { t as n } from "./useSurfaceAxis-CMnF2zHb.js";
|
|
4
|
+
import { t as r } from "./useSpringMount-CvopqiFr.js";
|
|
5
|
+
import { t as i } from "./ModalOverlay-CkPRRgl_.js";
|
|
6
|
+
import { computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, guardReactiveProps as d, mergeProps as f, normalizeClass as p, normalizeProps as m, openBlock as h, renderSlot as g, toHandlers as _, unref as v, withCtx as y } from "vue";
|
|
7
|
+
import { DialogClose as b, DialogContent as x, DialogDescription as S, DialogPortal as C, DialogRoot as w, DialogTitle as T, DialogTrigger as E, injectDialogRootContext as D, useForwardPropsEmits as O } from "reka-ui";
|
|
8
|
+
import { cva as k } from "class-variance-authority";
|
|
8
9
|
//#endregion
|
|
9
10
|
//#region src/components/ui/sheet/Sheet.vue
|
|
10
|
-
var
|
|
11
|
+
var A = /* @__PURE__ */ u({
|
|
11
12
|
__name: "Sheet",
|
|
12
13
|
props: {
|
|
13
14
|
open: { type: Boolean },
|
|
@@ -16,13 +17,13 @@ var k = /* @__PURE__ */ l({
|
|
|
16
17
|
},
|
|
17
18
|
emits: ["update:open"],
|
|
18
19
|
setup(e, { emit: t }) {
|
|
19
|
-
let n =
|
|
20
|
-
return (e, t) => (
|
|
21
|
-
default:
|
|
20
|
+
let n = O(e, t);
|
|
21
|
+
return (e, t) => (h(), o(v(w), f({ "data-slot": "sheet" }, v(n)), {
|
|
22
|
+
default: y(() => [g(e.$slots, "default")]),
|
|
22
23
|
_: 3
|
|
23
24
|
}, 16));
|
|
24
25
|
}
|
|
25
|
-
}),
|
|
26
|
+
}), j = /* @__PURE__ */ u({
|
|
26
27
|
__name: "SheetTrigger",
|
|
27
28
|
props: {
|
|
28
29
|
asChild: { type: Boolean },
|
|
@@ -30,12 +31,12 @@ var k = /* @__PURE__ */ l({
|
|
|
30
31
|
},
|
|
31
32
|
setup(e) {
|
|
32
33
|
let t = e;
|
|
33
|
-
return (e, n) => (
|
|
34
|
-
default:
|
|
34
|
+
return (e, n) => (h(), o(v(E), m(d(t)), {
|
|
35
|
+
default: y(() => [g(e.$slots, "default")]),
|
|
35
36
|
_: 3
|
|
36
37
|
}, 16));
|
|
37
38
|
}
|
|
38
|
-
}),
|
|
39
|
+
}), M = /* @__PURE__ */ u({
|
|
39
40
|
__name: "SheetClose",
|
|
40
41
|
props: {
|
|
41
42
|
asChild: { type: Boolean },
|
|
@@ -43,12 +44,12 @@ var k = /* @__PURE__ */ l({
|
|
|
43
44
|
},
|
|
44
45
|
setup(e) {
|
|
45
46
|
let t = e;
|
|
46
|
-
return (e, n) => (
|
|
47
|
-
default:
|
|
47
|
+
return (e, n) => (h(), o(v(b), m(d(t)), {
|
|
48
|
+
default: y(() => [g(e.$slots, "default")]),
|
|
48
49
|
_: 3
|
|
49
50
|
}, 16));
|
|
50
51
|
}
|
|
51
|
-
}),
|
|
52
|
+
}), N = /* @__PURE__ */ u({
|
|
52
53
|
inheritAttrs: !1,
|
|
53
54
|
__name: "SheetContent",
|
|
54
55
|
props: {
|
|
@@ -60,6 +61,7 @@ var k = /* @__PURE__ */ l({
|
|
|
60
61
|
Array
|
|
61
62
|
] },
|
|
62
63
|
side: {},
|
|
64
|
+
surface: {},
|
|
63
65
|
spring: { type: [Boolean, String] },
|
|
64
66
|
dragDismiss: { type: Boolean },
|
|
65
67
|
dragThreshold: {},
|
|
@@ -76,17 +78,17 @@ var k = /* @__PURE__ */ l({
|
|
|
76
78
|
"openAutoFocus",
|
|
77
79
|
"closeAutoFocus"
|
|
78
80
|
],
|
|
79
|
-
setup(
|
|
80
|
-
let
|
|
81
|
-
let { class: e, side: t,
|
|
82
|
-
return
|
|
83
|
-
}),
|
|
84
|
-
open:
|
|
85
|
-
preset: typeof
|
|
86
|
-
dismissThreshold:
|
|
87
|
-
onDismiss: () =>
|
|
88
|
-
}) : null,
|
|
89
|
-
function
|
|
81
|
+
setup(s, { emit: u }) {
|
|
82
|
+
let d = s, p = u, m = a(() => {
|
|
83
|
+
let { class: e, side: t, surface: n, spring: r, dragDismiss: i, dragThreshold: a, ...o } = d;
|
|
84
|
+
return o;
|
|
85
|
+
}), S = a(() => n(d.surface ?? "glass").replace(/^glass-\w+\s*/, "")), w = O(m, p), T = d.spring ? D() : null, E = d.spring && T ? r({
|
|
86
|
+
open: T.open,
|
|
87
|
+
preset: typeof d.spring == "string" ? d.spring : "smooth",
|
|
88
|
+
dismissThreshold: d.dragThreshold ?? .3,
|
|
89
|
+
onDismiss: () => T.onOpenChange(!1)
|
|
90
|
+
}) : null, k = a(() => d.side ?? "right");
|
|
91
|
+
function A(e, t) {
|
|
90
92
|
let n = `${e * 100}%`;
|
|
91
93
|
switch (t) {
|
|
92
94
|
case "top": return `translateY(-${n})`;
|
|
@@ -95,41 +97,43 @@ var k = /* @__PURE__ */ l({
|
|
|
95
97
|
default: return `translateX(${n})`;
|
|
96
98
|
}
|
|
97
99
|
}
|
|
98
|
-
let
|
|
99
|
-
if (
|
|
100
|
-
transform:
|
|
100
|
+
let j = a(() => {
|
|
101
|
+
if (E) return {
|
|
102
|
+
transform: A(E.position.value, k.value),
|
|
101
103
|
animation: "none",
|
|
102
104
|
transition: "none"
|
|
103
105
|
};
|
|
104
|
-
}),
|
|
105
|
-
return (n,
|
|
106
|
-
default:
|
|
106
|
+
}), M = a(() => d.spring && d.dragDismiss && E ? E.dragHandlers : {});
|
|
107
|
+
return (n, r) => (h(), o(v(C), null, {
|
|
108
|
+
default: y(() => [l(i, {
|
|
107
109
|
scrim: "glass",
|
|
108
110
|
animate: "fade",
|
|
109
111
|
layout: "centered"
|
|
110
|
-
}),
|
|
111
|
-
...
|
|
112
|
+
}), l(v(x), f({ class: v(e)(v(R)({ side: k.value }), S.value, d.spring ? "transition-none" : "", d.class) }, {
|
|
113
|
+
...v(w),
|
|
112
114
|
...n.$attrs
|
|
113
115
|
}, {
|
|
114
|
-
style:
|
|
115
|
-
"data-
|
|
116
|
-
"data-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
116
|
+
style: j.value,
|
|
117
|
+
"data-surface": d.surface ?? "glass",
|
|
118
|
+
"data-spring": d.spring ? typeof d.spring == "string" ? d.spring : "smooth" : void 0,
|
|
119
|
+
"data-drag-dismiss": d.spring && d.dragDismiss ? "" : void 0
|
|
120
|
+
}, _(M.value)), {
|
|
121
|
+
default: y(() => [g(n.$slots, "default"), l(v(b), { class: "focus-ring absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 disabled:pointer-events-none data-[state=open]:bg-secondary" }, {
|
|
122
|
+
default: y(() => [l(v(t), { class: "w-4 h-4 text-muted-foreground" }), r[0] ||= c("span", { class: "sr-only" }, "Close", -1)]),
|
|
120
123
|
_: 1
|
|
121
124
|
})]),
|
|
122
125
|
_: 3
|
|
123
126
|
}, 16, [
|
|
124
127
|
"class",
|
|
125
128
|
"style",
|
|
129
|
+
"data-surface",
|
|
126
130
|
"data-spring",
|
|
127
131
|
"data-drag-dismiss"
|
|
128
132
|
])]),
|
|
129
133
|
_: 3
|
|
130
134
|
}));
|
|
131
135
|
}
|
|
132
|
-
}),
|
|
136
|
+
}), P = /* @__PURE__ */ u({
|
|
133
137
|
__name: "SheetHeader",
|
|
134
138
|
props: { class: { type: [
|
|
135
139
|
Boolean,
|
|
@@ -140,9 +144,9 @@ var k = /* @__PURE__ */ l({
|
|
|
140
144
|
] } },
|
|
141
145
|
setup(t) {
|
|
142
146
|
let n = t;
|
|
143
|
-
return (t, r) => (
|
|
147
|
+
return (t, r) => (h(), s("div", { class: p(v(e)("flex flex-col gap-y-2 text-center sm:text-left", n.class)) }, [g(t.$slots, "default")], 2));
|
|
144
148
|
}
|
|
145
|
-
}),
|
|
149
|
+
}), F = /* @__PURE__ */ u({
|
|
146
150
|
__name: "SheetTitle",
|
|
147
151
|
props: {
|
|
148
152
|
asChild: { type: Boolean },
|
|
@@ -156,16 +160,16 @@ var k = /* @__PURE__ */ l({
|
|
|
156
160
|
] }
|
|
157
161
|
},
|
|
158
162
|
setup(t) {
|
|
159
|
-
let n = t, r =
|
|
163
|
+
let n = t, r = a(() => {
|
|
160
164
|
let { class: e, ...t } = n;
|
|
161
165
|
return t;
|
|
162
166
|
});
|
|
163
|
-
return (t, i) => (
|
|
164
|
-
default:
|
|
167
|
+
return (t, i) => (h(), o(v(T), f({ class: v(e)("text-subheading text-foreground", n.class) }, r.value), {
|
|
168
|
+
default: y(() => [g(t.$slots, "default")]),
|
|
165
169
|
_: 3
|
|
166
170
|
}, 16, ["class"]));
|
|
167
171
|
}
|
|
168
|
-
}),
|
|
172
|
+
}), I = /* @__PURE__ */ u({
|
|
169
173
|
__name: "SheetDescription",
|
|
170
174
|
props: {
|
|
171
175
|
asChild: { type: Boolean },
|
|
@@ -179,16 +183,16 @@ var k = /* @__PURE__ */ l({
|
|
|
179
183
|
] }
|
|
180
184
|
},
|
|
181
185
|
setup(t) {
|
|
182
|
-
let n = t, r =
|
|
186
|
+
let n = t, r = a(() => {
|
|
183
187
|
let { class: e, ...t } = n;
|
|
184
188
|
return t;
|
|
185
189
|
});
|
|
186
|
-
return (t, i) => (
|
|
187
|
-
default:
|
|
190
|
+
return (t, i) => (h(), o(v(S), f({ class: v(e)("text-sm text-muted-foreground", n.class) }, r.value), {
|
|
191
|
+
default: y(() => [g(t.$slots, "default")]),
|
|
188
192
|
_: 3
|
|
189
193
|
}, 16, ["class"]));
|
|
190
194
|
}
|
|
191
|
-
}),
|
|
195
|
+
}), L = /* @__PURE__ */ u({
|
|
192
196
|
__name: "SheetFooter",
|
|
193
197
|
props: { class: { type: [
|
|
194
198
|
Boolean,
|
|
@@ -199,9 +203,9 @@ var k = /* @__PURE__ */ l({
|
|
|
199
203
|
] } },
|
|
200
204
|
setup(t) {
|
|
201
205
|
let n = t;
|
|
202
|
-
return (t, r) => (
|
|
206
|
+
return (t, r) => (h(), s("div", { class: p(v(e)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2", n.class)) }, [g(t.$slots, "default")], 2));
|
|
203
207
|
}
|
|
204
|
-
}),
|
|
208
|
+
}), R = k("fixed z-modal gap-4 glass-floating p-6 transition ease-in-out sheet-animate", {
|
|
205
209
|
variants: { side: {
|
|
206
210
|
top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
|
|
207
211
|
bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
|
|
@@ -211,4 +215,4 @@ var k = /* @__PURE__ */ l({
|
|
|
211
215
|
defaultVariants: { side: "right" }
|
|
212
216
|
});
|
|
213
217
|
//#endregion
|
|
214
|
-
export {
|
|
218
|
+
export { P as a, j as c, F as i, A as l, L as n, N as o, I as r, M as s, R as t };
|
package/dist/sheet.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./sheet-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./sheet-CquRYOAw.js";
|
|
2
2
|
export { r as Sheet, s as SheetClose, a as SheetContent, o as SheetDescription, i as SheetFooter, e as SheetHeader, n as SheetTitle, t as SheetTrigger, c as sheetVariants };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-
|
|
3
|
-
import { t as n } from "./useTouchGate-
|
|
4
|
-
import { i as r } from "./dockContext-
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-CBt_VvXa.js";
|
|
3
|
+
import { t as n } from "./useTouchGate-28Tk2-t2.js";
|
|
4
|
+
import { i as r } from "./dockContext-Bu1Avy-a.js";
|
|
5
5
|
import { Fragment as i, computed as a, createBlock as o, createElementBlock as s, createVNode as c, defineComponent as l, mergeProps as u, onBeforeUnmount as d, onMounted as f, openBlock as p, renderList as m, unref as h, useTemplateRef as g, withCtx as _ } from "vue";
|
|
6
6
|
import { SliderRange as v, SliderRoot as y, SliderThumb as b, SliderTrack as x, useForwardPropsEmits as S } from "reka-ui";
|
|
7
7
|
import { cva as C } from "class-variance-authority";
|
|
@@ -121,16 +121,16 @@ var T = /* @__PURE__ */ t(/* @__PURE__ */ l({
|
|
|
121
121
|
"data-touch-active"
|
|
122
122
|
]));
|
|
123
123
|
}
|
|
124
|
-
}), [["__scopeId", "data-v-
|
|
124
|
+
}), [["__scopeId", "data-v-534634a7"]]), E = C("glass-slider focus-ring relative flex w-full touch-none select-none items-center transition-colors", {
|
|
125
125
|
variants: {
|
|
126
126
|
variant: {
|
|
127
127
|
standard: "",
|
|
128
128
|
spectrum: ""
|
|
129
129
|
},
|
|
130
130
|
size: {
|
|
131
|
-
sm: "
|
|
132
|
-
md: "
|
|
133
|
-
lg: "
|
|
131
|
+
sm: "",
|
|
132
|
+
md: "",
|
|
133
|
+
lg: ""
|
|
134
134
|
}
|
|
135
135
|
},
|
|
136
136
|
defaultVariants: {
|
package/dist/slider.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./slider-
|
|
1
|
+
import { n as e, t } from "./slider-DQ95MET2.js";
|
|
2
2
|
export { e as Slider, t as sliderVariants };
|
package/dist/sortable-list.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { n as t } from "./createContext-
|
|
3
|
-
import { t as n } from "./useSortable-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-CBt_VvXa.js";
|
|
2
|
+
import { n as t } from "./createContext-B2RaZ-b8.js";
|
|
3
|
+
import { t as n } from "./useSortable-BVqlJRBR.js";
|
|
4
4
|
import { computed as r, createBlock as i, defineComponent as a, mergeProps as o, openBlock as s, renderSlot as c, resolveDynamicComponent as l, toRef as u, unref as d, withCtx as f } from "vue";
|
|
5
5
|
//#region src/components/custom/sortable-list/context.ts
|
|
6
6
|
var p = t("glass-ui:sortable", "[glass-ui:sortable] <SortableItem> must be used inside <SortableList>"), m = p.KEY;
|
|
@@ -141,32 +141,13 @@
|
|
|
141
141
|
100% { background-position: -200% 0; }
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
/* ── Sparkle sweep
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
* and the
|
|
148
|
-
*
|
|
149
|
-
*
|
|
144
|
+
/* ── Sparkle sweep RETIRED (BA.W-GLASS-CAL, H2a) ──
|
|
145
|
+
* The `@keyframes sparkle-sweep` + its reduced-motion stub are DELETED with the
|
|
146
|
+
* disco recipe family — the `btn-audacious` ::after star (its sole consumer) is
|
|
147
|
+
* gone, and the dock-tab primary tier collapsed onto the calm glass register.
|
|
148
|
+
* The `Complete!` celebratory shimmer rides its OWN keyframes (gold-shimmer-slide
|
|
149
|
+
* / shimmer above), never sparkle-sweep.
|
|
150
150
|
*/
|
|
151
|
-
@keyframes sparkle-sweep {
|
|
152
|
-
0% {
|
|
153
|
-
transform: translate(-30%, -30%) scale(0.5);
|
|
154
|
-
opacity: 0;
|
|
155
|
-
}
|
|
156
|
-
25% {
|
|
157
|
-
opacity: 1;
|
|
158
|
-
}
|
|
159
|
-
100% {
|
|
160
|
-
transform: translate(180%, 180%) scale(1.2);
|
|
161
|
-
opacity: 0;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
@media (prefers-reduced-motion: reduce) {
|
|
166
|
-
@keyframes sparkle-sweep {
|
|
167
|
-
0%, 100% { opacity: 0; transform: none; }
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
151
|
|
|
171
152
|
/* ── Pulse dot bounce: dots variant of <Pulse> ──
|
|
172
153
|
*
|
|
@@ -334,7 +315,11 @@
|
|
|
334
315
|
opacity: 0;
|
|
335
316
|
scale: var(--top-layer-enter-scale, 0.96);
|
|
336
317
|
transition-property: opacity, scale, display, overlay;
|
|
337
|
-
|
|
318
|
+
/* BA.W-GLASS-CAL Unit 3 — the enter rides the bouncy spring's OWN settle
|
|
319
|
+
clock (`--spring-bouncy-duration`, the 2%-band envelope settle) rather
|
|
320
|
+
than the generic `--duration-normal`, so the emphatic dialog/popover
|
|
321
|
+
entrance bounce reads fully instead of being clipped at 0.3s. */
|
|
322
|
+
transition-duration: var(--spring-bouncy-duration);
|
|
338
323
|
transition-timing-function: var(--spring-bouncy);
|
|
339
324
|
transition-behavior: allow-discrete;
|
|
340
325
|
}
|