armtek-uikit-react 1.0.266 → 1.0.268
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/README.md +110 -0
- package/lib/assets/styles.min.css +5474 -0
- package/lib/assets/styles.min.css.map +1 -0
- package/lib/cjs/.cjs +2 -0
- package/lib/cjs/assets/armtek-uikit-react.css +1188 -0
- package/lib/cjs/index.cjs +1 -0
- package/lib/cjs/lib/const/styles.cjs +4 -0
- package/lib/cjs/lib/helpers/genericForwardRef.cjs +7 -0
- package/lib/cjs/lib/helpers/getColorClasses.cjs +14 -0
- package/lib/cjs/lib/helpers/getSizeClasses.cjs +11 -0
- package/lib/cjs/lib/helpers/getVariantClasses.cjs +11 -0
- package/lib/cjs/lib/helpers/helpers.cjs +106 -0
- package/lib/cjs/lib/helpers/helpers.d.ts +21 -0
- package/lib/cjs/lib/helpers/index.cjs +4 -0
- package/lib/cjs/lib/helpers/insertChar.cjs +9 -0
- package/lib/cjs/lib/helpers.cjs +2 -0
- package/lib/cjs/lib/hooks/useClickOutside.cjs +17 -0
- package/lib/cjs/lib/hooks/useEnhancedEffect.cjs +22 -0
- package/lib/cjs/lib/hooks/useEventCallback.cjs +32 -0
- package/lib/cjs/lib/hooks/useLazyRef.cjs +12 -0
- package/lib/cjs/lib/hooks/useTimeout.cjs +38 -0
- package/lib/cjs/lib/services/DateService.cjs +62 -0
- package/lib/cjs/types/theme.cjs +1 -0
- package/lib/cjs/ui/Accordion/Accordion.cjs +88 -0
- package/lib/cjs/ui/Accordion/Accordion.classes.cjs +32 -0
- package/lib/cjs/ui/Accordion/AccordionHeading.cjs +27 -0
- package/lib/cjs/ui/Accordion/index.cjs +6 -0
- package/lib/cjs/ui/Accordion.cjs +2 -0
- package/lib/cjs/ui/Adornment/Adornment.cjs +30 -0
- package/lib/cjs/ui/Adornment/index.cjs +5 -0
- package/lib/cjs/ui/Adornment.cjs +2 -0
- package/lib/cjs/ui/Alert/Alert.cjs +33 -0
- package/lib/cjs/ui/Alert/index.cjs +4 -0
- package/lib/cjs/ui/Alert.cjs +2 -0
- package/lib/cjs/ui/Avatar/Avatar.cjs +34 -0
- package/lib/cjs/ui/Avatar/Avatar.d.ts +15 -0
- package/lib/cjs/ui/Avatar/index.cjs +4 -0
- package/lib/cjs/ui/Avatar.cjs +2 -0
- package/lib/cjs/ui/AvatarGroup/AvatarGroup.cjs +23 -0
- package/lib/cjs/ui/AvatarGroup/index.cjs +4 -0
- package/lib/cjs/ui/AvatarGroup.cjs +2 -0
- package/lib/cjs/ui/BackDrop/BackDrop.cjs +17 -0
- package/lib/cjs/ui/BackDrop/BackDropBase.cjs +27 -0
- package/lib/cjs/ui/BackDrop/index.cjs +4 -0
- package/lib/cjs/ui/BackDrop.cjs +2 -0
- package/lib/cjs/ui/Badge/Badge.cjs +21 -0
- package/lib/cjs/ui/Badge/index.cjs +4 -0
- package/lib/cjs/ui/Badge.cjs +2 -0
- package/lib/cjs/ui/Button/Button.cjs +45 -0
- package/lib/cjs/ui/Button/Button.d.ts +39 -0
- package/lib/cjs/ui/Button/index.cjs +4 -0
- package/lib/cjs/ui/Button.cjs +2 -0
- package/lib/cjs/ui/ButtonGroup/ButtonGroup.cjs +23 -0
- package/lib/cjs/ui/ButtonGroup/index.cjs +4 -0
- package/lib/cjs/ui/ButtonGroup.cjs +2 -0
- package/lib/cjs/ui/ButtonIcon/ButtonIcon.cjs +18 -0
- package/lib/cjs/ui/ButtonIcon/ButtonIcon.d.ts +25 -0
- package/lib/cjs/ui/ButtonIcon/index.cjs +4 -0
- package/lib/cjs/ui/ButtonIcon.cjs +2 -0
- package/lib/cjs/ui/Card/Card.cjs +8 -0
- package/lib/cjs/ui/Card/Card.d.ts +4 -0
- package/lib/cjs/ui/Card/index.cjs +4 -0
- package/lib/cjs/ui/Card.cjs +2 -0
- package/lib/cjs/ui/Chip/Chip.cjs +32 -0
- package/lib/cjs/ui/Chip/Chip.d.ts +16 -0
- package/lib/cjs/ui/Chip/index.cjs +4 -0
- package/lib/cjs/ui/Chip.cjs +2 -0
- package/lib/cjs/ui/Dropdown/Dropdown.cjs +33 -0
- package/lib/cjs/ui/Dropdown/index.cjs +4 -0
- package/lib/cjs/ui/Dropdown.cjs +2 -0
- package/lib/cjs/ui/Form/Checkbox/Checkbox.cjs +47 -0
- package/lib/cjs/ui/Form/Checkbox/const.cjs +4 -0
- package/lib/cjs/ui/Form/Checkbox/index.cjs +4 -0
- package/lib/cjs/ui/Form/Checkbox.cjs +2 -0
- package/lib/cjs/ui/Form/DateField/DateField.cjs +158 -0
- package/lib/cjs/ui/Form/DateField/index.cjs +4 -0
- package/lib/cjs/ui/Form/DateField.cjs +2 -0
- package/lib/cjs/ui/Form/DatePicker/DatePicker.cjs +110 -0
- package/lib/cjs/ui/Form/DatePicker/index.cjs +4 -0
- package/lib/cjs/ui/Form/DatePicker.cjs +2 -0
- package/lib/cjs/ui/Form/FormControls/FormControls.cjs +22 -0
- package/lib/cjs/ui/Form/FormControls/const.cjs +6 -0
- package/lib/cjs/ui/Form/FormControls/index.cjs +4 -0
- package/lib/cjs/ui/Form/FormControls.cjs +2 -0
- package/lib/cjs/ui/Form/Interval/Interval.cjs +76 -0
- package/lib/cjs/ui/Form/Interval/IntervalSlide.cjs +29 -0
- package/lib/cjs/ui/Form/Interval/index.cjs +6 -0
- package/lib/cjs/ui/Form/Interval.cjs +2 -0
- package/lib/cjs/ui/Form/Password/Password.cjs +25 -0
- package/lib/cjs/ui/Form/Password/Password.d.ts +20 -0
- package/lib/cjs/ui/Form/Password/index.cjs +4 -0
- package/lib/cjs/ui/Form/Password.cjs +2 -0
- package/lib/cjs/ui/Form/Period/Period.cjs +140 -0
- package/lib/cjs/ui/Form/Period/Period.d.ts +32 -0
- package/lib/cjs/ui/Form/Period/index.cjs +4 -0
- package/lib/cjs/ui/Form/Period.cjs +2 -0
- package/lib/cjs/ui/Form/PeriodSelect/PeriodSelect.cjs +15 -0
- package/lib/cjs/ui/Form/PeriodSelect/index.cjs +4 -0
- package/lib/cjs/ui/Form/PeriodSelect.cjs +2 -0
- package/lib/cjs/ui/Form/Radio/Radio.cjs +9 -0
- package/lib/cjs/ui/Form/Radio/index.cjs +4 -0
- package/lib/cjs/ui/Form/Radio.cjs +2 -0
- package/lib/cjs/ui/Form/Rating/Rating.cjs +50 -0
- package/lib/cjs/ui/Form/Rating/const.cjs +7 -0
- package/lib/cjs/ui/Form/Rating/index.cjs +4 -0
- package/lib/cjs/ui/Form/Rating.cjs +2 -0
- package/lib/cjs/ui/Form/Select/Select.cjs +213 -0
- package/lib/cjs/ui/Form/Select/Select.d.ts +58 -0
- package/lib/cjs/ui/Form/Select/SelectOptionList.cjs +25 -0
- package/lib/cjs/ui/Form/Select/SelectOptionsContainer.cjs +14 -0
- package/lib/cjs/ui/Form/Select/SelectSummary.cjs +56 -0
- package/lib/cjs/ui/Form/Select/SelectSummary.d.ts +27 -0
- package/lib/cjs/ui/Form/Select/index.cjs +8 -0
- package/lib/cjs/ui/Form/Select.cjs +2 -0
- package/lib/cjs/ui/Form/Switch/Switch.cjs +15 -0
- package/lib/cjs/ui/Form/Switch/index.cjs +4 -0
- package/lib/cjs/ui/Form/Switch.cjs +2 -0
- package/lib/cjs/ui/Form/TextArea/TextArea.cjs +29 -0
- package/lib/cjs/ui/Form/TextArea/TextArea.d.ts +22 -0
- package/lib/cjs/ui/Form/TextArea/index.cjs +4 -0
- package/lib/cjs/ui/Form/TextArea.cjs +2 -0
- package/lib/cjs/ui/Form/TextField/TextField.cjs +120 -0
- package/lib/cjs/ui/Form/TextField/TextField.d.ts +54 -0
- package/lib/cjs/ui/Form/TextField/index.cjs +6 -0
- package/lib/cjs/ui/Form/TextField.cjs +2 -0
- package/lib/cjs/ui/Form/TimeField/TimeField.cjs +9 -0
- package/lib/cjs/ui/Form/TimeField/TimeField.d.ts +28 -0
- package/lib/cjs/ui/Form/TimeField/index.cjs +4 -0
- package/lib/cjs/ui/Form/TimeField.cjs +2 -0
- package/lib/cjs/ui/Form/TimePicker/TimePicker.cjs +13 -0
- package/lib/cjs/ui/Form/TimePicker/index.cjs +4 -0
- package/lib/cjs/ui/Form/TimePicker.cjs +2 -0
- package/lib/cjs/ui/HelperText/HelperText.cjs +18 -0
- package/lib/cjs/ui/HelperText/index.cjs +4 -0
- package/lib/cjs/ui/HelperText.cjs +2 -0
- package/lib/cjs/ui/Icon/Icon.cjs +29 -0
- package/lib/cjs/ui/Icon/Mi.cjs +14 -0
- package/lib/cjs/ui/Icon/Mi.d.ts +6 -0
- package/lib/cjs/ui/Icon/Mis.cjs +8 -0
- package/lib/cjs/ui/Icon/Mis.d.ts +2 -0
- package/lib/cjs/ui/Icon/index.cjs +8 -0
- package/lib/cjs/ui/Icon.cjs +2 -0
- package/lib/cjs/ui/Link/Link.cjs +32 -0
- package/lib/cjs/ui/Link/Link.d.ts +15 -0
- package/lib/cjs/ui/Link/index.cjs +4 -0
- package/lib/cjs/ui/Link.cjs +2 -0
- package/lib/cjs/ui/List/ListItem.cjs +44 -0
- package/lib/cjs/ui/List/index.cjs +4 -0
- package/lib/cjs/ui/List.cjs +2 -0
- package/lib/cjs/ui/Loader/Loader.cjs +19 -0
- package/lib/cjs/ui/Loader/index.cjs +4 -0
- package/lib/cjs/ui/Loader.cjs +2 -0
- package/lib/cjs/ui/Logo/Logo.cjs +46 -0
- package/lib/cjs/ui/Logo/index.cjs +4 -0
- package/lib/cjs/ui/Logo.cjs +2 -0
- package/lib/cjs/ui/Modal/BaseModal.cjs +35 -0
- package/lib/cjs/ui/Modal/Modal.cjs +87 -0
- package/lib/cjs/ui/Modal/const.cjs +6 -0
- package/lib/cjs/ui/Modal/index.cjs +4 -0
- package/lib/cjs/ui/Modal.cjs +2 -0
- package/lib/cjs/ui/Pagination/Pagination.cjs +80 -0
- package/lib/cjs/ui/Pagination/index.cjs +4 -0
- package/lib/cjs/ui/Pagination.cjs +2 -0
- package/lib/cjs/ui/Paper/Paper.cjs +19 -0
- package/lib/cjs/ui/Paper/index.cjs +4 -0
- package/lib/cjs/ui/Paper.cjs +2 -0
- package/lib/cjs/ui/Popover/Popover.cjs +21 -0
- package/lib/cjs/ui/Popover/index.cjs +4 -0
- package/lib/cjs/ui/Popover.cjs +2 -0
- package/lib/cjs/ui/Popper/Popper.cjs +11 -0
- package/lib/cjs/ui/Popper/Popper.d.ts +4 -0
- package/lib/cjs/ui/Popper/PopperBase.cjs +48 -0
- package/lib/cjs/ui/Popper/PopperBase.d.ts +14 -0
- package/lib/cjs/ui/Popper/index.cjs +6 -0
- package/lib/cjs/ui/Popper.cjs +2 -0
- package/lib/cjs/ui/Skeleton/Skeleton.cjs +20 -0
- package/lib/cjs/ui/Skeleton/index.cjs +4 -0
- package/lib/cjs/ui/Skeleton.cjs +2 -0
- package/lib/cjs/ui/Slider/RcSlider.cjs +1 -0
- package/lib/cjs/ui/Slider/Slider.cjs +24 -0
- package/lib/cjs/ui/Slider/index.cjs +4 -0
- package/lib/cjs/ui/Slider.cjs +2 -0
- package/lib/cjs/ui/Stack/Stack.cjs +38 -0
- package/lib/cjs/ui/Stack/Stack.d.ts +10 -0
- package/lib/cjs/ui/Stack/index.cjs +4 -0
- package/lib/cjs/ui/Stack.cjs +2 -0
- package/lib/cjs/ui/Status/Status.cjs +24 -0
- package/lib/cjs/ui/Status/Status.d.ts +13 -0
- package/lib/cjs/ui/Status/index.cjs +4 -0
- package/lib/cjs/ui/Status.cjs +2 -0
- package/lib/cjs/ui/Stepper/StepItem.cjs +35 -0
- package/lib/cjs/ui/Stepper/StepItemIcon.cjs +18 -0
- package/lib/cjs/ui/Stepper/Stepper.cjs +29 -0
- package/lib/cjs/ui/Stepper/index.cjs +4 -0
- package/lib/cjs/ui/Stepper.cjs +2 -0
- package/lib/cjs/ui/Table/Table.cjs +38 -0
- package/lib/cjs/ui/Table/TableBase.cjs +14 -0
- package/lib/cjs/ui/Table/TableCell.cjs +23 -0
- package/lib/cjs/ui/Table/TableRow.cjs +15 -0
- package/lib/cjs/ui/Table/index.cjs +8 -0
- package/lib/cjs/ui/Table.cjs +2 -0
- package/lib/cjs/ui/Tooltip/Tooltip.cjs +65 -0
- package/lib/cjs/ui/Tooltip/index.cjs +4 -0
- package/lib/cjs/ui/Tooltip.cjs +2 -0
- package/lib/esm/.d.ts +1 -0
- package/lib/esm/.js +1 -0
- package/lib/esm/assets/armtek-uikit-react.css +1188 -0
- package/lib/esm/index.d.ts +0 -0
- package/lib/esm/index.js +1 -0
- package/lib/esm/lib/const/styles.d.ts +1 -0
- package/lib/esm/lib/const/styles.js +4 -0
- package/lib/esm/lib/helpers/genericForwardRef.d.ts +2 -0
- package/lib/esm/lib/helpers/genericForwardRef.js +7 -0
- package/lib/esm/lib/helpers/getColorClasses.d.ts +1 -0
- package/lib/esm/lib/helpers/getColorClasses.js +14 -0
- package/lib/esm/lib/helpers/getSizeClasses.d.ts +1 -0
- package/lib/esm/lib/helpers/getSizeClasses.js +11 -0
- package/lib/esm/lib/helpers/getVariantClasses.d.ts +1 -0
- package/lib/esm/lib/helpers/getVariantClasses.js +11 -0
- package/lib/esm/lib/helpers/helpers.d.ts +21 -0
- package/lib/esm/lib/helpers/helpers.js +106 -0
- package/lib/esm/lib/helpers/index.d.ts +1 -0
- package/lib/esm/lib/helpers/index.js +4 -0
- package/lib/esm/lib/helpers/insertChar.d.ts +1 -0
- package/lib/esm/lib/helpers/insertChar.js +9 -0
- package/lib/esm/lib/helpers.d.ts +1 -0
- package/lib/esm/lib/helpers.js +1 -0
- package/lib/esm/lib/hooks/useClickOutside.d.ts +3 -0
- package/lib/esm/lib/hooks/useClickOutside.js +17 -0
- package/lib/esm/lib/hooks/useEnhancedEffect.d.ts +10 -0
- package/lib/esm/lib/hooks/useEnhancedEffect.js +5 -0
- package/lib/esm/lib/hooks/useEventCallback.d.ts +3 -0
- package/lib/esm/lib/hooks/useEventCallback.js +15 -0
- package/lib/esm/lib/hooks/useLazyRef.d.ts +1 -0
- package/lib/esm/lib/hooks/useLazyRef.js +12 -0
- package/lib/esm/lib/hooks/useTimeout.d.ts +11 -0
- package/lib/esm/lib/hooks/useTimeout.js +38 -0
- package/lib/esm/lib/services/DateService.d.ts +14 -0
- package/lib/esm/lib/services/DateService.js +62 -0
- package/lib/esm/types/theme.d.ts +11 -0
- package/lib/esm/types/theme.js +1 -0
- package/lib/esm/ui/Accordion/Accordion.classes.d.ts +5 -0
- package/lib/esm/ui/Accordion/Accordion.classes.js +32 -0
- package/lib/esm/ui/Accordion/Accordion.d.ts +19 -0
- package/lib/esm/ui/Accordion/Accordion.js +88 -0
- package/lib/esm/ui/Accordion/AccordionHeading.d.ts +7 -0
- package/lib/esm/ui/Accordion/AccordionHeading.js +27 -0
- package/lib/esm/ui/Accordion/index.d.ts +3 -0
- package/lib/esm/ui/Accordion/index.js +6 -0
- package/lib/esm/ui/Accordion.d.ts +2 -0
- package/lib/esm/ui/Accordion.js +2 -0
- package/lib/esm/ui/Adornment/Adornment.d.ts +12 -0
- package/lib/esm/ui/Adornment/Adornment.js +30 -0
- package/lib/esm/ui/Adornment/index.d.ts +2 -0
- package/lib/esm/ui/Adornment/index.js +5 -0
- package/lib/esm/ui/Adornment.d.ts +2 -0
- package/lib/esm/ui/Adornment.js +2 -0
- package/lib/esm/ui/Alert/Alert.d.ts +12 -0
- package/lib/esm/ui/Alert/Alert.js +33 -0
- package/lib/esm/ui/Alert/index.d.ts +2 -0
- package/lib/esm/ui/Alert/index.js +4 -0
- package/lib/esm/ui/Alert.d.ts +2 -0
- package/lib/esm/ui/Alert.js +2 -0
- package/lib/esm/ui/Avatar/Avatar.d.ts +15 -0
- package/lib/esm/ui/Avatar/Avatar.js +34 -0
- package/lib/esm/ui/Avatar/index.d.ts +2 -0
- package/lib/esm/ui/Avatar/index.js +4 -0
- package/lib/esm/ui/Avatar.d.ts +2 -0
- package/lib/esm/ui/Avatar.js +2 -0
- package/lib/esm/ui/AvatarGroup/AvatarGroup.d.ts +8 -0
- package/lib/esm/ui/AvatarGroup/AvatarGroup.js +23 -0
- package/lib/esm/ui/AvatarGroup/index.d.ts +2 -0
- package/lib/esm/ui/AvatarGroup/index.js +4 -0
- package/lib/esm/ui/AvatarGroup.d.ts +2 -0
- package/lib/esm/ui/AvatarGroup.js +2 -0
- package/lib/esm/ui/BackDrop/BackDrop.d.ts +4 -0
- package/lib/esm/ui/BackDrop/BackDrop.js +17 -0
- package/lib/esm/ui/BackDrop/BackDropBase.d.ts +7 -0
- package/lib/esm/ui/BackDrop/BackDropBase.js +27 -0
- package/lib/esm/ui/BackDrop/index.d.ts +2 -0
- package/lib/esm/ui/BackDrop/index.js +4 -0
- package/lib/esm/ui/BackDrop.d.ts +1 -0
- package/lib/esm/ui/BackDrop.js +1 -0
- package/lib/esm/ui/Badge/Badge.d.ts +12 -0
- package/lib/esm/ui/Badge/Badge.js +21 -0
- package/lib/esm/ui/Badge/index.d.ts +1 -0
- package/lib/esm/ui/Badge/index.js +4 -0
- package/lib/esm/ui/Badge.d.ts +2 -0
- package/lib/esm/ui/Badge.js +2 -0
- package/lib/esm/ui/Button/Button.d.ts +39 -0
- package/lib/esm/ui/Button/Button.js +45 -0
- package/lib/esm/ui/Button/index.d.ts +2 -0
- package/lib/esm/ui/Button/index.js +4 -0
- package/lib/esm/ui/Button.d.ts +2 -0
- package/lib/esm/ui/Button.js +2 -0
- package/lib/esm/ui/ButtonGroup/ButtonGroup.d.ts +6 -0
- package/lib/esm/ui/ButtonGroup/ButtonGroup.js +23 -0
- package/lib/esm/ui/ButtonGroup/index.d.ts +2 -0
- package/lib/esm/ui/ButtonGroup/index.js +4 -0
- package/lib/esm/ui/ButtonGroup.d.ts +2 -0
- package/lib/esm/ui/ButtonGroup.js +2 -0
- package/lib/esm/ui/ButtonIcon/ButtonIcon.d.ts +25 -0
- package/lib/esm/ui/ButtonIcon/ButtonIcon.js +18 -0
- package/lib/esm/ui/ButtonIcon/index.d.ts +2 -0
- package/lib/esm/ui/ButtonIcon/index.js +4 -0
- package/lib/esm/ui/ButtonIcon.d.ts +2 -0
- package/lib/esm/ui/ButtonIcon.js +2 -0
- package/lib/esm/ui/Card/Card.d.ts +4 -0
- package/lib/esm/ui/Card/Card.js +8 -0
- package/lib/esm/ui/Card/index.d.ts +2 -0
- package/lib/esm/ui/Card/index.js +4 -0
- package/lib/esm/ui/Card.d.ts +2 -0
- package/lib/esm/ui/Card.js +2 -0
- package/lib/esm/ui/Chip/Chip.d.ts +16 -0
- package/lib/esm/ui/Chip/Chip.js +32 -0
- package/lib/esm/ui/Chip/index.d.ts +2 -0
- package/lib/esm/ui/Chip/index.js +4 -0
- package/lib/esm/ui/Chip.d.ts +2 -0
- package/lib/esm/ui/Chip.js +2 -0
- package/lib/esm/ui/Dropdown/Dropdown.d.ts +8 -0
- package/lib/esm/ui/Dropdown/Dropdown.js +33 -0
- package/lib/esm/ui/Dropdown/index.d.ts +2 -0
- package/lib/esm/ui/Dropdown/index.js +4 -0
- package/lib/esm/ui/Dropdown.d.ts +2 -0
- package/lib/esm/ui/Dropdown.js +2 -0
- package/lib/esm/ui/Form/Checkbox/Checkbox.d.ts +14 -0
- package/lib/esm/ui/Form/Checkbox/Checkbox.js +47 -0
- package/lib/esm/ui/Form/Checkbox/const.d.ts +1 -0
- package/lib/esm/ui/Form/Checkbox/const.js +4 -0
- package/lib/esm/ui/Form/Checkbox/index.d.ts +2 -0
- package/lib/esm/ui/Form/Checkbox/index.js +4 -0
- package/lib/esm/ui/Form/Checkbox.d.ts +2 -0
- package/lib/esm/ui/Form/Checkbox.js +2 -0
- package/lib/esm/ui/Form/DateField/DateField.d.ts +25 -0
- package/lib/esm/ui/Form/DateField/DateField.js +158 -0
- package/lib/esm/ui/Form/DateField/index.d.ts +2 -0
- package/lib/esm/ui/Form/DateField/index.js +4 -0
- package/lib/esm/ui/Form/DateField.d.ts +2 -0
- package/lib/esm/ui/Form/DateField.js +2 -0
- package/lib/esm/ui/Form/DatePicker/DatePicker.d.ts +5 -0
- package/lib/esm/ui/Form/DatePicker/DatePicker.js +110 -0
- package/lib/esm/ui/Form/DatePicker/index.d.ts +2 -0
- package/lib/esm/ui/Form/DatePicker/index.js +4 -0
- package/lib/esm/ui/Form/DatePicker.d.ts +2 -0
- package/lib/esm/ui/Form/DatePicker.js +2 -0
- package/lib/esm/ui/Form/FormControls/FormControls.d.ts +19 -0
- package/lib/esm/ui/Form/FormControls/FormControls.js +22 -0
- package/lib/esm/ui/Form/FormControls/const.d.ts +2 -0
- package/lib/esm/ui/Form/FormControls/const.js +6 -0
- package/lib/esm/ui/Form/FormControls/index.d.ts +2 -0
- package/lib/esm/ui/Form/FormControls/index.js +4 -0
- package/lib/esm/ui/Form/FormControls.d.ts +1 -0
- package/lib/esm/ui/Form/FormControls.js +1 -0
- package/lib/esm/ui/Form/Interval/Interval.d.ts +14 -0
- package/lib/esm/ui/Form/Interval/Interval.js +76 -0
- package/lib/esm/ui/Form/Interval/IntervalSlide.d.ts +5 -0
- package/lib/esm/ui/Form/Interval/IntervalSlide.js +29 -0
- package/lib/esm/ui/Form/Interval/index.d.ts +3 -0
- package/lib/esm/ui/Form/Interval/index.js +6 -0
- package/lib/esm/ui/Form/Interval.d.ts +2 -0
- package/lib/esm/ui/Form/Interval.js +2 -0
- package/lib/esm/ui/Form/Password/Password.d.ts +20 -0
- package/lib/esm/ui/Form/Password/Password.js +25 -0
- package/lib/esm/ui/Form/Password/index.d.ts +1 -0
- package/lib/esm/ui/Form/Password/index.js +4 -0
- package/lib/esm/ui/Form/Password.d.ts +2 -0
- package/lib/esm/ui/Form/Password.js +2 -0
- package/lib/esm/ui/Form/Period/Period.d.ts +32 -0
- package/lib/esm/ui/Form/Period/Period.js +140 -0
- package/lib/esm/ui/Form/Period/index.d.ts +2 -0
- package/lib/esm/ui/Form/Period/index.js +4 -0
- package/lib/esm/ui/Form/Period.d.ts +2 -0
- package/lib/esm/ui/Form/Period.js +2 -0
- package/lib/esm/ui/Form/PeriodSelect/PeriodSelect.d.ts +2 -0
- package/lib/esm/ui/Form/PeriodSelect/PeriodSelect.js +15 -0
- package/lib/esm/ui/Form/PeriodSelect/index.d.ts +1 -0
- package/lib/esm/ui/Form/PeriodSelect/index.js +4 -0
- package/lib/esm/ui/Form/PeriodSelect.d.ts +2 -0
- package/lib/esm/ui/Form/PeriodSelect.js +2 -0
- package/lib/esm/ui/Form/Radio/Radio.d.ts +3 -0
- package/lib/esm/ui/Form/Radio/Radio.js +9 -0
- package/lib/esm/ui/Form/Radio/index.d.ts +1 -0
- package/lib/esm/ui/Form/Radio/index.js +4 -0
- package/lib/esm/ui/Form/Radio.d.ts +2 -0
- package/lib/esm/ui/Form/Radio.js +2 -0
- package/lib/esm/ui/Form/Rating/Rating.d.ts +23 -0
- package/lib/esm/ui/Form/Rating/Rating.js +50 -0
- package/lib/esm/ui/Form/Rating/const.d.ts +4 -0
- package/lib/esm/ui/Form/Rating/const.js +7 -0
- package/lib/esm/ui/Form/Rating/index.d.ts +2 -0
- package/lib/esm/ui/Form/Rating/index.js +4 -0
- package/lib/esm/ui/Form/Rating.d.ts +2 -0
- package/lib/esm/ui/Form/Rating.js +2 -0
- package/lib/esm/ui/Form/Select/Select.d.ts +58 -0
- package/lib/esm/ui/Form/Select/Select.js +213 -0
- package/lib/esm/ui/Form/Select/SelectOptionList.d.ts +13 -0
- package/lib/esm/ui/Form/Select/SelectOptionList.js +25 -0
- package/lib/esm/ui/Form/Select/SelectOptionsContainer.d.ts +7 -0
- package/lib/esm/ui/Form/Select/SelectOptionsContainer.js +14 -0
- package/lib/esm/ui/Form/Select/SelectSummary.d.ts +27 -0
- package/lib/esm/ui/Form/Select/SelectSummary.js +56 -0
- package/lib/esm/ui/Form/Select/index.d.ts +3 -0
- package/lib/esm/ui/Form/Select/index.js +8 -0
- package/lib/esm/ui/Form/Select.d.ts +2 -0
- package/lib/esm/ui/Form/Select.js +2 -0
- package/lib/esm/ui/Form/Switch/Switch.d.ts +7 -0
- package/lib/esm/ui/Form/Switch/Switch.js +15 -0
- package/lib/esm/ui/Form/Switch/index.d.ts +2 -0
- package/lib/esm/ui/Form/Switch/index.js +4 -0
- package/lib/esm/ui/Form/Switch.d.ts +2 -0
- package/lib/esm/ui/Form/Switch.js +2 -0
- package/lib/esm/ui/Form/TextArea/TextArea.d.ts +22 -0
- package/lib/esm/ui/Form/TextArea/TextArea.js +29 -0
- package/lib/esm/ui/Form/TextArea/index.d.ts +2 -0
- package/lib/esm/ui/Form/TextArea/index.js +4 -0
- package/lib/esm/ui/Form/TextArea.d.ts +2 -0
- package/lib/esm/ui/Form/TextArea.js +2 -0
- package/lib/esm/ui/Form/TextField/TextField.d.ts +54 -0
- package/lib/esm/ui/Form/TextField/TextField.js +120 -0
- package/lib/esm/ui/Form/TextField/index.d.ts +2 -0
- package/lib/esm/ui/Form/TextField/index.js +6 -0
- package/lib/esm/ui/Form/TextField.d.ts +2 -0
- package/lib/esm/ui/Form/TextField.js +2 -0
- package/lib/esm/ui/Form/TimeField/TimeField.d.ts +28 -0
- package/lib/esm/ui/Form/TimeField/TimeField.js +9 -0
- package/lib/esm/ui/Form/TimeField/index.d.ts +1 -0
- package/lib/esm/ui/Form/TimeField/index.js +4 -0
- package/lib/esm/ui/Form/TimeField.d.ts +2 -0
- package/lib/esm/ui/Form/TimeField.js +2 -0
- package/lib/esm/ui/Form/TimePicker/TimePicker.d.ts +2 -0
- package/lib/esm/ui/Form/TimePicker/TimePicker.js +13 -0
- package/lib/esm/ui/Form/TimePicker/index.d.ts +1 -0
- package/lib/esm/ui/Form/TimePicker/index.js +4 -0
- package/lib/esm/ui/Form/TimePicker.d.ts +2 -0
- package/lib/esm/ui/Form/TimePicker.js +2 -0
- package/lib/esm/ui/HelperText/HelperText.d.ts +7 -0
- package/lib/esm/ui/HelperText/HelperText.js +18 -0
- package/lib/esm/ui/HelperText/index.d.ts +1 -0
- package/lib/esm/ui/HelperText/index.js +4 -0
- package/lib/esm/ui/HelperText.d.ts +2 -0
- package/lib/esm/ui/HelperText.js +2 -0
- package/lib/esm/ui/Icon/Icon.d.ts +13 -0
- package/lib/esm/ui/Icon/Icon.js +29 -0
- package/lib/esm/ui/Icon/Mi.d.ts +6 -0
- package/lib/esm/ui/Icon/Mi.js +14 -0
- package/lib/esm/ui/Icon/Mis.d.ts +2 -0
- package/lib/esm/ui/Icon/Mis.js +8 -0
- package/lib/esm/ui/Icon/index.d.ts +4 -0
- package/lib/esm/ui/Icon/index.js +8 -0
- package/lib/esm/ui/Icon.d.ts +2 -0
- package/lib/esm/ui/Icon.js +2 -0
- package/lib/esm/ui/Link/Link.d.ts +15 -0
- package/lib/esm/ui/Link/Link.js +32 -0
- package/lib/esm/ui/Link/index.d.ts +2 -0
- package/lib/esm/ui/Link/index.js +4 -0
- package/lib/esm/ui/Link.d.ts +2 -0
- package/lib/esm/ui/Link.js +2 -0
- package/lib/esm/ui/List/ListItem.d.ts +14 -0
- package/lib/esm/ui/List/ListItem.js +44 -0
- package/lib/esm/ui/List/index.d.ts +2 -0
- package/lib/esm/ui/List/index.js +4 -0
- package/lib/esm/ui/List.d.ts +2 -0
- package/lib/esm/ui/List.js +2 -0
- package/lib/esm/ui/Loader/Loader.d.ts +9 -0
- package/lib/esm/ui/Loader/Loader.js +19 -0
- package/lib/esm/ui/Loader/index.d.ts +2 -0
- package/lib/esm/ui/Loader/index.js +4 -0
- package/lib/esm/ui/Loader.d.ts +2 -0
- package/lib/esm/ui/Loader.js +2 -0
- package/lib/esm/ui/Logo/Logo.d.ts +14 -0
- package/lib/esm/ui/Logo/Logo.js +46 -0
- package/lib/esm/ui/Logo/index.d.ts +2 -0
- package/lib/esm/ui/Logo/index.js +4 -0
- package/lib/esm/ui/Logo.d.ts +2 -0
- package/lib/esm/ui/Logo.js +2 -0
- package/lib/esm/ui/Modal/BaseModal.d.ts +17 -0
- package/lib/esm/ui/Modal/BaseModal.js +35 -0
- package/lib/esm/ui/Modal/Modal.d.ts +9 -0
- package/lib/esm/ui/Modal/Modal.js +87 -0
- package/lib/esm/ui/Modal/const.d.ts +2 -0
- package/lib/esm/ui/Modal/const.js +6 -0
- package/lib/esm/ui/Modal/index.d.ts +2 -0
- package/lib/esm/ui/Modal/index.js +4 -0
- package/lib/esm/ui/Modal.d.ts +1 -0
- package/lib/esm/ui/Modal.js +1 -0
- package/lib/esm/ui/Pagination/Pagination.d.ts +15 -0
- package/lib/esm/ui/Pagination/Pagination.js +80 -0
- package/lib/esm/ui/Pagination/index.d.ts +2 -0
- package/lib/esm/ui/Pagination/index.js +4 -0
- package/lib/esm/ui/Pagination.d.ts +1 -0
- package/lib/esm/ui/Pagination.js +1 -0
- package/lib/esm/ui/Paper/Paper.d.ts +9 -0
- package/lib/esm/ui/Paper/Paper.js +19 -0
- package/lib/esm/ui/Paper/index.d.ts +2 -0
- package/lib/esm/ui/Paper/index.js +4 -0
- package/lib/esm/ui/Paper.d.ts +2 -0
- package/lib/esm/ui/Paper.js +2 -0
- package/lib/esm/ui/Popover/Popover.d.ts +12 -0
- package/lib/esm/ui/Popover/Popover.js +21 -0
- package/lib/esm/ui/Popover/index.d.ts +2 -0
- package/lib/esm/ui/Popover/index.js +4 -0
- package/lib/esm/ui/Popover.d.ts +1 -0
- package/lib/esm/ui/Popover.js +1 -0
- package/lib/esm/ui/Popper/Popper.d.ts +4 -0
- package/lib/esm/ui/Popper/Popper.js +11 -0
- package/lib/esm/ui/Popper/PopperBase.d.ts +14 -0
- package/lib/esm/ui/Popper/PopperBase.js +48 -0
- package/lib/esm/ui/Popper/index.d.ts +2 -0
- package/lib/esm/ui/Popper/index.js +6 -0
- package/lib/esm/ui/Popper.d.ts +1 -0
- package/lib/esm/ui/Popper.js +1 -0
- package/lib/esm/ui/Skeleton/Skeleton.d.ts +8 -0
- package/lib/esm/ui/Skeleton/Skeleton.js +20 -0
- package/lib/esm/ui/Skeleton/index.d.ts +1 -0
- package/lib/esm/ui/Skeleton/index.js +4 -0
- package/lib/esm/ui/Skeleton.d.ts +1 -0
- package/lib/esm/ui/Skeleton.js +1 -0
- package/lib/esm/ui/Slider/RcSlider.d.ts +0 -0
- package/lib/esm/ui/Slider/RcSlider.js +1 -0
- package/lib/esm/ui/Slider/Slider.d.ts +9 -0
- package/lib/esm/ui/Slider/Slider.js +24 -0
- package/lib/esm/ui/Slider/index.d.ts +2 -0
- package/lib/esm/ui/Slider/index.js +4 -0
- package/lib/esm/ui/Slider.d.ts +2 -0
- package/lib/esm/ui/Slider.js +2 -0
- package/lib/esm/ui/Stack/Stack.d.ts +10 -0
- package/lib/esm/ui/Stack/Stack.js +38 -0
- package/lib/esm/ui/Stack/index.d.ts +2 -0
- package/lib/esm/ui/Stack/index.js +4 -0
- package/lib/esm/ui/Stack.d.ts +2 -0
- package/lib/esm/ui/Stack.js +2 -0
- package/lib/esm/ui/Status/Status.d.ts +13 -0
- package/lib/esm/ui/Status/Status.js +24 -0
- package/lib/esm/ui/Status/index.d.ts +1 -0
- package/lib/esm/ui/Status/index.js +4 -0
- package/lib/esm/ui/Status.d.ts +2 -0
- package/lib/esm/ui/Status.js +2 -0
- package/lib/esm/ui/Stepper/StepItem.d.ts +14 -0
- package/lib/esm/ui/Stepper/StepItem.js +35 -0
- package/lib/esm/ui/Stepper/StepItemIcon.d.ts +11 -0
- package/lib/esm/ui/Stepper/StepItemIcon.js +18 -0
- package/lib/esm/ui/Stepper/Stepper.d.ts +12 -0
- package/lib/esm/ui/Stepper/Stepper.js +29 -0
- package/lib/esm/ui/Stepper/index.d.ts +2 -0
- package/lib/esm/ui/Stepper/index.js +4 -0
- package/lib/esm/ui/Stepper.d.ts +2 -0
- package/lib/esm/ui/Stepper.js +2 -0
- package/lib/esm/ui/Table/Table.d.ts +37 -0
- package/lib/esm/ui/Table/Table.js +38 -0
- package/lib/esm/ui/Table/TableBase.d.ts +3 -0
- package/lib/esm/ui/Table/TableBase.js +14 -0
- package/lib/esm/ui/Table/TableCell.d.ts +10 -0
- package/lib/esm/ui/Table/TableCell.js +23 -0
- package/lib/esm/ui/Table/TableRow.d.ts +4 -0
- package/lib/esm/ui/Table/TableRow.js +15 -0
- package/lib/esm/ui/Table/index.d.ts +3 -0
- package/lib/esm/ui/Table/index.js +8 -0
- package/lib/esm/ui/Table.d.ts +1 -0
- package/lib/esm/ui/Table.js +1 -0
- package/lib/esm/ui/Tooltip/Tooltip.d.ts +14 -0
- package/lib/esm/ui/Tooltip/Tooltip.js +65 -0
- package/lib/esm/ui/Tooltip/index.d.ts +2 -0
- package/lib/esm/ui/Tooltip/index.js +4 -0
- package/lib/esm/ui/Tooltip.d.ts +2 -0
- package/lib/esm/ui/Tooltip.js +2 -0
- package/package.json +97 -1
- package/assets/Accordion.scss +0 -123
- package/assets/Adornment.scss +0 -23
- package/assets/Alert.scss +0 -57
- package/assets/Avatar.scss +0 -111
- package/assets/AvatarGroup.scss +0 -48
- package/assets/BackDrop.scss +0 -39
- package/assets/Badge.scss +0 -97
- package/assets/Button.scss +0 -751
- package/assets/ButtonGroup.scss +0 -38
- package/assets/ButtonIcon.scss +0 -59
- package/assets/Card.scss +0 -14
- package/assets/Checkbox.scss +0 -313
- package/assets/Chip.scss +0 -327
- package/assets/DateField.scss +0 -3
- package/assets/DatePicker.scss +0 -73
- package/assets/Dropdown.scss +0 -43
- package/assets/FormControls.scss +0 -15
- package/assets/HelperText.scss +0 -12
- package/assets/Icon.scss +0 -31
- package/assets/Interval.scss +0 -35
- package/assets/Link.scss +0 -97
- package/assets/ListItem.scss +0 -77
- package/assets/Loader.scss +0 -57
- package/assets/Logo.scss +0 -29
- package/assets/Modal.scss +0 -103
- package/assets/Pagination.scss +0 -3
- package/assets/Paper.scss +0 -23
- package/assets/Period.scss +0 -9
- package/assets/Popper.scss +0 -3
- package/assets/Rating.scss +0 -27
- package/assets/Select.scss +0 -86
- package/assets/Skeleton.scss +0 -26
- package/assets/Slider.scss +0 -6
- package/assets/Stack.scss +0 -28
- package/assets/Status.scss +0 -69
- package/assets/StepItem.scss +0 -90
- package/assets/StepItemIcon.scss +0 -48
- package/assets/Stepper.scss +0 -31
- package/assets/Switch.scss +0 -68
- package/assets/Table.scss +0 -53
- package/assets/TextArea.scss +0 -23
- package/assets/TextField.scss +0 -206
- package/assets/Tooltip.scss +0 -18
- package/assets/classes.scss +0 -422
- package/assets/fonts.scss +0 -24
- package/assets/global.scss +0 -222
- package/assets/styles.min.css +0 -1
- package/assets/styles.min.css.map +0 -1
- package/assets/styles.scss +0 -47
- package/assets/variables.scss +0 -13
- package/index.js +0 -43
- package/lib/const/styles.js +0 -5
- package/lib/helpers/genericForwardRef.js +0 -8
- package/lib/helpers/getColorClasses.js +0 -15
- package/lib/helpers/getSizeClasses.js +0 -12
- package/lib/helpers/getVariantClasses.js +0 -12
- package/lib/helpers/helpers.d.ts +0 -21
- package/lib/helpers/helpers.js +0 -73
- package/lib/helpers/index.js +0 -6
- package/lib/helpers/insertChar.js +0 -11
- package/lib/hooks/useClickOutside.js +0 -21
- package/lib/hooks/useEnhancedEffect.js +0 -17
- package/lib/hooks/useEventCallback.js +0 -20
- package/lib/hooks/useLazyRef.js +0 -15
- package/lib/hooks/useTimeout.js +0 -42
- package/lib/services/DateService.js +0 -64
- package/types/theme.js +0 -3
- package/ui/Accordion/Accordion.classes.js +0 -35
- package/ui/Accordion/Accordion.js +0 -137
- package/ui/Accordion/AccordionHeading.js +0 -37
- package/ui/Accordion/index.js +0 -9
- package/ui/Adornment/Adornment.js +0 -46
- package/ui/Adornment/index.js +0 -8
- package/ui/Alert/Alert.js +0 -59
- package/ui/Alert/index.js +0 -8
- package/ui/Avatar/Avatar.d.ts +0 -24
- package/ui/Avatar/Avatar.js +0 -66
- package/ui/Avatar/index.js +0 -8
- package/ui/AvatarGroup/AvatarGroup.js +0 -32
- package/ui/AvatarGroup/index.js +0 -8
- package/ui/BackDrop/BackDrop.js +0 -27
- package/ui/BackDrop/BackDropBase.js +0 -39
- package/ui/BackDrop/index.js +0 -8
- package/ui/Badge/Badge.js +0 -33
- package/ui/Badge/index.js +0 -8
- package/ui/Button/Button.d.ts +0 -39
- package/ui/Button/Button.js +0 -62
- package/ui/Button/index.js +0 -8
- package/ui/ButtonGroup/ButtonGroup.js +0 -32
- package/ui/ButtonGroup/index.js +0 -8
- package/ui/ButtonIcon/ButtonIcon.d.ts +0 -25
- package/ui/ButtonIcon/ButtonIcon.js +0 -35
- package/ui/ButtonIcon/index.js +0 -8
- package/ui/Card/Card.d.ts +0 -4
- package/ui/Card/Card.js +0 -19
- package/ui/Card/index.js +0 -8
- package/ui/Chip/Chip.d.ts +0 -18
- package/ui/Chip/Chip.js +0 -74
- package/ui/Chip/index.js +0 -8
- package/ui/Dropdown/Dropdown.js +0 -62
- package/ui/Dropdown/index.js +0 -8
- package/ui/Form/Checkbox/Checkbox.js +0 -68
- package/ui/Form/Checkbox/const.js +0 -5
- package/ui/Form/Checkbox/index.js +0 -8
- package/ui/Form/DateField/DateField.js +0 -231
- package/ui/Form/DateField/index.js +0 -8
- package/ui/Form/DatePicker/DatePicker.js +0 -169
- package/ui/Form/DatePicker/index.js +0 -8
- package/ui/Form/DatePicker/styles.css +0 -803
- package/ui/Form/FormControls/FormControls.js +0 -50
- package/ui/Form/FormControls/const.js +0 -6
- package/ui/Form/FormControls/index.js +0 -8
- package/ui/Form/Interval/Interval.js +0 -118
- package/ui/Form/Interval/IntervalSlide.js +0 -55
- package/ui/Form/Interval/index.js +0 -9
- package/ui/Form/Password/Password.d.ts +0 -24
- package/ui/Form/Password/Password.js +0 -46
- package/ui/Form/Password/index.js +0 -8
- package/ui/Form/Period/Period.d.ts +0 -32
- package/ui/Form/Period/Period.js +0 -193
- package/ui/Form/Period/index.js +0 -8
- package/ui/Form/PeriodSelect/PeriodSelect.js +0 -28
- package/ui/Form/PeriodSelect/index.js +0 -8
- package/ui/Form/Radio/Radio.js +0 -19
- package/ui/Form/Radio/index.js +0 -8
- package/ui/Form/Rating/Rating.js +0 -74
- package/ui/Form/Rating/const.js +0 -8
- package/ui/Form/Rating/index.js +0 -8
- package/ui/Form/Select/Select.d.ts +0 -58
- package/ui/Form/Select/Select.js +0 -330
- package/ui/Form/Select/SelectOptionList.js +0 -38
- package/ui/Form/Select/SelectOptionsContainer.js +0 -20
- package/ui/Form/Select/SelectSummary.d.ts +0 -27
- package/ui/Form/Select/SelectSummary.js +0 -114
- package/ui/Form/Select/index.js +0 -11
- package/ui/Form/Switch/Switch.js +0 -27
- package/ui/Form/Switch/index.js +0 -8
- package/ui/Form/TextArea/TextArea.d.ts +0 -32
- package/ui/Form/TextArea/TextArea.js +0 -51
- package/ui/Form/TextArea/index.js +0 -8
- package/ui/Form/TextField/TextField.d.ts +0 -65
- package/ui/Form/TextField/TextField.js +0 -240
- package/ui/Form/TextField/index.js +0 -9
- package/ui/Form/TimeField/TimeField.d.ts +0 -28
- package/ui/Form/TimeField/TimeField.js +0 -20
- package/ui/Form/TimeField/index.js +0 -8
- package/ui/Form/TimePicker/TimePicker.js +0 -27
- package/ui/Form/TimePicker/index.js +0 -8
- package/ui/HelperText/HelperText.js +0 -28
- package/ui/HelperText/index.js +0 -8
- package/ui/Icon/Icon.js +0 -41
- package/ui/Icon/Mi.d.ts +0 -22
- package/ui/Icon/Mi.js +0 -31
- package/ui/Icon/Mis.d.ts +0 -2
- package/ui/Icon/Mis.js +0 -16
- package/ui/Icon/index.js +0 -11
- package/ui/Link/Link.d.ts +0 -16
- package/ui/Link/Link.js +0 -45
- package/ui/Link/index.js +0 -8
- package/ui/List/ListItem.js +0 -76
- package/ui/List/index.js +0 -8
- package/ui/Loader/Loader.js +0 -28
- package/ui/Loader/index.js +0 -8
- package/ui/Logo/Logo.js +0 -110
- package/ui/Logo/index.js +0 -8
- package/ui/Modal/BaseModal.js +0 -84
- package/ui/Modal/Modal.js +0 -110
- package/ui/Modal/const.js +0 -6
- package/ui/Modal/index.js +0 -8
- package/ui/Pagination/Pagination.js +0 -158
- package/ui/Pagination/index.js +0 -8
- package/ui/Paper/Paper.js +0 -29
- package/ui/Paper/index.js +0 -8
- package/ui/Popover/Popover.js +0 -37
- package/ui/Popover/index.js +0 -8
- package/ui/Popper/Popper.d.ts +0 -4
- package/ui/Popper/Popper.js +0 -21
- package/ui/Popper/PopperBase.d.ts +0 -14
- package/ui/Popper/PopperBase.js +0 -60
- package/ui/Popper/index.js +0 -9
- package/ui/Skeleton/Skeleton.js +0 -28
- package/ui/Skeleton/index.js +0 -8
- package/ui/Slider/RcSlider.js +0 -1
- package/ui/Slider/Slider.js +0 -40
- package/ui/Slider/index.js +0 -8
- package/ui/Slider/style.scss +0 -347
- package/ui/Stack/Stack.d.ts +0 -10
- package/ui/Stack/Stack.js +0 -62
- package/ui/Stack/index.js +0 -8
- package/ui/Status/Status.d.ts +0 -14
- package/ui/Status/Status.js +0 -39
- package/ui/Status/index.js +0 -8
- package/ui/Stepper/StepItem.js +0 -55
- package/ui/Stepper/StepItemIcon.js +0 -38
- package/ui/Stepper/Stepper.js +0 -49
- package/ui/Stepper/index.js +0 -8
- package/ui/Table/Table.js +0 -64
- package/ui/Table/TableBase.js +0 -21
- package/ui/Table/TableCell.js +0 -35
- package/ui/Table/TableRow.js +0 -24
- package/ui/Table/index.js +0 -10
- package/ui/Tooltip/Tooltip.js +0 -88
- package/ui/Tooltip/index.js +0 -8
- /package/{index.d.ts → lib/cjs/index.d.ts} +0 -0
- /package/lib/{const → cjs/lib/const}/styles.d.ts +0 -0
- /package/lib/{helpers → cjs/lib/helpers}/genericForwardRef.d.ts +0 -0
- /package/lib/{helpers → cjs/lib/helpers}/getColorClasses.d.ts +0 -0
- /package/lib/{helpers → cjs/lib/helpers}/getSizeClasses.d.ts +0 -0
- /package/lib/{helpers → cjs/lib/helpers}/getVariantClasses.d.ts +0 -0
- /package/lib/{helpers → cjs/lib/helpers}/index.d.ts +0 -0
- /package/lib/{helpers → cjs/lib/helpers}/insertChar.d.ts +0 -0
- /package/lib/{hooks → cjs/lib/hooks}/useClickOutside.d.ts +0 -0
- /package/lib/{hooks → cjs/lib/hooks}/useEnhancedEffect.d.ts +0 -0
- /package/lib/{hooks → cjs/lib/hooks}/useEventCallback.d.ts +0 -0
- /package/lib/{hooks → cjs/lib/hooks}/useLazyRef.d.ts +0 -0
- /package/lib/{hooks → cjs/lib/hooks}/useTimeout.d.ts +0 -0
- /package/lib/{services → cjs/lib/services}/DateService.d.ts +0 -0
- /package/{types → lib/cjs/types}/theme.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Accordion/Accordion.classes.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Accordion/Accordion.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Accordion/AccordionHeading.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Accordion/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Adornment/Adornment.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Adornment/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Alert/Alert.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Alert/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Avatar/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/AvatarGroup/AvatarGroup.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/AvatarGroup/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/BackDrop/BackDrop.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/BackDrop/BackDropBase.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/BackDrop/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Badge/Badge.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Badge/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Button/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/ButtonGroup/ButtonGroup.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/ButtonGroup/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/ButtonIcon/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Card/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Chip/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Dropdown/Dropdown.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Dropdown/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Checkbox/Checkbox.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Checkbox/const.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Checkbox/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/DateField/DateField.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/DateField/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/DatePicker/DatePicker.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/DatePicker/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/FormControls/FormControls.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/FormControls/const.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/FormControls/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Interval/Interval.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Interval/IntervalSlide.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Interval/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Password/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Period/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/PeriodSelect/PeriodSelect.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/PeriodSelect/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Radio/Radio.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Radio/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Rating/Rating.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Rating/const.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Rating/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Select/SelectOptionList.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Select/SelectOptionsContainer.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Select/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Switch/Switch.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/Switch/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/TextArea/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/TextField/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/TimeField/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/TimePicker/TimePicker.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Form/TimePicker/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/HelperText/HelperText.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/HelperText/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Icon/Icon.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Icon/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Link/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/List/ListItem.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/List/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Loader/Loader.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Loader/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Logo/Logo.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Logo/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Modal/BaseModal.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Modal/Modal.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Modal/const.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Modal/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Pagination/Pagination.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Pagination/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Paper/Paper.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Paper/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Popover/Popover.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Popover/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Popper/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Skeleton/Skeleton.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Skeleton/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Slider/RcSlider.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Slider/Slider.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Slider/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Stack/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Status/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Stepper/StepItem.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Stepper/StepItemIcon.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Stepper/Stepper.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Stepper/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Table/Table.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Table/TableBase.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Table/TableCell.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Table/TableRow.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Table/index.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Tooltip/Tooltip.d.ts +0 -0
- /package/{ui → lib/cjs/ui}/Tooltip/index.d.ts +0 -0
package/lib/hooks/useLazyRef.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
"use client";
|
|
3
|
-
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.default = useLazyRef;
|
|
6
|
-
var _react = require("react");
|
|
7
|
-
const UNINITIALIZED = {};
|
|
8
|
-
function useLazyRef(init, initArg) {
|
|
9
|
-
const ref = (0, _react.useRef)(UNINITIALIZED);
|
|
10
|
-
if (ref.current === UNINITIALIZED) {
|
|
11
|
-
ref.current = init(initArg);
|
|
12
|
-
}
|
|
13
|
-
return ref;
|
|
14
|
-
}
|
|
15
|
-
module.exports = exports.default;
|
package/lib/hooks/useTimeout.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
"use client";
|
|
3
|
-
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
exports.__esModule = true;
|
|
6
|
-
exports.Timeout = void 0;
|
|
7
|
-
exports.default = useTimeout;
|
|
8
|
-
var _useLazyRef = _interopRequireDefault(require("./useLazyRef"));
|
|
9
|
-
var _react = require("react");
|
|
10
|
-
class Timeout {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.currentId = 0;
|
|
13
|
-
this.clear = () => {
|
|
14
|
-
if (this.currentId !== 0) {
|
|
15
|
-
clearTimeout(this.currentId);
|
|
16
|
-
this.currentId = 0;
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
this.disposeEffect = () => {
|
|
20
|
-
return this.clear;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
static create() {
|
|
24
|
-
return new Timeout();
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Executes `fn` after `delay`, clearing any previously scheduled call.
|
|
28
|
-
*/
|
|
29
|
-
start(delay, fn) {
|
|
30
|
-
this.clear();
|
|
31
|
-
this.currentId = setTimeout(() => {
|
|
32
|
-
this.currentId = 0;
|
|
33
|
-
fn();
|
|
34
|
-
}, delay);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
exports.Timeout = Timeout;
|
|
38
|
-
function useTimeout() {
|
|
39
|
-
const timeout = (0, _useLazyRef.default)(Timeout.create).current;
|
|
40
|
-
(0, _react.useEffect)(timeout.disposeEffect, []);
|
|
41
|
-
return timeout;
|
|
42
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.default = exports.DateService = void 0;
|
|
5
|
-
exports.isDateBigger = isDateBigger;
|
|
6
|
-
exports.isDateEqual = isDateEqual;
|
|
7
|
-
class DateClass {
|
|
8
|
-
constructor(date) {
|
|
9
|
-
this.date = date;
|
|
10
|
-
}
|
|
11
|
-
format(form) {
|
|
12
|
-
let strDate = form;
|
|
13
|
-
if (strDate.includes('dd')) strDate = strDate.replace('dd', DateClass.getDisplayValue(this.date.getDate()));
|
|
14
|
-
if (strDate.includes('MM')) strDate = strDate.replace('MM', this.getStrMonth());
|
|
15
|
-
if (strDate.includes('yyyy')) strDate = strDate.replace('yyyy', String(this.date.getFullYear()));
|
|
16
|
-
if (strDate.includes('HH')) strDate = strDate.replace('HH', DateClass.getDisplayValue(this.date.getHours()));
|
|
17
|
-
if (strDate.includes('mm')) strDate = strDate.replace('mm', DateClass.getDisplayValue(this.date.getMinutes()));
|
|
18
|
-
return strDate;
|
|
19
|
-
}
|
|
20
|
-
static isValid(dateStr, format) {
|
|
21
|
-
return !!this.parseDate(dateStr, format);
|
|
22
|
-
}
|
|
23
|
-
static parseDate(dateStr, format) {
|
|
24
|
-
let match = dateStr.match(/(\d{2})[.-/](\d{2})[.-/](\d{4})/);
|
|
25
|
-
if (match && match[1] && match[2] && match[3]) {
|
|
26
|
-
if (new Date(`${match[3]}-${match[2]}-${match[1]}`).getTime() === new Date(`${match[3]}-${match[2]}-${match[1]}`).getTime()) {
|
|
27
|
-
let result = new Date(`${match[3]}-${match[2]}-${match[1]}`);
|
|
28
|
-
result.setHours(1, 0, 0, 0);
|
|
29
|
-
return result;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return null;
|
|
33
|
-
}
|
|
34
|
-
static toDate(dateStr) {
|
|
35
|
-
return this.parseDate(dateStr);
|
|
36
|
-
}
|
|
37
|
-
static getDisplayValue(value) {
|
|
38
|
-
return value < 10 ? '0' + String(value) : String(value);
|
|
39
|
-
}
|
|
40
|
-
getStrMonth() {
|
|
41
|
-
let m = this.date.getMonth() + 1;
|
|
42
|
-
return DateClass.getDisplayValue(m);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
function resetToDay(date) {
|
|
46
|
-
const newDate = new Date(date.getTime());
|
|
47
|
-
newDate.setHours(0, 0, 0, 0);
|
|
48
|
-
return newDate;
|
|
49
|
-
}
|
|
50
|
-
function isDateBigger(date1, date2) {
|
|
51
|
-
const onlyDate1 = resetToDay(date1);
|
|
52
|
-
const onlyDate2 = resetToDay(date2);
|
|
53
|
-
return onlyDate1.getTime() > onlyDate2.getTime();
|
|
54
|
-
}
|
|
55
|
-
function isDateEqual(date1, date2) {
|
|
56
|
-
const onlyDate1 = resetToDay(date1);
|
|
57
|
-
const onlyDate2 = resetToDay(date2);
|
|
58
|
-
return onlyDate1.getTime() === onlyDate2.getTime();
|
|
59
|
-
}
|
|
60
|
-
const DateService = date => {
|
|
61
|
-
return new DateClass(date);
|
|
62
|
-
};
|
|
63
|
-
exports.DateService = DateService;
|
|
64
|
-
var _default = exports.default = DateClass;
|
package/types/theme.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.default = void 0;
|
|
5
|
-
var _styles = require("../../lib/const/styles");
|
|
6
|
-
var _getSizeClasses = require("../../lib/helpers/getSizeClasses");
|
|
7
|
-
var _getColorClasses = require("../../lib/helpers/getColorClasses");
|
|
8
|
-
var _getVariantClasses = require("../../lib/helpers/getVariantClasses");
|
|
9
|
-
const BASE_CLASS_NAME = 'accordion';
|
|
10
|
-
const BASE_CLASSES = {
|
|
11
|
-
'accordion': BASE_CLASS_NAME,
|
|
12
|
-
'accordion_head': BASE_CLASS_NAME + '__head',
|
|
13
|
-
'accordion_body': BASE_CLASS_NAME + '__body',
|
|
14
|
-
'accordion_title': BASE_CLASS_NAME + '__title',
|
|
15
|
-
'accordion_content': BASE_CLASS_NAME + '__content',
|
|
16
|
-
'accordion_toggle': BASE_CLASS_NAME + '__toggle'
|
|
17
|
-
};
|
|
18
|
-
const variants = ['blockquote', 'alert', 'section', 'contained'];
|
|
19
|
-
const classes = {
|
|
20
|
-
...Object.entries(BASE_CLASSES).reduce((prev, current) => {
|
|
21
|
-
prev[current[0]] = _styles.CSS_PREFIX + current[1];
|
|
22
|
-
return prev;
|
|
23
|
-
}, {}),
|
|
24
|
-
...(0, _getSizeClasses.getSizeClasses)(BASE_CLASSES.accordion),
|
|
25
|
-
...(0, _getSizeClasses.getSizeClasses)(BASE_CLASSES.accordion_head),
|
|
26
|
-
...(0, _getColorClasses.getColorClasses)(BASE_CLASSES.accordion),
|
|
27
|
-
...(0, _getColorClasses.getColorClasses)(BASE_CLASSES.accordion_head),
|
|
28
|
-
...(0, _getColorClasses.getColorClasses)(BASE_CLASSES.accordion_body),
|
|
29
|
-
...(0, _getVariantClasses.getVariantClasses)(BASE_CLASSES.accordion, variants),
|
|
30
|
-
...(0, _getVariantClasses.getVariantClasses)(BASE_CLASSES.accordion_title, variants),
|
|
31
|
-
...(0, _getVariantClasses.getVariantClasses)(BASE_CLASSES.accordion_head, variants),
|
|
32
|
-
...(0, _getVariantClasses.getVariantClasses)(BASE_CLASSES.accordion_body, variants)
|
|
33
|
-
};
|
|
34
|
-
var _default = exports.default = classes;
|
|
35
|
-
module.exports = exports.default;
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
"use client";
|
|
3
|
-
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
exports.__esModule = true;
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = require("react");
|
|
8
|
-
var _clsx = _interopRequireDefault(require("clsx"));
|
|
9
|
-
var _Dropdown = _interopRequireDefault(require("../Dropdown"));
|
|
10
|
-
var _ButtonIcon = _interopRequireDefault(require("../ButtonIcon"));
|
|
11
|
-
var _Accordion = _interopRequireDefault(require("./Accordion.classes"));
|
|
12
|
-
var _Icon = require("../Icon");
|
|
13
|
-
var _AccordionHeading = require("./AccordionHeading");
|
|
14
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
-
const Accordion = props => {
|
|
16
|
-
let {
|
|
17
|
-
title,
|
|
18
|
-
children,
|
|
19
|
-
className,
|
|
20
|
-
classNames,
|
|
21
|
-
expanded,
|
|
22
|
-
defaultExpanded,
|
|
23
|
-
onChange,
|
|
24
|
-
triggerOnIcon,
|
|
25
|
-
transitionProps,
|
|
26
|
-
variant,
|
|
27
|
-
color,
|
|
28
|
-
size,
|
|
29
|
-
...divPops
|
|
30
|
-
} = props;
|
|
31
|
-
const [isExpanded, setIsExpanded] = (0, _react.useState)(!!defaultExpanded);
|
|
32
|
-
const openProp = expanded !== undefined ? expanded : isExpanded;
|
|
33
|
-
// const [contentHidden, setContentHidden] = useState(!(defaultExpanded === true || expanded === true))
|
|
34
|
-
const [toggled, setToggled] = (0, _react.useState)(defaultExpanded === true || expanded === true);
|
|
35
|
-
const handleExpand = () => {
|
|
36
|
-
if (expanded === undefined) setIsExpanded(prev => !prev);
|
|
37
|
-
if (onChange) onChange();
|
|
38
|
-
};
|
|
39
|
-
const handleHeadClick = () => {
|
|
40
|
-
if (!triggerOnIcon) handleExpand();
|
|
41
|
-
};
|
|
42
|
-
const handleIconClick = e => {
|
|
43
|
-
if (triggerOnIcon) {
|
|
44
|
-
e.stopPropagation();
|
|
45
|
-
handleExpand();
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
// const handleExit = () => {
|
|
50
|
-
// // if( !transitionProps?.unmountOnExit )
|
|
51
|
-
// // setContentHidden(true)
|
|
52
|
-
// onChange?.()
|
|
53
|
-
// // if( transitionProps?.onExited )
|
|
54
|
-
// // transitionProps.onExited()
|
|
55
|
-
// }
|
|
56
|
-
//
|
|
57
|
-
const handleEnter = () => {
|
|
58
|
-
setToggled(true);
|
|
59
|
-
// if( !transitionProps?.unmountOnExit )
|
|
60
|
-
// setContentHidden(false)
|
|
61
|
-
// if( transitionProps?.onEntered )
|
|
62
|
-
// transitionProps.onEntered()
|
|
63
|
-
};
|
|
64
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
65
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
66
|
-
...divPops,
|
|
67
|
-
className: (0, _clsx.default)(_Accordion.default.accordion, className, {
|
|
68
|
-
[_Accordion.default['accordion_' + size]]: !!size,
|
|
69
|
-
[_Accordion.default['accordion_' + variant]]: !!variant,
|
|
70
|
-
[_Accordion.default['accordion_' + color]]: !!color
|
|
71
|
-
}),
|
|
72
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_AccordionHeading.AccordionHeading, {
|
|
73
|
-
...props,
|
|
74
|
-
onClick: handleHeadClick,
|
|
75
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(AccordionIcon, {
|
|
76
|
-
open: openProp,
|
|
77
|
-
onClick: handleIconClick
|
|
78
|
-
}),
|
|
79
|
-
children: title
|
|
80
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
81
|
-
className: (0, _clsx.default)(classNames == null ? void 0 : classNames.AccordionBody, _Accordion.default.accordion__body, {
|
|
82
|
-
[_Accordion.default['accordion__body_' + variant]]: !!variant,
|
|
83
|
-
[_Accordion.default['accordion__body_' + color]]: !!color
|
|
84
|
-
}),
|
|
85
|
-
children: [!openProp && !toggled && (transitionProps == null ? void 0 : transitionProps.unmountOnExit) === false && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
86
|
-
style: {
|
|
87
|
-
display: 'none'
|
|
88
|
-
},
|
|
89
|
-
className: (0, _clsx.default)(classNames == null ? void 0 : classNames.AccordionContent, _Accordion.default.accordion_content),
|
|
90
|
-
children: children
|
|
91
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Dropdown.default, {
|
|
92
|
-
transitionProps: {
|
|
93
|
-
unmountOnExit: true,
|
|
94
|
-
...transitionProps,
|
|
95
|
-
// onExited: handleExit,
|
|
96
|
-
onEntering: handleEnter
|
|
97
|
-
// onExiting: () => setContentHidden(true),
|
|
98
|
-
},
|
|
99
|
-
expanded: openProp,
|
|
100
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
101
|
-
className: (0, _clsx.default)(classNames == null ? void 0 : classNames.AccordionContent, _Accordion.default.accordion_content),
|
|
102
|
-
children: children
|
|
103
|
-
})
|
|
104
|
-
})]
|
|
105
|
-
})]
|
|
106
|
-
})
|
|
107
|
-
});
|
|
108
|
-
};
|
|
109
|
-
const AccordionIcon = props => {
|
|
110
|
-
const {
|
|
111
|
-
onClick,
|
|
112
|
-
variant,
|
|
113
|
-
color,
|
|
114
|
-
open
|
|
115
|
-
} = props;
|
|
116
|
-
const iconCode = open ? 'expand_less' : 'expand_more';
|
|
117
|
-
let buttonColor = 'neutral';
|
|
118
|
-
let buttonTheme = 'light';
|
|
119
|
-
if (variant === 'contained') {
|
|
120
|
-
if (color === 'primary' || color === 'info' || color === 'error' || color === 'secondary') {
|
|
121
|
-
buttonColor = 'black';
|
|
122
|
-
buttonTheme = 'dark';
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ButtonIcon.default, {
|
|
126
|
-
onClick: onClick,
|
|
127
|
-
size: 'small',
|
|
128
|
-
color: buttonColor,
|
|
129
|
-
theme: buttonTheme,
|
|
130
|
-
variant: 'transparent',
|
|
131
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Mi, {
|
|
132
|
-
icon: iconCode
|
|
133
|
-
})
|
|
134
|
-
});
|
|
135
|
-
};
|
|
136
|
-
var _default = exports.default = Accordion;
|
|
137
|
-
module.exports = exports.default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.AccordionHeading = void 0;
|
|
6
|
-
var _clsx = _interopRequireDefault(require("clsx"));
|
|
7
|
-
var _Accordion = _interopRequireDefault(require("./Accordion.classes"));
|
|
8
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
const AccordionHeading = props => {
|
|
10
|
-
const {
|
|
11
|
-
icon,
|
|
12
|
-
classNames,
|
|
13
|
-
variant,
|
|
14
|
-
color,
|
|
15
|
-
size,
|
|
16
|
-
children,
|
|
17
|
-
onClick
|
|
18
|
-
} = props;
|
|
19
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
20
|
-
className: (0, _clsx.default)(_Accordion.default.accordion_head, classNames == null ? void 0 : classNames.AccordionHead, {
|
|
21
|
-
[_Accordion.default['accordion__head_' + variant]]: !!variant,
|
|
22
|
-
[_Accordion.default['accordion__head_' + color]]: !!color,
|
|
23
|
-
[_Accordion.default['accordion__head_' + size]]: !!size
|
|
24
|
-
}),
|
|
25
|
-
onClick: onClick,
|
|
26
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
27
|
-
className: (0, _clsx.default)(classNames == null ? void 0 : classNames.AccordionTitle, _Accordion.default.accordion_title, {
|
|
28
|
-
[_Accordion.default['accordion__title_' + variant]]: !!variant
|
|
29
|
-
}),
|
|
30
|
-
children: children
|
|
31
|
-
}), icon && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
32
|
-
className: (0, _clsx.default)(classNames == null ? void 0 : classNames.AccordionTitle, _Accordion.default.accordion_toggle),
|
|
33
|
-
children: icon
|
|
34
|
-
})]
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
exports.AccordionHeading = AccordionHeading;
|
package/ui/Accordion/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.default = exports.AccordionHeading = void 0;
|
|
6
|
-
var _Accordion = _interopRequireDefault(require("./Accordion"));
|
|
7
|
-
exports.default = _Accordion.default;
|
|
8
|
-
var _AccordionHeading = require("./AccordionHeading");
|
|
9
|
-
exports.AccordionHeading = _AccordionHeading.AccordionHeading;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.default = exports.AdornmentContainer = void 0;
|
|
6
|
-
var _react = require("react");
|
|
7
|
-
var _clsx = _interopRequireDefault(require("clsx"));
|
|
8
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
const Adornment = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
10
|
-
let {
|
|
11
|
-
children,
|
|
12
|
-
position = 'end',
|
|
13
|
-
className,
|
|
14
|
-
...spanProps
|
|
15
|
-
} = props;
|
|
16
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
17
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
18
|
-
...spanProps,
|
|
19
|
-
ref: ref,
|
|
20
|
-
className: (0, _clsx.default)(className, 'arm-adornment', {
|
|
21
|
-
'arm-adornment_start': position === 'start',
|
|
22
|
-
'arm-adornment_end': position !== 'start'
|
|
23
|
-
}),
|
|
24
|
-
children: children
|
|
25
|
-
})
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
const AdornmentContainer = props => {
|
|
29
|
-
let {
|
|
30
|
-
position = 'start',
|
|
31
|
-
className,
|
|
32
|
-
children,
|
|
33
|
-
...inputProps
|
|
34
|
-
} = props;
|
|
35
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
36
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
37
|
-
...inputProps,
|
|
38
|
-
className: (0, _clsx.default)('arm-adornment__container', {
|
|
39
|
-
'arm-adornment__container_end': position !== 'start'
|
|
40
|
-
}, className),
|
|
41
|
-
children: children
|
|
42
|
-
})
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
exports.AdornmentContainer = AdornmentContainer;
|
|
46
|
-
var _default = exports.default = Adornment;
|
package/ui/Adornment/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.default = exports.AdornmentContainer = void 0;
|
|
5
|
-
var _Adornment = _interopRequireWildcard(require("./Adornment"));
|
|
6
|
-
exports.default = _Adornment.default;
|
|
7
|
-
exports.AdornmentContainer = _Adornment.AdornmentContainer;
|
|
8
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
package/ui/Alert/Alert.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.default = void 0;
|
|
6
|
-
var _clsx = _interopRequireDefault(require("clsx"));
|
|
7
|
-
var _ButtonIcon = _interopRequireDefault(require("../ButtonIcon"));
|
|
8
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
const AlertClasses = ['alert', 'alert__title', 'alert__close', 'alert__icon', 'alert_success', 'alert_warning', 'alert_info', 'alert_error'];
|
|
10
|
-
|
|
11
|
-
// const css = getCssPrefix(AlertClasses)
|
|
12
|
-
|
|
13
|
-
const Alert = props => {
|
|
14
|
-
let {
|
|
15
|
-
title,
|
|
16
|
-
children,
|
|
17
|
-
color = 'info',
|
|
18
|
-
onClose,
|
|
19
|
-
variant,
|
|
20
|
-
className,
|
|
21
|
-
icon = 'info',
|
|
22
|
-
...restProps
|
|
23
|
-
} = props;
|
|
24
|
-
if (icon === undefined) {
|
|
25
|
-
if (color === 'error') icon = 'bolt';else if (color === 'warning') icon = 'warning';else if (color === 'success') icon = 'task_alt';
|
|
26
|
-
}
|
|
27
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
28
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
29
|
-
...restProps,
|
|
30
|
-
className: (0, _clsx.default)('arm-alert', {
|
|
31
|
-
['arm-alert_' + color]: !!color,
|
|
32
|
-
['arm-alert_' + variant]: !!variant,
|
|
33
|
-
'arm-alert_no_icon': icon === null
|
|
34
|
-
}, className),
|
|
35
|
-
children: [icon !== null && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
36
|
-
className: (0, _clsx.default)('arm-alert__icon', 'material_icon'),
|
|
37
|
-
children: icon
|
|
38
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
39
|
-
className: 'arm-alert__title',
|
|
40
|
-
children: props.title
|
|
41
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
42
|
-
className: 'arm-alert__body',
|
|
43
|
-
children: props.children
|
|
44
|
-
}), !!onClose && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ButtonIcon.default, {
|
|
45
|
-
onClick: onClose,
|
|
46
|
-
size: 'small',
|
|
47
|
-
color: 'neutral',
|
|
48
|
-
variant: 'transparent',
|
|
49
|
-
className: (0, _clsx.default)('arm-alert__close', 'material_icon'),
|
|
50
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
51
|
-
className: 'material_icon',
|
|
52
|
-
children: "close"
|
|
53
|
-
})
|
|
54
|
-
})]
|
|
55
|
-
})
|
|
56
|
-
});
|
|
57
|
-
};
|
|
58
|
-
var _default = exports.default = Alert;
|
|
59
|
-
module.exports = exports.default;
|
package/ui/Alert/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.default = void 0;
|
|
6
|
-
var _Alert = _interopRequireDefault(require("./Alert"));
|
|
7
|
-
exports.default = _Alert.default;
|
|
8
|
-
module.exports = exports.default;
|
package/ui/Avatar/Avatar.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, HTMLAttributes } from 'react';
|
|
2
|
-
import { ColorStatusType, SizeType } from '../../types/theme';
|
|
3
|
-
export type AvatarProps = {
|
|
4
|
-
photo?: string;
|
|
5
|
-
name?: string;
|
|
6
|
-
href?: string;
|
|
7
|
-
linkProps?: HTMLAttributes<HTMLAnchorElement>;
|
|
8
|
-
icon?: string;
|
|
9
|
-
size?: Exclude<SizeType, 'extraLarge'>;
|
|
10
|
-
status?: Exclude<ColorStatusType, 'info'>;
|
|
11
|
-
variant?: 'square' | 'rounded' | 'roundedXl';
|
|
12
|
-
} & ComponentPropsWithoutRef<'div'>;
|
|
13
|
-
export declare const getLetters: (name: string) => string;
|
|
14
|
-
declare const Avatar: import("react").ForwardRefExoticComponent<{
|
|
15
|
-
photo?: string;
|
|
16
|
-
name?: string;
|
|
17
|
-
href?: string;
|
|
18
|
-
linkProps?: HTMLAttributes<HTMLAnchorElement>;
|
|
19
|
-
icon?: string;
|
|
20
|
-
size?: Exclude<SizeType, "extraLarge">;
|
|
21
|
-
status?: Exclude<ColorStatusType, "info">;
|
|
22
|
-
variant?: "square" | "rounded" | "roundedXl";
|
|
23
|
-
} & Omit<import("react").DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
24
|
-
export default Avatar;
|
package/ui/Avatar/Avatar.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.getLetters = exports.default = void 0;
|
|
6
|
-
var _react = require("react");
|
|
7
|
-
var _clsx = _interopRequireDefault(require("clsx"));
|
|
8
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
const getLetters = name => {
|
|
10
|
-
let nameParts = name.split(' ');
|
|
11
|
-
return nameParts[0].split('')[0] + (nameParts[1] ? nameParts[1].split('')[0] : '');
|
|
12
|
-
};
|
|
13
|
-
exports.getLetters = getLetters;
|
|
14
|
-
const Avatar = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
15
|
-
const {
|
|
16
|
-
variant = 'roundedXl',
|
|
17
|
-
photo,
|
|
18
|
-
name,
|
|
19
|
-
href,
|
|
20
|
-
linkProps,
|
|
21
|
-
icon,
|
|
22
|
-
size,
|
|
23
|
-
status,
|
|
24
|
-
className,
|
|
25
|
-
...divProps
|
|
26
|
-
} = props;
|
|
27
|
-
let displayIcon = icon;
|
|
28
|
-
if (!props.icon && !props.name && !photo) displayIcon = 'person';
|
|
29
|
-
let content = photo ? /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
30
|
-
src: photo,
|
|
31
|
-
className: 'arm-avatar__img',
|
|
32
|
-
alt: props.name,
|
|
33
|
-
title: props.name
|
|
34
|
-
}) : props.name ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
35
|
-
className: 'arm-avatar__name',
|
|
36
|
-
children: getLetters(props.name)
|
|
37
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
38
|
-
className: (0, _clsx.default)('arm-avatar__icon', 'material_icon_solid'),
|
|
39
|
-
children: displayIcon
|
|
40
|
-
});
|
|
41
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
42
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
43
|
-
ref: ref,
|
|
44
|
-
...divProps,
|
|
45
|
-
className: (0, _clsx.default)('arm-avatar', className, 'arm-avatar_' + variant, {
|
|
46
|
-
['arm-avatar__photo']: !!photo,
|
|
47
|
-
['arm-avatar__icon']: !!displayIcon
|
|
48
|
-
}, ['arm-avatar_' + size]),
|
|
49
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
50
|
-
className: 'arm-avatar__inner',
|
|
51
|
-
children: href ? /*#__PURE__*/(0, _jsxRuntime.jsx)("a", {
|
|
52
|
-
href: href,
|
|
53
|
-
...linkProps,
|
|
54
|
-
className: 'arm-avatar__text',
|
|
55
|
-
children: content
|
|
56
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
57
|
-
className: 'arm-avatar__text',
|
|
58
|
-
children: content
|
|
59
|
-
})
|
|
60
|
-
}), status && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
61
|
-
className: (0, _clsx.default)('arm-avatar__status', ['arm-avatar__status_' + status])
|
|
62
|
-
})]
|
|
63
|
-
})
|
|
64
|
-
});
|
|
65
|
-
});
|
|
66
|
-
var _default = exports.default = Avatar;
|
package/ui/Avatar/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.default = void 0;
|
|
6
|
-
var _Avatar = _interopRequireDefault(require("./Avatar"));
|
|
7
|
-
exports.default = _Avatar.default;
|
|
8
|
-
module.exports = exports.default;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.default = void 0;
|
|
6
|
-
var _react = require("react");
|
|
7
|
-
var _clsx = _interopRequireDefault(require("clsx"));
|
|
8
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
const AvatarGroup = props => {
|
|
10
|
-
let arrChildren = _react.Children.toArray(props.children);
|
|
11
|
-
let visiblePart = arrChildren.slice(0, props.limit || 3);
|
|
12
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
13
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
14
|
-
className: (0, _clsx.default)('arm-avatar-group', ['arm-avatar-group_' + props.size]),
|
|
15
|
-
children: [visiblePart.length < arrChildren.length && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
16
|
-
className: (0, _clsx.default)('arm-avatar-group__item', 'arm-avatar-group__remains', ['arm-avatar-group__remains_' + props.size]),
|
|
17
|
-
children: ["+", arrChildren.length - visiblePart.length]
|
|
18
|
-
}), visiblePart.map((item, index) => {
|
|
19
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
20
|
-
className: 'arm-avatar-group__item',
|
|
21
|
-
children: /*#__PURE__*/(0, _react.isValidElement)(item) && /*#__PURE__*/(0, _react.cloneElement)(item, {
|
|
22
|
-
...item.props,
|
|
23
|
-
size: props.size,
|
|
24
|
-
key: index
|
|
25
|
-
})
|
|
26
|
-
}, index);
|
|
27
|
-
})]
|
|
28
|
-
})
|
|
29
|
-
});
|
|
30
|
-
};
|
|
31
|
-
var _default = exports.default = AvatarGroup;
|
|
32
|
-
module.exports = exports.default;
|
package/ui/AvatarGroup/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.default = void 0;
|
|
6
|
-
var _AvatarGroup = _interopRequireDefault(require("./AvatarGroup"));
|
|
7
|
-
exports.default = _AvatarGroup.default;
|
|
8
|
-
module.exports = exports.default;
|
package/ui/BackDrop/BackDrop.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.default = void 0;
|
|
5
|
-
var _helpers = require("../../lib/helpers");
|
|
6
|
-
var _react = require("react");
|
|
7
|
-
var _reactDom = require("react-dom");
|
|
8
|
-
var _BackDropBase = require("./BackDropBase");
|
|
9
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
const BackDrop = (props, ref) => {
|
|
11
|
-
const {
|
|
12
|
-
children,
|
|
13
|
-
...backDropProps
|
|
14
|
-
} = props;
|
|
15
|
-
const childrenProp = /*#__PURE__*/(0, _react.isValidElement)(children) ? children : /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
16
|
-
children: children
|
|
17
|
-
});
|
|
18
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
19
|
-
children: /*#__PURE__*/(0, _reactDom.createPortal)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_BackDropBase.BackDropBase, {
|
|
20
|
-
...backDropProps,
|
|
21
|
-
ref: ref,
|
|
22
|
-
children: childrenProp
|
|
23
|
-
}), document.body)
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
var _default = exports.default = (0, _helpers.fixedForwardRef)(BackDrop);
|
|
27
|
-
module.exports = exports.default;
|