@cashub/ui-elv 1.0.1 → 1.0.3
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/chart/BarChart.js +8 -2
- package/chart/DoughnutChart.js +2 -1
- package/chart/LineChart.js +2 -1
- package/chart/utils/customTooltip.js +3 -7
- package/chart/utils/customTooltipLifecyclePlugin.js +21 -0
- package/chart/utils/tooltipElement.js +25 -0
- package/chart/utils/xAxisLabelTooltipPlugin.js +107 -0
- package/datetimePicker/index.js +2 -37
- package/esm/Tab/Tab.js +21 -0
- package/esm/Tab/TabList.js +160 -0
- package/esm/Tab/TabPanel.js +42 -0
- package/esm/Tab/TabTab.js +98 -0
- package/esm/Tab/index.js +23 -0
- package/esm/Tab/subComponent/TabContext.js +3 -0
- package/esm/Tab/subComponent/TabListV2.js +18 -0
- package/esm/Tab/subComponent/TabPanelV2.js +45 -0
- package/esm/Tab/subComponent/TabTabV2.js +56 -0
- package/esm/VerticalTab/TabList.js +20 -0
- package/esm/VerticalTab/TabPanel.js +45 -0
- package/esm/VerticalTab/TabTab.js +63 -0
- package/esm/VerticalTab/VerticalTab.js +34 -0
- package/esm/VerticalTab/index.js +9 -0
- package/esm/VerticalTab/subComponent/TabContext.js +3 -0
- package/esm/alert/Alert.js +22 -0
- package/esm/alert/index.js +1 -0
- package/esm/animate/Collapse.js +65 -0
- package/esm/animate/Loader.js +51 -0
- package/esm/animate/NumberCounter.js +45 -0
- package/esm/animate/PulseRing.js +26 -0
- package/esm/animate/Spinner.js +11 -0
- package/esm/animate/index.js +5 -0
- package/esm/assets/css/autocomplete.css +16 -0
- package/esm/assets/css/font.css +4 -0
- package/esm/assets/css/global.css +2 -0
- package/esm/assets/font/helvetica/Helvetica.ttf +0 -0
- package/esm/assets/font/nanumGothic/NanumGothic-Bold.ttf +0 -0
- package/esm/assets/font/nanumGothic/NanumGothic-ExtraBold.ttf +0 -0
- package/esm/assets/font/nanumGothic/NanumGothic-Regular.ttf +0 -0
- package/esm/assets/icons/app-management.png +0 -0
- package/esm/assets/icons/burger-black.png +0 -0
- package/esm/assets/icons/burger-white.png +0 -0
- package/esm/assets/icons/burger.png +0 -0
- package/esm/assets/icons/file.svg +1 -0
- package/esm/assets/icons/map_icon1.png +0 -0
- package/esm/assets/icons/map_icon4.png +0 -0
- package/esm/assets/images/bg-aside.png +0 -0
- package/esm/assets/images/bg-chart-circle.png +0 -0
- package/esm/assets/images/bg-chart-triangle.png +0 -0
- package/esm/assets/images/cashub-logo-only.png +0 -0
- package/esm/assets/images/default-user.jpg +0 -0
- package/esm/assets/images/logo-cashub.png +0 -0
- package/esm/assets/images/map.png +0 -0
- package/esm/assets/images/qrcode.png +0 -0
- package/esm/backdrop/BaseBackdrop.js +11 -0
- package/esm/backdrop/LoadingBackdrop.js +10 -0
- package/esm/backdrop/ModalBackdrop.js +8 -0
- package/esm/backdrop/index.js +3 -0
- package/esm/badge/Badge.js +19 -0
- package/esm/badge/BadgeDot.js +11 -0
- package/esm/badge/BadgeFill.js +42 -0
- package/esm/badge/BadgeFillTriangle.js +138 -0
- package/esm/badge/BadgeWithText.js +24 -0
- package/esm/badge/index.js +5 -0
- package/esm/billing/BarChart.js +45 -0
- package/esm/billing/Grid.js +38 -0
- package/esm/billing/Header2.js +19 -0
- package/esm/billing/Header3.js +31 -0
- package/esm/billing/Paragraph.js +27 -0
- package/esm/billing/ParagraphGroup.js +16 -0
- package/esm/billing/ParagraphText.js +20 -0
- package/esm/billing/Section.js +44 -0
- package/esm/billing/SectionBody.js +11 -0
- package/esm/billing/SectionHeader.js +20 -0
- package/esm/billing/__stories__/BarChart.stories.js_bak +46 -0
- package/esm/billing/__stories__/Grid.stories.js_bak +57 -0
- package/esm/billing/__stories__/Header2.stories.js_bak +62 -0
- package/esm/billing/__stories__/Header3.stories.js_bak +69 -0
- package/esm/billing/__stories__/Paragraph.stories.js_bak +84 -0
- package/esm/billing/__stories__/ParagraphGroup.stories.js_bak +68 -0
- package/esm/billing/__stories__/ParagraphText.stories.js_bak +64 -0
- package/esm/billing/__stories__/Section.stories.js_bak +115 -0
- package/esm/billing/__stories__/SectionBody.stories.js_bak +62 -0
- package/esm/billing/__stories__/SectionHeader.stories.js-bak +68 -0
- package/esm/breadcrumb/Breadcrumb.js +71 -0
- package/esm/breadcrumb/index.js +1 -0
- package/esm/button/Button.js +145 -0
- package/esm/button/ButtonGroup.js +54 -0
- package/esm/button/IconButton.js +64 -0
- package/esm/button/ScrollToTopButton.js +47 -0
- package/esm/button/index.js +4 -0
- package/esm/callout/Callout.js +45 -0
- package/esm/callout/index.js +1 -0
- package/esm/chart/BarChart.js +147 -0
- package/esm/chart/DoughnutChart.js +110 -0
- package/esm/chart/LineChart.js +140 -0
- package/esm/chart/SingleBarChart.js +35 -0
- package/esm/chart/index.js +5 -0
- package/esm/chart/utils/centerTextPlugin.js +56 -0
- package/esm/chart/utils/customTooltip.js +84 -0
- package/esm/chart/utils/customTooltipLifecyclePlugin.js +16 -0
- package/esm/chart/utils/htmlLegendPlugin.js +83 -0
- package/esm/chart/utils/index.js +3 -0
- package/esm/chart/utils/padEmptyChartBar.js +47 -0
- package/esm/chart/utils/tooltipElement.js +17 -0
- package/esm/chart/utils/xAxisLabelTooltipPlugin.js +101 -0
- package/esm/chart/utils/yAxisTopTitlePlugin.js +43 -0
- package/esm/container/FlexContainer.js +33 -0
- package/esm/container/index.js +1 -0
- package/esm/cropper/Cropper.js +47 -0
- package/esm/cropper/CropperModalHandler.js +34 -0
- package/esm/cropper/index.js +2 -0
- package/esm/cropper/subComponent/CropImageModal.js +72 -0
- package/{datetimePicker/DatetimePicker.js → esm/datetimePicker/DatetimePickerV3.js} +63 -31
- package/esm/datetimePicker/TimeInput.js +49 -0
- package/esm/datetimePicker/TimePickerStyle.js +58 -0
- package/esm/datetimePicker/TimePickerV2.js +199 -0
- package/esm/datetimePicker/accordion/Month.js +245 -0
- package/esm/datetimePicker/accordion/Year.js +275 -0
- package/esm/datetimePicker/index.js +4 -0
- package/esm/datetimePicker/provider/constant.js +38 -0
- package/esm/datetimePicker/subComponent/DateTimePickerContext.js +3 -0
- package/esm/datetimePicker/utils/GMTDate.js +9 -0
- package/esm/datetimePicker/utils/pad.js +7 -0
- package/esm/datetimePicker/utils/toUTC0.js +7 -0
- package/esm/descriptionList/DescriptionDetail.js +21 -0
- package/esm/descriptionList/DescriptionList.js +18 -0
- package/esm/descriptionList/DescriptionTerm.js +7 -0
- package/esm/descriptionList/index.js +3 -0
- package/esm/divider/Divider.js +24 -0
- package/esm/divider/index.js +1 -0
- package/esm/dropdown/Dropdown.js +48 -0
- package/esm/dropdown/DropdownButtonOption.js +36 -0
- package/esm/dropdown/DropdownContent.js +83 -0
- package/esm/dropdown/DropdownDivOption.js +19 -0
- package/esm/dropdown/DropdownItem.js +19 -0
- package/esm/dropdown/DropdownLinkOption.js +17 -0
- package/esm/dropdown/DropdownToggle.js +31 -0
- package/esm/dropdown/index.js +11 -0
- package/esm/dropdown/subComponent/DropdownContext.js +3 -0
- package/esm/dropzone/FileDropzone.js +472 -0
- package/esm/dropzone/ImageDropzone.js +327 -0
- package/esm/dropzone/index.js +2 -0
- package/esm/dropzone/subComponent/Message.js +19 -0
- package/esm/figure/IconFigure.js +35 -0
- package/esm/figure/ImageFigure.js +31 -0
- package/esm/figure/index.js +2 -0
- package/esm/file/HiddenFileInput.js +8 -0
- package/esm/file/index.js +1 -0
- package/esm/form/Checkbox.js +157 -0
- package/esm/form/Fieldset.js +11 -0
- package/esm/form/FormItem.js +15 -0
- package/esm/form/Input.js +59 -0
- package/esm/form/Label.js +54 -0
- package/esm/form/MutedText.js +14 -0
- package/esm/form/PasswordInput.js +40 -0
- package/esm/form/RadioButton.js +94 -0
- package/esm/form/SearchSelect.js +174 -0
- package/esm/form/Searchbox.js +91 -0
- package/esm/form/Slider.js +39 -0
- package/esm/form/SwitchButton.js +97 -0
- package/esm/form/Textarea.js +34 -0
- package/esm/form/TreeView.js +66 -0
- package/esm/form/index.js +14 -0
- package/esm/grid/Column.js +39 -0
- package/esm/grid/Grid.js +28 -0
- package/esm/grid/index.js +2 -0
- package/esm/heading/Heading1.js +14 -0
- package/esm/heading/Heading2.js +21 -0
- package/esm/heading/Heading3.js +42 -0
- package/esm/heading/index.js +3 -0
- package/esm/helmet/Helmet.js +17 -0
- package/esm/helmet/index.js +2 -0
- package/esm/iconbox/ApplicationIconBox.js +74 -0
- package/esm/iconbox/IconBox.js +60 -0
- package/esm/iconbox/IconBoxV2.js +63 -0
- package/esm/iconbox/index.js +3 -0
- package/esm/iconbox/subComponent/IconBoxFigure.js +43 -0
- package/esm/iconbox/subComponent/IconBoxImage.js +35 -0
- package/esm/image/ImageFluid.js +10 -0
- package/esm/image/UploadImage.js +243 -0
- package/esm/image/index.js +2 -0
- package/esm/index.js +47 -0
- package/esm/keyframe/Pulse.js +15 -0
- package/esm/keyframe/Spin.js +7 -0
- package/esm/layout/Aside.js +39 -0
- package/esm/layout/AsideHeader.jsx +27 -0
- package/esm/layout/Backdrop.js +16 -0
- package/esm/layout/Container.js +30 -0
- package/esm/layout/Footer.js +36 -0
- package/esm/layout/Header.jsx +55 -0
- package/esm/layout/Layout.jsx +84 -0
- package/esm/layout/Logo.jsx +17 -0
- package/esm/layout/MenuIcon.jsx +27 -0
- package/esm/layout/Sidebar.jsx +271 -0
- package/esm/layout/index.js +1 -0
- package/esm/link/LinkSpan.js +62 -0
- package/esm/link/index.js +1 -0
- package/esm/map/GoogleMap.js +439 -0
- package/esm/map/GoogleReverseGeolocation.js +193 -0
- package/esm/map/LeafletMap.js +224 -0
- package/esm/map/LeafletReverseGeolocation.js +94 -0
- package/esm/map/index.js +4 -0
- package/esm/map/subComponent/BasicLeafletMap.js +27 -0
- package/esm/map/subComponent/GoogleMapContainer.js +22 -0
- package/esm/map/subComponent/GoogleMapPopup.js +103 -0
- package/esm/map/subComponent/GoogleMapWrapper.js +34 -0
- package/esm/map/subComponent/LeafletDrawControl.js +116 -0
- package/esm/map/subComponent/LeafletMapContainer.js +166 -0
- package/esm/map/subComponent/MapSearchBoxControl.js +47 -0
- package/esm/modal/StateModal.js +169 -0
- package/esm/modal/TitleModal.js +241 -0
- package/esm/modal/index.js +2 -0
- package/esm/page/Disclaimer.js +121 -0
- package/esm/page/index.js +1 -0
- package/esm/paginate/Paginate.js +129 -0
- package/esm/paginate/index.js +1 -0
- package/esm/popover/Popover.js +82 -0
- package/esm/popover/index.js +1 -0
- package/esm/qrcode/QRCode.js +51 -0
- package/esm/qrcode/QRCodeContainter.js +27 -0
- package/esm/qrcode/index.js +2 -0
- package/esm/ribbon/Ribbon.js +35 -0
- package/esm/ribbon/index.js +1 -0
- package/esm/section/Section.js +126 -0
- package/esm/section/SectionBody.js +43 -0
- package/esm/section/SectionHeader.js +61 -0
- package/esm/section/SectionToolbar.js +11 -0
- package/esm/section/SectionToolbarItem.js +10 -0
- package/esm/section/index.js +5 -0
- package/esm/select/InputSelect.js +263 -0
- package/esm/select/Select.js +811 -0
- package/esm/select/index.js +2 -0
- package/esm/select/subComponent/Checkbox.js +40 -0
- package/esm/select/subComponent/Footer.js +6 -0
- package/esm/select/subComponent/ListBox.js +23 -0
- package/esm/select/subComponent/Option.js +37 -0
- package/esm/select/subComponent/OptionGroup.js +16 -0
- package/esm/select/subComponent/Options.js +25 -0
- package/esm/select/subComponent/SearchBox.js +51 -0
- package/esm/select/subComponent/SelectedMultipleCount.js +32 -0
- package/esm/select/subComponent/SelectedMultipleTags.js +47 -0
- package/esm/select/subComponent/SelectedMultipleText.js +63 -0
- package/esm/select/subComponent/SelectedSingle.js +10 -0
- package/esm/styles/GlobalStyle.js +328 -0
- package/esm/styles/config/breakpoint.style.js +7 -0
- package/esm/styles/config/header.style.js +4 -0
- package/esm/styles/config/sidebar.style.js +11 -0
- package/esm/styles/index.js +2 -0
- package/esm/styles/mixin/backgroundColor.js +38 -0
- package/esm/styles/mixin/borderColor.js +31 -0
- package/esm/styles/mixin/color.js +31 -0
- package/esm/styles/mixin/colorOnBackground.js +31 -0
- package/esm/styles/mixin/inputPlaceholder.js +24 -0
- package/esm/styles/mixin/media.js +15 -0
- package/esm/styles/mixin/rounded.js +24 -0
- package/esm/styles/mixin/scrollbar.js +26 -0
- package/esm/styles/theme/dark.theme.js +91 -0
- package/esm/styles/theme/light.theme.js +91 -0
- package/esm/styles/theme/white.theme.js +91 -0
- package/esm/styles/themes.js +9 -0
- package/esm/table/GridTable.js +329 -0
- package/esm/table/ImageBox.js +38 -0
- package/esm/table/InfiniteGridTable.js +396 -0
- package/esm/table/PermissionTable.js +57 -0
- package/esm/table/SimpleGridTable.js +136 -0
- package/esm/table/Table.js +559 -0
- package/esm/table/__mock__/columns.js +64 -0
- package/esm/table/__mock__/data.js +530 -0
- package/esm/table/hooks/index.js +2 -0
- package/esm/table/hooks/useCalculateDataRange.js +22 -0
- package/esm/table/hooks/useGenerateSort.js +32 -0
- package/esm/table/index.js +6 -0
- package/esm/table/subComponent/BaseTableHeadCell.js +54 -0
- package/esm/table/subComponent/GridTableFooter.js +17 -0
- package/esm/table/subComponent/GridTableHeadCell.js +13 -0
- package/esm/table/subComponent/Resizer.js +70 -0
- package/esm/table/subComponent/TableFooter.js +24 -0
- package/esm/table/subComponent/TableFooterInfo.js +6 -0
- package/esm/table/subComponent/TableFooterPager.js +26 -0
- package/esm/table/subComponent/TableHeadCell.js +12 -0
- package/esm/table/subComponent/TableSort.js +31 -0
- package/esm/tagify/TagifyStyle.js +54 -0
- package/esm/tagify/Tags.js +49 -0
- package/esm/tagify/index.js +3 -0
- package/esm/tagify/templates/getCreateButtonTemplate.js +12 -0
- package/esm/text/Paragraph.js +79 -0
- package/esm/text/index.js +1 -0
- package/esm/timeline/Timeline.js +132 -0
- package/esm/timeline/index.js +1 -0
- package/esm/toast/CustomToastContainer.js +38 -0
- package/esm/toast/MessageContainer.js +44 -0
- package/esm/toast/index.js +3 -0
- package/esm/toast/show.js +29 -0
- package/esm/toast/style.css +1 -0
- package/esm/tooltip/Tooltip.js +133 -0
- package/esm/tooltip/index.js +1 -0
- package/esm/treeView/TreeViewV2.js +32 -0
- package/esm/treeView/TreeflexStyle.js +43 -0
- package/esm/treeView/index.js +2 -0
- package/esm/wizard/Wizard.js +244 -0
- package/esm/wizard/index.js +1 -0
- package/index.js +0 -12
- package/layout/Sidebar.jsx +1 -1
- package/package.json +5 -4
- package/datetimePicker/DatePicker.js +0 -363
- package/datetimePicker/DatePickerV2.js +0 -407
- package/datetimePicker/DatetimePickerV2.js +0 -395
- package/datetimePicker/TimePicker.js +0 -317
- package/datetimePicker/hooks/index.js +0 -27
- package/datetimePicker/hooks/useChangeNumber.js +0 -42
- package/datetimePicker/hooks/useDecrease.js +0 -38
- package/datetimePicker/hooks/useIncrease.js +0 -38
- package/datetimePicker/subComponent/Accordion.js +0 -373
- package/datetimePicker/subComponent/CustomTimeInput.js +0 -47
- package/jsoneditor/JsonEditor.js +0 -142
- package/jsoneditor/index.js +0 -13
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { default as Checkbox } from './Checkbox';
|
|
2
|
+
export { default as Fieldset } from './Fieldset';
|
|
3
|
+
export { default as FormItem } from './FormItem';
|
|
4
|
+
export { default as Input } from './Input';
|
|
5
|
+
export { default as Label } from './Label';
|
|
6
|
+
export { default as MutedText } from './MutedText';
|
|
7
|
+
export { default as PasswordInput } from './PasswordInput';
|
|
8
|
+
export { default as RadioButton } from './RadioButton';
|
|
9
|
+
export { default as Searchbox } from './Searchbox';
|
|
10
|
+
export { default as Slider } from './Slider';
|
|
11
|
+
export { default as SwitchButton } from './SwitchButton';
|
|
12
|
+
export { default as Textarea } from './Textarea';
|
|
13
|
+
export { default as TreeView } from './TreeView';
|
|
14
|
+
export { default as SearchSelect } from './SearchSelect';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import media from '../styles/mixin/media';
|
|
3
|
+
const Column = styled.div`
|
|
4
|
+
padding: 0 calc(var(--spacing) / 2);
|
|
5
|
+
grid-column-end: span ${_ref => {
|
|
6
|
+
let {
|
|
7
|
+
desktop
|
|
8
|
+
} = _ref;
|
|
9
|
+
return desktop;
|
|
10
|
+
}};
|
|
11
|
+
|
|
12
|
+
${_ref2 => {
|
|
13
|
+
let {
|
|
14
|
+
laptop
|
|
15
|
+
} = _ref2;
|
|
16
|
+
return laptop && media.laptop`
|
|
17
|
+
grid-column-end: span ${laptop};
|
|
18
|
+
`;
|
|
19
|
+
}}
|
|
20
|
+
|
|
21
|
+
${_ref3 => {
|
|
22
|
+
let {
|
|
23
|
+
tablet
|
|
24
|
+
} = _ref3;
|
|
25
|
+
return tablet && media.tablet`
|
|
26
|
+
grid-column-end: span ${tablet};
|
|
27
|
+
`;
|
|
28
|
+
}}
|
|
29
|
+
|
|
30
|
+
${_ref4 => {
|
|
31
|
+
let {
|
|
32
|
+
mobile
|
|
33
|
+
} = _ref4;
|
|
34
|
+
return mobile && media.mobile`
|
|
35
|
+
grid-column-end: span ${mobile};
|
|
36
|
+
`;
|
|
37
|
+
}}
|
|
38
|
+
`;
|
|
39
|
+
export default Column;
|
package/esm/grid/Grid.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
const Grid = styled.div`
|
|
3
|
+
display: grid;
|
|
4
|
+
grid-template-columns: repeat(${_ref => {
|
|
5
|
+
let {
|
|
6
|
+
columns
|
|
7
|
+
} = _ref;
|
|
8
|
+
return columns;
|
|
9
|
+
}}, minmax(0, 1fr));
|
|
10
|
+
margin: 0 calc(var(--spacing) * -1 / 2);
|
|
11
|
+
|
|
12
|
+
> * {
|
|
13
|
+
grid-column-end: span ${_ref2 => {
|
|
14
|
+
let {
|
|
15
|
+
columns
|
|
16
|
+
} = _ref2;
|
|
17
|
+
return columns;
|
|
18
|
+
}};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
${_ref3 => {
|
|
22
|
+
let {
|
|
23
|
+
alignCenter
|
|
24
|
+
} = _ref3;
|
|
25
|
+
return alignCenter && 'align-items: center;';
|
|
26
|
+
}}
|
|
27
|
+
`;
|
|
28
|
+
export default Grid;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
const Heading1 = styled.h1`
|
|
3
|
+
font-size: var(--font-h1);
|
|
4
|
+
word-break: break-word;
|
|
5
|
+
white-space: pre-wrap;
|
|
6
|
+
|
|
7
|
+
${_ref => {
|
|
8
|
+
let {
|
|
9
|
+
center
|
|
10
|
+
} = _ref;
|
|
11
|
+
return center && 'text-align: center;';
|
|
12
|
+
}}
|
|
13
|
+
`;
|
|
14
|
+
export default Heading1;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
const Heading2 = styled.h2`
|
|
3
|
+
font-size: var(--font-h2);
|
|
4
|
+
word-break: break-word;
|
|
5
|
+
white-space: pre-wrap;
|
|
6
|
+
|
|
7
|
+
${_ref => {
|
|
8
|
+
let {
|
|
9
|
+
center
|
|
10
|
+
} = _ref;
|
|
11
|
+
return center && 'text-align: center;';
|
|
12
|
+
}}
|
|
13
|
+
|
|
14
|
+
${_ref2 => {
|
|
15
|
+
let {
|
|
16
|
+
marginBottom
|
|
17
|
+
} = _ref2;
|
|
18
|
+
return marginBottom && 'margin-bottom: var(--spacing);';
|
|
19
|
+
}}
|
|
20
|
+
`;
|
|
21
|
+
export default Heading2;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
const Heading3 = styled.h3`
|
|
3
|
+
font-size: var(--font-h3);
|
|
4
|
+
word-break: break-word;
|
|
5
|
+
white-space: pre-wrap;
|
|
6
|
+
|
|
7
|
+
${_ref => {
|
|
8
|
+
let {
|
|
9
|
+
center
|
|
10
|
+
} = _ref;
|
|
11
|
+
return center && 'text-align: center;';
|
|
12
|
+
}}
|
|
13
|
+
|
|
14
|
+
${_ref2 => {
|
|
15
|
+
let {
|
|
16
|
+
fontWeightNormal
|
|
17
|
+
} = _ref2;
|
|
18
|
+
return fontWeightNormal && 'font-weight: normal;';
|
|
19
|
+
}}
|
|
20
|
+
|
|
21
|
+
${_ref3 => {
|
|
22
|
+
let {
|
|
23
|
+
marginBottomS
|
|
24
|
+
} = _ref3;
|
|
25
|
+
return marginBottomS && 'margin-bottom: var(--spacing-s);';
|
|
26
|
+
}}
|
|
27
|
+
|
|
28
|
+
${_ref4 => {
|
|
29
|
+
let {
|
|
30
|
+
marginBottomXS
|
|
31
|
+
} = _ref4;
|
|
32
|
+
return marginBottomXS && 'margin-bottom: var(--spacing-xs);';
|
|
33
|
+
}}
|
|
34
|
+
|
|
35
|
+
${_ref5 => {
|
|
36
|
+
let {
|
|
37
|
+
paddingBottomXS
|
|
38
|
+
} = _ref5;
|
|
39
|
+
return paddingBottomXS && 'padding-bottom: var(--spacing-xs);';
|
|
40
|
+
}}
|
|
41
|
+
`;
|
|
42
|
+
export default Heading3;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Helmet as ReactHelmet } from 'react-helmet-async';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
const Helmet = _ref => {
|
|
4
|
+
let {
|
|
5
|
+
title,
|
|
6
|
+
description
|
|
7
|
+
} = _ref;
|
|
8
|
+
return /*#__PURE__*/_jsxs(ReactHelmet, {
|
|
9
|
+
children: [title && /*#__PURE__*/_jsx("title", {
|
|
10
|
+
children: title
|
|
11
|
+
}), description && /*#__PURE__*/_jsx("meta", {
|
|
12
|
+
name: "description",
|
|
13
|
+
content: description
|
|
14
|
+
})]
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
export default Helmet;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import IconBoxFigure from './subComponent/IconBoxFigure';
|
|
3
|
+
import IconBoxImage from './subComponent/IconBoxImage';
|
|
4
|
+
const ApplicationIconBox = styled.div`
|
|
5
|
+
margin-bottom: var(--spacing);
|
|
6
|
+
|
|
7
|
+
${_ref => {
|
|
8
|
+
let {
|
|
9
|
+
clickable
|
|
10
|
+
} = _ref;
|
|
11
|
+
return clickable && 'cursor: pointer';
|
|
12
|
+
}};
|
|
13
|
+
`;
|
|
14
|
+
const Body = styled.div`
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
padding-top: var(--spacing-xs);
|
|
18
|
+
border: var(--border-width) solid transparent;
|
|
19
|
+
|
|
20
|
+
${_ref2 => {
|
|
21
|
+
let {
|
|
22
|
+
horizontal
|
|
23
|
+
} = _ref2;
|
|
24
|
+
return horizontal && 'flex-direction: row;';
|
|
25
|
+
}}
|
|
26
|
+
${_ref3 => {
|
|
27
|
+
let {
|
|
28
|
+
alignCenter
|
|
29
|
+
} = _ref3;
|
|
30
|
+
return alignCenter && 'text-align: center;';
|
|
31
|
+
}}
|
|
32
|
+
${_ref4 => {
|
|
33
|
+
let {
|
|
34
|
+
selected
|
|
35
|
+
} = _ref4;
|
|
36
|
+
return selected && `
|
|
37
|
+
border-color: var(--border-color);
|
|
38
|
+
border-radius: var(--border-radius);
|
|
39
|
+
box-shadow: var(--box-shadow);
|
|
40
|
+
`;
|
|
41
|
+
}}
|
|
42
|
+
`;
|
|
43
|
+
const Description = styled.div`
|
|
44
|
+
min-width: 0;
|
|
45
|
+
`;
|
|
46
|
+
const Title = styled.div`
|
|
47
|
+
font-weight: var(--font-bold);
|
|
48
|
+
font-size: var(--font-body1);
|
|
49
|
+
margin-bottom: var(--spacing-xs);
|
|
50
|
+
color: var(--font-on-background);
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
white-space: pre;
|
|
53
|
+
text-overflow: ellipsis;
|
|
54
|
+
|
|
55
|
+
a {
|
|
56
|
+
color: var(--font-on-background);
|
|
57
|
+
}
|
|
58
|
+
`;
|
|
59
|
+
const Content = styled.div`
|
|
60
|
+
font-size: var(--font-body1);
|
|
61
|
+
color: var(--font-on-mute);
|
|
62
|
+
margin-bottom: var(--spacing-xs);
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
white-space: pre;
|
|
65
|
+
text-overflow: ellipsis;
|
|
66
|
+
`;
|
|
67
|
+
export default Object.assign(ApplicationIconBox, {
|
|
68
|
+
Body,
|
|
69
|
+
Description,
|
|
70
|
+
Title,
|
|
71
|
+
Content,
|
|
72
|
+
Figure: IconBoxFigure,
|
|
73
|
+
Image: IconBoxImage
|
|
74
|
+
});
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import IconBoxFigure from './subComponent/IconBoxFigure';
|
|
3
|
+
import IconBoxImage from './subComponent/IconBoxImage';
|
|
4
|
+
import bgChartTriangle from '../assets/images/bg-chart-triangle.png';
|
|
5
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
+
const IconBox = _ref => {
|
|
7
|
+
let {
|
|
8
|
+
icon,
|
|
9
|
+
title,
|
|
10
|
+
children
|
|
11
|
+
} = _ref;
|
|
12
|
+
return /*#__PURE__*/_jsxs(Wrapper, {
|
|
13
|
+
children: [/*#__PURE__*/_jsxs(IconBoxHead, {
|
|
14
|
+
children: [/*#__PURE__*/_jsx(IconBoxFigure, {
|
|
15
|
+
sizeXS: true,
|
|
16
|
+
marginRight: true,
|
|
17
|
+
children: /*#__PURE__*/_jsx(IconBoxImage, {
|
|
18
|
+
sizeXS: true,
|
|
19
|
+
src: icon,
|
|
20
|
+
alt: `${title}'s icon`
|
|
21
|
+
})
|
|
22
|
+
}), /*#__PURE__*/_jsx(IconBoxTitle, {
|
|
23
|
+
children: title
|
|
24
|
+
})]
|
|
25
|
+
}), /*#__PURE__*/_jsx(IconBoxBody, {
|
|
26
|
+
children: children
|
|
27
|
+
})]
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
const Wrapper = styled.div`
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
padding: var(--spacing-l);
|
|
34
|
+
margin-bottom: var(--spacing);
|
|
35
|
+
border-radius: var(--border-radius);
|
|
36
|
+
background: var(--color-background2);
|
|
37
|
+
color: var(--font-on-background);
|
|
38
|
+
|
|
39
|
+
background: var(--color-background2);
|
|
40
|
+
background-image: url(${bgChartTriangle});
|
|
41
|
+
background-repeat: no-repeat;
|
|
42
|
+
background-position: right bottom;
|
|
43
|
+
background-size: 30% 70%;
|
|
44
|
+
`;
|
|
45
|
+
const IconBoxHead = styled.div`
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
margin-bottom: var(--spacing);
|
|
49
|
+
`;
|
|
50
|
+
const IconBoxTitle = styled.div`
|
|
51
|
+
font-size: var(--font-h2);
|
|
52
|
+
font-weight: bold;
|
|
53
|
+
word-break: break-all;
|
|
54
|
+
`;
|
|
55
|
+
const IconBoxBody = styled.div`
|
|
56
|
+
font-size: var(--font-h1);
|
|
57
|
+
font-weight: bold;
|
|
58
|
+
text-align: center;
|
|
59
|
+
`;
|
|
60
|
+
export default IconBox;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import styled, { css } from 'styled-components';
|
|
2
|
+
import IconBoxFigure from './subComponent/IconBoxFigure';
|
|
3
|
+
import IconBoxImage from './subComponent/IconBoxImage';
|
|
4
|
+
const IconBoxV2 = styled.div`
|
|
5
|
+
padding: var(--spacing);
|
|
6
|
+
margin-bottom: var(--spacing);
|
|
7
|
+
background: var(--color-background1);
|
|
8
|
+
box-shadow: var(--box-shadow);
|
|
9
|
+
border-radius: var(--border-radius);
|
|
10
|
+
color: var(--font-on-background);
|
|
11
|
+
border: 2px solid transparent;
|
|
12
|
+
|
|
13
|
+
${_ref => {
|
|
14
|
+
let {
|
|
15
|
+
fullHeight
|
|
16
|
+
} = _ref;
|
|
17
|
+
return fullHeight && 'height: calc(100% - var(--spacing));';
|
|
18
|
+
}}
|
|
19
|
+
|
|
20
|
+
${_ref2 => {
|
|
21
|
+
let {
|
|
22
|
+
selected
|
|
23
|
+
} = _ref2;
|
|
24
|
+
return selected && css`
|
|
25
|
+
border-color: var(--color-primary);
|
|
26
|
+
background: color-mix(
|
|
27
|
+
in srgb,
|
|
28
|
+
var(--color-primary) 10%,
|
|
29
|
+
var(--color-background1)
|
|
30
|
+
);
|
|
31
|
+
`;
|
|
32
|
+
}}
|
|
33
|
+
`;
|
|
34
|
+
const Body = styled.div`
|
|
35
|
+
display: flex;
|
|
36
|
+
`;
|
|
37
|
+
const Description = styled.div`
|
|
38
|
+
flex: 1 1 auto;
|
|
39
|
+
font-size: var(--font-body1);
|
|
40
|
+
`;
|
|
41
|
+
const Info = styled.div`
|
|
42
|
+
word-break: break-all;
|
|
43
|
+
|
|
44
|
+
&:not(:last-child) {
|
|
45
|
+
margin-bottom: var(--spacing-s);
|
|
46
|
+
}
|
|
47
|
+
`;
|
|
48
|
+
const Tool = styled.div`
|
|
49
|
+
flex: 0 0 calc(var(--spacing-s) + 36px);
|
|
50
|
+
padding-left: var(--spacing-s);
|
|
51
|
+
|
|
52
|
+
> *:not(:last-child) {
|
|
53
|
+
margin-bottom: var(--spacing-s);
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
56
|
+
export default Object.assign(IconBoxV2, {
|
|
57
|
+
Body,
|
|
58
|
+
Description,
|
|
59
|
+
Info,
|
|
60
|
+
Tool,
|
|
61
|
+
Figure: IconBoxFigure,
|
|
62
|
+
Image: IconBoxImage
|
|
63
|
+
});
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
const IconBoxFigure = styled.figure`
|
|
3
|
+
flex: 0 0 120px;
|
|
4
|
+
|
|
5
|
+
${_ref => {
|
|
6
|
+
let {
|
|
7
|
+
marginRight
|
|
8
|
+
} = _ref;
|
|
9
|
+
return marginRight && 'margin-right: var(--spacing);';
|
|
10
|
+
}}
|
|
11
|
+
${_ref2 => {
|
|
12
|
+
let {
|
|
13
|
+
paddingRight
|
|
14
|
+
} = _ref2;
|
|
15
|
+
return paddingRight && 'padding-right: var(--spacing);';
|
|
16
|
+
}}
|
|
17
|
+
${_ref3 => {
|
|
18
|
+
let {
|
|
19
|
+
paddingRightS
|
|
20
|
+
} = _ref3;
|
|
21
|
+
return paddingRightS && 'padding-right: var(--spacing-s);';
|
|
22
|
+
}}
|
|
23
|
+
${_ref4 => {
|
|
24
|
+
let {
|
|
25
|
+
paddingBottomS
|
|
26
|
+
} = _ref4;
|
|
27
|
+
return paddingBottomS && 'padding-bottom: var(--spacing-s);';
|
|
28
|
+
}}
|
|
29
|
+
|
|
30
|
+
${_ref5 => {
|
|
31
|
+
let {
|
|
32
|
+
sizeS
|
|
33
|
+
} = _ref5;
|
|
34
|
+
return sizeS && 'flex-basis: 80px;';
|
|
35
|
+
}}
|
|
36
|
+
${_ref6 => {
|
|
37
|
+
let {
|
|
38
|
+
sizeXS
|
|
39
|
+
} = _ref6;
|
|
40
|
+
return sizeXS && 'flex-basis: 40px;';
|
|
41
|
+
}}
|
|
42
|
+
`;
|
|
43
|
+
export default IconBoxFigure;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
const IconBoxImage = styled.img.attrs(() => ({
|
|
3
|
+
crossOrigin: 'anonymous'
|
|
4
|
+
}))`
|
|
5
|
+
width: 120px;
|
|
6
|
+
height: 120px;
|
|
7
|
+
|
|
8
|
+
${_ref => {
|
|
9
|
+
let {
|
|
10
|
+
rounded
|
|
11
|
+
} = _ref;
|
|
12
|
+
return rounded && 'border-radius: var(--border-radius);';
|
|
13
|
+
}}
|
|
14
|
+
|
|
15
|
+
${_ref2 => {
|
|
16
|
+
let {
|
|
17
|
+
sizeS
|
|
18
|
+
} = _ref2;
|
|
19
|
+
return sizeS && `
|
|
20
|
+
width: 80px;
|
|
21
|
+
height: 80px;
|
|
22
|
+
`;
|
|
23
|
+
}}
|
|
24
|
+
|
|
25
|
+
${_ref3 => {
|
|
26
|
+
let {
|
|
27
|
+
sizeXS
|
|
28
|
+
} = _ref3;
|
|
29
|
+
return sizeXS && `
|
|
30
|
+
width: 40px;
|
|
31
|
+
height: 40px;
|
|
32
|
+
`;
|
|
33
|
+
}}
|
|
34
|
+
`;
|
|
35
|
+
export default IconBoxImage;
|