sag_components 1.0.850 → 1.0.852

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.
@@ -15,9 +15,10 @@ const TopToggleList = props => {
15
15
  height
16
16
  } = props;
17
17
  return /*#__PURE__*/_react.default.createElement(_TopToggleList.TopToggleListMainContainer, {
18
- height: height,
19
18
  width: width
20
- }, /*#__PURE__*/_react.default.createElement(_TopToggleList.Title, null, title), /*#__PURE__*/_react.default.createElement(_TopToggleList.ListContainer, null, list.map(item => /*#__PURE__*/_react.default.createElement(_TopToggleList.ListItem, {
19
+ }, /*#__PURE__*/_react.default.createElement(_TopToggleList.Title, null, title), /*#__PURE__*/_react.default.createElement(_TopToggleList.ListContainer, {
20
+ height: height
21
+ }, list.map(item => /*#__PURE__*/_react.default.createElement(_TopToggleList.ListItem, {
21
22
  key: item.value
22
23
  }, /*#__PURE__*/_react.default.createElement(_TopToggleList.Item, null, item.label)))));
23
24
  };
@@ -9,8 +9,8 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
9
9
  var _styledComponents = _interopRequireDefault(require("styled-components"));
10
10
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
11
11
  const scrollableStyles = "\n overflow-y: auto;\n\n &::-webkit-scrollbar {\n width: 8px;\n }\n\n &::-webkit-scrollbar-track {\n background: #E8E8E8;\n border-radius: 5px;\n }\n\n &::-webkit-scrollbar-thumb {\n background: #D0D0D0;\n border-radius: 5px;\n }\n";
12
- const TopToggleListMainContainer = exports.TopToggleListMainContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n font-family: \"Lato\", sans-serif;\n color: #212121;\n padding: 0 24px;\n height: ", ";\n width: ", ";\n"])), props => props.height, props => props.width);
12
+ const TopToggleListMainContainer = exports.TopToggleListMainContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n font-family: \"Lato\", sans-serif;\n color: #212121;\n padding: 0 24px;\n width: ", ";\n"])), props => props.width);
13
13
  const Title = exports.Title = _styledComponents.default.h4(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 14px;\n font-weight: 600;\n margin: 0 0 12px;\n"])));
14
- const ListContainer = exports.ListContainer = _styledComponents.default.ul(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n padding: 0;\n margin: 0;\n list-style-type: none;\n overflow-y: auto;\n ", "\n"])), scrollableStyles);
15
- const ListItem = exports.ListItem = _styledComponents.default.li(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 14px;\n font-weight: 400;\n"])));
14
+ const ListContainer = exports.ListContainer = _styledComponents.default.ul(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n height: ", ";\n padding: 0;\n margin: 0;\n list-style-type: none;\n ", "\n"])), props => props.height, scrollableStyles);
15
+ const ListItem = exports.ListItem = _styledComponents.default.li(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n padding: 20px 0;\n border-bottom: 1px solid #F3F4F6;\n"])));
16
16
  const Item = exports.Item = _styledComponents.default.span(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 14px;\n font-weight: 400;\n"])));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.850",
3
+ "version": "1.0.852",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {