@cashub/ui 0.21.0 → 0.21.1

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 (229) hide show
  1. package/Tab/Tab.js +9 -13
  2. package/Tab/TabList.js +14 -32
  3. package/Tab/TabPanel.js +21 -58
  4. package/Tab/TabTab.js +20 -40
  5. package/Tab/index.js +2 -10
  6. package/Tab/subComponent/TabContext.js +2 -5
  7. package/animate/Collapse.js +26 -53
  8. package/animate/Loader.js +21 -26
  9. package/animate/NumberCounter.js +22 -44
  10. package/animate/PulseRing.js +9 -21
  11. package/animate/Spinner.js +2 -10
  12. package/animate/index.js +5 -11
  13. package/backdrop/BaseBackdrop.js +2 -9
  14. package/backdrop/LoadingBackdrop.js +2 -9
  15. package/backdrop/ModalBackdrop.js +2 -9
  16. package/backdrop/index.js +3 -7
  17. package/badge/Badge.js +2 -11
  18. package/badge/BadgeDot.js +2 -10
  19. package/badge/BadgeFill.js +15 -20
  20. package/badge/BadgeWithText.js +6 -13
  21. package/badge/index.js +4 -9
  22. package/billing/BarChart.js +10 -17
  23. package/billing/Grid.js +11 -15
  24. package/billing/Header2.js +6 -9
  25. package/billing/Header3.js +9 -16
  26. package/billing/Paragraph.js +8 -14
  27. package/billing/ParagraphGroup.js +6 -9
  28. package/billing/ParagraphText.js +7 -12
  29. package/billing/Section.js +13 -23
  30. package/billing/SectionBody.js +5 -8
  31. package/billing/SectionHeader.js +7 -12
  32. package/breadcrumb/Breadcrumb.js +11 -21
  33. package/breadcrumb/index.js +1 -3
  34. package/button/Button.js +41 -38
  35. package/button/ButtonGroup.js +21 -18
  36. package/button/IconButton.js +29 -29
  37. package/button/ScrollToTopButton.js +12 -39
  38. package/button/index.js +4 -9
  39. package/callout/Callout.js +13 -26
  40. package/callout/index.js +1 -3
  41. package/chart/BarChart.js +28 -53
  42. package/chart/DoughnutChart.js +23 -62
  43. package/chart/LineChart.js +33 -55
  44. package/chart/SingleBarChart.js +11 -17
  45. package/chart/index.js +5 -12
  46. package/chart/utils/customTooltip.js +26 -43
  47. package/chart/utils/htmlLegendPlugin.js +24 -30
  48. package/chart/utils/index.js +3 -7
  49. package/chart/utils/padEmptyChartBar.js +24 -22
  50. package/container/FlexContainer.js +9 -12
  51. package/container/index.js +1 -3
  52. package/cropper/Cropper.js +21 -34
  53. package/cropper/CropperModalHandler.js +15 -21
  54. package/cropper/index.js +2 -5
  55. package/cropper/subComponent/CropImageModal.js +23 -58
  56. package/datetimePicker/DatePicker.js +103 -217
  57. package/datetimePicker/DatePickerV2.js +116 -221
  58. package/datetimePicker/DatetimePicker.js +27 -48
  59. package/datetimePicker/DatetimePickerV2.js +115 -231
  60. package/datetimePicker/TimeInput.js +9 -22
  61. package/datetimePicker/TimePicker.js +94 -151
  62. package/datetimePicker/TimePickerStyle.js +2 -9
  63. package/datetimePicker/accordion/Month.js +70 -90
  64. package/datetimePicker/accordion/Year.js +91 -135
  65. package/datetimePicker/hooks/index.js +3 -7
  66. package/datetimePicker/hooks/useChangeNumber.js +14 -27
  67. package/datetimePicker/hooks/useDecrease.js +19 -35
  68. package/datetimePicker/hooks/useIncrease.js +19 -35
  69. package/datetimePicker/index.js +7 -15
  70. package/datetimePicker/provider/constant.js +2 -3
  71. package/datetimePicker/subComponent/Accordion.js +108 -158
  72. package/datetimePicker/subComponent/CustomTimeInput.js +18 -48
  73. package/datetimePicker/subComponent/DateTimePickerContext.js +2 -5
  74. package/datetimePicker/utils/GMTDate.js +3 -7
  75. package/datetimePicker/utils/pad.js +2 -6
  76. package/datetimePicker/utils/toUTC0.js +3 -6
  77. package/descriptionList/DescriptionDetail.js +5 -10
  78. package/descriptionList/DescriptionList.js +5 -10
  79. package/descriptionList/DescriptionTerm.js +2 -9
  80. package/descriptionList/index.js +3 -7
  81. package/divider/Divider.js +9 -12
  82. package/divider/index.js +1 -3
  83. package/dropdown/Dropdown.js +28 -65
  84. package/dropdown/DropdownButtonOption.js +2 -9
  85. package/dropdown/DropdownContent.js +33 -64
  86. package/dropdown/DropdownDivOption.js +2 -9
  87. package/dropdown/DropdownItem.js +10 -16
  88. package/dropdown/DropdownLinkOption.js +2 -9
  89. package/dropdown/DropdownToggle.js +18 -38
  90. package/dropdown/index.js +6 -17
  91. package/dropdown/subComponent/DropdownContext.js +2 -5
  92. package/dropzone/FileDropzone.js +148 -302
  93. package/dropzone/ImageDropzone.js +96 -171
  94. package/dropzone/index.js +2 -5
  95. package/dropzone/subComponent/Message.js +7 -14
  96. package/figure/IconFigure.js +9 -16
  97. package/figure/ImageFigure.js +11 -17
  98. package/figure/index.js +2 -5
  99. package/file/HiddenFileInput.js +5 -14
  100. package/file/index.js +1 -3
  101. package/form/Checkbox.js +34 -43
  102. package/form/FormItem.js +2 -9
  103. package/form/Input.js +13 -15
  104. package/form/Label.js +10 -13
  105. package/form/MutedText.js +5 -10
  106. package/form/RadioButton.js +20 -32
  107. package/form/Searchbox.js +21 -65
  108. package/form/Slider.js +14 -0
  109. package/form/SwitchButton.js +34 -39
  110. package/form/Textarea.js +2 -11
  111. package/form/index.js +9 -19
  112. package/grid/Column.js +17 -17
  113. package/grid/Grid.js +13 -14
  114. package/grid/index.js +2 -5
  115. package/heading/Heading1.js +5 -10
  116. package/heading/Heading2.js +9 -12
  117. package/heading/Heading3.js +21 -18
  118. package/heading/index.js +3 -7
  119. package/helmet/Helmet.js +6 -9
  120. package/helmet/index.js +2 -5
  121. package/iconbox/ApplicationIconBox.js +25 -31
  122. package/iconbox/IconBox.js +11 -24
  123. package/iconbox/IconBoxV2.js +14 -26
  124. package/iconbox/index.js +3 -7
  125. package/iconbox/subComponent/IconBoxFigure.js +25 -20
  126. package/iconbox/subComponent/IconBoxImage.js +15 -18
  127. package/image/ImageFluid.js +2 -10
  128. package/image/UploadImage.js +65 -113
  129. package/image/index.js +2 -5
  130. package/index.js +44 -130
  131. package/jsoneditor/JsonEditor.js +10 -32
  132. package/jsoneditor/index.js +1 -3
  133. package/keyframe/Pulse.js +2 -7
  134. package/keyframe/Spin.js +2 -7
  135. package/link/LinkSpan.js +22 -35
  136. package/link/index.js +1 -3
  137. package/map/GoogleMap.js +122 -175
  138. package/map/GoogleReverseGeolocation.js +79 -186
  139. package/map/LeafletMap.js +78 -132
  140. package/map/LeafletReverseGeolocation.js +49 -121
  141. package/map/index.js +4 -9
  142. package/map/subComponent/BasicLeafletMap.js +8 -14
  143. package/map/subComponent/GoogleMapContainer.js +5 -10
  144. package/map/subComponent/GoogleMapPopup.js +66 -123
  145. package/map/subComponent/GoogleMapWrapper.js +13 -32
  146. package/map/subComponent/GoogleMarkerSpiderfier.js +14 -24
  147. package/map/subComponent/LeafletDrawControl.js +47 -84
  148. package/map/subComponent/LeafletMapContainer.js +5 -10
  149. package/map/subComponent/MapSearchBoxControl.js +24 -70
  150. package/modal/StateModal.js +41 -100
  151. package/modal/TitleModal.js +89 -190
  152. package/modal/index.js +2 -5
  153. package/package.json +1 -1
  154. package/paginate/Paginate.js +40 -54
  155. package/paginate/index.js +1 -3
  156. package/popover/Popover.js +39 -87
  157. package/popover/index.js +1 -3
  158. package/qrcode/QRCode.js +10 -23
  159. package/qrcode/QRCodeContainter.js +8 -16
  160. package/qrcode/index.js +2 -5
  161. package/ribbon/Ribbon.js +4 -15
  162. package/ribbon/index.js +1 -3
  163. package/section/Section.js +57 -39
  164. package/section/SectionBody.js +15 -22
  165. package/section/SectionHeader.js +27 -27
  166. package/section/SectionToolbar.js +2 -9
  167. package/section/SectionToolbarItem.js +2 -9
  168. package/section/index.js +5 -11
  169. package/select/InputSelect.js +103 -215
  170. package/select/Select.js +204 -362
  171. package/select/index.js +2 -5
  172. package/select/subComponent/ListBox.js +9 -12
  173. package/select/subComponent/Option.js +8 -16
  174. package/select/subComponent/OptionGroup.js +2 -9
  175. package/select/subComponent/Options.js +5 -11
  176. package/select/subComponent/SearchBox.js +9 -29
  177. package/select/subComponent/SelectedMultiple.js +8 -16
  178. package/select/subComponent/SelectedSingle.js +2 -9
  179. package/styles/GlobalStyle.js +169 -91
  180. package/styles/config/breakpoint.style.js +2 -3
  181. package/styles/config/header.style.js +2 -3
  182. package/styles/config/sidebar.style.js +2 -3
  183. package/styles/index.js +2 -5
  184. package/styles/mixin/backgroundColor.js +17 -14
  185. package/styles/mixin/borderColor.js +17 -14
  186. package/styles/mixin/color.js +17 -14
  187. package/styles/mixin/colorOnBackground.js +17 -14
  188. package/styles/mixin/inputPlaceholder.js +3 -9
  189. package/styles/mixin/media.js +3 -11
  190. package/styles/mixin/rounded.js +13 -12
  191. package/styles/mixin/scrollbar.js +7 -13
  192. package/styles/theme/dark.theme.js +20 -20
  193. package/styles/theme/light.theme.js +20 -20
  194. package/styles/theme/white.theme.js +20 -20
  195. package/styles/themes.js +2 -8
  196. package/table/GridTable.js +105 -143
  197. package/table/ImageBox.js +8 -18
  198. package/table/PermissionTable.js +25 -25
  199. package/table/Table.js +137 -153
  200. package/table/__mock__/columns.js +2 -3
  201. package/table/__mock__/data.js +2 -3
  202. package/table/hooks/index.js +2 -5
  203. package/table/hooks/useCalculateDataRange.js +9 -36
  204. package/table/hooks/useGenerateSort.js +6 -17
  205. package/table/index.js +4 -9
  206. package/table/subComponent/BaseTableHeadCell.js +15 -21
  207. package/table/subComponent/GridTableFooter.js +5 -10
  208. package/table/subComponent/GridTableHeadCell.js +5 -10
  209. package/table/subComponent/Resizer.js +17 -44
  210. package/table/subComponent/TableFooter.js +5 -10
  211. package/table/subComponent/TableFooterInfo.js +2 -9
  212. package/table/subComponent/TableFooterPager.js +5 -12
  213. package/table/subComponent/TableHeadCell.js +2 -9
  214. package/table/subComponent/TableSort.js +13 -19
  215. package/tagify/TagifyStyle.js +2 -9
  216. package/tagify/Tags.js +15 -37
  217. package/tagify/index.js +2 -5
  218. package/text/Paragraph.js +25 -20
  219. package/text/index.js +1 -3
  220. package/timeline/Timeline.js +28 -37
  221. package/timeline/index.js +1 -3
  222. package/toast/CustomToastContainer.js +2 -9
  223. package/toast/MessageContainer.js +9 -18
  224. package/toast/index.js +3 -8
  225. package/toast/show.js +18 -28
  226. package/tooltip/Tooltip.js +48 -97
  227. package/tooltip/index.js +1 -3
  228. package/wizard/Wizard.js +63 -133
  229. package/wizard/index.js +1 -3
