beyond-system 0.12.2 → 0.12.4

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.
@@ -6,8 +6,8 @@ var clsx_1 = tslib_1.__importDefault(require("clsx"));
6
6
  var MenuItem = (0, react_1.forwardRef)(function (_a) {
7
7
  var _b = _a.selected, selected = _b === void 0 ? false : _b, props = tslib_1.__rest(_a, ["selected"]);
8
8
  return (react_1.default.createElement("button", tslib_1.__assign({}, props, { className: (0, clsx_1.default)("outline-none break-words w-56 py-4 px-2 text-left font-semibold rounded active:bg-orange-100 group cursor-pointer transition", {
9
- "hover:bg-neutral-100 focus:bg-neutral-100": !selected,
10
- "bg-orange-100 hover:bg-orange-200 focus:bg-orange-200": selected,
9
+ "hover:bg-neutral-100": !selected,
10
+ "bg-orange-100 hover:bg-orange-200": selected,
11
11
  }, props.className) }),
12
12
  react_1.default.createElement("div", { className: "grid grid-cols-6 items-center" },
13
13
  props.icon && (react_1.default.createElement("div", { className: (0, clsx_1.default)("pl-1 [&>*]:w-5 [&>*]:h-5 group-active:[&>*]:fill-orange-500", {
@@ -1 +1 @@
1
- {"version":3,"file":"MenuItem.js","sourceRoot":"","sources":["../../../../src/components/react/MenuItem/MenuItem.tsx"],"names":[],"mappings":";;;AAAA,qDAAyC;AACzC,sDAAuB;AAQvB,IAAM,QAAQ,GAAG,IAAA,kBAAU,EAAC,UAAC,EAA6C;IAA3C,IAAA,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAAK,KAAK,sBAA5B,YAA8B,CAAF;IACvD,OAAO,CACL,6DACM,KAAK,IACT,SAAS,EAAE,IAAA,cAAI,EACb,8HAA8H,EAC9H;YACE,2CAA2C,EAAE,CAAC,QAAQ;YACtD,uDAAuD,EAAE,QAAQ;SAClE,EACD,KAAK,CAAC,SAAS,CAChB;QAED,uCAAK,SAAS,EAAC,+BAA+B;YAC3C,KAAK,CAAC,IAAI,IAAI,CACb,uCAAK,SAAS,EAAE,IAAA,cAAI,EAClB,6DAA6D,EAC7D;oBACE,wBAAwB,EAAE,CAAC,QAAQ;oBACnC,uBAAuB,EAAE,QAAQ;iBAClC,CACF,IACE,KAAK,CAAC,IAAI,CACP,CACP;YACA,KAAK,CAAC,IAAI,IAAI,CACb,wCAAM,SAAS,EAAE,IAAA,cAAI,EACnB,iDAAiD,EACjD;oBACE,kBAAkB,EAAE,CAAC,QAAQ;oBAC7B,iBAAiB,EAAE,QAAQ;iBAC5B,CACF,IAGE,KAAK,CAAC,IAAI,CACN,CACR,CACG,CACC,CACV,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAA;AAEjC,kBAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"MenuItem.js","sourceRoot":"","sources":["../../../../src/components/react/MenuItem/MenuItem.tsx"],"names":[],"mappings":";;;AAAA,qDAAyC;AACzC,sDAAuB;AAQvB,IAAM,QAAQ,GAAG,IAAA,kBAAU,EAAC,UAAC,EAA6C;IAA3C,IAAA,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAAK,KAAK,sBAA5B,YAA8B,CAAF;IACvD,OAAO,CACL,6DACM,KAAK,IACT,SAAS,EAAE,IAAA,cAAI,EACb,8HAA8H,EAC9H;YACE,sBAAsB,EAAE,CAAC,QAAQ;YACjC,mCAAmC,EAAE,QAAQ;SAC9C,EACD,KAAK,CAAC,SAAS,CAChB;QAED,uCAAK,SAAS,EAAC,+BAA+B;YAC3C,KAAK,CAAC,IAAI,IAAI,CACb,uCAAK,SAAS,EAAE,IAAA,cAAI,EAClB,6DAA6D,EAC7D;oBACE,wBAAwB,EAAE,CAAC,QAAQ;oBACnC,uBAAuB,EAAE,QAAQ;iBAClC,CACF,IACE,KAAK,CAAC,IAAI,CACP,CACP;YACA,KAAK,CAAC,IAAI,IAAI,CACb,wCAAM,SAAS,EAAE,IAAA,cAAI,EACnB,iDAAiD,EACjD;oBACE,kBAAkB,EAAE,CAAC,QAAQ;oBAC7B,iBAAiB,EAAE,QAAQ;iBAC5B,CACF,IAGE,KAAK,CAAC,IAAI,CACN,CACR,CACG,CACC,CACV,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAA;AAEjC,kBAAe,QAAQ,CAAA"}
@@ -8,6 +8,14 @@ export declare const DEFAULT_SWITCH_VARIANTS: {
8
8
  trackHoverColor: string;
9
9
  trackActiveColor: string;
10
10
  };
11
+ 'neutral-200': {
12
+ thumbColor: string;
13
+ thumbHoverColor: string;
14
+ thumbActiveColor: string;
15
+ trackColor: string;
16
+ trackHoverColor: string;
17
+ trackActiveColor: string;
18
+ };
11
19
  };
12
20
  size: {
13
21
  MD: {
@@ -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;;;;;;;;;;;;;;;;;;;;CAoBnC,CAAA"}
1
+ {"version":3,"file":"Switch.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/react/Switch/Switch.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BnC,CAAA"}
@@ -12,6 +12,14 @@ exports.DEFAULT_SWITCH_VARIANTS = {
12
12
  trackHoverColor: colors_1.COLORS.GROWTH_MID,
13
13
  trackActiveColor: colors_1.COLORS.GROWTH_MID,
14
14
  },
15
+ 'neutral-200': {
16
+ thumbColor: colors_1.COLORS.NEUTRAL_HIGH,
17
+ thumbHoverColor: colors_1.COLORS.NEUTRAL_LIGHT,
18
+ thumbActiveColor: colors_1.COLORS.NEUTRAL_LIGHT,
19
+ trackColor: colors_1.COLORS.NEUTRAL_LIGHT,
20
+ trackHoverColor: colors_1.COLORS.NEUTRAL_LIGHT,
21
+ trackActiveColor: colors_1.COLORS.NEUTRAL_LIGHT,
22
+ },
15
23
  },
16
24
  size: {
17
25
  MD: {
@@ -19,8 +27,8 @@ exports.DEFAULT_SWITCH_VARIANTS = {
19
27
  },
20
28
  SM: {
21
29
  width: '24px',
22
- height: '12px'
23
- }
30
+ height: '12px',
31
+ },
24
32
  },
25
33
  };
26
34
  //# sourceMappingURL=Switch.variants.js.map
@@ -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;QACD,EAAE,EAAE;YACF,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,MAAM;SACf;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;QACD,aAAa,EAAE;YACb,UAAU,EAAE,eAAM,CAAC,YAAY;YAC/B,eAAe,EAAE,eAAM,CAAC,aAAa;YACrC,gBAAgB,EAAE,eAAM,CAAC,aAAa;YACtC,UAAU,EAAE,eAAM,CAAC,aAAa;YAChC,eAAe,EAAE,eAAM,CAAC,aAAa;YACrC,gBAAgB,EAAE,eAAM,CAAC,aAAa;SACvC;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"}
@@ -1588,11 +1588,6 @@ video {
1588
1588
  background-color: rgb(217 217 224 / var(--tw-bg-opacity));
1589
1589
  }
1590
1590
 
1591
- .focus\:bg-orange-200:focus {
1592
- --tw-bg-opacity: 1;
1593
- background-color: rgb(254 215 170 / var(--tw-bg-opacity));
1594
- }
1595
-
1596
1591
  .focus\:shadow-gm-growth-lighter:focus {
1597
1592
  --tw-shadow: 0px 3px #FCE3CF;
1598
1593
  --tw-shadow-colored: 0px 3px var(--tw-shadow-color);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "beyond-system",
3
3
  "author": "Growth Machine",
4
- "version": "0.12.2",
4
+ "version": "0.12.4",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",