@cashub/ui 0.48.28 → 0.48.30

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 (179) hide show
  1. package/Tab/TabList.js +38 -26
  2. package/Tab/TabPanel.js +13 -20
  3. package/Tab/TabTab.js +37 -25
  4. package/Tab/index.js +3 -6
  5. package/Tab/subComponent/TabListV2.js +11 -18
  6. package/Tab/subComponent/TabPanelV2.js +16 -20
  7. package/Tab/subComponent/TabTabV2.js +33 -21
  8. package/VerticalTab/TabList.js +13 -18
  9. package/VerticalTab/TabPanel.js +16 -20
  10. package/VerticalTab/TabTab.js +40 -21
  11. package/VerticalTab/VerticalTab.js +8 -4
  12. package/alert/Alert.js +12 -5
  13. package/animate/Collapse.js +5 -7
  14. package/animate/Loader.js +18 -7
  15. package/animate/PulseRing.js +18 -5
  16. package/animate/Spinner.js +8 -3
  17. package/backdrop/BaseBackdrop.js +9 -3
  18. package/backdrop/LoadingBackdrop.js +7 -3
  19. package/backdrop/ModalBackdrop.js +5 -3
  20. package/badge/Badge.js +15 -3
  21. package/badge/BadgeDot.js +8 -3
  22. package/badge/BadgeFill.js +24 -6
  23. package/badge/BadgeFillTriangle.js +77 -40
  24. package/badge/BadgeWithText.js +13 -3
  25. package/billing/BarChart.js +1 -1
  26. package/breadcrumb/Breadcrumb.js +42 -3
  27. package/button/Button.js +102 -22
  28. package/button/ButtonGroup.js +33 -9
  29. package/button/IconButton.js +37 -10
  30. package/button/ScrollToTopButton.js +12 -4
  31. package/callout/Callout.js +37 -8
  32. package/chart/BarChart.js +13 -21
  33. package/chart/DoughnutChart.js +34 -20
  34. package/chart/LineChart.js +13 -21
  35. package/chart/SingleBarChart.js +22 -5
  36. package/chart/utils/centerTextPlugin.js +2 -2
  37. package/chart/utils/customTooltip.js +8 -8
  38. package/chart/utils/htmlLegendPlugin.js +1 -1
  39. package/chart/utils/yAxisTopTitlePlugin.js +1 -1
  40. package/container/FlexContainer.js +15 -7
  41. package/cropper/Cropper.js +1 -2
  42. package/datetimePicker/DatePicker.js +80 -26
  43. package/datetimePicker/DatePickerV2.js +95 -36
  44. package/datetimePicker/DatetimePicker.js +174 -11
  45. package/datetimePicker/DatetimePickerV2.js +87 -33
  46. package/datetimePicker/DatetimePickerV3.js +174 -11
  47. package/datetimePicker/TimeInput.js +35 -10
  48. package/datetimePicker/TimePicker.js +77 -22
  49. package/datetimePicker/TimePickerStyle.js +53 -3
  50. package/datetimePicker/TimePickerV2.js +54 -21
  51. package/datetimePicker/accordion/Month.js +93 -16
  52. package/datetimePicker/accordion/Year.js +96 -18
  53. package/datetimePicker/hooks/useChangeNumber.js +3 -6
  54. package/datetimePicker/hooks/useDecrease.js +3 -6
  55. package/datetimePicker/hooks/useIncrease.js +3 -6
  56. package/datetimePicker/subComponent/Accordion.js +101 -20
  57. package/descriptionList/DescriptionDetail.js +15 -4
  58. package/descriptionList/DescriptionList.js +12 -4
  59. package/descriptionList/DescriptionTerm.js +5 -3
  60. package/divider/Divider.js +15 -6
  61. package/dropdown/DropdownButtonOption.js +22 -6
  62. package/dropdown/DropdownContent.js +29 -15
  63. package/dropdown/DropdownDivOption.js +17 -3
  64. package/dropdown/DropdownLinkOption.js +14 -3
  65. package/dropdown/DropdownToggle.js +7 -15
  66. package/dropzone/FileDropzone.js +121 -22
  67. package/dropzone/ImageDropzone.js +83 -14
  68. package/dropzone/subComponent/Message.js +11 -4
  69. package/figure/IconFigure.js +16 -7
  70. package/figure/ImageFigure.js +19 -6
  71. package/file/HiddenFileInput.js +3 -3
  72. package/form/Checkbox.js +81 -16
  73. package/form/Fieldset.js +9 -3
  74. package/form/FormItem.js +10 -5
  75. package/form/Input.js +40 -7
  76. package/form/Label.js +34 -10
  77. package/form/MutedText.js +8 -4
  78. package/form/PasswordInput.js +20 -13
  79. package/form/RadioButton.js +55 -8
  80. package/form/SearchSelect.js +64 -12
  81. package/form/Searchbox.js +45 -19
  82. package/form/Slider.js +28 -10
  83. package/form/SwitchButton.js +48 -14
  84. package/form/Textarea.js +30 -3
  85. package/form/TreeView.js +13 -6
  86. package/grid/Column.js +23 -10
  87. package/grid/Grid.js +14 -6
  88. package/heading/Heading1.js +8 -4
  89. package/heading/Heading2.js +11 -5
  90. package/heading/Heading3.js +20 -8
  91. package/iconbox/ApplicationIconBox.js +48 -12
  92. package/iconbox/IconBox.js +31 -7
  93. package/iconbox/IconBoxV2.js +45 -10
  94. package/iconbox/subComponent/IconBoxFigure.js +17 -9
  95. package/iconbox/subComponent/IconBoxImage.js +21 -8
  96. package/image/ImageFluid.js +7 -3
  97. package/image/UploadImage.js +66 -18
  98. package/jsoneditor/JsonEditor.js +121 -15
  99. package/keyframe/Pulse.js +13 -3
  100. package/keyframe/Spin.js +5 -3
  101. package/layout/Aside.js +30 -5
  102. package/layout/Backdrop.js +8 -4
  103. package/layout/Container.js +21 -5
  104. package/layout/Footer.js +26 -7
  105. package/link/LinkSpan.js +37 -19
  106. package/map/GoogleMap.js +3 -7
  107. package/map/GoogleReverseGeolocation.js +6 -3
  108. package/map/LeafletMap.js +2 -2
  109. package/map/subComponent/GoogleMapContainer.js +16 -4
  110. package/map/subComponent/GoogleMapPopup.js +7 -10
  111. package/map/subComponent/GoogleMapWrapper.js +8 -15
  112. package/map/subComponent/LeafletDrawControl.js +9 -7
  113. package/map/subComponent/LeafletMapContainer.js +159 -4
  114. package/modal/StateModal.js +62 -38
  115. package/modal/TitleModal.js +70 -29
  116. package/package.json +1 -1
  117. package/page/Disclaimer.js +119 -3
  118. package/paginate/Paginate.js +54 -12
  119. package/popover/Popover.js +30 -25
  120. package/qrcode/QRCode.js +20 -6
  121. package/qrcode/QRCodeContainter.js +12 -4
  122. package/ribbon/Ribbon.js +29 -4
  123. package/section/Section.js +68 -20
  124. package/section/SectionBody.js +29 -8
  125. package/section/SectionHeader.js +36 -11
  126. package/section/SectionToolbar.js +9 -3
  127. package/section/SectionToolbarItem.js +8 -3
  128. package/select/InputSelect.js +16 -23
  129. package/select/Select.js +123 -50
  130. package/select/subComponent/Checkbox.js +24 -5
  131. package/select/subComponent/Footer.js +4 -3
  132. package/select/subComponent/ListBox.js +12 -5
  133. package/select/subComponent/Option.js +27 -7
  134. package/select/subComponent/OptionGroup.js +13 -3
  135. package/select/subComponent/Options.js +18 -5
  136. package/select/subComponent/SearchBox.js +34 -12
  137. package/select/subComponent/SelectedMultipleCount.js +31 -6
  138. package/select/subComponent/SelectedMultipleTags.js +24 -4
  139. package/select/subComponent/SelectedMultipleText.js +20 -4
  140. package/select/subComponent/SelectedSingle.js +7 -3
  141. package/styles/GlobalStyle.js +156 -45
  142. package/styles/mixin/backgroundColor.js +16 -8
  143. package/styles/mixin/borderColor.js +16 -8
  144. package/styles/mixin/color.js +16 -8
  145. package/styles/mixin/colorOnBackground.js +13 -7
  146. package/styles/mixin/inputPlaceholder.js +20 -3
  147. package/styles/mixin/media.js +5 -3
  148. package/styles/mixin/rounded.js +10 -6
  149. package/styles/mixin/scrollbar.js +13 -3
  150. package/styles/theme/dark.theme.js +15 -14
  151. package/styles/theme/light.theme.js +15 -14
  152. package/styles/theme/white.theme.js +15 -14
  153. package/table/GridTable.js +71 -33
  154. package/table/ImageBox.js +15 -5
  155. package/table/InfiniteGridTable.js +92 -46
  156. package/table/PermissionTable.js +32 -10
  157. package/table/SimpleGridTable.js +52 -17
  158. package/table/Table.js +198 -48
  159. package/table/__mock__/columns.js +1 -1
  160. package/table/subComponent/BaseTableHeadCell.js +37 -8
  161. package/table/subComponent/GridTableFooter.js +10 -4
  162. package/table/subComponent/GridTableHeadCell.js +6 -4
  163. package/table/subComponent/Resizer.js +19 -4
  164. package/table/subComponent/TableFooter.js +15 -6
  165. package/table/subComponent/TableFooterInfo.js +4 -3
  166. package/table/subComponent/TableFooterPager.js +19 -6
  167. package/table/subComponent/TableHeadCell.js +9 -3
  168. package/table/subComponent/TableSort.js +17 -7
  169. package/tagify/TagifyStyle.js +49 -3
  170. package/tagify/Tags.js +37 -21
  171. package/tagify/templates/getCreateButtonTemplate.js +5 -2
  172. package/text/Paragraph.js +50 -12
  173. package/timeline/Timeline.js +94 -17
  174. package/toast/CustomToastContainer.js +35 -3
  175. package/toast/MessageContainer.js +22 -4
  176. package/tooltip/Tooltip.js +53 -24
  177. package/treeView/TreeViewV2.js +1 -1
  178. package/treeView/TreeflexStyle.js +38 -3
  179. package/wizard/Wizard.js +115 -6
