@mkbabb/glass-ui 9.0.0 → 10.0.1
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/MIGRATION.md +4768 -0
- package/README.md +57 -13
- package/dist/DialogContent-CwIBvou_.js +157 -0
- package/dist/{DropdownMenuTrigger-8UZsBtZ8.js → DropdownMenuTrigger-CKRnhDSQ.js} +1 -1
- package/dist/{Surface-i1tWC-Ga.js → Surface-1nPoabc3.js} +1 -1
- package/dist/{accent-tone-solve-Cw7WkRD9.js → accent-tone-solve-5H6FY2QO.js} +1 -1
- package/dist/aurora.js +22 -13
- package/dist/{badge-owUOaaba.js → badge-BO6BC4G5.js} +1 -1
- package/dist/badge.js +1 -1
- package/dist/blob.js +2 -2
- package/dist/{button-yvGPb0Bx.js → button-BOFTUPyU.js} +1 -1
- package/dist/button.js +1 -1
- package/dist/{card-3HFFpC7_.js → card-ByyqRBvK.js} +2 -2
- package/dist/card.js +1 -1
- package/dist/carousel.js +3 -3
- package/dist/chip.js +8 -3
- package/dist/{class-names-q-UGOkHH.js → class-names-FlXcvRRT.js} +65 -18
- package/dist/{collapsible-B7O6m-Ch.js → collapsible-DFzK29Oh.js} +5 -2
- package/dist/collapsible.js +1 -1
- package/dist/color.js +11 -11
- package/dist/{command-tEzAaVY_.js → command-C-5xSEJ2.js} +8 -8
- package/dist/command.js +1 -1
- package/dist/component-styles.css +1 -0
- package/dist/components/_shared/class-names.d.ts +10 -1
- package/dist/components/_shared/menu/menu.css +1 -1
- package/dist/components/_shared/overlay/index.d.ts +1 -0
- package/dist/components/_shared/overlay/shortcuts.d.ts +12 -0
- package/dist/components/aurora/composables/atoms.d.ts +22 -6
- package/dist/components/aurora/composables/runtime.d.ts +6 -4
- package/dist/components/aurora/constants/presets.d.ts +19 -1
- package/dist/components/blob/Blob.vue.d.ts +3 -3
- package/dist/components/button/styles.css +1 -1
- package/dist/components/card/Card.vue.d.ts +8 -2
- package/dist/components/chip/Chip.vue.d.ts +1 -7
- package/dist/components/chip/chipVariants.d.ts +1 -0
- package/dist/components/collapsible/Collapsible.vue.d.ts +1 -0
- package/dist/components/command/CommandDialog.vue.d.ts +1 -1
- package/dist/components/configurator/styles.css +1 -1
- package/dist/components/dark-mode-toggle/dark-mode-toggle.css +1 -1
- package/dist/components/deck/styles/capture.css +1 -1
- package/dist/components/dialog/styles.css +1 -1
- package/dist/components/dock/composables/dockCrossfadeContext.d.ts +0 -2
- package/dist/components/dock/composables/index.d.ts +1 -1
- package/dist/components/dock/composables/useDockHold.d.ts +16 -12
- package/dist/components/dock/styles/layers.css +1 -1
- package/dist/components/fourier-field/FourierField.vue.d.ts +1 -1
- package/dist/components/fourier-field/constants.d.ts +8 -7
- package/dist/components/fourier-field/index.d.ts +2 -2
- package/dist/components/labeled-field/LabeledSwitch.vue.d.ts +3 -1
- package/dist/components/labeled-field/types.d.ts +1 -1
- package/dist/components/menu/DropdownMenu.vue.d.ts +1 -1
- package/dist/components/metric/coalesce-metric.d.ts +6 -1
- package/dist/components/metric/styles.css +1 -1
- package/dist/components/popover/Popover.vue.d.ts +1 -1
- package/dist/components/scroll-progress-rim/styles.css +1 -1
- package/dist/components/sheet/styles.css +1 -1
- package/dist/components/slider/styles.css +1 -1
- package/dist/components/tabs/SegmentedTabs.vue.d.ts +25 -112
- package/dist/components/tabs/composables/useTabDragMorph.d.ts +1 -1
- package/dist/components/tabs/composables/useTabResponsive.d.ts +11 -11
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/styles/drag.css +1 -1
- package/dist/components/tabs/styles/segmented.css +1 -1
- package/dist/components/tabs/types.d.ts +85 -0
- package/dist/components/timeline/index.d.ts +2 -0
- package/dist/components/toast/Toast.vue.d.ts +2 -2
- package/dist/composables/color/index.d.ts +0 -15
- package/dist/composables/dark/darkModeSyncScript.d.ts +24 -1
- package/dist/composables/dom/useResolveTokenColor.d.ts +1 -1
- package/dist/composables/glass/index.d.ts +2 -0
- package/dist/composables/keyboard/useKeyboardShortcuts.d.ts +47 -1
- package/dist/composables/sidebar/types.d.ts +5 -1
- package/dist/{configurator-BHJymdrF.js → configurator-DiwVN573.js} +16 -16
- package/dist/configurator.js +1 -1
- package/dist/constellation.js +3 -3
- package/dist/{content-CWO-XL7o.js → content-So3j6SOe.js} +1 -1
- package/dist/dark-mode-toggle.js +2 -2
- package/dist/{dark-CLlmo7dD.js → dark-pONY3x93.js} +2 -2
- package/dist/dark.js +1 -1
- package/dist/{data-table-_RrOEdiw.js → data-table-Ba_uTfPc.js} +3 -3
- package/dist/data-table.js +1 -1
- package/dist/{deck-Ci6YjB5e.js → deck-Cm_VmyNL.js} +1 -1
- package/dist/deck.js +1 -1
- package/dist/{dialog-CbRnTRtg.js → dialog-BZoFG0j8.js} +1 -1
- package/dist/dialog.js +2 -2
- package/dist/dock.js +9 -13
- package/dist/easing.js +4 -4
- package/dist/{expandable-container-BY1hQXi4.js → expandable-container-CZUj9BzY.js} +9 -9
- package/dist/expandable-container.js +1 -1
- package/dist/fourier-field.js +53 -58
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +27 -27
- package/dist/handmark.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/infinite-scroll.js +16 -17
- package/dist/{input-Bls2A4Tt.js → input-eLZ_AU7l.js} +1 -1
- package/dist/input.js +1 -1
- package/dist/keyboard.js +64 -21
- package/dist/{label-BQEZhnK_.js → label-CE03H1KL.js} +2 -2
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +8 -5
- package/dist/{menu-TDMNtZjG.js → menu-BnmCOa3y.js} +92 -89
- package/dist/menu.js +2 -2
- package/dist/metric.js +12 -7
- package/dist/{motion-D4uYE0UM.js → motion-BvV1_24p.js} +1 -1
- package/dist/motion-core.js +1 -1
- package/dist/{number-field-NFAwQ0HK.js → number-field-RP89046a.js} +2 -2
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.js +3 -3
- package/dist/popover-DA87hFBx.js +184 -0
- package/dist/popover.js +1 -1
- package/dist/{progress-DF8dWZIX.js → progress-eVa-mc7J.js} +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-group-BNV7PN1O.js → radio-group-B58Bz16F.js} +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{select-COox45Kv.js → select-fy3vtArm.js} +13 -13
- package/dist/select.js +1 -1
- package/dist/{separator-CN11t406.js → separator-D4EZM10u.js} +2 -2
- package/dist/separator.js +1 -1
- package/dist/{sheet-BEFvnO_u.js → sheet-BQJyER59.js} +120 -115
- package/dist/sheet.js +2 -2
- package/dist/shortcuts-DGGWNRNe.js +13 -0
- package/dist/sidebar.js +4 -4
- package/dist/{status-dot-BpnqOP5N.js → status-dot-W4LFiJps.js} +2 -2
- package/dist/status-dot.js +1 -1
- package/dist/styles/accessibility.css +1 -1
- package/dist/styles/animations.css +1 -1
- package/dist/styles/components.css +1 -1
- package/dist/styles/glass/a11y-fallback.css +1 -1
- package/dist/styles/glass/dissolve.css +1 -1
- package/dist/styles/glass/focus-veil.css +1 -1
- package/dist/styles/glass/ladder.css +1 -1
- package/dist/styles/glass/overlay-plate.css +1 -1
- package/dist/styles/glass/reveal.css +1 -1
- package/dist/styles/glass-specular-track.css +1 -1
- package/dist/styles/paper.css +1 -1
- package/dist/styles/scroll-choreography.css +1 -1
- package/dist/styles/scroll-chrome.css +1 -1
- package/dist/styles/scroll-driven.css +1 -1
- package/dist/styles/theme/literals.css +1 -1
- package/dist/styles/tokens/color-radius.css +1 -1
- package/dist/styles/tokens/dark-arm-glass.css +1 -1
- package/dist/styles/tokens/light-dark.css +1 -1
- package/dist/styles/tokens/offsets.css +1 -1
- package/dist/styles/tokens/scheme-motion.css +1 -1
- package/dist/styles/tokens/sizing.css +1 -1
- package/dist/styles/typography/semantic.css +1 -1
- package/dist/styles/typography/utilities.css +1 -1
- package/dist/styles/utilities/a11y-overrides.css +1 -1
- package/dist/styles/utilities/responsive.css +1 -1
- package/dist/styles/view-transition.css +1 -1
- package/dist/styles/viz-reveal.css +1 -1
- package/dist/surface.js +1 -1
- package/dist/{switch-lLkbREB-.js → switch-BYUZ6g9G.js} +1 -1
- package/dist/switch.js +1 -1
- package/dist/{tabs-DSJMd1Et.js → tabs-rdRXKXxd.js} +4 -3
- package/dist/tabs.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +44 -42
- package/dist/{toast-9c6Kp58L.js → toast-DVOwo6GB.js} +1 -1
- package/dist/toast.js +1 -1
- package/dist/{toggle-group-DUcmKnDw.js → toggle-group-CC5b3o1R.js} +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/{tooltip-BKk2qVDn.js → tooltip-DhTHhtJN.js} +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{useAccentTone-DFAh1osB.js → useAccentTone-DitmKfGL.js} +1 -1
- package/dist/{usePointerVelocityField-DsIf7yyq.js → usePointerVelocityField-Lx26_Yap.js} +1 -1
- package/package.json +4 -2
- package/dist/DialogContent-4hzLiaCQ.js +0 -152
- package/dist/popover-C04Rrdcz.js +0 -181
package/dist/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TooltipC
|
|
|
29
29
|
export { CONFIGURATOR_SIZE_KEY, Configurator, ConfiguratorLayer, ConfiguratorRow, provideConfiguratorSize, useConfiguratorState, useOptionalConfiguratorSize, type ConfiguratorAsideSide, type ConfiguratorCloneMode, type ConfiguratorGalleryPlacement, type ConfiguratorPreset, type ConfiguratorScrollMode, type ConfiguratorSize, type ConfiguratorState, type ConfiguratorStateOptions, } from "./components/configurator/index.js";
|
|
30
30
|
export { useInterval, useTimer, type UseIntervalControls, type UseIntervalOptions, type UseTimerControls, type UseTimerOptions, } from "./composables/reactive/index.js";
|
|
31
31
|
export { createTokenColorCache, resolveTokenColor, useBreakpoint, useClipboard, useDragVelocity, useIdleReady, useResizeObserver, useTokenColor, useTouchGate, useUserInvalidAria, useViewportReady, writeClipboard, type ClipboardStatus, type CopyFailureReason, type CopyResult, type ResolveTokenColorCache, type TokenColorResolver, type TouchGateReturn, type UseBreakpointControls, type UseClipboardOptions, type UseClipboardReturn, type UseDragVelocityParams, type UseDragVelocityReturn, type UseIdleReadyControls, type UseIdleReadyOptions, type UseResizeObserverControls, type UseResizeObserverOptions, type UseTokenColorControls, type UseTokenColorOptions, type UseUserInvalidAriaOptions, type UseUserInvalidAriaReturn, type UseViewportReadyControls, type UseViewportReadyOptions, } from "./composables/dom/index.js";
|
|
32
|
-
export { createSpecularWriter, resolveCanvasColor, useCanvas2D, useSpecularTracking, vSpecular, type Canvas2DFrame, type Canvas2DHandle, type Canvas2DOptions, type Canvas2DSuspendReason, type SpecularWriter, type UseSpecularTracking, } from "./composables/glass/index.js";
|
|
32
|
+
export { createSpecularWriter, resolveCanvasColor, useCanvas2D, useSpecularTracking, vSpecular, type Canvas2DFrame, type Canvas2DHandle, type Canvas2DOptions, type Canvas2DSuspendReason, type GpuBackend, type RendererStatus, type SpecularWriter, type UseSpecularTracking, } from "./composables/glass/index.js";
|
|
33
33
|
export { startViewTransition, supportsViewTransitions, type ViewTransitionResult, } from "./composables/motion/core/useViewTransition.js";
|
|
34
34
|
export { vReveal } from "./composables/motion/reveal/vReveal.js";
|
|
35
35
|
export { useLiquidFlex, type LiquidFlexAxis, type UseLiquidFlexParams, type UseLiquidFlexReturn, } from "./composables/motion/spring/useLiquidFlex.js";
|
package/dist/infinite-scroll.js
CHANGED
|
@@ -13,9 +13,12 @@ function v(e) {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
function f(n) {
|
|
16
|
-
p()
|
|
16
|
+
p();
|
|
17
|
+
let r = `0px 0px ${t}px 0px`;
|
|
18
|
+
o = new IntersectionObserver(u, {
|
|
17
19
|
root: e.scrollContainer?.value ?? null,
|
|
18
|
-
rootMargin:
|
|
20
|
+
rootMargin: r,
|
|
21
|
+
scrollMargin: r
|
|
19
22
|
}), o.observe(n);
|
|
20
23
|
}
|
|
21
24
|
function p() {
|
|
@@ -58,23 +61,19 @@ var y = {
|
|
|
58
61
|
},
|
|
59
62
|
emits: ["load-more"],
|
|
60
63
|
setup(s, { expose: c, emit: l }) {
|
|
61
|
-
let
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
onLoadMore: () => g("load-more")
|
|
64
|
+
let d = s, h = l, { sentinelRef: g } = v({
|
|
65
|
+
threshold: d.threshold,
|
|
66
|
+
hasMore: m(() => d.hasMore),
|
|
67
|
+
isLoading: m(() => d.isLoading),
|
|
68
|
+
onLoadMore: () => h("load-more")
|
|
67
69
|
});
|
|
68
|
-
c({ sentinelRef:
|
|
69
|
-
let
|
|
70
|
-
return (n, c) => (u(), i("div",
|
|
71
|
-
ref_key: "scrollContainer",
|
|
72
|
-
ref: S
|
|
73
|
-
}, [
|
|
70
|
+
c({ sentinelRef: g });
|
|
71
|
+
let S = n(() => d.isLoading ? "Loading more items" : d.hasMore ? "" : "All items loaded");
|
|
72
|
+
return (n, c) => (u(), i("div", null, [
|
|
74
73
|
f(n.$slots, "default"),
|
|
75
74
|
a("div", {
|
|
76
75
|
ref_key: "sentinelRef",
|
|
77
|
-
ref:
|
|
76
|
+
ref: g,
|
|
78
77
|
class: "h-px w-full",
|
|
79
78
|
"aria-hidden": "true"
|
|
80
79
|
}, null, 512),
|
|
@@ -83,8 +82,8 @@ var y = {
|
|
|
83
82
|
_: 3
|
|
84
83
|
}),
|
|
85
84
|
!s.isLoading && !s.hasMore ? (u(), i("div", b, [f(n.$slots, "end")])) : r("", !0),
|
|
86
|
-
a("span", x, p(
|
|
87
|
-
]
|
|
85
|
+
a("span", x, p(S.value), 1)
|
|
86
|
+
]));
|
|
88
87
|
}
|
|
89
88
|
});
|
|
90
89
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./class-names-
|
|
1
|
+
import { t as e } from "./class-names-FlXcvRRT.js";
|
|
2
2
|
import { n as t } from "./control.css_vue_type_style_index_0_src_true_lang-BIdufaDG.js";
|
|
3
3
|
import { createElementBlock as n, defineComponent as r, mergeModels as i, mergeProps as a, openBlock as o, unref as s, useAttrs as c, useModel as l, vModelDynamic as u, withDirectives as d } from "vue";
|
|
4
4
|
//#region src/components/input/Input.vue?vue&type=script&setup=true&lang.ts
|
package/dist/input.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./input-
|
|
1
|
+
import { t as e } from "./input-eLZ_AU7l.js";
|
|
2
2
|
export { e as Input };
|
package/dist/keyboard.js
CHANGED
|
@@ -60,45 +60,88 @@ function m(e) {
|
|
|
60
60
|
function h(e) {
|
|
61
61
|
return m(e).join(o ? "" : "+");
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
var g = {
|
|
64
|
+
mod: o ? "Command" : "Control",
|
|
65
|
+
ctrl: "Control",
|
|
66
|
+
control: "Control",
|
|
67
|
+
meta: "Command",
|
|
68
|
+
cmd: "Command",
|
|
69
|
+
command: "Command",
|
|
70
|
+
shift: "Shift",
|
|
71
|
+
alt: o ? "Option" : "Alt",
|
|
72
|
+
option: o ? "Option" : "Alt"
|
|
73
|
+
}, _ = {
|
|
74
|
+
arrowleft: "Left Arrow",
|
|
75
|
+
arrowright: "Right Arrow",
|
|
76
|
+
arrowup: "Up Arrow",
|
|
77
|
+
arrowdown: "Down Arrow"
|
|
78
|
+
};
|
|
79
|
+
function v(e) {
|
|
80
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
81
|
+
}
|
|
82
|
+
function y(e) {
|
|
83
|
+
let t = e.trim(), n = t.toLowerCase();
|
|
84
|
+
if (g[n]) return g[n];
|
|
85
|
+
if (_[n]) return _[n];
|
|
86
|
+
let r = l[n];
|
|
87
|
+
return r ? [n, ...r.filter((e) => {
|
|
88
|
+
let t = e.trim().toLowerCase();
|
|
89
|
+
return !n.startsWith(t);
|
|
90
|
+
})].map(v).join(" or ") : v(t);
|
|
91
|
+
}
|
|
92
|
+
function b(e) {
|
|
93
|
+
return e.split("+").map(y).join(" ");
|
|
94
|
+
}
|
|
95
|
+
function x(e) {
|
|
64
96
|
let t = e.key.toLowerCase();
|
|
65
97
|
return t === "escape" || t === "esc";
|
|
66
98
|
}
|
|
67
|
-
function
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
99
|
+
function S(e, t, n, r) {
|
|
100
|
+
if (r.defaultPrevented) return;
|
|
101
|
+
let i = !x(r) && t.length > 0 ? t[t.length - 1].seq : -1, a = x(r) ? [...e].reverse() : e;
|
|
102
|
+
for (let e of a) if (!(e.seq <= i) && (e.options.event ?? "keydown") === n && d(r, e.combo) && !(!e.options.allowInInput && f(r.target))) {
|
|
103
|
+
e.options.preventDefault && r.preventDefault(), e.handler(r);
|
|
71
104
|
return;
|
|
72
105
|
}
|
|
73
106
|
}
|
|
74
|
-
var
|
|
75
|
-
let t = /* @__PURE__ */ new Set(), n = r(0);
|
|
107
|
+
var C = i(() => {
|
|
108
|
+
let t = /* @__PURE__ */ new Set(), n = [], i = { seq: 0 }, o = r(0);
|
|
76
109
|
return a(window, "keydown", (e) => {
|
|
77
|
-
|
|
110
|
+
S(t, n, "keydown", e);
|
|
78
111
|
}), a(window, "keyup", (e) => {
|
|
79
|
-
|
|
112
|
+
S(t, n, "keyup", e);
|
|
80
113
|
}), {
|
|
81
114
|
shortcuts: t,
|
|
82
|
-
|
|
83
|
-
|
|
115
|
+
barriers: n,
|
|
116
|
+
counter: i,
|
|
117
|
+
version: o,
|
|
118
|
+
labeled: e(() => (o.value, [...t].filter((e) => !!e.options.label)))
|
|
84
119
|
};
|
|
85
120
|
});
|
|
86
|
-
function
|
|
87
|
-
let { shortcuts: a,
|
|
121
|
+
function w(e, r, i = {}) {
|
|
122
|
+
let { shortcuts: a, counter: o, version: s } = C(), l = {
|
|
88
123
|
combo: c(e),
|
|
89
124
|
raw: e,
|
|
90
125
|
handler: r,
|
|
91
|
-
options: i
|
|
126
|
+
options: i,
|
|
127
|
+
seq: ++o.seq
|
|
92
128
|
};
|
|
93
|
-
a.add(
|
|
94
|
-
let
|
|
95
|
-
a.delete(
|
|
129
|
+
a.add(l), s.value++;
|
|
130
|
+
let u = () => {
|
|
131
|
+
a.delete(l) && s.value++;
|
|
132
|
+
};
|
|
133
|
+
return t() && n(u), u;
|
|
134
|
+
}
|
|
135
|
+
function T() {
|
|
136
|
+
let { barriers: e, counter: t } = C(), n = { seq: t.seq };
|
|
137
|
+
return e.push(n), () => {
|
|
138
|
+
let t = e.indexOf(n);
|
|
139
|
+
t !== -1 && e.splice(t, 1);
|
|
96
140
|
};
|
|
97
|
-
return t() && n(l), l;
|
|
98
141
|
}
|
|
99
|
-
function
|
|
100
|
-
let { labeled: e } =
|
|
142
|
+
function E() {
|
|
143
|
+
let { labeled: e } = C();
|
|
101
144
|
return e;
|
|
102
145
|
}
|
|
103
146
|
//#endregion
|
|
104
|
-
export { h as formatCombo, m as formatComboParts, o as isMac,
|
|
147
|
+
export { h as formatCombo, b as formatComboLabel, m as formatComboParts, o as isMac, w as registerShortcut, T as suspendShortcuts, E as useRegisteredShortcuts };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./class-names-
|
|
1
|
+
import { t as e } from "./class-names-FlXcvRRT.js";
|
|
2
2
|
import { t } from "./primitive-B2t2jdqM.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
4
|
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, defineComponent as s, mergeProps as c, openBlock as l, renderSlot as u, toDisplayString as d, unref as f, useAttrs as p, withCtx as m } from "vue";
|
|
@@ -48,6 +48,6 @@ var g = ["aria-hidden"], _ = /*#__PURE__*/ n(/* @__PURE__ */ s({
|
|
|
48
48
|
"class"
|
|
49
49
|
]));
|
|
50
50
|
}
|
|
51
|
-
}), [["__scopeId", "data-v-
|
|
51
|
+
}), [["__scopeId", "data-v-fa2ffe4d"]]);
|
|
52
52
|
//#endregion
|
|
53
53
|
export { _ as t };
|
package/dist/label.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./label-
|
|
1
|
+
import { t as e } from "./label-CE03H1KL.js";
|
|
2
2
|
export { e as Label };
|
package/dist/labeled-field.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { t } from "./label-
|
|
2
|
+
import { t } from "./label-CE03H1KL.js";
|
|
3
3
|
import { t as n } from "./slider-5ChjjWSR.js";
|
|
4
|
-
import { t as r } from "./switch-
|
|
5
|
-
import { t as i } from "./input-
|
|
4
|
+
import { t as r } from "./switch-BYUZ6g9G.js";
|
|
5
|
+
import { t as i } from "./input-eLZ_AU7l.js";
|
|
6
6
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createSlots as u, createTextVNode as d, createVNode as f, defineComponent as p, mergeProps as m, openBlock as h, renderSlot as g, toDisplayString as _, unref as v, useId as y, useSlots as b, withCtx as x } from "vue";
|
|
7
7
|
//#region src/components/labeled-field/LabeledField.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var S = [
|
|
@@ -70,7 +70,7 @@ var S = [
|
|
|
70
70
|
"aria-live": e.errorLive === "off" ? void 0 : e.errorLive
|
|
71
71
|
}, [g(n.$slots, "error", {}, void 0, !0)], 8, T)) : s("", !0)])], 8, S));
|
|
72
72
|
}
|
|
73
|
-
}), [["__scopeId", "data-v-
|
|
73
|
+
}), [["__scopeId", "data-v-ea78fd3a"]]), D = /* @__PURE__ */ p({
|
|
74
74
|
name: "LabeledInput",
|
|
75
75
|
__name: "LabeledInput",
|
|
76
76
|
props: {
|
|
@@ -235,7 +235,10 @@ var S = [
|
|
|
235
235
|
requirement: {},
|
|
236
236
|
layout: {},
|
|
237
237
|
errorLive: {},
|
|
238
|
-
modelValue: {
|
|
238
|
+
modelValue: {
|
|
239
|
+
type: Boolean,
|
|
240
|
+
default: void 0
|
|
241
|
+
}
|
|
239
242
|
},
|
|
240
243
|
emits: ["update:modelValue"],
|
|
241
244
|
setup(e, { emit: t }) {
|