@cashub/ui 0.48.14 → 0.48.16

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 (177) hide show
  1. package/Tab/TabList.js +26 -38
  2. package/Tab/TabPanel.js +20 -13
  3. package/Tab/TabTab.js +25 -37
  4. package/Tab/index.js +6 -3
  5. package/Tab/subComponent/TabListV2.js +18 -11
  6. package/Tab/subComponent/TabPanelV2.js +20 -16
  7. package/Tab/subComponent/TabTabV2.js +21 -33
  8. package/VerticalTab/TabList.js +18 -13
  9. package/VerticalTab/TabPanel.js +20 -16
  10. package/VerticalTab/TabTab.js +21 -40
  11. package/VerticalTab/VerticalTab.js +4 -8
  12. package/alert/Alert.js +5 -12
  13. package/animate/Collapse.js +7 -5
  14. package/animate/Loader.js +7 -18
  15. package/animate/PulseRing.js +5 -18
  16. package/animate/Spinner.js +3 -8
  17. package/backdrop/BaseBackdrop.js +3 -9
  18. package/backdrop/LoadingBackdrop.js +3 -7
  19. package/backdrop/ModalBackdrop.js +3 -5
  20. package/badge/Badge.js +3 -15
  21. package/badge/BadgeDot.js +3 -8
  22. package/badge/BadgeFill.js +6 -24
  23. package/badge/BadgeWithText.js +3 -13
  24. package/billing/BarChart.js +1 -1
  25. package/breadcrumb/Breadcrumb.js +3 -42
  26. package/button/Button.js +20 -88
  27. package/button/ButtonGroup.js +9 -33
  28. package/button/IconButton.js +10 -37
  29. package/button/ScrollToTopButton.js +4 -12
  30. package/callout/Callout.js +8 -37
  31. package/chart/BarChart.js +21 -13
  32. package/chart/DoughnutChart.js +20 -34
  33. package/chart/LineChart.js +21 -13
  34. package/chart/SingleBarChart.js +5 -22
  35. package/chart/utils/centerTextPlugin.js +2 -2
  36. package/chart/utils/customTooltip.js +8 -8
  37. package/chart/utils/htmlLegendPlugin.js +1 -1
  38. package/chart/utils/yAxisTopTitlePlugin.js +1 -1
  39. package/container/FlexContainer.js +7 -15
  40. package/cropper/Cropper.js +2 -1
  41. package/datetimePicker/DatePicker.js +26 -80
  42. package/datetimePicker/DatePickerV2.js +36 -95
  43. package/datetimePicker/DatetimePicker.js +11 -174
  44. package/datetimePicker/DatetimePickerV2.js +33 -87
  45. package/datetimePicker/DatetimePickerV3.js +11 -174
  46. package/datetimePicker/TimeInput.js +10 -35
  47. package/datetimePicker/TimePicker.js +22 -77
  48. package/datetimePicker/TimePickerStyle.js +3 -53
  49. package/datetimePicker/TimePickerV2.js +21 -54
  50. package/datetimePicker/accordion/Month.js +16 -93
  51. package/datetimePicker/accordion/Year.js +18 -96
  52. package/datetimePicker/hooks/useChangeNumber.js +6 -3
  53. package/datetimePicker/hooks/useDecrease.js +6 -3
  54. package/datetimePicker/hooks/useIncrease.js +6 -3
  55. package/datetimePicker/subComponent/Accordion.js +20 -101
  56. package/descriptionList/DescriptionDetail.js +4 -15
  57. package/descriptionList/DescriptionList.js +4 -12
  58. package/descriptionList/DescriptionTerm.js +3 -5
  59. package/divider/Divider.js +6 -15
  60. package/dropdown/DropdownButtonOption.js +6 -22
  61. package/dropdown/DropdownContent.js +15 -29
  62. package/dropdown/DropdownDivOption.js +3 -17
  63. package/dropdown/DropdownLinkOption.js +3 -14
  64. package/dropdown/DropdownToggle.js +15 -7
  65. package/dropzone/FileDropzone.js +22 -121
  66. package/dropzone/ImageDropzone.js +14 -83
  67. package/dropzone/subComponent/Message.js +4 -11
  68. package/figure/IconFigure.js +7 -16
  69. package/figure/ImageFigure.js +6 -19
  70. package/file/HiddenFileInput.js +3 -3
  71. package/form/Checkbox.js +13 -74
  72. package/form/Fieldset.js +3 -9
  73. package/form/FormItem.js +5 -10
  74. package/form/Input.js +7 -40
  75. package/form/Label.js +10 -34
  76. package/form/MutedText.js +4 -8
  77. package/form/PasswordInput.js +13 -20
  78. package/form/RadioButton.js +8 -55
  79. package/form/SearchSelect.js +12 -64
  80. package/form/Searchbox.js +19 -45
  81. package/form/Slider.js +10 -28
  82. package/form/SwitchButton.js +14 -48
  83. package/form/Textarea.js +3 -30
  84. package/form/TreeView.js +6 -13
  85. package/grid/Column.js +10 -23
  86. package/grid/Grid.js +6 -14
  87. package/heading/Heading1.js +4 -8
  88. package/heading/Heading2.js +5 -11
  89. package/heading/Heading3.js +8 -20
  90. package/iconbox/ApplicationIconBox.js +12 -48
  91. package/iconbox/IconBox.js +7 -31
  92. package/iconbox/IconBoxV2.js +8 -33
  93. package/iconbox/subComponent/IconBoxFigure.js +9 -17
  94. package/iconbox/subComponent/IconBoxImage.js +8 -21
  95. package/image/ImageFluid.js +3 -7
  96. package/image/UploadImage.js +18 -66
  97. package/jsoneditor/JsonEditor.js +15 -121
  98. package/keyframe/Pulse.js +3 -13
  99. package/keyframe/Spin.js +3 -5
  100. package/layout/Aside.js +5 -30
  101. package/layout/Backdrop.js +4 -8
  102. package/layout/Container.js +5 -21
  103. package/layout/Footer.js +7 -26
  104. package/link/LinkSpan.js +19 -37
  105. package/map/GoogleMap.js +7 -3
  106. package/map/GoogleReverseGeolocation.js +3 -6
  107. package/map/LeafletMap.js +2 -2
  108. package/map/subComponent/GoogleMapContainer.js +4 -16
  109. package/map/subComponent/GoogleMapPopup.js +10 -7
  110. package/map/subComponent/GoogleMapWrapper.js +15 -8
  111. package/map/subComponent/LeafletDrawControl.js +7 -9
  112. package/map/subComponent/LeafletMapContainer.js +4 -159
  113. package/modal/StateModal.js +62 -69
  114. package/modal/TitleModal.js +29 -70
  115. package/package.json +1 -1
  116. package/page/Disclaimer.js +3 -119
  117. package/paginate/Paginate.js +12 -54
  118. package/popover/Popover.js +25 -30
  119. package/qrcode/QRCode.js +6 -20
  120. package/qrcode/QRCodeContainter.js +4 -12
  121. package/ribbon/Ribbon.js +4 -29
  122. package/section/Section.js +20 -68
  123. package/section/SectionBody.js +8 -29
  124. package/section/SectionHeader.js +11 -36
  125. package/section/SectionToolbar.js +3 -9
  126. package/section/SectionToolbarItem.js +3 -8
  127. package/select/InputSelect.js +23 -16
  128. package/select/Select.js +87 -128
  129. package/select/subComponent/Checkbox.js +5 -24
  130. package/select/subComponent/Footer.js +3 -4
  131. package/select/subComponent/ListBox.js +5 -12
  132. package/select/subComponent/Option.js +7 -27
  133. package/select/subComponent/OptionGroup.js +3 -13
  134. package/select/subComponent/Options.js +5 -18
  135. package/select/subComponent/SearchBox.js +12 -34
  136. package/select/subComponent/SelectedMultipleTags.js +3 -21
  137. package/select/subComponent/SelectedMultipleText.js +4 -20
  138. package/select/subComponent/SelectedSingle.js +3 -7
  139. package/styles/GlobalStyle.js +45 -156
  140. package/styles/mixin/backgroundColor.js +8 -16
  141. package/styles/mixin/borderColor.js +7 -13
  142. package/styles/mixin/color.js +7 -13
  143. package/styles/mixin/colorOnBackground.js +7 -13
  144. package/styles/mixin/inputPlaceholder.js +3 -20
  145. package/styles/mixin/media.js +3 -5
  146. package/styles/mixin/rounded.js +6 -10
  147. package/styles/mixin/scrollbar.js +3 -13
  148. package/styles/theme/dark.theme.js +14 -15
  149. package/styles/theme/light.theme.js +14 -15
  150. package/styles/theme/white.theme.js +14 -15
  151. package/table/GridTable.js +33 -71
  152. package/table/ImageBox.js +5 -15
  153. package/table/InfiniteGridTable.js +46 -92
  154. package/table/PermissionTable.js +10 -32
  155. package/table/SimpleGridTable.js +17 -52
  156. package/table/Table.js +48 -198
  157. package/table/__mock__/columns.js +1 -1
  158. package/table/subComponent/BaseTableHeadCell.js +8 -37
  159. package/table/subComponent/GridTableFooter.js +4 -10
  160. package/table/subComponent/GridTableHeadCell.js +4 -6
  161. package/table/subComponent/Resizer.js +4 -19
  162. package/table/subComponent/TableFooter.js +6 -15
  163. package/table/subComponent/TableFooterInfo.js +3 -4
  164. package/table/subComponent/TableFooterPager.js +6 -19
  165. package/table/subComponent/TableHeadCell.js +3 -9
  166. package/table/subComponent/TableSort.js +7 -17
  167. package/tagify/TagifyStyle.js +3 -49
  168. package/tagify/Tags.js +21 -37
  169. package/tagify/templates/getCreateButtonTemplate.js +2 -5
  170. package/text/Paragraph.js +12 -50
  171. package/timeline/Timeline.js +17 -94
  172. package/toast/CustomToastContainer.js +3 -35
  173. package/toast/MessageContainer.js +4 -22
  174. package/tooltip/Tooltip.js +19 -47
  175. package/treeView/TreeViewV2.js +1 -1
  176. package/treeView/TreeflexStyle.js +3 -38
  177. package/wizard/Wizard.js +6 -115
