@wishbone-media/spark 0.49.1 → 0.50.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-18795b8f]{@apply relative flex items-center;}.spark-table-filter-select[data-v-79c78a5b],.spark-table-filter-buttons[data-v-0eb19c63]{@apply flex items-center gap-2;}.spark-table-filter-buttons-label[data-v-0eb19c63]{@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-6df5499a]{@apply flex items-center;}
1
+ .spark-table-pagination-per-page[data-v-9ef8544b]{@apply flex items-center;}.spark-table-search[data-v-18795b8f]{@apply relative flex items-center;}.spark-table-filter-select[data-v-79c78a5b],.spark-table-filter-buttons[data-v-23f7a7cc]{@apply flex items-center gap-2;}.spark-table-filter-buttons-label[data-v-23f7a7cc]{@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-6df5499a]{@apply flex items-center;}
package/dist/index.js CHANGED
@@ -2682,6 +2682,9 @@ const tt = new yc(), Yp = {
2682
2682
  case "info":
2683
2683
  l += " bg-cyan-600 hover:bg-cyan-500 text-white";
2684
2684
  break;
2685
+ case "gray":
2686
+ l += " bg-gray-500 hover:bg-gray-400 text-white";
2687
+ break;
2685
2688
  default:
2686
2689
  l += ` bg-${t.variant}-600 hover:bg-${t.variant}-500 text-white`;
2687
2690
  }
@@ -7046,7 +7049,7 @@ const It = new ku(), Eu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7046
7049
  return m.push(y), p ? m.push("border-primary-600 text-primary-600") : b ? m.push("border-transparent text-gray-400") : m.push("border-transparent text-gray-600 hover:text-gray-900 hover:border-gray-300"), m;
7047
7050
  }
7048
7051
  function f(p, b) {
7049
- const m = ["font-medium text-sm py-1"];
7052
+ const m = ["font-medium text-[15px]/[20px] py-2"];
7050
7053
  return p ? m.push("text-primary-600") : b ? m.push("text-gray-400") : m.push("text-gray-600 hover:text-gray-900"), m;
7051
7054
  }
