sag_components 1.0.410 → 1.0.412

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.
Files changed (96) hide show
  1. package/dist/stories/components/IconButton.js +35 -17
  2. package/dist/stories/components/IconButton.style.js +2 -2
  3. package/dist/stories/components/KpiFilter.js +7 -18
  4. package/dist/stories/components/KpiFilter.style.js +10 -9
  5. package/package.json +1 -1
  6. package/.history/.env_20231001120549 +0 -0
  7. package/.history/.env_20231001120613 +0 -1
  8. package/.history/.env_20231003143620 +0 -1
  9. package/.history/.eslintrc_20230928112617.js +0 -26
  10. package/.history/.eslintrc_20230928130534.js +0 -27
  11. package/.history/.eslintrc_20230928133400.js +0 -28
  12. package/.history/.eslintrc_20230928133404.js +0 -28
  13. package/.history/.eslintrc_20230928133416.js +0 -28
  14. package/.history/.eslintrc_20230928133419.js +0 -28
  15. package/.history/.eslintrc_20230928133432.js +0 -28
  16. package/.history/.eslintrc_20230928133439.js +0 -28
  17. package/.history/.eslintrc_20230928133458.js +0 -29
  18. package/.history/.eslintrc_20230928133500.js +0 -28
  19. package/.history/.eslintrc_20230928134009.js +0 -28
  20. package/.history/.eslintrc_20230928135318.js +0 -34
  21. package/.history/.eslintrc_20230928135321.js +0 -34
  22. package/.history/.eslintrc_20230928135323.js +0 -34
  23. package/.history/.eslintrc_20230928135332.js +0 -34
  24. package/.history/.eslintrc_20230928135333.js +0 -34
  25. package/.history/.eslintrc_20230928135352.js +0 -29
  26. package/.history/.eslintrc_20230928135353.js +0 -29
  27. package/.history/.eslintrc_20230928135355.js +0 -29
  28. package/.history/.eslintrc_20230928135408.js +0 -29
  29. package/.history/.eslintrc_20230928135538.js +0 -30
  30. package/.history/.eslintrc_20230928135539.js +0 -30
  31. package/.history/.eslintrc_20230928135543.js +0 -30
  32. package/.history/.gitignore_20230921093332 +0 -119
  33. package/.history/.gitignore_20230921111638 +0 -120
  34. package/.history/.gitignore_20230921111650 +0 -120
  35. package/.history/.gitignore_20230921111810 +0 -121
  36. package/.history/package-lock_20231114111138.json +0 -47810
  37. package/.history/package-lock_20231114111158.json +0 -47802
  38. package/.history/package_20231029152422.json +0 -82
  39. package/.history/package_20231029153420.json +0 -82
  40. package/.history/package_20231029154416.json +0 -82
  41. package/.history/package_20231030094127.json +0 -82
  42. package/.history/package_20231030114707.json +0 -82
  43. package/.history/package_20231030130704.json +0 -82
  44. package/.history/package_20231030132422.json +0 -82
  45. package/.history/package_20231030134051.json +0 -82
  46. package/.history/package_20231030142913.json +0 -82
  47. package/.history/package_20231030143556.json +0 -82
  48. package/.history/package_20231030144210.json +0 -82
  49. package/.history/package_20231101113942.json +0 -82
  50. package/.history/package_20231101114544.json +0 -82
  51. package/.history/package_20231101151518.json +0 -82
  52. package/.history/package_20231101154501.json +0 -82
  53. package/.history/package_20231101155811.json +0 -82
  54. package/.history/package_20231101160235.json +0 -82
  55. package/.history/package_20231101160406.json +0 -82
  56. package/.history/package_20231101161325.json +0 -82
  57. package/.history/package_20231101161333.json +0 -82
  58. package/.history/package_20231102123623.json +0 -82
  59. package/.history/package_20231102125741.json +0 -82
  60. package/.history/package_20231102130857.json +0 -82
  61. package/.history/package_20231102132227.json +0 -82
  62. package/.history/package_20231102142340.json +0 -82
  63. package/.history/package_20231102143256.json +0 -82
  64. package/.history/package_20231105153539.json +0 -82
  65. package/.history/package_20231105154332.json +0 -82
  66. package/.history/package_20231105171201.json +0 -82
  67. package/.history/package_20231106123849.json +0 -82
  68. package/.history/package_20231107170638.json +0 -82
  69. package/.history/package_20231109103647.json +0 -82
  70. package/.history/package_20231109103911.json +0 -82
  71. package/.history/package_20231109105426.json +0 -82
  72. package/.history/package_20231109132014.json +0 -82
  73. package/.history/package_20231109132115.json +0 -82
  74. package/.history/package_20231114100517.json +0 -82
  75. package/.history/package_20231114100859.json +0 -82
  76. package/.history/package_20231114101553.json +0 -82
  77. package/.history/package_20231114102545.json +0 -82
  78. package/.history/package_20231114111208.json +0 -83
  79. package/.history/package_20231114111515.json +0 -83
  80. package/.history/package_20231114112931.json +0 -83
  81. package/.history/package_20231114113014.json +0 -83
  82. package/.history/package_20231114113155.json +0 -83
  83. package/.history/package_20231114124318.json +0 -83
  84. package/.history/package_20231114125107.json +0 -83
  85. package/.history/package_20231114125510.json +0 -83
  86. package/.history/package_20231114132634.json +0 -83
  87. package/.history/package_20231116165815.json +0 -83
  88. package/.history/package_20231116165916.json +0 -83
  89. package/.history/package_20231119113637.json +0 -83
  90. package/.history/package_20231120100907.json +0 -83
  91. package/.history/package_20231121151523.json +0 -77
  92. package/.history/package_20231121155513.json +0 -77
  93. package/.history/package_20231121162434.json +0 -77
  94. package/.history/package_20231122100718.json +0 -77
  95. package/.history/package_20231128125149.json +0 -82
  96. package/.history/package_20231128125208.json +0 -82