@@ -5,32 +5,40 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _styledComponents = require("styled-components");
8
- var _templateObject;
9
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
10
- const backgroundColor = (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
8
+ const backgroundColor = (0, _styledComponents.css)`
9
+ ${_ref => {
11
10
  let {
12
11
  primary
13
12
  } = _ref;
14
13
  return primary && 'background-color: var(--color-primary);';
15
- }, _ref2 => {
14
+ }}
15
+
16
+ ${_ref2 => {
16
17
  let {
17
18
  success
18
19
  } = _ref2;
19
20
  return success && 'background-color: var(--color-success);';
20
- }, _ref3 => {
21
+ }}
22
+
23
+ ${_ref3 => {
21
24
  let {
22
25
  warning
23
26
  } = _ref3;
24
27
  return warning && 'background-color: var(--color-warning);';
25
- }, _ref4 => {
28
+ }}
29
+
30
+ ${_ref4 => {
26
31
  let {
27
32
  danger
28
33
  } = _ref4;
29
34
  return danger && 'background-color: var(--color-danger);';
30
- }, _ref5 => {
35
+ }}
36
+
37
+ ${_ref5 => {
31
38
  let {
32
39
  grey
33
40
  } = _ref5;
34
41
  return grey && 'background-color: var(--color-grey);';
35
- });
42
+ }}
43
+ `;
36
44
  var _default = exports.default = backgroundColor;
@@ -5,32 +5,40 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _styledComponents = require("styled-components");
8
- var _templateObject;
9
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
10
- const borderColor = (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
8
+ const borderColor = (0, _styledComponents.css)`
9
+ ${_ref => {
11
10
  let {
12
11
  primary
13
12
  } = _ref;
14
13
  return primary && 'border-color: var(--color-primary);';
15
- }, _ref2 => {
14
+ }}
15
+
16
+ ${_ref2 => {
16
17
  let {
17
18
  success
18
19
  } = _ref2;
19
20
  return success && 'border-color: var(--color-success);';
20
- }, _ref3 => {
21
+ }}
22
+
23
+ ${_ref3 => {
21
24
  let {
22
25
  warning
23
26
  } = _ref3;
24
27
  return warning && 'border-color: var(--color-warning);';
25
- }, _ref4 => {
28
+ }}
29
+
30
+ ${_ref4 => {
26
31
  let {
27
32
  danger
28
33
  } = _ref4;
29
34
  return danger && 'border-color: var(--color-danger);';
30
- }, _ref5 => {
35
+ }}
36
+
37
+ ${_ref5 => {
31
38
  let {
32
39
  grey
33
40
  } = _ref5;
34
41
  return grey && 'border-color: var(--color-grey);';
35
- });
42
+ }}
43
+ `;
36
44
  var _default = exports.default = borderColor;
@@ -5,32 +5,40 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _styledComponents = require("styled-components");
8
- var _templateObject;
9
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
10
- const color = (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
8
+ const color = (0, _styledComponents.css)`
9
+ ${_ref => {
11
10
  let {
12
11
  primary
13
12
  } = _ref;
14
13
  return primary && 'color: var(--color-primary);';
15
- }, _ref2 => {
14
+ }}
15
+
16
+ ${_ref2 => {
16
17
  let {
17
18
  success
18
19
  } = _ref2;
19
20
  return success && 'color: var(--color-success);';
20
- }, _ref3 => {
21
+ }}
22
+
23
+ ${_ref3 => {
21
24
  let {
22
25
  warning
23
26
  } = _ref3;
24
27
  return warning && 'color: var(--color-warning);';
25
- }, _ref4 => {
28
+ }}
29
+
30
+ ${_ref4 => {
26
31
  let {
27
32
  danger
28
33
  } = _ref4;
29
34
  return danger && 'color: var(--color-danger);';
30
- }, _ref5 => {
35
+ }}
36
+
37
+ ${_ref5 => {
31
38
  let {
32
39
  grey
33
40
  } = _ref5;
34
41
  return grey && 'color: var(--color-grey);';
35
- });
42
+ }}
43
+ `;
36
44
  var _default = exports.default = color;
@@ -5,27 +5,33 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _styledComponents = require("styled-components");
8
- var _templateObject;
9
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
10
- const colorOnBackground = (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
8
+ const colorOnBackground = (0, _styledComponents.css)`
9
+ ${_ref => {
11
10
  let {
12
11
  primary
13
12
  } = _ref;
14
13
  return primary && 'color: var(--font-on-primary);';
15
- }, _ref2 => {
14
+ }}
15
+
16
+ ${_ref2 => {
16
17
  let {
17
18
  success
18
19
  } = _ref2;
19
20
  return success && 'color: var(--font-on-success);';
20
- }, _ref3 => {
21
+ }}
22
+
23
+ ${_ref3 => {
21
24
  let {
22
25
  warning
23
26
  } = _ref3;
24
27
  return warning && 'color: var(--font-on-warning);';
25
- }, _ref4 => {
28
+ }}
29
+
30
+ ${_ref4 => {
26
31
  let {
27
32
  danger
28
33
  } = _ref4;
29
34
  return danger && 'color: var(--font-on-danger);';
30
- });
35
+ }}
36
+ `;
31
37
  var _default = exports.default = colorOnBackground;
@@ -5,9 +5,26 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _styledComponents = require("styled-components");
8
- var _templateObject;
9
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
10
8
  const inputPlaceholder = function () {
11
- return (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ::placeholder {\n ", "\n }\n\n ::-moz-placeholder {\n ", "\n opacity: 1;\n }\n\n // Internet Explorer 10+\n :-ms-input-placeholder {\n ", "\n }\n\n // Safari and Chrome\n ::-webkit-input-placeholder {\n ", "\n }\n "])), (0, _styledComponents.css)(...arguments), (0, _styledComponents.css)(...arguments), (0, _styledComponents.css)(...arguments), (0, _styledComponents.css)(...arguments));
9
+ return (0, _styledComponents.css)`
10
+ ::placeholder {
11
+ ${(0, _styledComponents.css)(...arguments)}
12
+ }
13
+
14
+ ::-moz-placeholder {
15
+ ${(0, _styledComponents.css)(...arguments)}
16
+ opacity: 1;
17
+ }
18
+
19
+ // Internet Explorer 10+
20
+ :-ms-input-placeholder {
21
+ ${(0, _styledComponents.css)(...arguments)}
22
+ }
23
+
24
+ // Safari and Chrome
25
+ ::-webkit-input-placeholder {
26
+ ${(0, _styledComponents.css)(...arguments)}
27
+ }
28
+ `;
12
29
  };
13
30
  var _default = exports.default = inputPlaceholder;
@@ -6,13 +6,15 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _styledComponents = require("styled-components");
8
8
  var _breakpoint = _interopRequireDefault(require("../config/breakpoint.style"));
9
- var _templateObject;
10
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
12
10
  // Iterate through the breakpoint and create a media template
13
11
  const media = Object.keys(_breakpoint.default).reduce((func, label) => {
14
12
  func[label] = function () {
15
- return (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n @media (max-width: ", "px) {\n ", "\n }\n "])), _breakpoint.default[label], (0, _styledComponents.css)(...arguments));
13
+ return (0, _styledComponents.css)`
14
+ @media (max-width: ${_breakpoint.default[label]}px) {
15
+ ${(0, _styledComponents.css)(...arguments)}
16
+ }
17
+ `;
16
18
  };
17
19
  return func;
18
20
  }, {});
@@ -5,22 +5,26 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _styledComponents = require("styled-components");
8
- var _templateObject;
9
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
10
- const rounded = (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
8
+ const rounded = (0, _styledComponents.css)`
9
+ ${_ref => {
11
10
  let {
12
11
  roundedS
13
12
  } = _ref;
14
13
  return roundedS && 'border-radius: var(--border-radius-s);';
15
- }, _ref2 => {
14
+ }}
15
+
16
+ ${_ref2 => {
16
17
  let {
17
18
  rounded
18
19
  } = _ref2;
19
20
  return rounded && 'border-radius: var(--border-radius);';
20
- }, _ref3 => {
21
+ }}
22
+
23
+ ${_ref3 => {
21
24
  let {
22
25
  roundedCircle
23
26
  } = _ref3;
24
27
  return roundedCircle && 'border-radius: var(--border-radius-round);';
25
- });
28
+ }}
29
+ `;
26
30
  var _default = exports.default = rounded;
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _styledComponents = require("styled-components");
8
- var _templateObject;
9
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
10
8
  const scrollbar = _ref => {
11
9
  let {
12
10
  size
@@ -17,6 +15,18 @@ const scrollbar = _ref => {
17
15
  scrollbarWidth = '24px';
18
16
  thumbWidth = '8px';
19
17
  }
20
- return (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n &::-webkit-scrollbar {\n width: ", ";\n height: ", ";\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: var(--color-scroll-bar);\n background-clip: padding-box;\n border: ", " solid transparent;\n border-radius: var(--border-radius);\n }\n "])), scrollbarWidth, scrollbarWidth, thumbWidth);
18
+ return (0, _styledComponents.css)`
19
+ &::-webkit-scrollbar {
20
+ width: ${scrollbarWidth};
21
+ height: ${scrollbarWidth};
22
+ }
23
+
24
+ &::-webkit-scrollbar-thumb {
25
+ background-color: var(--color-scroll-bar);
26
+ background-clip: padding-box;
27
+ border: ${thumbWidth} solid transparent;
28
+ border-radius: var(--border-radius);
29
+ }
30
+ `;
21
31
  };
22
32
  var _default = exports.default = scrollbar;
@@ -4,11 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
10
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
11
- function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
12
7
  // Currently, some style is all same for all viewport size
13
8
  // Common color style
14
9
  const colorStyle = {
@@ -50,10 +45,12 @@ const fontStyle = {
50
45
 
51
46
  // Theme stylesheet
52
47
  const darkTheme = {
53
- desktop: _objectSpread(_objectSpread(_objectSpread({}, fontStyle), colorStyle), {}, {
48
+ desktop: {
49
+ ...fontStyle,
50
+ ...colorStyle,
54
51
  boxShadow: '0px 0px 8px rgba(91, 95, 111, 0.5)',
55
52
  borderColor: colorStyle.colorGrey,
56
- borderColorTransparent: "".concat(colorStyle.colorGrey, "80"),
53
+ borderColorTransparent: `${colorStyle.colorGrey}80`,
57
54
  borderWidth: '1px',
58
55
  borderRadiusS: '0.5rem',
59
56
  borderRadius: '1rem',
@@ -63,11 +60,13 @@ const darkTheme = {
63
60
  spacerS: '1rem',
64
61
  spacer: '1.5rem',
65
62
  spacerL: '2rem'
66
- }),
67
- tablet: _objectSpread(_objectSpread(_objectSpread({}, fontStyle), colorStyle), {}, {
63
+ },
64
+ tablet: {
65
+ ...fontStyle,
66
+ ...colorStyle,
68
67
  boxShadow: '0px 0px 8px rgba(91, 95, 111, 0.5)',
69
68
  borderColor: colorStyle.colorGrey,
70
- borderColorTransparent: "".concat(colorStyle.colorGrey, "80"),
69
+ borderColorTransparent: `${colorStyle.colorGrey}80`,
71
70
  borderWidth: '1px',
72
71
  borderRadiusS: '0.5rem',
73
72
  borderRadius: '1rem',
@@ -77,11 +76,13 @@ const darkTheme = {
77
76
  spacerS: '0.75rem',
78
77
  spacer: '1rem',
79
78
  spacerL: '1.25rem'
80
- }),
81
- mobile: _objectSpread(_objectSpread(_objectSpread({}, fontStyle), colorStyle), {}, {
79
+ },
80
+ mobile: {
81
+ ...fontStyle,
82
+ ...colorStyle,
82
83
  boxShadow: '0px 0px 8px rgba(91, 95, 111, 0.5)',
83
84
  borderColor: colorStyle.colorGrey,
84
- borderColorTransparent: "".concat(colorStyle.colorGrey, "80"),
85
+ borderColorTransparent: `${colorStyle.colorGrey}80`,
85
86
  borderWidth: '1px',
86
87
  borderRadiusS: '0.5rem',
87
88
  borderRadius: '1rem',
@@ -91,6 +92,6 @@ const darkTheme = {
91
92
  spacerS: '0.75rem',
92
93
  spacer: '1rem',
93
94
  spacerL: '1.25rem'
94
- })
95
+ }
95
96
  };
96
97
  var _default = exports.default = darkTheme;
@@ -4,11 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
10
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
11
- function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
12
7
  // Currently, some style is all same for all viewport size
13
8
  // Common color style
14
9
  const colorStyle = {
@@ -50,10 +45,12 @@ const fontStyle = {
50
45
 
51
46
  // Theme stylesheet
52
47
  const lightTheme = {
53
- desktop: _objectSpread(_objectSpread(_objectSpread({}, fontStyle), colorStyle), {}, {
48
+ desktop: {
49
+ ...fontStyle,
50
+ ...colorStyle,
54
51
  boxShadow: '0px 0px 8px rgba(91, 95, 111, 0.5)',
55
52
  borderColor: colorStyle.colorGrey,
56
- borderColorTransparent: "".concat(colorStyle.colorGrey, "80"),
53
+ borderColorTransparent: `${colorStyle.colorGrey}80`,
57
54
  borderWidth: '1px',
58
55
  borderRadiusS: '0.5rem',
59
56
  borderRadius: '1rem',
@@ -63,11 +60,13 @@ const lightTheme = {
63
60
  spacerS: '1rem',
64
61
  spacer: '1.5rem',
65
62
  spacerL: '2rem'
66
- }),
67
- tablet: _objectSpread(_objectSpread(_objectSpread({}, fontStyle), colorStyle), {}, {
63
+ },
64
+ tablet: {
65
+ ...fontStyle,
66
+ ...colorStyle,
68
67
  boxShadow: '0px 0px 8px rgba(91, 95, 111, 0.5)',
69
68
  borderColor: colorStyle.colorGrey,
70
- borderColorTransparent: "".concat(colorStyle.colorGrey, "80"),
69
+ borderColorTransparent: `${colorStyle.colorGrey}80`,
71
70
  borderWidth: '1px',
72
71
  borderRadiusS: '0.5rem',
73
72
  borderRadius: '1rem',
@@ -77,11 +76,13 @@ const lightTheme = {
77
76
  spacerS: '0.75rem',
78
77
  spacer: '1rem',
79
78
  spacerL: '1.25rem'
80
- }),
81
- mobile: _objectSpread(_objectSpread(_objectSpread({}, fontStyle), colorStyle), {}, {
79
+ },
80
+ mobile: {
81
+ ...fontStyle,
82
+ ...colorStyle,
82
83
  boxShadow: '0px 0px 8px rgba(91, 95, 111, 0.5)',
83
84
  borderColor: colorStyle.colorGrey,
84
- borderColorTransparent: "".concat(colorStyle.colorGrey, "80"),
85
+ borderColorTransparent: `${colorStyle.colorGrey}80`,
85
86
  borderWidth: '1px',
86
87
  borderRadiusS: '0.5rem',
87
88
  borderRadius: '1rem',
@@ -91,6 +92,6 @@ const lightTheme = {
91
92
  spacerS: '0.75rem',
92
93
  spacer: '1rem',
93
94
  spacerL: '1.25rem'
94
- })
95
+ }
95
96
  };
96
97
  var _default = exports.default = lightTheme;
@@ -4,11 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
10
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
11
- function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
12
7
  // Currently, some style is all same for all viewport size
13
8
  // Common color style
14
9
  const colorStyle = {
@@ -50,10 +45,12 @@ const fontStyle = {
50
45
 
51
46
  // Theme stylesheet
52
47
  const whiteTheme = {
53
- desktop: _objectSpread(_objectSpread(_objectSpread({}, fontStyle), colorStyle), {}, {
48
+ desktop: {
49
+ ...fontStyle,
50
+ ...colorStyle,
54
51
  boxShadow: '0px 0px 8px rgba(91, 95, 111, 0.5)',
55
52
  borderColor: colorStyle.colorGrey,
56
- borderColorTransparent: "".concat(colorStyle.colorGrey, "80"),
53
+ borderColorTransparent: `${colorStyle.colorGrey}80`,
57
54
  borderWidth: '1px',
58
55
  borderRadiusS: '0.5rem',
59
56
  borderRadius: '1rem',
@@ -63,11 +60,13 @@ const whiteTheme = {
63
60
  spacerS: '1rem',
64
61
  spacer: '1.5rem',
65
62
  spacerL: '2rem'
66
- }),
67
- tablet: _objectSpread(_objectSpread(_objectSpread({}, fontStyle), colorStyle), {}, {
63
+ },
64
+ tablet: {
65
+ ...fontStyle,
66
+ ...colorStyle,
68
67
  boxShadow: '0px 0px 8px rgba(91, 95, 111, 0.5)',
69
68
  borderColor: colorStyle.colorGrey,
70
- borderColorTransparent: "".concat(colorStyle.colorGrey, "80"),
69
+ borderColorTransparent: `${colorStyle.colorGrey}80`,
71
70
  borderWidth: '1px',
72
71
  borderRadiusS: '0.5rem',
73
72
  borderRadius: '1rem',
@@ -77,11 +76,13 @@ const whiteTheme = {
77
76
  spacerS: '0.75rem',
78
77
  spacer: '1rem',
79
78
  spacerL: '1.25rem'
80
- }),
81
- mobile: _objectSpread(_objectSpread(_objectSpread({}, fontStyle), colorStyle), {}, {
79
+ },
80
+ mobile: {
81
+ ...fontStyle,
82
+ ...colorStyle,
82
83
  boxShadow: '0px 0px 8px rgba(91, 95, 111, 0.5)',
83
84
  borderColor: colorStyle.colorGrey,
84
- borderColorTransparent: "".concat(colorStyle.colorGrey, "80"),
85
+ borderColorTransparent: `${colorStyle.colorGrey}80`,
85
86
  borderWidth: '1px',
86
87
  borderRadiusS: '0.5rem',
87
88
  borderRadius: '1rem',
@@ -91,6 +92,6 @@ const whiteTheme = {
91
92
  spacerS: '0.75rem',
92
93
  spacer: '1rem',
93
94
  spacerL: '1.25rem'
94
- })
95
+ }
95
96
  };
96
97
  var _default = exports.default = whiteTheme;