@@ -5,26 +5,19 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
+ var _templateObject;
8
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
- const ListBox = _styledComponents.default.div`
10
- visibility: ${_ref => {
10
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
11
+ const ListBox = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n visibility: ", ";\n background: var(--color-background1);\n color: var(--font-on-background);\n border: var(--border-width) solid var(--border-color);\n border-radius: var(--border-radius);\n box-shadow: var(--box-shadow);\n width: ", "px;\n z-index: 85;\n"])), _ref => {
11
12
  let {
12
13
  $display
13
14
  } = _ref;
14
15
  return $display ? 'visible' : 'hidden';
15
- }};
16
- background: var(--color-background1);
17
- color: var(--font-on-background);
18
- border: var(--border-width) solid var(--border-color);
19
- border-radius: var(--border-radius);
20
- box-shadow: var(--box-shadow);
21
- width: ${_ref2 => {
16
+ }, _ref2 => {
22
17
  let {
23
18
  width
24
19
  } = _ref2;
25
20
  return width;
26
- }}px;
27
- z-index: 85;
28
- `;
21
+ });
29
22
  ListBox.displayName = 'ListBox';
30
23
  var _default = exports.default = ListBox;
@@ -5,41 +5,21 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
8
+ var _templateObject, _templateObject2, _templateObject3;
8
9
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
9
10
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
10
- const Option = _styledComponents.default.div`
11
- display: flex;
12
- align-items: center;
13
- max-width: 100%;
14
- word-break: break-all;
15
- padding: 12px var(--spacing-s);
16
- background: var(--color-background1);
17
- transition: background 0.3s;
18
-
19
- &:hover {
20
- background: var(--color-hover);
21
- }
22
-
23
- ${_ref => {
11
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
12
+ const Option = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n max-width: 100%;\n word-break: break-all;\n padding: 12px var(--spacing-s);\n background: var(--color-background1);\n transition: background 0.3s;\n\n &:hover {\n background: var(--color-hover);\n }\n\n ", "\n\n ", "\n"])), _ref => {
24
13
  let {
25
14
  selected,
26
15
  focus
27
16
  } = _ref;
28
- return (selected || focus) && (0, _styledComponents.css)`
29
- background: var(--color-hover);
30
- `;
31
- }}
32
-
33
- ${_ref2 => {
17
+ return (selected || focus) && (0, _styledComponents.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n background: var(--color-hover);\n "])));
18
+ }, _ref2 => {
34
19
  let {
35
20
  disabled
36
21
  } = _ref2;
37
- return disabled && (0, _styledComponents.css)`
38
- cursor: not-allowed;
39
- pointer-events: none;
40
- color: var(--font-on-mute);
41
- `;
42
- }}
43
- `;
22
+ return disabled && (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n cursor: not-allowed;\n pointer-events: none;\n color: var(--font-on-mute);\n "])));
23
+ });
44
24
  Option.displayName = 'Option';
