rei-kit 0.1.0 → 0.2.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/README.md +21 -0
- package/dist/components/GoogleButton.vue.d.ts +10 -0
- package/dist/components/TabBar.vue.d.ts +34 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +123 -66
- package/dist/index.js.map +1 -1
- package/dist/styles.css +305 -0
- package/package.json +9 -4
package/dist/styles.css
CHANGED
|
@@ -24,4 +24,309 @@
|
|
|
24
24
|
transform: none;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
28
|
+
@layer properties {
|
|
29
|
+
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
30
|
+
[data-v-2c5e190d],[data-v-2c5e190d]:before,[data-v-2c5e190d]:after,[data-v-2c5e190d]::backdrop {
|
|
31
|
+
--tw-translate-x: 0;
|
|
32
|
+
--tw-translate-y: 0;
|
|
33
|
+
--tw-translate-z: 0;
|
|
34
|
+
--tw-border-style: solid;
|
|
35
|
+
--tw-shadow: 0 0 #0000;
|
|
36
|
+
--tw-shadow-color: initial;
|
|
37
|
+
--tw-shadow-alpha: 100%;
|
|
38
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
39
|
+
--tw-inset-shadow-color: initial;
|
|
40
|
+
--tw-inset-shadow-alpha: 100%;
|
|
41
|
+
--tw-ring-color: initial;
|
|
42
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
43
|
+
--tw-inset-ring-color: initial;
|
|
44
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
45
|
+
--tw-ring-inset: initial;
|
|
46
|
+
--tw-ring-offset-width: 0px;
|
|
47
|
+
--tw-ring-offset-color: #fff;
|
|
48
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
49
|
+
--tw-backdrop-blur: initial;
|
|
50
|
+
--tw-backdrop-brightness: initial;
|
|
51
|
+
--tw-backdrop-contrast: initial;
|
|
52
|
+
--tw-backdrop-grayscale: initial;
|
|
53
|
+
--tw-backdrop-hue-rotate: initial;
|
|
54
|
+
--tw-backdrop-invert: initial;
|
|
55
|
+
--tw-backdrop-opacity: initial;
|
|
56
|
+
--tw-backdrop-saturate: initial;
|
|
57
|
+
--tw-backdrop-sepia: initial;
|
|
58
|
+
--tw-duration: initial;
|
|
59
|
+
--tw-ease: initial;
|
|
60
|
+
--tw-scale-x: 1;
|
|
61
|
+
--tw-scale-y: 1;
|
|
62
|
+
--tw-scale-z: 1;
|
|
63
|
+
--tw-leading: initial;
|
|
64
|
+
--tw-font-weight: initial;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
.tab-bar[data-v-2c5e190d] {
|
|
69
|
+
z-index: 40;
|
|
70
|
+
--tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
|
|
71
|
+
width: 100%;
|
|
72
|
+
max-width: 360px;
|
|
73
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
74
|
+
padding-inline: calc(var(--spacing, .25rem) * 4);
|
|
75
|
+
left: 50%;
|
|
76
|
+
bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
|
|
77
|
+
position: absolute;
|
|
78
|
+
}
|
|
79
|
+
.tab-bar-inner[data-v-2c5e190d] {
|
|
80
|
+
justify-content: space-between;
|
|
81
|
+
align-items: center;
|
|
82
|
+
gap: var(--spacing, .25rem);
|
|
83
|
+
border-style: var(--tw-border-style);
|
|
84
|
+
border-width: 1px;
|
|
85
|
+
border-color: var(--color-hair, #e1edea);
|
|
86
|
+
background-color: #ffffffd9;
|
|
87
|
+
display: flex;
|
|
88
|
+
}
|
|
89
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
90
|
+
.tab-bar-inner[data-v-2c5e190d] {
|
|
91
|
+
background-color: color-mix(in oklab, var(--color-surface, #fff) 85%, transparent);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
.tab-bar-inner[data-v-2c5e190d] {
|
|
95
|
+
padding: calc(var(--spacing, .25rem) * 1.5);
|
|
96
|
+
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);
|
|
97
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
98
|
+
--tw-backdrop-blur: blur(var(--blur-md, 12px));
|
|
99
|
+
-webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
|
|
100
|
+
backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
|
|
101
|
+
border-radius: var(--radius-shell);
|
|
102
|
+
}
|
|
103
|
+
.tab-link[data-v-2c5e190d] {
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
align-items: center;
|
|
107
|
+
gap: var(--spacing, .25rem);
|
|
108
|
+
min-height: 52px;
|
|
109
|
+
padding-block: calc(var(--spacing, .25rem) * 1.5);
|
|
110
|
+
color: var(--color-ink-soft, #5c7480);
|
|
111
|
+
border-radius: calc(var(--radius-shell) - 6px);
|
|
112
|
+
flex-direction: column;
|
|
113
|
+
flex: 1;
|
|
114
|
+
transition: color .2s;
|
|
115
|
+
display: flex;
|
|
116
|
+
}
|
|
117
|
+
.tab-link[data-v-2c5e190d]:hover {
|
|
118
|
+
color: var(--color-ink, #0f2229);
|
|
119
|
+
}
|
|
120
|
+
.tab-icon-slot[data-v-2c5e190d] {
|
|
121
|
+
height: calc(var(--spacing, .25rem) * 7);
|
|
122
|
+
width: calc(var(--spacing, .25rem) * 12);
|
|
123
|
+
transition-property: all;
|
|
124
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));
|
|
125
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration, .15s));
|
|
126
|
+
--tw-duration: .2s;
|
|
127
|
+
--tw-ease: var(--ease-out, cubic-bezier(0, 0, .2, 1));
|
|
128
|
+
transition-duration: .2s;
|
|
129
|
+
transition-timing-function: var(--ease-out, cubic-bezier(0, 0, .2, 1));
|
|
130
|
+
border-radius: 3.40282e38px;
|
|
131
|
+
justify-content: center;
|
|
132
|
+
align-items: center;
|
|
133
|
+
display: flex;
|
|
134
|
+
}
|
|
135
|
+
.tab-link:active .tab-icon-slot[data-v-2c5e190d] {
|
|
136
|
+
transform: scale(.88);
|
|
137
|
+
}
|
|
138
|
+
.is-active[data-v-2c5e190d] {
|
|
139
|
+
color: var(--color-primary, #26667f);
|
|
140
|
+
}
|
|
141
|
+
.is-active .tab-icon-slot[data-v-2c5e190d] {
|
|
142
|
+
background-color: var(--color-muted, #ddf4e7);
|
|
143
|
+
}
|
|
144
|
+
.tab-icon[data-v-2c5e190d] {
|
|
145
|
+
stroke-width: 2px;
|
|
146
|
+
width: 18px;
|
|
147
|
+
height: 18px;
|
|
148
|
+
transition-property: transform, translate, scale, rotate;
|
|
149
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));
|
|
150
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration, .15s));
|
|
151
|
+
--tw-duration: .2s;
|
|
152
|
+
transition-duration: .2s;
|
|
153
|
+
}
|
|
154
|
+
.is-active .tab-icon[data-v-2c5e190d] {
|
|
155
|
+
--tw-scale-x: 110%;
|
|
156
|
+
--tw-scale-y: 110%;
|
|
157
|
+
--tw-scale-z: 110%;
|
|
158
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
159
|
+
stroke-width: 2.5px;
|
|
160
|
+
}
|
|
161
|
+
.tab-label[data-v-2c5e190d] {
|
|
162
|
+
--tw-leading: 1;
|
|
163
|
+
--tw-font-weight: var(--font-weight-medium, 500);
|
|
164
|
+
font-size: 10px;
|
|
165
|
+
line-height: 1;
|
|
166
|
+
font-weight: var(--font-weight-medium, 500);
|
|
167
|
+
}
|
|
168
|
+
.is-active .tab-label[data-v-2c5e190d] {
|
|
169
|
+
--tw-font-weight: var(--font-weight-semibold, 600);
|
|
170
|
+
font-weight: var(--font-weight-semibold, 600);
|
|
171
|
+
}
|
|
172
|
+
@media (prefers-reduced-motion: reduce) {
|
|
173
|
+
.tab-icon-slot[data-v-2c5e190d], .tab-icon[data-v-2c5e190d] {
|
|
174
|
+
transition: none;
|
|
175
|
+
}
|
|
176
|
+
.tab-link:active .tab-icon-slot[data-v-2c5e190d] {
|
|
177
|
+
transform: none;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
@property --tw-translate-x {
|
|
181
|
+
syntax: "*";
|
|
182
|
+
inherits: false;
|
|
183
|
+
initial-value: 0;
|
|
184
|
+
}
|
|
185
|
+
@property --tw-translate-y {
|
|
186
|
+
syntax: "*";
|
|
187
|
+
inherits: false;
|
|
188
|
+
initial-value: 0;
|
|
189
|
+
}
|
|
190
|
+
@property --tw-translate-z {
|
|
191
|
+
syntax: "*";
|
|
192
|
+
inherits: false;
|
|
193
|
+
initial-value: 0;
|
|
194
|
+
}
|
|
195
|
+
@property --tw-border-style {
|
|
196
|
+
syntax: "*";
|
|
197
|
+
inherits: false;
|
|
198
|
+
initial-value: solid;
|
|
199
|
+
}
|
|
200
|
+
@property --tw-shadow {
|
|
201
|
+
syntax: "*";
|
|
202
|
+
inherits: false;
|
|
203
|
+
initial-value: 0 0 #0000;
|
|
204
|
+
}
|
|
205
|
+
@property --tw-shadow-color {
|
|
206
|
+
syntax: "*";
|
|
207
|
+
inherits: false
|
|
208
|
+
}
|
|
209
|
+
@property --tw-shadow-alpha {
|
|
210
|
+
syntax: "<percentage>";
|
|
211
|
+
inherits: false;
|
|
212
|
+
initial-value: 100%;
|
|
213
|
+
}
|
|
214
|
+
@property --tw-inset-shadow {
|
|
215
|
+
syntax: "*";
|
|
216
|
+
inherits: false;
|
|
217
|
+
initial-value: 0 0 #0000;
|
|
218
|
+
}
|
|
219
|
+
@property --tw-inset-shadow-color {
|
|
220
|
+
syntax: "*";
|
|
221
|
+
inherits: false
|
|
222
|
+
}
|
|
223
|
+
@property --tw-inset-shadow-alpha {
|
|
224
|
+
syntax: "<percentage>";
|
|
225
|
+
inherits: false;
|
|
226
|
+
initial-value: 100%;
|
|
227
|
+
}
|
|
228
|
+
@property --tw-ring-color {
|
|
229
|
+
syntax: "*";
|
|
230
|
+
inherits: false
|
|
231
|
+
}
|
|
232
|
+
@property --tw-ring-shadow {
|
|
233
|
+
syntax: "*";
|
|
234
|
+
inherits: false;
|
|
235
|
+
initial-value: 0 0 #0000;
|
|
236
|
+
}
|
|
237
|
+
@property --tw-inset-ring-color {
|
|
238
|
+
syntax: "*";
|
|
239
|
+
inherits: false
|
|
240
|
+
}
|
|
241
|
+
@property --tw-inset-ring-shadow {
|
|
242
|
+
syntax: "*";
|
|
243
|
+
inherits: false;
|
|
244
|
+
initial-value: 0 0 #0000;
|
|
245
|
+
}
|
|
246
|
+
@property --tw-ring-inset {
|
|
247
|
+
syntax: "*";
|
|
248
|
+
inherits: false
|
|
249
|
+
}
|
|
250
|
+
@property --tw-ring-offset-width {
|
|
251
|
+
syntax: "<length>";
|
|
252
|
+
inherits: false;
|
|
253
|
+
initial-value: 0;
|
|
254
|
+
}
|
|
255
|
+
@property --tw-ring-offset-color {
|
|
256
|
+
syntax: "*";
|
|
257
|
+
inherits: false;
|
|
258
|
+
initial-value: #fff;
|
|
259
|
+
}
|
|
260
|
+
@property --tw-ring-offset-shadow {
|
|
261
|
+
syntax: "*";
|
|
262
|
+
inherits: false;
|
|
263
|
+
initial-value: 0 0 #0000;
|
|
264
|
+
}
|
|
265
|
+
@property --tw-backdrop-blur {
|
|
266
|
+
syntax: "*";
|
|
267
|
+
inherits: false
|
|
268
|
+
}
|
|
269
|
+
@property --tw-backdrop-brightness {
|
|
270
|
+
syntax: "*";
|
|
271
|
+
inherits: false
|
|
272
|
+
}
|
|
273
|
+
@property --tw-backdrop-contrast {
|
|
274
|
+
syntax: "*";
|
|
275
|
+
inherits: false
|
|
276
|
+
}
|
|
277
|
+
@property --tw-backdrop-grayscale {
|
|
278
|
+
syntax: "*";
|
|
279
|
+
inherits: false
|
|
280
|
+
}
|
|
281
|
+
@property --tw-backdrop-hue-rotate {
|
|
282
|
+
syntax: "*";
|
|
283
|
+
inherits: false
|
|
284
|
+
}
|
|
285
|
+
@property --tw-backdrop-invert {
|
|
286
|
+
syntax: "*";
|
|
287
|
+
inherits: false
|
|
288
|
+
}
|
|
289
|
+
@property --tw-backdrop-opacity {
|
|
290
|
+
syntax: "*";
|
|
291
|
+
inherits: false
|
|
292
|
+
}
|
|
293
|
+
@property --tw-backdrop-saturate {
|
|
294
|
+
syntax: "*";
|
|
295
|
+
inherits: false
|
|
296
|
+
}
|
|
297
|
+
@property --tw-backdrop-sepia {
|
|
298
|
+
syntax: "*";
|
|
299
|
+
inherits: false
|
|
300
|
+
}
|
|
301
|
+
@property --tw-duration {
|
|
302
|
+
syntax: "*";
|
|
303
|
+
inherits: false
|
|
304
|
+
}
|
|
305
|
+
@property --tw-ease {
|
|
306
|
+
syntax: "*";
|
|
307
|
+
inherits: false
|
|
308
|
+
}
|
|
309
|
+
@property --tw-scale-x {
|
|
310
|
+
syntax: "*";
|
|
311
|
+
inherits: false;
|
|
312
|
+
initial-value: 1;
|
|
313
|
+
}
|
|
314
|
+
@property --tw-scale-y {
|
|
315
|
+
syntax: "*";
|
|
316
|
+
inherits: false;
|
|
317
|
+
initial-value: 1;
|
|
318
|
+
}
|
|
319
|
+
@property --tw-scale-z {
|
|
320
|
+
syntax: "*";
|
|
321
|
+
inherits: false;
|
|
322
|
+
initial-value: 1;
|
|
323
|
+
}
|
|
324
|
+
@property --tw-leading {
|
|
325
|
+
syntax: "*";
|
|
326
|
+
inherits: false
|
|
327
|
+
}
|
|
328
|
+
@property --tw-font-weight {
|
|
329
|
+
syntax: "*";
|
|
330
|
+
inherits: false
|
|
331
|
+
}
|
|
27
332
|
/*$vite$:1*/
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rei-kit",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Vue 3 and Tailwind 4 design system and shared runtime. Extracted from Hibi.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"author": "Ramazan
|
|
6
|
+
"author": "Ramazan Do\u011fan",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/ramazandogna/rei-kit.git"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"scripts": {
|
|
35
35
|
"dev": "vite build --watch",
|
|
36
36
|
"build": "run-s type-check build-only",
|
|
37
|
-
"build-only": "vite build",
|
|
37
|
+
"build-only": "vite build && node scripts/verify-bundle.mjs",
|
|
38
38
|
"type-check": "vue-tsc --build",
|
|
39
39
|
"test:unit": "vitest",
|
|
40
40
|
"test:ci": "vitest run",
|
|
@@ -50,11 +50,12 @@
|
|
|
50
50
|
"prepublishOnly": "pnpm run build"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
+
"@supabase/supabase-js": "^2.0.0",
|
|
53
54
|
"lucide-vue-next": "^1.0.0",
|
|
54
55
|
"tailwindcss": "^4.0.0",
|
|
55
56
|
"vue": "^3.5.0",
|
|
56
57
|
"vue-i18n": "^11.0.0",
|
|
57
|
-
"
|
|
58
|
+
"vue-router": "^5.0.0"
|
|
58
59
|
},
|
|
59
60
|
"peerDependenciesMeta": {
|
|
60
61
|
"vue-i18n": {
|
|
@@ -62,6 +63,9 @@
|
|
|
62
63
|
},
|
|
63
64
|
"@supabase/supabase-js": {
|
|
64
65
|
"optional": true
|
|
66
|
+
},
|
|
67
|
+
"vue-router": {
|
|
68
|
+
"optional": true
|
|
65
69
|
}
|
|
66
70
|
},
|
|
67
71
|
"devDependencies": {
|
|
@@ -93,6 +97,7 @@
|
|
|
93
97
|
"vue": "^3.5.40",
|
|
94
98
|
"vue-eslint-parser": "^10.4.1",
|
|
95
99
|
"vue-i18n": "^11.4.10",
|
|
100
|
+
"vue-router": "^5.3.0",
|
|
96
101
|
"vue-tsc": "^3.3.7"
|
|
97
102
|
}
|
|
98
103
|
}
|