@nexxtmove/ui 0.1.7 → 0.1.8
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/index.d.ts +23 -2
- package/dist/index.js +112 -84
- package/package.json +8 -8
- package/tailwind/nexxtmove.tailwind.theme.css +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,9 @@ declare const __VLS_component: DefineComponent<NexxtButtonProps, {}, {}, {}, {},
|
|
|
8
8
|
|
|
9
9
|
declare const __VLS_component_2: DefineComponent<NexxtHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
10
|
|
|
11
|
-
declare const __VLS_component_3: DefineComponent<
|
|
11
|
+
declare const __VLS_component_3: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
12
|
+
|
|
13
|
+
declare const __VLS_component_4: DefineComponent<NexxtStepperHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
14
|
"update:currentStep": (...args: any[]) => void;
|
|
13
15
|
}, string, PublicProps, Readonly<NexxtStepperHeaderProps> & Readonly<{
|
|
14
16
|
"onUpdate:currentStep"?: ((...args: any[]) => any) | undefined;
|
|
@@ -48,12 +50,23 @@ declare function __VLS_template_3(): {
|
|
|
48
50
|
rootEl: HTMLDivElement;
|
|
49
51
|
};
|
|
50
52
|
|
|
53
|
+
declare function __VLS_template_4(): {
|
|
54
|
+
attrs: Partial<{}>;
|
|
55
|
+
slots: {
|
|
56
|
+
default?(_: {}): any;
|
|
57
|
+
};
|
|
58
|
+
refs: {};
|
|
59
|
+
rootEl: HTMLDivElement;
|
|
60
|
+
};
|
|
61
|
+
|
|
51
62
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
52
63
|
|
|
53
64
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
54
65
|
|
|
55
66
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
56
67
|
|
|
68
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
69
|
+
|
|
57
70
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
71
|
new (): {
|
|
59
72
|
$slots: S;
|
|
@@ -72,6 +85,12 @@ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
|
72
85
|
};
|
|
73
86
|
};
|
|
74
87
|
|
|
88
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
89
|
+
new (): {
|
|
90
|
+
$slots: S;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
|
|
75
94
|
declare type EasingFunction = 'ease-linear' | 'ease-in' | 'ease-out' | 'ease-in-out';
|
|
76
95
|
|
|
77
96
|
declare type IconType = 'regular' | 'solid' | 'light' | 'duotone' | 'brands';
|
|
@@ -104,6 +123,8 @@ declare interface NexxtIconProps {
|
|
|
104
123
|
type?: IconType;
|
|
105
124
|
}
|
|
106
125
|
|
|
126
|
+
export declare const NexxtInfoBlock: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
127
|
+
|
|
107
128
|
export declare const NexxtProgressBar: DefineComponent<NexxtProgressBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
108
129
|
"update:currentStep": (...args: any[]) => void;
|
|
109
130
|
}, string, PublicProps, Readonly<NexxtProgressBarProps> & Readonly<{
|
|
@@ -117,7 +138,7 @@ declare interface NexxtProgressBarProps {
|
|
|
117
138
|
stepTitles?: string[];
|
|
118
139
|
}
|
|
119
140
|
|
|
120
|
-
export declare const NexxtStepperHeader:
|
|
141
|
+
export declare const NexxtStepperHeader: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
121
142
|
|
|
122
143
|
declare interface NexxtStepperHeaderProps {
|
|
123
144
|
title: string;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as d, ref as j, computed as m, watch as C, createBlock as x, openBlock as a, TransitionGroup as A, withCtx as h, createElementBlock as n, Fragment as B, renderList as S, createVNode as c, Transition as T, toDisplayString as b, normalizeClass as o, createCommentVNode as u, renderSlot as p, createElementVNode as i, createTextVNode as N, watchEffect as H, normalizeStyle as I, withKeys as w, withModifiers as M, createSlots as P } from "vue";
|
|
2
|
+
const V = /* @__PURE__ */ d({
|
|
3
3
|
__name: "AnimatedNumber",
|
|
4
4
|
props: {
|
|
5
5
|
value: {},
|
|
@@ -7,36 +7,36 @@ const E = /* @__PURE__ */ y({
|
|
|
7
7
|
easing: { default: "ease-out" }
|
|
8
8
|
},
|
|
9
9
|
setup(e) {
|
|
10
|
-
const t =
|
|
11
|
-
return
|
|
10
|
+
const t = j("up"), s = m(() => String(e.value).split("")), r = m(() => `duration-${e.duration}`);
|
|
11
|
+
return C(
|
|
12
12
|
() => e.value,
|
|
13
|
-
(
|
|
14
|
-
t.value =
|
|
13
|
+
(f, v) => {
|
|
14
|
+
t.value = f > v ? "up" : "down";
|
|
15
15
|
}
|
|
16
|
-
), (
|
|
16
|
+
), (f, v) => (a(), x(A, {
|
|
17
17
|
tag: "div",
|
|
18
18
|
class: "relative flex shrink-0 items-center tabular-nums",
|
|
19
19
|
"aria-label": e.value,
|
|
20
|
-
"enter-active-class": `transition-all ${
|
|
21
|
-
"leave-active-class": `absolute transition-all ${
|
|
20
|
+
"enter-active-class": `transition-all ${r.value} ${e.easing}`,
|
|
21
|
+
"leave-active-class": `absolute transition-all ${r.value} ${e.easing}`,
|
|
22
22
|
"enter-from-class": t.value === "up" ? "translate-y-full opacity-0" : "-translate-y-full opacity-0",
|
|
23
23
|
"leave-to-class": t.value === "up" ? "-translate-y-full opacity-0" : "translate-y-full opacity-0",
|
|
24
24
|
"move-class": "transition-all duration-500 ease-in-out"
|
|
25
25
|
}, {
|
|
26
|
-
default:
|
|
27
|
-
(a(!0),
|
|
28
|
-
key:
|
|
26
|
+
default: h(() => [
|
|
27
|
+
(a(!0), n(B, null, S(s.value, (g, y) => (a(), n("div", {
|
|
28
|
+
key: y,
|
|
29
29
|
class: "relative inline-flex h-[1.5em] w-[1ch] items-center justify-center overflow-hidden",
|
|
30
30
|
"aria-hidden": "true"
|
|
31
31
|
}, [
|
|
32
|
-
|
|
33
|
-
"enter-active-class": `transition-transform ${
|
|
34
|
-
"leave-active-class": `absolute inset-0 transition-transform ${
|
|
32
|
+
c(T, {
|
|
33
|
+
"enter-active-class": `transition-transform ${r.value} ${e.easing}`,
|
|
34
|
+
"leave-active-class": `absolute inset-0 transition-transform ${r.value} ${e.easing}`,
|
|
35
35
|
"enter-from-class": t.value === "up" ? "translate-y-full" : "-translate-y-full",
|
|
36
36
|
"leave-to-class": t.value === "up" ? "-translate-y-full" : "translate-y-full"
|
|
37
37
|
}, {
|
|
38
|
-
default:
|
|
39
|
-
(a(),
|
|
38
|
+
default: h(() => [
|
|
39
|
+
(a(), n("span", {
|
|
40
40
|
key: g,
|
|
41
41
|
class: "flex h-full w-full items-center justify-center"
|
|
42
42
|
}, b(g), 1))
|
|
@@ -48,7 +48,7 @@ const E = /* @__PURE__ */ y({
|
|
|
48
48
|
_: 1
|
|
49
49
|
}, 8, ["aria-label", "enter-active-class", "leave-active-class", "enter-from-class", "leave-to-class"]));
|
|
50
50
|
}
|
|
51
|
-
}),
|
|
51
|
+
}), $ = /* @__PURE__ */ d({
|
|
52
52
|
name: "NexxtIcon",
|
|
53
53
|
__name: "Icon",
|
|
54
54
|
props: {
|
|
@@ -56,14 +56,14 @@ const E = /* @__PURE__ */ y({
|
|
|
56
56
|
type: { default: "light" }
|
|
57
57
|
},
|
|
58
58
|
setup(e) {
|
|
59
|
-
return (t,
|
|
60
|
-
class:
|
|
59
|
+
return (t, s) => (a(), n("i", {
|
|
60
|
+
class: o([`fa-${e.type}`, `fa-${e.name}`, "items-center", "justify-center"])
|
|
61
61
|
}, null, 2));
|
|
62
62
|
}
|
|
63
|
-
}),
|
|
63
|
+
}), z = ["type", "disabled", "data-variant"], K = {
|
|
64
64
|
key: 0,
|
|
65
|
-
class: /* @__PURE__ */
|
|
66
|
-
},
|
|
65
|
+
class: /* @__PURE__ */ o(["absolute inset-0 flex items-center justify-center rounded-lg"])
|
|
66
|
+
}, E = /* @__PURE__ */ d({
|
|
67
67
|
name: "NexxtButton",
|
|
68
68
|
__name: "Button",
|
|
69
69
|
props: {
|
|
@@ -75,10 +75,10 @@ const E = /* @__PURE__ */ y({
|
|
|
75
75
|
buttonType: { default: "button" }
|
|
76
76
|
},
|
|
77
77
|
setup(e) {
|
|
78
|
-
return (t,
|
|
78
|
+
return (t, s) => (a(), n("button", {
|
|
79
79
|
type: e.buttonType,
|
|
80
80
|
disabled: e.disabled,
|
|
81
|
-
class:
|
|
81
|
+
class: o([
|
|
82
82
|
"button relative flex h-10 cursor-pointer items-center justify-center overflow-hidden rounded-lg transition-colors duration-200 focus-visible:outline-3 disabled:cursor-not-allowed",
|
|
83
83
|
`button-${e.variant}`,
|
|
84
84
|
t.$slots.default ?? "w-10",
|
|
@@ -87,14 +87,14 @@ const E = /* @__PURE__ */ y({
|
|
|
87
87
|
]),
|
|
88
88
|
"data-variant": e.variant
|
|
89
89
|
}, [
|
|
90
|
-
e.icon ? (a(),
|
|
90
|
+
e.icon ? (a(), x($, {
|
|
91
91
|
key: 0,
|
|
92
92
|
name: e.icon,
|
|
93
|
-
class:
|
|
93
|
+
class: o(["transition-all duration-200", { "order-last": e.iconRight, "opacity-0": e.loading }])
|
|
94
94
|
}, null, 8, ["name", "class"])) : u("", !0),
|
|
95
|
-
t.$slots.default ? (a(),
|
|
95
|
+
t.$slots.default ? (a(), n("span", {
|
|
96
96
|
key: 1,
|
|
97
|
-
class:
|
|
97
|
+
class: o([
|
|
98
98
|
"inline-block transition-all duration-200",
|
|
99
99
|
{ "opacity-0": e.loading },
|
|
100
100
|
e.variant === "link" ? "body-link underline-offset-1" : "body-normal",
|
|
@@ -103,7 +103,7 @@ const E = /* @__PURE__ */ y({
|
|
|
103
103
|
}, [
|
|
104
104
|
p(t.$slots, "default")
|
|
105
105
|
], 2)) : u("", !0),
|
|
106
|
-
|
|
106
|
+
c(T, {
|
|
107
107
|
"enter-active-class": "transition-opacity duration-200",
|
|
108
108
|
"enter-from-class": "opacity-0",
|
|
109
109
|
"enter-to-class": "opacity-100",
|
|
@@ -111,9 +111,9 @@ const E = /* @__PURE__ */ y({
|
|
|
111
111
|
"leave-from-class": "opacity-100",
|
|
112
112
|
"leave-to-class": "opacity-0"
|
|
113
113
|
}, {
|
|
114
|
-
default:
|
|
115
|
-
e.loading ? (a(),
|
|
116
|
-
|
|
114
|
+
default: h(() => [
|
|
115
|
+
e.loading ? (a(), n("div", K, [
|
|
116
|
+
c($, {
|
|
117
117
|
name: "spinner-third",
|
|
118
118
|
type: "light",
|
|
119
119
|
class: "fa-spin absolute text-sm"
|
|
@@ -122,12 +122,12 @@ const E = /* @__PURE__ */ y({
|
|
|
122
122
|
]),
|
|
123
123
|
_: 1
|
|
124
124
|
})
|
|
125
|
-
], 10,
|
|
125
|
+
], 10, z));
|
|
126
126
|
}
|
|
127
|
-
}),
|
|
127
|
+
}), L = { class: "flex max-w-full items-center justify-start gap-4" }, q = { class: "block truncate heading-4 text-sapphire-500" }, D = {
|
|
128
128
|
key: 0,
|
|
129
129
|
class: "col-span-1 col-start-2 flex justify-center"
|
|
130
|
-
},
|
|
130
|
+
}, F = /* @__PURE__ */ d({
|
|
131
131
|
name: "NexxtHeader",
|
|
132
132
|
__name: "Header",
|
|
133
133
|
props: {
|
|
@@ -138,42 +138,69 @@ const E = /* @__PURE__ */ y({
|
|
|
138
138
|
} }
|
|
139
139
|
},
|
|
140
140
|
setup(e) {
|
|
141
|
-
return (t,
|
|
142
|
-
class:
|
|
141
|
+
return (t, s) => (a(), n("div", {
|
|
142
|
+
class: o(["header flex items-center", t.$slots.center ? "grid grid-cols-3" : ""])
|
|
143
143
|
}, [
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
i("div", L, [
|
|
145
|
+
c(E, {
|
|
146
146
|
class: "shrink-0",
|
|
147
147
|
variant: "secondary",
|
|
148
148
|
onClick: e.backButtonAction
|
|
149
149
|
}, {
|
|
150
|
-
default:
|
|
151
|
-
|
|
150
|
+
default: h(() => [
|
|
151
|
+
N(b(e.backButtonText), 1)
|
|
152
152
|
]),
|
|
153
153
|
_: 1
|
|
154
154
|
}, 8, ["onClick"]),
|
|
155
|
-
|
|
155
|
+
i("span", q, b(e.title), 1)
|
|
156
156
|
]),
|
|
157
|
-
t.$slots.center ? (a(),
|
|
157
|
+
t.$slots.center ? (a(), n("div", D, [
|
|
158
158
|
p(t.$slots, "center")
|
|
159
159
|
])) : u("", !0),
|
|
160
|
-
t.$slots.right ? (a(),
|
|
160
|
+
t.$slots.right ? (a(), n("div", {
|
|
161
161
|
key: 1,
|
|
162
|
-
class:
|
|
162
|
+
class: o(t.$slots.center ? "col-span-1 col-start-3 flex justify-end" : "ml-auto")
|
|
163
163
|
}, [
|
|
164
164
|
p(t.$slots, "right")
|
|
165
165
|
], 2)) : u("", !0)
|
|
166
166
|
], 2));
|
|
167
167
|
}
|
|
168
|
-
}),
|
|
168
|
+
}), G = {
|
|
169
|
+
class: "info-block flex rounded-xl",
|
|
170
|
+
role: "note"
|
|
171
|
+
}, R = {
|
|
172
|
+
class: "flex min-h-20 w-20 shrink-0 items-center justify-center bg-green-50",
|
|
173
|
+
"aria-hidden": "true"
|
|
174
|
+
}, U = { class: "flex aspect-square h-10 items-center justify-center rounded-full bg-green-500" }, J = { class: "p-5" }, ae = /* @__PURE__ */ d({
|
|
175
|
+
__name: "InfoBlock",
|
|
176
|
+
setup(e) {
|
|
177
|
+
return (t, s) => (a(), n("div", G, [
|
|
178
|
+
i("div", R, [
|
|
179
|
+
i("div", U, [
|
|
180
|
+
c($, {
|
|
181
|
+
name: "thumbs-up",
|
|
182
|
+
size: "lg",
|
|
183
|
+
class: "text-white"
|
|
184
|
+
})
|
|
185
|
+
])
|
|
186
|
+
]),
|
|
187
|
+
i("div", J, [
|
|
188
|
+
s[1] || (s[1] = i("span", { class: "body-semibold" }, "Tip!", -1)),
|
|
189
|
+
p(t.$slots, "default", {}, () => [
|
|
190
|
+
s[0] || (s[0] = N(" Koopwoningen doen het goed als post of reel: zo geef je de woning genoeg aandacht én vergroot je het bereik. ", -1))
|
|
191
|
+
])
|
|
192
|
+
])
|
|
193
|
+
]));
|
|
194
|
+
}
|
|
195
|
+
}), O = { class: "@container" }, Q = { class: "flex flex-col @md:gap-2" }, W = { class: "flex items-center justify-between gap-2" }, X = ["aria-label", "aria-valuenow", "aria-valuetext"], Y = {
|
|
169
196
|
key: 0,
|
|
170
197
|
class: "flex items-center small-normal tabular-nums @md:hidden",
|
|
171
198
|
"aria-hidden": "true"
|
|
172
|
-
},
|
|
199
|
+
}, Z = {
|
|
173
200
|
key: 0,
|
|
174
201
|
class: "flex justify-between @max-md:order-first @max-md:justify-center",
|
|
175
202
|
"aria-label": "Progress steps"
|
|
176
|
-
},
|
|
203
|
+
}, _ = ["aria-current", "role", "tabindex", "aria-label", "onClick", "onKeydown"], ee = /* @__PURE__ */ d({
|
|
177
204
|
name: "NexxtProgressBar",
|
|
178
205
|
__name: "ProgressBar",
|
|
179
206
|
props: {
|
|
@@ -184,56 +211,56 @@ const E = /* @__PURE__ */ y({
|
|
|
184
211
|
},
|
|
185
212
|
emits: ["update:currentStep"],
|
|
186
213
|
setup(e) {
|
|
187
|
-
const t =
|
|
214
|
+
const t = m(() => Math.min(Math.max(0, e.currentStep), Math.max(0, e.steps - 1))), s = m(() => e.steps > 0 ? t.value + 1 : 0), r = m(() => e.steps <= 1 ? e.steps === 1 ? 100 : 0 : t.value / (e.steps - 1) * 100), f = m(() => !!e.stepTitles?.length);
|
|
188
215
|
return H(() => {
|
|
189
216
|
e.stepTitles && e.stepTitles.length !== e.steps && console.warn(
|
|
190
217
|
`[NexxtProgressBar] The "stepTitles" array length (${e.stepTitles.length}) must match the "steps" prop (${e.steps}).`
|
|
191
218
|
);
|
|
192
|
-
}), (
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
219
|
+
}), (v, g) => (a(), n("div", O, [
|
|
220
|
+
i("div", Q, [
|
|
221
|
+
i("div", W, [
|
|
222
|
+
i("div", {
|
|
196
223
|
class: "progress-bar progress-bar-bar h-2 w-full overflow-hidden rounded-full",
|
|
197
224
|
role: "progressbar",
|
|
198
225
|
"aria-label": e.progressLabel,
|
|
199
226
|
"aria-valuemin": "0",
|
|
200
227
|
"aria-valuemax": "100",
|
|
201
|
-
"aria-valuenow": Math.round(
|
|
202
|
-
"aria-valuetext":
|
|
228
|
+
"aria-valuenow": Math.round(r.value),
|
|
229
|
+
"aria-valuetext": f.value && e.stepTitles?.[t.value] ? `Step ${s.value} of ${e.steps}: ${e.stepTitles[t.value]}` : `Step ${s.value} of ${e.steps}`
|
|
203
230
|
}, [
|
|
204
|
-
|
|
231
|
+
i("div", {
|
|
205
232
|
class: "progress-bar-progress h-full transition-all duration-500 ease-out",
|
|
206
|
-
style:
|
|
233
|
+
style: I({ width: `${r.value}%` }),
|
|
207
234
|
"aria-hidden": !0
|
|
208
235
|
}, null, 4)
|
|
209
|
-
], 8,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
236
|
+
], 8, X),
|
|
237
|
+
f.value ? (a(), n("div", Y, [
|
|
238
|
+
c(V, { value: s.value }, null, 8, ["value"]),
|
|
239
|
+
i("span", null, "/" + b(e.steps), 1)
|
|
213
240
|
])) : u("", !0)
|
|
214
241
|
]),
|
|
215
|
-
|
|
216
|
-
(a(!0),
|
|
217
|
-
key:
|
|
218
|
-
class:
|
|
242
|
+
f.value ? (a(), n("ol", Z, [
|
|
243
|
+
(a(!0), n(B, null, S(e.stepTitles, (y, l) => (a(), n("li", {
|
|
244
|
+
key: y,
|
|
245
|
+
class: o(["rounded-xs transition-colors duration-500 focus-visible:outline-3 @max-md:hidden @max-md:body-normal @min-md:small-normal", [
|
|
219
246
|
l === t.value ? "text-sapphire-500 @max-md:inline" : "",
|
|
220
247
|
l < t.value ? "cursor-pointer duration-200! hover:text-sapphire-400" : ""
|
|
221
248
|
]]),
|
|
222
249
|
"aria-current": l === t.value ? "step" : void 0,
|
|
223
250
|
role: l < t.value ? "button" : void 0,
|
|
224
251
|
tabindex: l < t.value ? 0 : void 0,
|
|
225
|
-
"aria-label": l < t.value ? `Ga naar ${
|
|
226
|
-
onClick: (
|
|
252
|
+
"aria-label": l < t.value ? `Ga naar ${y}` : void 0,
|
|
253
|
+
onClick: (k) => l < t.value && v.$emit("update:currentStep", l),
|
|
227
254
|
onKeydown: [
|
|
228
|
-
|
|
229
|
-
|
|
255
|
+
w((k) => l < t.value && v.$emit("update:currentStep", l), ["enter"]),
|
|
256
|
+
w(M((k) => l < t.value && v.$emit("update:currentStep", l), ["prevent"]), ["space"])
|
|
230
257
|
]
|
|
231
|
-
}, b(
|
|
258
|
+
}, b(y), 43, _))), 128))
|
|
232
259
|
])) : u("", !0)
|
|
233
260
|
])
|
|
234
261
|
]));
|
|
235
262
|
}
|
|
236
|
-
}),
|
|
263
|
+
}), se = /* @__PURE__ */ d({
|
|
237
264
|
name: "NexxtStepperHeader",
|
|
238
265
|
__name: "StepperHeader",
|
|
239
266
|
props: {
|
|
@@ -245,27 +272,27 @@ const E = /* @__PURE__ */ y({
|
|
|
245
272
|
},
|
|
246
273
|
emits: ["update:currentStep"],
|
|
247
274
|
setup(e) {
|
|
248
|
-
return (t,
|
|
275
|
+
return (t, s) => (a(), x(F, {
|
|
249
276
|
title: e.title,
|
|
250
277
|
"back-button-action": e.backButtonAction,
|
|
251
278
|
"back-button-text": e.backButtonText
|
|
252
|
-
},
|
|
279
|
+
}, P({ _: 2 }, [
|
|
253
280
|
e.steps ? {
|
|
254
281
|
name: "center",
|
|
255
|
-
fn:
|
|
256
|
-
|
|
282
|
+
fn: h(() => [
|
|
283
|
+
c(ee, {
|
|
257
284
|
class: "w-full",
|
|
258
285
|
steps: e.steps.length,
|
|
259
286
|
"step-titles": e.steps,
|
|
260
287
|
"current-step": e.currentStep,
|
|
261
|
-
"onUpdate:currentStep":
|
|
288
|
+
"onUpdate:currentStep": s[0] || (s[0] = (r) => t.$emit("update:currentStep", r))
|
|
262
289
|
}, null, 8, ["steps", "step-titles", "current-step"])
|
|
263
290
|
]),
|
|
264
291
|
key: "0"
|
|
265
292
|
} : void 0,
|
|
266
293
|
t.$slots.default ? {
|
|
267
294
|
name: "right",
|
|
268
|
-
fn:
|
|
295
|
+
fn: h(() => [
|
|
269
296
|
p(t.$slots, "default")
|
|
270
297
|
]),
|
|
271
298
|
key: "1"
|
|
@@ -274,10 +301,11 @@ const E = /* @__PURE__ */ y({
|
|
|
274
301
|
}
|
|
275
302
|
});
|
|
276
303
|
export {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
304
|
+
V as NexxtAnimatedNumber,
|
|
305
|
+
E as NexxtButton,
|
|
306
|
+
F as NexxtHeader,
|
|
307
|
+
$ as NexxtIcon,
|
|
308
|
+
ae as NexxtInfoBlock,
|
|
309
|
+
ee as NexxtProgressBar,
|
|
310
|
+
se as NexxtStepperHeader
|
|
283
311
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexxtmove/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.8",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@awesome.me/kit-37b149f3ef": "^1.0.4",
|
|
25
25
|
"@eslint/js": "^9.39.2",
|
|
26
|
-
"@storybook/addon-a11y": "^10.2.
|
|
27
|
-
"@storybook/addon-docs": "^10.2.
|
|
28
|
-
"@storybook/addon-vitest": "^10.2.
|
|
29
|
-
"@storybook/builder-vite": "^10.2.
|
|
30
|
-
"@storybook/vue3-vite": "^10.2.
|
|
26
|
+
"@storybook/addon-a11y": "^10.2.8",
|
|
27
|
+
"@storybook/addon-docs": "^10.2.8",
|
|
28
|
+
"@storybook/addon-vitest": "^10.2.8",
|
|
29
|
+
"@storybook/builder-vite": "^10.2.8",
|
|
30
|
+
"@storybook/vue3-vite": "^10.2.8",
|
|
31
31
|
"@tailwindcss/vite": "^4.1.18",
|
|
32
32
|
"@types/node": "^25.0.3",
|
|
33
33
|
"@types/react": "^19.2.8",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"react": "^19.2.3",
|
|
50
50
|
"react-dom": "^19.2.3",
|
|
51
51
|
"remark-frontmatter": "^5.0.0",
|
|
52
|
-
"storybook": "^10.2.
|
|
52
|
+
"storybook": "^10.2.8",
|
|
53
53
|
"typescript-eslint": "^8.52.0",
|
|
54
54
|
"vite": "^7.3.0",
|
|
55
55
|
"vite-plugin-dts": "^4.5.4",
|
|
56
56
|
"vitest": "^4.0.16",
|
|
57
|
-
"eslint-plugin-storybook": "10.2.
|
|
57
|
+
"eslint-plugin-storybook": "10.2.8"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=22.18.0"
|
|
@@ -106,6 +106,12 @@
|
|
|
106
106
|
--color-brick-800: oklch(37.589% 0.05484 18.2995);
|
|
107
107
|
--color-brick-900: oklch(32.852% 0.03404 19.047);
|
|
108
108
|
--color-brick-950: oklch(27.734% 0.02143 13.77033);
|
|
109
|
+
--color-brands-facebook: oklch(56.414% 0.24023 261.15447);
|
|
110
|
+
--color-brands-instagram: oklch(59.999% 0.2707 332.04903);
|
|
111
|
+
--color-brands-linkedin: oklch(54.58% 0.13018 242.27159);
|
|
112
|
+
--color-brands-x: oklch(0% 0 0);
|
|
113
|
+
--color-brands-google: oklch(63.039% 0.18003 259.95533);
|
|
114
|
+
--color-brands-tiktok: oklch(63.451% 0.25395 16.82869);
|
|
109
115
|
--color-button-bg-primary-default: var(--color-cornflower-blue-500);
|
|
110
116
|
--color-button-bg-primary-hover: var(--color-cornflower-blue-400);
|
|
111
117
|
--color-button-bg-primary-focussed: var(--color-cornflower-blue-500);
|