45
25
  var _default = exports.default = Option;
@@ -5,19 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
+ var _templateObject;
8
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
- const OptionGroup = _styledComponents.default.div`
10
- [role='presentation'] {
11
- font-weight: bold;
12
-
13
- &:hover {
14
- background: var(--color-background1);
15
- }
16
- }
17
-
18
- [role='option'] {
19
- padding-left: calc(var(--spacing-s) * 2);
20
- }
21
- `;
10
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
11
+ const OptionGroup = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n [role='presentation'] {\n font-weight: bold;\n\n &:hover {\n background: var(--color-background1);\n }\n }\n\n [role='option'] {\n padding-left: calc(var(--spacing-s) * 2);\n }\n"])));
22
12
  OptionGroup.displayName = 'OptionGroup';
23
13
  var _default = exports.default = OptionGroup;
@@ -6,27 +6,14 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _scrollbar = _interopRequireDefault(require("../../styles/mixin/scrollbar"));
9
+ var _templateObject;
9
10
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- const Options = _styledComponents.default.div`
11
- position: relative;
12
- padding: var(--spacing-xs) 0;
13
- max-height: min(320px, calc(50vh - 36px - 20px - 36px));
14
- overflow-y: auto;
15
- overflow-x: visible;
16
- border-radius: var(--border-radius);
17
-
18
- ${_ref => {
11
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
12
+ const Options = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n padding: var(--spacing-xs) 0;\n max-height: min(320px, calc(50vh - 36px - 20px - 36px));\n overflow-y: auto;\n overflow-x: visible;\n border-radius: var(--border-radius);\n\n ", "\n\n ", "\n"])), _ref => {
19
13
  let {
20
14
  allowSearch
21
15
  } = _ref;
22
- return allowSearch && `
23
- padding-top: 0;
24
- border-top-left-radius: 0;
25
- border-top-right-radius: 0;
26
- `;
27
- }}
28
-
29
- ${_scrollbar.default}
30
- `;
16
+ return allowSearch && "\n padding-top: 0;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n ";
17
+ }, _scrollbar.default);
31
18
  Options.displayName = 'Options';
