mainstack-design-system 1.16.4 → 1.16.5
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.
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
mds:active:transition-transform mds:ease-out-cubic mds:duration-150 mds:active:scale-[0.85] mds:focus:transition-background mds:focus:ease-out
|
|
3
3
|
mds:focus-visible:ring-2 mds:focus-visible:ring-border-interactive-info-light-focused mds:disabled:cursor-not-allowed`,{variants:{status:{default:"",warning:"",success:"",error:"",info:""},variant:{special:"",primary:"",secondary:"",outline:"",ghost:""},size:{tiny:"mds:body-tiny-medium mds:h-30 mds:p-6",xs:"mds:h-36 mds:px-14 mds:py-8",sm:"mds:h-40 mds:p-16",md:"mds:h-48 mds:px-16 mds:py-12",lg:"mds:h-56 mds:p-16"},rounded:{sm:"mds:rounded-full",md:"mds:rounded-10"}},compoundVariants:[{status:"default",variant:"special",class:`mds:bg-content-special mds:text-on-primary mds:shadow-special-button-default
|
|
4
4
|
mds:border-2 mds:border-neutral-350
|
|
5
|
-
mds:hover:bg-content-special-hover mds:hover:shadow-special-button-hover
|
|
5
|
+
mds:hover:bg-content-special-hover mds:hover:shadow-special-button-hover mds:outline-2 mds:outline-neutral-500
|
|
6
6
|
|
|
7
|
-
mds:active:bg-content-special mds:active:
|
|
7
|
+
mds:active:bg-content-special mds:active:shadow-special-button-pressed mds:active:ring-2 mds:ring-offset-2 mds:ring-border-surface-spread-neutral
|
|
8
8
|
mds:disabled:bg-none mds:disabled:border-none mds:disabled:shadow-none mds:disabled:bg-interactive-primary-disabled mds:disabled:text-on-primary-disabled`},{status:"default",variant:"primary",class:`mds:bg-primary mds:text-on-primary
|
|
9
9
|
mds:hover:bg-interactive-primary-hover
|
|
10
10
|
|
|
@@ -38,9 +38,9 @@ const r = e(
|
|
|
38
38
|
variant: "special",
|
|
39
39
|
class: `mds:bg-content-special mds:text-on-primary mds:shadow-special-button-default
|
|
40
40
|
mds:border-2 mds:border-neutral-350
|
|
41
|
-
mds:hover:bg-content-special-hover mds:hover:shadow-special-button-hover
|
|
41
|
+
mds:hover:bg-content-special-hover mds:hover:shadow-special-button-hover mds:outline-2 mds:outline-neutral-500
|
|
42
42
|
|
|
43
|
-
mds:active:bg-content-special mds:active:
|
|
43
|
+
mds:active:bg-content-special mds:active:shadow-special-button-pressed mds:active:ring-2 mds:ring-offset-2 mds:ring-border-surface-spread-neutral
|
|
44
44
|
mds:disabled:bg-none mds:disabled:border-none mds:disabled:shadow-none mds:disabled:bg-interactive-primary-disabled mds:disabled:text-on-primary-disabled`
|
|
45
45
|
},
|
|
46
46
|
{
|