7052
7055
  function h(p) {
@@ -7080,7 +7083,7 @@ const It = new ku(), Eu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7080
7083
  (E(!0), P(ze, null, rt(r.value, (m) => (E(), Oe(gt, {
7081
7084
  key: m.id,
7082
7085
  size: "xl",
7083
- variant: s(m) ? "primary" : "secondary",
7086
+ variant: s(m) ? "gray" : "secondary",
7084
7087
  disabled: c(m),
7085
7088
  onClick: (y) => l(m)
7086
7089
  }, {
@@ -7114,7 +7117,7 @@ const It = new ku(), Eu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7114
7117
  m.icon && !(s(m) && n.layout === "vertical") ? (E(), Oe(oe(Gn), {
7115
7118
  key: 1,
7116
7119
  icon: oe(Fe)[m.icon],
7117
- class: Le(["mr-2", d.value])
7120
+ class: Le(["text-gray-400 mr-2", d.value])
7118
7121
  }, null, 8, ["icon", "class"])) : ye("", !0),
7119
7122
  T("span", null, we(m.label), 1),
7120
7123
  m.badge != null ? (E(), P("span", {
@@ -7908,7 +7911,7 @@ const Wu = (e) => {
7908
7911
  key: u.value,
7909
7912
  size: "xl",
7910
7913
  "button-class": "px-3.5",
7911
- variant: a(u.value) ? "primary" : "secondary",
7914
+ variant: a(u.value) ? "gray" : "secondary",
7912
7915
  onClick: (d) => s(u.value)
7913
7916
  }, {
7914
7917
  default: Se(() => [
@@ -7921,7 +7924,7 @@ const Wu = (e) => {
7921
7924
  })
7922
7925
  ]));
7923
7926
  }
7924
- }, _d = /* @__PURE__ */ ln(Td, [["__scopeId", "data-v-0eb19c63"]]), $d = { class: "spark-table-date-picker" }, Ld = {
7927
+ }, _d = /* @__PURE__ */ ln(Td, [["__scopeId", "data-v-23f7a7cc"]]), $d = { class: "spark-table-date-picker" }, Ld = {
7925
7928
  __name: "SparkTableDatePicker",
7926
7929
  props: {
7927
7930
  /** SparkTable instance object */
package/formkit.theme.mjs CHANGED
@@ -2706,9 +2706,9 @@ const classes = {
2706
2706
  'dark:disabled:text-primary-500': true,
2707
2707
  'dark:text-primary-500': true,
2708
2708
  'aria-[pressed=false]:text-gray-900': true,
2709
- 'aria-[pressed=true]:bg-primary-600': true,
2709
+ 'aria-[pressed=true]:bg-gray-500': true,
2710
2710
  'aria-[pressed=true]:text-white': true,
2711
- 'dark:aria-[pressed=true]:bg-primary-600': true,
2711
+ 'dark:aria-[pressed=true]:bg-gray-500': true,
2712
2712
  'dark:aria-[pressed=true]:text-white': true,
2713
2713
  'group-[&]/option:!rounded-none': true,
2714
2714
  'group-data-[vertical=false]/options:group-first/option:!rounded-md': true,
@@ -2726,19 +2726,19 @@ const classes = {
2726
2726
  'group-data-[vertical=false]/options:group-[&]/option:!border-r-0': true,
2727
2727
  'group-data-[vertical=false]/options:group-last/option:!border-r': true,
2728
2728
  'group-data-[vertical=false]/options:group-[&]/option:aria-[pressed=true]:border-x-primary-500': true,
2729
- 'group-data-[vertical=false]/options:group-first/option:aria-[pressed=true]:border-l-primary-600': true,
2730
- 'group-data-[vertical=false]/options:group-last/option:aria-[pressed=true]:border-r-primary-600': true,
2731
- 'dark:group-data-[vertical=false]/options:group-[&]/option:aria-[pressed=true]:border-x-primary-600': true,
2732
- 'dark:group-data-[vertical=false]/options:group-first/option:aria-[pressed=true]:border-l-primary-600': true,
2733
- 'dark:group-data-[vertical=false]/options:group-last/option:aria-[pressed=true]:border-r-primary-600': true,
2729
+ 'group-data-[vertical=false]/options:group-first/option:aria-[pressed=true]:border-l-gray-500': true,
2730
+ 'group-data-[vertical=false]/options:group-last/option:aria-[pressed=true]:border-r-gray-500': true,
2731
+ 'dark:group-data-[vertical=false]/options:group-[&]/option:aria-[pressed=true]:border-x-gray-500': true,
2732
+ 'dark:group-data-[vertical=false]/options:group-first/option:aria-[pressed=true]:border-l-gray-500': true,
2733
+ 'dark:group-data-[vertical=false]/options:group-last/option:aria-[pressed=true]:border-r-gray-500': true,
2734
2734
  'group-data-[vertical=true]/options:group-[&]/option:!border-b-0': true,
2735
2735
  'group-data-[vertical=true]/options:group-last/option:!border-b': true,
2736
2736
  'group-data-[vertical=true]/options:group-[&]/option:aria-[pressed=true]:border-y-primary-500': true,
2737
- 'group-data-[vertical=true]/options:group-first/option:aria-[pressed=true]:border-t-primary-600': true,
2738
- 'group-data-[vertical=true]/options:group-last/option:aria-[pressed=true]:border-b-primary-600': true,
2739
- 'dark:group-data-[vertical=true]/options:group-[&]/option:aria-[pressed=true]:border-y-primary-600': true,
2740
- 'dark:group-data-[vertical=true]/options:group-first/option:aria-[pressed=true]:border-t-primary-600': true,
2741
- 'dark:group-data-[vertical=true]/options:group-last/option:aria-[pressed=true]:border-b-primary-600': true,
2737
+ 'group-data-[vertical=true]/options:group-first/option:aria-[pressed=true]:border-t-gray-500': true,
2738
+ 'group-data-[vertical=true]/options:group-last/option:aria-[pressed=true]:border-b-gray-500': true,
2739
+ 'dark:group-data-[vertical=true]/options:group-[&]/option:aria-[pressed=true]:border-y-gray-500': true,
2740
+ 'dark:group-data-[vertical=true]/options:group-first/option:aria-[pressed=true]:border-t-gray-500': true,
2741
+ 'dark:group-data-[vertical=true]/options:group-last/option:aria-[pressed=true]:border-b-gray-500': true,
2742
2742
  },
2743
2743
  transferlist__outer: {
2744
2744
  group: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wishbone-media/spark",
3
- "version": "0.49.1",
3
+ "version": "0.50.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -152,6 +152,9 @@ const computedButtonClass = computed(() => {
152
152
  case 'info':
153
153
  classes += ' bg-cyan-600 hover:bg-cyan-500 text-white'
154
154
  break
155
+ case 'gray':
156
+ classes += ' bg-gray-500 hover:bg-gray-400 text-white'
157
+ break
155
158
 
156
159
  default:
157
160
  classes += ` bg-${props.variant}-600 hover:bg-${props.variant}-500 text-white`
@@ -16,7 +16,7 @@
16
16
  v-for="item in computedItems"
17
17
  :key="item.id"
18
18
  size="xl"
19
- :variant="isItemActive(item) ? 'primary' : 'secondary'"
19
+ :variant="isItemActive(item) ? 'gray' : 'secondary'"
20
20
  :disabled="isItemDisabled(item)"
21
21
  @click="handleNavigate(item)"
22
22
  >
@@ -47,7 +47,7 @@
47
47
  <FontAwesomeIcon
48
48
  v-if="item.icon && !(isItemActive(item) && props.layout === 'vertical')"
49
49
  :icon="Icons[item.icon]"
50
- class="mr-2"
50
+ class="text-gray-400 mr-2"
51
51
  :class="iconClasses"
52
52
  />
53
53
  <span>{{ item.label }}</span>
@@ -227,7 +227,7 @@ function getTabsClasses(isActive, isDisabled) {
227
227
 
228
228
  // Vertical layout (simplified with checkmark)
229
229
  function getVerticalClasses(isActive, isDisabled) {
230
- const classes = ['font-medium text-sm py-1']
230
+ const classes = ['font-medium text-[15px]/[20px] py-2']
231
231
 
232
232
  if (isActive) {
233
233
  classes.push('text-primary-600')
@@ -7,7 +7,7 @@
7
7
  :key="option.value"
8
8
  size="xl"
9
9
  button-class="px-3.5"
10
- :variant="isSelected(option.value) ? 'primary' : 'secondary'"
10
+ :variant="isSelected(option.value) ? 'gray' : 'secondary'"
11
11
  @click="handleSelect(option.value)"
12
12
  >
13
13
  {{ option.label }}