@cashub/ui-elv 1.0.0
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 +28 -0
- package/Tab/TabList.js +167 -0
- package/Tab/TabPanel.js +49 -0
- package/Tab/TabTab.js +105 -0
- package/Tab/index.js +30 -0
- package/Tab/subComponent/TabContext.js +9 -0
- package/Tab/subComponent/TabListV2.js +25 -0
- package/Tab/subComponent/TabPanelV2.js +52 -0
- package/Tab/subComponent/TabTabV2.js +63 -0
- package/VerticalTab/TabList.js +27 -0
- package/VerticalTab/TabPanel.js +52 -0
- package/VerticalTab/TabTab.js +70 -0
- package/VerticalTab/VerticalTab.js +41 -0
- package/VerticalTab/index.js +16 -0
- package/VerticalTab/subComponent/TabContext.js +9 -0
- package/alert/Alert.js +29 -0
- package/alert/index.js +13 -0
- package/animate/Collapse.js +71 -0
- package/animate/Loader.js +58 -0
- package/animate/NumberCounter.js +51 -0
- package/animate/PulseRing.js +35 -0
- package/animate/Spinner.js +18 -0
- package/animate/index.js +41 -0
- package/assets/css/autocomplete.css +16 -0
- package/assets/css/font.css +4 -0
- package/assets/css/global.css +2 -0
- package/assets/font/helvetica/Helvetica.ttf +0 -0
- package/assets/font/nanumGothic/NanumGothic-Bold.ttf +0 -0
- package/assets/font/nanumGothic/NanumGothic-ExtraBold.ttf +0 -0
- package/assets/font/nanumGothic/NanumGothic-Regular.ttf +0 -0
- package/assets/icons/app-management.png +0 -0
- package/assets/icons/burger-black.png +0 -0
- package/assets/icons/burger-white.png +0 -0
- package/assets/icons/burger.png +0 -0
- package/assets/icons/file.svg +1 -0
- package/assets/icons/map_icon1.png +0 -0
- package/assets/icons/map_icon4.png +0 -0
- package/assets/images/bg-aside.png +0 -0
- package/assets/images/bg-chart-circle.png +0 -0
- package/assets/images/bg-chart-triangle.png +0 -0
- package/assets/images/cashub-logo-only.png +0 -0
- package/assets/images/default-user.jpg +0 -0
- package/assets/images/logo-cashub.png +0 -0
- package/assets/images/map.png +0 -0
- package/assets/images/qrcode.png +0 -0
- package/backdrop/BaseBackdrop.js +18 -0
- package/backdrop/LoadingBackdrop.js +17 -0
- package/backdrop/ModalBackdrop.js +15 -0
- package/backdrop/index.js +27 -0
- package/badge/Badge.js +26 -0
- package/badge/BadgeDot.js +18 -0
- package/badge/BadgeFill.js +49 -0
- package/badge/BadgeFillTriangle.js +147 -0
- package/badge/BadgeWithText.js +31 -0
- package/badge/index.js +41 -0
- package/billing/BarChart.js +51 -0
- package/billing/Grid.js +45 -0
- package/billing/Header2.js +25 -0
- package/billing/Header3.js +37 -0
- package/billing/Paragraph.js +33 -0
- package/billing/ParagraphGroup.js +22 -0
- package/billing/ParagraphText.js +26 -0
- package/billing/Section.js +50 -0
- package/billing/SectionBody.js +17 -0
- package/billing/SectionHeader.js +26 -0
- package/billing/__stories__/BarChart.stories.js_bak +46 -0
- package/billing/__stories__/Grid.stories.js_bak +57 -0
- package/billing/__stories__/Header2.stories.js_bak +62 -0
- package/billing/__stories__/Header3.stories.js_bak +69 -0
- package/billing/__stories__/Paragraph.stories.js_bak +84 -0
- package/billing/__stories__/ParagraphGroup.stories.js_bak +68 -0
- package/billing/__stories__/ParagraphText.stories.js_bak +64 -0
- package/billing/__stories__/Section.stories.js_bak +115 -0
- package/billing/__stories__/SectionBody.stories.js_bak +62 -0
- package/billing/__stories__/SectionHeader.stories.js-bak +68 -0
- package/breadcrumb/Breadcrumb.js +78 -0
- package/breadcrumb/index.js +13 -0
- package/button/Button.js +154 -0
- package/button/ButtonGroup.js +61 -0
- package/button/IconButton.js +72 -0
- package/button/ScrollToTopButton.js +54 -0
- package/button/index.js +34 -0
- package/callout/Callout.js +52 -0
- package/callout/index.js +13 -0
- package/chart/BarChart.js +148 -0
- package/chart/DoughnutChart.js +118 -0
- package/chart/LineChart.js +146 -0
- package/chart/SingleBarChart.js +42 -0
- package/chart/index.js +52 -0
- package/chart/utils/centerTextPlugin.js +62 -0
- package/chart/utils/customTooltip.js +94 -0
- package/chart/utils/htmlLegendPlugin.js +89 -0
- package/chart/utils/index.js +27 -0
- package/chart/utils/padEmptyChartBar.js +53 -0
- package/chart/utils/yAxisTopTitlePlugin.js +49 -0
- package/container/FlexContainer.js +40 -0
- package/container/index.js +13 -0
- package/cropper/Cropper.js +54 -0
- package/cropper/CropperModalHandler.js +41 -0
- package/cropper/index.js +20 -0
- package/cropper/subComponent/CropImageModal.js +79 -0
- package/datetimePicker/DatePicker.js +363 -0
- package/datetimePicker/DatePickerV2.js +407 -0
- package/datetimePicker/DatetimePicker.js +240 -0
- package/datetimePicker/DatetimePickerV2.js +395 -0
- package/datetimePicker/DatetimePickerV3.js +279 -0
- package/datetimePicker/TimeInput.js +56 -0
- package/datetimePicker/TimePicker.js +317 -0
- package/datetimePicker/TimePickerStyle.js +64 -0
- package/datetimePicker/TimePickerV2.js +208 -0
- package/datetimePicker/accordion/Month.js +254 -0
- package/datetimePicker/accordion/Year.js +284 -0
- package/datetimePicker/hooks/index.js +27 -0
- package/datetimePicker/hooks/useChangeNumber.js +42 -0
- package/datetimePicker/hooks/useDecrease.js +38 -0
- package/datetimePicker/hooks/useIncrease.js +38 -0
- package/datetimePicker/index.js +69 -0
- package/datetimePicker/provider/constant.js +43 -0
- package/datetimePicker/subComponent/Accordion.js +373 -0
- package/datetimePicker/subComponent/CustomTimeInput.js +47 -0
- package/datetimePicker/subComponent/DateTimePickerContext.js +9 -0
- package/datetimePicker/utils/GMTDate.js +15 -0
- package/datetimePicker/utils/pad.js +13 -0
- package/datetimePicker/utils/toUTC0.js +13 -0
- package/descriptionList/DescriptionDetail.js +28 -0
- package/descriptionList/DescriptionList.js +25 -0
- package/descriptionList/DescriptionTerm.js +14 -0
- package/descriptionList/index.js +27 -0
- package/divider/Divider.js +31 -0
- package/divider/index.js +13 -0
- package/dropdown/Dropdown.js +55 -0
- package/dropdown/DropdownButtonOption.js +43 -0
- package/dropdown/DropdownContent.js +90 -0
- package/dropdown/DropdownDivOption.js +26 -0
- package/dropdown/DropdownItem.js +26 -0
- package/dropdown/DropdownLinkOption.js +24 -0
- package/dropdown/DropdownToggle.js +38 -0
- package/dropdown/index.js +42 -0
- package/dropdown/subComponent/DropdownContext.js +9 -0
- package/dropzone/FileDropzone.js +479 -0
- package/dropzone/ImageDropzone.js +334 -0
- package/dropzone/index.js +20 -0
- package/dropzone/subComponent/Message.js +26 -0
- package/figure/IconFigure.js +42 -0
- package/figure/ImageFigure.js +38 -0
- package/figure/index.js +20 -0
- package/file/HiddenFileInput.js +15 -0
- package/file/index.js +13 -0
- package/form/Checkbox.js +166 -0
- package/form/Fieldset.js +18 -0
- package/form/FormItem.js +22 -0
- package/form/Input.js +66 -0
- package/form/Label.js +61 -0
- package/form/MutedText.js +21 -0
- package/form/PasswordInput.js +47 -0
- package/form/RadioButton.js +103 -0
- package/form/SearchSelect.js +181 -0
- package/form/Searchbox.js +98 -0
- package/form/Slider.js +46 -0
- package/form/SwitchButton.js +105 -0
- package/form/Textarea.js +41 -0
- package/form/TreeView.js +73 -0
- package/form/index.js +104 -0
- package/grid/Column.js +46 -0
- package/grid/Grid.js +35 -0
- package/grid/index.js +20 -0
- package/heading/Heading1.js +21 -0
- package/heading/Heading2.js +28 -0
- package/heading/Heading3.js +49 -0
- package/heading/index.js +27 -0
- package/helmet/Helmet.js +23 -0
- package/helmet/index.js +20 -0
- package/iconbox/ApplicationIconBox.js +81 -0
- package/iconbox/IconBox.js +67 -0
- package/iconbox/IconBoxV2.js +72 -0
- package/iconbox/index.js +27 -0
- package/iconbox/subComponent/IconBoxFigure.js +50 -0
- package/iconbox/subComponent/IconBoxImage.js +42 -0
- package/image/ImageFluid.js +17 -0
- package/image/UploadImage.js +250 -0
- package/image/index.js +20 -0
- package/index.js +568 -0
- package/jsoneditor/JsonEditor.js +142 -0
- package/jsoneditor/index.js +13 -0
- package/keyframe/Pulse.js +21 -0
- package/keyframe/Spin.js +13 -0
- package/layout/Aside.js +48 -0
- package/layout/AsideHeader.jsx +27 -0
- package/layout/Backdrop.js +23 -0
- package/layout/Container.js +39 -0
- package/layout/Footer.js +45 -0
- package/layout/Header.jsx +55 -0
- package/layout/Layout.jsx +84 -0
- package/layout/Logo.jsx +17 -0
- package/layout/MenuIcon.jsx +27 -0
- package/layout/Sidebar.jsx +271 -0
- package/layout/index.js +13 -0
- package/link/LinkSpan.js +69 -0
- package/link/index.js +13 -0
- package/map/GoogleMap.js +448 -0
- package/map/GoogleReverseGeolocation.js +200 -0
- package/map/LeafletMap.js +231 -0
- package/map/LeafletReverseGeolocation.js +101 -0
- package/map/index.js +34 -0
- package/map/subComponent/BasicLeafletMap.js +34 -0
- package/map/subComponent/GoogleMapContainer.js +29 -0
- package/map/subComponent/GoogleMapPopup.js +109 -0
- package/map/subComponent/GoogleMapWrapper.js +40 -0
- package/map/subComponent/LeafletDrawControl.js +127 -0
- package/map/subComponent/LeafletMapContainer.js +173 -0
- package/map/subComponent/MapSearchBoxControl.js +54 -0
- package/modal/StateModal.js +178 -0
- package/modal/TitleModal.js +250 -0
- package/modal/index.js +20 -0
- package/package.json +54 -0
- package/page/Disclaimer.js +128 -0
- package/page/index.js +13 -0
- package/paginate/Paginate.js +137 -0
- package/paginate/index.js +13 -0
- package/popover/Popover.js +91 -0
- package/popover/index.js +13 -0
- package/qrcode/QRCode.js +58 -0
- package/qrcode/QRCodeContainter.js +34 -0
- package/qrcode/index.js +20 -0
- package/ribbon/Ribbon.js +42 -0
- package/ribbon/index.js +13 -0
- package/section/Section.js +133 -0
- package/section/SectionBody.js +52 -0
- package/section/SectionHeader.js +70 -0
- package/section/SectionToolbar.js +18 -0
- package/section/SectionToolbarItem.js +17 -0
- package/section/index.js +41 -0
- package/select/InputSelect.js +270 -0
- package/select/Select.js +818 -0
- package/select/index.js +20 -0
- package/select/subComponent/Checkbox.js +48 -0
- package/select/subComponent/Footer.js +13 -0
- package/select/subComponent/ListBox.js +30 -0
- package/select/subComponent/Option.js +45 -0
- package/select/subComponent/OptionGroup.js +23 -0
- package/select/subComponent/Options.js +32 -0
- package/select/subComponent/SearchBox.js +58 -0
- package/select/subComponent/SelectedMultipleCount.js +39 -0
- package/select/subComponent/SelectedMultipleTags.js +54 -0
- package/select/subComponent/SelectedMultipleText.js +70 -0
- package/select/subComponent/SelectedSingle.js +17 -0
- package/styles/GlobalStyle.js +334 -0
- package/styles/config/breakpoint.style.js +13 -0
- package/styles/config/header.style.js +10 -0
- package/styles/config/sidebar.style.js +17 -0
- package/styles/index.js +20 -0
- package/styles/mixin/backgroundColor.js +44 -0
- package/styles/mixin/borderColor.js +37 -0
- package/styles/mixin/color.js +37 -0
- package/styles/mixin/colorOnBackground.js +37 -0
- package/styles/mixin/inputPlaceholder.js +30 -0
- package/styles/mixin/media.js +21 -0
- package/styles/mixin/rounded.js +30 -0
- package/styles/mixin/scrollbar.js +32 -0
- package/styles/theme/dark.theme.js +97 -0
- package/styles/theme/light.theme.js +97 -0
- package/styles/theme/white.theme.js +97 -0
- package/styles/themes.js +16 -0
- package/table/GridTable.js +336 -0
- package/table/ImageBox.js +45 -0
- package/table/InfiniteGridTable.js +403 -0
- package/table/PermissionTable.js +64 -0
- package/table/SimpleGridTable.js +143 -0
- package/table/Table.js +568 -0
- package/table/__mock__/columns.js +70 -0
- package/table/__mock__/data.js +536 -0
- package/table/hooks/index.js +20 -0
- package/table/hooks/useCalculateDataRange.js +28 -0
- package/table/hooks/useGenerateSort.js +39 -0
- package/table/index.js +48 -0
- package/table/subComponent/BaseTableHeadCell.js +62 -0
- package/table/subComponent/GridTableFooter.js +24 -0
- package/table/subComponent/GridTableHeadCell.js +20 -0
- package/table/subComponent/Resizer.js +77 -0
- package/table/subComponent/TableFooter.js +31 -0
- package/table/subComponent/TableFooterInfo.js +13 -0
- package/table/subComponent/TableFooterPager.js +33 -0
- package/table/subComponent/TableHeadCell.js +19 -0
- package/table/subComponent/TableSort.js +38 -0
- package/tagify/TagifyStyle.js +60 -0
- package/tagify/Tags.js +56 -0
- package/tagify/index.js +27 -0
- package/tagify/templates/getCreateButtonTemplate.js +18 -0
- package/text/Paragraph.js +86 -0
- package/text/index.js +13 -0
- package/timeline/Timeline.js +139 -0
- package/timeline/index.js +13 -0
- package/toast/CustomToastContainer.js +45 -0
- package/toast/MessageContainer.js +51 -0
- package/toast/index.js +36 -0
- package/toast/show.js +39 -0
- package/toast/style.css +1 -0
- package/tooltip/Tooltip.js +140 -0
- package/tooltip/index.js +13 -0
- package/treeView/TreeViewV2.js +38 -0
- package/treeView/TreeflexStyle.js +49 -0
- package/treeView/index.js +20 -0
- package/wizard/Wizard.js +251 -0
- package/wizard/index.js +13 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _TabContext = _interopRequireDefault(require("./subComponent/TabContext"));
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
const VerticalTab = _ref => {
|
|
12
|
+
let {
|
|
13
|
+
children,
|
|
14
|
+
height,
|
|
15
|
+
selected,
|
|
16
|
+
onChange
|
|
17
|
+
} = _ref;
|
|
18
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TabContext.default.Provider, {
|
|
19
|
+
value: {
|
|
20
|
+
selected,
|
|
21
|
+
onChange
|
|
22
|
+
},
|
|
23
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Container, {
|
|
24
|
+
height: height,
|
|
25
|
+
children: children
|
|
26
|
+
})
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
const Container = _styledComponents.default.div`
|
|
30
|
+
display: flex;
|
|
31
|
+
height: ${_ref2 => {
|
|
32
|
+
let {
|
|
33
|
+
height
|
|
34
|
+
} = _ref2;
|
|
35
|
+
return height ? height : '100vh';
|
|
36
|
+
}};
|
|
37
|
+
border-radius: var(--border-radius-s);
|
|
38
|
+
background: var(--color-background3);
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
`;
|
|
41
|
+
var _default = exports.default = VerticalTab;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _VerticalTab = _interopRequireDefault(require("./VerticalTab"));
|
|
8
|
+
var _TabList = _interopRequireDefault(require("./TabList"));
|
|
9
|
+
var _TabTab = _interopRequireDefault(require("./TabTab"));
|
|
10
|
+
var _TabPanel = _interopRequireDefault(require("./TabPanel"));
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
var _default = exports.default = Object.assign(_VerticalTab.default, {
|
|
13
|
+
List: _TabList.default,
|
|
14
|
+
Tab: _TabTab.default,
|
|
15
|
+
Panel: _TabPanel.default
|
|
16
|
+
});
|
package/alert/Alert.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
const Alert = _styledComponents.default.div`
|
|
10
|
+
background: var(--color-background1);
|
|
11
|
+
border-radius: var(--border-radius);
|
|
12
|
+
color: var(--font-on-background);
|
|
13
|
+
padding: var(--spacing);
|
|
14
|
+
|
|
15
|
+
${_ref => {
|
|
16
|
+
let {
|
|
17
|
+
backgroundReverse
|
|
18
|
+
} = _ref;
|
|
19
|
+
return backgroundReverse && 'background: var(--color-background2);';
|
|
20
|
+
}}
|
|
21
|
+
|
|
22
|
+
${_ref2 => {
|
|
23
|
+
let {
|
|
24
|
+
marginBottom
|
|
25
|
+
} = _ref2;
|
|
26
|
+
return marginBottom && 'margin-bottom: var(--spacing);';
|
|
27
|
+
}}
|
|
28
|
+
`;
|
|
29
|
+
var _default = exports.default = Alert;
|
package/alert/index.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "Alert", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _Alert.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _Alert = _interopRequireDefault(require("./Alert"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactTransitionGroup = require("react-transition-group");
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
const Collapse = _ref => {
|
|
11
|
+
let {
|
|
12
|
+
in: inProp,
|
|
13
|
+
duration = 1000,
|
|
14
|
+
children,
|
|
15
|
+
onEntered,
|
|
16
|
+
onExit,
|
|
17
|
+
onExited
|
|
18
|
+
} = _ref;
|
|
19
|
+
const childRef = (0, _react.useRef)(null);
|
|
20
|
+
const [state, setState] = (0, _react.useState)({
|
|
21
|
+
show: inProp,
|
|
22
|
+
height: 0
|
|
23
|
+
});
|
|
24
|
+
const defaultStyle = (0, _react.useMemo)(() => {
|
|
25
|
+
const style = {
|
|
26
|
+
transition: `height ${duration}ms ease-in-out`,
|
|
27
|
+
height: state.height,
|
|
28
|
+
overflow: 'hidden'
|
|
29
|
+
};
|
|
30
|
+
return style;
|
|
31
|
+
}, [duration, state.height]);
|
|
32
|
+
const transitionStyles = (0, _react.useMemo)(() => {
|
|
33
|
+
return {
|
|
34
|
+
entering: {
|
|
35
|
+
height: state.height
|
|
36
|
+
},
|
|
37
|
+
entered: {
|
|
38
|
+
height: state.height
|
|
39
|
+
},
|
|
40
|
+
exiting: {
|
|
41
|
+
height: 0
|
|
42
|
+
},
|
|
43
|
+
exited: {
|
|
44
|
+
height: 0
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}, [state.height]);
|
|
48
|
+
(0, _react.useEffect)(() => {
|
|
49
|
+
setState({
|
|
50
|
+
show: inProp,
|
|
51
|
+
height: childRef.current.clientHeight
|
|
52
|
+
});
|
|
53
|
+
}, [inProp]);
|
|
54
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactTransitionGroup.Transition, {
|
|
55
|
+
in: state.show,
|
|
56
|
+
timeout: duration,
|
|
57
|
+
onEntered: onEntered,
|
|
58
|
+
onExit: onExit,
|
|
59
|
+
onExited: onExited,
|
|
60
|
+
children: state => /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
61
|
+
style: {
|
|
62
|
+
...defaultStyle,
|
|
63
|
+
...transitionStyles[state]
|
|
64
|
+
},
|
|
65
|
+
children: /*#__PURE__*/(0, _react.cloneElement)(children, {
|
|
66
|
+
ref: childRef
|
|
67
|
+
})
|
|
68
|
+
})
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
var _default = exports.default = Collapse;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _LoadingBackdrop = _interopRequireDefault(require("../backdrop/LoadingBackdrop"));
|
|
9
|
+
var _Spinner = _interopRequireDefault(require("./Spinner"));
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
const Loader = _ref => {
|
|
13
|
+
let {
|
|
14
|
+
transparent,
|
|
15
|
+
backgroundFill,
|
|
16
|
+
$loading = true,
|
|
17
|
+
text
|
|
18
|
+
} = _ref;
|
|
19
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Wrapper, {
|
|
20
|
+
transparent: transparent,
|
|
21
|
+
backgroundFill: backgroundFill,
|
|
22
|
+
$loading: $loading,
|
|
23
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Spinner.default, {}), text && /*#__PURE__*/(0, _jsxRuntime.jsx)(Text, {
|
|
24
|
+
children: text
|
|
25
|
+
})]
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
const Wrapper = (0, _styledComponents.default)(_LoadingBackdrop.default)`
|
|
29
|
+
z-index: 200;
|
|
30
|
+
|
|
31
|
+
${_ref2 => {
|
|
32
|
+
let {
|
|
33
|
+
transparent
|
|
34
|
+
} = _ref2;
|
|
35
|
+
return transparent && 'background: transparent;';
|
|
36
|
+
}}
|
|
37
|
+
|
|
38
|
+
${_ref3 => {
|
|
39
|
+
let {
|
|
40
|
+
backgroundFill
|
|
41
|
+
} = _ref3;
|
|
42
|
+
return backgroundFill && 'background: var(--color-background1);';
|
|
43
|
+
}}
|
|
44
|
+
|
|
45
|
+
${_ref4 => {
|
|
46
|
+
let {
|
|
47
|
+
$loading
|
|
48
|
+
} = _ref4;
|
|
49
|
+
return !$loading && 'display: none;';
|
|
50
|
+
}}
|
|
51
|
+
`;
|
|
52
|
+
const Text = _styledComponents.default.p`
|
|
53
|
+
white-space: pre-line;
|
|
54
|
+
margin: var(--spacing) 0;
|
|
55
|
+
font-size: var(--font-h2);
|
|
56
|
+
text-align: center;
|
|
57
|
+
`;
|
|
58
|
+
var _default = exports.default = Loader;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
const MINIMUM_STEP_TIME = 100;
|
|
9
|
+
const NumberCounter = _ref => {
|
|
10
|
+
let {
|
|
11
|
+
start,
|
|
12
|
+
end,
|
|
13
|
+
duration
|
|
14
|
+
} = _ref;
|
|
15
|
+
const [number, setNumber] = (0, _react.useState)(start || 0);
|
|
16
|
+
(0, _react.useEffect)(() => {
|
|
17
|
+
// invalid value
|
|
18
|
+
if (end === null || end === undefined) return;
|
|
19
|
+
|
|
20
|
+
// same value no need do counter
|
|
21
|
+
if (start === end) return;
|
|
22
|
+
let current = start;
|
|
23
|
+
const range = end - start;
|
|
24
|
+
let increment = end > start ? 1 : -1;
|
|
25
|
+
let stepTime = duration / range;
|
|
26
|
+
|
|
27
|
+
// use minimum step time instead if step time too small
|
|
28
|
+
// prevent too much render cause long time render
|
|
29
|
+
if (stepTime < MINIMUM_STEP_TIME) {
|
|
30
|
+
const gap = MINIMUM_STEP_TIME - stepTime;
|
|
31
|
+
const multiple = gap / stepTime;
|
|
32
|
+
stepTime = MINIMUM_STEP_TIME;
|
|
33
|
+
increment = Math.floor(1 + 1 * multiple);
|
|
34
|
+
}
|
|
35
|
+
const timer = setInterval(() => {
|
|
36
|
+
current += increment;
|
|
37
|
+
if (current > end) {
|
|
38
|
+
current = end;
|
|
39
|
+
}
|
|
40
|
+
setNumber(current);
|
|
41
|
+
if (current === end) {
|
|
42
|
+
clearInterval(timer);
|
|
43
|
+
}
|
|
44
|
+
}, stepTime);
|
|
45
|
+
return () => {
|
|
46
|
+
clearInterval(timer);
|
|
47
|
+
};
|
|
48
|
+
}, [start, end, duration]);
|
|
49
|
+
return number;
|
|
50
|
+
};
|
|
51
|
+
var _default = exports.default = NumberCounter;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
8
|
+
var _Pulse = _interopRequireDefault(require("../keyframe/Pulse"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
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); }
|
|
11
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
|
+
const PulseRing = _styledComponents.default.span.attrs(() => ({
|
|
13
|
+
role: 'presentation'
|
|
14
|
+
}))`
|
|
15
|
+
display: block;
|
|
16
|
+
border-radius: var(--border-radius-round);
|
|
17
|
+
height: 40px;
|
|
18
|
+
width: 40px;
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 0;
|
|
21
|
+
z-index: -1;
|
|
22
|
+
opacity: 0;
|
|
23
|
+
border: 4px solid var(--color-primary);
|
|
24
|
+
|
|
25
|
+
${_ref => {
|
|
26
|
+
let {
|
|
27
|
+
play
|
|
28
|
+
} = _ref;
|
|
29
|
+
return play && (0, _styledComponents.css)`
|
|
30
|
+
animation: ${_Pulse.default} 3.5s ease-out;
|
|
31
|
+
animation-iteration-count: infinite;
|
|
32
|
+
`;
|
|
33
|
+
}}
|
|
34
|
+
`;
|
|
35
|
+
var _default = exports.default = PulseRing;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _Spin = _interopRequireDefault(require("../keyframe/Spin"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
const Spinner = _styledComponents.default.div`
|
|
11
|
+
width: 40px;
|
|
12
|
+
height: 40px;
|
|
13
|
+
border-radius: 50%;
|
|
14
|
+
border: 0.3rem solid var(--color-background2);
|
|
15
|
+
border-top-color: var(--color-primary);
|
|
16
|
+
animation: 1s ${_Spin.default} infinite linear;
|
|
17
|
+
`;
|
|
18
|
+
var _default = exports.default = Spinner;
|
package/animate/index.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "Collapse", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _Collapse.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "Loader", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _Loader.default;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "NumberCounter", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _NumberCounter.default;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "PulseRing", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _PulseRing.default;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "Spinner", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _Spinner.default;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
var _Collapse = _interopRequireDefault(require("./Collapse"));
|
|
37
|
+
var _Loader = _interopRequireDefault(require("./Loader"));
|
|
38
|
+
var _NumberCounter = _interopRequireDefault(require("./NumberCounter"));
|
|
39
|
+
var _PulseRing = _interopRequireDefault(require("./PulseRing"));
|
|
40
|
+
var _Spinner = _interopRequireDefault(require("./Spinner"));
|
|
41
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fix autocomplete style
|
|
3
|
+
*/
|
|
4
|
+
input:-webkit-autofill,
|
|
5
|
+
input:-webkit-autofill:hover,
|
|
6
|
+
input:-webkit-autofill:focus,
|
|
7
|
+
textarea:-webkit-autofill,
|
|
8
|
+
textarea:-webkit-autofill:hover,
|
|
9
|
+
textarea:-webkit-autofill:focus,
|
|
10
|
+
select:-webkit-autofill,
|
|
11
|
+
select:-webkit-autofill:hover,
|
|
12
|
+
select:-webkit-autofill:focus {
|
|
13
|
+
transition: color 5000s ease-in-out 0s, background-color 5000s ease-in-out 0s;
|
|
14
|
+
box-shadow: 0 0 0px 100px var(--color-background2) inset;
|
|
15
|
+
-webkit-text-fill-color: var(--font-on-background);
|
|
16
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg height="512pt" viewBox="-56 0 512 512" width="512pt" xmlns="http://www.w3.org/2000/svg"><path d="m352.402344 64.265625h-176.734375c-3.980469 0-7.792969 1.582031-10.605469 4.394531l-96.402344 96.402344c-2.8125 2.8125-4.394531 6.625-4.394531 10.605469v289.199219c0 25.988281 21.144531 47.132812 47.132813 47.132812h241c25.992187 0 47.132812-21.144531 47.132812-47.132812v-353.46875c.003906-25.988282-21.140625-47.132813-47.128906-47.132813zm0 0" fill="#3ab4fb"/><path d="m399.535156 111.398438v353.472656c0 25.988281-21.148437 47.128906-47.136718 47.128906h-152.632813v-447.730469h152.632813c25.988281 0 47.136718 21.140625 47.136718 47.128907zm0 0" fill="#1d9cfd"/><path d="m288.132812 0h-176.730468c-3.980469 0-7.792969 1.582031-10.605469 4.394531l-96.402344 96.398438c-2.8125 2.8125-4.394531 6.628906-4.394531 10.605469v289.203124c0 25.988282 21.144531 47.132813 47.132812 47.132813h241c25.988282 0 47.132813-21.144531 47.132813-47.132813v-353.46875c0-25.988281-21.144531-47.132812-47.132813-47.132812zm0 0" fill="#eff6fe"/><g fill="#d9e4ef"><path d="m95.335938 351.332031h80.332031c8.28125 0 15-6.714843 15-15 0-8.28125-6.71875-15-15-15h-80.332031c-8.285157 0-15 6.71875-15 15 0 8.285157 6.714843 15 15 15zm0 0"/><path d="m335.265625 47.128906v353.472656c0 25.988282-21.136719 47.128907-47.128906 47.128907h-88.371094v-447.730469h88.371094c25.992187 0 47.128906 21.140625 47.128906 47.128906zm0 0"/><path d="m95.335938 222.800781h144.597656c8.285156 0 15-6.714843 15-15 0-8.285156-6.714844-15-15-15h-144.597656c-8.285157 0-15 6.714844-15 15 0 8.285157 6.714843 15 15 15zm0 0"/><path d="m95.335938 287.066406h144.597656c8.285156 0 15-6.714844 15-15s-6.714844-15-15-15h-144.597656c-8.285157 0-15 6.714844-15 15s6.714843 15 15 15zm0 0"/></g><path d="m254.9375 207.800781c0 8.277344-6.71875 15-15 15h-40.171875v-30h40.171875c8.28125 0 15 6.71875 15 15zm0 0" fill="#c1cedb"/><path d="m254.9375 272.070312c0 8.28125-6.71875 15-15 15h-40.171875v-30h40.171875c8.28125 0 15 6.710938 15 15zm0 0" fill="#c1cedb"/><path d="m95.335938 112.46875c9.445312 0 17.132812-7.6875 17.132812-17.132812v-95.335938h-1.070312c-3.976563 0-7.792969 1.582031-10.605469 4.394531l-96.398438 96.398438c-2.8125 2.8125-4.394531 6.628906-4.394531 10.605469v1.070312zm0 0" fill="#d9e4ef"/></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
const BaseBackdrop = _styledComponents.default.div`
|
|
10
|
+
position: fixed;
|
|
11
|
+
top: 0;
|
|
12
|
+
left: 0;
|
|
13
|
+
right: 0;
|
|
14
|
+
bottom: 0;
|
|
15
|
+
background: var(--color-backdrop);
|
|
16
|
+
z-index: 50;
|
|
17
|
+
`;
|
|
18
|
+
var _default = exports.default = BaseBackdrop;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _BaseBackdrop = _interopRequireDefault(require("./BaseBackdrop"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
const LoadingBackdrop = (0, _styledComponents.default)(_BaseBackdrop.default)`
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
color: var(--color-primary);
|
|
16
|
+
`;
|
|
17
|
+
var _default = exports.default = LoadingBackdrop;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _BaseBackdrop = _interopRequireDefault(require("./BaseBackdrop"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
const ModalBackdrop = (0, _styledComponents.default)(_BaseBackdrop.default)`
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
`;
|
|
15
|
+
var _default = exports.default = ModalBackdrop;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "BaseBackdrop", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _BaseBackdrop.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "LoadingBackdrop", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _LoadingBackdrop.default;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "ModalBackdrop", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _ModalBackdrop.default;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
var _BaseBackdrop = _interopRequireDefault(require("./BaseBackdrop"));
|
|
25
|
+
var _LoadingBackdrop = _interopRequireDefault(require("./LoadingBackdrop"));
|
|
26
|
+
var _ModalBackdrop = _interopRequireDefault(require("./ModalBackdrop"));
|
|
27
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
package/badge/Badge.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _color = _interopRequireDefault(require("../styles/mixin/color"));
|
|
9
|
+
var _borderColor = _interopRequireDefault(require("../styles/mixin/borderColor"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
const Badge = _styledComponents.default.span`
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
align-items: center;
|
|
15
|
+
height: auto;
|
|
16
|
+
width: auto;
|
|
17
|
+
font-size: inherit;
|
|
18
|
+
padding: 0.25rem 0.5rem;
|
|
19
|
+
margin: 0 var(--spacing-xs) var(--spacing-xs) 0;
|
|
20
|
+
border: var(--border-width) solid var(--border-color);
|
|
21
|
+
border-radius: var(--border-radius-l);
|
|
22
|
+
|
|
23
|
+
${_color.default}
|
|
24
|
+
${_borderColor.default}
|
|
25
|
+
`;
|
|
26
|
+
var _default = exports.default = Badge;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _backgroundColor = _interopRequireDefault(require("../styles/mixin/backgroundColor"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
const BadgeDot = _styledComponents.default.span`
|
|
11
|
+
display: inline-block;
|
|
12
|
+
height: 8px;
|
|
13
|
+
width: 8px;
|
|
14
|
+
border-radius: var(--border-radius);
|
|
15
|
+
|
|
16
|
+
${_backgroundColor.default}
|
|
17
|
+
`;
|
|
18
|
+
var _default = exports.default = BadgeDot;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _backgroundColor = _interopRequireDefault(require("../styles/mixin/backgroundColor"));
|
|
9
|
+
var _colorOnBackground = _interopRequireDefault(require("../styles/mixin/colorOnBackground"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
const BadgeFill = _styledComponents.default.span.attrs(() => ({
|
|
12
|
+
primary: true
|
|
13
|
+
}))`
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
align-items: center;
|
|
17
|
+
height: auto;
|
|
18
|
+
width: auto;
|
|
19
|
+
border-radius: var(--border-radius-l);
|
|
20
|
+
font-size: 1rem;
|
|
21
|
+
padding: 0.5rem;
|
|
22
|
+
margin: 0;
|
|
23
|
+
color: var(--font-on-background);
|
|
24
|
+
|
|
25
|
+
${_backgroundColor.default}
|
|
26
|
+
${_colorOnBackground.default}
|
|
27
|
+
|
|
28
|
+
${_ref => {
|
|
29
|
+
let {
|
|
30
|
+
extraSmall
|
|
31
|
+
} = _ref;
|
|
32
|
+
return extraSmall && 'font-size: 0.75rem; padding: 0.125rem;';
|
|
33
|
+
}}
|
|
34
|
+
|
|
35
|
+
${_ref2 => {
|
|
36
|
+
let {
|
|
37
|
+
small
|
|
38
|
+
} = _ref2;
|
|
39
|
+
return small && 'font-size: 1rem; padding: 0.25rem;';
|
|
40
|
+
}}
|
|
41
|
+
|
|
42
|
+
${_ref3 => {
|
|
43
|
+
let {
|
|
44
|
+
large
|
|
45
|
+
} = _ref3;
|
|
46
|
+
return large && 'font-size: 2rem;';
|
|
47
|
+
}}
|
|
48
|
+
`;
|
|
49
|
+
var _default = exports.default = BadgeFill;
|