veloce-vue 0.16.0 → 0.18.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.
@@ -0,0 +1,227 @@
1
+ import { createElementBlock as r, openBlock as e, createElementVNode as n, defineComponent as h, computed as a, createBlock as _, renderSlot as u, resolveDynamicComponent as w, normalizeClass as m } from "vue";
2
+ const s = (o, t) => {
3
+ const c = o.__vccOpts || o;
4
+ for (const [i, l] of t)
5
+ c[i] = l;
6
+ return c;
7
+ }, f = {}, g = {
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ width: "24",
10
+ height: "24",
11
+ viewBox: "0 0 24 24"
12
+ };
13
+ function p(o, t) {
14
+ return e(), r("svg", g, [...t[0] || (t[0] = [
15
+ n("path", {
16
+ fill: "currentColor",
17
+ d: "m9.55 15.15l8.475-8.475q.3-.3.7-.3t.7.3t.3.713t-.3.712l-9.175 9.2q-.3.3-.7.3t-.7-.3L4.55 13q-.3-.3-.288-.712t.313-.713t.713-.3t.712.3z"
18
+ }, null, -1)
19
+ ])]);
20
+ }
21
+ const v = /* @__PURE__ */ s(f, [["render", p]]), x = {}, k = {
22
+ xmlns: "http://www.w3.org/2000/svg",
23
+ width: "24",
24
+ height: "24",
25
+ viewBox: "0 0 24 24"
26
+ };
27
+ function $(o, t) {
28
+ return e(), r("svg", k, [...t[0] || (t[0] = [
29
+ n("path", {
30
+ fill: "currentColor",
31
+ d: "m12 13.4l-4.9 4.9q-.275.275-.7.275t-.7-.275t-.275-.7t.275-.7l4.9-4.9l-4.9-4.9q-.275-.275-.275-.7t.275-.7t.7-.275t.7.275l4.9 4.9l4.9-4.9q.275-.275.7-.275t.7.275t.275.7t-.275.7L13.4 12l4.9 4.9q.275.275.275.7t-.275.7t-.7.275t-.7-.275z"
32
+ }, null, -1)
33
+ ])]);
34
+ }
35
+ const C = /* @__PURE__ */ s(x, [["render", $]]), M = {}, y = {
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ width: "24",
38
+ height: "24",
39
+ viewBox: "0 0 24 24"
40
+ };
41
+ function B(o, t) {
42
+ return e(), r("svg", y, [...t[0] || (t[0] = [
43
+ n("path", {
44
+ fill: "currentColor",
45
+ d: "M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z",
46
+ opacity: "0.25"
47
+ }, null, -1),
48
+ n("path", {
49
+ fill: "currentColor",
50
+ d: "M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z"
51
+ }, [
52
+ n("animateTransform", {
53
+ type: "rotate",
54
+ attributeName: "transform",
55
+ dur: "0.75s",
56
+ repeatCount: "indefinite",
57
+ values: "0 12 12;360 12 12"
58
+ })
59
+ ], -1)
60
+ ])]);
61
+ }
62
+ const L = /* @__PURE__ */ s(M, [["render", B]]), z = {}, A = {
63
+ xmlns: "http://www.w3.org/2000/svg",
64
+ width: "24",
65
+ height: "24",
66
+ viewBox: "-5 -8 24 24"
67
+ };
68
+ function q(o, t) {
69
+ return e(), r("svg", A, [...t[0] || (t[0] = [
70
+ n("path", {
71
+ fill: "currentColor",
72
+ d: "m7.071 5.314l4.95-4.95a1 1 0 1 1 1.414 1.414L7.778 7.435a1 1 0 0 1-1.414 0L.707 1.778A1 1 0 1 1 2.121.364z"
73
+ }, null, -1)
74
+ ])]);
75
+ }
76
+ const j = /* @__PURE__ */ s(z, [["render", q]]), b = {}, E = {
77
+ xmlns: "http://www.w3.org/2000/svg",
78
+ width: "24",
79
+ height: "24",
80
+ viewBox: "0 0 24 24"
81
+ };
82
+ function I(o, t) {
83
+ return e(), r("svg", E, [...t[0] || (t[0] = [
84
+ n("g", { fill: "none" }, [
85
+ n("path", {
86
+ fill: "currentColor",
87
+ "fill-opacity": "0.16",
88
+ d: "M10.575 5.217L3.517 17a1.667 1.667 0 0 0 1.425 2.5h14.116a1.666 1.666 0 0 0 1.425-2.5L13.426 5.217a1.666 1.666 0 0 0-2.85 0"
89
+ }),
90
+ n("path", {
91
+ stroke: "currentColor",
92
+ "stroke-linecap": "round",
93
+ "stroke-linejoin": "round",
94
+ "stroke-miterlimit": "10",
95
+ "stroke-width": "1.5",
96
+ d: "M12 16h.008M12 10v3m-1.425-7.783L3.517 17a1.667 1.667 0 0 0 1.425 2.5h14.116a1.666 1.666 0 0 0 1.425-2.5L13.426 5.217a1.666 1.666 0 0 0-2.85 0"
97
+ })
98
+ ], -1)
99
+ ])]);
100
+ }
101
+ const H = /* @__PURE__ */ s(b, [["render", I]]), O = {}, S = {
102
+ xmlns: "http://www.w3.org/2000/svg",
103
+ width: "16",
104
+ height: "16",
105
+ viewBox: "0 0 16 16"
106
+ };
107
+ function Z(o, t) {
108
+ return e(), r("svg", S, [...t[0] || (t[0] = [
109
+ n("path", {
110
+ fill: "none",
111
+ stroke: "currentColor",
112
+ "stroke-linecap": "round",
113
+ "stroke-linejoin": "round",
114
+ "stroke-width": "1.5",
115
+ d: "m2.75 12.25h10.5m-10.5-4h10.5m-10.5-4h10.5"
116
+ }, null, -1)
117
+ ])]);
118
+ }
119
+ const D = /* @__PURE__ */ s(O, [["render", Z]]), N = {}, V = {
120
+ xmlns: "http://www.w3.org/2000/svg",
121
+ width: "20",
122
+ height: "20",
123
+ viewBox: "0 0 20 20"
124
+ };
125
+ function T(o, t) {
126
+ return e(), r("svg", V, [...t[0] || (t[0] = [
127
+ n("path", {
128
+ fill: "currentColor",
129
+ d: "M19 9.199h-.98c-.553 0-1 .359-1 .801c0 .441.447.799 1 .799H19c.552 0 1-.357 1-.799c0-.441-.449-.801-1-.801M10 4.5A5.483 5.483 0 0 0 4.5 10c0 3.051 2.449 5.5 5.5 5.5c3.05 0 5.5-2.449 5.5-5.5S13.049 4.5 10 4.5m0 9.5c-2.211 0-4-1.791-4-4c0-2.211 1.789-4 4-4a4 4 0 0 1 0 8m-7-4c0-.441-.449-.801-1-.801H1c-.553 0-1 .359-1 .801c0 .441.447.799 1 .799h1c.551 0 1-.358 1-.799m7-7c.441 0 .799-.447.799-1V1c0-.553-.358-1-.799-1s-.801.447-.801 1v1c0 .553.359 1 .801 1m0 14c-.442 0-.801.447-.801 1v1c0 .553.359 1 .801 1c.441 0 .799-.447.799-1v-1c0-.553-.358-1-.799-1m7.365-13.234c.391-.391.454-.961.142-1.273s-.883-.248-1.272.143l-.7.699c-.391.391-.454.961-.142 1.273s.883.248 1.273-.143zM3.334 15.533l-.7.701c-.391.391-.454.959-.142 1.271s.883.25 1.272-.141l.7-.699c.391-.391.454-.961.142-1.274s-.883-.247-1.272.142m.431-12.898c-.39-.391-.961-.455-1.273-.143s-.248.883.141 1.274l.7.699c.391.391.96.455 1.272.143s.249-.883-.141-1.273zm11.769 14.031l.7.699c.391.391.96.453 1.272.143c.312-.312.249-.883-.142-1.273l-.699-.699c-.391-.391-.961-.455-1.274-.143s-.248.882.143 1.273"
130
+ }, null, -1)
131
+ ])]);
132
+ }
133
+ const F = /* @__PURE__ */ s(N, [["render", T]]), G = {}, J = {
134
+ xmlns: "http://www.w3.org/2000/svg",
135
+ width: "24",
136
+ height: "24",
137
+ viewBox: "0 0 24 24"
138
+ };
139
+ function K(o, t) {
140
+ return e(), r("svg", J, [...t[0] || (t[0] = [
141
+ n("path", {
142
+ fill: "none",
143
+ stroke: "currentColor",
144
+ "stroke-linecap": "round",
145
+ "stroke-linejoin": "round",
146
+ "stroke-width": "1.5",
147
+ d: "M12 21a9 9 0 0 0 8.997-9.252a7 7 0 0 1-10.371-8.643A9 9 0 0 0 12 21"
148
+ }, null, -1)
149
+ ])]);
150
+ }
151
+ const P = /* @__PURE__ */ s(G, [["render", K]]), Q = {}, R = {
152
+ xmlns: "http://www.w3.org/2000/svg",
153
+ width: "24",
154
+ height: "24",
155
+ viewBox: "0 0 24 24"
156
+ };
157
+ function U(o, t) {
158
+ return e(), r("svg", R, [...t[0] || (t[0] = [
159
+ n("g", {
160
+ fill: "none",
161
+ stroke: "currentColor",
162
+ "stroke-linecap": "round",
163
+ "stroke-linejoin": "round",
164
+ "stroke-width": "2"
165
+ }, [
166
+ n("path", { d: "M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0" }),
167
+ n("circle", {
168
+ cx: "12",
169
+ cy: "12",
170
+ r: "3"
171
+ })
172
+ ], -1)
173
+ ])]);
174
+ }
175
+ const W = /* @__PURE__ */ s(Q, [["render", U]]), X = {}, Y = {
176
+ xmlns: "http://www.w3.org/2000/svg",
177
+ width: "24",
178
+ height: "24",
179
+ viewBox: "0 0 24 24"
180
+ };
181
+ function t1(o, t) {
182
+ return e(), r("svg", Y, [...t[0] || (t[0] = [
183
+ n("g", {
184
+ fill: "none",
185
+ stroke: "currentColor",
186
+ "stroke-linecap": "round",
187
+ "stroke-linejoin": "round",
188
+ "stroke-width": "2"
189
+ }, [
190
+ n("path", { d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242" }),
191
+ n("path", { d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20" })
192
+ ], -1)
193
+ ])]);
194
+ }
195
+ const n1 = /* @__PURE__ */ s(X, [["render", t1]]), d = {
196
+ check: v,
197
+ close: C,
198
+ loading: L,
199
+ "chevron-down": j,
200
+ alert: H,
201
+ hamburger: D,
202
+ sun: F,
203
+ moon: P,
204
+ eye: W,
205
+ "eye-off": n1
206
+ }, s1 = /* @__PURE__ */ h({
207
+ __name: "Icon",
208
+ props: {
209
+ icon: {},
210
+ class: {},
211
+ size: {}
212
+ },
213
+ setup(o) {
214
+ const t = o, c = a(() => t.size ?? 24), i = a(() => t.icon ? o1[t.icon] : "");
215
+ return (l, e1) => i.value ? (e(), _(w(i.value), {
216
+ key: 0,
217
+ class: m(["shrink-0", t.class]),
218
+ width: c.value,
219
+ height: c.value
220
+ }, null, 8, ["class", "width", "height"])) : u(l.$slots, "default", { key: 1 });
221
+ }
222
+ }), o1 = d, c1 = Object.keys(d);
223
+ export {
224
+ o1 as I,
225
+ s1 as _,
226
+ c1 as i
227
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veloce-vue",
3
- "version": "0.16.0",
3
+ "version": "0.18.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "A Vue 3 library built with Vite + TypeScript + Tailwind CSS.",
@@ -33,7 +33,8 @@
33
33
  "./styles.css": "./veloce.css"
34
34
  },
35
35
  "peerDependencies": {
36
- "vue": "^3.3.0"
36
+ "vue": "^3.3.0",
37
+ "motion-v": "^1.7.4"
37
38
  },
38
39
  "keywords": [
39
40
  "veloce-vue"