@janbox/storefront-ui 2.0.2 → 2.0.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"tab-indicator.d.ts","sourceRoot":"","sources":["../../../../src/lib/tabs/tab-indicator/tab-indicator.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,YAAY,wDAqFxB,CAAC"}
1
+ {"version":3,"file":"tab-indicator.d.ts","sourceRoot":"","sources":["../../../../src/lib/tabs/tab-indicator/tab-indicator.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,YAAY,wDA8FxB,CAAC"}
@@ -53,7 +53,7 @@ const TabIndicator = () => {
53
53
  resizeObserver.disconnect();
54
54
  };
55
55
  }, [activeTabElement]);
56
- const css = [
56
+ [
57
57
  {
58
58
  position: "absolute",
59
59
  bottom: 0,
@@ -75,7 +75,16 @@ const TabIndicator = () => {
75
75
  transform: `translateX(${indicatorRect.left}px)`
76
76
  },
77
77
  ref: indicatorEl,
78
- css
78
+ css: [
79
+ {
80
+ position: "absolute",
81
+ bottom: 0,
82
+ left: 0,
83
+ backgroundColor: "currentcolor",
84
+ borderRadius: 8
85
+ },
86
+ createSxInterpolation(tabIndicatorProps == null ? void 0 : tabIndicatorProps.sx)
87
+ ]
79
88
  }
80
89
  );
81
90
  };
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/lib/tabs/tabs/helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AA0BpC,eAAO,MAAM,YAAY,aAAc,SAAS,cAE/C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACjC,iBAAiB,CAAC,EAAE,SAAS,CAAC,mBAAmB,CAAC,CAAC;IACnD,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAC3C,sBAAsB,EAAE,SAAS,CAAC,wBAAwB,CAAC,CAAC;CAC7D,CAAC;AAEF,eAAO,MAAM,WAAW,2CAAwC,CAAC;AAEjE,eAAO,MAAM,cAAc,wBAE1B,CAAC"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/lib/tabs/tabs/helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAwBpC,eAAO,MAAM,YAAY,aAAc,SAAS,cAE/C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACjC,iBAAiB,CAAC,EAAE,SAAS,CAAC,mBAAmB,CAAC,CAAC;IACnD,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAC3C,sBAAsB,EAAE,SAAS,CAAC,wBAAwB,CAAC,CAAC;CAC7D,CAAC;AAEF,eAAO,MAAM,WAAW,2CAAwC,CAAC;AAEjE,eAAO,MAAM,cAAc,wBAE1B,CAAC"}
@@ -15,10 +15,8 @@ const defaultProps = {
15
15
  },
16
16
  tabIndicatorProps: {
17
17
  sx: {
18
- xs: {
19
- height: 2,
20
- backgroundColor: getColorVar("primary.600")
21
- }
18
+ height: 2,
19
+ backgroundColor: getColorVar("primary.600")
22
20
  }
23
21
  }
24
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/lib/unordered-list/unordered-list/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAY7C,eAAO,MAAM,qBAAqB,aAAc,kBAAkB,uBAEjE,CAAC"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/lib/unordered-list/unordered-list/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAU7C,eAAO,MAAM,qBAAqB,aAAc,kBAAkB,uBAEjE,CAAC"}
@@ -1,9 +1,7 @@
1
1
  import { mergeComponentProps } from "../../../utils/index.js";
2
2
  const defaultProps = {
3
3
  sx: {
4
- xs: {
5
- alignItems: "flex-start"
6
- }
4
+ alignItems: "flex-start"
7
5
  }
8
6
  };
9
7
  const getUnorderedListProps = (extended) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@janbox/storefront-ui",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Storefront UI component library for Janbox",
5
5
  "author": "Janbox",
6
6
  "keywords": [