@@ -17,10 +17,7 @@ var _IconButton = require("./IconButton.style");
17
17
  /* IconButton */
18
18
  const IconButton = props => {
19
19
  const {
20
- // downloadStatus,
21
- fileName,
22
- fileLink,
23
- showProcess,
20
+ downloadStatus,
24
21
  contentColor,
25
22
  buttonText,
26
23
  backgroundColor,
@@ -30,28 +27,30 @@ const IconButton = props => {
30
27
  iconWidth,
31
28
  iconHeight,
32
29
  disabled,
30
+ inProgress,
33
31
  onClick,
34
32
  onCancelClick
35
33
  } = props;
34
+ const [mouseDownPressed, setMouseDownPressed] = (0, _react.useState)(false);
36
35
  const [progress, setProgress] = (0, _react.useState)(0);
37
36
  const incrementProgress = () => {
38
- if (showProcess && progress <= 90) {
37
+ if (downloadStatus === 'in progress' && progress <= 90) {
39
38
  const interval = setInterval(() => {
40
39
  setProgress(prevProgress => {
41
- const newProgress = prevProgress + 3;
40
+ const newProgress = prevProgress + 1;
42
41
  if (newProgress >= 90) {
43
42
  clearInterval(interval);
44
43
  }
45
44
  return newProgress;
46
45
  });
47
46
  }, 500);
48
- } else {
47
+ } else if (downloadStatus === 'success') {
49
48
  setProgress(0);
50
49
  }
51
50
  };
52
51
  (0, _react.useEffect)(() => {
53
52
  incrementProgress();
54
- }, [showProcess]);
53
+ }, [downloadStatus]);
55
54
  const getIcon = icon => {
56
55
  switch (icon) {
57
56
  case 'download':
@@ -100,36 +99,54 @@ const IconButton = props => {
100
99
  return '';
101
100
  }
102
101
  };
102
+ const onMouseDownHandler = () => {
103
+ if (disabled) return;
104
+ setMouseDownPressed(true);
105
+ };
106
+ const onMouseUpHandler = () => {
107
+ if (disabled) return;
108
+ setMouseDownPressed(false);
109
+ };
110
+ const onPointerOutHandler = () => {
111
+ if (disabled) return;
112
+ if (!mouseDownPressed) return;
113
+ setMouseDownPressed(false);
114
+ };
115
+ const getClassNameExtention = () => {
116
+ if (disabled) return 'disabled';
117
+ if (mouseDownPressed) return 'mouseDownPressed';
118
+ return '';
119
+ };
103
120
  const onClickHandler = event => {
104
- event.preventDefault();
121
+ if (disabled) return;
105
122
  onClick(event);
106
123
  };
107
124
  const onCancelClickHandler = event => {
108
125
  onCancelClick(event);
109
126
  };
110
127
  return /*#__PURE__*/_react.default.createElement(_IconButton.ButtonWrapper, null, /*#__PURE__*/_react.default.createElement(_IconButton.IconButtonContainer, {
111
- download: fileName,
112
- href: fileLink,
128
+ className: getClassNameExtention(),
113
129
  backgroundColor: backgroundColor,
114
130
  borderColor: borderColor,
115
131
  borderRadius: borderRadius,
116
132
  color: contentColor,
117
- inProgress: showProcess,
133
+ onMouseDown: onMouseDownHandler,
134
+ onMouseUp: onMouseUpHandler,
135
+ onPointerOut: onPointerOutHandler,
136
+ inProgress: inProgress,
118
137
  progress: progress,
119
138
  onClick: event => {
120
139
  onClickHandler(event);
121
140
  }
122
- }, getIcon(iconName), buttonText !== '' && buttonText !== undefined && /*#__PURE__*/_react.default.createElement(_IconButton.SpanText, null, buttonText)), showProcess && /*#__PURE__*/_react.default.createElement(_IconButton.CancelClick, {
141
+ }, getIcon(iconName), buttonText !== '' && buttonText !== undefined && /*#__PURE__*/_react.default.createElement(_IconButton.SpanText, null, buttonText)), inProgress && /*#__PURE__*/_react.default.createElement(_IconButton.CancelClick, {
123
142
  onClick: event => onCancelClickHandler(event)
124
143
  }, "Click here to cancel"));
125
144
  };
126
145
  exports.IconButton = IconButton;
127
146
  var _default = exports.default = IconButton;
128
147
  IconButton.defaultProps = {
129
- // downloadStatus: '',
130
- fileName: '',
131
- fileLink: '',
132
- showProcess: false,
148
+ // downloadStatus: 'fail',
149
+ downloadStatus: 'in progress',
133
150
  buttonText: '',
134
151
  iconName: 'eye',
135
152
  contentColor: '#212121',
@@ -139,6 +156,7 @@ IconButton.defaultProps = {
139
156
  iconHeight: 18,
140
157
  iconWidth: 18,
141
158
  disabled: false,
159
+ inProgress: false,
142
160
  onClick: () => {},
143
161
  onCancelClick: () => {}
144
162
  };
@@ -10,6 +10,6 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
10
10
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
11
11
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
12
12
  const ButtonWrapper = exports.ButtonWrapper = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: fit-content;\n text-align: center;\n"])));
13
- const IconButtonContainer = exports.IconButtonContainer = _styledComponents.default.a(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 14px;\n font-weight: 400;\n display: flex;\n gap: 10px;\n align-items: center;\n justify-content: center;\n padding: 12px 20px;\n margin-bottom: 5px;\n color: ", ";\n border-radius: ", ";\n border: 1px solid ", ";\n background: ", ";\n position: relative;\n transition: all .3s;\n ", "\n &:hover, &:focus {\n cursor: pointer;\n box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.1);\n }\n"])), props => props.color, props => props.borderRadius, props => props.borderColor.toString(), props => props.backgroundColor.toString(), props => props.inProgress && (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n pointer-events: none;\n &:after {\n content: 'In Progress';\n display: flex;\n align-items: center;\n justify-content: center;\n text-wrap: nowrap;\n position: absolute;\n background: linear-gradient(\n to right,\n #5FCC70 ", "%,\n #B1B1B1 ", "%,\n #B1B1B1 100%\n );\n width: 100%;\n height: 100%;\n border-radius: ", ";\n border-width: 0;\n z-index: 9;\n }\n "])), props.progress, props.progress + 1, props => props.borderRadius));
13
+ const IconButtonContainer = exports.IconButtonContainer = _styledComponents.default.button(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 14px;\n font-weight: 400;\n display: flex;\n gap: 10px;\n align-items: center;\n justify-content: center;\n padding: 12px 20px;\n margin-bottom: 5px;\n color: ", ";\n border-radius: ", ";\n border: 1px solid ", ";\n background: ", ";\n position: relative;\n transition: all .3s;\n ", "\n &:hover, &:focus {\n cursor: pointer;\n box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.1);\n }\n"])), props => props.color, props => props.borderRadius, props => props.borderColor.toString(), props => props.backgroundColor.toString(), props => props.inProgress && (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n pointer-events: none;\n &:after {\n content: 'In Progress';\n display: flex;\n align-items: center;\n justify-content: center;\n text-wrap: nowrap;\n position: absolute;\n background: linear-gradient(\n to right,\n #5FCC70 ", "%,\n #B1B1B1 ", "%,\n #B1B1B1 100%\n );\n width: 100%;\n height: 100%;\n border-radius: ", ";\n border-width: 0;\n z-index: 9;\n }\n "])), props.progress, props.progress + 1, props => props.borderRadius));
14
14
  const SpanText = exports.SpanText = _styledComponents.default.span(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n"])));
15
- const CancelClick = exports.CancelClick = _styledComponents.default.span(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n display: inherit;\n font-family: \"Lato\", sans-serif;;\n font-size: 14px;\n color: #568202;\n cursor: pointer;\n"])));
15
+ const CancelClick = exports.CancelClick = _styledComponents.default.span(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n display: inherit;\n font-family: \"Lato\", sans-serif;;\n font-size: 14px;\n color: #568202;\n"])));
@@ -172,21 +172,6 @@ const KpiFilter = props => {
172
172
  });
