@astrake/lumora-ui 0.2.1 → 0.2.2
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/CHANGELOG.md +180 -141
- package/dist/LuCodeBlock.vue_vue_type_script_setup_true_lang-BdXflBkJ.js +1672 -0
- package/dist/{LuEmbeddedStatusBar.vue_vue_type_script_setup_true_lang-CIksvebU.js → LuEmbeddedStatusBar.vue_vue_type_script_setup_true_lang-D4rqklgo.js} +1 -1
- package/dist/LuOverlay.vue_vue_type_script_setup_true_lang-C5jhqCgy.js +221 -0
- package/dist/components/LuCard.vue.d.ts +0 -3
- package/dist/components/LuCheckbox.vue.d.ts +2 -2
- package/dist/components/LuCodeBlock.vue.d.ts +11 -14
- package/dist/components/LuCollapsible.vue.d.ts +2 -2
- package/dist/components/LuForm.vue.d.ts +2 -2
- package/dist/components/LuModal.vue.d.ts +5 -5
- package/dist/components/LuPagination.vue.d.ts +2 -2
- package/dist/components/LuRadioGroup.vue.d.ts +2 -2
- package/dist/components/_all.d.ts +3 -0
- package/dist/components/index.js +1 -1
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/index.js +15 -14
- package/dist/composables/useShiki.d.ts +2 -0
- package/dist/context-CGS7Ou_x.js +36 -0
- package/dist/index.js +154 -82
- package/dist/layout/LuFill.vue.d.ts +0 -3
- package/dist/layout/LuFixed.vue.d.ts +0 -3
- package/dist/layout/LuGrid.vue.d.ts +0 -4
- package/dist/layout/LuStack.vue.d.ts +5 -3
- package/dist/layout/index.js +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/skins/components.d.ts +2 -0
- package/dist/skins/index.js +251 -221
- package/dist/skins/layout.d.ts +2 -0
- package/dist/skins/shell/desktop.d.ts +2 -0
- package/dist/skins/shell/embedded.d.ts +2 -0
- package/dist/skins/shell/mobile.d.ts +2 -0
- package/dist/useShiki-DPOJfneq.js +30 -0
- package/dist/utils.d.ts +0 -11
- package/package.json +94 -94
- package/src/lumora.css +48 -16
- package/dist/LuCodeBlock.vue_vue_type_script_setup_true_lang-BjwcjuXF.js +0 -1623
- package/dist/LuOverlay.vue_vue_type_script_setup_true_lang-DZch4Vrw.js +0 -226
- package/dist/context-0gENwESP.js +0 -62
- package/dist/useTheme-Cd4wVaLs.js +0 -21
package/dist/index.js
CHANGED
|
@@ -1,94 +1,166 @@
|
|
|
1
|
-
import { L as
|
|
2
|
-
import { u as
|
|
3
|
-
import { shallowReactive as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { defaultSkin as
|
|
8
|
-
|
|
1
|
+
import { L as _ } from "./context-CGS7Ou_x.js";
|
|
2
|
+
import { u as Ra } from "./context-CGS7Ou_x.js";
|
|
3
|
+
import { shallowReactive as i } from "vue";
|
|
4
|
+
import { _ as n, a as o, b as c, c as m, d as l, e as t, f, g as r, h as $, i as d, j as b, k as p, l as T, m as S, n as k, o as g, p as B, q as h, r as D, s as C, t as M, u as I, v as R, w as v, x, y as P, z as y, A as H, B as w, C as j, D as E, E as F, F as G, G as O, H as A, I as z, J as N, K as U, L as K, M as q, N as J, O as Q, P as W, Q as V } from "./LuCodeBlock.vue_vue_type_script_setup_true_lang-BdXflBkJ.js";
|
|
5
|
+
import { _ as X, a as Y, b as Z, c as aa, d as sa, e as ea, f as ua, g as La, h as _a, i as ia, j as na } from "./LuOverlay.vue_vue_type_script_setup_true_lang-C5jhqCgy.js";
|
|
6
|
+
import { _ as oa, a as ca, b as ma, c as la, d as ta, e as fa, f as ra, g as $a, h as da, i as ba, j as pa, k as Ta } from "./LuEmbeddedStatusBar.vue_vue_type_script_setup_true_lang-D4rqklgo.js";
|
|
7
|
+
import { defaultSkin as xa } from "./skins/index.js";
|
|
8
|
+
const Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9
|
+
__proto__: null,
|
|
10
|
+
LuAlert: n,
|
|
11
|
+
LuAvatar: o,
|
|
12
|
+
LuBadge: c,
|
|
13
|
+
LuBreadcrumb: m,
|
|
14
|
+
LuButton: l,
|
|
15
|
+
LuCard: t,
|
|
16
|
+
LuCheckbox: f,
|
|
17
|
+
LuCodeBlock: r,
|
|
18
|
+
LuCollapsible: $,
|
|
19
|
+
LuDesktopRailBar: oa,
|
|
20
|
+
LuDesktopRailItem: ca,
|
|
21
|
+
LuDesktopShell: ma,
|
|
22
|
+
LuDesktopSidebar: la,
|
|
23
|
+
LuDesktopStatusBar: ta,
|
|
24
|
+
LuDesktopTopBar: fa,
|
|
25
|
+
LuDivider: d,
|
|
26
|
+
LuDock: X,
|
|
27
|
+
LuDockItem: Y,
|
|
28
|
+
LuEmbeddedShell: ra,
|
|
29
|
+
LuEmbeddedStatusBar: $a,
|
|
30
|
+
LuEmbeddedTopBar: da,
|
|
31
|
+
LuFill: Z,
|
|
32
|
+
LuFixed: aa,
|
|
33
|
+
LuForm: b,
|
|
34
|
+
LuGrid: sa,
|
|
35
|
+
LuIcon: p,
|
|
36
|
+
LuInput: T,
|
|
37
|
+
LuLink: S,
|
|
38
|
+
LuMenu: k,
|
|
39
|
+
LuMenuItem: g,
|
|
40
|
+
LuMobileHeader: ba,
|
|
41
|
+
LuMobileNavBar: pa,
|
|
42
|
+
LuMobileShell: Ta,
|
|
43
|
+
LuModal: B,
|
|
44
|
+
LuOverlay: ea,
|
|
45
|
+
LuPageHeader: h,
|
|
46
|
+
LuPagination: D,
|
|
47
|
+
LuProgressBar: C,
|
|
48
|
+
LuRadio: M,
|
|
49
|
+
LuRadioGroup: I,
|
|
50
|
+
LuScroll: ua,
|
|
51
|
+
LuSelect: R,
|
|
52
|
+
LuSkeleton: v,
|
|
53
|
+
LuSpinner: x,
|
|
54
|
+
LuSplit: La,
|
|
55
|
+
LuSplitPane: _a,
|
|
56
|
+
LuSplitResizer: ia,
|
|
57
|
+
LuStack: na,
|
|
58
|
+
LuSwitch: P,
|
|
59
|
+
LuTab: y,
|
|
60
|
+
LuTabList: H,
|
|
61
|
+
LuTabPanel: w,
|
|
62
|
+
LuTable: j,
|
|
63
|
+
LuTableBody: E,
|
|
64
|
+
LuTableCell: F,
|
|
65
|
+
LuTableHead: G,
|
|
66
|
+
LuTableHeadCell: O,
|
|
67
|
+
LuTableRow: A,
|
|
68
|
+
LuTabs: z,
|
|
69
|
+
LuTag: N,
|
|
70
|
+
LuText: U,
|
|
71
|
+
LuTextarea: K,
|
|
72
|
+
LuThemeSelect: q,
|
|
73
|
+
LuThemeSwitch: J,
|
|
74
|
+
LuToggleButton: Q,
|
|
75
|
+
LuToggleGroup: W,
|
|
76
|
+
LuTooltip: V
|
|
77
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
78
|
+
function Ca(a = {}) {
|
|
9
79
|
return {
|
|
10
|
-
install(
|
|
11
|
-
const
|
|
80
|
+
install(s) {
|
|
81
|
+
const L = i({
|
|
12
82
|
target: a.target ?? "desktop",
|
|
13
83
|
skin: a.skin,
|
|
14
84
|
locale: a.locale ?? "en-US",
|
|
15
85
|
a11y: a.a11y ?? !0,
|
|
16
86
|
icons: a.icons
|
|
17
87
|
});
|
|
18
|
-
|
|
88
|
+
if (s.provide(_, L), a.global !== !1)
|
|
89
|
+
for (const [e, u] of Object.entries(Sa))
|
|
90
|
+
e.startsWith("Lu") && typeof u == "object" && s.component(e, u);
|
|
19
91
|
}
|
|
20
92
|
};
|
|
21
93
|
}
|
|
22
94
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
95
|
+
n as LuAlert,
|
|
96
|
+
o as LuAvatar,
|
|
97
|
+
c as LuBadge,
|
|
98
|
+
m as LuBreadcrumb,
|
|
99
|
+
l as LuButton,
|
|
100
|
+
t as LuCard,
|
|
101
|
+
f as LuCheckbox,
|
|
102
|
+
r as LuCodeBlock,
|
|
103
|
+
$ as LuCollapsible,
|
|
104
|
+
oa as LuDesktopRailBar,
|
|
105
|
+
ca as LuDesktopRailItem,
|
|
106
|
+
ma as LuDesktopShell,
|
|
107
|
+
la as LuDesktopSidebar,
|
|
108
|
+
ta as LuDesktopStatusBar,
|
|
109
|
+
fa as LuDesktopTopBar,
|
|
110
|
+
d as LuDivider,
|
|
111
|
+
X as LuDock,
|
|
112
|
+
Y as LuDockItem,
|
|
113
|
+
ra as LuEmbeddedShell,
|
|
114
|
+
$a as LuEmbeddedStatusBar,
|
|
115
|
+
da as LuEmbeddedTopBar,
|
|
116
|
+
Z as LuFill,
|
|
117
|
+
aa as LuFixed,
|
|
118
|
+
b as LuForm,
|
|
119
|
+
sa as LuGrid,
|
|
120
|
+
p as LuIcon,
|
|
121
|
+
T as LuInput,
|
|
122
|
+
S as LuLink,
|
|
123
|
+
k as LuMenu,
|
|
124
|
+
g as LuMenuItem,
|
|
125
|
+
ba as LuMobileHeader,
|
|
126
|
+
pa as LuMobileNavBar,
|
|
127
|
+
Ta as LuMobileShell,
|
|
128
|
+
B as LuModal,
|
|
129
|
+
ea as LuOverlay,
|
|
130
|
+
h as LuPageHeader,
|
|
131
|
+
D as LuPagination,
|
|
132
|
+
C as LuProgressBar,
|
|
133
|
+
M as LuRadio,
|
|
134
|
+
I as LuRadioGroup,
|
|
135
|
+
ua as LuScroll,
|
|
136
|
+
R as LuSelect,
|
|
137
|
+
v as LuSkeleton,
|
|
138
|
+
x as LuSpinner,
|
|
139
|
+
La as LuSplit,
|
|
140
|
+
_a as LuSplitPane,
|
|
141
|
+
ia as LuSplitResizer,
|
|
142
|
+
na as LuStack,
|
|
143
|
+
P as LuSwitch,
|
|
144
|
+
y as LuTab,
|
|
145
|
+
H as LuTabList,
|
|
146
|
+
w as LuTabPanel,
|
|
147
|
+
j as LuTable,
|
|
148
|
+
E as LuTableBody,
|
|
149
|
+
F as LuTableCell,
|
|
150
|
+
G as LuTableHead,
|
|
151
|
+
O as LuTableHeadCell,
|
|
152
|
+
A as LuTableRow,
|
|
153
|
+
z as LuTabs,
|
|
154
|
+
N as LuTag,
|
|
155
|
+
U as LuText,
|
|
156
|
+
K as LuTextarea,
|
|
157
|
+
q as LuThemeSelect,
|
|
158
|
+
J as LuThemeSwitch,
|
|
159
|
+
Q as LuToggleButton,
|
|
160
|
+
W as LuToggleGroup,
|
|
161
|
+
V as LuTooltip,
|
|
162
|
+
_ as LumoraUIConfigKey,
|
|
163
|
+
Ca as createLumoraUI,
|
|
164
|
+
xa as defaultSkin,
|
|
165
|
+
Ra as useLumoraConfig
|
|
94
166
|
};
|
|
@@ -5,10 +5,6 @@ type __VLS_Props = {
|
|
|
5
5
|
lgCols?: number;
|
|
6
6
|
variant?: string;
|
|
7
7
|
as?: string;
|
|
8
|
-
gap?: string | number;
|
|
9
|
-
padding?: string | number;
|
|
10
|
-
align?: 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
11
|
-
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
12
8
|
};
|
|
13
9
|
declare var __VLS_6: {};
|
|
14
10
|
type __VLS_Slots = {} & {
|
|
@@ -2,10 +2,12 @@ type __VLS_Props = {
|
|
|
2
2
|
direction?: "vertical" | "horizontal";
|
|
3
3
|
variant?: string;
|
|
4
4
|
as?: string;
|
|
5
|
+
/** Tailwind gap step, e.g. gap="4" → gap-4 */
|
|
5
6
|
gap?: string | number;
|
|
6
|
-
|
|
7
|
-
align?:
|
|
8
|
-
justify
|
|
7
|
+
/** Tailwind items-* shorthand: center | start | end | stretch | baseline */
|
|
8
|
+
align?: "center" | "start" | "end" | "stretch" | "baseline";
|
|
9
|
+
/** Tailwind justify-* shorthand: center | start | end | between | around | evenly */
|
|
10
|
+
justify?: "center" | "start" | "end" | "between" | "around" | "evenly";
|
|
9
11
|
};
|
|
10
12
|
declare var __VLS_6: {};
|
|
11
13
|
type __VLS_Slots = {} & {
|
package/dist/layout/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as u, a as L, b as e, c as i, d as l, e as r, f as t, g as c, h as o, i as S, j as p } from "../LuOverlay.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as u, a as L, b as e, c as i, d as l, e as r, f as t, g as c, h as o, i as S, j as p } from "../LuOverlay.vue_vue_type_script_setup_true_lang-C5jhqCgy.js";
|
|
2
2
|
export {
|
|
3
3
|
u as LuDock,
|
|
4
4
|
L as LuDockItem,
|
package/dist/shell/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as s, a as u, b as o, c as d, d as t, e as L, f as l, g as r, h as p, i as b, j as i, k } from "../LuEmbeddedStatusBar.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as s, a as u, b as o, c as d, d as t, e as L, f as l, g as r, h as p, i as b, j as i, k } from "../LuEmbeddedStatusBar.vue_vue_type_script_setup_true_lang-D4rqklgo.js";
|
|
2
2
|
export {
|
|
3
3
|
s as LuDesktopRailBar,
|
|
4
4
|
u as LuDesktopRailItem,
|