@wishbone-media/spark 0.24.0 → 0.25.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/index.css CHANGED
@@ -1 +1 @@
1
- .spark-table-pagination-per-page[data-v-9ef8544b]{@apply flex items-center;}.spark-table-search[data-v-976170dc]{@apply relative flex items-center;}.spark-table-filter-select[data-v-642dbc69],.spark-table-filter-buttons[data-v-0fcd0cce]{@apply flex items-center gap-2;}.spark-table-filter-buttons-label[data-v-0fcd0cce]{@apply text-sm font-medium text-gray-700;}.spark-table-date-picker[data-v-44ef9cb8]{@apply flex items-center gap-2;}.spark-table-reset[data-v-45343158]{@apply flex items-center;}
1
+ .spark-table-pagination-per-page[data-v-9ef8544b]{@apply flex items-center;}.spark-table-search[data-v-976170dc]{@apply relative flex items-center;}.spark-table-filter-select[data-v-642dbc69],.spark-table-filter-buttons[data-v-01a49899]{@apply flex items-center gap-2;}.spark-table-filter-buttons-label[data-v-01a49899]{@apply text-sm font-medium text-gray-700;}.spark-table-date-picker[data-v-44ef9cb8]{@apply flex items-center gap-2;}.spark-table-reset[data-v-0894e3bf]{@apply flex items-center;}
package/dist/index.js CHANGED
@@ -1024,19 +1024,19 @@ const X = new _s(), fn = {
1024
1024
  let r = "", i = "";
1025
1025
  switch (s.size) {
1026
1026
  case "xs":
1027
- r += " px-2 py-1 text-xs", i = "sm";
1027
+ r += " px-4 py-1 text-xs", i = "sm";
1028
1028
  break;
1029
1029
  case "sm":
1030
- r += " px-2 py-1 text-sm", i = "sm";
1030
+ r += " px-4 py-1 text-sm", i = "sm";
1031
1031
  break;
1032
1032
  case "md":
1033
- r += " px-2.5 py-1.5 text-sm", i = "md";
1033
+ r += " px-5 py-1.5 text-sm", i = "md";
1034
1034
  break;
1035
1035
  case "lg":
1036
- r += " px-3 py-2 text-sm", i = "md";
1036
+ r += " px-6 py-2 text-sm", i = "md";
1037
1037
  break;
1038
1038
  case "xl":
1039
- r += " px-3.5 py-2.5 min-h-[42px] text-sm", i = "md";
1039
+ r += " px-7 py-2.5 min-h-[42px] text-sm", i = "md";
1040
1040
  break;
1041
1041
  }
1042
1042
  if (o?.isInGroup && l.value) {
@@ -1097,7 +1097,7 @@ const X = new _s(), fn = {
1097
1097
  }
1098
1098
  }, Ks = { class: "divide-y divide-gray-300 rounded-lg border border-gray-300 text-gray-700 bg-gray-100" }, Gs = {
1099
1099
  key: 0,
1100
- class: "p-5"
1100
+ class: "px-[30px] py-5"
1101
1101
  }, Ws = {
1102
1102
  key: 1,
1103
1103
  class: "p-5"
@@ -2232,6 +2232,7 @@ const ko = (e) => {
2232
2232
  (m(!0), h(R, null, D(e.config.options, (i) => (m(), V(G, {
2233
2233
  key: i.value,
2234
2234
  size: "xl",
2235
+ "button-class": "px-3.5",
2235
2236
  variant: n(i.value) ? "primary" : "secondary",
2236
2237
  onClick: (u) => a(i.value)
2237
2238
  }, {
@@ -2245,7 +2246,7 @@ const ko = (e) => {
2245
2246
  })
2246
2247
  ]));
2247
2248
  }
2248
- }, oa = /* @__PURE__ */ ee(sa, [["__scopeId", "data-v-0fcd0cce"]]), aa = { class: "spark-table-date-picker" }, ra = {
2249
+ }, oa = /* @__PURE__ */ ee(sa, [["__scopeId", "data-v-01a49899"]]), aa = { class: "spark-table-date-picker" }, ra = {
2249
2250
  __name: "SparkTableDatePicker",
2250
2251
  props: {
2251
2252
  /** SparkTable instance object */
@@ -2340,6 +2341,7 @@ const ko = (e) => {
2340
2341
  b(G, {
2341
2342
  onClick: t,
2342
2343
  variant: "secondary",
2344
+ "button-class": "px-3.5",
2343
2345
  size: "xl"
2344
2346
  }, {
2345
2347
  default: T(() => [
@@ -2355,7 +2357,7 @@ const ko = (e) => {
2355
2357
  ]);
2356
2358
  };
2357
2359
  }
2358
- }, ua = /* @__PURE__ */ ee(ca, [["__scopeId", "data-v-45343158"]]), da = { class: "spark-table" }, pa = {
2360
+ }, ua = /* @__PURE__ */ ee(ca, [["__scopeId", "data-v-0894e3bf"]]), da = { class: "spark-table" }, pa = {
2359
2361
  key: 1,
2360
2362
  class: "pt-5"
2361
2363
  }, fa = {
package/formkit.config.js CHANGED
@@ -11,7 +11,8 @@ import {
11
11
  repeater,
12
12
  slider,
13
13
  taglist,
14
- toggle
14
+ toggle,
15
+ togglebuttons,
15
16
  } from '@formkit/pro';
16
17
  import { rootClasses } from '@wishbone-media/spark/formkit.theme.mjs';
17
18
 
@@ -46,7 +47,8 @@ export default function createFormKitConfig(formKitProKey) {
46
47
  repeater,
47
48
  slider,
48
49
  taglist,
49
- toggle
50
+ toggle,
51
+ togglebuttons,
50
52
  });
51
53
 
52
54
  return defaultConfig({
package/formkit.theme.mjs CHANGED
@@ -4,7 +4,7 @@
4
4
  * edited unless you’d like to "eject" from the CLI’s ability to update it.
5
5
  *
6
6
  * @checksum - 1eae4380e10949209f98a9643e3429638d6f557cbf8b782df51ce060e972c466
7
- * @variables - radius=rounded-md,accentColor=primary,colorTemperature=gray,spacing=2.5,scale=sm,inputShadow=shadow-xs,baseColorShade=600,borderShadeLightMode=300,borderShadeDarkMode=700,inputMaxWidth=max-w-[24em],tagRadius=rounded-sm,swatchRadius=rounded-sm
7
+ * @variables - radius=rounded-md,accentColor=primary,colorTemperature=gray,spacing=2.5,scale=sm,inputShadow=shadow-xs,baseColorShade=600,borderShadeLightMode=300,borderShadeDarkMode=700,inputMaxWidth=max-w-full,tagRadius=rounded-sm,swatchRadius=rounded-sm
8
8
  * @theme - regenesis
9
9
  **/
10
10
 
@@ -53,13 +53,12 @@ const classes = {
53
53
  "[color-scheme:light]": true,
54
54
  "dark:[color-scheme:dark]": true,
55
55
  "selection:bg-primary-100": true,
56
- "selection:text-gray-700": true,
56
+ "selection:text-gray-600": true,
57
57
  "group-data-[has-overlay]:selection:!text-transparent": true,
58
- "font-bold": true,
58
+ "font-semibold": true,
59
59
  "rounded-md": true,
60
60
  "outline-hidden": true,
61
61
  "flex": true,
62
- "!text-xs": true,
63
62
  "px-8": true,
64
63
  "py-3.5": true,
65
64
  "items-center": true,
@@ -87,7 +86,7 @@ const classes = {
87
86
  },
88
87
  "family:box__legend": {
89
88
  "block": true,
90
- "text-gray-700": true,
89
+ "text-gray-600": true,
91
90
  "text-xs": true,
92
91
  "font-bold": true,
93
92
  "dark:text-gray-300": true,
@@ -98,7 +97,7 @@ const classes = {
98
97
  "[color-scheme:light]": true,
99
98
  "dark:[color-scheme:dark]": true,
100
99
  "selection:bg-primary-100": true,
101
- "selection:text-gray-700": true,
100
+ "selection:text-gray-600": true,
102
101
  "group-data-[has-overlay]:selection:!text-transparent": true,
103
102
  "peer": true,
104
103
  "pointer-events-none": true,
@@ -198,12 +197,7 @@ const classes = {
198
197
  },
199
198
  "family:text__label": {
200
199
  "block": true,
201
- "text-gray-700": true,
202
- "text-xs": true,
203
- "font-bold": true,
204
- "dark:text-gray-300": true,
205
200
  "!inline-flex": true,
206
- "mb-1.5": true
207
201
  },
208
202
  "family:text__inner": {
209
203
  "text-sm": true,
@@ -237,10 +231,10 @@ const classes = {
237
231
  "appearance-none": true,
238
232
  "[color-scheme:light]": true,
239
233
  "dark:[color-scheme:dark]": true,
240
- "selection:text-gray-700": true,
234
+ "selection:text-gray-600": true,
241
235
  "group-data-[has-overlay]:selection:!text-transparent": true,
242
236
  "text-sm": true,
243
- "text-gray-700": true,
237
+ "text-gray-600": true,
244
238
  "min-w-0": true,
245
239
  "min-h-[1.25em]": true,
246
240
  "grow": true,
@@ -314,14 +308,14 @@ const classes = {
314
308
  "appearance-none": true,
315
309
  "[color-scheme:light]": true,
316
310
  "dark:[color-scheme:dark]": true,
317
- "selection:text-gray-700": true,
311
+ "selection:text-gray-600": true,
318
312
  "group-data-[has-overlay]:selection:!text-transparent": true,
319
313
  "grow": true,
320
314
  "p-2.5": true,
321
315
  "pr-0": true,
322
316
  "pl-3.5": true,
323
317
  "text-sm": true,
324
- "text-gray-700": true,
318
+ "text-gray-600": true,
325
319
  "text-ellipsis": true,
326
320
  "min-w-0": true,
327
321
  "outline-hidden": true,
@@ -343,7 +337,7 @@ const classes = {
343
337
  "text-sm": true,
344
338
  "flex": true,
345
339
  "items-center": true,
346
- "text-gray-700": true,
340
+ "text-gray-600": true,
347
341
  "z-1000": true,
348
342
  "dark:text-gray-300": true,
349
343
  "data-[disabled]:cursor-not-allowed": true
@@ -354,7 +348,7 @@ const classes = {
354
348
  "text-sm": true,
355
349
  "flex": true,
356
350
  "items-center": true,
357
- "text-gray-700": true,
351
+ "text-gray-600": true,
358
352
  "hover:text-red-400": true,
359
353
  "z-1000": true,
360
354
  "dark:text-gray-300": true
@@ -462,11 +456,11 @@ const classes = {
462
456
  "py-2": true,
463
457
  "first:pt-2.5": true,
464
458
  "last:pb-2.5": true,
465
- "text-gray-700": true,
459
+ "text-gray-600": true,
466
460
  "text-sm": true,
467
461
  "data-[is-active]:bg-primary-100": true,
468
462
  "dark:text-gray-200": true,
469
- "dark:data-[is-active]:text-gray-700": true,
463
+ "dark:data-[is-active]:text-gray-600": true,
470
464
  "before:content-['']": true,
471
465
  "before:absolute": true,
472
466
  "before:inset-0": true,
@@ -516,11 +510,11 @@ const classes = {
516
510
  "grow": true,
517
511
  "flex": true,
518
512
  "items-center": true,
519
- "text-gray-700": true
513
+ "text-gray-600": true
520
514
  },
521
515
  "family:dropdown__selection": {
522
516
  "grow": true,
523
- "text-gray-700": true,
517
+ "text-gray-600": true,
524
518
  "group-data-[multiple]:p-2.5": true,
525
519
  "dark:text-gray-300": true
526
520
  },
@@ -559,7 +553,7 @@ const classes = {
559
553
  "[&>[type=button]]:!text-inherit": true,
560
554
  "[&>[type=button]]:cursor-pointer": true,
561
555
  "group-data-[active-selection=true]/tag:bg-primary-400": true,
562
- "group-data-[active-selection=true]/tag:text-gray-700": true
556
+ "group-data-[active-selection=true]/tag:text-gray-600": true
563
557
  },
564
558
  "family:dropdown__tagLabel": {
565
559
  "mr-1": true
@@ -571,7 +565,7 @@ const classes = {
571
565
  "py-2": true,
572
566
  "first:pt-2.5": true,
573
567
  "last:pb-2.5": true,
574
- "text-gray-700": true,
568
+ "text-gray-600": true,
575
569
  "text-xs": true,
576
570
  "aria-selected:text-white": true,
577
571
  "aria-selected:bg-primary-600": true
@@ -581,7 +575,7 @@ const classes = {
581
575
  "[color-scheme:light]": true,
582
576
  "dark:[color-scheme:dark]": true,
583
577
  "selection:bg-primary-100": true,
584
- "selection:text-gray-700": true,
578
+ "selection:text-gray-600": true,
585
579
  "group-data-[has-overlay]:selection:!text-transparent": true,
586
580
  "bg-primary-50": true,
587
581
  "hover:bg-primary-100": true,
@@ -611,7 +605,7 @@ const classes = {
611
605
  "[color-scheme:light]": true,
612
606
  "dark:[color-scheme:dark]": true,
613
607
  "selection:bg-primary-100": true,
614
- "selection:text-gray-700": true,
608
+ "selection:text-gray-600": true,
615
609
  "group-data-[has-overlay]:selection:!text-transparent": true,
616
610
  "!w-14": true,
617
611
  "bg-transparent": true,
@@ -655,7 +649,7 @@ const classes = {
655
649
  "[color-scheme:light]": true,
656
650
  "dark:[color-scheme:dark]": true,
657
651
  "selection:bg-primary-100": true,
658
- "selection:text-gray-700": true,
652
+ "selection:text-gray-600": true,
659
653
  "group-data-[has-overlay]:selection:!text-transparent": true,
660
654
  "focus:[&::-webkit-datetime-edit-day-field]:bg-primary-100": true,
661
655
  "focus:[&::-webkit-datetime-edit-month-field]:bg-primary-100": true,
@@ -666,7 +660,7 @@ const classes = {
666
660
  "[color-scheme:light]": true,
667
661
  "dark:[color-scheme:dark]": true,
668
662
  "selection:bg-primary-100": true,
669
- "selection:text-gray-700": true,
663
+ "selection:text-gray-600": true,
670
664
  "group-data-[has-overlay]:selection:!text-transparent": true,
671
665
  "focus:[&::-webkit-datetime-edit-day-field]:bg-primary-100": true,
672
666
  "focus:[&::-webkit-datetime-edit-month-field]:bg-primary-100": true,
@@ -692,7 +686,7 @@ const classes = {
692
686
  "flex": true,
693
687
  "min-w-0": true,
694
688
  "items-center": true,
695
- "text-gray-700": true,
689
+ "text-gray-600": true,
696
690
  "mb-2": true,
697
691
  "last:mb-0": true,
698
692
  "dark:text-gray-300": true
@@ -746,7 +740,7 @@ const classes = {
746
740
  "[color-scheme:light]": true,
747
741
  "dark:[color-scheme:dark]": true,
748
742
  "selection:bg-primary-100": true,
749
- "selection:text-gray-700": true,
743
+ "selection:text-gray-600": true,
750
744
  "group-data-[has-overlay]:selection:!text-transparent": true,
751
745
  "cursor-pointer": true,
752
746
  "text-transparent": true,
@@ -771,7 +765,8 @@ const classes = {
771
765
  "mr-2.5": true
772
766
  },
773
767
  "form__form": {
774
- "group/form": true
768
+ "group/form": true,
769
+ "w-full": true,
775
770
  },
776
771
  "form__actions": {
777
772
  "": true
@@ -790,7 +785,7 @@ const classes = {
790
785
  },
791
786
  "form__summaryHeader": {
792
787
  "text-base": true,
793
- "text-gray-700": true,
788
+ "text-gray-600": true,
794
789
  "font-bold": true,
795
790
  "mb-2.5": true,
796
791
  "dark:text-gray-300": true
@@ -816,7 +811,7 @@ const classes = {
816
811
  "[color-scheme:light]": true,
817
812
  "dark:[color-scheme:dark]": true,
818
813
  "selection:bg-primary-100": true,
819
- "selection:text-gray-700": true,
814
+ "selection:text-gray-600": true,
820
815
  "group-data-[has-overlay]:selection:!text-transparent": true,
821
816
  "focus:[&::-webkit-datetime-edit-month-field]:bg-primary-100": true,
822
817
  "focus:[&::-webkit-datetime-edit-year-field]:bg-primary-100": true
@@ -840,7 +835,7 @@ const classes = {
840
835
  "[color-scheme:light]": true,
841
836
  "dark:[color-scheme:dark]": true,
842
837
  "selection:bg-primary-100": true,
843
- "selection:text-gray-700": true,
838
+ "selection:text-gray-600": true,
844
839
  "group-data-[has-overlay]:selection:!text-transparent": true,
845
840
  "group/input": true,
846
841
  "cursor-pointer": true,
@@ -916,7 +911,7 @@ const classes = {
916
911
  "appearance-none": true,
917
912
  "[color-scheme:light]": true,
918
913
  "dark:[color-scheme:dark]": true,
919
- "selection:text-gray-700": true,
914
+ "selection:text-gray-600": true,
920
915
  "group-data-[has-overlay]:selection:!text-transparent": true,
921
916
  "grow": true,
922
917
  "p-2.5": true,
@@ -924,7 +919,7 @@ const classes = {
924
919
  "px-3.5": true,
925
920
  "pr-[2em]": true,
926
921
  "text-sm": true,
927
- "text-gray-700": true,
922
+ "text-gray-600": true,
928
923
  "text-ellipsis": true,
929
924
  "min-w-0": true,
930
925
  "outline-hidden": true,
@@ -944,7 +939,7 @@ const classes = {
944
939
  "select__selectIcon": {
945
940
  "absolute": true,
946
941
  "w-[1em]": true,
947
- "text-gray-700": true,
942
+ "text-gray-600": true,
948
943
  "pointer-events-none": true,
949
944
  "right-2.5": true,
950
945
  "group-data-[suffix-icon]:mr-[1.5em]": true,
@@ -952,7 +947,7 @@ const classes = {
952
947
  },
953
948
  "select__optGroup": {
954
949
  "bg-white": true,
955
- "text-gray-700": true,
950
+ "text-gray-600": true,
956
951
  "group/optgroup": true,
957
952
  "group-data-[multiple]:px-1.5": true,
958
953
  "pt-1.5": true,
@@ -963,7 +958,7 @@ const classes = {
963
958
  },
964
959
  "select__option": {
965
960
  "bg-white": true,
966
- "text-gray-700": true,
961
+ "text-gray-600": true,
967
962
  "group-data-[disabled]:opacity-50": true,
968
963
  "group-data-[disabled]:select-none": true,
969
964
  "group-data-[multiple]:checked:bg-primary-100": true,
@@ -1006,10 +1001,8 @@ const classes = {
1006
1001
  },
1007
1002
  "submit__outer": {
1008
1003
  "group": true,
1009
- "max-w-[24em]": true,
1004
+ "max-w-full": true,
1010
1005
  "min-w-0": true,
1011
- "grow": true,
1012
- "mb-4": true,
1013
1006
  "data-[disabled]:select-none": true,
1014
1007
  "text-sm": true,
1015
1008
  "data-[disabled]:opacity-100": true
@@ -1019,10 +1012,14 @@ const classes = {
1019
1012
  "[color-scheme:light]": true,
1020
1013
  "dark:[color-scheme:dark]": true,
1021
1014
  "selection:bg-primary-100": true,
1022
- "selection:text-gray-700": true,
1015
+ "selection:text-gray-600": true,
1023
1016
  "group-data-[has-overlay]:selection:!text-transparent": true,
1024
1017
  "bg-primary-600": true,
1025
1018
  "!text-white": true,
1019
+ "!text-sm": true,
1020
+ "!py-2": true,
1021
+ "!mb-0": true,
1022
+ "border-0": true,
1026
1023
  "active:text-primary-100": true,
1027
1024
  "active:bg-primary-700": true,
1028
1025
  "hover:bg-primary-700": true,
@@ -1101,11 +1098,11 @@ const classes = {
1101
1098
  "appearance-none": true,
1102
1099
  "[color-scheme:light]": true,
1103
1100
  "dark:[color-scheme:dark]": true,
1104
- "selection:text-gray-700": true,
1101
+ "selection:text-gray-600": true,
1105
1102
  "group-data-[has-overlay]:selection:!text-transparent": true,
1106
1103
  "text-sm": true,
1107
1104
  "h-28": true,
1108
- "text-gray-700": true,
1105
+ "text-gray-600": true,
1109
1106
  "min-w-0": true,
1110
1107
  "grow": true,
1111
1108
  "shrink": true,
@@ -1157,7 +1154,7 @@ const classes = {
1157
1154
  "[color-scheme:light]": true,
1158
1155
  "dark:[color-scheme:dark]": true,
1159
1156
  "selection:bg-primary-100": true,
1160
- "selection:text-gray-700": true,
1157
+ "selection:text-gray-600": true,
1161
1158
  "group-data-[has-overlay]:selection:!text-transparent": true,
1162
1159
  "focus:[&::-webkit-datetime-edit-hour-field]:bg-primary-100": true,
1163
1160
  "focus:[&::-webkit-datetime-edit-minute-field]:bg-primary-100": true,
@@ -1168,7 +1165,7 @@ const classes = {
1168
1165
  "[color-scheme:light]": true,
1169
1166
  "dark:[color-scheme:dark]": true,
1170
1167
  "selection:bg-primary-100": true,
1171
- "selection:text-gray-700": true,
1168
+ "selection:text-gray-600": true,
1172
1169
  "group-data-[has-overlay]:selection:!text-transparent": true,
1173
1170
  "focus:[&::-webkit-datetime-edit-week-field]:bg-primary-100": true,
1174
1171
  "focus:[&::-webkit-datetime-edit-year-field]:bg-primary-100": true
@@ -1207,7 +1204,7 @@ const classes = {
1207
1204
  },
1208
1205
  "colorpicker__outer": {
1209
1206
  "group": true,
1210
- "max-w-[24em]": true,
1207
+ "max-w-full": true,
1211
1208
  "min-w-0": true,
1212
1209
  "grow": true,
1213
1210
  "mb-4": true,
@@ -1268,14 +1265,14 @@ const classes = {
1268
1265
  },
1269
1266
  "colorpicker__valueString": {
1270
1267
  "text-sm": true,
1271
- "text-gray-700": true,
1268
+ "text-gray-600": true,
1272
1269
  "selection:bg-primary-100": true,
1273
1270
  "font-mono": true,
1274
1271
  "inline-block": true,
1275
1272
  "ml-2.5": true,
1276
1273
  "mr-1.5": true,
1277
1274
  "dark:text-gray-300": true,
1278
- "dark:selection:text-gray-700": true
1275
+ "dark:selection:text-gray-600": true
1279
1276
  },
1280
1277
  "colorpicker__panel": {
1281
1278
  "absolute": true,
@@ -1459,12 +1456,12 @@ const classes = {
1459
1456
  },
1460
1457
  "colorpicker__colorField": {
1461
1458
  "bg-transparent": true,
1462
- "text-gray-700": true,
1459
+ "text-gray-600": true,
1463
1460
  "border": true,
1464
1461
  "border-gray-200": true,
1465
1462
  "dark:border-gray-800": true,
1466
1463
  "dark:text-gray-300": true,
1467
- "dark:selection:text-gray-700": true
1464
+ "dark:selection:text-gray-600": true
1468
1465
  },
1469
1466
  "colorpicker__colorInputGroup": {
1470
1467
  "flex": true,
@@ -1481,7 +1478,7 @@ const classes = {
1481
1478
  "mr-1.5": true,
1482
1479
  "[&>input]:p-1": true,
1483
1480
  "[&>input]:text-sm": true,
1484
- "[&>input]:text-gray-700": true,
1481
+ "[&>input]:text-gray-600": true,
1485
1482
  "[&>input]:selection:bg-primary-100": true,
1486
1483
  "[&>input]:m-0": true,
1487
1484
  "[&>input]:grow": true,
@@ -1613,7 +1610,7 @@ const classes = {
1613
1610
  "items-center": true,
1614
1611
  "ml-1.5": true,
1615
1612
  "mr-2.5": true,
1616
- "text-gray-700": true,
1613
+ "text-gray-600": true,
1617
1614
  "hover:text-red-400": true,
1618
1615
  "z-1000": true,
1619
1616
  "dark:text-gray-300": true
@@ -1663,7 +1660,7 @@ const classes = {
1663
1660
  "flex": true,
1664
1661
  "items-center": true,
1665
1662
  "justify-center": true,
1666
- "text-gray-700": true,
1663
+ "text-gray-600": true,
1667
1664
  "[&_svg]:w-[1.25em]": true,
1668
1665
  "dark:text-gray-300": true,
1669
1666
  "dark:border-gray-800": true,
@@ -1679,7 +1676,7 @@ const classes = {
1679
1676
  "[color-scheme:light]": true,
1680
1677
  "dark:[color-scheme:dark]": true,
1681
1678
  "selection:bg-primary-100": true,
1682
- "selection:text-gray-700": true,
1679
+ "selection:text-gray-600": true,
1683
1680
  "group-data-[has-overlay]:selection:!text-transparent": true,
1684
1681
  "placeholder:text-gray-400": true
1685
1682
  },
@@ -1706,7 +1703,7 @@ const classes = {
1706
1703
  "m-2": true,
1707
1704
  "p-1.5": true,
1708
1705
  "text-center": true,
1709
- "text-gray-700": true,
1706
+ "text-gray-600": true,
1710
1707
  "rounded-md": true,
1711
1708
  "bg-gray-200": true,
1712
1709
  "aria-selected:!bg-primary-600": true,
@@ -1716,7 +1713,7 @@ const classes = {
1716
1713
  "focus:outline-primary-600": true,
1717
1714
  "focus:outline-offset-2": true,
1718
1715
  "focus:bg-white": true,
1719
- "focus:text-gray-700": true,
1716
+ "focus:text-gray-600": true,
1720
1717
  "data-[is-extra=true]:opacity-25": true,
1721
1718
  "group-data-[disabled=true]:opacity-50": true,
1722
1719
  "group-data-[disabled=true]:cursor-default": true,
@@ -1728,7 +1725,7 @@ const classes = {
1728
1725
  "flex": true,
1729
1726
  "items-center": true,
1730
1727
  "justify-center": true,
1731
- "text-gray-700": true,
1728
+ "text-gray-600": true,
1732
1729
  "col-start-2": true,
1733
1730
  "col-end-2": true,
1734
1731
  "dark:text-gray-300": true
@@ -1741,7 +1738,7 @@ const classes = {
1741
1738
  "datepicker__year": {
1742
1739
  "text-sm": true,
1743
1740
  "text-center": true,
1744
- "text-gray-700": true,
1741
+ "text-gray-600": true,
1745
1742
  "items-center": true,
1746
1743
  "m-2": true,
1747
1744
  "p-1.5": true,
@@ -1767,7 +1764,7 @@ const classes = {
1767
1764
  },
1768
1765
  "datepicker__weekDay": {
1769
1766
  "w-[2.25em]": true,
1770
- "text-gray-700": true,
1767
+ "text-gray-600": true,
1771
1768
  "m-2": true,
1772
1769
  "rounded-md": true,
1773
1770
  "font-medium": true,
@@ -1789,7 +1786,7 @@ const classes = {
1789
1786
  "items-center": true,
1790
1787
  "justify-center": true,
1791
1788
  "text-center": true,
1792
- "text-gray-700": true,
1789
+ "text-gray-600": true,
1793
1790
  "w-[2.25em]": true,
1794
1791
  "h-[2.25em]": true,
1795
1792
  "m-1": true,
@@ -1813,14 +1810,14 @@ const classes = {
1813
1810
  "dark:aria-selected:text-white": true,
1814
1811
  "dark:focus:outline-primary-600": true,
1815
1812
  "dark:focus:bg-gray-200": true,
1816
- "dark:focus:text-gray-700": true
1813
+ "dark:focus:text-gray-600": true
1817
1814
  },
1818
1815
  "datepicker__timeInput": {
1819
1816
  "w-full": true,
1820
1817
  "border-2": true,
1821
1818
  "[color-scheme:light]": true,
1822
1819
  "dark:[color-scheme:dark]": true,
1823
- "text-gray-700": true,
1820
+ "text-gray-600": true,
1824
1821
  "border-gray-200": true,
1825
1822
  "rounded-md": true,
1826
1823
  "p-2": true,
@@ -1855,13 +1852,13 @@ const classes = {
1855
1852
  "flex": true,
1856
1853
  "w-[0.75em]": true,
1857
1854
  "select-none": true,
1858
- "text-gray-700": true,
1855
+ "text-gray-600": true,
1859
1856
  "[&>svg]:w-full": true,
1860
1857
  "dark:text-gray-300": true
1861
1858
  },
1862
1859
  "datepicker__dayButton": {
1863
1860
  "appearance-none": true,
1864
- "text-gray-700": true,
1861
+ "text-gray-600": true,
1865
1862
  "cursor-pointer": true,
1866
1863
  "px-3": true,
1867
1864
  "py-1": true,
@@ -1880,7 +1877,7 @@ const classes = {
1880
1877
  },
1881
1878
  "datepicker__monthButton": {
1882
1879
  "appearance-none": true,
1883
- "text-gray-700": true,
1880
+ "text-gray-600": true,
1884
1881
  "cursor-pointer": true,
1885
1882
  "px-3": true,
1886
1883
  "py-1": true,
@@ -1899,7 +1896,7 @@ const classes = {
1899
1896
  },
1900
1897
  "datepicker__yearButton": {
1901
1898
  "appearance-none": true,
1902
- "text-gray-700": true,
1899
+ "text-gray-600": true,
1903
1900
  "cursor-pointer": true,
1904
1901
  "px-3": true,
1905
1902
  "py-1": true,
@@ -1937,7 +1934,7 @@ const classes = {
1937
1934
  "flex": true,
1938
1935
  "w-[0.75em]": true,
1939
1936
  "select-none": true,
1940
- "text-gray-700": true,
1937
+ "text-gray-600": true,
1941
1938
  "[&>svg]:w-full": true,
1942
1939
  "dark:text-gray-300": true
1943
1940
  },
@@ -1983,7 +1980,7 @@ const classes = {
1983
1980
  "pl-3.5": true,
1984
1981
  "pr-0": true,
1985
1982
  "text-sm": true,
1986
- "text-gray-700": true,
1983
+ "text-gray-600": true,
1987
1984
  "text-left": true,
1988
1985
  "group-data-[disabled]:!cursor-not-allowed": true,
1989
1986
  "group-data-[prefix-icon]:!pl-0": true,
@@ -2041,7 +2038,7 @@ const classes = {
2041
2038
  "[color-scheme:light]": true,
2042
2039
  "dark:[color-scheme:dark]": true,
2043
2040
  "selection:bg-primary-100": true,
2044
- "selection:text-gray-700": true,
2041
+ "selection:text-gray-600": true,
2045
2042
  "group-data-[has-overlay]:selection:!text-transparent": true,
2046
2043
  "group-data-[has-overlay]:!caret-gray-700": true,
2047
2044
  "dark:group-data-[has-overlay]:!caret-gray-300": true
@@ -2105,7 +2102,7 @@ const classes = {
2105
2102
  "[color-scheme:light]": true,
2106
2103
  "dark:[color-scheme:dark]": true,
2107
2104
  "selection:bg-primary-100": true,
2108
- "selection:text-gray-700": true,
2105
+ "selection:text-gray-600": true,
2109
2106
  "group-data-[has-overlay]:selection:!text-transparent": true,
2110
2107
  "outline-hidden": true
2111
2108
  },
@@ -2125,7 +2122,7 @@ const classes = {
2125
2122
  },
2126
2123
  "repeater__legend": {
2127
2124
  "block": true,
2128
- "text-gray-700": true,
2125
+ "text-gray-600": true,
2129
2126
  "text-xs": true,
2130
2127
  "font-bold": true,
2131
2128
  "dark:text-gray-300": true,
@@ -2313,7 +2310,7 @@ const classes = {
2313
2310
  },
2314
2311
  "slider__outer": {
2315
2312
  "group": true,
2316
- "max-w-[24em]": true,
2313
+ "max-w-full": true,
2317
2314
  "min-w-0": true,
2318
2315
  "grow": true,
2319
2316
  "mb-4": true,
@@ -2533,7 +2530,7 @@ const classes = {
2533
2530
  "[color-scheme:light]": true,
2534
2531
  "dark:[color-scheme:dark]": true,
2535
2532
  "selection:bg-primary-100": true,
2536
- "selection:text-gray-700": true,
2533
+ "selection:text-gray-600": true,
2537
2534
  "group-data-[has-overlay]:selection:!text-transparent": true,
2538
2535
  "!p-0": true,
2539
2536
  "!w-[0%]": true,
@@ -2577,7 +2574,7 @@ const classes = {
2577
2574
  "[color-scheme:light]": true,
2578
2575
  "dark:[color-scheme:dark]": true,
2579
2576
  "selection:bg-primary-100": true,
2580
- "selection:text-gray-700": true,
2577
+ "selection:text-gray-600": true,
2581
2578
  "group-data-[has-overlay]:selection:!text-transparent": true,
2582
2579
  "peer": true,
2583
2580
  "absolute": true,
@@ -2653,7 +2650,6 @@ const classes = {
2653
2650
  "mb-1.5": true
2654
2651
  },
2655
2652
  "togglebuttons__wrapper": {
2656
- "mb-2": true
2657
2653
  },
2658
2654
  "togglebuttons__options": {
2659
2655
  "group/options": true,
@@ -2668,15 +2664,19 @@ const classes = {
2668
2664
  "[color-scheme:light]": true,
2669
2665
  "dark:[color-scheme:dark]": true,
2670
2666
  "selection:bg-primary-100": true,
2671
- "selection:text-gray-700": true,
2667
+ "selection:text-gray-600": true,
2672
2668
  "group-data-[has-overlay]:selection:!text-transparent": true,
2673
- "!px-5": true,
2669
+ "!text-sm": true,
2670
+ "!px-3.5": true,
2671
+ "!py-2.5": true,
2674
2672
  "!mb-0": true,
2675
2673
  "relative": true,
2676
2674
  "focus:z-10": true,
2677
2675
  "group-data-[vertical=true]/options:w-full": true,
2678
2676
  "justify-center": true,
2679
- "bg-primary-50": true,
2677
+ "bg-white": true,
2678
+ "!border-gray-300": true,
2679
+ "!font-normal": true,
2680
2680
  "disabled:opacity-50": true,
2681
2681
  "disabled:cursor-not-allowed": true,
2682
2682
  "group-data-[disabled]:disabled:opacity-100": true,
@@ -2684,6 +2684,7 @@ const classes = {
2684
2684
  "dark:disabled:bg-transparent": true,
2685
2685
  "dark:disabled:text-primary-500": true,
2686
2686
  "dark:text-primary-500": true,
2687
+ "aria-[pressed=false]:text-gray-900": true,
2687
2688
  "aria-[pressed=true]:bg-primary-600": true,
2688
2689
  "aria-[pressed=true]:text-white": true,
2689
2690
  "dark:aria-[pressed=true]:bg-primary-600": true,
@@ -2790,7 +2791,7 @@ const classes = {
2790
2791
  "text-center": true,
2791
2792
  "rounded-xl": true,
2792
2793
  "bg-gray-200": true,
2793
- "text-gray-700": true,
2794
+ "text-gray-600": true,
2794
2795
  "dark:bg-gray-500": true,
2795
2796
  "dark:text-gray-300": true
2796
2797
  },
@@ -2806,7 +2807,7 @@ const classes = {
2806
2807
  "transferlist__transferlistListItem": {
2807
2808
  "py-2.5": true,
2808
2809
  "px-2.5": true,
2809
- "text-gray-700": true,
2810
+ "text-gray-600": true,
2810
2811
  "ring-1": true,
2811
2812
  "ring-gray-200": true,
2812
2813
  "aria-selected:bg-primary-100": true,
@@ -2911,12 +2912,12 @@ const classes = {
2911
2912
  "border-gray-200": true,
2912
2913
  "rounded-md": true,
2913
2914
  "items-center": true,
2914
- "text-gray-700": true,
2915
+ "text-gray-600": true,
2915
2916
  "selection:bg-primary-100": true,
2916
2917
  "dark:border-gray-800": true,
2917
2918
  "dark:text-gray-300": true,
2918
2919
  "dark:selection:bg-primary-100": true,
2919
- "dark:selection:text-gray-700": true,
2920
+ "dark:selection:text-gray-600": true,
2920
2921
  "dark:bg-gray-800": true
2921
2922
  },
2922
2923
  "transferlist__transferlistSearchInput": {
@@ -2956,7 +2957,7 @@ const classes = {
2956
2957
  "text-sm": true,
2957
2958
  "shrink-0": true,
2958
2959
  "box-content": true,
2959
- "text-gray-700": true,
2960
+ "text-gray-600": true,
2960
2961
  "disabled:bg-gray-200": true,
2961
2962
  "disabled:!text-gray-400": true,
2962
2963
  "bg-gray-50": true,
@@ -3030,7 +3031,7 @@ const classes = {
3030
3031
  },
3031
3032
  "barcode__barcodeIcon": {
3032
3033
  "w-[1.5em]": true,
3033
- "text-gray-700": true,
3034
+ "text-gray-600": true,
3034
3035
  "cursor-pointer": true,
3035
3036
  "dark:text-gray-300": true
3036
3037
  },
@@ -3069,7 +3070,7 @@ const classes = {
3069
3070
  "[&>svg]:m-auto": true
3070
3071
  },
3071
3072
  "barcode__overlay": {
3072
- "text-gray-700": true,
3073
+ "text-gray-600": true,
3073
3074
  "dark:text-gray-300": true,
3074
3075
  "absolute": true,
3075
3076
  "top-1/2": true,
@@ -3176,7 +3177,7 @@ const classes = {
3176
3177
  "group-data-[tab-style=tab]/wrapper:items-center": true,
3177
3178
  "group-data-[tab-style=tab]/wrapper:justify-center": true,
3178
3179
  "group-data-[tab-style=tab]/wrapper:cursor-pointer": true,
3179
- "group-data-[tab-style=tab]/wrapper:text-gray-700": true,
3180
+ "group-data-[tab-style=tab]/wrapper:text-gray-600": true,
3180
3181
  "group-data-[tab-style=tab]/wrapper:bg-gray-100": true,
3181
3182
  "group-data-[tab-style=tab]/wrapper:py-4": true,
3182
3183
  "group-data-[tab-style=tab]/wrapper:px-5": true,
@@ -3301,7 +3302,7 @@ const classes = {
3301
3302
  const globals = {
3302
3303
  "outer": {
3303
3304
  "group": true,
3304
- "max-w-[24em]": true,
3305
+ "max-w-full": true,
3305
3306
  "min-w-0": true,
3306
3307
  "grow": true,
3307
3308
  "mb-4": true,
@@ -3312,14 +3313,14 @@ const globals = {
3312
3313
  "label": {
3313
3314
  "block": true,
3314
3315
  "text-gray-700": true,
3315
- "text-xs": true,
3316
- "font-bold": true,
3317
- "mb-1.5": true,
3316
+ "text-sm": true,
3317
+ "font-medium": true,
3318
+ "mb-1": true,
3318
3319
  "dark:text-gray-300": true
3319
3320
  },
3320
3321
  "legend": {
3321
3322
  "block": true,
3322
- "text-gray-700": true,
3323
+ "text-gray-600": true,
3323
3324
  "text-xs": true,
3324
3325
  "font-bold": true,
3325
3326
  "dark:text-gray-300": true
@@ -3329,7 +3330,7 @@ const globals = {
3329
3330
  "[color-scheme:light]": true,
3330
3331
  "dark:[color-scheme:dark]": true,
3331
3332
  "selection:bg-primary-100": true,
3332
- "selection:text-gray-700": true,
3333
+ "selection:text-gray-600": true,
3333
3334
  "group-data-[has-overlay]:selection:!text-transparent": true
3334
3335
  },
3335
3336
  "prefixIcon": {
@@ -3382,6 +3383,9 @@ const globals = {
3382
3383
  "[line-height:1em]": true,
3383
3384
  "dark:text-gray-400": true
3384
3385
  },
3386
+ "messages": {
3387
+ "mt-2": true,
3388
+ },
3385
3389
  "message": {
3386
3390
  "text-red-600": true,
3387
3391
  "mb-2": true,
@@ -3390,7 +3394,7 @@ const globals = {
3390
3394
  "dark:text-red-400": true
3391
3395
  },
3392
3396
  "overlay": {
3393
- "text-gray-700": true,
3397
+ "text-gray-600": true,
3394
3398
  "dark:text-gray-300": true
3395
3399
  },
3396
3400
  "overlayPlaceholder": {
@@ -3398,15 +3402,15 @@ const globals = {
3398
3402
  "dark:text-gray-400/50": true
3399
3403
  },
3400
3404
  "overlayLiteral": {
3401
- "text-gray-700": true,
3405
+ "text-gray-600": true,
3402
3406
  "dark:text-gray-300": true
3403
3407
  },
3404
3408
  "overlayChar": {
3405
- "text-gray-700": true,
3409
+ "text-gray-600": true,
3406
3410
  "dark:text-gray-300": true
3407
3411
  },
3408
3412
  "overlayEnum": {
3409
- "text-gray-700": true,
3413
+ "text-gray-600": true,
3410
3414
  "dark:text-gray-300": true
3411
3415
  }
3412
3416
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wishbone-media/spark",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -9,7 +9,7 @@
9
9
  --ht-header-highlighted-background-color: transparent;
10
10
  }
11
11
 
12
- .spark-table .handsontable td.current {
12
+ .spark-table .handsontable td.current:not(.spark-table-cell-actions) {
13
13
  @apply relative;
14
14
 
15
15
  &::before {
@@ -93,23 +93,23 @@ const computedButtonClass = computed(() => {
93
93
 
94
94
  switch (props.size) {
95
95
  case 'xs':
96
- classes += ' px-2 py-1 text-xs'
96
+ classes += ' px-4 py-1 text-xs'
97
97
  roundingSize = 'sm'
98
98
  break
99
99
  case 'sm':
100
- classes += ' px-2 py-1 text-sm'
100
+ classes += ' px-4 py-1 text-sm'
101
101
  roundingSize = 'sm'
102
102
  break
103
103
  case 'md':
104
- classes += ' px-2.5 py-1.5 text-sm'
104
+ classes += ' px-5 py-1.5 text-sm'
105
105
  roundingSize = 'md'
106
106
  break
107
107
  case 'lg':
108
- classes += ' px-3 py-2 text-sm'
108
+ classes += ' px-6 py-2 text-sm'
109
109
  roundingSize = 'md'
110
110
  break
111
111
  case 'xl':
112
- classes += ' px-3.5 py-2.5 min-h-[42px] text-sm'
112
+ classes += ' px-7 py-2.5 min-h-[42px] text-sm'
113
113
  roundingSize = 'md'
114
114
  break
115
115
  }
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="divide-y divide-gray-300 rounded-lg border border-gray-300 text-gray-700 bg-gray-100">
3
- <div v-if="$slots.header" class="p-5">
3
+ <div v-if="$slots.header" class="px-[30px] py-5">
4
4
  <slot name="header" />
5
5
  </div>
6
6
 
@@ -6,6 +6,7 @@
6
6
  v-for="option in config.options"
7
7
  :key="option.value"
8
8
  size="xl"
9
+ button-class="px-3.5"
9
10
  :variant="isSelected(option.value) ? 'primary' : 'secondary'"
10
11
  @click="handleSelect(option.value)"
11
12
  >
@@ -3,6 +3,7 @@
3
3
  <SparkButton
4
4
  @click="handleReset"
5
5
  variant="secondary"
6
+ button-class="px-3.5"
6
7
  size="xl"
7
8
  >
8
9
  <font-awesome-icon v-if="config.icon" :icon="['far', config.icon]" :class="{'mr-1.5': config.label}"/>