173
173
  setKpiDataState(newData);
174
174
  }
175
- }), /*#__PURE__*/_react.default.createElement(_CheckBox.CheckBox, {
176
- checked: false,
177
- colorChecked: buttonsIconColor,
178
- colorUnchecked: buttonsIconColor,
179
- fontSize: "14px",
180
- height: "20px",
181
- width: "100%",
182
- iconSize: "14px",
183
- label: "Include Benchmarks",
184
- onClick: props => {
185
- onClickIncludeBenchmark({
186
- label: props.label,
187
- checked: props.checked
188
- });
189
- }
190
175
  })));
191
176
  const onClickPeriodHandler = props => {
192
177
  const {
@@ -285,15 +270,19 @@ const KpiFilter = props => {
285
270
  if (KpiDataState && (KpiDataState === null || KpiDataState === void 0 ? void 0 : KpiDataState.length) > 0) {
286
271
  return /*#__PURE__*/_react.default.createElement(_KpiFilter.AllColumnsContainer, {
287
272
  id: "AllColumnsContainer"
288
- }, KpiDataState.map((item, i) => /*#__PURE__*/_react.default.createElement(_KpiFilter.ColumnAndLineContainer, {
289
- id: "ColumnAndLineContainer"
273
+ }, KpiDataState.map((item, i) => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_KpiFilter.ColumnTitleAndButtonsContainer, {
274
+ id: "ColumnTitleAndButtonsContainer"
290
275
  }, /*#__PURE__*/_react.default.createElement(_KpiFilter.ColumnContainer, {
291
276
  id: "ColumnContainer"
292
277
  }, /*#__PURE__*/_react.default.createElement(_KpiFilter.ColumnTitleContainer, {
293
278
  id: "ColumnTitleContainer"
294
279
  }, /*#__PURE__*/_react.default.createElement(_KpiFilter.ColumnTitle, {
295
280
  id: "ColumnTitle"
296
- }, item.columnTitle)), dispalyColumnButtons(item.buttonsArray, height = "160px", "0px"), i === (KpiDataState === null || KpiDataState === void 0 ? void 0 : KpiDataState.length) - 1 ? /*#__PURE__*/_react.default.createElement(_KpiFilter.PeriodColumnTitle, null, periodTitle) : "", i === (KpiDataState === null || KpiDataState === void 0 ? void 0 : KpiDataState.length) - 1 ? displayPeriod() : ""), item.rightBorder ? /*#__PURE__*/_react.default.createElement(_KpiFilter.ColumnRightLineSeporator, null) : "")));
281
+ }, item.columnTitle)), dispalyColumnButtons(item.buttonsArray, height = "160px", "0px"), i === (KpiDataState === null || KpiDataState === void 0 ? void 0 : KpiDataState.length) - 1 ? /*#__PURE__*/_react.default.createElement(_KpiFilter.PeriodColumnTitle, null, periodTitle) : "", i === (KpiDataState === null || KpiDataState === void 0 ? void 0 : KpiDataState.length) - 1 ? displayPeriod() : "")), item.rightBorder ? /*#__PURE__*/_react.default.createElement(_KpiFilter.ColumnLineSeporatorContainer, {
282
+ id: "ColumnLineSeporatorContainer"
283
+ }, /*#__PURE__*/_react.default.createElement(_KpiFilter.ColumnLineSeporator, {
284
+ id: "ColumnLineSeporator"
285
+ })) : "")));
297
286
  }
