@pequity/squirrel 6.0.13 → 6.1.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/dist/cjs/chunks/p-action-bar.js +4 -4
- package/dist/cjs/chunks/p-btn.js +204 -0
- package/dist/cjs/chunks/p-select-btn.js +5 -4
- package/dist/cjs/index.js +28 -23
- package/dist/cjs/inputClasses.js +6 -4
- package/dist/cjs/p-btn.js +2 -169
- package/dist/es/chunks/p-action-bar.js +8 -8
- package/dist/es/chunks/p-btn.js +205 -0
- package/dist/es/chunks/p-select-btn.js +5 -4
- package/dist/es/index.js +65 -60
- package/dist/es/inputClasses.js +6 -4
- package/dist/es/p-btn.js +2 -169
- package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +106 -46
- package/dist/squirrel/components/p-card/p-card.vue.d.ts +27 -14
- package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +43 -12
- package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +1 -1
- package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +1 -1
- package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +15 -422
- package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +1 -3
- package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +13 -11
- package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +39 -14
- package/dist/squirrel/components/p-input/p-input.vue.d.ts +2 -2
- package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +2 -2
- package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +2 -2
- package/dist/squirrel/components/p-link/p-link.vue.d.ts +17 -13
- package/dist/squirrel/components/p-loading/p-loading.vue.d.ts +1 -3
- package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +240 -22
- package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +77 -10
- package/dist/squirrel/components/p-select/p-select.vue.d.ts +116 -14
- package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +37 -13
- package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +14 -418
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +61 -19
- package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +1 -1
- package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +1 -1
- package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +23 -11
- package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +1 -1
- package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +1 -1
- package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +1 -1
- package/dist/squirrel/utils/inputClasses.d.ts +75 -25
- package/dist/squirrel/utils/inputClassesMixin.d.ts +1 -1
- package/dist/squirrel.css +2 -9
- package/package.json +25 -24
- package/squirrel/assets/squirrel.css +1 -1
- package/squirrel/components/p-action-bar/p-action-bar.stories.js +1 -2
- package/squirrel/components/p-btn/p-btn.spec.js +227 -161
- package/squirrel/components/p-btn/p-btn.stories.js +32 -8
- package/squirrel/components/p-btn/p-btn.vue +106 -73
- package/squirrel/components/p-dropdown/p-dropdown.vue +0 -1
- package/squirrel/components/p-file-upload/p-file-upload.vue +6 -16
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +1 -1
- package/squirrel/components/p-select/p-select.spec.js +1 -1
- package/squirrel/components/p-select-btn/p-select-btn.stories.js +45 -4
- package/squirrel/components/p-select-btn/p-select-btn.vue +2 -2
- package/squirrel/components/p-tabs/p-tabs.stories.js +2 -2
- package/squirrel/composables/useInputClasses.spec.js +3 -3
- package/squirrel/utils/inputClasses.ts +6 -4
- package/squirrel/utils/inputClassesMixin.spec.js +3 -3
- package/squirrel/assets/file-upload-drag-over-icon.svg +0 -5
- package/squirrel/assets/file-upload-upload-icon.svg +0 -5
- package/squirrel/assets/file-upload-x-icon-hover.svg +0 -8
- package/squirrel/assets/file-upload-x-icon.svg +0 -8
|
@@ -30,7 +30,9 @@ declare const inputClasses: import("tailwind-variants").TVReturnType<{
|
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
rounded: {
|
|
33
|
-
true:
|
|
33
|
+
true: {
|
|
34
|
+
input: string;
|
|
35
|
+
};
|
|
34
36
|
};
|
|
35
37
|
}, {
|
|
36
38
|
input: string;
|
|
@@ -68,7 +70,9 @@ declare const inputClasses: import("tailwind-variants").TVReturnType<{
|
|
|
68
70
|
};
|
|
69
71
|
};
|
|
70
72
|
rounded: {
|
|
71
|
-
true:
|
|
73
|
+
true: {
|
|
74
|
+
input: string;
|
|
75
|
+
};
|
|
72
76
|
};
|
|
73
77
|
}, {
|
|
74
78
|
size: {
|
|
@@ -102,7 +106,9 @@ declare const inputClasses: import("tailwind-variants").TVReturnType<{
|
|
|
102
106
|
};
|
|
103
107
|
};
|
|
104
108
|
rounded: {
|
|
105
|
-
true:
|
|
109
|
+
true: {
|
|
110
|
+
input: string;
|
|
111
|
+
};
|
|
106
112
|
};
|
|
107
113
|
}>, {
|
|
108
114
|
size: {
|
|
@@ -136,7 +142,9 @@ declare const inputClasses: import("tailwind-variants").TVReturnType<{
|
|
|
136
142
|
};
|
|
137
143
|
};
|
|
138
144
|
rounded: {
|
|
139
|
-
true:
|
|
145
|
+
true: {
|
|
146
|
+
input: string;
|
|
147
|
+
};
|
|
140
148
|
};
|
|
141
149
|
}, {
|
|
142
150
|
input: string;
|
|
@@ -174,7 +182,9 @@ declare const inputClasses: import("tailwind-variants").TVReturnType<{
|
|
|
174
182
|
};
|
|
175
183
|
};
|
|
176
184
|
rounded: {
|
|
177
|
-
true:
|
|
185
|
+
true: {
|
|
186
|
+
input: string;
|
|
187
|
+
};
|
|
178
188
|
};
|
|
179
189
|
}, {
|
|
180
190
|
input: string;
|
|
@@ -212,7 +222,9 @@ declare const inputClasses: import("tailwind-variants").TVReturnType<{
|
|
|
212
222
|
};
|
|
213
223
|
};
|
|
214
224
|
rounded: {
|
|
215
|
-
true:
|
|
225
|
+
true: {
|
|
226
|
+
input: string;
|
|
227
|
+
};
|
|
216
228
|
};
|
|
217
229
|
}, {
|
|
218
230
|
size: {
|
|
@@ -246,7 +258,9 @@ declare const inputClasses: import("tailwind-variants").TVReturnType<{
|
|
|
246
258
|
};
|
|
247
259
|
};
|
|
248
260
|
rounded: {
|
|
249
|
-
true:
|
|
261
|
+
true: {
|
|
262
|
+
input: string;
|
|
263
|
+
};
|
|
250
264
|
};
|
|
251
265
|
}>, unknown, unknown, undefined>>;
|
|
252
266
|
declare const textareaClasses: import("tailwind-variants").TVReturnType<{
|
|
@@ -295,7 +309,9 @@ declare const textareaClasses: import("tailwind-variants").TVReturnType<{
|
|
|
295
309
|
};
|
|
296
310
|
};
|
|
297
311
|
rounded: {
|
|
298
|
-
true:
|
|
312
|
+
true: {
|
|
313
|
+
input: string;
|
|
314
|
+
};
|
|
299
315
|
};
|
|
300
316
|
}>, {
|
|
301
317
|
size: {
|
|
@@ -329,7 +345,9 @@ declare const textareaClasses: import("tailwind-variants").TVReturnType<{
|
|
|
329
345
|
};
|
|
330
346
|
};
|
|
331
347
|
rounded: {
|
|
332
|
-
true:
|
|
348
|
+
true: {
|
|
349
|
+
input: string;
|
|
350
|
+
};
|
|
333
351
|
};
|
|
334
352
|
}, {
|
|
335
353
|
input: string;
|
|
@@ -367,7 +385,9 @@ declare const textareaClasses: import("tailwind-variants").TVReturnType<{
|
|
|
367
385
|
};
|
|
368
386
|
};
|
|
369
387
|
rounded: {
|
|
370
|
-
true:
|
|
388
|
+
true: {
|
|
389
|
+
input: string;
|
|
390
|
+
};
|
|
371
391
|
};
|
|
372
392
|
}, {
|
|
373
393
|
input: string;
|
|
@@ -405,7 +425,9 @@ declare const textareaClasses: import("tailwind-variants").TVReturnType<{
|
|
|
405
425
|
};
|
|
406
426
|
};
|
|
407
427
|
rounded: {
|
|
408
|
-
true:
|
|
428
|
+
true: {
|
|
429
|
+
input: string;
|
|
430
|
+
};
|
|
409
431
|
};
|
|
410
432
|
}, {
|
|
411
433
|
size: {
|
|
@@ -439,7 +461,9 @@ declare const textareaClasses: import("tailwind-variants").TVReturnType<{
|
|
|
439
461
|
};
|
|
440
462
|
};
|
|
441
463
|
rounded: {
|
|
442
|
-
true:
|
|
464
|
+
true: {
|
|
465
|
+
input: string;
|
|
466
|
+
};
|
|
443
467
|
};
|
|
444
468
|
}>, {
|
|
445
469
|
size: {
|
|
@@ -473,7 +497,9 @@ declare const textareaClasses: import("tailwind-variants").TVReturnType<{
|
|
|
473
497
|
};
|
|
474
498
|
};
|
|
475
499
|
rounded: {
|
|
476
|
-
true:
|
|
500
|
+
true: {
|
|
501
|
+
input: string;
|
|
502
|
+
};
|
|
477
503
|
};
|
|
478
504
|
}, {
|
|
479
505
|
input: string;
|
|
@@ -511,7 +537,9 @@ declare const textareaClasses: import("tailwind-variants").TVReturnType<{
|
|
|
511
537
|
};
|
|
512
538
|
};
|
|
513
539
|
rounded: {
|
|
514
|
-
true:
|
|
540
|
+
true: {
|
|
541
|
+
input: string;
|
|
542
|
+
};
|
|
515
543
|
};
|
|
516
544
|
}, {
|
|
517
545
|
input: string;
|
|
@@ -549,7 +577,9 @@ declare const textareaClasses: import("tailwind-variants").TVReturnType<{
|
|
|
549
577
|
};
|
|
550
578
|
};
|
|
551
579
|
rounded: {
|
|
552
|
-
true:
|
|
580
|
+
true: {
|
|
581
|
+
input: string;
|
|
582
|
+
};
|
|
553
583
|
};
|
|
554
584
|
}, {
|
|
555
585
|
size: {
|
|
@@ -583,7 +613,9 @@ declare const textareaClasses: import("tailwind-variants").TVReturnType<{
|
|
|
583
613
|
};
|
|
584
614
|
};
|
|
585
615
|
rounded: {
|
|
586
|
-
true:
|
|
616
|
+
true: {
|
|
617
|
+
input: string;
|
|
618
|
+
};
|
|
587
619
|
};
|
|
588
620
|
}>, unknown, unknown, undefined>>>;
|
|
589
621
|
declare const selectClasses: import("tailwind-variants").TVReturnType<{
|
|
@@ -644,7 +676,9 @@ declare const selectClasses: import("tailwind-variants").TVReturnType<{
|
|
|
644
676
|
};
|
|
645
677
|
};
|
|
646
678
|
rounded: {
|
|
647
|
-
true:
|
|
679
|
+
true: {
|
|
680
|
+
input: string;
|
|
681
|
+
};
|
|
648
682
|
};
|
|
649
683
|
}>, {
|
|
650
684
|
size: {
|
|
@@ -678,7 +712,9 @@ declare const selectClasses: import("tailwind-variants").TVReturnType<{
|
|
|
678
712
|
};
|
|
679
713
|
};
|
|
680
714
|
rounded: {
|
|
681
|
-
true:
|
|
715
|
+
true: {
|
|
716
|
+
input: string;
|
|
717
|
+
};
|
|
682
718
|
};
|
|
683
719
|
}, {
|
|
684
720
|
input: string;
|
|
@@ -716,7 +752,9 @@ declare const selectClasses: import("tailwind-variants").TVReturnType<{
|
|
|
716
752
|
};
|
|
717
753
|
};
|
|
718
754
|
rounded: {
|
|
719
|
-
true:
|
|
755
|
+
true: {
|
|
756
|
+
input: string;
|
|
757
|
+
};
|
|
720
758
|
};
|
|
721
759
|
}, {
|
|
722
760
|
input: string;
|
|
@@ -754,7 +792,9 @@ declare const selectClasses: import("tailwind-variants").TVReturnType<{
|
|
|
754
792
|
};
|
|
755
793
|
};
|
|
756
794
|
rounded: {
|
|
757
|
-
true:
|
|
795
|
+
true: {
|
|
796
|
+
input: string;
|
|
797
|
+
};
|
|
758
798
|
};
|
|
759
799
|
}, {
|
|
760
800
|
size: {
|
|
@@ -788,7 +828,9 @@ declare const selectClasses: import("tailwind-variants").TVReturnType<{
|
|
|
788
828
|
};
|
|
789
829
|
};
|
|
790
830
|
rounded: {
|
|
791
|
-
true:
|
|
831
|
+
true: {
|
|
832
|
+
input: string;
|
|
833
|
+
};
|
|
792
834
|
};
|
|
793
835
|
}>, {
|
|
794
836
|
size: {
|
|
@@ -822,7 +864,9 @@ declare const selectClasses: import("tailwind-variants").TVReturnType<{
|
|
|
822
864
|
};
|
|
823
865
|
};
|
|
824
866
|
rounded: {
|
|
825
|
-
true:
|
|
867
|
+
true: {
|
|
868
|
+
input: string;
|
|
869
|
+
};
|
|
826
870
|
};
|
|
827
871
|
}, {
|
|
828
872
|
input: string;
|
|
@@ -860,7 +904,9 @@ declare const selectClasses: import("tailwind-variants").TVReturnType<{
|
|
|
860
904
|
};
|
|
861
905
|
};
|
|
862
906
|
rounded: {
|
|
863
|
-
true:
|
|
907
|
+
true: {
|
|
908
|
+
input: string;
|
|
909
|
+
};
|
|
864
910
|
};
|
|
865
911
|
}, {
|
|
866
912
|
input: string;
|
|
@@ -898,7 +944,9 @@ declare const selectClasses: import("tailwind-variants").TVReturnType<{
|
|
|
898
944
|
};
|
|
899
945
|
};
|
|
900
946
|
rounded: {
|
|
901
|
-
true:
|
|
947
|
+
true: {
|
|
948
|
+
input: string;
|
|
949
|
+
};
|
|
902
950
|
};
|
|
903
951
|
}, {
|
|
904
952
|
size: {
|
|
@@ -932,7 +980,9 @@ declare const selectClasses: import("tailwind-variants").TVReturnType<{
|
|
|
932
980
|
};
|
|
933
981
|
};
|
|
934
982
|
rounded: {
|
|
935
|
-
true:
|
|
983
|
+
true: {
|
|
984
|
+
input: string;
|
|
985
|
+
};
|
|
936
986
|
};
|
|
937
987
|
}>, unknown, unknown, undefined>>>;
|
|
938
988
|
export { inputClasses, selectClasses, textareaClasses };
|
|
@@ -49,8 +49,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
49
49
|
};
|
|
50
50
|
}>> & Readonly<{}>, {
|
|
51
51
|
size: "sm" | "md" | "lg";
|
|
52
|
-
rounded: boolean;
|
|
53
52
|
required: boolean;
|
|
53
|
+
rounded: boolean;
|
|
54
54
|
errorMsg: string;
|
|
55
55
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
56
|
export default _default;
|
package/dist/squirrel.css
CHANGED
|
@@ -1109,7 +1109,7 @@ to {
|
|
|
1109
1109
|
--color-warning: var(--color-barley-white);
|
|
1110
1110
|
--color-on-warning: var(--color-horses-neck);
|
|
1111
1111
|
}/* Select arrow - p-select, p-dropdown-select */.squirrel-bg-chevron-down {
|
|
1112
|
-
background-image: url("data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_812_23741)'%3e%3cpath%20d='M0.125117%203.60489L5.62512%209.83989C5.67465%209.89224%205.73434%209.93394%205.80053%209.96244C5.86673%209.99094%205.93805%2010.0056%206.01012%2010.0056C6.08219%2010.0056%206.1535%209.99094%206.2197%209.96244C6.2859%209.93394%206.34559%209.89224%206.39512%209.83989L11.8951%203.60489C11.9768%203.50177%2012.0145%203.37063%2012.0001%203.23989C11.9947%203.17327%2011.976%203.10841%2011.9451%203.04916C11.9141%202.9899%2011.8717%202.93744%2011.8201%202.89489L10.8951%202.11989C10.8446%202.07618%2010.7858%202.04304%2010.7223%202.02243C10.6587%202.00182%2010.5917%201.99415%2010.5251%201.99989C10.4589%202.00468%2010.3942%202.02262%2010.335%202.05267C10.2758%202.08272%2010.2231%202.12426%2010.1801%202.17489L6.09512%206.89989C6.06984%206.92492%206.0357%206.93897%206.00012%206.93897C5.96454%206.93897%205.9304%206.92492%205.90512%206.89989L1.82012%202.17489C1.73929%202.07834%201.62501%202.01585%201.50012%201.99989C1.43389%201.99347%201.36706%202.00034%201.30352%202.02009C1.23999%202.03984%201.18104%202.07206%201.13012%202.11489L0.180117%202.89489C0.128578%202.93744%200.0860938%202.9899%200.0551769%203.04916C0.0242601%203.10841%200.0055377%203.17327%200.000116678%203.23989C-0.00426061%203.30597%200.00453534%203.37227%200.0259937%203.43493C0.0474521%203.49759%200.0811453%203.55536%200.125117%203.60489Z'%20fill='%23718096'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_812_23741'%3e%3crect%20width='12'%20height='12'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e")
|
|
1112
|
+
background-image: url("data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_812_23741)'%3e%3cpath%20d='M0.125117%203.60489L5.62512%209.83989C5.67465%209.89224%205.73434%209.93394%205.80053%209.96244C5.86673%209.99094%205.93805%2010.0056%206.01012%2010.0056C6.08219%2010.0056%206.1535%209.99094%206.2197%209.96244C6.2859%209.93394%206.34559%209.89224%206.39512%209.83989L11.8951%203.60489C11.9768%203.50177%2012.0145%203.37063%2012.0001%203.23989C11.9947%203.17327%2011.976%203.10841%2011.9451%203.04916C11.9141%202.9899%2011.8717%202.93744%2011.8201%202.89489L10.8951%202.11989C10.8446%202.07618%2010.7858%202.04304%2010.7223%202.02243C10.6587%202.00182%2010.5917%201.99415%2010.5251%201.99989C10.4589%202.00468%2010.3942%202.02262%2010.335%202.05267C10.2758%202.08272%2010.2231%202.12426%2010.1801%202.17489L6.09512%206.89989C6.06984%206.92492%206.0357%206.93897%206.00012%206.93897C5.96454%206.93897%205.9304%206.92492%205.90512%206.89989L1.82012%202.17489C1.73929%202.07834%201.62501%202.01585%201.50012%201.99989C1.43389%201.99347%201.36706%202.00034%201.30352%202.02009C1.23999%202.03984%201.18104%202.07206%201.13012%202.11489L0.180117%202.89489C0.128578%202.93744%200.0860938%202.9899%200.0551769%203.04916C0.0242601%203.10841%200.0055377%203.17327%200.000116678%203.23989C-0.00426061%203.30597%200.00453534%203.37227%200.0259937%203.43493C0.0474521%203.49759%200.0811453%203.55536%200.125117%203.60489Z'%20fill='%23718096'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_812_23741'%3e%3crect%20width='12'%20height='12'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
|
|
1113
1113
|
}/* Popovers/Tooltips - floating-vue */.v-popper__popper.v-popper--theme-tooltip .v-popper__wrapper > .v-popper__inner {
|
|
1114
1114
|
font-size: 0.875rem;
|
|
1115
1115
|
max-width: 320px;
|
|
@@ -1200,14 +1200,7 @@ to {
|
|
|
1200
1200
|
background-image: url("data:image/svg+xml,%3csvg%20width='33'%20height='30'%20viewBox='0%200%2033%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.0143%2029.9524C31.1862%2029.9516%2031.3551%2029.9066%2031.5045%2029.8215C31.6539%2029.7365%2031.7789%2029.6144%2031.8674%2029.4669C31.9558%2029.3195%2032.0048%2029.1517%2032.0095%2028.9799C32.0142%2028.808%2031.9745%2028.6378%2031.8943%2028.4857L16.8943%200.485744C16.8006%200.337008%2016.6708%200.214443%2016.5169%200.129498C16.363%200.0445534%2016.1901%200%2016.0143%200C15.8385%200%2015.6656%200.0445534%2015.5117%200.129498C15.3578%200.214443%2015.228%200.337008%2015.1343%200.485744L0.134286%2028.4857C0.0463617%2028.6353%200%2028.8056%200%2028.9791C0%2029.1526%200.0463617%2029.3229%200.134286%2029.4724C0.221436%2029.6207%200.346313%2029.7432%200.496207%2029.8275C0.6461%2029.9118%200.815658%2029.9549%200.98762%2029.9524H31.0143ZM16.0143%2026.2857C15.6176%2026.2857%2015.2299%2026.1677%2014.9004%2025.9467C14.571%2025.7258%2014.3147%2025.4118%2014.1641%2025.0448C14.0136%2024.6778%2013.9755%2024.2743%2014.0549%2023.8857C14.1342%2023.497%2014.3274%2023.1407%2014.6098%2022.8621C14.8922%2022.5835%2015.251%2022.3951%2015.6407%2022.321C16.0304%2022.2468%2016.4334%2022.2903%2016.7983%2022.4458C17.1633%2022.6012%2017.4737%2022.8617%2017.6903%2023.1941C17.9068%2023.5265%2018.0196%2023.9158%2018.0143%2024.3124C18.0073%2024.8382%2017.7935%2025.3401%2017.4192%2025.7094C17.0448%2026.0787%2016.5401%2026.2858%2016.0143%2026.2857ZM16.0143%209.95241C16.3679%209.95241%2016.707%2010.0929%2016.9571%2010.3429C17.2071%2010.593%2017.3476%2010.9321%2017.3476%2011.2857V18.5791C17.3476%2018.9327%2017.2071%2019.2718%2016.9571%2019.5219C16.707%2019.7719%2016.3679%2019.9124%2016.0143%2019.9124C15.6607%2019.9124%2015.3215%2019.7719%2015.0715%2019.5219C14.8214%2019.2718%2014.681%2018.9327%2014.681%2018.5791V11.2857C14.681%2010.9321%2014.8214%2010.593%2015.0715%2010.3429C15.3215%2010.0929%2015.6607%209.95241%2016.0143%209.95241Z'%20fill='%23F2C94C'%20/%3e%3c/svg%3e");
|
|
1201
1201
|
}
|
|
1202
1202
|
|
|
1203
|
-
/*# sourceMappingURL=squirrel.css.map
|
|
1204
|
-
.bg-file-upload-x-icon[data-v-216025be] {
|
|
1205
|
-
background-image: url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%208C0%209.58225%200.469192%2011.129%201.34824%2012.4446C2.22729%2013.7602%203.47672%2014.7855%204.93853%2015.391C6.40034%2015.9965%208.00887%2016.155%209.56072%2015.8463C11.1126%2015.5376%2012.538%2014.7757%2013.6569%2013.6569C14.7757%2012.538%2015.5376%2011.1126%2015.8463%209.56072C16.155%208.00887%2015.9965%206.40034%2015.391%204.93853C14.7855%203.47672%2013.7602%202.22729%2012.4446%201.34824C11.129%200.469192%209.58225%200%208%200C5.87827%200%203.84344%200.842855%202.34315%202.34315C0.842855%203.84344%200%205.87827%200%208ZM14.3333%208C14.3333%209.25262%2013.9619%2010.4771%2013.266%2011.5186C12.5701%2012.5601%2011.5809%2013.3719%2010.4237%2013.8512C9.2664%2014.3306%207.99298%2014.456%206.76443%2014.2116C5.53588%2013.9673%204.40739%2013.3641%203.52166%2012.4783C2.63592%2011.5926%202.03273%2010.4641%201.78836%209.23557C1.54399%208.00703%201.66941%206.7336%202.14876%205.57634C2.62812%204.41907%203.43988%203.42994%204.48139%202.73403C5.5229%202.03811%206.74739%201.66667%208%201.66667C9.67916%201.66843%2011.289%202.33626%2012.4764%203.52361C13.6637%204.71096%2014.3316%206.32084%2014.3333%208Z'%20fill='%23718096'%20/%3e%3cpath%20d='M5.88634%204.71322C5.73075%204.55763%205.51972%204.47021%205.29967%204.47021C5.07963%204.47021%204.8686%204.55763%204.71301%204.71322C4.55741%204.86881%204.47%205.07984%204.47%205.29989C4.47%205.51993%204.55741%205.73096%204.71301%205.88655L6.71301%207.88655C6.72914%207.9021%206.74197%207.92074%206.75073%207.94136C6.7595%207.96198%206.76401%207.98415%206.76401%208.00655C6.76401%208.02896%206.7595%208.05113%206.75073%208.07175C6.74197%208.09237%206.72914%208.11101%206.71301%208.12655L4.71301%2010.1266C4.63561%2010.2034%204.57417%2010.2948%204.53225%2010.3955C4.49033%2010.4962%204.46875%2010.6042%204.46875%2010.7132C4.46875%2010.8223%204.49033%2010.9303%204.53225%2011.031C4.57417%2011.1317%204.63561%2011.223%204.71301%2011.2999C4.78939%2011.3781%204.88063%2011.4403%204.98138%2011.4827C5.08213%2011.5251%205.19035%2011.547%205.29967%2011.547C5.409%2011.547%205.51721%2011.5251%205.61796%2011.4827C5.71871%2011.4403%205.80996%2011.3781%205.88634%2011.2999L7.88634%209.29989C7.91934%209.27037%207.96207%209.25405%208.00634%209.25405C8.05062%209.25405%208.09334%209.27037%208.12634%209.29989L10.1263%2011.2999C10.2027%2011.3781%2010.294%2011.4403%2010.3947%2011.4827C10.4955%2011.5251%2010.6037%2011.547%2010.713%2011.547C10.8223%2011.547%2010.9305%2011.5251%2011.0313%2011.4827C11.132%2011.4403%2011.2233%2011.3781%2011.2997%2011.2999C11.3771%2011.223%2011.4385%2011.1317%2011.4804%2011.031C11.5224%2010.9303%2011.5439%2010.8223%2011.5439%2010.7132C11.5439%2010.6042%2011.5224%2010.4962%2011.4804%2010.3955C11.4385%2010.2948%2011.3771%2010.2034%2011.2997%2010.1266L9.29967%208.12655C9.27016%208.09355%209.25384%208.05083%209.25384%208.00655C9.25384%207.96228%209.27016%207.91955%209.29967%207.88655L11.2997%205.88655C11.4553%205.73096%2011.5427%205.51993%2011.5427%205.29989C11.5427%205.07984%2011.4553%204.86881%2011.2997%204.71322C11.1441%204.55763%2010.9331%204.47021%2010.713%204.47021C10.493%204.47021%2010.2819%204.55763%2010.1263%204.71322L8.12634%206.71322C8.09334%206.74274%208.05062%206.75906%208.00634%206.75906C7.96207%206.75906%207.91934%206.74274%207.88634%206.71322L5.88634%204.71322Z'%20fill='%23718096'%20/%3e%3c/svg%3e");
|
|
1206
|
-
}
|
|
1207
|
-
.bg-file-upload-x-icon[data-v-216025be]:hover {
|
|
1208
|
-
background-image: url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%208C0%209.58225%200.469192%2011.129%201.34824%2012.4446C2.22729%2013.7602%203.47672%2014.7855%204.93853%2015.391C6.40034%2015.9965%208.00887%2016.155%209.56072%2015.8463C11.1126%2015.5376%2012.538%2014.7757%2013.6569%2013.6569C14.7757%2012.538%2015.5376%2011.1126%2015.8463%209.56072C16.155%208.00887%2015.9965%206.40034%2015.391%204.93853C14.7855%203.47672%2013.7602%202.22729%2012.4446%201.34824C11.129%200.469192%209.58225%200%208%200C5.87827%200%203.84344%200.842855%202.34315%202.34315C0.842855%203.84344%200%205.87827%200%208ZM14.3333%208C14.3333%209.25262%2013.9619%2010.4771%2013.266%2011.5186C12.5701%2012.5601%2011.5809%2013.3719%2010.4237%2013.8512C9.2664%2014.3306%207.99298%2014.456%206.76443%2014.2116C5.53588%2013.9673%204.40739%2013.3641%203.52166%2012.4783C2.63592%2011.5926%202.03273%2010.4641%201.78836%209.23557C1.54399%208.00703%201.66941%206.7336%202.14876%205.57634C2.62812%204.41907%203.43988%203.42994%204.48139%202.73403C5.5229%202.03811%206.74739%201.66667%208%201.66667C9.67916%201.66843%2011.289%202.33626%2012.4764%203.52361C13.6637%204.71096%2014.3316%206.32084%2014.3333%208Z'%20fill='%23BB1410'%20/%3e%3cpath%20d='M5.88634%204.71322C5.73075%204.55763%205.51972%204.47021%205.29967%204.47021C5.07963%204.47021%204.8686%204.55763%204.71301%204.71322C4.55741%204.86881%204.47%205.07984%204.47%205.29989C4.47%205.51993%204.55741%205.73096%204.71301%205.88655L6.71301%207.88655C6.72914%207.9021%206.74197%207.92074%206.75073%207.94136C6.7595%207.96198%206.76401%207.98415%206.76401%208.00655C6.76401%208.02896%206.7595%208.05113%206.75073%208.07175C6.74197%208.09237%206.72914%208.11101%206.71301%208.12655L4.71301%2010.1266C4.63561%2010.2034%204.57417%2010.2948%204.53225%2010.3955C4.49033%2010.4962%204.46875%2010.6042%204.46875%2010.7132C4.46875%2010.8223%204.49033%2010.9303%204.53225%2011.031C4.57417%2011.1317%204.63561%2011.223%204.71301%2011.2999C4.78939%2011.3781%204.88063%2011.4403%204.98138%2011.4827C5.08213%2011.5251%205.19035%2011.547%205.29967%2011.547C5.409%2011.547%205.51721%2011.5251%205.61796%2011.4827C5.71871%2011.4403%205.80996%2011.3781%205.88634%2011.2999L7.88634%209.29989C7.91934%209.27037%207.96207%209.25405%208.00634%209.25405C8.05062%209.25405%208.09334%209.27037%208.12634%209.29989L10.1263%2011.2999C10.2027%2011.3781%2010.294%2011.4403%2010.3947%2011.4827C10.4955%2011.5251%2010.6037%2011.547%2010.713%2011.547C10.8223%2011.547%2010.9305%2011.5251%2011.0313%2011.4827C11.132%2011.4403%2011.2233%2011.3781%2011.2997%2011.2999C11.3771%2011.223%2011.4385%2011.1317%2011.4804%2011.031C11.5224%2010.9303%2011.5439%2010.8223%2011.5439%2010.7132C11.5439%2010.6042%2011.5224%2010.4962%2011.4804%2010.3955C11.4385%2010.2948%2011.3771%2010.2034%2011.2997%2010.1266L9.29967%208.12655C9.27016%208.09355%209.25384%208.05083%209.25384%208.00655C9.25384%207.96228%209.27016%207.91955%209.29967%207.88655L11.2997%205.88655C11.4553%205.73096%2011.5427%205.51993%2011.5427%205.29989C11.5427%205.07984%2011.4553%204.86881%2011.2997%204.71322C11.1441%204.55763%2010.9331%204.47021%2010.713%204.47021C10.493%204.47021%2010.2819%204.55763%2010.1263%204.71322L8.12634%206.71322C8.09334%206.74274%208.05062%206.75906%208.00634%206.75906C7.96207%206.75906%207.91934%206.74274%207.88634%206.71322L5.88634%204.71322Z'%20fill='%23BB1410'%20/%3e%3c/svg%3e");
|
|
1209
|
-
}
|
|
1210
|
-
.p-table[data-v-8560a8de] {
|
|
1203
|
+
/*# sourceMappingURL=squirrel.css.map */.p-table[data-v-8560a8de] {
|
|
1211
1204
|
color: rgb(var(--color-night));
|
|
1212
1205
|
height: 1px;
|
|
1213
1206
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pequity/squirrel",
|
|
3
3
|
"description": "Squirrel component library",
|
|
4
|
-
"version": "6.0
|
|
4
|
+
"version": "6.1.0",
|
|
5
5
|
"packageManager": "pnpm@9.15.5",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"storybook": "storybook dev -p 6006",
|
|
19
19
|
"build-storybook": "storybook build",
|
|
20
20
|
"test-storybook": "test-storybook",
|
|
21
|
+
"quality": "pnpm run lint && pnpm run typecheck && pnpm run test:unit && pnpm run build",
|
|
21
22
|
"prepare": "husky"
|
|
22
23
|
},
|
|
23
24
|
"files": [
|
|
@@ -53,30 +54,30 @@
|
|
|
53
54
|
"@playwright/test": "^1.50.1",
|
|
54
55
|
"@semantic-release/changelog": "^6.0.3",
|
|
55
56
|
"@semantic-release/git": "^10.0.1",
|
|
56
|
-
"@storybook/addon-a11y": "^8.5.
|
|
57
|
-
"@storybook/addon-actions": "^8.5.
|
|
58
|
-
"@storybook/addon-essentials": "^8.5.
|
|
59
|
-
"@storybook/addon-interactions": "^8.5.
|
|
60
|
-
"@storybook/addon-links": "^8.5.
|
|
61
|
-
"@storybook/blocks": "^8.5.
|
|
62
|
-
"@storybook/manager-api": "^8.5.
|
|
63
|
-
"@storybook/test": "^8.5.
|
|
64
|
-
"@storybook/test-runner": "^0.21.
|
|
65
|
-
"@storybook/theming": "^8.5.
|
|
66
|
-
"@storybook/vue3": "^8.5.
|
|
67
|
-
"@storybook/vue3-vite": "^8.5.
|
|
68
|
-
"@tanstack/vue-virtual": "3.13.
|
|
57
|
+
"@storybook/addon-a11y": "^8.5.8",
|
|
58
|
+
"@storybook/addon-actions": "^8.5.8",
|
|
59
|
+
"@storybook/addon-essentials": "^8.5.8",
|
|
60
|
+
"@storybook/addon-interactions": "^8.5.8",
|
|
61
|
+
"@storybook/addon-links": "^8.5.8",
|
|
62
|
+
"@storybook/blocks": "^8.5.8",
|
|
63
|
+
"@storybook/manager-api": "^8.5.8",
|
|
64
|
+
"@storybook/test": "^8.5.8",
|
|
65
|
+
"@storybook/test-runner": "^0.21.3",
|
|
66
|
+
"@storybook/theming": "^8.5.8",
|
|
67
|
+
"@storybook/vue3": "^8.5.8",
|
|
68
|
+
"@storybook/vue3-vite": "^8.5.8",
|
|
69
|
+
"@tanstack/vue-virtual": "3.13.1",
|
|
69
70
|
"@types/jsdom": "^21.1.7",
|
|
70
71
|
"@types/lodash-es": "^4.17.12",
|
|
71
|
-
"@types/node": "^22.13.
|
|
72
|
+
"@types/node": "^22.13.5",
|
|
72
73
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
73
|
-
"@vitest/coverage-v8": "^3.0.
|
|
74
|
+
"@vitest/coverage-v8": "^3.0.7",
|
|
74
75
|
"@vue/compiler-sfc": "3.5.13",
|
|
75
76
|
"@vue/test-utils": "^2.4.6",
|
|
76
77
|
"@vuepic/vue-datepicker": "11.0.1",
|
|
77
78
|
"autoprefixer": "^10.4.20",
|
|
78
79
|
"dayjs": "1.11.13",
|
|
79
|
-
"eslint": "^9.
|
|
80
|
+
"eslint": "^9.21.0",
|
|
80
81
|
"eslint-plugin-storybook": "^0.11.3",
|
|
81
82
|
"floating-vue": "5.2.2",
|
|
82
83
|
"glob": "^11.0.1",
|
|
@@ -86,24 +87,24 @@
|
|
|
86
87
|
"lint-staged": "^15.4.3",
|
|
87
88
|
"lodash-es": "4.17.21",
|
|
88
89
|
"make-coverage-badge": "^1.2.0",
|
|
89
|
-
"postcss": "^8.5.
|
|
90
|
-
"prettier": "^3.5.
|
|
90
|
+
"postcss": "^8.5.3",
|
|
91
|
+
"prettier": "^3.5.2",
|
|
91
92
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
92
93
|
"resolve-tspaths": "^0.8.23",
|
|
93
94
|
"rimraf": "^6.0.1",
|
|
94
|
-
"sass": "^1.85.
|
|
95
|
+
"sass": "^1.85.1",
|
|
95
96
|
"semantic-release": "^24.2.3",
|
|
96
|
-
"storybook": "^8.5.
|
|
97
|
+
"storybook": "^8.5.8",
|
|
97
98
|
"svgo": "^3.3.2",
|
|
98
99
|
"tailwindcss": "^3.4.17",
|
|
99
100
|
"typescript": "5.7.3",
|
|
100
|
-
"vite": "^6.
|
|
101
|
-
"vitest": "^3.0.
|
|
101
|
+
"vite": "^6.2.0",
|
|
102
|
+
"vitest": "^3.0.7",
|
|
102
103
|
"vue": "3.5.13",
|
|
103
104
|
"vue-currency-input": "3.2.1",
|
|
104
105
|
"vue-router": "4.5.0",
|
|
105
106
|
"vue-toastification": "2.0.0-rc.5",
|
|
106
|
-
"vue-tsc": "2.2.
|
|
107
|
+
"vue-tsc": "2.2.4"
|
|
107
108
|
},
|
|
108
109
|
"dependencies": {
|
|
109
110
|
"tailwind-variants": "^0.3.1"
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import FileUploadIcon from '@squirrel/assets/file-upload-upload-icon.svg?inline';
|
|
2
1
|
import PaginateLeftIcon from '@squirrel/assets/pagination-left-icon.svg?inline';
|
|
3
2
|
import PaginateRightIcon from '@squirrel/assets/pagination-right-icon.svg?inline';
|
|
4
3
|
import PActionBar from '@squirrel/components/p-action-bar/p-action-bar.vue';
|
|
@@ -9,7 +8,7 @@ import { expect, fn, userEvent, waitFor, within } from '@storybook/test';
|
|
|
9
8
|
const actionBarActions = [
|
|
10
9
|
{
|
|
11
10
|
label: 'Upload',
|
|
12
|
-
icon:
|
|
11
|
+
icon: PaginateRightIcon,
|
|
13
12
|
name: 'upload',
|
|
14
13
|
},
|
|
15
14
|
{
|