@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.
- package/Tab/Tab.js +9 -13
- package/Tab/TabList.js +14 -32
- package/Tab/TabPanel.js +21 -58
- package/Tab/TabTab.js +20 -40
- package/Tab/index.js +2 -10
- package/Tab/subComponent/TabContext.js +2 -5
- package/animate/Collapse.js +26 -53
- package/animate/Loader.js +21 -26
- package/animate/NumberCounter.js +22 -44
- package/animate/PulseRing.js +9 -21
- package/animate/Spinner.js +2 -10
- package/animate/index.js +5 -11
- package/backdrop/BaseBackdrop.js +2 -9
- package/backdrop/LoadingBackdrop.js +2 -9
- package/backdrop/ModalBackdrop.js +2 -9
- package/backdrop/index.js +3 -7
- package/badge/Badge.js +2 -11
- package/badge/BadgeDot.js +2 -10
- package/badge/BadgeFill.js +15 -20
- package/badge/BadgeWithText.js +6 -13
- package/badge/index.js +4 -9
- package/billing/BarChart.js +10 -17
- package/billing/Grid.js +11 -15
- package/billing/Header2.js +6 -9
- package/billing/Header3.js +9 -16
- package/billing/Paragraph.js +8 -14
- package/billing/ParagraphGroup.js +6 -9
- package/billing/ParagraphText.js +7 -12
- package/billing/Section.js +13 -23
- package/billing/SectionBody.js +5 -8
- package/billing/SectionHeader.js +7 -12
- package/breadcrumb/Breadcrumb.js +11 -21
- package/breadcrumb/index.js +1 -3
- package/button/Button.js +41 -38
- package/button/ButtonGroup.js +21 -18
- package/button/IconButton.js +29 -29
- package/button/ScrollToTopButton.js +12 -39
- package/button/index.js +4 -9
- package/callout/Callout.js +13 -26
- package/callout/index.js +1 -3
- package/chart/BarChart.js +28 -53
- package/chart/DoughnutChart.js +23 -62
- package/chart/LineChart.js +33 -55
- package/chart/SingleBarChart.js +11 -17
- package/chart/index.js +5 -12
- package/chart/utils/customTooltip.js +26 -43
- package/chart/utils/htmlLegendPlugin.js +24 -30
- package/chart/utils/index.js +3 -7
- package/chart/utils/padEmptyChartBar.js +24 -22
- package/container/FlexContainer.js +9 -12
- package/container/index.js +1 -3
- package/cropper/Cropper.js +21 -34
- package/cropper/CropperModalHandler.js +15 -21
- package/cropper/index.js +2 -5
- package/cropper/subComponent/CropImageModal.js +23 -58
- package/datetimePicker/DatePicker.js +103 -217
- package/datetimePicker/DatePickerV2.js +116 -221
- package/datetimePicker/DatetimePicker.js +27 -48
- package/datetimePicker/DatetimePickerV2.js +115 -231
- package/datetimePicker/TimeInput.js +9 -22
- package/datetimePicker/TimePicker.js +94 -151
- package/datetimePicker/TimePickerStyle.js +2 -9
- package/datetimePicker/accordion/Month.js +70 -90
- package/datetimePicker/accordion/Year.js +91 -135
- package/datetimePicker/hooks/index.js +3 -7
- package/datetimePicker/hooks/useChangeNumber.js +14 -27
- package/datetimePicker/hooks/useDecrease.js +19 -35
- package/datetimePicker/hooks/useIncrease.js +19 -35
- package/datetimePicker/index.js +7 -15
- package/datetimePicker/provider/constant.js +2 -3
- package/datetimePicker/subComponent/Accordion.js +108 -158
- package/datetimePicker/subComponent/CustomTimeInput.js +18 -48
- package/datetimePicker/subComponent/DateTimePickerContext.js +2 -5
- package/datetimePicker/utils/GMTDate.js +3 -7
- package/datetimePicker/utils/pad.js +2 -6
- package/datetimePicker/utils/toUTC0.js +3 -6
- package/descriptionList/DescriptionDetail.js +5 -10
- package/descriptionList/DescriptionList.js +5 -10
- package/descriptionList/DescriptionTerm.js +2 -9
- package/descriptionList/index.js +3 -7
- package/divider/Divider.js +9 -12
- package/divider/index.js +1 -3
- package/dropdown/Dropdown.js +28 -65
- package/dropdown/DropdownButtonOption.js +2 -9
- package/dropdown/DropdownContent.js +33 -64
- package/dropdown/DropdownDivOption.js +2 -9
- package/dropdown/DropdownItem.js +10 -16
- package/dropdown/DropdownLinkOption.js +2 -9
- package/dropdown/DropdownToggle.js +18 -38
- package/dropdown/index.js +6 -17
- package/dropdown/subComponent/DropdownContext.js +2 -5
- package/dropzone/FileDropzone.js +148 -302
- package/dropzone/ImageDropzone.js +96 -171
- package/dropzone/index.js +2 -5
- package/dropzone/subComponent/Message.js +7 -14
- package/figure/IconFigure.js +9 -16
- package/figure/ImageFigure.js +11 -17
- package/figure/index.js +2 -5
- package/file/HiddenFileInput.js +5 -14
- package/file/index.js +1 -3
- package/form/Checkbox.js +34 -43
- package/form/FormItem.js +2 -9
- package/form/Input.js +13 -15
- package/form/Label.js +10 -13
- package/form/MutedText.js +5 -10
- package/form/RadioButton.js +20 -32
- package/form/Searchbox.js +21 -65
- package/form/Slider.js +14 -0
- package/form/SwitchButton.js +34 -39
- package/form/Textarea.js +2 -11
- package/form/index.js +9 -19
- package/grid/Column.js +17 -17
- package/grid/Grid.js +13 -14
- package/grid/index.js +2 -5
- package/heading/Heading1.js +5 -10
- package/heading/Heading2.js +9 -12
- package/heading/Heading3.js +21 -18
- package/heading/index.js +3 -7
- package/helmet/Helmet.js +6 -9
- package/helmet/index.js +2 -5
- package/iconbox/ApplicationIconBox.js +25 -31
- package/iconbox/IconBox.js +11 -24
- package/iconbox/IconBoxV2.js +14 -26
- package/iconbox/index.js +3 -7
- package/iconbox/subComponent/IconBoxFigure.js +25 -20
- package/iconbox/subComponent/IconBoxImage.js +15 -18
- package/image/ImageFluid.js +2 -10
- package/image/UploadImage.js +65 -113
- package/image/index.js +2 -5
- package/index.js +44 -130
- package/jsoneditor/JsonEditor.js +10 -32
- package/jsoneditor/index.js +1 -3
- package/keyframe/Pulse.js +2 -7
- package/keyframe/Spin.js +2 -7
- package/link/LinkSpan.js +22 -35
- package/link/index.js +1 -3
- package/map/GoogleMap.js +122 -175
- package/map/GoogleReverseGeolocation.js +79 -186
- package/map/LeafletMap.js +78 -132
- package/map/LeafletReverseGeolocation.js +49 -121
- package/map/index.js +4 -9
- package/map/subComponent/BasicLeafletMap.js +8 -14
- package/map/subComponent/GoogleMapContainer.js +5 -10
- package/map/subComponent/GoogleMapPopup.js +66 -123
- package/map/subComponent/GoogleMapWrapper.js +13 -32
- package/map/subComponent/GoogleMarkerSpiderfier.js +14 -24
- package/map/subComponent/LeafletDrawControl.js +47 -84
- package/map/subComponent/LeafletMapContainer.js +5 -10
- package/map/subComponent/MapSearchBoxControl.js +24 -70
- package/modal/StateModal.js +41 -100
- package/modal/TitleModal.js +89 -190
- package/modal/index.js +2 -5
- package/package.json +1 -1
- package/paginate/Paginate.js +40 -54
- package/paginate/index.js +1 -3
- package/popover/Popover.js +39 -87
- package/popover/index.js +1 -3
- package/qrcode/QRCode.js +10 -23
- package/qrcode/QRCodeContainter.js +8 -16
- package/qrcode/index.js +2 -5
- package/ribbon/Ribbon.js +4 -15
- package/ribbon/index.js +1 -3
- package/section/Section.js +57 -39
- package/section/SectionBody.js +15 -22
- package/section/SectionHeader.js +27 -27
- package/section/SectionToolbar.js +2 -9
- package/section/SectionToolbarItem.js +2 -9
- package/section/index.js +5 -11
- package/select/InputSelect.js +103 -215
- package/select/Select.js +204 -362
- package/select/index.js +2 -5
- package/select/subComponent/ListBox.js +9 -12
- package/select/subComponent/Option.js +8 -16
- package/select/subComponent/OptionGroup.js +2 -9
- package/select/subComponent/Options.js +5 -11
- package/select/subComponent/SearchBox.js +9 -29
- package/select/subComponent/SelectedMultiple.js +8 -16
- package/select/subComponent/SelectedSingle.js +2 -9
- package/styles/GlobalStyle.js +169 -91
- package/styles/config/breakpoint.style.js +2 -3
- package/styles/config/header.style.js +2 -3
- package/styles/config/sidebar.style.js +2 -3
- package/styles/index.js +2 -5
- package/styles/mixin/backgroundColor.js +17 -14
- package/styles/mixin/borderColor.js +17 -14
- package/styles/mixin/color.js +17 -14
- package/styles/mixin/colorOnBackground.js +17 -14
- package/styles/mixin/inputPlaceholder.js +3 -9
- package/styles/mixin/media.js +3 -11
- package/styles/mixin/rounded.js +13 -12
- package/styles/mixin/scrollbar.js +7 -13
- package/styles/theme/dark.theme.js +20 -20
- package/styles/theme/light.theme.js +20 -20
- package/styles/theme/white.theme.js +20 -20
- package/styles/themes.js +2 -8
- package/table/GridTable.js +105 -143
- package/table/ImageBox.js +8 -18
- package/table/PermissionTable.js +25 -25
- package/table/Table.js +137 -153
- package/table/__mock__/columns.js +2 -3
- package/table/__mock__/data.js +2 -3
- package/table/hooks/index.js +2 -5
- package/table/hooks/useCalculateDataRange.js +9 -36
- package/table/hooks/useGenerateSort.js +6 -17
- package/table/index.js +4 -9
- package/table/subComponent/BaseTableHeadCell.js +15 -21
- package/table/subComponent/GridTableFooter.js +5 -10
- package/table/subComponent/GridTableHeadCell.js +5 -10
- package/table/subComponent/Resizer.js +17 -44
- package/table/subComponent/TableFooter.js +5 -10
- package/table/subComponent/TableFooterInfo.js +2 -9
- package/table/subComponent/TableFooterPager.js +5 -12
- package/table/subComponent/TableHeadCell.js +2 -9
- package/table/subComponent/TableSort.js +13 -19
- package/tagify/TagifyStyle.js +2 -9
- package/tagify/Tags.js +15 -37
- package/tagify/index.js +2 -5
- package/text/Paragraph.js +25 -20
- package/text/index.js +1 -3
- package/timeline/Timeline.js +28 -37
- package/timeline/index.js +1 -3
- package/toast/CustomToastContainer.js +2 -9
- package/toast/MessageContainer.js +9 -18
- package/toast/index.js +3 -8
- package/toast/show.js +18 -28
- package/tooltip/Tooltip.js +48 -97
- package/tooltip/index.js +1 -3
- package/wizard/Wizard.js +63 -133
- package/wizard/index.js +1 -3
|
@@ -1,39 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
8
6
|
exports.default = void 0;
|
|
9
|
-
|
|
10
7
|
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
11
|
-
|
|
12
8
|
var _templateObject, _templateObject2, _templateObject3;
|
|
13
|
-
|
|
14
|
-
function
|
|
15
|
-
|
|
16
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
|
-
|
|
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); }
|
|
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 && Object.prototype.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; }
|
|
18
11
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
const BaseTableHeadCell = _styledComponents.default.th(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n font-size: var(--font-body1);\n font-weight: var(--font-bold);\n width: ", ";\n padding: var(--spacing-s) var(--spacing-xs);\n\n > div {\n display: flex;\n\n > span {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n }\n\n ", "\n\n ", "\n"])), _ref => {
|
|
13
|
+
let {
|
|
14
|
+
width
|
|
15
|
+
} = _ref;
|
|
22
16
|
return width || 'auto';
|
|
23
|
-
},
|
|
24
|
-
|
|
17
|
+
}, _ref2 => {
|
|
18
|
+
let {
|
|
19
|
+
sortable
|
|
20
|
+
} = _ref2;
|
|
25
21
|
return sortable && (0, _styledComponents.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n cursor: pointer;\n\n > div > span {\n max-width: calc(100% - 1rem);\n padding-right: var(--spacing-xs);\n }\n "])));
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
}, _ref3 => {
|
|
23
|
+
let {
|
|
24
|
+
align
|
|
25
|
+
} = _ref3;
|
|
29
26
|
switch (align) {
|
|
30
27
|
case 'center':
|
|
31
28
|
return (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n > div {\n justify-content: center;\n }\n "])));
|
|
32
|
-
|
|
33
29
|
default:
|
|
34
30
|
break;
|
|
35
31
|
}
|
|
36
32
|
});
|
|
37
|
-
|
|
38
|
-
var _default = BaseTableHeadCell;
|
|
39
|
-
exports.default = _default;
|
|
33
|
+
var _default = exports.default = BaseTableHeadCell;
|
|
@@ -4,20 +4,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _TableFooter = _interopRequireDefault(require("./TableFooter"));
|
|
9
|
-
|
|
10
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
11
|
-
|
|
12
9
|
var _templateObject;
|
|
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
|
-
|
|
19
|
-
|
|
12
|
+
const GridTableFooter = (0, _styledComponents.default)(_TableFooter.default)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: sticky;\n bottom: 0;\n height: 48px;\n padding: 0 var(--spacing-xs);\n border-top: 1px solid var(--border-color);\n border-bottom: 1px solid var(--border-color);\n background: ", ";\n"])), _ref => {
|
|
13
|
+
let {
|
|
14
|
+
backgroundReverse
|
|
15
|
+
} = _ref;
|
|
20
16
|
return backgroundReverse ? 'var(--color-background1)' : 'var(--color-background2)';
|
|
21
17
|
});
|
|
22
|
-
var _default = GridTableFooter;
|
|
23
|
-
exports.default = _default;
|
|
18
|
+
var _default = exports.default = GridTableFooter;
|
|
@@ -4,20 +4,15 @@ 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 _BaseTableHeadCell = _interopRequireDefault(require("./BaseTableHeadCell"));
|
|
11
|
-
|
|
12
9
|
var _templateObject;
|
|
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
|
-
|
|
19
|
-
|
|
12
|
+
const GridTableHeadCell = (0, _styledComponents.default)(_BaseTableHeadCell.default)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n border-top: 1px solid var(--border-color);\n border-bottom: 1px solid var(--border-color);\n background: ", ";\n"])), _ref => {
|
|
13
|
+
let {
|
|
14
|
+
backgroundReverse
|
|
15
|
+
} = _ref;
|
|
20
16
|
return backgroundReverse ? 'var(--color-background1)' : 'var(--color-background2)';
|
|
21
17
|
});
|
|
22
|
-
var _default = GridTableHeadCell;
|
|
23
|
-
exports.default = _default;
|
|
18
|
+
var _default = exports.default = GridTableHeadCell;
|
|
@@ -4,82 +4,55 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = require("react");
|
|
9
|
-
|
|
10
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
11
|
-
|
|
12
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
-
|
|
14
10
|
var _templateObject;
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
27
|
-
|
|
28
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
29
|
-
|
|
30
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
31
|
-
|
|
32
|
-
var Resizer = function Resizer(_ref) {
|
|
33
|
-
var onResize = _ref.onResize;
|
|
34
|
-
|
|
35
|
-
var _useState = (0, _react.useState)(null),
|
|
36
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
37
|
-
parentNode = _useState2[0],
|
|
38
|
-
setParentNode = _useState2[1];
|
|
39
|
-
|
|
40
|
-
var handleMouseMove = (0, _react.useCallback)(function (event) {
|
|
13
|
+
const Resizer = _ref => {
|
|
14
|
+
let {
|
|
15
|
+
onResize
|
|
16
|
+
} = _ref;
|
|
17
|
+
const [parentNode, setParentNode] = (0, _react.useState)(null);
|
|
18
|
+
const handleMouseMove = (0, _react.useCallback)(event => {
|
|
41
19
|
event.stopPropagation();
|
|
42
20
|
event.preventDefault();
|
|
43
|
-
|
|
21
|
+
const targetWidth = event.clientX - parentNode.getBoundingClientRect().left;
|
|
44
22
|
parentNode.style.width = "".concat(targetWidth, "px");
|
|
45
|
-
|
|
46
23
|
if (typeof onResize === 'function') {
|
|
47
24
|
onResize(targetWidth);
|
|
48
25
|
}
|
|
49
26
|
}, [parentNode, onResize]);
|
|
50
|
-
|
|
27
|
+
const handleMouseUp = (0, _react.useCallback)(event => {
|
|
51
28
|
event.stopPropagation();
|
|
52
29
|
event.preventDefault();
|
|
53
30
|
window.removeEventListener('mousemove', handleMouseMove);
|
|
54
31
|
window.removeEventListener('mouseup', handleMouseUp);
|
|
55
32
|
setParentNode(null);
|
|
56
33
|
}, [handleMouseMove]);
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
34
|
+
const initResize = _ref2 => {
|
|
35
|
+
let {
|
|
36
|
+
target
|
|
37
|
+
} = _ref2;
|
|
60
38
|
setParentNode(target.parentNode);
|
|
61
39
|
};
|
|
62
|
-
|
|
63
|
-
(0, _react.useEffect)(function () {
|
|
40
|
+
(0, _react.useEffect)(() => {
|
|
64
41
|
if (parentNode) {
|
|
65
42
|
window.addEventListener('mousemove', handleMouseMove);
|
|
66
43
|
window.addEventListener('mouseup', handleMouseUp);
|
|
67
44
|
}
|
|
68
|
-
|
|
69
|
-
return function () {
|
|
45
|
+
return () => {
|
|
70
46
|
window.removeEventListener('mousemove', handleMouseMove);
|
|
71
47
|
window.removeEventListener('mouseup', handleMouseUp);
|
|
72
48
|
};
|
|
73
49
|
}, [parentNode, handleMouseMove, handleMouseUp]);
|
|
74
50
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(ColResize, {
|
|
75
|
-
onClick:
|
|
51
|
+
onClick: event => {
|
|
76
52
|
event.stopPropagation();
|
|
77
53
|
},
|
|
78
54
|
onMouseDown: initResize
|
|
79
55
|
});
|
|
80
56
|
};
|
|
81
|
-
|
|
82
|
-
var
|
|
83
|
-
|
|
84
|
-
var _default = Resizer;
|
|
85
|
-
exports.default = _default;
|
|
57
|
+
const ColResize = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n right: 0;\n top: 0;\n z-index: 1;\n height: 100%;\n\n &::after {\n content: '';\n width: 8px;\n margin-right: -4px;\n cursor: col-resize;\n }\n\n &:hover::after {\n background: var(--color-hover);\n }\n"])));
|
|
58
|
+
var _default = exports.default = Resizer;
|
|
@@ -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
|
-
|
|
17
|
-
|
|
11
|
+
const TableFooter = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ", "\n"])), _ref => {
|
|
12
|
+
let {
|
|
13
|
+
center
|
|
14
|
+
} = _ref;
|
|
18
15
|
return center && "\n flex-direction: column;\n justify-content: center;\n ";
|
|
19
16
|
});
|
|
20
|
-
|
|
21
|
-
var _default = TableFooter;
|
|
22
|
-
exports.default = _default;
|
|
17
|
+
var _default = exports.default = TableFooter;
|
|
@@ -4,16 +4,9 @@ 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
|
|
17
|
-
|
|
18
|
-
var _default = TableFooterInfo;
|
|
19
|
-
exports.default = _default;
|
|
11
|
+
const TableFooterInfo = _styledComponents.default.p(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: var(--font-body2);\n color: var(--font-on-background);\n"])));
|
|
12
|
+
var _default = exports.default = TableFooterInfo;
|
|
@@ -4,24 +4,17 @@ 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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
const TableFooterPager = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n\n ", "\n"])), _ref => {
|
|
12
|
+
let {
|
|
13
|
+
center
|
|
14
|
+
} = _ref;
|
|
19
15
|
if (center) {
|
|
20
16
|
return "\n flex-wrap: wrap;\n justify-content: center;\n\n > * {\n margin-top: var(--spacing-xs);\n }\n ";
|
|
21
17
|
}
|
|
22
|
-
|
|
23
18
|
return "\n > :last-child {\n margin-left: var(--spacing-xs);\n }\n ";
|
|
24
19
|
});
|
|
25
|
-
|
|
26
|
-
var _default = TableFooterPager;
|
|
27
|
-
exports.default = _default;
|
|
20
|
+
var _default = exports.default = TableFooterPager;
|
|
@@ -4,17 +4,10 @@ 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 _BaseTableHeadCell = _interopRequireDefault(require("./BaseTableHeadCell"));
|
|
11
|
-
|
|
12
9
|
var _templateObject;
|
|
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
|
|
19
|
-
var _default = TableHeadCell;
|
|
20
|
-
exports.default = _default;
|
|
12
|
+
const TableHeadCell = (0, _styledComponents.default)(_BaseTableHeadCell.default)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n &:first-child {\n padding-left: var(--spacing);\n }\n\n &:last-child {\n padding-right: var(--spacing);\n }\n"])));
|
|
13
|
+
var _default = exports.default = TableHeadCell;
|
|
@@ -4,31 +4,25 @@ 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 _fa = require("react-icons/fa");
|
|
11
|
-
|
|
12
9
|
var _templateObject, _templateObject2, _templateObject3;
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
const TableSort = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n\n > svg {\n color: var(--color-primary);\n position: absolute;\n }\n"])));
|
|
13
|
+
const UpIcon = (0, _styledComponents.default)(_fa.FaSortUp)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n top: -2px;\n opacity: ", ";\n"])), _ref => {
|
|
14
|
+
let {
|
|
15
|
+
$active
|
|
16
|
+
} = _ref;
|
|
22
17
|
return $active ? 1 : 0.5;
|
|
23
18
|
});
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
const DownIcon = (0, _styledComponents.default)(_fa.FaSortDown)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n opacity: ", ";\n"])), _ref2 => {
|
|
20
|
+
let {
|
|
21
|
+
$active
|
|
22
|
+
} = _ref2;
|
|
26
23
|
return $active ? 1 : 0.5;
|
|
27
24
|
});
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
exports.default = _default;
|
|
25
|
+
var _default = exports.default = Object.assign(TableSort, {
|
|
26
|
+
UpIcon,
|
|
27
|
+
DownIcon
|
|
28
|
+
});
|
package/tagify/TagifyStyle.js
CHANGED
|
@@ -4,18 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _styledComponents = require("styled-components");
|
|
9
|
-
|
|
10
8
|
var _scrollbar = _interopRequireDefault(require("../styles/mixin/scrollbar"));
|
|
11
|
-
|
|
12
9
|
var _templateObject;
|
|
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
12
|
// integrate tagify component
|
|
19
|
-
|
|
20
|
-
var _default = TagifyStyle;
|
|
21
|
-
exports.default = _default;
|
|
13
|
+
const TagifyStyle = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .tagify__dropdown {\n &__wrapper {\n max-height: 320px;\n border: 1px solid var(--border-color);\n color: var(--font-on-background);\n background: var(--color-background1);\n box-shadow: var(--box-shadow);\n border-radius: var(--border-radius);\n padding: var(--spacing-s) 0;\n overflow-y: auto;\n overflow-x: visible;\n\n ", "\n }\n\n &__item {\n max-width: 100%;\n word-break: break-all;\n padding: 12px var(--spacing-s);\n background: var(--color-background1);\n transition: 0.3s;\n\n &:hover {\n background: var(--color-hover);\n }\n }\n }\n"])), _scrollbar.default);
|
|
14
|
+
var _default = exports.default = TagifyStyle;
|
package/tagify/Tags.js
CHANGED
|
@@ -4,52 +4,30 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = require("react");
|
|
9
|
-
|
|
10
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
11
|
-
|
|
12
9
|
var _react2 = _interopRequireDefault(require("@yaireo/tagify/dist/react.tagify"));
|
|
13
|
-
|
|
14
10
|
require("@yaireo/tagify/dist/tagify.css");
|
|
15
|
-
|
|
16
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
|
|
18
12
|
var _templateObject;
|
|
19
|
-
|
|
20
|
-
var _excluded = ["onChange", "settings", "tagifyProps"];
|
|
21
|
-
|
|
22
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
|
-
|
|
24
14
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
33
|
-
|
|
34
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
35
|
-
|
|
36
|
-
var Tags = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
37
|
-
var onChange = _ref.onChange,
|
|
38
|
-
settings = _ref.settings,
|
|
39
|
-
tagifyProps = _ref.tagifyProps,
|
|
40
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
41
|
-
|
|
15
|
+
const Tags = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
16
|
+
let {
|
|
17
|
+
onChange,
|
|
18
|
+
settings,
|
|
19
|
+
tagifyProps,
|
|
20
|
+
...props
|
|
21
|
+
} = _ref;
|
|
42
22
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Wrapper, {
|
|
43
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_react2.default,
|
|
23
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_react2.default, {
|
|
44
24
|
tagifyRef: ref,
|
|
45
|
-
settings: settings
|
|
46
|
-
|
|
47
|
-
onChange: onChange
|
|
48
|
-
|
|
25
|
+
settings: settings,
|
|
26
|
+
...tagifyProps,
|
|
27
|
+
onChange: onChange,
|
|
28
|
+
...props
|
|
29
|
+
})
|
|
49
30
|
});
|
|
50
31
|
});
|
|
51
|
-
|
|
52
|
-
var
|
|
53
|
-
|
|
54
|
-
var _default = Tags;
|
|
55
|
-
exports.default = _default;
|
|
32
|
+
const Wrapper = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .tagify[readonly]:not(.tagify--mix):not(.tagify--select) {\n opacity: 0.5;\n }\n .tagify {\n --tags-disabled-bg: var(--font-on-mute);\n --tags-border-color: var(--border-color);\n --tags-hover-border-color: var(--border-color);\n --tags-focus-border-color: var(--color-primary);\n --tag-invalid-color: var(--color-danger);\n --tag-remove-btn-bg--hover: var(--color-danger);\n --input-color: var(--font-on-background);\n\n border-radius: var(--border-radius-l);\n width: 100%;\n\n .tagify__tag {\n > div::before {\n border-radius: var(--border-radius-l);\n }\n }\n }\n"])));
|
|
33
|
+
var _default = exports.default = Tags;
|
package/tagify/index.js
CHANGED
|
@@ -5,19 +5,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
Object.defineProperty(exports, "TagifyStyle", {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: function
|
|
8
|
+
get: function () {
|
|
9
9
|
return _TagifyStyle.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "Tags", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function
|
|
14
|
+
get: function () {
|
|
15
15
|
return _Tags.default;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
|
|
19
18
|
var _Tags = _interopRequireDefault(require("./Tags"));
|
|
20
|
-
|
|
21
19
|
var _TagifyStyle = _interopRequireDefault(require("./TagifyStyle"));
|
|
22
|
-
|
|
23
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/text/Paragraph.js
CHANGED
|
@@ -4,34 +4,39 @@ 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
|
-
|
|
17
|
-
|
|
11
|
+
const Paragraph = _styledComponents.default.p(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: var(--font-on-background);\n font-size: var(--font-body1);\n margin-bottom: var(--spacing-s);\n word-break: break-word;\n overflow-wrap: break-word;\n\n &:last-child {\n margin-bottom: 0;\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
|
|
12
|
+
let {
|
|
13
|
+
flex
|
|
14
|
+
} = _ref;
|
|
18
15
|
return flex && 'display: flex;';
|
|
19
|
-
},
|
|
20
|
-
|
|
16
|
+
}, _ref2 => {
|
|
17
|
+
let {
|
|
18
|
+
justifyContentBetween
|
|
19
|
+
} = _ref2;
|
|
21
20
|
return justifyContentBetween && 'justify-content: space-between;';
|
|
22
|
-
},
|
|
23
|
-
|
|
21
|
+
}, _ref3 => {
|
|
22
|
+
let {
|
|
23
|
+
inline
|
|
24
|
+
} = _ref3;
|
|
24
25
|
return inline && "\n display: inline;\n margin-right: var(--spacing-s);\n ";
|
|
25
|
-
},
|
|
26
|
-
|
|
26
|
+
}, _ref4 => {
|
|
27
|
+
let {
|
|
28
|
+
fontH3
|
|
29
|
+
} = _ref4;
|
|
27
30
|
return fontH3 && 'font-size: var(--font-h3);';
|
|
28
|
-
},
|
|
29
|
-
|
|
31
|
+
}, _ref5 => {
|
|
32
|
+
let {
|
|
33
|
+
fontWeightBold
|
|
34
|
+
} = _ref5;
|
|
30
35
|
return fontWeightBold && 'font-weight: bold;';
|
|
31
|
-
},
|
|
32
|
-
|
|
36
|
+
}, _ref6 => {
|
|
37
|
+
let {
|
|
38
|
+
marginBottomXS
|
|
39
|
+
} = _ref6;
|
|
33
40
|
return marginBottomXS && 'margin-bottom: var(--spacing-xs);';
|
|
34
41
|
});
|
|
35
|
-
|
|
36
|
-
var _default = Paragraph;
|
|
37
|
-
exports.default = _default;
|
|
42
|
+
var _default = exports.default = Paragraph;
|
package/text/index.js
CHANGED
|
@@ -5,11 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
Object.defineProperty(exports, "Paragraph", {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: function
|
|
8
|
+
get: function () {
|
|
9
9
|
return _Paragraph.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
|
|
13
12
|
var _Paragraph = _interopRequireDefault(require("./Paragraph"));
|
|
14
|
-
|
|
15
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/timeline/Timeline.js
CHANGED
|
@@ -4,48 +4,39 @@ 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, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var ItemCircle = _styledComponents.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n border-radius: 50%;\n border: 0.89rem solid #2d2c4c;\n z-index: 1;\n top: 0.2rem;\n left: 7rem;\n position: relative;\n\n > svg {\n font-size: 1.5rem;\n top: 0;\n left: 0;\n transform: translate(-50%, -50%);\n position: absolute;\n }\n\n ", "\n\n ", "\n\n ", "\n"])), function (_ref) {
|
|
25
|
-
var success = _ref.success;
|
|
11
|
+
const Timeline = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n\n &:before {\n content: '';\n position: absolute;\n left: 7.8rem;\n width: 0.214rem;\n top: 5px;\n bottom: 5px;\n height: calc(100% - 5px);\n background-color: #e7e9f5;\n }\n"])));
|
|
12
|
+
const Items = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral([""])));
|
|
13
|
+
const Item = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: table;\n position: relative;\n margin-bottom: 1.5rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n"])));
|
|
14
|
+
const ItemTag = _styledComponents.default.span(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: table-cell;\n font-size: var(--font-body1);\n font-weight: 500;\n vertical-align: top;\n position: absolute;\n padding-top: 0.5rem;\n color: var(--font-on-background);\n width: 6.5rem;\n text-align: center;\n"])));
|
|
15
|
+
const ItemCircle = _styledComponents.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n border-radius: 50%;\n border: 0.89rem solid #2d2c4c;\n z-index: 1;\n top: 0.2rem;\n left: 7rem;\n position: relative;\n\n > svg {\n font-size: 1.5rem;\n top: 0;\n left: 0;\n transform: translate(-50%, -50%);\n position: absolute;\n }\n\n ", "\n\n ", "\n\n ", "\n"])), _ref => {
|
|
16
|
+
let {
|
|
17
|
+
success
|
|
18
|
+
} = _ref;
|
|
26
19
|
return success && 'color: var(--color-success);';
|
|
27
|
-
},
|
|
28
|
-
|
|
20
|
+
}, _ref2 => {
|
|
21
|
+
let {
|
|
22
|
+
danger
|
|
23
|
+
} = _ref2;
|
|
29
24
|
return danger && 'color: var(--color-danger);';
|
|
30
|
-
},
|
|
31
|
-
|
|
25
|
+
}, _ref3 => {
|
|
26
|
+
let {
|
|
27
|
+
warning
|
|
28
|
+
} = _ref3;
|
|
32
29
|
return warning && 'color: var(--color-warning);';
|
|
33
30
|
});
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
var
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
ItemDescription: ItemDescription,
|
|
47
|
-
ItemTitle: ItemTitle,
|
|
48
|
-
ItemText: ItemText
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
exports.default = _default;
|
|
31
|
+
const ItemDescription = _styledComponents.default.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: table-cell;\n vertical-align: top;\n font-size: 1rem;\n padding: 0 0 0 8rem;\n color: var(--font-on-background);\n"])));
|
|
32
|
+
const ItemTitle = _styledComponents.default.span(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n display: block;\n font-weight: 400;\n\n &:last-child {\n margin-top: 8px;\n }\n"])));
|
|
33
|
+
const ItemText = _styledComponents.default.span(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n display: block;\n color: var(--font-on-mute);\n margin-top: 8px;\n line-height: 1.25;\n word-break: break-all;\n"])));
|
|
34
|
+
var _default = exports.default = Object.assign(Timeline, {
|
|
35
|
+
Items,
|
|
36
|
+
Item,
|
|
37
|
+
ItemTag,
|
|
38
|
+
ItemCircle,
|
|
39
|
+
ItemDescription,
|
|
40
|
+
ItemTitle,
|
|
41
|
+
ItemText
|
|
42
|
+
});
|