@fy-/fws-vue 2.3.68 → 2.3.70

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.3.68",
3
+ "version": "2.3.70",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/fy-to/FWJS#readme",
package/style.css CHANGED
@@ -1,11 +1,6 @@
1
- /* Component-specific styles */
2
- /* Reference Tailwind utilities for component library usage */
3
- @reference "tailwindcss/utilities";
4
-
5
1
  :root {
6
2
  --surface-0: (255 255 255);
7
3
  }
8
-
9
4
  .fws-error-text {
10
5
  @apply text-red-700 dark:text-red-500;
11
6
  }
package/fws-vue.css DELETED
@@ -1,298 +0,0 @@
1
- /* Main CSS file for @fy-/fws-vue with Tailwind CSS 4.0 */
2
- @import "tailwindcss";
3
-
4
- /* Source detection for component library */
5
- @source "./components/**/*.{vue,ts}";
6
- @source "./composables/**/*.ts";
7
- @source "./stores/**/*.ts";
8
-
9
- /* Custom theme configuration */
10
- @theme {
11
- /* Custom color palette for fws-vue */
12
- --color-fv-primary-50: #eff6ff;
13
- --color-fv-primary-100: #dbeafe;
14
- --color-fv-primary-200: #bfdbfe;
15
- --color-fv-primary-300: #93c5fd;
16
- --color-fv-primary-400: #60a5fa;
17
- --color-fv-primary-500: #3b82f6;
18
- --color-fv-primary-600: #2563eb;
19
- --color-fv-primary-700: #1d4ed8;
20
- --color-fv-primary-800: #1e40af;
21
- --color-fv-primary-900: #1e3a8a;
22
- --color-fv-primary-950: #172554;
23
-
24
- --color-fv-accent-50: #fdf2f8;
25
- --color-fv-accent-100: #fce7f3;
26
- --color-fv-accent-200: #fbcfe8;
27
- --color-fv-accent-300: #f9a8d4;
28
- --color-fv-accent-400: #f472b6;
29
- --color-fv-accent-500: #ec4899;
30
- --color-fv-accent-600: #db2777;
31
- --color-fv-accent-700: #be185d;
32
- --color-fv-accent-800: #9d174d;
33
- --color-fv-accent-900: #831843;
34
- --color-fv-accent-950: #500724;
35
-
36
- --color-fv-neutral-50: #f9fafb;
37
- --color-fv-neutral-100: #f3f4f6;
38
- --color-fv-neutral-200: #e5e7eb;
39
- --color-fv-neutral-300: #d1d5db;
40
- --color-fv-neutral-400: #9ca3af;
41
- --color-fv-neutral-500: #6b7280;
42
- --color-fv-neutral-600: #4b5563;
43
- --color-fv-neutral-700: #374151;
44
- --color-fv-neutral-800: #1f2937;
45
- --color-fv-neutral-900: #111827;
46
- --color-fv-neutral-950: #030712;
47
- }
48
-
49
- /* Component styles with explicit utility classes */
50
- :root {
51
- --surface-0: (255 255 255);
52
- }
53
-
54
- .fws-error-text {
55
- color: theme(colors.red.700);
56
- }
57
- @media (prefers-color-scheme: dark) {
58
- .fws-error-text {
59
- color: theme(colors.red.500);
60
- }
61
- }
62
-
63
- .fws-helper-text {
64
- color: theme(colors.fv-neutral.500);
65
- }
66
- @media (prefers-color-scheme: dark) {
67
- .fws-helper-text {
68
- color: theme(colors.fv-neutral.400);
69
- }
70
- }
71
-
72
- .fws-link {
73
- color: theme(colors.fv-primary.700);
74
- display: inline-flex;
75
- align-items: center;
76
- text-decoration: underline;
77
- }
78
- .fws-link:hover {
79
- text-decoration: none;
80
- }
81
- @media (prefers-color-scheme: dark) {
82
- .fws-link {
83
- color: theme(colors.fv-primary.300);
84
- }
85
- }
86
-
87
- /* Button styles using CSS instead of @apply */
88
- .btn {
89
- display: inline-flex;
90
- gap: 0.25rem;
91
- color: white;
92
- font-weight: 500;
93
- border-radius: 0.5rem;
94
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
95
- transition-timing-function: ease-in-out;
96
- transition-duration: 200ms;
97
- }
98
- .btn:focus {
99
- outline: 2px solid transparent;
100
- outline-offset: 2px;
101
- box-shadow: 0 0 0 1px;
102
- }
103
-
104
- /* Primary button */
105
- .btn.primary {
106
- background-color: theme(colors.fv-primary.700);
107
- }
108
- .btn.primary:hover {
109
- background-color: theme(colors.fv-primary.800);
110
- }
111
- .btn.primary:focus {
112
- box-shadow: 0 0 0 1px theme(colors.fv-primary.300);
113
- }
114
- @media (prefers-color-scheme: dark) {
115
- .btn.primary {
116
- background-color: theme(colors.fv-primary.600);
117
- }
118
- .btn.primary:hover {
119
- background-color: theme(colors.fv-primary.700);
120
- }
121
- .btn.primary:focus {
122
- box-shadow: 0 0 0 1px theme(colors.fv-primary.800);
123
- }
124
- }
125
-
126
- /* Primary outline button */
127
- .btn.primary.ol {
128
- background-color: transparent;
129
- border: 1px solid theme(colors.fv-primary.800);
130
- color: theme(colors.fv-primary.700);
131
- }
132
- .btn.primary.ol:hover {
133
- background-color: theme(colors.fv-primary.800);
134
- color: white;
135
- }
136
- @media (prefers-color-scheme: dark) {
137
- .btn.primary.ol {
138
- border-color: theme(colors.fv-primary.300);
139
- color: theme(colors.fv-primary.300);
140
- }
141
- .btn.primary.ol:hover {
142
- background-color: theme(colors.fv-primary.800);
143
- color: white;
144
- }
145
- }
146
-
147
- /* Accent button */
148
- .btn.accent {
149
- background-color: theme(colors.fv-accent.700);
150
- }
151
- .btn.accent:hover {
152
- background-color: theme(colors.fv-accent.800);
153
- }
154
- .btn.accent:focus {
155
- box-shadow: 0 0 0 1px theme(colors.fv-accent.300);
156
- }
157
- @media (prefers-color-scheme: dark) {
158
- .btn.accent {
159
- background-color: theme(colors.fv-accent.600);
160
- }
161
- .btn.accent:hover {
162
- background-color: theme(colors.fv-accent.700);
163
- }
164
- .btn.accent:focus {
165
- box-shadow: 0 0 0 1px theme(colors.fv-accent.800);
166
- }
167
- }
168
-
169
- /* Success/Valid button */
170
- .btn.success, .btn.valid {
171
- background-color: theme(colors.green.700);
172
- }
173
- .btn.success:hover, .btn.valid:hover {
174
- background-color: theme(colors.green.800);
175
- }
176
- .btn.success:focus, .btn.valid:focus {
177
- box-shadow: 0 0 0 1px theme(colors.green.300);
178
- }
179
- @media (prefers-color-scheme: dark) {
180
- .btn.success, .btn.valid {
181
- background-color: theme(colors.green.600);
182
- }
183
- .btn.success:hover, .btn.valid:hover {
184
- background-color: theme(colors.green.700);
185
- }
186
- .btn.success:focus, .btn.valid:focus {
187
- box-shadow: 0 0 0 1px theme(colors.green.800);
188
- }
189
- }
190
-
191
- /* Error/Danger button */
192
- .btn.error, .btn.danger {
193
- background-color: theme(colors.red.700);
194
- }
195
- .btn.error:hover, .btn.danger:hover {
196
- background-color: theme(colors.red.800);
197
- }
198
- .btn.error:focus, .btn.danger:focus {
199
- box-shadow: 0 0 0 1px theme(colors.red.300);
200
- }
201
- @media (prefers-color-scheme: dark) {
202
- .btn.error, .btn.danger {
203
- background-color: theme(colors.red.600);
204
- }
205
- .btn.error:hover, .btn.danger:hover {
206
- background-color: theme(colors.red.700);
207
- }
208
- .btn.error:focus, .btn.danger:focus {
209
- box-shadow: 0 0 0 1px theme(colors.red.800);
210
- }
211
- }
212
-
213
- /* Neutral button */
214
- .btn.neutral {
215
- background-color: theme(colors.fv-neutral.700);
216
- }
217
- .btn.neutral:hover {
218
- background-color: theme(colors.fv-neutral.800);
219
- }
220
- .btn.neutral:focus {
221
- box-shadow: 0 0 0 1px theme(colors.fv-neutral.300);
222
- }
223
- @media (prefers-color-scheme: dark) {
224
- .btn.neutral {
225
- background-color: theme(colors.fv-neutral.600);
226
- }
227
- .btn.neutral:hover {
228
- background-color: theme(colors.fv-neutral.700);
229
- }
230
- .btn.neutral:focus {
231
- box-shadow: 0 0 0 1px theme(colors.fv-neutral.800);
232
- }
233
- }
234
-
235
- /* Button sizes */
236
- .btn.defaults {
237
- padding: 0.25rem 0.5rem;
238
- }
239
- .btn.medium {
240
- padding: 0.5rem 1rem;
241
- font-size: 1.125rem;
242
- }
243
- .btn.large {
244
- padding: 0.75rem 1.5rem;
245
- font-size: 1.25rem;
246
- }
247
- .btn.small {
248
- padding: 0.25rem 0.5rem;
249
- font-size: 0.75rem;
250
- }
251
-
252
- /* Pagination input */
253
- .pagination-jump-input {
254
- height: 1.75rem;
255
- font-size: 0.625rem;
256
- font-weight: normal;
257
- text-align: center;
258
- color: theme(colors.fv-neutral.700);
259
- background-color: rgba(255, 255, 255, 0.8);
260
- border: 1px solid theme(colors.fv-neutral.300);
261
- border-radius: 0.375rem;
262
- box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
263
- transition-property: all;
264
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
265
- transition-duration: 150ms;
266
- appearance: textfield !important;
267
- -webkit-appearance: textfield !important;
268
- -moz-appearance: textfield !important;
269
- padding: 0 !important;
270
- }
271
- .pagination-jump-input:focus {
272
- outline: 2px solid transparent;
273
- outline-offset: 2px;
274
- box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
275
- border-color: theme(colors.primary.400);
276
- }
277
- @media (min-width: 768px) {
278
- .pagination-jump-input {
279
- height: 2rem;
280
- font-size: 0.75rem;
281
- }
282
- }
283
- @media (prefers-color-scheme: dark) {
284
- .pagination-jump-input {
285
- background-color: theme(colors.fv-neutral.800);
286
- color: theme(colors.fv-neutral.300);
287
- border-color: theme(colors.fv-neutral.600);
288
- }
289
- .pagination-jump-input:focus {
290
- box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.4);
291
- border-color: theme(colors.primary.500);
292
- }
293
- }
294
- .pagination-jump-input::-webkit-outer-spin-button,
295
- .pagination-jump-input::-webkit-inner-spin-button {
296
- -webkit-appearance: none !important;
297
- margin: 0 !important;
298
- }
package/tailwind.css DELETED
@@ -1,54 +0,0 @@
1
- /* Import Tailwind CSS v4 */
2
- @import "tailwindcss";
3
-
4
- /*
5
- * Source detection for this component library
6
- * This tells Tailwind to scan our components when used in other projects
7
- */
8
- @source "./components/**/*.{vue,ts}";
9
- @source "./composables/**/*.ts";
10
- @source "./stores/**/*.ts";
11
- @source "./style.css";
12
-
13
- /* Custom theme configuration */
14
- @theme {
15
- /* Custom color palette for fws-vue */
16
- --color-fv-primary-50: #eff6ff;
17
- --color-fv-primary-100: #dbeafe;
18
- --color-fv-primary-200: #bfdbfe;
19
- --color-fv-primary-300: #93c5fd;
20
- --color-fv-primary-400: #60a5fa;
21
- --color-fv-primary-500: #3b82f6;
22
- --color-fv-primary-600: #2563eb;
23
- --color-fv-primary-700: #1d4ed8;
24
- --color-fv-primary-800: #1e40af;
25
- --color-fv-primary-900: #1e3a8a;
26
- --color-fv-primary-950: #172554;
27
-
28
- --color-fv-accent-50: #fdf2f8;
29
- --color-fv-accent-100: #fce7f3;
30
- --color-fv-accent-200: #fbcfe8;
31
- --color-fv-accent-300: #f9a8d4;
32
- --color-fv-accent-400: #f472b6;
33
- --color-fv-accent-500: #ec4899;
34
- --color-fv-accent-600: #db2777;
35
- --color-fv-accent-700: #be185d;
36
- --color-fv-accent-800: #9d174d;
37
- --color-fv-accent-900: #831843;
38
- --color-fv-accent-950: #500724;
39
-
40
- --color-fv-neutral-50: #f9fafb;
41
- --color-fv-neutral-100: #f3f4f6;
42
- --color-fv-neutral-200: #e5e7eb;
43
- --color-fv-neutral-300: #d1d5db;
44
- --color-fv-neutral-400: #9ca3af;
45
- --color-fv-neutral-500: #6b7280;
46
- --color-fv-neutral-600: #4b5563;
47
- --color-fv-neutral-700: #374151;
48
- --color-fv-neutral-800: #1f2937;
49
- --color-fv-neutral-900: #111827;
50
- --color-fv-neutral-950: #030712;
51
- }
52
-
53
- /* Import the existing styles */
54
- @import "./style.css";