beyond-system 0.10.5 → 0.10.6
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/components/react/List/ListItem.js +1 -1
- package/dist/components/react/Switch/Switch.variants.d.ts +4 -0
- package/dist/components/react/Switch/Switch.variants.d.ts.map +1 -1
- package/dist/components/react/Switch/Switch.variants.js +4 -0
- package/dist/components/react/Switch/Switch.variants.js.map +1 -1
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ var ListItem = (0, react_1.forwardRef)(function (_a, ref) {
|
|
|
20
20
|
}
|
|
21
21
|
}, []);
|
|
22
22
|
return (react_1.default.createElement(Component, tslib_1.__assign({}, props, { ref: itemRef, className: (0, clsx_1.default)('outline-none break-words w-full py-1 px-2 text-left active:bg-growth-mid group cursor-pointer transition text-sm [&>*]:text-sm', {
|
|
23
|
-
'hover:bg-neutral-200 focus:bg-neutral-200 text-neutral-
|
|
23
|
+
'hover:bg-neutral-200 focus:bg-neutral-200 text-neutral-400 [&>*]:active:text-neutral-50 active:text-neutral-50': !selected && !props.disabled,
|
|
24
24
|
'bg-growth-mid text-neutral-50 hover:bg-growth-light focus:bg-growth-light': selected && !props.disabled,
|
|
25
25
|
}, {
|
|
26
26
|
'text-neutral-400 pointer-events-none': props.disabled,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/react/Switch/Switch.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"Switch.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/react/Switch/Switch.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;CAoBnC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.variants.js","sourceRoot":"","sources":["../../../../src/components/react/Switch/Switch.variants.ts"],"names":[],"mappings":";;;AAAA,mCAAiC;AAEpB,QAAA,uBAAuB,GAAG;IACrC,KAAK,EAAE;QACL,OAAO,EAAE;YACP,UAAU,EAAE,eAAM,CAAC,YAAY;YAC/B,eAAe,EAAE,eAAM,CAAC,UAAU;YAClC,gBAAgB,EAAE,eAAM,CAAC,UAAU;YACnC,UAAU,EAAE,eAAM,CAAC,UAAU;YAC7B,eAAe,EAAE,eAAM,CAAC,UAAU;YAClC,gBAAgB,EAAE,eAAM,CAAC,UAAU;SACpC;KACF;IACD,IAAI,EAAE;QACJ,EAAE,EAAE;YACF,KAAK,EAAE,MAAM;SACd;KACF;CACF,CAAA"}
|
|
1
|
+
{"version":3,"file":"Switch.variants.js","sourceRoot":"","sources":["../../../../src/components/react/Switch/Switch.variants.ts"],"names":[],"mappings":";;;AAAA,mCAAiC;AAEpB,QAAA,uBAAuB,GAAG;IACrC,KAAK,EAAE;QACL,OAAO,EAAE;YACP,UAAU,EAAE,eAAM,CAAC,YAAY;YAC/B,eAAe,EAAE,eAAM,CAAC,UAAU;YAClC,gBAAgB,EAAE,eAAM,CAAC,UAAU;YACnC,UAAU,EAAE,eAAM,CAAC,UAAU;YAC7B,eAAe,EAAE,eAAM,CAAC,UAAU;YAClC,gBAAgB,EAAE,eAAM,CAAC,UAAU;SACpC;KACF;IACD,IAAI,EAAE;QACJ,EAAE,EAAE;YACF,KAAK,EAAE,MAAM;SACd;QACD,EAAE,EAAE;YACF,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,MAAM;SACf;KACF;CACF,CAAA"}
|