298
287
  };
299
288
 
@@ -4,30 +4,31 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.PeriodColumnTitle = exports.PanelContainer = exports.MainTitleContainer = exports.MainTitle = exports.MainContainer = exports.ColumnTitleContainer = exports.ColumnTitle = exports.ColumnRightLineSeporator = exports.ColumnContainer = exports.ColumnAndLineContainer = exports.CheckBoxPeriodContainer = exports.CheckBoxContainer = exports.ButtonsContainer = exports.ButtonContainer = exports.AllColumnsContainer = void 0;
7
+ exports.PeriodColumnTitle = exports.PanelContainer = exports.MainTitleContainer = exports.MainTitle = exports.MainContainer = exports.ColumnTitleContainer = exports.ColumnTitleAndButtonsContainer = exports.ColumnTitle = exports.ColumnLineSeporatorContainer = exports.ColumnLineSeporator = exports.ColumnContainer = exports.CheckBoxPeriodContainer = exports.CheckBoxContainer = exports.ButtonsContainer = exports.ButtonContainer = exports.AllColumnsContainer = void 0;
8
8
  var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
9
9
  var _styledComponents = _interopRequireDefault(require("styled-components"));
10
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15;
10
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
11
11
  const MainContainer = exports.MainContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n position: relative;\n font-family: \"Poppins\", sans-serif;\n font-style: normal;\n font-size: 1rem;\n border-radius: 12px;\n width: ", ";\n height: ", ";\n"])), props => {
12
12
  return props.width;
13
13
  }, props => {
14
14
  return props.height;
15
15
  });
