@pontive/pontkit-core 1.12.0 → 1.14.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.
- package/README.md +1 -1
- package/catalog.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/index.js +640 -602
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4392 -4346
- package/dist/index.mjs.map +1 -1
- package/dist/primitives/components/ui/calendar/calendar.style.d.ts +0 -2
- package/dist/primitives/components/ui/date-picker/date-picker.styles.d.ts +0 -1
- package/dist/primitives/components/ui/pagination/pagination-link.d.ts +1 -1
- package/dist/primitives/components/ui/pagination/pagination.styles.d.ts +0 -4
- package/dist/primitives/components/ui/switch/_switch.d.ts +146 -0
- package/dist/primitives/components/ui/switch/switch.d.ts +6 -9
- package/dist/primitives/components/ui/switch/switch.defs.d.ts +13 -0
- package/dist/primitives/components/ui/switch/switch.stories.d.ts +12 -4
- package/dist/styles.css +3309 -1193
- package/dist/tokens/tailwind/border-radius.d.ts +0 -3
- package/dist/tokens/tailwind/border-width.d.ts +0 -4
- package/dist/tokens/tailwind/color.d.ts +0 -32
- package/dist/tokens/tailwind/font-size.d.ts +0 -1
- package/dist/tokens/tailwind/font-weight.d.ts +0 -1
- package/dist/tokens/tailwind/index.d.ts +0 -66
- package/dist/tokens/tailwind/opacity.d.ts +0 -2
- package/dist/tokens/tailwind/ring-width.d.ts +0 -3
- package/dist/tokens/tailwind/spacing.d.ts +0 -20
- package/package.json +1 -1
- package/dist/primitives/components/ui/button/button.style.d.ts +0 -4
- package/dist/primitives/components/ui/switch/switch.style.d.ts +0 -4
- package/dist/primitives/components/ui/switch/switch.type.d.ts +0 -4
|
@@ -11,8 +11,6 @@ export declare const borderRadius: {
|
|
|
11
11
|
'toast-action-radius': string;
|
|
12
12
|
'toggle-group-item-radius': string;
|
|
13
13
|
'toggle-radius': string;
|
|
14
|
-
'switch-radius': string;
|
|
15
|
-
'switch-thumb-radius': string;
|
|
16
14
|
'skeleton-radius': string;
|
|
17
15
|
'select-trigger-radius': string;
|
|
18
16
|
'select-content-radius': string;
|
|
@@ -44,6 +42,5 @@ export declare const borderRadius: {
|
|
|
44
42
|
'command-item-radius': string;
|
|
45
43
|
'calendar-weekday-radius': string;
|
|
46
44
|
'calendar-day-radius': string;
|
|
47
|
-
'button-radius': string;
|
|
48
45
|
'accordion-trigger-radius': string;
|
|
49
46
|
};
|
|
@@ -5,7 +5,6 @@ export declare const borderWidth: {
|
|
|
5
5
|
'table-head-width-border': string;
|
|
6
6
|
'table-body-width-border': string;
|
|
7
7
|
'table-footer-width-border': string;
|
|
8
|
-
'switch-width-border': string;
|
|
9
8
|
'select-trigger-width-border': string;
|
|
10
9
|
'select-content-width-border': string;
|
|
11
10
|
'radio-group-item-width-border': string;
|
|
@@ -19,9 +18,6 @@ export declare const borderWidth: {
|
|
|
19
18
|
'context-menu-content-width-border': string;
|
|
20
19
|
'command-input-wrapper-width-border': string;
|
|
21
20
|
'calendar-day-width-border-focus': string;
|
|
22
|
-
'button-width-border-focus': string;
|
|
23
|
-
'button-width-border-invalid': string;
|
|
24
|
-
'button-outline-width-border': string;
|
|
25
21
|
'accordion-item-width-border': string;
|
|
26
22
|
'accordion-trigger-width-border-focus': string;
|
|
27
23
|
};
|
|
@@ -62,13 +62,6 @@ export declare const color: {
|
|
|
62
62
|
'toggle-outline-color-border': string;
|
|
63
63
|
'scrollarea-color-bg': string;
|
|
64
64
|
'scrollarea-color-border': string;
|
|
65
|
-
'switch-color-border': string;
|
|
66
|
-
'switch-color-bg-checked': string;
|
|
67
|
-
'switch-color-bg-unchecked': string;
|
|
68
|
-
'switch-color-border-focus': string;
|
|
69
|
-
'switch-color-ring-focus': string;
|
|
70
|
-
'switch-thumb-color-bg-checked': string;
|
|
71
|
-
'switch-thumb-color-bg-unchecked': string;
|
|
72
65
|
'skeleton-color-bg': string;
|
|
73
66
|
'select-trigger-color-bg': string;
|
|
74
67
|
'select-trigger-color-border': string;
|
|
@@ -197,31 +190,6 @@ export declare const color: {
|
|
|
197
190
|
'calendar-day-button-color-text-range-middle': string;
|
|
198
191
|
'calendar-day-button-color-bg-range-end': string;
|
|
199
192
|
'calendar-day-button-color-text-range-end': string;
|
|
200
|
-
'button-color-border-focus': string;
|
|
201
|
-
'button-color-border-invalid': string;
|
|
202
|
-
'button-color-ring-invalid': string;
|
|
203
|
-
'button-default-color-bg': string;
|
|
204
|
-
'button-default-color-text': string;
|
|
205
|
-
'button-default-color-bg-hover': string;
|
|
206
|
-
'button-default-color-ring-focus': string;
|
|
207
|
-
'button-secondary-color-bg': string;
|
|
208
|
-
'button-secondary-color-text': string;
|
|
209
|
-
'button-secondary-color-bg-hover': string;
|
|
210
|
-
'button-secondary-color-ring-focus': string;
|
|
211
|
-
'button-outline-color-bg': string;
|
|
212
|
-
'button-outline-color-border': string;
|
|
213
|
-
'button-outline-color-bg-hover': string;
|
|
214
|
-
'button-outline-color-text-hover': string;
|
|
215
|
-
'button-outline-color-ring-focus': string;
|
|
216
|
-
'button-ghost-color-bg-hover': string;
|
|
217
|
-
'button-ghost-color-text-hover': string;
|
|
218
|
-
'button-ghost-color-ring-focus': string;
|
|
219
|
-
'button-destructive-color-bg': string;
|
|
220
|
-
'button-destructive-color-text': string;
|
|
221
|
-
'button-destructive-color-bg-hover': string;
|
|
222
|
-
'button-destructive-color-ring-focus': string;
|
|
223
|
-
'button-link-color-text': string;
|
|
224
|
-
'button-link-color-ring-focus': string;
|
|
225
193
|
'breadcrumb-list-color-text': string;
|
|
226
194
|
'breadcrumb-link-color-text-hover': string;
|
|
227
195
|
'breadcrumb-page-color-text': string;
|
|
@@ -83,7 +83,6 @@ export declare const fontSize: {
|
|
|
83
83
|
'calendar-weekday-font': string[];
|
|
84
84
|
'calendar-day-button-font': string[];
|
|
85
85
|
'calendar-day-button-span-font': string[];
|
|
86
|
-
'button-font-size': string[];
|
|
87
86
|
'breadcrumb-list-font': string[];
|
|
88
87
|
'accordion-trigger-font': string[];
|
|
89
88
|
'accordion-content-font': string[];
|
|
@@ -19,7 +19,6 @@ export declare const fontWeight: {
|
|
|
19
19
|
'calendar-caption-label-font-weight': string;
|
|
20
20
|
'calendar-weekday-font-weight': string;
|
|
21
21
|
'calendar-day-button-font-weight': string;
|
|
22
|
-
'button-font-weight': string;
|
|
23
22
|
'breadcrumb-list-font-weight': string;
|
|
24
23
|
'breadcrumb-page-font-weight': string;
|
|
25
24
|
'accordion-trigger-font-weight': string;
|
|
@@ -19,8 +19,6 @@ export declare const tailwindTokenMap: {
|
|
|
19
19
|
'toast-action-radius': string;
|
|
20
20
|
'toggle-group-item-radius': string;
|
|
21
21
|
'toggle-radius': string;
|
|
22
|
-
'switch-radius': string;
|
|
23
|
-
'switch-thumb-radius': string;
|
|
24
22
|
'skeleton-radius': string;
|
|
25
23
|
'select-trigger-radius': string;
|
|
26
24
|
'select-content-radius': string;
|
|
@@ -52,7 +50,6 @@ export declare const tailwindTokenMap: {
|
|
|
52
50
|
'command-item-radius': string;
|
|
53
51
|
'calendar-weekday-radius': string;
|
|
54
52
|
'calendar-day-radius': string;
|
|
55
|
-
'button-radius': string;
|
|
56
53
|
'accordion-trigger-radius': string;
|
|
57
54
|
};
|
|
58
55
|
borderWidth: {
|
|
@@ -62,7 +59,6 @@ export declare const tailwindTokenMap: {
|
|
|
62
59
|
'table-head-width-border': string;
|
|
63
60
|
'table-body-width-border': string;
|
|
64
61
|
'table-footer-width-border': string;
|
|
65
|
-
'switch-width-border': string;
|
|
66
62
|
'select-trigger-width-border': string;
|
|
67
63
|
'select-content-width-border': string;
|
|
68
64
|
'radio-group-item-width-border': string;
|
|
@@ -76,9 +72,6 @@ export declare const tailwindTokenMap: {
|
|
|
76
72
|
'context-menu-content-width-border': string;
|
|
77
73
|
'command-input-wrapper-width-border': string;
|
|
78
74
|
'calendar-day-width-border-focus': string;
|
|
79
|
-
'button-width-border-focus': string;
|
|
80
|
-
'button-width-border-invalid': string;
|
|
81
|
-
'button-outline-width-border': string;
|
|
82
75
|
'accordion-item-width-border': string;
|
|
83
76
|
'accordion-trigger-width-border-focus': string;
|
|
84
77
|
};
|
|
@@ -158,13 +151,6 @@ export declare const tailwindTokenMap: {
|
|
|
158
151
|
'toggle-outline-color-border': string;
|
|
159
152
|
'scrollarea-color-bg': string;
|
|
160
153
|
'scrollarea-color-border': string;
|
|
161
|
-
'switch-color-border': string;
|
|
162
|
-
'switch-color-bg-checked': string;
|
|
163
|
-
'switch-color-bg-unchecked': string;
|
|
164
|
-
'switch-color-border-focus': string;
|
|
165
|
-
'switch-color-ring-focus': string;
|
|
166
|
-
'switch-thumb-color-bg-checked': string;
|
|
167
|
-
'switch-thumb-color-bg-unchecked': string;
|
|
168
154
|
'skeleton-color-bg': string;
|
|
169
155
|
'select-trigger-color-bg': string;
|
|
170
156
|
'select-trigger-color-border': string;
|
|
@@ -293,31 +279,6 @@ export declare const tailwindTokenMap: {
|
|
|
293
279
|
'calendar-day-button-color-text-range-middle': string;
|
|
294
280
|
'calendar-day-button-color-bg-range-end': string;
|
|
295
281
|
'calendar-day-button-color-text-range-end': string;
|
|
296
|
-
'button-color-border-focus': string;
|
|
297
|
-
'button-color-border-invalid': string;
|
|
298
|
-
'button-color-ring-invalid': string;
|
|
299
|
-
'button-default-color-bg': string;
|
|
300
|
-
'button-default-color-text': string;
|
|
301
|
-
'button-default-color-bg-hover': string;
|
|
302
|
-
'button-default-color-ring-focus': string;
|
|
303
|
-
'button-secondary-color-bg': string;
|
|
304
|
-
'button-secondary-color-text': string;
|
|
305
|
-
'button-secondary-color-bg-hover': string;
|
|
306
|
-
'button-secondary-color-ring-focus': string;
|
|
307
|
-
'button-outline-color-bg': string;
|
|
308
|
-
'button-outline-color-border': string;
|
|
309
|
-
'button-outline-color-bg-hover': string;
|
|
310
|
-
'button-outline-color-text-hover': string;
|
|
311
|
-
'button-outline-color-ring-focus': string;
|
|
312
|
-
'button-ghost-color-bg-hover': string;
|
|
313
|
-
'button-ghost-color-text-hover': string;
|
|
314
|
-
'button-ghost-color-ring-focus': string;
|
|
315
|
-
'button-destructive-color-bg': string;
|
|
316
|
-
'button-destructive-color-text': string;
|
|
317
|
-
'button-destructive-color-bg-hover': string;
|
|
318
|
-
'button-destructive-color-ring-focus': string;
|
|
319
|
-
'button-link-color-text': string;
|
|
320
|
-
'button-link-color-ring-focus': string;
|
|
321
282
|
'breadcrumb-list-color-text': string;
|
|
322
283
|
'breadcrumb-link-color-text-hover': string;
|
|
323
284
|
'breadcrumb-page-color-text': string;
|
|
@@ -411,7 +372,6 @@ export declare const tailwindTokenMap: {
|
|
|
411
372
|
'calendar-weekday-font': string[];
|
|
412
373
|
'calendar-day-button-font': string[];
|
|
413
374
|
'calendar-day-button-span-font': string[];
|
|
414
|
-
'button-font-size': string[];
|
|
415
375
|
'breadcrumb-list-font': string[];
|
|
416
376
|
'accordion-trigger-font': string[];
|
|
417
377
|
'accordion-content-font': string[];
|
|
@@ -437,7 +397,6 @@ export declare const tailwindTokenMap: {
|
|
|
437
397
|
'calendar-caption-label-font-weight': string;
|
|
438
398
|
'calendar-weekday-font-weight': string;
|
|
439
399
|
'calendar-day-button-font-weight': string;
|
|
440
|
-
'button-font-weight': string;
|
|
441
400
|
'breadcrumb-list-font-weight': string;
|
|
442
401
|
'breadcrumb-page-font-weight': string;
|
|
443
402
|
'accordion-trigger-font-weight': string;
|
|
@@ -492,7 +451,6 @@ export declare const tailwindTokenMap: {
|
|
|
492
451
|
'toast-action-opacity-disabled': string;
|
|
493
452
|
'toggle-group-item-opacity-disabled': string;
|
|
494
453
|
'toggle-opacity-disabled': string;
|
|
495
|
-
'switch-opacity-disabled': string;
|
|
496
454
|
'select-trigger-opacity-disabled': string;
|
|
497
455
|
'select-trigger-icon-opacity': string;
|
|
498
456
|
'select-item-opacity-disabled': string;
|
|
@@ -513,7 +471,6 @@ export declare const tailwindTokenMap: {
|
|
|
513
471
|
'calendar-button-next-opacity-disabled': string;
|
|
514
472
|
'calendar-day-button-opacity-disabled': string;
|
|
515
473
|
'calendar-day-button-span-opacity': string;
|
|
516
|
-
'button-opacity-disabled': string;
|
|
517
474
|
};
|
|
518
475
|
ringOffsetWidth: {
|
|
519
476
|
'combo-box-trigger-width-ring-offset-focus': string;
|
|
@@ -526,15 +483,12 @@ export declare const tailwindTokenMap: {
|
|
|
526
483
|
'toast-action-width-ring-focus': string;
|
|
527
484
|
'toggle-group-item-width-ring-focus': string;
|
|
528
485
|
'toggle-width-ring-focus': string;
|
|
529
|
-
'switch-width-ring-focus': string;
|
|
530
486
|
'select-trigger-width-ring-focus': string;
|
|
531
487
|
'select-trigger-width-ring-invalid': string;
|
|
532
488
|
'radio-group-item-width-ring-focus': string;
|
|
533
489
|
'radio-group-item-width-ring-invalid': string;
|
|
534
490
|
'dialog-close-width-ring-focus': string;
|
|
535
491
|
'calendar-day-width-ring-focus': string;
|
|
536
|
-
'button-width-ring-focus': string;
|
|
537
|
-
'button-width-ring-invalid': string;
|
|
538
492
|
'accordion-trigger-width-ring-focus': string;
|
|
539
493
|
};
|
|
540
494
|
spacing: {
|
|
@@ -630,9 +584,6 @@ export declare const tailwindTokenMap: {
|
|
|
630
584
|
'toggle-space-px-sm': string;
|
|
631
585
|
'toggle-space-px-md': string;
|
|
632
586
|
'toggle-space-px-lg': string;
|
|
633
|
-
'switch-space-w': string;
|
|
634
|
-
'switch-space-h': string;
|
|
635
|
-
'switch-thumb-space-size': string;
|
|
636
587
|
'select-value-space-gap': string;
|
|
637
588
|
'select-trigger-space-gap': string;
|
|
638
589
|
'select-trigger-space-px': string;
|
|
@@ -793,23 +744,6 @@ export declare const tailwindTokenMap: {
|
|
|
793
744
|
'calendar-day-space-p': string;
|
|
794
745
|
'calendar-day-button-space-gap': string;
|
|
795
746
|
'calendar-day-button-space-min-w': string;
|
|
796
|
-
'button-icon-space-size': string;
|
|
797
|
-
'button-space-h-default': string;
|
|
798
|
-
'button-space-gap-default': string;
|
|
799
|
-
'button-space-px-default': string;
|
|
800
|
-
'button-space-px-default-has-icon': string;
|
|
801
|
-
'button-space-py-default': string;
|
|
802
|
-
'button-space-h-sm': string;
|
|
803
|
-
'button-space-gap-sm': string;
|
|
804
|
-
'button-space-px-sm': string;
|
|
805
|
-
'button-space-px-sm-has-icon': string;
|
|
806
|
-
'button-space-h-lg': string;
|
|
807
|
-
'button-space-gap-lg': string;
|
|
808
|
-
'button-space-px-lg': string;
|
|
809
|
-
'button-space-px-lg-has-icon': string;
|
|
810
|
-
'button-space-size-icon': string;
|
|
811
|
-
'button-space-size-icon-sm': string;
|
|
812
|
-
'button-space-size-icon-lg': string;
|
|
813
747
|
'breadcrumb-list-space-gap-sm': string;
|
|
814
748
|
'breadcrumb-list-space-gap': string;
|
|
815
749
|
'breadcrumb-item-space-gap': string;
|
|
@@ -6,7 +6,6 @@ export declare const opacity: {
|
|
|
6
6
|
'toast-action-opacity-disabled': string;
|
|
7
7
|
'toggle-group-item-opacity-disabled': string;
|
|
8
8
|
'toggle-opacity-disabled': string;
|
|
9
|
-
'switch-opacity-disabled': string;
|
|
10
9
|
'select-trigger-opacity-disabled': string;
|
|
11
10
|
'select-trigger-icon-opacity': string;
|
|
12
11
|
'select-item-opacity-disabled': string;
|
|
@@ -27,5 +26,4 @@ export declare const opacity: {
|
|
|
27
26
|
'calendar-button-next-opacity-disabled': string;
|
|
28
27
|
'calendar-day-button-opacity-disabled': string;
|
|
29
28
|
'calendar-day-button-span-opacity': string;
|
|
30
|
-
'button-opacity-disabled': string;
|
|
31
29
|
};
|
|
@@ -3,14 +3,11 @@ export declare const ringWidth: {
|
|
|
3
3
|
'toast-action-width-ring-focus': string;
|
|
4
4
|
'toggle-group-item-width-ring-focus': string;
|
|
5
5
|
'toggle-width-ring-focus': string;
|
|
6
|
-
'switch-width-ring-focus': string;
|
|
7
6
|
'select-trigger-width-ring-focus': string;
|
|
8
7
|
'select-trigger-width-ring-invalid': string;
|
|
9
8
|
'radio-group-item-width-ring-focus': string;
|
|
10
9
|
'radio-group-item-width-ring-invalid': string;
|
|
11
10
|
'dialog-close-width-ring-focus': string;
|
|
12
11
|
'calendar-day-width-ring-focus': string;
|
|
13
|
-
'button-width-ring-focus': string;
|
|
14
|
-
'button-width-ring-invalid': string;
|
|
15
12
|
'accordion-trigger-width-ring-focus': string;
|
|
16
13
|
};
|
|
@@ -91,9 +91,6 @@ export declare const spacing: {
|
|
|
91
91
|
'toggle-space-px-sm': string;
|
|
92
92
|
'toggle-space-px-md': string;
|
|
93
93
|
'toggle-space-px-lg': string;
|
|
94
|
-
'switch-space-w': string;
|
|
95
|
-
'switch-space-h': string;
|
|
96
|
-
'switch-thumb-space-size': string;
|
|
97
94
|
'select-value-space-gap': string;
|
|
98
95
|
'select-trigger-space-gap': string;
|
|
99
96
|
'select-trigger-space-px': string;
|
|
@@ -254,23 +251,6 @@ export declare const spacing: {
|
|
|
254
251
|
'calendar-day-space-p': string;
|
|
255
252
|
'calendar-day-button-space-gap': string;
|
|
256
253
|
'calendar-day-button-space-min-w': string;
|
|
257
|
-
'button-icon-space-size': string;
|
|
258
|
-
'button-space-h-default': string;
|
|
259
|
-
'button-space-gap-default': string;
|
|
260
|
-
'button-space-px-default': string;
|
|
261
|
-
'button-space-px-default-has-icon': string;
|
|
262
|
-
'button-space-py-default': string;
|
|
263
|
-
'button-space-h-sm': string;
|
|
264
|
-
'button-space-gap-sm': string;
|
|
265
|
-
'button-space-px-sm': string;
|
|
266
|
-
'button-space-px-sm-has-icon': string;
|
|
267
|
-
'button-space-h-lg': string;
|
|
268
|
-
'button-space-gap-lg': string;
|
|
269
|
-
'button-space-px-lg': string;
|
|
270
|
-
'button-space-px-lg-has-icon': string;
|
|
271
|
-
'button-space-size-icon': string;
|
|
272
|
-
'button-space-size-icon-sm': string;
|
|
273
|
-
'button-space-size-icon-lg': string;
|
|
274
254
|
'breadcrumb-list-space-gap-sm': string;
|
|
275
255
|
'breadcrumb-list-space-gap': string;
|
|
276
256
|
'breadcrumb-item-space-gap': string;
|
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const buttonStyle: (props?: ({
|
|
2
|
-
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
3
|
-
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
4
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|