@occmundial/occ-atomic 3.0.0-beta.41 → 3.0.0-beta.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [3.0.0-beta.42](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.41...v3.0.0-beta.42) (2024-08-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Change div divider for box shadow ([a2f1f8d](https://github.com/occmundial/occ-atomic/commit/a2f1f8d1af7b122b7546c6b405c93344a1aa9391))
7
+
1
8
  # [3.0.0-beta.41](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.40...v3.0.0-beta.41) (2024-08-07)
2
9
 
3
10
 
@@ -120,7 +120,7 @@ function SlideDown(_ref) {
120
120
  }
121
121
  }, [prevExpanded, expanded]);
122
122
  return /*#__PURE__*/_react["default"].createElement("div", {
123
- className: classes.wrapper
123
+ className: "".concat(classes.wrapper).concat(divider ? " ".concat(classes.divider) : '')
124
124
  }, /*#__PURE__*/_react["default"].createElement("div", {
125
125
  className: "".concat(classes.button, " ").concat(textSize === 'lg' ? classes.largePadding : classes.normalPadding).concat(!noPadding ? " ".concat(classes.buttonPadding) : ''),
126
126
  role: "button",
@@ -159,9 +159,7 @@ function SlideDown(_ref) {
159
159
  className: "".concat(classes.contentWrapper).concat(_expanded ? " ".concat(classes.showContentWrapper) : '')
160
160
  }, /*#__PURE__*/_react["default"].createElement("div", {
161
161
  className: "".concat(classes.content).concat(_expanded ? " ".concat(classes.showContent) : '')
162
- }, children)), divider ? /*#__PURE__*/_react["default"].createElement("div", {
163
- className: classes.divider
164
- }) : '');
162
+ }, children)));
165
163
  }
166
164
 
167
165
  SlideDown.defaultProps = {
@@ -23,8 +23,7 @@ Object {
23
23
  "transition": "grid-template-rows cubic-bezier(0.25,0.46,0.45,0.94) 0.2s 0.05s, opacity cubic-bezier(0.25,0.46,0.45,0.94) 0.2s",
24
24
  },
25
25
  "divider": Object {
26
- "border": "1px solid #EDEDF1",
27
- "marginTop": "-2px",
26
+ "boxShadow": "inset 0 -1px 0px 0px #EDEDF1",
28
27
  },
29
28
  "flexContainer": Object {
30
29
  "gap": "16px",
@@ -69,8 +69,7 @@ var _default = {
69
69
  transition: 'grid-template-rows cubic-bezier(0.25,0.46,0.45,0.94) 0.2s, opacity cubic-bezier(0.25,0.46,0.45,0.94) 0.2s 0.05s'
70
70
  },
71
71
  divider: {
72
- border: "1px solid ".concat(_colors["default"].border["default"].subtle),
73
- marginTop: "-".concat(_spacing["default"]['size-0'])
72
+ boxShadow: "inset 0 -1px 0px 0px ".concat(_colors["default"].border["default"].subtle)
74
73
  },
75
74
  flexContainer: {
76
75
  gap: _spacing["default"]['size-4']
@@ -491,7 +491,7 @@
491
491
  },
492
492
  "inverse": {
493
493
  "default": "rgba(255,255,255,0.1)",
494
- "gradient": "linear-gradient(90deg rgba(255,255,255,0), rgba(255,255,255,0.1) , rgba(255,255,255,0) )"
494
+ "gradient": "linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.1) , rgba(255,255,255,0) )"
495
495
  }
496
496
  }
497
497
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@occmundial/occ-atomic",
3
- "version": "3.0.0-beta.41",
3
+ "version": "3.0.0-beta.42",
4
4
  "description": "Collection of shareable styled React components for OCC applications.",
5
5
  "homepage": "http://occmundial.github.io/occ-atomic",
6
6
  "main": "build/index.js",