32
19
  var _default = exports.default = Options;
@@ -9,50 +9,28 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
  var _go = require("react-icons/go");
10
10
  var _inputPlaceholder = _interopRequireDefault(require("../../styles/mixin/inputPlaceholder"));
11
11
  var _jsxRuntime = require("react/jsx-runtime");
12
+ var _templateObject, _templateObject2, _templateObject3;
12
13
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
15
+ 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; }
16
+ 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; }
17
+ 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; }
18
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
19
+ 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); }
13
20
  const SearchBox = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
14
21
  const handleClick = event => {
15
22
  event.stopPropagation();
16
23
  };
17
24
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Wrapper, {
18
25
  onClick: handleClick,
19
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_go.GoSearch, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(SearchInput, {
26
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_go.GoSearch, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(SearchInput, _objectSpread({
20
27
  type: "text",
21
- ref: ref,
22
- ...props
23
- })]
28
+ ref: ref
29
+ }, props))]
24
30
  });
25
31
  });
26
- const Wrapper = _styledComponents.default.div`
27
- position: relative;
28
- padding: var(--spacing-xs);
29
-
30
- > svg {
31
- color: var(--font-on-mute);
32
- position: absolute;
33
- top: 50%;
34
- transform: translateY(-50%);
35
- left: calc(var(--spacing-s) + var(--spacing-xs));
36
- }
37
- `;
32
+ const Wrapper = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n padding: var(--spacing-xs);\n\n > svg {\n color: var(--font-on-mute);\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--spacing-s) + var(--spacing-xs));\n }\n"])));
38
33
  Wrapper.displayName = 'Wrapper';
