diginet-core-ui 1.4.39 → 1.4.40
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/.browserslistrc +6 -0
- package/.eslintrc.js +91 -0
- package/.husky/pre-commit +4 -0
- package/.prettierrc +32 -0
- package/.storybook/main.js +4 -0
- package/.storybook/manager.js +10 -0
- package/.storybook/preview-head.html +17 -0
- package/.storybook/preview.js +36 -0
- package/.storybook/themeDecorator.js +19 -0
- package/babel.config.json +17 -0
- package/bitbucket-pipelines.yml +18 -0
- package/jsconfig.json +8 -0
- package/package.json +78 -44
- package/package.json.tmp +44 -0
- package/postcss.config.js +9 -0
- package/readme.md +5 -0
- package/src/assets/images/menu/dhr/MHRP15N0002.svg +17 -0
- package/src/assets/images/menu/dhr/MHRP15N0003.svg +26 -0
- package/src/components/accordion/context.js +5 -0
- package/src/components/accordion/details.js +80 -0
- package/src/components/accordion/group.js +140 -0
- package/src/components/accordion/index.js +207 -0
- package/src/components/accordion/index.stories.js +278 -0
- package/src/components/accordion/summary.js +380 -0
- package/src/components/alert/index.js +312 -0
- package/src/components/alert/index.stories.js +109 -0
- package/src/components/alert/notify.js +179 -0
- package/src/components/avatar/index.js +472 -0
- package/src/components/avatar/index.stories.js +80 -0
- package/src/components/badge/index.js +307 -0
- package/src/components/badge/index.stories.js +187 -0
- package/src/components/breadcrumb/index.js +280 -0
- package/src/components/breadcrumb/index.stories.js +69 -0
- package/src/components/button/button.stories.js +34 -0
- package/src/components/button/buttonIcon.stories.js +36 -0
- package/src/components/button/buttonMore.stories.js +58 -0
- package/src/components/button/icon.js +468 -0
- package/src/components/button/index.js +582 -0
- package/src/components/button/more.js +249 -0
- package/src/components/button/ripple-effect.js +95 -0
- package/src/components/button/sample.stories.js +194 -0
- package/src/components/card/body.js +73 -0
- package/src/components/card/extra.js +73 -0
- package/src/components/card/footer.js +73 -0
- package/src/components/card/header.js +74 -0
- package/src/components/card/index.js +256 -0
- package/src/components/card/index.stories.js +242 -0
- package/src/components/chart/Pie/Circle.js +68 -0
- package/src/components/chart/Pie/Sector.js +134 -0
- package/src/components/chart/Pie/Sectors.js +96 -0
- package/src/components/chart/Pie/index.js +312 -0
- package/src/components/chart/Pie/index.stories.js +77 -0
- package/src/components/chart/Pie-v2/Circle.js +62 -0
- package/src/components/chart/Pie-v2/Sector.js +128 -0
- package/src/components/chart/Pie-v2/Sectors.js +353 -0
- package/src/components/chart/Pie-v2/index.js +499 -0
- package/src/components/chart/Pie-v2/index.stories.js +77 -0
- package/src/components/chart/bar/Axis.js +67 -0
- package/src/components/chart/bar/Bar.js +365 -0
- package/src/components/chart/bar/Grid.js +111 -0
- package/src/components/chart/bar/Labels.js +193 -0
- package/src/components/chart/bar/Points.js +112 -0
- package/src/components/chart/bar/index.js +170 -0
- package/src/components/chart/bar/index.stories.js +174 -0
- package/src/components/chart/bar-v2/Axis.js +67 -0
- package/src/components/chart/bar-v2/Bar.js +372 -0
- package/src/components/chart/bar-v2/Grid.js +111 -0
- package/src/components/chart/bar-v2/Labels.js +193 -0
- package/src/components/chart/bar-v2/Points.js +112 -0
- package/src/components/chart/bar-v2/index.js +170 -0
- package/src/components/chart/bar-v2/index.stories.js +174 -0
- package/src/components/chart/line/Axis.js +68 -0
- package/src/components/chart/line/Grid.js +98 -0
- package/src/components/chart/line/Labels.js +191 -0
- package/src/components/chart/line/Path.js +155 -0
- package/src/components/chart/line/Point.js +358 -0
- package/src/components/chart/line/Title.js +50 -0
- package/src/components/chart/line/index.js +202 -0
- package/src/components/chart/line/index.stories.js +148 -0
- package/src/components/chart/line-v2/Axis.js +66 -0
- package/src/components/chart/line-v2/Grid.js +111 -0
- package/src/components/chart/line-v2/Labels.js +190 -0
- package/src/components/chart/line-v2/Path.js +154 -0
- package/src/components/chart/line-v2/Point.js +336 -0
- package/src/components/chart/line-v2/Title.js +50 -0
- package/src/components/chart/line-v2/index.js +172 -0
- package/src/components/chart/line-v2/index.stories.js +148 -0
- package/src/components/check-text/index.js +168 -0
- package/src/components/check-text/index.stories.js +50 -0
- package/src/components/check-text/interview-confirmation.js +169 -0
- package/src/components/check-text/interview-status.js +142 -0
- package/src/components/chip/attach.js +156 -0
- package/src/components/chip/index.js +366 -0
- package/src/components/chip/index.stories.js +190 -0
- package/src/components/collapse/index.js +104 -0
- package/src/components/collapse/index.stories.js +35 -0
- package/src/components/dialogs/colors.js +13 -0
- package/src/components/divider/index.js +87 -0
- package/src/components/divider/index.stories.js +52 -0
- package/src/components/form-control/attachment/index.js +1770 -0
- package/src/components/form-control/attachment/index.stories.js +106 -0
- package/src/components/form-control/calendar/function.js +959 -0
- package/src/components/form-control/calendar/index.js +413 -0
- package/src/components/form-control/calendar/index.stories.js +40 -0
- package/src/components/form-control/calendar/range.js +329 -0
- package/src/components/form-control/checkbox/index.js +382 -0
- package/src/components/form-control/checkbox/index.stories.js +110 -0
- package/src/components/form-control/control/index.js +99 -0
- package/src/components/form-control/date-input/DateField.js +191 -0
- package/src/components/form-control/date-input/index.js +315 -0
- package/src/components/form-control/date-input/index.stories.js +96 -0
- package/src/components/form-control/date-input/useDateInputState.js +138 -0
- package/src/components/form-control/date-input/useIsFocused.js +25 -0
- package/src/components/form-control/date-input/useKeyboardInputEvent.js +45 -0
- package/src/components/form-control/date-input/utils.js +293 -0
- package/src/components/form-control/date-picker/index.js +429 -0
- package/src/components/form-control/date-picker/index.stories.js +141 -0
- package/src/components/form-control/date-range-picker/index.js +1349 -0
- package/src/components/form-control/date-range-picker/index.stories.js +43 -0
- package/src/components/form-control/dropdown/index.js +1858 -0
- package/src/components/form-control/dropdown/index.stories.js +222 -0
- package/src/components/form-control/dropdown-box/index.js +271 -0
- package/src/components/form-control/dropdown-box/index.stories.js +103 -0
- package/src/components/form-control/form/context.js +5 -0
- package/src/components/form-control/form/index.js +39 -0
- package/src/components/form-control/form-group/index.js +131 -0
- package/src/components/form-control/form-group/index.stories.js +57 -0
- package/src/components/form-control/helper-text/index.js +92 -0
- package/src/components/form-control/helper-text/index.stories.js +29 -0
- package/src/components/form-control/input-base/UncontrolledInputBase.js +499 -0
- package/src/components/form-control/input-base/index.js +706 -0
- package/src/components/form-control/input-base/index.stories.js +69 -0
- package/src/components/form-control/label/index.js +127 -0
- package/src/components/form-control/label/index.stories.js +69 -0
- package/src/components/form-control/money-input/index.js +622 -0
- package/src/components/form-control/money-input/index.stories.js +42 -0
- package/src/components/form-control/number-input/index.js +582 -0
- package/src/components/form-control/number-input/index.stories.js +53 -0
- package/src/components/form-control/number-input/index2.js +531 -0
- package/src/components/form-control/password-input/index.js +259 -0
- package/src/components/form-control/password-input/index.stories.js +32 -0
- package/src/components/form-control/phone-input/index.js +382 -0
- package/src/components/form-control/phone-input/index.stories.js +39 -0
- package/src/components/form-control/radio/index.js +241 -0
- package/src/components/form-control/radio/index.stories.js +51 -0
- package/src/components/form-control/text-input/index.js +254 -0
- package/src/components/form-control/text-input/index.stories.js +60 -0
- package/src/components/form-control/time-picker/index.js +782 -0
- package/src/components/form-control/time-picker/index.mdx +49 -0
- package/src/components/form-control/time-picker/index.stories.js +69 -0
- package/src/components/form-control/time-picker/swiper.js +568 -0
- package/src/components/form-control/time-picker/v2/index.js +785 -0
- package/src/components/form-control/time-picker/v2/index.stories.js +43 -0
- package/src/components/form-control/toggle/index.js +247 -0
- package/src/components/form-control/toggle/index.stories.js +51 -0
- package/src/components/form-view/helper-text.js +30 -0
- package/src/components/form-view/index.js +100 -0
- package/src/components/form-view/index.stories.js +25 -0
- package/src/components/form-view/input.js +134 -0
- package/src/components/form-view/label.js +39 -0
- package/src/components/grid/Col.js +89 -0
- package/src/components/grid/Container.js +99 -0
- package/src/components/grid/Row.js +97 -0
- package/src/components/grid/context.js +5 -0
- package/src/components/grid/index.js +323 -0
- package/src/components/grid/index.stories.js +523 -0
- package/src/components/image/index.js +191 -0
- package/src/components/image/index.stories.js +53 -0
- package/src/components/index.js +157 -0
- package/src/components/list/index.stories.js +261 -0
- package/src/components/list/list-item-action.js +94 -0
- package/src/components/list/list-item-icon.js +89 -0
- package/src/components/list/list-item-text.js +69 -0
- package/src/components/list/list-item.js +131 -0
- package/src/components/list/list.js +164 -0
- package/src/components/list/sub-header.js +79 -0
- package/src/components/modal/body.js +84 -0
- package/src/components/modal/context.js +5 -0
- package/src/components/modal/footer.js +90 -0
- package/src/components/modal/header.js +145 -0
- package/src/components/modal/index.js +59 -0
- package/src/components/modal/index.stories.js +95 -0
- package/src/components/modal/modal.js +330 -0
- package/src/components/others/date/index.stories.js +217 -0
- package/src/components/others/extra/index.js +129 -0
- package/src/components/others/extra/index.mdx +39 -0
- package/src/components/others/extra/index.stories.js +17 -0
- package/src/components/others/import/index.js +66 -0
- package/src/components/others/import/index.stories.js +70 -0
- package/src/components/others/locale/index.stories.js +42 -0
- package/src/components/others/option-wrapper/index.js +34 -0
- package/src/components/others/scrollbar/index.js +106 -0
- package/src/components/others/scrollbar/index.stories.js +68 -0
- package/src/components/others/validate/index.stories.js +113 -0
- package/src/components/paging/index.stories.js +76 -0
- package/src/components/paging/page-info.js +637 -0
- package/src/components/paging/page-selector.js +437 -0
- package/src/components/paper/index.js +128 -0
- package/src/components/paper/index.stories.js +37 -0
- package/src/components/popover/body.js +98 -0
- package/src/components/popover/footer.js +96 -0
- package/src/components/popover/header.js +99 -0
- package/src/components/popover/index.js +718 -0
- package/src/components/popover/index.stories.js +189 -0
- package/src/components/popup/danger_popup.js +196 -0
- package/src/components/popup/index.js +464 -0
- package/src/components/popup/v2/index.js +556 -0
- package/src/components/popup/v2/index.stories.js +113 -0
- package/src/components/progress/circular.js +326 -0
- package/src/components/progress/index.stories.js +51 -0
- package/src/components/progress/linear.js +361 -0
- package/src/components/rating/index.js +309 -0
- package/src/components/rating/index.stories.js +78 -0
- package/src/components/skeleton/index.js +79 -0
- package/src/components/skeleton/index.stories.js +29 -0
- package/src/components/slider/index.stories.js +50 -0
- package/src/components/slider/slider-container.js +415 -0
- package/src/components/slider/slider-item.js +222 -0
- package/src/components/status/index.js +145 -0
- package/src/components/status/index.stories.js +71 -0
- package/src/components/tab/context.js +5 -0
- package/src/components/tab/index.stories.js +123 -0
- package/src/components/tab/tab-container.js +109 -0
- package/src/components/tab/tab-header.js +177 -0
- package/src/components/tab/tab-panel.js +101 -0
- package/src/components/tab/tab.js +249 -0
- package/src/components/tooltip/index.js +580 -0
- package/src/components/tooltip/index.stories.js +282 -0
- package/src/components/tooltip/portal.js +10 -0
- package/src/components/transfer/index.js +555 -0
- package/src/components/transfer/index.stories.js +53 -0
- package/src/components/tree-view/index.js +1085 -0
- package/src/components/tree-view/index.stories.js +347 -0
- package/src/components/typography/index.js +331 -0
- package/src/components/typography/index.stories.js +166 -0
- package/src/docs/changelog/changelog.md +1354 -0
- package/src/docs/changelog/index.stories.js +20 -0
- package/src/global/index.js +247 -0
- package/src/icons/basic.js +5930 -0
- package/src/icons/basic.stories.js +178 -0
- package/src/icons/effect.js +167 -0
- package/src/icons/general/clock/clock.js +16 -0
- package/src/icons/general/color-handler/background.js +34 -0
- package/src/icons/general/color-handler/text.js +34 -0
- package/src/icons/general/emoji/emoji.js +27 -0
- package/src/icons/general/font-properties/bold.js +17 -0
- package/src/icons/general/font-properties/font-family.js +27 -0
- package/src/icons/general/font-properties/font-size.js +24 -0
- package/src/icons/general/font-properties/italic.js +17 -0
- package/src/icons/general/font-properties/underline.js +26 -0
- package/src/icons/general/hyperlink/hyperlink.js +33 -0
- package/src/icons/general/indent/decrease.js +54 -0
- package/src/icons/general/indent/increase.js +54 -0
- package/src/icons/general/index.js +21 -0
- package/src/icons/general/index.mdx +68 -0
- package/src/icons/general/list/bullets.js +76 -0
- package/src/icons/general/list/numbering.js +69 -0
- package/src/icons/general/picture/picture.js +17 -0
- package/src/icons/general/steps/redo.js +17 -0
- package/src/icons/general/steps/undo.js +17 -0
- package/src/icons/general/text-align/center.js +17 -0
- package/src/icons/general/text-align/justify.js +17 -0
- package/src/icons/general/text-align/left.js +17 -0
- package/src/icons/general/text-align/right.js +17 -0
- package/src/icons/index.js +3 -0
- package/src/icons/index.stories.js +22 -0
- package/src/icons/menu/dhr.js +2625 -0
- package/src/icons/menu/erp.js +513 -0
- package/src/icons/menu/index.js +6 -0
- package/src/icons/menu/index.stories.js +107 -0
- package/src/icons/menu/v2/index.js +77 -0
- package/src/icons/menu/v2/index.stories.js +426 -0
- package/src/locale/index.js +13 -0
- package/src/scss/styles.scss +10 -0
- package/src/styles/animation.js +930 -0
- package/src/styles/animations.js +13 -0
- package/src/styles/color-helper.js +364 -0
- package/src/styles/colors.js +504 -0
- package/src/styles/colors.stories.js +105 -0
- package/src/styles/font.js +26 -0
- package/src/styles/general.js +824 -0
- package/src/styles/sx/index.js +35 -0
- package/src/styles/typography.js +181 -0
- package/src/styles/utils.js +35 -0
- package/src/theme/createBreakpoints.js +95 -0
- package/src/theme/createSpacing.js +12 -0
- package/src/theme/createTheme.js +29 -0
- package/src/theme/createZIndex.js +10 -0
- package/src/theme/docs/breakpoints.md +242 -0
- package/src/theme/docs/colors.md +64 -0
- package/src/theme/docs/components.md +32 -0
- package/src/theme/docs/darkMode.md +20 -0
- package/src/theme/docs/spacing.md +52 -0
- package/src/theme/docs/theming.md +69 -0
- package/src/theme/docs/zIndex.md +27 -0
- package/src/theme/index.js +15 -0
- package/src/theme/make-styles.js +32 -0
- package/src/theme/settings.js +816 -0
- package/src/theme/stories/breakpoints.stories.js +20 -0
- package/src/theme/stories/colors.stories.js +20 -0
- package/src/theme/stories/components.stories.js +20 -0
- package/src/theme/stories/darkMode.stories.js +20 -0
- package/src/theme/stories/spacing.stories.js +20 -0
- package/src/theme/stories/theming.stories.js +20 -0
- package/src/theme/stories/zIndex.stories.js +20 -0
- package/src/theme/theme-provider.js +101 -0
- package/src/theme/theme.js +57 -0
- package/src/theme/use-classes.js +19 -0
- package/src/theme/utils/getThemeProps.js +11 -0
- package/src/theme/utils/resolveProps.js +16 -0
- package/src/theme/utils/useThemeProps.js +8 -0
- package/src/utils/array/array.js +197 -0
- package/src/utils/classNames/index.js +28 -0
- package/src/utils/classNames/index.stories.js +61 -0
- package/src/utils/console.js +30 -0
- package/src/utils/date.js +391 -0
- package/src/utils/error/error.js +65 -0
- package/src/utils/error/errors.js +250 -0
- package/src/utils/getFileType.js +24 -0
- package/src/utils/handleBreakpoints.js +27 -0
- package/src/utils/hexToRGBA/index.js +25 -0
- package/src/utils/hexToRGBA/index.stories.js +43 -0
- package/src/utils/index.js +40 -0
- package/src/utils/intersectionObserver.js +45 -0
- package/src/utils/isMobile/index.js +22 -0
- package/src/utils/isMobile/index.stories.js +49 -0
- package/src/utils/isUndefined.js +3 -0
- package/src/utils/iterator.js +45 -0
- package/src/utils/map-parent.js +49 -0
- package/src/utils/object/deepmerge.js +129 -0
- package/src/utils/object/extend.js +55 -0
- package/src/utils/object/object.js +61 -0
- package/src/utils/parseHTML.js +20 -0
- package/src/utils/promisify.js +37 -0
- package/src/utils/randomString.js +22 -0
- package/src/utils/refMethodType.js +9 -0
- package/src/utils/refType.js +5 -0
- package/src/utils/remove-unicode.js +13 -0
- package/src/utils/render-portal.js +87 -0
- package/src/utils/renderHTML.js +17 -0
- package/src/utils/renderIcon.js +41 -0
- package/src/utils/sb-template.js +115 -0
- package/src/utils/storybook/index.js +1 -0
- package/src/utils/storybook/refArgTypes.js +46 -0
- package/src/utils/string/capitalize.js +6 -0
- package/src/utils/string/capitalizeSentenceCase.js +9 -0
- package/src/utils/string/string.js +83 -0
- package/src/utils/type.js +121 -0
- package/src/utils/updatePosition.js +27 -0
- package/src/utils/useControlled/index.js +23 -0
- package/src/utils/useDelayUnmount.js +17 -0
- package/src/utils/useElementSize.js +59 -0
- package/src/utils/useEventListener.js +54 -0
- package/src/utils/useInput.js +39 -0
- package/src/utils/useMediaQuery/index.js +50 -0
- package/src/utils/useMediaQuery/index.stories.js +55 -0
- package/src/utils/useOnClickOutside.js +28 -0
- package/src/utils/usePortal.js +54 -0
- package/src/utils/validate.js +135 -0
- package/components/accordion/context.js +0 -6
- package/components/accordion/details.js +0 -76
- package/components/accordion/group.js +0 -135
- package/components/accordion/index.js +0 -178
- package/components/accordion/summary.js +0 -324
- package/components/alert/index.js +0 -257
- package/components/alert/notify.js +0 -140
- package/components/avatar/index.js +0 -388
- package/components/badge/index.js +0 -231
- package/components/breadcrumb/index.js +0 -220
- package/components/button/icon.js +0 -357
- package/components/button/index.js +0 -444
- package/components/button/more.js +0 -210
- package/components/button/ripple-effect.js +0 -81
- package/components/card/body.js +0 -76
- package/components/card/extra.js +0 -76
- package/components/card/footer.js +0 -76
- package/components/card/header.js +0 -80
- package/components/card/index.js +0 -203
- package/components/chart/Pie/Circle.js +0 -50
- package/components/chart/Pie/Sector.js +0 -124
- package/components/chart/Pie/Sectors.js +0 -81
- package/components/chart/Pie/index.js +0 -277
- package/components/chart/Pie-v2/Circle.js +0 -48
- package/components/chart/Pie-v2/Sector.js +0 -108
- package/components/chart/Pie-v2/Sectors.js +0 -204
- package/components/chart/Pie-v2/index.js +0 -488
- package/components/chart/bar/Axis.js +0 -67
- package/components/chart/bar/Bar.js +0 -344
- package/components/chart/bar/Grid.js +0 -97
- package/components/chart/bar/Labels.js +0 -162
- package/components/chart/bar/Points.js +0 -94
- package/components/chart/bar/index.js +0 -161
- package/components/chart/bar-v2/Axis.js +0 -67
- package/components/chart/bar-v2/Bar.js +0 -354
- package/components/chart/bar-v2/Grid.js +0 -97
- package/components/chart/bar-v2/Labels.js +0 -162
- package/components/chart/bar-v2/Points.js +0 -94
- package/components/chart/bar-v2/index.js +0 -161
- package/components/chart/line/Axis.js +0 -68
- package/components/chart/line/Grid.js +0 -99
- package/components/chart/line/Labels.js +0 -160
- package/components/chart/line/Path.js +0 -154
- package/components/chart/line/Point.js +0 -343
- package/components/chart/line/Title.js +0 -52
- package/components/chart/line/index.js +0 -199
- package/components/chart/line-v2/Axis.js +0 -66
- package/components/chart/line-v2/Grid.js +0 -97
- package/components/chart/line-v2/Labels.js +0 -160
- package/components/chart/line-v2/Path.js +0 -153
- package/components/chart/line-v2/Point.js +0 -326
- package/components/chart/line-v2/Title.js +0 -52
- package/components/chart/line-v2/index.js +0 -165
- package/components/check-text/index.js +0 -155
- package/components/check-text/interview-confirmation.js +0 -171
- package/components/check-text/interview-status.js +0 -137
- package/components/chip/attach.js +0 -167
- package/components/chip/index.js +0 -275
- package/components/collapse/index.js +0 -93
- package/components/dialogs/colors.js +0 -13
- package/components/divider/index.js +0 -89
- package/components/form-control/attachment/index.js +0 -1537
- package/components/form-control/calendar/function.js +0 -752
- package/components/form-control/calendar/index.js +0 -317
- package/components/form-control/calendar/range.js +0 -291
- package/components/form-control/checkbox/index.js +0 -329
- package/components/form-control/control/index.js +0 -91
- package/components/form-control/date-input/DateField.js +0 -187
- package/components/form-control/date-input/index.js +0 -292
- package/components/form-control/date-input/useDateInputState.js +0 -129
- package/components/form-control/date-input/useIsFocused.js +0 -20
- package/components/form-control/date-input/useKeyboardInputEvent.js +0 -45
- package/components/form-control/date-input/utils.js +0 -290
- package/components/form-control/date-picker/index.js +0 -357
- package/components/form-control/date-range-picker/index.js +0 -1183
- package/components/form-control/dropdown/index.js +0 -1624
- package/components/form-control/dropdown-box/index.js +0 -238
- package/components/form-control/form/context.js +0 -5
- package/components/form-control/form/index.js +0 -40
- package/components/form-control/form-group/index.js +0 -117
- package/components/form-control/helper-text/index.js +0 -88
- package/components/form-control/input-base/UncontrolledInputBase.js +0 -450
- package/components/form-control/input-base/index.js +0 -646
- package/components/form-control/label/index.js +0 -117
- package/components/form-control/money-input/index.js +0 -513
- package/components/form-control/number-input/index.js +0 -582
- package/components/form-control/number-input/index2.js +0 -481
- package/components/form-control/password-input/index.js +0 -242
- package/components/form-control/phone-input/index.js +0 -364
- package/components/form-control/radio/index.js +0 -224
- package/components/form-control/text-input/index.js +0 -239
- package/components/form-control/time-picker/index.js +0 -781
- package/components/form-control/time-picker/swiper.js +0 -540
- package/components/form-control/time-picker/v2/index.js +0 -809
- package/components/form-control/toggle/index.js +0 -222
- package/components/form-view/helper-text.js +0 -33
- package/components/form-view/index.js +0 -95
- package/components/form-view/input.js +0 -117
- package/components/form-view/label.js +0 -37
- package/components/grid/Col.js +0 -91
- package/components/grid/Container.js +0 -85
- package/components/grid/Row.js +0 -81
- package/components/grid/context.js +0 -3
- package/components/grid/index.js +0 -251
- package/components/image/index.js +0 -170
- package/components/index.js +0 -156
- package/components/list/list-item-action.js +0 -82
- package/components/list/list-item-icon.js +0 -71
- package/components/list/list-item-text.js +0 -56
- package/components/list/list-item.js +0 -108
- package/components/list/list.js +0 -149
- package/components/list/sub-header.js +0 -63
- package/components/modal/body.js +0 -74
- package/components/modal/context.js +0 -6
- package/components/modal/footer.js +0 -78
- package/components/modal/header.js +0 -128
- package/components/modal/index.js +0 -63
- package/components/modal/modal.js +0 -292
- package/components/others/extra/index.js +0 -116
- package/components/others/import/index.js +0 -71
- package/components/others/option-wrapper/index.js +0 -39
- package/components/others/scrollbar/index.js +0 -94
- package/components/paging/page-info.js +0 -582
- package/components/paging/page-selector.js +0 -381
- package/components/paper/index.js +0 -112
- package/components/popover/body.js +0 -86
- package/components/popover/footer.js +0 -84
- package/components/popover/header.js +0 -88
- package/components/popover/index.js +0 -663
- package/components/popup/danger_popup.js +0 -189
- package/components/popup/index.js +0 -414
- package/components/popup/v2/index.js +0 -398
- package/components/progress/circular.js +0 -296
- package/components/progress/linear.js +0 -324
- package/components/rating/index.js +0 -243
- package/components/skeleton/index.js +0 -79
- package/components/slider/slider-container.js +0 -340
- package/components/slider/slider-item.js +0 -205
- package/components/status/index.js +0 -111
- package/components/tab/context.js +0 -3
- package/components/tab/tab-container.js +0 -100
- package/components/tab/tab-header.js +0 -160
- package/components/tab/tab-panel.js +0 -91
- package/components/tab/tab.js +0 -210
- package/components/tooltip/index.js +0 -522
- package/components/tooltip/portal.js +0 -11
- package/components/transfer/index.js +0 -434
- package/components/tree-view/index.js +0 -1017
- package/components/typography/index.js +0 -193
- package/css/styles.css +0 -1
- package/css/styles.css.map +0 -1
- package/global/index.js +0 -194
- package/icons/basic.js +0 -7864
- package/icons/effect.js +0 -131
- package/icons/general/clock/clock.js +0 -20
- package/icons/general/color-handler/background.js +0 -40
- package/icons/general/color-handler/text.js +0 -40
- package/icons/general/emoji/emoji.js +0 -34
- package/icons/general/font-properties/bold.js +0 -20
- package/icons/general/font-properties/font-family.js +0 -34
- package/icons/general/font-properties/font-size.js +0 -26
- package/icons/general/font-properties/italic.js +0 -20
- package/icons/general/font-properties/underline.js +0 -30
- package/icons/general/hyperlink/hyperlink.js +0 -37
- package/icons/general/indent/decrease.js +0 -54
- package/icons/general/indent/increase.js +0 -54
- package/icons/general/index.js +0 -21
- package/icons/general/list/bullets.js +0 -76
- package/icons/general/list/numbering.js +0 -70
- package/icons/general/picture/picture.js +0 -20
- package/icons/general/steps/redo.js +0 -20
- package/icons/general/steps/undo.js +0 -20
- package/icons/general/text-align/center.js +0 -20
- package/icons/general/text-align/justify.js +0 -20
- package/icons/general/text-align/left.js +0 -20
- package/icons/general/text-align/right.js +0 -20
- package/icons/index.js +0 -3
- package/icons/menu/dhr.js +0 -2442
- package/icons/menu/erp.js +0 -491
- package/icons/menu/index.js +0 -5
- package/icons/menu/v2/index.js +0 -71
- package/locale/index.js +0 -11
- package/styles/animation.js +0 -848
- package/styles/animations.js +0 -13
- package/styles/color-helper.js +0 -343
- package/styles/colors.js +0 -476
- package/styles/font.js +0 -24
- package/styles/general.js +0 -568
- package/styles/sx/index.js +0 -28
- package/styles/typography.js +0 -156
- package/styles/utils.js +0 -35
- package/theme/createBreakpoints.js +0 -82
- package/theme/createSpacing.js +0 -10
- package/theme/createTheme.js +0 -26
- package/theme/createZIndex.js +0 -9
- package/theme/index.js +0 -14
- package/theme/make-styles.js +0 -30
- package/theme/settings.js +0 -861
- package/theme/theme-provider.js +0 -102
- package/theme/theme.js +0 -57
- package/theme/use-classes.js +0 -15
- package/theme/utils/getThemeProps.js +0 -12
- package/theme/utils/resolveProps.js +0 -17
- package/theme/utils/useThemeProps.js +0 -14
- package/utils/array/array.js +0 -169
- package/utils/classNames/index.js +0 -25
- package/utils/console.js +0 -27
- package/utils/date.js +0 -401
- package/utils/error/error.js +0 -53
- package/utils/error/errors.js +0 -200
- package/utils/getFileType.js +0 -23
- package/utils/handleBreakpoints.js +0 -25
- package/utils/hexToRGBA/index.js +0 -23
- package/utils/index.js +0 -38
- package/utils/intersectionObserver.js +0 -37
- package/utils/isMobile/index.js +0 -21
- package/utils/isUndefined.js +0 -2
- package/utils/iterator.js +0 -36
- package/utils/map-parent.js +0 -46
- package/utils/object/deepmerge.js +0 -103
- package/utils/object/extend.js +0 -47
- package/utils/object/object.js +0 -54
- package/utils/parseHTML.js +0 -18
- package/utils/promisify.js +0 -34
- package/utils/randomString.js +0 -26
- package/utils/refMethodType.js +0 -6
- package/utils/refType.js +0 -5
- package/utils/remove-unicode.js +0 -5
- package/utils/render-portal.js +0 -87
- package/utils/renderHTML.js +0 -18
- package/utils/renderIcon.js +0 -53
- package/utils/sb-template.js +0 -113
- package/utils/storybook/index.js +0 -1
- package/utils/storybook/refArgTypes.js +0 -41
- package/utils/string/capitalize.js +0 -3
- package/utils/string/capitalizeSentenceCase.js +0 -8
- package/utils/string/string.js +0 -60
- package/utils/type.js +0 -69
- package/utils/updatePosition.js +0 -35
- package/utils/useControlled/index.js +0 -14
- package/utils/useDelayUnmount.js +0 -15
- package/utils/useElementSize.js +0 -55
- package/utils/useEventListener.js +0 -51
- package/utils/useInput.js +0 -33
- package/utils/useMediaQuery/index.js +0 -44
- package/utils/useOnClickOutside.js +0 -21
- package/utils/usePortal.js +0 -49
- package/utils/validate.js +0 -135
- /package/{assets → src/assets}/avatar/default.svg +0 -0
- /package/{assets → src/assets}/fonts/SF-Pro-Display-Bold.otf +0 -0
- /package/{assets → src/assets}/fonts/SF-Pro-Display-Medium.otf +0 -0
- /package/{assets → src/assets}/fonts/SF-Pro-Display-Regular.otf +0 -0
- /package/{assets → src/assets}/fonts/text-security-disc-compat.eot +0 -0
- /package/{assets → src/assets}/fonts/text-security-disc-compat.ttf +0 -0
- /package/{assets → src/assets}/fonts/text-security-disc-compat.woff2 +0 -0
- /package/{assets → src/assets}/fonts/text-security-disc.woff2 +0 -0
- /package/{assets → src/assets}/image/default.png +0 -0
- /package/{assets → src/assets}/images/icons/wifi.svg +0 -0
- /package/{assets → src/assets}/images/menu/bem/WA3F0100.svg +0 -0
- /package/{assets → src/assets}/images/menu/bem/WA3F1025.svg +0 -0
- /package/{assets → src/assets}/images/menu/bem/WA3F2000.svg +0 -0
- /package/{assets → src/assets}/images/menu/bem/WA3F2020.svg +0 -0
- /package/{assets → src/assets}/images/menu/bem/WA3F2030.svg +0 -0
- /package/{assets → src/assets}/images/menu/bem/WA3F2040.svg +0 -0
- /package/{assets → src/assets}/images/menu/bem/WA3F2100.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/ALL.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D00.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D09.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D13.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D15.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D21.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D25.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D29.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D38.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D39.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D51.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D52.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D77.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D84.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/D89.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/Default.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR21N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR29N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR29N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR29N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR29N0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR29N0011.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR29N0012.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR29N0013.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR75N0005.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR75N0006.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR75N0007.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR75N0008.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR75N0009.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR75N0010.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR89N0014.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MAHR89N0015.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM00N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM00N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM00N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM00N0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM00N0005.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM00N0006.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM00N0007.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM09N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM09N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM09N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM09N0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM09N0005.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM09N1010.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM09N1015.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM09N1020.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM09N1025.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM09N1030.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM09N1035.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM09N1040.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM09N1400.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM13N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM13N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM13N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM13N0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM15N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM25N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM29N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM29N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM29N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM29N0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM29N0005.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM29N0015.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM38N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM38N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM38N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM39N0012.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM39N0013.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM39N0014.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM39N0015.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM39N0016.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM39N0017.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM39N0018.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM39N0019.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM39N0020.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM39N0021.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM39N0022.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM39N0023.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM51N0005.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM51N0006.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM51N0007.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM77N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM77N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM82N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM82N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM84N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM84N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM89N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRM89N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP00N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0005.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0006.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0007.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0008.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0009.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0010.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0011.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0012.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0013.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0014.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0015.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0016.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0017.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0018.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0019.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0020.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0021.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0022.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0023.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0024.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0025.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0026.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0027.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0028.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0029.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0030.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0031.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0032.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0033.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0034.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP09N0035.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP13N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP13N0005.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP13N0006.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP21N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP21N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP25L0101.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP25L0501.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP25N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP25N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP25N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP25N0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP25N0005.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0005.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0006.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0007.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0008.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0009.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0010.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0011.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0012.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0013.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0014.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0016.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0017.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0018.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0019.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0020.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0021.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0022.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0023.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0026.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0027.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0028.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0029.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP29N0030.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP38N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP38N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0005.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0006.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0007.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0008.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0009.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0010.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0011.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0013.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0014.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0015.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0017.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0018.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0019.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0020.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N0021.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP39N1222.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP51N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP51N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP51N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP51N0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP52N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP52N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP52N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP75N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP75N0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP75N0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP75N0006.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP75N0007.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP75N0008.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP77N0007.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP77N0008.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP77N0009.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP77N0010.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP77N0011.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP89N1000.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/MHRP89N1001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/TASK.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W00F0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W00F0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W00F0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W00F0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W00F0005.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W09F2000-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W09F2000.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W09F2002-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W09F2005-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W09F2020-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W09F2022-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W09F2150-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W09F2152-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W09F2160-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W09F2162-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W29F4006-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W75F2260-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W75F2261-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W75F3005-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W75F4070-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W75F4071-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W75F4100-WEB5.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W77F1011.svg +0 -0
- /package/{assets → src/assets}/images/menu/dhr/W77F1013.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/W00F0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/W00F0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/W00F0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/W00F0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WEO76APP0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WEO76APP0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WEO76LIS0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WEO76LIS0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WEO76LIS0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WEO76LIS0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WEO76LIS0005.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WEO76LIS0006.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WEO76LIS0007.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WEO76REQ0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WEO76REQ0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WEO76REQ0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WEO76TRA0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WTM76ACC0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WTM76INF0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WTM76PRO0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/eo/WTM76SYS0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/D05.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/D06.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/D90R.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/DBC.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W00F0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W00F0002.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W00F0003.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W00F0004.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W05F0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W05F0001N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W05F0004N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W05F0006N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W05F0007N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W05F0008N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W05F0011N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W05F0013N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W05F4000N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W06F0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W06F0001N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W06F0004N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W06F0005N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W06F0006N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W06F0008N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W94F1000N0000.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/W94F1000N0001.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/WA3F1025.svg +0 -0
- /package/{assets → src/assets}/images/menu/erp/WA3F2100.svg +0 -0
- /package/{assets → src/assets}/storybook/avatar01.svg +0 -0
- /package/{assets → src/assets}/storybook/cover01.svg +0 -0
package/components/grid/Row.js
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/** @jsxRuntime classic */
|
|
2
|
-
/** @jsx jsx */
|
|
3
|
-
import { jsx } from '@emotion/core';
|
|
4
|
-
import PropTypes from 'prop-types';
|
|
5
|
-
import useThemeProps from "../../theme/utils/useThemeProps";
|
|
6
|
-
import { classNames } from "../../utils";
|
|
7
|
-
import Grid from '.';
|
|
8
|
-
const checkChildren = children => {
|
|
9
|
-
if (!children) return false;
|
|
10
|
-
if (Array.isArray(children)) {
|
|
11
|
-
return !children.every(v => v === false);
|
|
12
|
-
}
|
|
13
|
-
return true;
|
|
14
|
-
};
|
|
15
|
-
const Row = inProps => {
|
|
16
|
-
const props = useThemeProps({
|
|
17
|
-
props: inProps,
|
|
18
|
-
name: 'Row'
|
|
19
|
-
});
|
|
20
|
-
const {
|
|
21
|
-
className,
|
|
22
|
-
children,
|
|
23
|
-
...other
|
|
24
|
-
} = props;
|
|
25
|
-
return checkChildren(children) ? jsx(Grid, {
|
|
26
|
-
...other,
|
|
27
|
-
className: classNames('DGN-UI-Row', className),
|
|
28
|
-
container: true
|
|
29
|
-
}, children) : null;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
// Row.defaultProps = {
|
|
33
|
-
// className: '',
|
|
34
|
-
// columns: 12,
|
|
35
|
-
// columnSpacing: { xs: 4, sm: 4, md: 4, lg: 4, xl: 6 },
|
|
36
|
-
// direction: 'row',
|
|
37
|
-
// lg: false,
|
|
38
|
-
// md: false,
|
|
39
|
-
// rowSpacing: { xs: 4, sm: 4, md: 4, lg: 4, xl: 4 },
|
|
40
|
-
// sm: false,
|
|
41
|
-
// spacing: 0,
|
|
42
|
-
// style: {},
|
|
43
|
-
// wrap: 'wrap',
|
|
44
|
-
// xl: false,
|
|
45
|
-
// xs: false,
|
|
46
|
-
// zeroMinWidth: false,
|
|
47
|
-
// };
|
|
48
|
-
|
|
49
|
-
Row.propTypes = {
|
|
50
|
-
/** The content of the component. */
|
|
51
|
-
children: PropTypes.node,
|
|
52
|
-
/** Class for component. */
|
|
53
|
-
className: PropTypes.string,
|
|
54
|
-
/** The number of columns. */
|
|
55
|
-
columns: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number, PropTypes.object]),
|
|
56
|
-
/** Defines the horizontal space between the type `Col` components. It overrides the value of the `spacing` prop. */
|
|
57
|
-
columnSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
58
|
-
/** Defines the `flex-direction` style property. It is applied for all screen sizes. */
|
|
59
|
-
direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),
|
|
60
|
-
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `lg` breakpoint and wider screens if not overridden. */
|
|
61
|
-
lg: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
62
|
-
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `md` breakpoint and wider screens if not overridden. */
|
|
63
|
-
md: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
64
|
-
/** Defines the vertical space between the type `Col` components. It overrides the value of the `spacing` prop. */
|
|
65
|
-
rowSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
66
|
-
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `sm` breakpoint and wider screens if not overridden. */
|
|
67
|
-
sm: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
68
|
-
/** Defines the space between the type `Col` components */
|
|
69
|
-
spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
70
|
-
/** Style inline of component. */
|
|
71
|
-
style: PropTypes.object,
|
|
72
|
-
/** Defines the flex-wrap style property. It's applied for all screen sizes. */
|
|
73
|
-
wrap: PropTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap']),
|
|
74
|
-
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `xl` breakpoint and wider screens if not overridden. */
|
|
75
|
-
xl: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
76
|
-
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for all the screen sizes with the lowest priority. */
|
|
77
|
-
xs: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
78
|
-
/** If `true`, it sets `min-width: 0` on the item. Refer to the limitations section of the documentation to better understand the use case. */
|
|
79
|
-
zeroMinWidth: PropTypes.bool
|
|
80
|
-
};
|
|
81
|
-
export default Row;
|
package/components/grid/index.js
DELETED
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
/** @jsxRuntime classic */
|
|
2
|
-
/** @jsx jsx */
|
|
3
|
-
import { css, jsx } from '@emotion/core';
|
|
4
|
-
import OptionWrapper from "../others/option-wrapper";
|
|
5
|
-
import PropTypes from 'prop-types';
|
|
6
|
-
import { forwardRef, memo, useContext, useImperativeHandle, useMemo, useRef } from 'react';
|
|
7
|
-
import { boxBorder } from "../../styles/general";
|
|
8
|
-
import { useTheme } from "../../theme";
|
|
9
|
-
import { breakpointKeys } from "../../theme/createBreakpoints";
|
|
10
|
-
import useThemeProps from "../../theme/utils/useThemeProps";
|
|
11
|
-
import { classNames, handleBreakpoints } from "../../utils";
|
|
12
|
-
import GridContext from "./context";
|
|
13
|
-
const Grid = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
14
|
-
if (!reference) reference = useRef(null);
|
|
15
|
-
const theme = useTheme();
|
|
16
|
-
const {
|
|
17
|
-
breakpoints: themeBreakpoints,
|
|
18
|
-
spacing: themeSpacing
|
|
19
|
-
} = theme;
|
|
20
|
-
|
|
21
|
-
// props priority: `inProps` > `themeDefaultProps`
|
|
22
|
-
const props = useThemeProps({
|
|
23
|
-
props: inProps,
|
|
24
|
-
name: 'Grid'
|
|
25
|
-
});
|
|
26
|
-
const {
|
|
27
|
-
action = {},
|
|
28
|
-
children,
|
|
29
|
-
className,
|
|
30
|
-
columns: columnsProp,
|
|
31
|
-
columnSpacing: columnSpacingProp,
|
|
32
|
-
container,
|
|
33
|
-
direction,
|
|
34
|
-
id,
|
|
35
|
-
item,
|
|
36
|
-
leftSpacing: leftSpacingProp,
|
|
37
|
-
lg,
|
|
38
|
-
md,
|
|
39
|
-
rowSpacing: rowSpacingProp,
|
|
40
|
-
sm,
|
|
41
|
-
spacing,
|
|
42
|
-
style,
|
|
43
|
-
topSpacing: topSpacingProp,
|
|
44
|
-
verticalAlign,
|
|
45
|
-
wrap,
|
|
46
|
-
xl,
|
|
47
|
-
xs,
|
|
48
|
-
zeroMinWidth,
|
|
49
|
-
...other
|
|
50
|
-
} = props;
|
|
51
|
-
const columnsContext = useContext(GridContext);
|
|
52
|
-
const rowSpacing = rowSpacingProp || spacing;
|
|
53
|
-
const columnSpacing = columnSpacingProp || spacing;
|
|
54
|
-
const columns = container ? columnsProp : columnsContext;
|
|
55
|
-
const topSpacing = topSpacingProp !== null && topSpacingProp !== void 0 ? topSpacingProp : rowSpacing;
|
|
56
|
-
const leftSpacing = leftSpacingProp !== null && leftSpacingProp !== void 0 ? leftSpacingProp : columnSpacing;
|
|
57
|
-
const ref = useRef(null);
|
|
58
|
-
const _GridCSS = GridCSS(direction, zeroMinWidth, container, item, wrap, verticalAlign);
|
|
59
|
-
const _GridSpacingCSS = GridSpacingCSS(rowSpacing, columnSpacing, topSpacing, leftSpacing, themeSpacing);
|
|
60
|
-
const _HandleGridCSS = HandleGridCSS([xs, sm, md, lg, xl], columns, themeBreakpoints);
|
|
61
|
-
useImperativeHandle(reference, () => {
|
|
62
|
-
const currentRef = ref.current || {};
|
|
63
|
-
currentRef.element = ref.current;
|
|
64
|
-
const _instance = {
|
|
65
|
-
...action
|
|
66
|
-
}; // methods
|
|
67
|
-
_instance.__proto__ = {}; // hidden methods
|
|
68
|
-
currentRef.instance = _instance;
|
|
69
|
-
return currentRef;
|
|
70
|
-
});
|
|
71
|
-
return useMemo(() => {
|
|
72
|
-
return jsx("div", {
|
|
73
|
-
id: id,
|
|
74
|
-
ref: ref,
|
|
75
|
-
css: [_GridCSS, container && (rowSpacing || columnSpacing) && _GridSpacingCSS, _HandleGridCSS],
|
|
76
|
-
style: style,
|
|
77
|
-
className: classNames(`DGN-UI-Grid${item ? '-item' : ''}`, className),
|
|
78
|
-
...other
|
|
79
|
-
}, jsx(GridContext.Provider, {
|
|
80
|
-
value: columns
|
|
81
|
-
}, children));
|
|
82
|
-
}, [columns, columnSpacing, leftSpacing, rowSpacing, topSpacing, children, className, container, direction, id, item, lg, md, sm, spacing, style, verticalAlign, wrap, xl, xs, zeroMinWidth, other, theme]);
|
|
83
|
-
}));
|
|
84
|
-
const getOffset = val => {
|
|
85
|
-
const parse = parseFloat(val);
|
|
86
|
-
return `${parse}${String(val).replace(String(parse), '') || 'px'}`;
|
|
87
|
-
};
|
|
88
|
-
const processSizeArray = sizeArr => {
|
|
89
|
-
let lastValue = false;
|
|
90
|
-
sizeArr = sizeArr.map(item => {
|
|
91
|
-
if (item === false) return lastValue;else lastValue = item;
|
|
92
|
-
return item;
|
|
93
|
-
});
|
|
94
|
-
return sizeArr;
|
|
95
|
-
};
|
|
96
|
-
const handleGrid = (size, value, columns, themeBreakpoints) => {
|
|
97
|
-
let css = '';
|
|
98
|
-
if (value === true) {
|
|
99
|
-
css = `
|
|
100
|
-
flex-basis: 0;
|
|
101
|
-
flex-grow: 1;
|
|
102
|
-
max-width: 100%;
|
|
103
|
-
`;
|
|
104
|
-
} else if (value === 'auto') {
|
|
105
|
-
css = `
|
|
106
|
-
flex-basis: auto;
|
|
107
|
-
flex-grow: 0;
|
|
108
|
-
flex-shrink: 0;
|
|
109
|
-
max-width: none;
|
|
110
|
-
width: auto;
|
|
111
|
-
`;
|
|
112
|
-
} else if (typeof value === 'number' && value !== 0) {
|
|
113
|
-
css = handleBreakpoints(columns, propValue => {
|
|
114
|
-
return `
|
|
115
|
-
flex-basis: ${Math.round(value / propValue * 10e7) / 10e5}%;
|
|
116
|
-
flex-grow: 0;
|
|
117
|
-
max-width: ${Math.round(value / propValue * 10e7) / 10e5}%;
|
|
118
|
-
`;
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
return `${themeBreakpoints.up(size)} {
|
|
122
|
-
${css}
|
|
123
|
-
}`;
|
|
124
|
-
};
|
|
125
|
-
const GridCSS = (direction, zeroMinWidth, container, item, wrap, verticalAlign) => css`
|
|
126
|
-
${boxBorder};
|
|
127
|
-
${container && `
|
|
128
|
-
display: flex;
|
|
129
|
-
flex-wrap: ${wrap};
|
|
130
|
-
width: 100%;
|
|
131
|
-
`};
|
|
132
|
-
${item && `
|
|
133
|
-
margin: 0;
|
|
134
|
-
align-self: ${verticalAlign}
|
|
135
|
-
`};
|
|
136
|
-
${zeroMinWidth && `min-width: 0;`}
|
|
137
|
-
${handleBreakpoints(direction, propValue => {
|
|
138
|
-
return `flex-direction: ${propValue}`;
|
|
139
|
-
})};
|
|
140
|
-
`;
|
|
141
|
-
const GridSpacingCSS = (rowSpacing, columnSpacing, topSpacing, leftSpacing, themeSpacing) => css`
|
|
142
|
-
${topSpacing && handleBreakpoints(topSpacing, propValue => {
|
|
143
|
-
const spacing = typeof propValue === 'number' ? themeSpacing(propValue) : propValue;
|
|
144
|
-
if (spacing !== '0px') {
|
|
145
|
-
return `
|
|
146
|
-
margin-top: -${getOffset(spacing)};
|
|
147
|
-
`;
|
|
148
|
-
}
|
|
149
|
-
return '';
|
|
150
|
-
})};
|
|
151
|
-
${rowSpacing && handleBreakpoints(rowSpacing, propValue => {
|
|
152
|
-
const spacing = typeof propValue === 'number' ? themeSpacing(propValue) : propValue;
|
|
153
|
-
if (spacing !== '0px') {
|
|
154
|
-
return `
|
|
155
|
-
& > .DGN-UI-Grid-item {
|
|
156
|
-
padding-top: ${getOffset(spacing)};
|
|
157
|
-
}
|
|
158
|
-
`;
|
|
159
|
-
}
|
|
160
|
-
return '';
|
|
161
|
-
})};
|
|
162
|
-
${leftSpacing && handleBreakpoints(leftSpacing, propValue => {
|
|
163
|
-
const spacing = typeof propValue === 'number' ? themeSpacing(propValue) : propValue;
|
|
164
|
-
if (spacing !== '0px') {
|
|
165
|
-
return `
|
|
166
|
-
margin-left: -${getOffset(spacing)};
|
|
167
|
-
`;
|
|
168
|
-
}
|
|
169
|
-
return '';
|
|
170
|
-
})};
|
|
171
|
-
${columnSpacing && handleBreakpoints(columnSpacing, propValue => {
|
|
172
|
-
const spacing = typeof propValue === 'number' ? themeSpacing(propValue) : propValue;
|
|
173
|
-
if (spacing !== '0px') {
|
|
174
|
-
return `
|
|
175
|
-
width: calc(100% + ${getOffset(spacing)});
|
|
176
|
-
& > .DGN-UI-Grid-item {
|
|
177
|
-
padding-left: ${getOffset(spacing)};
|
|
178
|
-
}
|
|
179
|
-
`;
|
|
180
|
-
}
|
|
181
|
-
return '';
|
|
182
|
-
})};
|
|
183
|
-
`;
|
|
184
|
-
const HandleGridCSS = (sizeArr, columns, themeBreakpoints) => css`
|
|
185
|
-
${processSizeArray(sizeArr).map((item, idx) => {
|
|
186
|
-
return handleGrid(breakpointKeys[idx], item, columns, themeBreakpoints);
|
|
187
|
-
})}
|
|
188
|
-
`;
|
|
189
|
-
|
|
190
|
-
// Grid.defaultProps = {
|
|
191
|
-
// className: '',
|
|
192
|
-
// columns: 12,
|
|
193
|
-
// container: false,
|
|
194
|
-
// direction: 'row',
|
|
195
|
-
// item: false,
|
|
196
|
-
// lg: false,
|
|
197
|
-
// md: false,
|
|
198
|
-
// sm: false,
|
|
199
|
-
// spacing: 0,
|
|
200
|
-
// style: {},
|
|
201
|
-
// verticalAlign: 'auto',
|
|
202
|
-
// wrap: 'wrap',
|
|
203
|
-
// xl: false,
|
|
204
|
-
// xs: false,
|
|
205
|
-
// zeroMinWidth: false,
|
|
206
|
-
// };
|
|
207
|
-
|
|
208
|
-
Grid.propTypes = {
|
|
209
|
-
/** The content of the component. */
|
|
210
|
-
children: PropTypes.node,
|
|
211
|
-
/** Style inline of component. */
|
|
212
|
-
style: PropTypes.object,
|
|
213
|
-
/** Class for component. */
|
|
214
|
-
className: PropTypes.string,
|
|
215
|
-
/** The number of columns. */
|
|
216
|
-
columns: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number, PropTypes.object]),
|
|
217
|
-
/** Defines the horizontal space between the type `item` components. It overrides the value of the `spacing` prop. */
|
|
218
|
-
columnSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
219
|
-
/** If true, the component will have the flex *container* behavior. You should be wrapping *items* with a *container*. */
|
|
220
|
-
container: PropTypes.bool,
|
|
221
|
-
/** Defines the `flex-direction` style property. It is applied for all screen sizes. */
|
|
222
|
-
direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),
|
|
223
|
-
/** If `true`, the component will have the flex *item* behavior. You should be wrapping *items* with a *container*. */
|
|
224
|
-
item: PropTypes.bool,
|
|
225
|
-
/** Defines the horizontal space of `container` components. */
|
|
226
|
-
leftSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
227
|
-
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `lg` breakpoint and wider screens if not overridden. */
|
|
228
|
-
lg: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
229
|
-
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `md` breakpoint and wider screens if not overridden. */
|
|
230
|
-
md: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
231
|
-
/** Defines the vertical space between the type `item` components. It overrides the value of the `spacing` prop. */
|
|
232
|
-
rowSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
233
|
-
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `sm` breakpoint and wider screens if not overridden. */
|
|
234
|
-
sm: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
235
|
-
/** Defines the space between the type `item` components. It can only be used on a type `container` component. */
|
|
236
|
-
spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
237
|
-
/** Defines the vertical space of `container` components. */
|
|
238
|
-
topSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
239
|
-
/** Self-align of the grid item. */
|
|
240
|
-
verticalAlign: PropTypes.oneOf(['auto', 'start', 'center', 'end']),
|
|
241
|
-
/** Defines the flex-wrap style property. It's applied for all screen sizes. */
|
|
242
|
-
wrap: PropTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap']),
|
|
243
|
-
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `xl` breakpoint and wider screens if not overridden. */
|
|
244
|
-
xl: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
245
|
-
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for all the screen sizes with the lowest priority. */
|
|
246
|
-
xs: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
247
|
-
/** If `true`, it sets `min-width: 0` on the item. Refer to the limitations section of the documentation to better understand the use case. */
|
|
248
|
-
zeroMinWidth: PropTypes.bool
|
|
249
|
-
};
|
|
250
|
-
export { Grid };
|
|
251
|
-
export default OptionWrapper(Grid);
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
/** @jsxRuntime classic */
|
|
2
|
-
/** @jsx jsx */
|
|
3
|
-
import { css, jsx, keyframes } from '@emotion/core';
|
|
4
|
-
import ImageDefault from "../../assets/image/default.png";
|
|
5
|
-
import OptionWrapper from "../others/option-wrapper";
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
import { Fragment, forwardRef, memo, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
8
|
-
import { animation, aspectSquare, borderRadius, displayInlineFlex, itemsCenter, objectFit, overflowHidden, parseWidthHeight, positionRelative } from "../../styles/general";
|
|
9
|
-
import useThemeProps from "../../theme/utils/useThemeProps";
|
|
10
|
-
import { classNames, useIntersection } from "../../utils";
|
|
11
|
-
const blurKeyframe = keyframes`
|
|
12
|
-
0% { -webkit-filter: blur(4px);}
|
|
13
|
-
25% { -webkit-filter: blur(3px);}
|
|
14
|
-
50% { -webkit-filter: blur(2px);}
|
|
15
|
-
75% { -webkit-filter: blur(1px);}
|
|
16
|
-
100% { -webkit-filter: blur(0px);}
|
|
17
|
-
`;
|
|
18
|
-
const Image = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
|
|
19
|
-
if (!reference) reference = useRef(null);
|
|
20
|
-
|
|
21
|
-
// props priority: `inProps` > `themeDefaultProps`
|
|
22
|
-
const props = useThemeProps({
|
|
23
|
-
props: inProps,
|
|
24
|
-
name: 'Image'
|
|
25
|
-
});
|
|
26
|
-
const {
|
|
27
|
-
action = {},
|
|
28
|
-
alt,
|
|
29
|
-
circular,
|
|
30
|
-
className,
|
|
31
|
-
defaultSrc: defaultSrcProp,
|
|
32
|
-
height,
|
|
33
|
-
id,
|
|
34
|
-
lazyLoading,
|
|
35
|
-
objectFit,
|
|
36
|
-
onError,
|
|
37
|
-
square,
|
|
38
|
-
src,
|
|
39
|
-
style,
|
|
40
|
-
width
|
|
41
|
-
} = props;
|
|
42
|
-
const defaultSrc = defaultSrcProp || ImageDefault;
|
|
43
|
-
const ref = useRef(null);
|
|
44
|
-
const [srcState, setSrcState] = useState(src);
|
|
45
|
-
const [isInView, setIsInView] = useState(false);
|
|
46
|
-
const [onLoaded, setOnLoaded] = useState(false);
|
|
47
|
-
useIntersection(ref, () => {
|
|
48
|
-
setIsInView(true);
|
|
49
|
-
});
|
|
50
|
-
const _ImageCSS = ImageCSS(width, height, circular);
|
|
51
|
-
const _DefaultImgCSS = DefaultImgCSS(objectFit, square);
|
|
52
|
-
const _ImgCSS = ImgCSS(objectFit, square);
|
|
53
|
-
useEffect(() => {
|
|
54
|
-
if (src) {
|
|
55
|
-
if (isInView || !lazyLoading) {
|
|
56
|
-
const img = document.createElement('img');
|
|
57
|
-
img.src = src;
|
|
58
|
-
img.alt = '';
|
|
59
|
-
img.onerror = () => {
|
|
60
|
-
setSrcState(defaultSrc);
|
|
61
|
-
onError === null || onError === void 0 ? void 0 : onError();
|
|
62
|
-
};
|
|
63
|
-
img.onload = () => {
|
|
64
|
-
setSrcState(src);
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
return () => {
|
|
69
|
-
setSrcState(defaultSrc);
|
|
70
|
-
};
|
|
71
|
-
}, [src]);
|
|
72
|
-
useImperativeHandle(reference, () => {
|
|
73
|
-
const currentRef = ref.current || {};
|
|
74
|
-
currentRef.element = ref.current;
|
|
75
|
-
const _instance = {
|
|
76
|
-
...action
|
|
77
|
-
}; // methods
|
|
78
|
-
_instance.__proto__ = {}; // hidden methods
|
|
79
|
-
currentRef.instance = _instance;
|
|
80
|
-
return currentRef;
|
|
81
|
-
});
|
|
82
|
-
const renderImage = useMemo(() => {
|
|
83
|
-
const defaultImage = jsx("img", {
|
|
84
|
-
css: _DefaultImgCSS,
|
|
85
|
-
draggable: false,
|
|
86
|
-
src: defaultSrc,
|
|
87
|
-
alt: '',
|
|
88
|
-
width: width,
|
|
89
|
-
height: height
|
|
90
|
-
});
|
|
91
|
-
const image = jsx(Fragment, null, !onLoaded && defaultImage, srcState && jsx("img", {
|
|
92
|
-
css: _ImgCSS,
|
|
93
|
-
draggable: false,
|
|
94
|
-
src: srcState,
|
|
95
|
-
alt: alt || srcState,
|
|
96
|
-
onLoad: () => setOnLoaded(true),
|
|
97
|
-
width: width,
|
|
98
|
-
height: height
|
|
99
|
-
}));
|
|
100
|
-
if (lazyLoading) {
|
|
101
|
-
return isInView ? image : defaultImage;
|
|
102
|
-
} else return image;
|
|
103
|
-
}, [alt, defaultSrc, height, isInView, lazyLoading, onLoaded, srcState, width, objectFit, square]);
|
|
104
|
-
return jsx("div", {
|
|
105
|
-
ref: ref,
|
|
106
|
-
css: _ImageCSS,
|
|
107
|
-
id: id,
|
|
108
|
-
className: classNames('DGN-UI-Image', className),
|
|
109
|
-
style: style
|
|
110
|
-
}, renderImage);
|
|
111
|
-
}));
|
|
112
|
-
const ImageCSS = (width, height, circular) => css`
|
|
113
|
-
${displayInlineFlex};
|
|
114
|
-
${positionRelative};
|
|
115
|
-
${itemsCenter};
|
|
116
|
-
${overflowHidden};
|
|
117
|
-
${parseWidthHeight(width, height)};
|
|
118
|
-
${circular && borderRadius('50%')};
|
|
119
|
-
`;
|
|
120
|
-
const DefaultImgCSS = (objectFitValue, square) => css`
|
|
121
|
-
${objectFit(objectFitValue)};
|
|
122
|
-
${square && aspectSquare};
|
|
123
|
-
`;
|
|
124
|
-
const ImgCSS = (objectFitValue, square) => css`
|
|
125
|
-
${objectFit(objectFitValue)};
|
|
126
|
-
${animation({
|
|
127
|
-
keyframes: blurKeyframe,
|
|
128
|
-
duration: '1s'
|
|
129
|
-
})};
|
|
130
|
-
${square && aspectSquare};
|
|
131
|
-
`;
|
|
132
|
-
|
|
133
|
-
// Image.defaultProps = {
|
|
134
|
-
// circular: false,
|
|
135
|
-
// className: '',
|
|
136
|
-
// height: 200,
|
|
137
|
-
// lazyLoading: false,
|
|
138
|
-
// objectFit: 'cover',
|
|
139
|
-
// style: {},
|
|
140
|
-
// width: 200,
|
|
141
|
-
// };
|
|
142
|
-
|
|
143
|
-
Image.propTypes = {
|
|
144
|
-
/** Description of the image. */
|
|
145
|
-
alt: PropTypes.string,
|
|
146
|
-
/** If `true`, the image is displayed in a circular shape. */
|
|
147
|
-
circular: PropTypes.bool,
|
|
148
|
-
/** CSS class for the component. */
|
|
149
|
-
className: PropTypes.string,
|
|
150
|
-
/** Default image source to display when the specified source encounters an error. */
|
|
151
|
-
defaultSrc: PropTypes.string,
|
|
152
|
-
/** Height of the component. */
|
|
153
|
-
height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
154
|
-
/** If `true`, enables lazy loading of the image. */
|
|
155
|
-
lazyLoading: PropTypes.bool,
|
|
156
|
-
/** Object-fit property for the image. */
|
|
157
|
-
objectFit: PropTypes.oneOf(['contain', 'cover', 'fill', 'none']),
|
|
158
|
-
/** Callback function fired when an error occurs while loading the image. */
|
|
159
|
-
onError: PropTypes.func,
|
|
160
|
-
/** If `true`, the image is displayed in a square shape. */
|
|
161
|
-
square: PropTypes.bool,
|
|
162
|
-
/** Path of the image source. */
|
|
163
|
-
src: PropTypes.string,
|
|
164
|
-
/** Inline style object for the component. */
|
|
165
|
-
style: PropTypes.object,
|
|
166
|
-
/** Width of the component. */
|
|
167
|
-
width: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
|
168
|
-
};
|
|
169
|
-
export { Image };
|
|
170
|
-
export default OptionWrapper(Image);
|
package/components/index.js
DELETED
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import * as components from '.';
|
|
2
|
-
|
|
3
|
-
//TOOLTIP
|
|
4
|
-
export { default as Tooltip } from "./tooltip/index";
|
|
5
|
-
|
|
6
|
-
//TEXT
|
|
7
|
-
export { default as Typography } from "./typography";
|
|
8
|
-
|
|
9
|
-
// PROGRESS
|
|
10
|
-
export { default as CircularProgress } from "./progress/circular";
|
|
11
|
-
export { default as LinearProgress } from "./progress/linear";
|
|
12
|
-
|
|
13
|
-
// ACCORDION
|
|
14
|
-
export { default as Accordion } from "./accordion";
|
|
15
|
-
export { default as AccordionSummary } from "./accordion/summary";
|
|
16
|
-
export { default as AccordionDetails } from "./accordion/details";
|
|
17
|
-
export { default as AccordionGroup } from "./accordion/group";
|
|
18
|
-
|
|
19
|
-
// ALERT
|
|
20
|
-
export { default as Alert } from "./alert";
|
|
21
|
-
export { default as Notify } from "./alert/notify";
|
|
22
|
-
|
|
23
|
-
// AVATAR
|
|
24
|
-
export { default as Avatar } from "./avatar";
|
|
25
|
-
|
|
26
|
-
// BADGE
|
|
27
|
-
export { default as Badge } from "./badge";
|
|
28
|
-
|
|
29
|
-
// BUTTON
|
|
30
|
-
export { default as Button } from "./button";
|
|
31
|
-
export { default as ButtonIcon } from "./button/icon";
|
|
32
|
-
export { default as ButtonMore } from "./button/more";
|
|
33
|
-
|
|
34
|
-
// BREADCRUMB
|
|
35
|
-
export { default as Breadcrumb } from "./breadcrumb";
|
|
36
|
-
|
|
37
|
-
// CARD
|
|
38
|
-
export { default as Card } from "./card";
|
|
39
|
-
export { default as CardHeader } from "./card/header";
|
|
40
|
-
export { default as CardBody } from "./card/body";
|
|
41
|
-
export { default as CardFooter } from "./card/footer";
|
|
42
|
-
export { default as CardExtra } from "./card/extra";
|
|
43
|
-
|
|
44
|
-
// CHART
|
|
45
|
-
export { default as PieChart } from "./chart/Pie";
|
|
46
|
-
export { default as ColumnChart } from "./chart/bar";
|
|
47
|
-
export { default as LineChart } from "./chart/line";
|
|
48
|
-
|
|
49
|
-
// CHECK-TEXT
|
|
50
|
-
export { default as CheckTextConfirmation } from "./check-text/interview-confirmation";
|
|
51
|
-
export { default as CheckTextStatus } from "./check-text/interview-status";
|
|
52
|
-
|
|
53
|
-
// CHIP
|
|
54
|
-
export { default as Chip } from "./chip";
|
|
55
|
-
export { default as AttachChip } from "./chip/attach";
|
|
56
|
-
|
|
57
|
-
// COLLAPSE
|
|
58
|
-
export { default as Collapse } from "./collapse";
|
|
59
|
-
|
|
60
|
-
// DIVIDER
|
|
61
|
-
export { default as Divider } from "./divider";
|
|
62
|
-
|
|
63
|
-
// FORM CONTROL
|
|
64
|
-
export { default as Attachment } from "./form-control/attachment";
|
|
65
|
-
export { default as Checkbox } from "./form-control/checkbox";
|
|
66
|
-
export { default as DateInput } from "./form-control/date-input";
|
|
67
|
-
export { default as DatePicker } from "./form-control/date-picker";
|
|
68
|
-
export { default as DatePickerV2 } from "./form-control/date-picker";
|
|
69
|
-
export { default as DateRangePicker } from "./form-control/date-range-picker";
|
|
70
|
-
export { default as TimePicker } from "./form-control/time-picker/v2";
|
|
71
|
-
export { default as Dropdown } from "./form-control/dropdown";
|
|
72
|
-
export { default as DropdownBox } from "./form-control/dropdown-box";
|
|
73
|
-
export { default as FormGroup } from "./form-control/form-group";
|
|
74
|
-
export { default as Radio } from "./form-control/radio";
|
|
75
|
-
export { default as InputBase } from "./form-control/input-base";
|
|
76
|
-
export { default as Label } from "./form-control/label";
|
|
77
|
-
export { default as HelperText } from "./form-control/helper-text";
|
|
78
|
-
export { default as PasswordInput } from "./form-control/password-input";
|
|
79
|
-
export { default as TextInput } from "./form-control/text-input";
|
|
80
|
-
export { default as MoneyInput } from "./form-control/money-input";
|
|
81
|
-
export { default as NumberInput } from "./form-control/number-input/index2";
|
|
82
|
-
export { default as Toggle } from "./form-control/toggle";
|
|
83
|
-
|
|
84
|
-
// Grid
|
|
85
|
-
export { default as Grid } from "./grid";
|
|
86
|
-
export { default as Row } from "./grid/Row";
|
|
87
|
-
export { default as Col } from "./grid/Col";
|
|
88
|
-
export { default as Container } from "./grid/Container";
|
|
89
|
-
|
|
90
|
-
//Icon
|
|
91
|
-
export { default as Icon } from "../icons/index";
|
|
92
|
-
|
|
93
|
-
//Image
|
|
94
|
-
export { default as Image } from "./image";
|
|
95
|
-
|
|
96
|
-
// List
|
|
97
|
-
export { default as List } from "./list/list";
|
|
98
|
-
export { default as ListItem } from "./list/list-item";
|
|
99
|
-
export { default as ListItemIcon } from "./list/list-item-icon";
|
|
100
|
-
export { default as ListItemText } from "./list/list-item-text";
|
|
101
|
-
export { default as ListItemAction } from "./list/list-item-action";
|
|
102
|
-
|
|
103
|
-
// MODAL
|
|
104
|
-
export { default as ModalSample } from "./modal";
|
|
105
|
-
export { default as Modal } from "./modal/modal";
|
|
106
|
-
export { default as ModalHeader } from "./modal/header";
|
|
107
|
-
export { default as ModalBody } from "./modal/body";
|
|
108
|
-
export { default as ModalFooter } from "./modal/footer";
|
|
109
|
-
|
|
110
|
-
// PAGING
|
|
111
|
-
export { default as PagingInfo } from "./paging/page-info";
|
|
112
|
-
export { default as PagingSelector } from "./paging/page-selector";
|
|
113
|
-
|
|
114
|
-
// PAPER
|
|
115
|
-
export { default as Paper } from "./paper";
|
|
116
|
-
|
|
117
|
-
// POPOVER
|
|
118
|
-
export { default as Popover } from "./popover";
|
|
119
|
-
export { default as PopoverHeader } from "./popover/header";
|
|
120
|
-
export { default as PopoverBody } from "./popover/body";
|
|
121
|
-
export { default as PopoverFooter } from "./popover/footer";
|
|
122
|
-
|
|
123
|
-
// POPUP
|
|
124
|
-
export { default as Popup } from "./popup/v2";
|
|
125
|
-
export { default as PopupV2 } from "./popup/v2";
|
|
126
|
-
export { default as DangerPopup } from "./popup/danger_popup";
|
|
127
|
-
|
|
128
|
-
// SLIDER
|
|
129
|
-
export { default as Slider } from "./slider/slider-container";
|
|
130
|
-
export { default as SliderItem } from "./slider/slider-item";
|
|
131
|
-
|
|
132
|
-
// Rating
|
|
133
|
-
export { default as Rating } from "./rating";
|
|
134
|
-
|
|
135
|
-
// STATUS
|
|
136
|
-
export { default as Status } from "./status";
|
|
137
|
-
|
|
138
|
-
// TAB
|
|
139
|
-
export { default as TabContainer } from "./tab/tab-container";
|
|
140
|
-
export { default as TabHeader } from "./tab/tab-header";
|
|
141
|
-
export { default as TabPanel } from "./tab/tab-panel";
|
|
142
|
-
export { default as TabItem } from "./tab/tab";
|
|
143
|
-
|
|
144
|
-
// TREE VIEW
|
|
145
|
-
export { default as Transfer } from "./transfer";
|
|
146
|
-
|
|
147
|
-
// TREE VIEW
|
|
148
|
-
export { default as TreeView } from "./tree-view";
|
|
149
|
-
|
|
150
|
-
// OTHERS
|
|
151
|
-
export { default as Extra } from "./others/extra";
|
|
152
|
-
export { default as ScrollBar } from "./others/scrollbar";
|
|
153
|
-
|
|
154
|
-
//SKELETON
|
|
155
|
-
export { default as Skeleton } from "./skeleton";
|
|
156
|
-
export default components;
|