@insymetri/styleguide 0.1.41 → 0.1.42
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.
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
const isDisabled = $derived(disabled || loading)
|
|
40
40
|
|
|
41
41
|
const baseClasses =
|
|
42
|
-
'inline-flex items-center justify-center
|
|
42
|
+
'inline-flex items-center justify-center whitespace-nowrap cursor-default transition-colors duration-base ease-in-out no-underline outline-none focus-visible:border-accent focus-visible:ring-3 focus-visible:ring-primary disabled:cursor-not-allowed'
|
|
43
43
|
|
|
44
44
|
const variantClasses = {
|
|
45
45
|
primary:
|
|
@@ -56,15 +56,15 @@
|
|
|
56
56
|
} as const
|
|
57
57
|
|
|
58
58
|
const densityClasses = {
|
|
59
|
-
compact: 'h-28 py-4 px-8 text-tiny rounded-control',
|
|
60
|
-
default: 'h-32 py-5 px-12 text-small rounded-control',
|
|
61
|
-
comfortable: 'h-40 py-8 px-12 text-small rounded-control',
|
|
62
|
-
mobile: 'h-48 py-10 px-16 text-default rounded-control',
|
|
59
|
+
compact: 'h-28 py-4 px-8 gap-4 text-tiny rounded-control',
|
|
60
|
+
default: 'h-32 py-5 px-12 gap-6 text-small rounded-control',
|
|
61
|
+
comfortable: 'h-40 py-8 px-12 gap-6 text-small rounded-control',
|
|
62
|
+
mobile: 'h-48 py-10 px-16 gap-8 text-default rounded-control',
|
|
63
63
|
} as const
|
|
64
64
|
|
|
65
65
|
const fixedSizeClasses = {
|
|
66
|
-
sm: 'py-4 px-8 text-tiny h-24 rounded-control',
|
|
67
|
-
lg: 'py-10 px-16 text-large h-40 rounded-control',
|
|
66
|
+
sm: 'py-4 px-8 gap-4 text-tiny h-24 rounded-control',
|
|
67
|
+
lg: 'py-10 px-16 gap-8 text-large h-40 rounded-control',
|
|
68
68
|
} as const
|
|
69
69
|
|
|
70
70
|
const iconSizeClasses = {
|