39
- const SearchInput = _styledComponents.default.input`
40
- background: var(--color-background1);
41
- color: var(--font-on-background);
42
- border-radius: var(--border-radius-l);
43
- border: var(--border-width) solid var(--border-color);
44
- outline: none;
45
- width: 100%;
46
- padding: 10px var(--spacing-s) 10px calc(var(--spacing-s) * 2 + 8px);
47
- max-height: 36px;
48
-
49
- &:disabled {
50
- cursor: not-allowed;
51
- }
52
-
53
- ${(0, _inputPlaceholder.default)`
54
- color: var(--font-on-mute);
55
- `}
56
- `;
34
+ const SearchInput = _styledComponents.default.input(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n background: var(--color-background1);\n color: var(--font-on-background);\n border-radius: var(--border-radius-l);\n border: var(--border-width) solid var(--border-color);\n outline: none;\n width: 100%;\n padding: 10px var(--spacing-s) 10px calc(var(--spacing-s) * 2 + 8px);\n max-height: 36px;\n\n &:disabled {\n cursor: not-allowed;\n }\n\n ", "\n"])), (0, _inputPlaceholder.default)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n color: var(--font-on-mute);\n "]))));
57
35
  SearchInput.displayName = 'SearchInput';
58
36
  var _default = exports.default = SearchBox;
@@ -7,7 +7,9 @@ exports.default = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _fa = require("react-icons/fa");
9
9
  var _jsxRuntime = require("react/jsx-runtime");
10
+ var _templateObject;
10
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
11
13
  const SelectedMultipleTags = _ref => {
12
14
  let {
13
15
  content,
@@ -22,25 +24,5 @@ const SelectedMultipleTags = _ref => {
22
24
  }), content]
23
25
  });
24
26
  };
25
- const Selected = _styledComponents.default.div`
26
- align-items: center;
27
- display: flex;
28
- background: var(--color-background3);
29
- border-radius: var(--border-radius-l);
30
- padding: 0.25rem calc(var(--spacing-xs) + 4px);
31
- margin: 4px 10px 4px 0;
32
- color: var(--font-on-background);
33
- font-weight: var(--font-normal);
34
- word-break: break-all;
35
-
36
- > span {
37
- display: flex;
38
- align-items: center;
39
-
40
- > svg {
41
- margin-right: var(--spacing-xs);
42
- color: var(--font-on-background);
43
- }
44
- }
45
- `;
27
+ const Selected = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n align-items: center;\n display: flex;\n background: var(--color-background3);\n border-radius: var(--border-radius-l);\n padding: 0.25rem calc(var(--spacing-xs) + 4px);\n margin: 4px 10px 4px 0;\n color: var(--font-on-background);\n font-weight: var(--font-normal);\n word-break: break-all;\n\n > span {\n display: flex;\n align-items: center;\n\n > svg {\n margin-right: var(--spacing-xs);\n color: var(--font-on-background);\n }\n }\n"])));
46
28
  var _default = exports.default = SelectedMultipleTags;
@@ -7,7 +7,9 @@ exports.default = void 0;
7
7
  var _react = require("react");
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
  var _jsxRuntime = require("react/jsx-runtime");
10
+ var _templateObject, _templateObject2;
10
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
11
13
  const SelectedMultipleText = _ref => {
12
14
  let {
13
15
  children
@@ -47,24 +49,6 @@ const SelectedMultipleText = _ref => {
47
49
  })]
48
50
  });
49
51
  };
50
- const Text = _styledComponents.default.span`
51
- color: var(--font-on-background);
52
- white-space: nowrap;
53
- overflow: hidden;
54
- text-overflow: ellipsis;
55
- `;
56
- const Tooltip = _styledComponents.default.div`
57
- position: fixed;
58
- border: 1px solid var(--border-color);
59
- color: var(--font-on-background);
60
- background: var(--color-background2);
61
- box-shadow: var(--box-shadow);
62
- border-radius: calc(var(--border-radius) / 2);
63
- padding: var(--spacing-xs);
64
- font-size: var(--font-body1);
65
- font-weight: var(--font-normal);
66
- z-index: 90;
67
- width: max-content;
68
- max-width: 50vw;
69
- `;
52
+ const Text = _styledComponents.default.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: var(--font-on-background);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"])));
53
+ const Tooltip = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: fixed;\n border: 1px solid var(--border-color);\n color: var(--font-on-background);\n background: var(--color-background2);\n box-shadow: var(--box-shadow);\n border-radius: calc(var(--border-radius) / 2);\n padding: var(--spacing-xs);\n font-size: var(--font-body1);\n font-weight: var(--font-normal);\n z-index: 90;\n width: max-content;\n max-width: 50vw;\n"])));
70
54
  var _default = exports.default = SelectedMultipleText;
