@intechstudio/grid-uikit 1.20260922.800 → 1.20260922.819

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.
@@ -63,12 +63,15 @@
63
63
  {#each items as item}
64
64
  {@const disabled = item.isDisabled ? item.isDisabled() : false}
65
65
  <button
66
- style:opacity={disabled ? 0.25 : 0.75}
66
+ class:disabled={disabled}
67
67
  {disabled}
68
68
  on:click={() => handleItemClicked(item)}
69
69
  >
70
70
  {#if item.iconPath}
71
- <SvgIcon fill="#FFF" iconPath={item.iconPath} />
71
+ <SvgIcon
72
+ fill={disabled ? "var(--foreground-disabled)" : "var(--foreground)"}
73
+ iconPath={item.iconPath}
74
+ />
72
75
  {/if}
73
76
  <span>{item.text[0]}</span>
74
77
  <!-- Spacer for alignment -->
@@ -116,9 +119,15 @@
116
119
  letter-spacing: inherit; /* 1 */
117
120
  margin: 0; /* 2 */
118
121
  background-color: transparent; /* 2 */
122
+ color: inherit;
119
123
  cursor: pointer;
120
124
  }
121
- button:hover {
125
+ button:hover:not(.disabled) {
122
126
  background-color: var(--background-muted);
123
127
  }
128
+
129
+ button.disabled {
130
+ color: var(--foreground-disabled);
131
+ cursor: default;
132
+ }
124
133
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intechstudio/grid-uikit",
3
- "version": "1.20260922.800",
3
+ "version": "1.20260922.819",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/intechstudio/grid-uikit.git"