zabi-components 5.0.6 → 5.0.7
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/atoms/Card.svelte +2 -2
- package/dist/zabi-components.css +1 -23
- package/package.json +1 -1
package/dist/atoms/Card.svelte
CHANGED
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
|
|
27
27
|
const cardClasses = $derived(() => {
|
|
28
28
|
const baseClasses =
|
|
29
|
-
"
|
|
29
|
+
"rounded-lg transition-all duration-200 min-w-64 bg-surface-level-0";
|
|
30
30
|
const interactiveClasses = onclick
|
|
31
|
-
? "cursor-pointer hover:bg-surface-hover hover:border-focus"
|
|
31
|
+
? "cursor-pointer hover:shadow-adaptive-md hover:bg-surface-hover hover:border-focus"
|
|
32
32
|
: "";
|
|
33
33
|
const widthClasses = fullWidth ? "w-full" : "";
|
|
34
34
|
|
package/dist/zabi-components.css
CHANGED
|
@@ -318,38 +318,16 @@ body {
|
|
|
318
318
|
background-color: var(--color-surface-elevated);
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
|
|
322
|
-
background-color: var(--color-surface-level-0-hover);
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.bg-surface-level-1:hover {
|
|
326
|
-
background-color: var(--color-surface-level-1-hover);
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.bg-surface-level-2:hover {
|
|
330
|
-
background-color: var(--color-surface-level-2-hover);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.bg-surface-elevated:hover {
|
|
334
|
-
background-color: var(--color-surface-elevated-hover);
|
|
335
|
-
}
|
|
321
|
+
/* Global hover effects removed - components should define their own hover states */
|
|
336
322
|
|
|
337
323
|
.bg-surface-hover {
|
|
338
324
|
background-color: var(--color-surface-hover);
|
|
339
325
|
}
|
|
340
326
|
|
|
341
|
-
.bg-surface-hover:hover {
|
|
342
|
-
background-color: var(--color-surface-hover);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
327
|
.bg-surface-active {
|
|
346
328
|
background-color: var(--color-surface-active);
|
|
347
329
|
}
|
|
348
330
|
|
|
349
|
-
.bg-surface-active:active {
|
|
350
|
-
background-color: var(--color-surface-active);
|
|
351
|
-
}
|
|
352
|
-
|
|
353
331
|
.bg-page {
|
|
354
332
|
background-color: var(--color-page);
|
|
355
333
|
}
|
package/package.json
CHANGED