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