@@ -5,13 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
+ var _templateObject;
8
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
- const SelectedSingle = _styledComponents.default.div`
10
- display: flex;
11
- align-items: center;
12
- color: var(--font-on-background);
13
- overflow: hidden;
14
- text-overflow: ellipsis;
15
- `;
10
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
11
+ const SelectedSingle = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n color: var(--font-on-background);\n overflow: hidden;\n text-overflow: ellipsis;\n"])));
16
12
  SelectedSingle.displayName = 'SelectedSingle';
17
13
  var _default = exports.default = SelectedSingle;
@@ -7,328 +7,217 @@ exports.default = void 0;
7
7
  var _styledComponents = require("styled-components");
8
8
  require("normalize.css");
9
9
  require("../assets/css/global.css");
10
- const GlobalStyle = (0, _styledComponents.createGlobalStyle)`
11
- body {
12
- --color-white: ${_ref => {
10
+ var _templateObject;
11
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
12
+ const GlobalStyle = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n body {\n --color-white: ", ";\n --color-dark: ", ";\n --color-grey: ", ";\n --color-primary: ", ";\n --color-success: ", ";\n --color-warning: ", ";\n --color-danger: ", ";\n --color-hover: ", ";\n --color-active: ", ";\n --color-scroll-bar: ", ";\n --color-background1: ", ";\n --color-background2: ", ";\n --color-background3: ", ";\n --color-backdrop: ", ";\n\n --font-h1: ", ";\n --font-h2: ", ";\n --font-h3: ", ";\n --font-body1: ", ";\n --font-body2: ", ";\n --font-button: ", ";\n --font-caption: ", ";\n --font-family: ", ";\n --font-normal: ", ";\n --font-bold: ", ";\n --font-on-primary: ", ";\n --font-on-success: ", ";\n --font-on-warning: ", ";\n --font-on-danger: ", ";\n --font-on-background: ", ";\n --font-on-mute: ", ";\n\n --box-shadow: ", ";\n --border-color: ", ";\n --border-color-transparent: ", ";\n --border-width: ", ";\n --border-radius-s: ", ";\n --border-radius: ", ";\n --border-radius-l: ", ";\n --border-radius-round: ", ";\n\n --spacing-xs: ", ";\n --spacing-s: ", ";\n --spacing: ", ";\n --spacing-l: ", ";\n\n /* Global style */\n font-size: 16px;\n font-family: Helvetica;\n overflow-x: hidden;\n background: var(--color-background1);\n }\n\n /* Custom normalize */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n html {\n line-height: 1;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 0;\n }\n \n a {\n text-decoration: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n line-height: 1;\n }\n\n ul {\n padding: 0;\n margin: 0;\n }\n\n li {\n list-style: none;\n }\n\n figure {\n margin: 0;\n }\n\n p {\n margin: 0;\n }\n\n dl,\n dt,\n dd {\n margin: 0;\n }\n\n .margin-bottom-s {\n margin-bottom: var(--spacing-s);\n }\n"])), _ref => {
13
13
  let {
14
14
  theme
15
15
  } = _ref;
16
16
  return theme.colorWhite;
17
- }};
18
- --color-dark: ${_ref2 => {
17
+ }, _ref2 => {
19
18
  let {
20
19
  theme
21
20
  } = _ref2;
22
21
  return theme.colorDark;
23
- }};
24
- --color-grey: ${_ref3 => {
22
+ }, _ref3 => {
25
23
  let {
26
24
  theme
27
25
  } = _ref3;
28
26
  return theme.colorGrey;
29
- }};
30
- --color-primary: ${_ref4 => {
27
+ }, _ref4 => {
31
28
  let {
32
29
  theme
33
30
  } = _ref4;
34
31
  return theme.colorPrimary;
35
- }};
36
- --color-success: ${_ref5 => {
32
+ }, _ref5 => {
37
33
  let {
38
34
  theme
39
35
  } = _ref5;
40
36
  return theme.colorSuccess;
41
- }};
42
- --color-warning: ${_ref6 => {
37
+ }, _ref6 => {
43
38
  let {
44
39
  theme
45
40
  } = _ref6;
46
41
  return theme.colorWarning;
47
- }};
48
- --color-danger: ${_ref7 => {
42
+ }, _ref7 => {
49
43
  let {
50
44
  theme
51
45
  } = _ref7;
52
46
  return theme.colorDanger;
53
- }};
54
- --color-hover: ${_ref8 => {
47
+ }, _ref8 => {
55
48
  let {
56
49
  theme
57
50
  } = _ref8;
58
51
  return theme.colorHover;
59
- }};
60
- --color-active: ${_ref9 => {
52
+ }, _ref9 => {
61
53
  let {
62
54
  theme
63
55
  } = _ref9;
64
56
  return theme.colorActive;
65
- }};
66
- --color-scroll-bar: ${_ref10 => {
57
+ }, _ref10 => {
67
58
  let {
68
59
  theme
69
60
  } = _ref10;
70
61
  return theme.scrollBarColor;
71
- }};
72
- --color-background1: ${_ref11 => {
62
+ }, _ref11 => {
73
63
  let {
74
64
  theme
75
65
  } = _ref11;
76
66
  return theme.bgColor1;
77
- }};
78
- --color-background2: ${_ref12 => {
67
+ }, _ref12 => {
79
68
  let {
80
69
  theme
81
70
  } = _ref12;
82
71
  return theme.bgColor2;
83
- }};
84
- --color-background3: ${_ref13 => {
72
+ }, _ref13 => {
85
73
  let {
86
74
  theme
87
75
  } = _ref13;
88
76
  return theme.bgColor3;
89
- }};
90
- --color-backdrop: ${_ref14 => {
77
+ }, _ref14 => {
91
78
  let {
92
79
  theme
93
80
  } = _ref14;
94
81
  return theme.backdropBg;
95
- }};
96
-
97
- --font-h1: ${_ref15 => {
82
+ }, _ref15 => {
98
83
  let {
99
84
  theme
100
85
  } = _ref15;
101
86
  return theme.fontH1;
102
- }};
103
- --font-h2: ${_ref16 => {
87
+ }, _ref16 => {
104
88
  let {
105
89
  theme
106
90
  } = _ref16;
107
91
  return theme.fontH2;
108
- }};
109
- --font-h3: ${_ref17 => {
92
+ }, _ref17 => {
110
93
  let {
111
94
  theme
112
95
  } = _ref17;
113
96
  return theme.fontH3;
114
- }};
115
- --font-body1: ${_ref18 => {
97
+ }, _ref18 => {
116
98
  let {
117
99
  theme
118
100
  } = _ref18;
119
101
  return theme.fontBody1;
120
- }};
121
- --font-body2: ${_ref19 => {
102
+ }, _ref19 => {
122
103
  let {
123
104
  theme
124
105
  } = _ref19;
125
106
  return theme.fontBody2;
126
- }};
127
- --font-button: ${_ref20 => {
107
+ }, _ref20 => {
128
108
  let {
129
109
  theme
130
110
  } = _ref20;
131
111
  return theme.fontButton;
132
- }};
133
- --font-caption: ${_ref21 => {
112
+ }, _ref21 => {
134
113
  let {
135
114
  theme
136
115
  } = _ref21;
137
116
  return theme.fontCaption;
138
- }};
139
- --font-family: ${_ref22 => {
117
+ }, _ref22 => {
140
118
  let {
141
119
  theme
142
120
  } = _ref22;
143
121
  return theme.fontFamily;
144
- }};
145
- --font-normal: ${_ref23 => {
122
+ }, _ref23 => {
146
123
  let {
147
124
  theme
148
125
  } = _ref23;
149
126
  return theme.fontWeightNormal;
150
- }};
151
- --font-bold: ${_ref24 => {
127
+ }, _ref24 => {
152
128
  let {
153
129
  theme
154
130
  } = _ref24;
155
131
  return theme.fontWeightBold;
156
- }};
157
- --font-on-primary: ${_ref25 => {
132
+ }, _ref25 => {
158
133
  let {
159
134
  theme
160
135
  } = _ref25;
161
136
  return theme.fontOnPrimary;
162
- }};
163
- --font-on-success: ${_ref26 => {
137
+ }, _ref26 => {
164
138
  let {
165
139
  theme
166
140
  } = _ref26;
167
141
  return theme.fontOnSuccess;
168
- }};
169
- --font-on-warning: ${_ref27 => {
142
+ }, _ref27 => {
170
143
  let {
171
144
  theme
172
145
  } = _ref27;
173
146
  return theme.fontOnWarning;
174
- }};
175
- --font-on-danger: ${_ref28 => {
147
+ }, _ref28 => {
176
148
  let {
177
149
  theme
178
150
  } = _ref28;
179
151
  return theme.fontOnDanger;
180
- }};
181
- --font-on-background: ${_ref29 => {
152
+ }, _ref29 => {
182
153
  let {
183
154
  theme
184
155
  } = _ref29;
185
156
  return theme.fontOnBg;
186
- }};
187
- --font-on-mute: ${_ref30 => {
157
+ }, _ref30 => {
188
158
  let {
189
159
  theme
190
160
  } = _ref30;
191
161
  return theme.fontMutedColor;
192
- }};
193
-
194
- --box-shadow: ${_ref31 => {
162
+ }, _ref31 => {
195
163
  let {
196
164
  theme
197
165
  } = _ref31;
198
166
  return theme.boxShadow;
199
- }};
200
- --border-color: ${_ref32 => {
167
+ }, _ref32 => {
201
168
  let {
202
169
  theme
203
170
  } = _ref32;
204
171
  return theme.borderColor;
205
- }};
206
- --border-color-transparent: ${_ref33 => {
172
+ }, _ref33 => {
207
173
  let {
208
174
  theme
209
175
  } = _ref33;
210
176
  return theme.borderColorTransparent;
211
- }};
212
- --border-width: ${_ref34 => {
177
+ }, _ref34 => {
213
178
  let {
214
179
  theme
215
180
  } = _ref34;
216
181
  return theme.borderWidth;
217
- }};
218
- --border-radius-s: ${_ref35 => {
182
+ }, _ref35 => {
219
183
  let {
220
184
  theme
221
185
  } = _ref35;
222
186
  return theme.borderRadiusS;
223
- }};
224
- --border-radius: ${_ref36 => {
187
+ }, _ref36 => {
225
188
  let {
226
189
  theme
227
190
  } = _ref36;
228
191
  return theme.borderRadius;
229
- }};
230
- --border-radius-l: ${_ref37 => {
192
+ }, _ref37 => {
231
193
  let {
232
194
  theme
233
195
  } = _ref37;
234
196
  return theme.borderRadiusL;
235
- }};
236
- --border-radius-round: ${_ref38 => {
197
+ }, _ref38 => {
237
198
  let {
238
199
  theme
239
200
  } = _ref38;
240
201
  return theme.borderRadiusRound;
241
- }};
242
-
243
- --spacing-xs: ${_ref39 => {
202
+ }, _ref39 => {
244
203
  let {
245
204
  theme
246
205
  } = _ref39;
247
206
  return theme.spacerXS;
248
- }};
249
- --spacing-s: ${_ref40 => {
207
+ }, _ref40 => {
250
208
  let {
251
209
  theme
252
210
  } = _ref40;
253
211
  return theme.spacerS;
254
- }};
255
- --spacing: ${_ref41 => {
212
+ }, _ref41 => {
256
213
  let {
257
214
  theme
258
215
  } = _ref41;
259
216
  return theme.spacer;
260
- }};
261
- --spacing-l: ${_ref42 => {
217
+ }, _ref42 => {
262
218
  let {
263
219
  theme
264
220
  } = _ref42;
265
221
  return theme.spacerL;
266
- }};
267
-
268
- /* Global style */
269
- font-size: 16px;
270
- font-family: Helvetica;
271
- overflow-x: hidden;
272
- background: var(--color-background1);
273
- }
274
-
275
- /* Custom normalize */
276
- *,
277
- *::before,
278
- *::after {
279
- box-sizing: border-box;
280
- }
281
-
282
- html {
283
- line-height: 1;
284
- }
285
-
286
- h1,
287
- h2,
288
- h3,
289
- h4,
290
- h5,
291
- h6 {
292
- margin: 0;
293
- }
294
-
295
- a {
296
- text-decoration: none;
297
- }
298
-
299
- button,
300
- input,
301
- optgroup,
302
- select,
303
- textarea {
304
- line-height: 1;
305
- }
306
-
307
- ul {
308
- padding: 0;
309
- margin: 0;
310
- }
311
-
312
- li {
313
- list-style: none;
314
- }
315
-
316
- figure {
317
- margin: 0;
318
- }
319
-
320
- p {
321
- margin: 0;
322
- }
323
-
324
- dl,
325
- dt,
326
- dd {
327
- margin: 0;
328
- }
329
-
330
- .margin-bottom-s {
331
- margin-bottom: var(--spacing-s);
332
- }
333
- `;
222
+ });
334
223
  var _default = exports.default = GlobalStyle;