@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
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
19
|
-
|
|
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
|
-
},
|
|
22
|
-
|
|
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
|
-
},
|
|
25
|
-
|
|
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
|
-
},
|
|
28
|
-
|
|
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
|
-
|
|
17
|
-
|
|
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
|
-
},
|
|
20
|
-
|
|
16
|
+
}, _ref2 => {
|
|
17
|
+
let {
|
|
18
|
+
columns
|
|
19
|
+
} = _ref2;
|
|
21
20
|
return columns;
|
|
22
|
-
},
|
|
23
|
-
|
|
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
|
|
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
|
|
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 }; }
|
package/heading/Heading1.js
CHANGED
|
@@ -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 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;
|
package/heading/Heading2.js
CHANGED
|
@@ -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
|
-
|
|
17
|
-
|
|
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
|
-
},
|
|
20
|
-
|
|
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;
|
package/heading/Heading3.js
CHANGED
|
@@ -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
|
-
|
|
17
|
-
|
|
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
|
-
},
|
|
20
|
-
|
|
16
|
+
}, _ref2 => {
|
|
17
|
+
let {
|
|
18
|
+
fontWeightNormal
|
|
19
|
+
} = _ref2;
|
|
21
20
|
return fontWeightNormal && 'font-weight: normal;';
|
|
22
|
-
},
|
|
23
|
-
|
|
21
|
+
}, _ref3 => {
|
|
22
|
+
let {
|
|
23
|
+
marginBottomS
|
|
24
|
+
} = _ref3;
|
|
24
25
|
return marginBottomS && 'margin-bottom: var(--spacing-s);';
|
|
25
|
-
},
|
|
26
|
-
|
|
26
|
+
}, _ref4 => {
|
|
27
|
+
let {
|
|
28
|
+
marginBottomXS
|
|
29
|
+
} = _ref4;
|
|
27
30
|
return marginBottomXS && 'margin-bottom: var(--spacing-xs);';
|
|
28
|
-
},
|
|
29
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
|
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
|
|
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
|
-
|
|
21
|
-
|
|
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
|
-
|
|
26
|
-
|
|
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
|
-
},
|
|
29
|
-
|
|
24
|
+
}, _ref3 => {
|
|
25
|
+
let {
|
|
26
|
+
alignCenter
|
|
27
|
+
} = _ref3;
|
|
30
28
|
return alignCenter && 'text-align: center;';
|
|
31
|
-
},
|
|
32
|
-
|
|
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
|
-
|
|
37
|
-
|
|
38
|
-
var
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
|
+
});
|
package/iconbox/IconBox.js
CHANGED
|
@@ -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
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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;
|
package/iconbox/IconBoxV2.js
CHANGED
|
@@ -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
|
-
|
|
21
|
-
|
|
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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
|
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
|
|
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
|
|
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 }; }
|