16
- const PanelContainer = exports.PanelContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n border-radius: 12px;\n background: #ffffff;\n padding: 1rem 1rem 1rem 1rem;\n font-weight: 400;\n font-size: 14px;\n line-height: 19px;\n white-space: pre-wrap;\n overflow: hidden;\n width: 100%;\n"])));
16
+ const PanelContainer = exports.PanelContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n border-radius: 12px;\n background: #ffffff;\n padding: 4px;\n font-weight: 400;\n font-size: 14px;\n line-height: 19px;\n white-space: pre-wrap;\n overflow: hidden;\n width: 100%;\n"])));
17
17
  const MainTitleContainer = exports.MainTitleContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n"])));
18
18
  const MainTitle = exports.MainTitle = _styledComponents.default.h4(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 500;\n font-size: 18px;\n margin: 5px;\n @media (max-width: 1536px) {\n font-size: 14px;\n }\n @media (max-width: 1366px) {\n font-size: 12px;\n }\n"])));
19
19
  const ColumnTitle = exports.ColumnTitle = _styledComponents.default.h4(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 600;\n font-size: 14px;\n margin: 5px;\n @media (max-width: 1536px) {\n font-size: 11px;\n }\n @media (max-width: 1366px) {\n font-size: 10px;\n }\n"])));
20
20
  const PeriodColumnTitle = exports.PeriodColumnTitle = _styledComponents.default.h4(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 600;\n font-size: 14px;\n margin: 50px 5px 5px 5px;\n @media (max-width: 1536px) {\n font-size: 11px;\n }\n @media (max-width: 1366px) {\n font-size: 10px;\n }\n"])));
21
21
  const CheckBoxContainer = exports.CheckBoxContainer = _styledComponents.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n gap: 20px;\n"])));
22
22
  const AllColumnsContainer = exports.AllColumnsContainer = _styledComponents.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n width: 100%;\n"])));
23
- const ColumnAndLineContainer = exports.ColumnAndLineContainer = _styledComponents.default.div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n padding: 20px 0 0 0; \n height: 100%;\n"])));
23
+ const ColumnTitleAndButtonsContainer = exports.ColumnTitleAndButtonsContainer = _styledComponents.default.div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n padding: 10px 0 0 0;\n height: 100%;\n"])));
24
24
  const ColumnContainer = exports.ColumnContainer = _styledComponents.default.div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n"])));
25
- const ColumnRightLineSeporator = exports.ColumnRightLineSeporator = _styledComponents.default.div(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n background-color: #b1b1b1;\n width: 0.5px;\n height: 95%; \n margin-left: 40px;\n @media (max-width: 1536px) {\n margin-left: 25px;\n }\n @media (max-width: 1366px) {\n margin-left: 15px;\n }\n"])));
26
- const ColumnTitleContainer = exports.ColumnTitleContainer = _styledComponents.default.div(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n align-items: center;\n justify-content: space-between;\n"])));
27
- const ButtonsContainer = exports.ButtonsContainer = _styledComponents.default.div(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column; \n white-space: nowrap;\n padding-bottom: ", ";\n"])), props => {
25
+ const ColumnLineSeporatorContainer = exports.ColumnLineSeporatorContainer = _styledComponents.default.div(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n background-color: #b1b1b1;\n align-items: center;\n height: 95%;\n margin: 15px 0;\n"])));
26
+ const ColumnLineSeporator = exports.ColumnLineSeporator = _styledComponents.default.div(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2.default)(["\n width: 0.5px;\n"])));
27
+ const ColumnTitleContainer = exports.ColumnTitleContainer = _styledComponents.default.div(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n align-items: center;\n justify-content: space-between;\n"])));
28
+ const ButtonsContainer = exports.ButtonsContainer = _styledComponents.default.div(_templateObject14 || (_templateObject14 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n white-space: nowrap;\n padding-bottom: ", ";\n"])), props => {
28
29
  return props.paddingBottom;
29
30
  });
30
- const ButtonContainer = exports.ButtonContainer = _styledComponents.default.div(_templateObject14 || (_templateObject14 = (0, _taggedTemplateLiteral2.default)(["\n display: flex; \n padding: 6px;\n gap: 10px;\n &.marginBottom {\n margin-bottom: ", ";\n }\n"])), props => {
31
+ const ButtonContainer = exports.ButtonContainer = _styledComponents.default.div(_templateObject15 || (_templateObject15 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n padding: 4px;\n gap: 10px;\n &.marginBottom {\n margin-bottom: ", ";\n }\n"])), props => {
31
32
  return props.marginBottom;
32
33
  });
33
- const CheckBoxPeriodContainer = exports.CheckBoxPeriodContainer = _styledComponents.default.div(_templateObject15 || (_templateObject15 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n //gap: 20px;\n margin: 5px;\n"])));
34
+ const CheckBoxPeriodContainer = exports.CheckBoxPeriodContainer = _styledComponents.default.div(_templateObject16 || (_templateObject16 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n //gap: 20px;\n margin: 5px;\n"])));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.410",
3
+ "version": "1.0.412",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
File without changes
@@ -1 +0,0 @@
1
- STORYBOOK_FIGMA_ACCESS_TOKEN=figd_YdAmQQKQ2B6ZngEijA0JiqNNUdJvP23G46NK7-fc
@@ -1 +0,0 @@
1
- STORYBOOK_FIGMA_ACCESS_TOKEN=figd_MOcc8-aS91XJ3mFdtNlH4oPVY73ChHlmw6-hKhsb
@@ -1,26 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- },
26
- };
@@ -1,27 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- },
27
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- /*eslint linebreak-style: ["error", "windows"]*/
27
- },
28
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- eslint linebreak-style: ["error", "windows"]
27
- },
28
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- linebreak-style: ["error", "windows"]
27
- },
28
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': ["error", "windows"]
27
- },
28
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': ['error', 'windows']
27
- },
28
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': ['error', 'windows'],
27
- },
28
- };
@@ -1,29 +0,0 @@
1
- /* eslint-disable linebreak-style */
2
- module.exports = {
3
- env: {
4
- browser: true,
5
- es2021: true,
6
- },
7
- extends: 'airbnb',
8
- overrides: [
9
- {
10
- env: {
11
- node: true,
12
- },
13
- files: [
14
- '.eslintrc.{js,cjs}',
15
- ],
16
- parserOptions: {
17
- sourceType: 'script',
18
- },
19
- },
20
- ],
21
- parserOptions: {
22
- ecmaVersion: 'latest',
23
- sourceType: 'module',
24
- },
25
- rules: {
26
- 'max-len': 'off',
27
- 'linebreak-style': ['error', 'windows'],
28
- },
29
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': ['error', 'windows'],
27
- },
28
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': 0,
27
- },
28
- };
@@ -1,34 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': 0,
27
- "react/function-component-definition": [
28
- 2,
29
- {
30
- namedComponents: "function-declaration",
31
- },
32
- ],
33
- },
34
- };
@@ -1,34 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': 0,
27
- 'react/function-component-definition": [
28
- 2,
29
- {
30
- namedComponents: "function-declaration",
31
- },
32
- ],
33
- },
34
- };