package/form/index.js CHANGED
@@ -5,75 +5,65 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  Object.defineProperty(exports, "Checkbox", {
7
7
  enumerable: true,
8
- get: function get() {
8
+ get: function () {
9
9
  return _Checkbox.default;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "FormItem", {
13
13
  enumerable: true,
14
- get: function get() {
14
+ get: function () {
15
15
  return _FormItem.default;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "Input", {
19
19
  enumerable: true,
20
- get: function get() {
20
+ get: function () {
21
21
  return _Input.default;
22
22
  }
23
23
  });
24
24
  Object.defineProperty(exports, "Label", {
25
25
  enumerable: true,
26
- get: function get() {
26
+ get: function () {
27
27
  return _Label.default;
28
28
  }
29
29
  });
30
30
  Object.defineProperty(exports, "MutedText", {
31
31
  enumerable: true,
32
- get: function get() {
32
+ get: function () {
33
33
  return _MutedText.default;
34
34
  }
35
35
  });
36
36
  Object.defineProperty(exports, "RadioButton", {
37
37
  enumerable: true,
38
- get: function get() {
38
+ get: function () {
39
39
  return _RadioButton.default;
40
40
  }
41
41
  });
42
42
  Object.defineProperty(exports, "Searchbox", {
43
43
  enumerable: true,
44
- get: function get() {
44
+ get: function () {
45
45
  return _Searchbox.default;
46
46
  }
47
47
  });
48
48
  Object.defineProperty(exports, "SwitchButton", {
49
49
  enumerable: true,
50
- get: function get() {
50
+ get: function () {
51
51
  return _SwitchButton.default;
52
52
  }
53
53
  });
54
54
  Object.defineProperty(exports, "Textarea", {
55
55
  enumerable: true,
56
- get: function get() {
56
+ get: function () {
57
57
  return _Textarea.default;
58
58
  }
59
59
  });
60
-
61
60
  var _Checkbox = _interopRequireDefault(require("./Checkbox"));
62
-
63
61
  var _FormItem = _interopRequireDefault(require("./FormItem"));
64
-
65
62
  var _Input = _interopRequireDefault(require("./Input"));
66
-
67
63
  var _Label = _interopRequireDefault(require("./Label"));
68
-
69
64
  var _MutedText = _interopRequireDefault(require("./MutedText"));
70
-
71
65
  var _RadioButton = _interopRequireDefault(require("./RadioButton"));
72
-
73
66
  var _Searchbox = _interopRequireDefault(require("./Searchbox"));
74
-
75
67
  var _SwitchButton = _interopRequireDefault(require("./SwitchButton"));
76
-
77
68
  var _Textarea = _interopRequireDefault(require("./Textarea"));
78
-
79
69
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
package/grid/Column.js CHANGED
@@ -4,30 +4,30 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
-
10
8
  var _media = _interopRequireDefault(require("../styles/mixin/media"));
11
-
12
9
  var _templateObject, _templateObject2, _templateObject3, _templateObject4;
13
-
14
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
16
11
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
17
-
18
- var Column = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 0 calc(var(--spacing) / 2);\n grid-column-end: span ", ";\n\n ", "\n\n ", "\n\n ", "\n"])), function (_ref) {
19
- var desktop = _ref.desktop;
12
+ const Column = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 0 calc(var(--spacing) / 2);\n grid-column-end: span ", ";\n\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
13
+ let {
14
+ desktop
15
+ } = _ref;
20
16
  return desktop;
21
- }, function (_ref2) {
22
- var laptop = _ref2.laptop;
17
+ }, _ref2 => {
18
+ let {
19
+ laptop
20
+ } = _ref2;
23
21
  return laptop && _media.default.laptop(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n grid-column-end: span ", ";\n "])), laptop);
24
- }, function (_ref3) {
25
- var tablet = _ref3.tablet;
22
+ }, _ref3 => {
23
+ let {
24
+ tablet
25
+ } = _ref3;
26
26
  return tablet && _media.default.tablet(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n grid-column-end: span ", ";\n "])), tablet);
27
- }, function (_ref4) {
28
- var mobile = _ref4.mobile;
27
+ }, _ref4 => {
28
+ let {
29
+ mobile
30
+ } = _ref4;
29
31
  return mobile && _media.default.mobile(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n grid-column-end: span ", ";\n "])), mobile);
30
32
  });
31
-
32
- var _default = Column;
33
- exports.default = _default;
33
+ var _default = exports.default = Column;
package/grid/Grid.js CHANGED
@@ -4,25 +4,24 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
-
10
8
  var _templateObject;
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
10
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
15
-
16
- var Grid = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: grid;\n grid-template-columns: repeat(", ", minmax(0, 1fr));\n margin: 0 calc(var(--spacing) * -1 / 2);\n\n > * {\n grid-column-end: span ", ";\n }\n\n ", "\n"])), function (_ref) {
17
- var columns = _ref.columns;
11
+ const Grid = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: grid;\n grid-template-columns: repeat(", ", minmax(0, 1fr));\n margin: 0 calc(var(--spacing) * -1 / 2);\n\n > * {\n grid-column-end: span ", ";\n }\n\n ", "\n"])), _ref => {
12
+ let {
13
+ columns
14
+ } = _ref;
18
15
  return columns;
19
- }, function (_ref2) {
20
- var columns = _ref2.columns;
16
+ }, _ref2 => {
17
+ let {
18
+ columns
19
+ } = _ref2;
21
20
  return columns;
22
- }, function (_ref3) {
23
- var alignCenter = _ref3.alignCenter;
21
+ }, _ref3 => {
22
+ let {
23
+ alignCenter
24
+ } = _ref3;
24
25
  return alignCenter && 'align-items: center;';
25
26
  });
26
-
27
- var _default = Grid;
28
- exports.default = _default;
27
+ var _default = exports.default = Grid;
package/grid/index.js CHANGED
@@ -5,19 +5,16 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  Object.defineProperty(exports, "Column", {
7
7
  enumerable: true,
8
- get: function get() {
8
+ get: function () {
9
9
  return _Column.default;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "Grid", {
13
13
  enumerable: true,
14
- get: function get() {
14
+ get: function () {
15
15
  return _Grid.default;
16
16
  }
17
17
  });
18
-
19
18
  var _Grid = _interopRequireDefault(require("./Grid"));
20
-
21
19
  var _Column = _interopRequireDefault(require("./Column"));
22
-
23
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -4,19 +4,14 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
-
10
8
  var _templateObject;
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
10
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
15
-
16
- var Heading1 = _styledComponents.default.h1(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-h1);\n word-break: break-word;\n white-space: pre-wrap;\n\n ", "\n"])), function (_ref) {
17
- var center = _ref.center;
11
+ const Heading1 = _styledComponents.default.h1(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-h1);\n word-break: break-word;\n white-space: pre-wrap;\n\n ", "\n"])), _ref => {
12
+ let {
13
+ center
14
+ } = _ref;
18
15
  return center && 'text-align: center;';
19
16
  });
20
-
21
- var _default = Heading1;
22
- exports.default = _default;
17
+ var _default = exports.default = Heading1;
@@ -4,22 +4,19 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
-
10
8
  var _templateObject;
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
10
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
15
-
16
- var Heading2 = _styledComponents.default.h2(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-h2);\n word-break: break-word;\n white-space: pre-wrap;\n\n ", "\n\n ", "\n"])), function (_ref) {
17
- var center = _ref.center;
11
+ const Heading2 = _styledComponents.default.h2(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-h2);\n word-break: break-word;\n white-space: pre-wrap;\n\n ", "\n\n ", "\n"])), _ref => {
12
+ let {
13
+ center
14
+ } = _ref;
18
15
  return center && 'text-align: center;';
19
- }, function (_ref2) {
20
- var marginBottom = _ref2.marginBottom;
16
+ }, _ref2 => {
17
+ let {
18
+ marginBottom
19
+ } = _ref2;
21
20
  return marginBottom && 'margin-bottom: var(--spacing);';
22
21
  });
23
-
24
- var _default = Heading2;
25
- exports.default = _default;
22
+ var _default = exports.default = Heading2;
@@ -4,31 +4,34 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
-
10
8
  var _templateObject;
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
10
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
15
-
16
- var Heading3 = _styledComponents.default.h3(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-h3);\n word-break: break-word;\n white-space: pre-wrap;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), function (_ref) {
17
- var center = _ref.center;
11
+ const Heading3 = _styledComponents.default.h3(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-h3);\n word-break: break-word;\n white-space: pre-wrap;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
12
+ let {
13
+ center
14
+ } = _ref;
18
15
  return center && 'text-align: center;';
19
- }, function (_ref2) {
20
- var fontWeightNormal = _ref2.fontWeightNormal;
16
+ }, _ref2 => {
17
+ let {
18
+ fontWeightNormal
19
+ } = _ref2;
21
20
  return fontWeightNormal && 'font-weight: normal;';
22
- }, function (_ref3) {
23
- var marginBottomS = _ref3.marginBottomS;
21
+ }, _ref3 => {
22
+ let {
23
+ marginBottomS
24
+ } = _ref3;
24
25
  return marginBottomS && 'margin-bottom: var(--spacing-s);';
25
- }, function (_ref4) {
26
- var marginBottomXS = _ref4.marginBottomXS;
26
+ }, _ref4 => {
27
+ let {
28
+ marginBottomXS
29
+ } = _ref4;
27
30
  return marginBottomXS && 'margin-bottom: var(--spacing-xs);';
28
- }, function (_ref5) {
29
- var paddingBottomXS = _ref5.paddingBottomXS;
31
+ }, _ref5 => {
32
+ let {
33
+ paddingBottomXS
34
+ } = _ref5;
30
35
  return paddingBottomXS && 'padding-bottom: var(--spacing-xs);';
31
36
  });
32
-
33
- var _default = Heading3;
34
- exports.default = _default;
37
+ var _default = exports.default = Heading3;
package/heading/index.js CHANGED
@@ -5,27 +5,23 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  Object.defineProperty(exports, "Heading1", {
7
7
  enumerable: true,
8
- get: function get() {
8
+ get: function () {
9
9
  return _Heading.default;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "Heading2", {
13
13
  enumerable: true,
14
- get: function get() {
14
+ get: function () {
15
15
  return _Heading2.default;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "Heading3", {
19
19
  enumerable: true,
20
- get: function get() {
20
+ get: function () {
21
21
  return _Heading3.default;
22
22
  }
23
23
  });
24
-
25
24
  var _Heading = _interopRequireDefault(require("./Heading1"));
26
-
27
25
  var _Heading2 = _interopRequireDefault(require("./Heading2"));
28
-
29
26
  var _Heading3 = _interopRequireDefault(require("./Heading3"));
30
-
31
27
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
package/helmet/Helmet.js CHANGED
@@ -4,14 +4,13 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _reactHelmetAsync = require("react-helmet-async");
9
-
10
8
  var _jsxRuntime = require("react/jsx-runtime");
11
-
12
- var Helmet = function Helmet(_ref) {
13
- var title = _ref.title,
14
- description = _ref.description;
9
+ const Helmet = _ref => {
10
+ let {
11
+ title,
12
+ description
13
+ } = _ref;
15
14
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactHelmetAsync.Helmet, {
16
15
  children: [title && /*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
17
16
  children: title
@@ -21,6 +20,4 @@ var Helmet = function Helmet(_ref) {
21
20
  })]
22
21
  });
23
22
  };
24
-
25
- var _default = Helmet;
26
- exports.default = _default;
23
+ var _default = exports.default = Helmet;
package/helmet/index.js CHANGED
@@ -5,19 +5,16 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  Object.defineProperty(exports, "Helmet", {
7
7
  enumerable: true,
8
- get: function get() {
8
+ get: function () {
9
9
  return _Helmet.default;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "HelmetProvider", {
13
13
  enumerable: true,
14
- get: function get() {
14
+ get: function () {
15
15
  return _reactHelmetAsync.HelmetProvider;
16
16
  }
17
17
  });
18
-
19
18
  var _Helmet = _interopRequireDefault(require("./Helmet"));
20
-
21
19
  var _reactHelmetAsync = require("react-helmet-async");
22
-
23
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -4,48 +4,42 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
-
10
8
  var _IconBoxFigure = _interopRequireDefault(require("./subComponent/IconBoxFigure"));
11
-
12
9
  var _IconBoxImage = _interopRequireDefault(require("./subComponent/IconBoxImage"));
13
-
14
10
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
15
-
16
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
12
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
19
-
20
- var ApplicationIconBox = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-bottom: var(--spacing);\n\n ", ";\n"])), function (_ref) {
21
- var clickable = _ref.clickable;
13
+ const ApplicationIconBox = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-bottom: var(--spacing);\n\n ", ";\n"])), _ref => {
14
+ let {
15
+ clickable
16
+ } = _ref;
22
17
  return clickable && 'cursor: pointer';
23
18
  });
24
-
25
- var Body = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n padding-top: var(--spacing-xs);\n border: var(--border-width) solid transparent;\n\n ", "\n ", "\n ", "\n"])), function (_ref2) {
26
- var horizontal = _ref2.horizontal;
19
+ const Body = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n padding-top: var(--spacing-xs);\n border: var(--border-width) solid transparent;\n\n ", "\n ", "\n ", "\n"])), _ref2 => {
20
+ let {
21
+ horizontal
22
+ } = _ref2;
27
23
  return horizontal && 'flex-direction: row;';
28
- }, function (_ref3) {
29
- var alignCenter = _ref3.alignCenter;
24
+ }, _ref3 => {
25
+ let {
26
+ alignCenter
27
+ } = _ref3;
30
28
  return alignCenter && 'text-align: center;';
31
- }, function (_ref4) {
32
- var selected = _ref4.selected;
29
+ }, _ref4 => {
30
+ let {
31
+ selected
32
+ } = _ref4;
33
33
  return selected && "\n border-color: var(--border-color);\n border-radius: var(--border-radius);\n box-shadow: var(--box-shadow);\n ";
34
34
  });
35
-
36
- var Description = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n min-width: 0;\n"])));
37
-
38
- var Title = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n font-weight: var(--font-bold);\n font-size: var(--font-body1);\n margin-bottom: var(--spacing-xs);\n color: var(--font-on-background);\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n\n a {\n color: var(--font-on-background);\n }\n"])));
39
-
40
- var Content = _styledComponents.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-size: var(--font-body1);\n color: var(--font-on-mute);\n margin-bottom: var(--spacing-xs);\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n"])));
41
-
42
- var _default = Object.assign(ApplicationIconBox, {
43
- Body: Body,
44
- Description: Description,
45
- Title: Title,
46
- Content: Content,
35
+ const Description = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n min-width: 0;\n"])));
36
+ const Title = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n font-weight: var(--font-bold);\n font-size: var(--font-body1);\n margin-bottom: var(--spacing-xs);\n color: var(--font-on-background);\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n\n a {\n color: var(--font-on-background);\n }\n"])));
37
+ const Content = _styledComponents.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-size: var(--font-body1);\n color: var(--font-on-mute);\n margin-bottom: var(--spacing-xs);\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n"])));
38
+ var _default = exports.default = Object.assign(ApplicationIconBox, {
39
+ Body,
40
+ Description,
41
+ Title,
42
+ Content,
47
43
  Figure: _IconBoxFigure.default,
48
44
  Image: _IconBoxImage.default
49
- });
50
-
51
- exports.default = _default;
45
+ });
@@ -4,27 +4,20 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
-
10
8
  var _IconBoxFigure = _interopRequireDefault(require("./subComponent/IconBoxFigure"));
11
-
12
9
  var _IconBoxImage = _interopRequireDefault(require("./subComponent/IconBoxImage"));
13
-
14
10
  var _bgChartTriangle = _interopRequireDefault(require("../assets/images/bg-chart-triangle.png"));
15
-
16
11
  var _jsxRuntime = require("react/jsx-runtime");
17
-
18
12
  var _templateObject, _templateObject2, _templateObject3, _templateObject4;
19
-
20
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
-
22
14
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
23
-
24
- var IconBox = function IconBox(_ref) {
25
- var icon = _ref.icon,
26
- title = _ref.title,
27
- children = _ref.children;
15
+ const IconBox = _ref => {
16
+ let {
17
+ icon,
18
+ title,
19
+ children
20
+ } = _ref;
28
21
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Wrapper, {
29
22
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(IconBoxHead, {
30
23
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_IconBoxFigure.default, {
@@ -43,14 +36,8 @@ var IconBox = function IconBox(_ref) {
43
36
  })]
44
37
  });
45
38
  };
46
-
47
- var Wrapper = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n padding: var(--spacing-l);\n margin-bottom: var(--spacing);\n border-radius: var(--border-radius);\n background: var(--color-background2);\n color: var(--font-on-background);\n\n background: var(--color-background2);\n background-image: url(", ");\n background-repeat: no-repeat;\n background-position: right bottom;\n background-size: 30% 70%;\n"])), _bgChartTriangle.default);
48
-
49
- var IconBoxHead = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-bottom: var(--spacing);\n"])));
50
-
51
- var IconBoxTitle = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n font-size: var(--font-h2);\n font-weight: bold;\n word-break: break-all;\n"])));
52
-
53
- var IconBoxBody = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n font-size: var(--font-h1);\n font-weight: bold;\n text-align: center;\n"])));
54
-
55
- var _default = IconBox;
56
- exports.default = _default;
39
+ const Wrapper = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n padding: var(--spacing-l);\n margin-bottom: var(--spacing);\n border-radius: var(--border-radius);\n background: var(--color-background2);\n color: var(--font-on-background);\n\n background: var(--color-background2);\n background-image: url(", ");\n background-repeat: no-repeat;\n background-position: right bottom;\n background-size: 30% 70%;\n"])), _bgChartTriangle.default);
40
+ const IconBoxHead = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-bottom: var(--spacing);\n"])));
41
+ const IconBoxTitle = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n font-size: var(--font-h2);\n font-weight: bold;\n word-break: break-all;\n"])));
42
+ const IconBoxBody = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n font-size: var(--font-h1);\n font-weight: bold;\n text-align: center;\n"])));
43
+ var _default = exports.default = IconBox;
@@ -4,39 +4,27 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
-
10
8
  var _IconBoxFigure = _interopRequireDefault(require("./subComponent/IconBoxFigure"));
11
-
12
9
  var _IconBoxImage = _interopRequireDefault(require("./subComponent/IconBoxImage"));
13
-
14
10
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
15
-
16
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
12
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
19
-
20
- var IconBoxV2 = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: var(--spacing);\n margin-bottom: var(--spacing);\n background: var(--color-background1);\n box-shadow: var(--box-shadow);\n border-radius: var(--border-radius);\n color: var(--font-on-background);\n\n ", "\n"])), function (_ref) {
21
- var fullHeight = _ref.fullHeight;
13
+ const IconBoxV2 = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: var(--spacing);\n margin-bottom: var(--spacing);\n background: var(--color-background1);\n box-shadow: var(--box-shadow);\n border-radius: var(--border-radius);\n color: var(--font-on-background);\n\n ", "\n"])), _ref => {
14
+ let {
15
+ fullHeight
16
+ } = _ref;
22
17
  return fullHeight && 'height: calc(100% - var(--spacing));';
23
18
  });
24
-
25
- var Body = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n"])));
26
-
27
- var Description = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n flex: 1 1 auto;\n font-size: var(--font-body1);\n"])));
28
-
29
- var Info = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n word-break: break-all;\n\n &:not(:last-child) {\n margin-bottom: var(--spacing-s);\n }\n"])));
30
-
31
- var Tool = _styledComponents.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n flex: 0 0 calc(var(--spacing-s) + 36px);\n padding-left: var(--spacing-s);\n\n > *:not(:last-child) {\n margin-bottom: var(--spacing-s);\n }\n"])));
32
-
33
- var _default = Object.assign(IconBoxV2, {
34
- Body: Body,
35
- Description: Description,
36
- Info: Info,
37
- Tool: Tool,
19
+ const Body = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n"])));
20
+ const Description = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n flex: 1 1 auto;\n font-size: var(--font-body1);\n"])));
21
+ const Info = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n word-break: break-all;\n\n &:not(:last-child) {\n margin-bottom: var(--spacing-s);\n }\n"])));
22
+ const Tool = _styledComponents.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n flex: 0 0 calc(var(--spacing-s) + 36px);\n padding-left: var(--spacing-s);\n\n > *:not(:last-child) {\n margin-bottom: var(--spacing-s);\n }\n"])));
23
+ var _default = exports.default = Object.assign(IconBoxV2, {
24
+ Body,
25
+ Description,
26
+ Info,
27
+ Tool,
38
28
  Figure: _IconBoxFigure.default,
39
29
  Image: _IconBoxImage.default
40
- });
41
-
42
- exports.default = _default;
30
+ });
package/iconbox/index.js CHANGED
@@ -5,27 +5,23 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  Object.defineProperty(exports, "ApplicationIconBox", {
7
7
  enumerable: true,
8
- get: function get() {
8
+ get: function () {
9
9
  return _ApplicationIconBox.default;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "IconBox", {
13
13
  enumerable: true,
14
- get: function get() {
14
+ get: function () {
15
15
  return _IconBox.default;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "IconBoxV2", {
19
19
  enumerable: true,
20
- get: function get() {
20
+ get: function () {
21
21
  return _IconBoxV.default;
22
22
  }
23
23
  });
24
-
25
24
  var _ApplicationIconBox = _interopRequireDefault(require("./ApplicationIconBox"));
26
-
27
25
  var _IconBox = _interopRequireDefault(require("./IconBox"));
28
-
29
26
  var _IconBoxV = _interopRequireDefault(require("./IconBoxV2"));
30
-
31
27
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }