@moosend/mooskin 1.1.4 → 1.2.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ActionsDropdown/ActionsDropdown.d.ts +2 -2
- package/lib/ActionsDropdown/model.d.ts +2 -2
- package/lib/ActionsDropdown/styles.d.ts +2 -2
- package/lib/Alert/Alert.d.ts +1 -1
- package/lib/Alert/model.d.ts +1 -1
- package/lib/Alert/styles.d.ts +1 -1
- package/lib/Anchor/Anchor.d.ts +1 -1
- package/lib/Anchor/model.d.ts +1 -1
- package/lib/Anchor/styles.d.ts +1 -1
- package/lib/Box/Box.d.ts +1 -1
- package/lib/Box/model.d.ts +6 -1
- package/lib/Box/styles.d.ts +2 -2
- package/lib/Button/Button.d.ts +2 -2
- package/lib/Button/model.d.ts +3 -1
- package/lib/Button/styles.d.ts +1 -1
- package/lib/Carousel/Carousel.d.ts +2 -2
- package/lib/Carousel/styles.d.ts +1 -1
- package/lib/Checkbox/Checkbox.d.ts +3 -3
- package/lib/Checkbox/model.d.ts +2 -2
- package/lib/Checkbox/styles.d.ts +2 -2
- package/lib/DatePicker/DatePicker.d.ts +1 -1
- package/lib/DatePicker/model.d.ts +10 -10
- package/lib/DateRange/DateRange.d.ts +1 -1
- package/lib/DateRange/model.d.ts +3 -3
- package/lib/DateRange/styles.d.ts +1 -1
- package/lib/DateSelect/DateSelect.d.ts +1 -1
- package/lib/DateSelect/model.d.ts +1 -1
- package/lib/DateTimePicker/DateTimePicker.d.ts +1 -1
- package/lib/DateTimePicker/model.d.ts +9 -5
- package/lib/Description/Description.d.ts +1 -1
- package/lib/Description/styles.d.ts +1 -1
- package/lib/Drawer/Drawer.d.ts +2 -2
- package/lib/Drawer/model.d.ts +1 -1
- package/lib/Drawer/styles.d.ts +3 -3
- package/lib/Expandable/Expandable.d.ts +2 -2
- package/lib/Expandable/model.d.ts +1 -1
- package/lib/Expandable/styles.d.ts +2 -2
- package/lib/Footer/Footer.d.ts +1 -1
- package/lib/Footer/styles.d.ts +1 -1
- package/lib/Grid/Grid.d.ts +1 -1
- package/lib/Grid/model.d.ts +1 -1
- package/lib/Grid/styles.d.ts +1 -1
- package/lib/IconButton/IconButton.d.ts +1 -1
- package/lib/IconButton/model.d.ts +1 -1
- package/lib/IconButton/styles.d.ts +1 -1
- package/lib/Image/Image.d.ts +1 -1
- package/lib/Input/Input.d.ts +2 -2
- package/lib/Input/model.d.ts +2 -2
- package/lib/Input/styles.d.ts +2 -2
- package/lib/Label/Label.d.ts +1 -1
- package/lib/Label/model.d.ts +1 -1
- package/lib/Label/styles.d.ts +1 -1
- package/lib/Layout/Layout.d.ts +1 -1
- package/lib/Layout/model.d.ts +1 -1
- package/lib/Layout/styles.d.ts +1 -1
- package/lib/List/List.d.ts +2 -2
- package/lib/List/styles.d.ts +1 -1
- package/lib/Loader/Loader.d.ts +1 -1
- package/lib/Loader/model.d.ts +1 -1
- package/lib/Loader/styles.d.ts +1 -1
- package/lib/LoadingBar/LoadingBar.d.ts +1 -1
- package/lib/LoadingBar/model.d.ts +1 -1
- package/lib/LoadingBar/styles.d.ts +1 -1
- package/lib/Modal/Modal.d.ts +2 -2
- package/lib/Modal/model.d.ts +1 -1
- package/lib/Modal/styles.d.ts +2 -2
- package/lib/NumberLabel/NumberLabel.d.ts +1 -1
- package/lib/NumberLabel/model.d.ts +1 -1
- package/lib/Pagination/Pagination.d.ts +1 -1
- package/lib/Pagination/model.d.ts +1 -1
- package/lib/Pagination/styles.d.ts +2 -2
- package/lib/Radio/Radio.d.ts +3 -3
- package/lib/Radio/model.d.ts +2 -2
- package/lib/Radio/styles.d.ts +1 -1
- package/lib/Select/Select.d.ts +2 -2
- package/lib/Select/model.d.ts +5 -2
- package/lib/Select/styles.d.ts +2 -2
- package/lib/Selector/Selector.d.ts +1 -1
- package/lib/Selector/model.d.ts +1 -1
- package/lib/Selector/styles.d.ts +1 -1
- package/lib/Sidemenu/Sidemenu.d.ts +1 -1
- package/lib/Sidemenu/model.d.ts +1 -1
- package/lib/Sidemenu/styles.d.ts +1 -1
- package/lib/Skeleton/Skeleton.d.ts +1 -1
- package/lib/Skeleton/model.d.ts +1 -1
- package/lib/Skeleton/styles.d.ts +1 -1
- package/lib/Slider/Slider.d.ts +1 -1
- package/lib/Slider/{Model.d.ts → model.d.ts} +2 -2
- package/lib/Slider/styles.d.ts +1 -1
- package/lib/Stack/Stack.d.ts +1 -1
- package/lib/Stack/model.d.ts +1 -1
- package/lib/Stack/styles.d.ts +1 -1
- package/lib/Steps/Steps.d.ts +1 -1
- package/lib/Steps/model.d.ts +1 -1
- package/lib/Steps/styles.d.ts +1 -1
- package/lib/Styled/MooskinContextProvider.d.ts +1 -1
- package/lib/Styled/model.d.ts +2 -2
- package/lib/Switch/Switch.d.ts +1 -1
- package/lib/Switch/model.d.ts +2 -2
- package/lib/Switch/styles.d.ts +1 -1
- package/lib/Table/Table.d.ts +1 -1
- package/lib/Table/styles.d.ts +1 -1
- package/lib/Tabs/Tabs.d.ts +1 -1
- package/lib/Tabs/model.d.ts +1 -1
- package/lib/Tabs/styles.d.ts +1 -1
- package/lib/Tags/Tags.d.ts +2 -2
- package/lib/Tags/model.d.ts +2 -2
- package/lib/Tags/styles.d.ts +2 -2
- package/lib/Text/Text.d.ts +1 -1
- package/lib/Text/model.d.ts +1 -1
- package/lib/Text/styles.d.ts +1 -1
- package/lib/TextArea/TextArea.d.ts +1 -1
- package/lib/TextArea/model.d.ts +1 -1
- package/lib/TextEditor/TextEditor.d.ts +1 -1
- package/lib/TextEditor/model.d.ts +5 -1
- package/lib/_utils/globals/variables.d.ts +1 -1
- package/lib/_utils/helper.d.ts +1 -1
- package/lib/_utils/index.d.ts +1 -3
- package/lib/_utils/test-setup.d.ts +1 -0
- package/lib/components/ActionsDropdown/ActionsDropdown.d.ts +2 -2
- package/lib/components/ActionsDropdown/ActionsDropdown.js +82 -0
- package/lib/components/ActionsDropdown/ActionsDropdown.js.map +1 -0
- package/lib/components/ActionsDropdown/ActionsDropdown.spec.js +35 -0
- package/lib/components/ActionsDropdown/ActionsDropdown.spec.js.map +1 -0
- package/lib/components/ActionsDropdown/model.d.ts +2 -2
- package/lib/components/ActionsDropdown/model.js +2 -0
- package/lib/components/ActionsDropdown/model.js.map +1 -0
- package/lib/components/ActionsDropdown/styles.d.ts +2 -2
- package/lib/components/ActionsDropdown/styles.js +94 -0
- package/lib/components/ActionsDropdown/styles.js.map +1 -0
- package/lib/components/Alert/Alert.d.ts +1 -1
- package/lib/components/Alert/Alert.js +105 -0
- package/lib/components/Alert/Alert.js.map +1 -0
- package/lib/components/Alert/Alert.spec.js +39 -0
- package/lib/components/Alert/Alert.spec.js.map +1 -0
- package/lib/components/Alert/model.d.ts +1 -1
- package/lib/components/Alert/model.js +2 -0
- package/lib/components/Alert/model.js.map +1 -0
- package/lib/components/Alert/styles.d.ts +1 -1
- package/lib/components/Alert/styles.js +126 -0
- package/lib/components/Alert/styles.js.map +1 -0
- package/lib/components/Anchor/Anchor.d.ts +1 -1
- package/lib/components/Anchor/Anchor.js +27 -0
- package/lib/components/Anchor/Anchor.js.map +1 -0
- package/lib/components/Anchor/Anchor.spec.d.ts +1 -0
- package/lib/components/Anchor/Anchor.spec.js +31 -0
- package/lib/components/Anchor/Anchor.spec.js.map +1 -0
- package/lib/components/Anchor/model.d.ts +1 -1
- package/lib/components/Anchor/model.js +2 -0
- package/lib/components/Anchor/model.js.map +1 -0
- package/lib/components/Anchor/styles.d.ts +1 -1
- package/lib/components/Anchor/styles.js +18 -0
- package/lib/components/Anchor/styles.js.map +1 -0
- package/lib/components/Box/Box.d.ts +1 -1
- package/lib/components/Box/Box.js +51 -0
- package/lib/components/Box/Box.js.map +1 -0
- package/lib/components/Box/Box.spec.d.ts +1 -0
- package/lib/components/Box/Box.spec.js +10 -0
- package/lib/components/Box/Box.spec.js.map +1 -0
- package/lib/components/Box/model.d.ts +6 -1
- package/lib/components/Box/model.js +103 -0
- package/lib/components/Box/model.js.map +1 -0
- package/lib/components/Box/resources.js +311 -0
- package/lib/components/Box/resources.js.map +1 -0
- package/lib/components/Box/styles.d.ts +3 -3
- package/lib/components/Box/styles.js +290 -0
- package/lib/components/Box/styles.js.map +1 -0
- package/lib/components/Button/Button.d.ts +2 -2
- package/lib/components/Button/Button.js +72 -0
- package/lib/components/Button/Button.js.map +1 -0
- package/lib/components/Button/Button.spec.d.ts +1 -0
- package/lib/components/Button/Button.spec.js +29 -0
- package/lib/components/Button/Button.spec.js.map +1 -0
- package/lib/components/Button/model.d.ts +3 -1
- package/lib/components/Button/model.js +2 -0
- package/lib/components/Button/model.js.map +1 -0
- package/lib/components/Button/styles.d.ts +1 -1
- package/lib/components/Button/styles.js +84 -0
- package/lib/components/Button/styles.js.map +1 -0
- package/lib/components/Carousel/Carousel.d.ts +2 -2
- package/lib/components/Carousel/Carousel.js +30 -0
- package/lib/components/Carousel/Carousel.js.map +1 -0
- package/lib/components/Carousel/Carousel.spec.d.ts +1 -0
- package/lib/components/Carousel/Carousel.spec.js +12 -0
- package/lib/components/Carousel/Carousel.spec.js.map +1 -0
- package/lib/components/Carousel/model.js +2 -0
- package/lib/components/Carousel/model.js.map +1 -0
- package/lib/components/Carousel/styles.d.ts +1 -1
- package/lib/components/Carousel/styles.js +18 -0
- package/lib/components/Carousel/styles.js.map +1 -0
- package/lib/components/Checkbox/Checkbox.d.ts +3 -3
- package/lib/components/Checkbox/Checkbox.js +83 -0
- package/lib/components/Checkbox/Checkbox.js.map +1 -0
- package/lib/components/Checkbox/Checkbox.spec.d.ts +1 -0
- package/lib/components/Checkbox/Checkbox.spec.js +29 -0
- package/lib/components/Checkbox/Checkbox.spec.js.map +1 -0
- package/lib/components/Checkbox/model.d.ts +2 -2
- package/lib/components/Checkbox/model.js +2 -0
- package/lib/components/Checkbox/model.js.map +1 -0
- package/lib/components/Checkbox/styles.d.ts +2 -2
- package/lib/components/Checkbox/styles.js +35 -0
- package/lib/components/Checkbox/styles.js.map +1 -0
- package/lib/components/DatePicker/DatePicker.d.ts +1 -1
- package/lib/components/DatePicker/DatePicker.js +45 -0
- package/lib/components/DatePicker/DatePicker.js.map +1 -0
- package/lib/components/DatePicker/DatePicker.spec.d.ts +1 -0
- package/lib/components/DatePicker/DatePicker.spec.js +11 -0
- package/lib/components/DatePicker/DatePicker.spec.js.map +1 -0
- package/lib/components/DatePicker/model.d.ts +10 -10
- package/lib/components/DatePicker/model.js +2 -0
- package/lib/components/DatePicker/model.js.map +1 -0
- package/lib/components/DateRange/DateRange.d.ts +1 -1
- package/lib/components/DateRange/DateRange.js +51 -0
- package/lib/components/DateRange/DateRange.js.map +1 -0
- package/lib/components/DateRange/DateRange.spec.d.ts +1 -0
- package/lib/components/DateRange/DateRange.spec.js +18 -0
- package/lib/components/DateRange/DateRange.spec.js.map +1 -0
- package/lib/components/DateRange/model.d.ts +3 -3
- package/lib/components/DateRange/model.js +2 -0
- package/lib/components/DateRange/model.js.map +1 -0
- package/lib/components/DateRange/styles.d.ts +1 -1
- package/lib/components/DateRange/styles.js +58 -0
- package/lib/components/DateRange/styles.js.map +1 -0
- package/lib/components/DateSelect/DateSelect.d.ts +1 -1
- package/lib/components/DateSelect/DateSelect.js +153 -0
- package/lib/components/DateSelect/DateSelect.js.map +1 -0
- package/lib/components/DateSelect/DateSelect.spec.d.ts +1 -0
- package/lib/components/DateSelect/DateSelect.spec.js +78 -0
- package/lib/components/DateSelect/DateSelect.spec.js.map +1 -0
- package/lib/components/DateSelect/model.d.ts +1 -1
- package/lib/components/DateSelect/model.js +2 -0
- package/lib/components/DateSelect/model.js.map +1 -0
- package/lib/components/DateTimePicker/DateTimePicker.d.ts +1 -1
- package/lib/components/DateTimePicker/DateTimePicker.js +45 -0
- package/lib/components/DateTimePicker/DateTimePicker.js.map +1 -0
- package/lib/components/DateTimePicker/DateTimePicker.spec.d.ts +1 -0
- package/lib/components/DateTimePicker/DateTimePicker.spec.js +11 -0
- package/lib/components/DateTimePicker/DateTimePicker.spec.js.map +1 -0
- package/lib/components/DateTimePicker/model.d.ts +9 -5
- package/lib/components/DateTimePicker/model.js +2 -0
- package/lib/components/DateTimePicker/model.js.map +1 -0
- package/lib/components/Description/Description.d.ts +1 -1
- package/lib/components/Description/Description.js +22 -0
- package/lib/components/Description/Description.js.map +1 -0
- package/lib/components/Description/Description.spec.d.ts +1 -0
- package/lib/components/Description/Description.spec.js +10 -0
- package/lib/components/Description/Description.spec.js.map +1 -0
- package/lib/components/Description/styles.d.ts +1 -1
- package/lib/components/Description/styles.js +11 -0
- package/lib/components/Description/styles.js.map +1 -0
- package/lib/components/Drawer/Drawer.d.ts +2 -2
- package/lib/components/Drawer/Drawer.js +146 -0
- package/lib/components/Drawer/Drawer.js.map +1 -0
- package/lib/components/Drawer/Drawer.spec.d.ts +1 -0
- package/lib/components/Drawer/Drawer.spec.js +34 -0
- package/lib/components/Drawer/Drawer.spec.js.map +1 -0
- package/lib/components/Drawer/model.d.ts +1 -1
- package/lib/components/Drawer/model.js +2 -0
- package/lib/components/Drawer/model.js.map +1 -0
- package/lib/components/Drawer/styles.d.ts +3 -3
- package/lib/components/Drawer/styles.js +202 -0
- package/lib/components/Drawer/styles.js.map +1 -0
- package/lib/components/Expandable/Expandable.d.ts +2 -2
- package/lib/components/Expandable/Expandable.js +117 -0
- package/lib/components/Expandable/Expandable.js.map +1 -0
- package/lib/components/Expandable/Expandable.spec.d.ts +1 -0
- package/lib/components/Expandable/Expandable.spec.js +67 -0
- package/lib/components/Expandable/Expandable.spec.js.map +1 -0
- package/lib/components/Expandable/model.d.ts +1 -1
- package/lib/components/Expandable/model.js +2 -0
- package/lib/components/Expandable/model.js.map +1 -0
- package/lib/components/Expandable/styles.d.ts +2 -2
- package/lib/components/Expandable/styles.js +45 -0
- package/lib/components/Expandable/styles.js.map +1 -0
- package/lib/components/Footer/Footer.d.ts +1 -1
- package/lib/components/Footer/Footer.js +37 -0
- package/lib/components/Footer/Footer.js.map +1 -0
- package/lib/components/Footer/Footer.spec.d.ts +1 -0
- package/lib/components/Footer/Footer.spec.js +21 -0
- package/lib/components/Footer/Footer.spec.js.map +1 -0
- package/lib/components/Footer/styles.d.ts +1 -1
- package/lib/components/Footer/styles.js +34 -0
- package/lib/components/Footer/styles.js.map +1 -0
- package/lib/components/Grid/Grid.d.ts +1 -1
- package/lib/components/Grid/Grid.js +30 -0
- package/lib/components/Grid/Grid.js.map +1 -0
- package/lib/components/Grid/Grid.spec.d.ts +1 -0
- package/lib/components/Grid/Grid.spec.js +51 -0
- package/lib/components/Grid/Grid.spec.js.map +1 -0
- package/lib/components/Grid/model.d.ts +1 -1
- package/lib/components/Grid/model.js +2 -0
- package/lib/components/Grid/model.js.map +1 -0
- package/lib/components/Grid/styles.d.ts +1 -1
- package/lib/components/Grid/styles.js +76 -0
- package/lib/components/Grid/styles.js.map +1 -0
- package/lib/components/IconButton/IconButton.d.ts +1 -1
- package/lib/components/IconButton/IconButton.js +26 -0
- package/lib/components/IconButton/IconButton.js.map +1 -0
- package/lib/components/IconButton/IconButton.spec.d.ts +1 -0
- package/lib/components/IconButton/IconButton.spec.js +23 -0
- package/lib/components/IconButton/IconButton.spec.js.map +1 -0
- package/lib/components/IconButton/model.d.ts +1 -1
- package/lib/components/IconButton/model.js +2 -0
- package/lib/components/IconButton/model.js.map +1 -0
- package/lib/components/IconButton/styles.d.ts +1 -1
- package/lib/components/IconButton/styles.js +14 -0
- package/lib/components/IconButton/styles.js.map +1 -0
- package/lib/components/Image/Image.d.ts +1 -1
- package/lib/components/Image/Image.js +20 -0
- package/lib/components/Image/Image.js.map +1 -0
- package/lib/components/Image/Image.spec.d.ts +1 -0
- package/lib/components/Image/Image.spec.js +10 -0
- package/lib/components/Image/Image.spec.js.map +1 -0
- package/lib/components/Image/styles.js +7 -0
- package/lib/components/Image/styles.js.map +1 -0
- package/lib/components/Input/Input.d.ts +2 -2
- package/lib/components/Input/Input.js +141 -0
- package/lib/components/Input/Input.js.map +1 -0
- package/lib/components/Input/Input.spec.d.ts +1 -0
- package/lib/components/Input/Input.spec.js +80 -0
- package/lib/components/Input/Input.spec.js.map +1 -0
- package/lib/components/Input/model.d.ts +2 -2
- package/lib/components/Input/model.js +2 -0
- package/lib/components/Input/model.js.map +1 -0
- package/lib/components/Input/styles.d.ts +2 -2
- package/lib/components/Input/styles.js +99 -0
- package/lib/components/Input/styles.js.map +1 -0
- package/lib/components/Label/Label.d.ts +1 -1
- package/lib/components/Label/Label.js +31 -0
- package/lib/components/Label/Label.js.map +1 -0
- package/lib/components/Label/Label.spec.d.ts +1 -0
- package/lib/components/Label/Label.spec.js +10 -0
- package/lib/components/Label/Label.spec.js.map +1 -0
- package/lib/components/Label/model.d.ts +1 -1
- package/lib/components/Label/model.js +2 -0
- package/lib/components/Label/model.js.map +1 -0
- package/lib/components/Label/styles.d.ts +1 -1
- package/lib/components/Label/styles.js +12 -0
- package/lib/components/Label/styles.js.map +1 -0
- package/lib/components/Layout/Layout.d.ts +1 -1
- package/lib/components/Layout/Layout.js +20 -0
- package/lib/components/Layout/Layout.js.map +1 -0
- package/lib/components/Layout/Layout.spec.d.ts +1 -0
- package/lib/components/Layout/Layout.spec.js +19 -0
- package/lib/components/Layout/Layout.spec.js.map +1 -0
- package/lib/components/Layout/model.d.ts +1 -1
- package/lib/components/Layout/model.js +2 -0
- package/lib/components/Layout/model.js.map +1 -0
- package/lib/components/Layout/styles.d.ts +1 -1
- package/lib/components/Layout/styles.js +10 -0
- package/lib/components/Layout/styles.js.map +1 -0
- package/lib/components/List/List.d.ts +2 -2
- package/lib/components/List/List.js +43 -0
- package/lib/components/List/List.js.map +1 -0
- package/lib/components/List/List.spec.d.ts +1 -0
- package/lib/components/List/List.spec.js +48 -0
- package/lib/components/List/List.spec.js.map +1 -0
- package/lib/components/List/styles.d.ts +1 -1
- package/lib/components/List/styles.js +28 -0
- package/lib/components/List/styles.js.map +1 -0
- package/lib/components/Loader/Loader.d.ts +1 -1
- package/lib/components/Loader/Loader.js +23 -0
- package/lib/components/Loader/Loader.js.map +1 -0
- package/lib/components/Loader/Loader.spec.d.ts +1 -0
- package/lib/components/Loader/Loader.spec.js +10 -0
- package/lib/components/Loader/Loader.spec.js.map +1 -0
- package/lib/components/Loader/model.d.ts +1 -1
- package/lib/components/Loader/model.js +2 -0
- package/lib/components/Loader/model.js.map +1 -0
- package/lib/components/Loader/styles.d.ts +1 -1
- package/lib/components/Loader/styles.js +24 -0
- package/lib/components/Loader/styles.js.map +1 -0
- package/lib/components/LoadingBar/LoadingBar.d.ts +1 -1
- package/lib/components/LoadingBar/LoadingBar.js +47 -0
- package/lib/components/LoadingBar/LoadingBar.js.map +1 -0
- package/lib/components/LoadingBar/LoadingBar.spec.d.ts +1 -0
- package/lib/components/LoadingBar/LoadingBar.spec.js +24 -0
- package/lib/components/LoadingBar/LoadingBar.spec.js.map +1 -0
- package/lib/components/LoadingBar/model.d.ts +1 -1
- package/lib/components/LoadingBar/model.js +2 -0
- package/lib/components/LoadingBar/model.js.map +1 -0
- package/lib/components/LoadingBar/styles.d.ts +1 -1
- package/lib/components/LoadingBar/styles.js +22 -0
- package/lib/components/LoadingBar/styles.js.map +1 -0
- package/lib/components/Modal/Modal.d.ts +2 -2
- package/lib/components/Modal/Modal.js +120 -0
- package/lib/components/Modal/Modal.js.map +1 -0
- package/lib/components/Modal/Modal.spec.d.ts +1 -0
- package/lib/components/Modal/Modal.spec.js +34 -0
- package/lib/components/Modal/Modal.spec.js.map +1 -0
- package/lib/components/Modal/model.d.ts +1 -1
- package/lib/components/Modal/model.js +2 -0
- package/lib/components/Modal/model.js.map +1 -0
- package/lib/components/Modal/styles.d.ts +2 -2
- package/lib/components/Modal/styles.js +121 -0
- package/lib/components/Modal/styles.js.map +1 -0
- package/lib/components/NumberLabel/NumberLabel.d.ts +1 -1
- package/lib/components/NumberLabel/NumberLabel.js +182 -0
- package/lib/components/NumberLabel/NumberLabel.js.map +1 -0
- package/lib/components/NumberLabel/NumberLabel.spec.d.ts +1 -0
- package/lib/components/NumberLabel/NumberLabel.spec.js +94 -0
- package/lib/components/NumberLabel/NumberLabel.spec.js.map +1 -0
- package/lib/components/NumberLabel/model.d.ts +1 -1
- package/lib/components/NumberLabel/model.js +2 -0
- package/lib/components/NumberLabel/model.js.map +1 -0
- package/lib/components/Pagination/Pagination.d.ts +1 -1
- package/lib/components/Pagination/Pagination.js +121 -0
- package/lib/components/Pagination/Pagination.js.map +1 -0
- package/lib/components/Pagination/Pagination.spec.d.ts +1 -0
- package/lib/components/Pagination/Pagination.spec.js +26 -0
- package/lib/components/Pagination/Pagination.spec.js.map +1 -0
- package/lib/components/Pagination/model.d.ts +1 -1
- package/lib/components/Pagination/model.js +2 -0
- package/lib/components/Pagination/model.js.map +1 -0
- package/lib/components/Pagination/styles.d.ts +2 -2
- package/lib/components/Pagination/styles.js +49 -0
- package/lib/components/Pagination/styles.js.map +1 -0
- package/lib/components/Radio/Radio.d.ts +3 -3
- package/lib/components/Radio/Radio.js +78 -0
- package/lib/components/Radio/Radio.js.map +1 -0
- package/lib/components/Radio/Radio.spec.d.ts +1 -0
- package/lib/components/Radio/Radio.spec.js +29 -0
- package/lib/components/Radio/Radio.spec.js.map +1 -0
- package/lib/components/Radio/model.d.ts +2 -2
- package/lib/components/Radio/model.js +2 -0
- package/lib/components/Radio/model.js.map +1 -0
- package/lib/components/Radio/styles.d.ts +1 -1
- package/lib/components/Radio/styles.js +37 -0
- package/lib/components/Radio/styles.js.map +1 -0
- package/lib/components/Select/Select.d.ts +2 -2
- package/lib/components/Select/Select.js +287 -0
- package/lib/components/Select/Select.js.map +1 -0
- package/lib/components/Select/Select.spec.d.ts +1 -0
- package/lib/components/Select/Select.spec.js +41 -0
- package/lib/components/Select/Select.spec.js.map +1 -0
- package/lib/components/Select/model.d.ts +5 -2
- package/lib/components/Select/model.js +2 -0
- package/lib/components/Select/model.js.map +1 -0
- package/lib/components/Select/styles.d.ts +2 -2
- package/lib/components/Select/styles.js +159 -0
- package/lib/components/Select/styles.js.map +1 -0
- package/lib/components/Selector/Selector.d.ts +1 -1
- package/lib/components/Selector/Selector.js +42 -0
- package/lib/components/Selector/Selector.js.map +1 -0
- package/lib/components/Selector/Selector.spec.d.ts +1 -0
- package/lib/components/Selector/Selector.spec.js +28 -0
- package/lib/components/Selector/Selector.spec.js.map +1 -0
- package/lib/components/Selector/model.d.ts +1 -1
- package/lib/components/Selector/model.js +2 -0
- package/lib/components/Selector/model.js.map +1 -0
- package/lib/components/Selector/styles.d.ts +1 -1
- package/lib/components/Selector/styles.js +44 -0
- package/lib/components/Selector/styles.js.map +1 -0
- package/lib/components/Sidemenu/Sidemenu.d.ts +1 -1
- package/lib/components/Sidemenu/Sidemenu.js +42 -0
- package/lib/components/Sidemenu/Sidemenu.js.map +1 -0
- package/lib/components/Sidemenu/Sidemenu.spec.d.ts +1 -0
- package/lib/components/Sidemenu/Sidemenu.spec.js +28 -0
- package/lib/components/Sidemenu/Sidemenu.spec.js.map +1 -0
- package/lib/components/Sidemenu/model.d.ts +1 -1
- package/lib/components/Sidemenu/model.js +2 -0
- package/lib/components/Sidemenu/model.js.map +1 -0
- package/lib/components/Sidemenu/styles.d.ts +1 -1
- package/lib/components/Sidemenu/styles.js +29 -0
- package/lib/components/Sidemenu/styles.js.map +1 -0
- package/lib/components/Skeleton/Skeleton.d.ts +1 -1
- package/lib/components/Skeleton/Skeleton.js +43 -0
- package/lib/components/Skeleton/Skeleton.js.map +1 -0
- package/lib/components/Skeleton/Skeleton.spec.d.ts +1 -0
- package/lib/components/Skeleton/Skeleton.spec.js +31 -0
- package/lib/components/Skeleton/Skeleton.spec.js.map +1 -0
- package/lib/components/Skeleton/model.d.ts +1 -1
- package/lib/components/Skeleton/model.js +2 -0
- package/lib/components/Skeleton/model.js.map +1 -0
- package/lib/components/Skeleton/styles.d.ts +1 -1
- package/lib/components/Skeleton/styles.js +53 -0
- package/lib/components/Skeleton/styles.js.map +1 -0
- package/lib/components/Slider/Slider.d.ts +1 -1
- package/lib/components/Slider/Slider.js +11 -0
- package/lib/components/Slider/Slider.js.map +1 -0
- package/lib/components/Slider/Slider.spec.d.ts +1 -0
- package/lib/components/Slider/Slider.spec.js +10 -0
- package/lib/components/Slider/Slider.spec.js.map +1 -0
- package/lib/components/Slider/{Model.d.ts → model.d.ts} +2 -2
- package/lib/components/Slider/model.js +2 -0
- package/lib/components/Slider/model.js.map +1 -0
- package/lib/components/Slider/styles.d.ts +1 -1
- package/lib/components/Slider/styles.js +61 -0
- package/lib/components/Slider/styles.js.map +1 -0
- package/lib/components/Stack/Stack.d.ts +1 -1
- package/lib/components/Stack/Stack.js +75 -0
- package/lib/components/Stack/Stack.js.map +1 -0
- package/lib/components/Stack/Stack.spec.d.ts +1 -0
- package/lib/components/Stack/Stack.spec.js +43 -0
- package/lib/components/Stack/Stack.spec.js.map +1 -0
- package/lib/components/Stack/model.d.ts +1 -1
- package/lib/components/Stack/model.js +2 -0
- package/lib/components/Stack/model.js.map +1 -0
- package/lib/components/Stack/styles.d.ts +1 -1
- package/lib/components/Stack/styles.js +12 -0
- package/lib/components/Stack/styles.js.map +1 -0
- package/lib/components/Steps/Steps.d.ts +1 -1
- package/lib/components/Steps/Steps.js +90 -0
- package/lib/components/Steps/Steps.js.map +1 -0
- package/lib/components/Steps/Steps.spec.d.ts +1 -0
- package/lib/components/Steps/Steps.spec.js +83 -0
- package/lib/components/Steps/Steps.spec.js.map +1 -0
- package/lib/components/Steps/model.d.ts +1 -1
- package/lib/components/Steps/model.js +2 -0
- package/lib/components/Steps/model.js.map +1 -0
- package/lib/components/Steps/styles.d.ts +1 -1
- package/lib/components/Steps/styles.js +45 -0
- package/lib/components/Steps/styles.js.map +1 -0
- package/lib/components/Styled/GlobalStyles.js +50 -0
- package/lib/components/Styled/GlobalStyles.js.map +1 -0
- package/lib/components/Styled/MooskinContextProvider.d.ts +1 -1
- package/lib/components/Styled/MooskinContextProvider.js +31 -0
- package/lib/components/Styled/MooskinContextProvider.js.map +1 -0
- package/lib/components/Styled/model.d.ts +2 -2
- package/lib/components/Styled/model.js +2 -0
- package/lib/components/Styled/model.js.map +1 -0
- package/lib/components/Switch/Switch.d.ts +1 -1
- package/lib/components/Switch/Switch.js +53 -0
- package/lib/components/Switch/Switch.js.map +1 -0
- package/lib/components/Switch/Switch.spec.d.ts +1 -0
- package/lib/components/Switch/Switch.spec.js +27 -0
- package/lib/components/Switch/Switch.spec.js.map +1 -0
- package/lib/components/Switch/model.d.ts +2 -2
- package/lib/components/Switch/model.js +2 -0
- package/lib/components/Switch/model.js.map +1 -0
- package/lib/components/Switch/styles.d.ts +1 -1
- package/lib/components/Switch/styles.js +58 -0
- package/lib/components/Switch/styles.js.map +1 -0
- package/lib/components/Table/Table.d.ts +1 -1
- package/lib/components/Table/Table.js +40 -0
- package/lib/components/Table/Table.js.map +1 -0
- package/lib/components/Table/Table.spec.d.ts +1 -0
- package/lib/components/Table/Table.spec.js +38 -0
- package/lib/components/Table/Table.spec.js.map +1 -0
- package/lib/components/Table/styles.d.ts +1 -1
- package/lib/components/Table/styles.js +56 -0
- package/lib/components/Table/styles.js.map +1 -0
- package/lib/components/Tabs/Tabs.d.ts +1 -1
- package/lib/components/Tabs/Tabs.js +81 -0
- package/lib/components/Tabs/Tabs.js.map +1 -0
- package/lib/components/Tabs/Tabs.spec.d.ts +1 -0
- package/lib/components/Tabs/Tabs.spec.js +83 -0
- package/lib/components/Tabs/Tabs.spec.js.map +1 -0
- package/lib/components/Tabs/model.d.ts +1 -1
- package/lib/components/Tabs/model.js +2 -0
- package/lib/components/Tabs/model.js.map +1 -0
- package/lib/components/Tabs/styles.d.ts +1 -1
- package/lib/components/Tabs/styles.js +29 -0
- package/lib/components/Tabs/styles.js.map +1 -0
- package/lib/components/Tags/Tags.d.ts +2 -2
- package/lib/components/Tags/Tags.js +190 -0
- package/lib/components/Tags/Tags.js.map +1 -0
- package/lib/components/Tags/Tags.spec.d.ts +1 -0
- package/lib/components/Tags/Tags.spec.js +101 -0
- package/lib/components/Tags/Tags.spec.js.map +1 -0
- package/lib/components/Tags/model.d.ts +2 -2
- package/lib/components/Tags/model.js +2 -0
- package/lib/components/Tags/model.js.map +1 -0
- package/lib/components/Tags/styles.d.ts +2 -2
- package/lib/components/Tags/styles.js +58 -0
- package/lib/components/Tags/styles.js.map +1 -0
- package/lib/components/Text/Text.d.ts +1 -1
- package/lib/components/Text/Text.js +25 -0
- package/lib/components/Text/Text.js.map +1 -0
- package/lib/components/Text/Text.spec.d.ts +1 -0
- package/lib/components/Text/Text.spec.js +10 -0
- package/lib/components/Text/Text.spec.js.map +1 -0
- package/lib/components/Text/model.d.ts +1 -1
- package/lib/components/Text/model.js +2 -0
- package/lib/components/Text/model.js.map +1 -0
- package/lib/components/Text/styles.d.ts +1 -1
- package/lib/components/Text/styles.js +11 -0
- package/lib/components/Text/styles.js.map +1 -0
- package/lib/components/TextArea/TextArea.d.ts +1 -1
- package/lib/components/TextArea/TextArea.js +24 -0
- package/lib/components/TextArea/TextArea.js.map +1 -0
- package/lib/components/TextArea/TextArea.spec.d.ts +1 -0
- package/lib/components/TextArea/TextArea.spec.js +39 -0
- package/lib/components/TextArea/TextArea.spec.js.map +1 -0
- package/lib/components/TextArea/model.d.ts +1 -1
- package/lib/components/TextArea/model.js +2 -0
- package/lib/components/TextArea/model.js.map +1 -0
- package/lib/components/TextArea/styles.js +14 -0
- package/lib/components/TextArea/styles.js.map +1 -0
- package/lib/components/TextEditor/TextEditor.d.ts +1 -1
- package/lib/components/TextEditor/TextEditor.js +88 -0
- package/lib/components/TextEditor/TextEditor.js.map +1 -0
- package/lib/components/TextEditor/TextEditor.spec.d.ts +1 -0
- package/lib/components/TextEditor/TextEditor.spec.js +30 -0
- package/lib/components/TextEditor/TextEditor.spec.js.map +1 -0
- package/lib/components/TextEditor/model.d.ts +5 -1
- package/lib/components/TextEditor/model.js +2 -0
- package/lib/components/TextEditor/model.js.map +1 -0
- package/lib/components/_utils/globals/locales.js +21 -0
- package/lib/components/_utils/globals/locales.js.map +1 -0
- package/lib/components/_utils/globals/screens.js +29 -0
- package/lib/components/_utils/globals/screens.js.map +1 -0
- package/lib/components/_utils/globals/variables.d.ts +1 -1
- package/lib/components/_utils/globals/variables.js +213 -0
- package/lib/components/_utils/globals/variables.js.map +1 -0
- package/lib/components/_utils/helper.d.ts +1 -1
- package/lib/components/_utils/helper.js +139 -0
- package/lib/components/_utils/helper.js.map +1 -0
- package/lib/components/_utils/index.d.ts +1 -3
- package/lib/components/_utils/index.js +2 -0
- package/lib/components/_utils/index.js.map +1 -0
- package/lib/components/_utils/test-setup.d.ts +1 -0
- package/lib/components/_utils/test-setup.js +9 -0
- package/lib/components/_utils/test-setup.js.map +1 -0
- package/lib/components/_utils/types/commonTypes.js +2 -0
- package/lib/components/_utils/types/commonTypes.js.map +1 -0
- package/lib/components/index/index.d.ts +41 -41
- package/lib/components/index/index.js +50 -0
- package/lib/components/index/index.js.map +1 -0
- package/lib/index/index.d.ts +41 -41
- package/lib/index/index.js +6 -35
- package/lib/index/index.js.LICENSE.txt +33 -0
- package/lib/index/style.css +3 -3
- package/lib/stories/ActionsDropdown.stories.d.ts +5 -3
- package/lib/stories/ActionsDropdown.stories.js +26 -0
- package/lib/stories/ActionsDropdown.stories.js.map +1 -0
- package/lib/stories/Alert.stories.d.ts +5 -3
- package/lib/stories/Alert.stories.js +29 -0
- package/lib/stories/Alert.stories.js.map +1 -0
- package/lib/stories/Anchor.stories.d.ts +6 -2
- package/lib/stories/Anchor.stories.js +21 -0
- package/lib/stories/Anchor.stories.js.map +1 -0
- package/lib/stories/Box.stories.d.ts +6 -2
- package/lib/stories/Box.stories.js +21 -0
- package/lib/stories/Box.stories.js.map +1 -0
- package/lib/stories/Button.stories.d.ts +3 -2
- package/lib/stories/Button.stories.js +39 -0
- package/lib/stories/Button.stories.js.map +1 -0
- package/lib/stories/Carousel.stories.d.ts +6 -2
- package/lib/stories/Carousel.stories.js +16 -0
- package/lib/stories/Carousel.stories.js.map +1 -0
- package/lib/stories/Checkbox.stories.d.ts +6 -2
- package/lib/stories/Checkbox.stories.js +43 -0
- package/lib/stories/Checkbox.stories.js.map +1 -0
- package/lib/stories/DatePicker.stories.d.ts +6 -2
- package/lib/stories/DatePicker.stories.js +15 -0
- package/lib/stories/DatePicker.stories.js.map +1 -0
- package/lib/stories/DateRange.stories.d.ts +6 -2
- package/lib/stories/DateRange.stories.js +25 -0
- package/lib/stories/DateRange.stories.js.map +1 -0
- package/lib/stories/DateSelect.stories.d.ts +6 -2
- package/lib/stories/DateSelect.stories.js +46 -0
- package/lib/stories/DateSelect.stories.js.map +1 -0
- package/lib/stories/DateTimePicker.stories.d.ts +6 -2
- package/lib/stories/DateTimePicker.stories.js +15 -0
- package/lib/stories/DateTimePicker.stories.js.map +1 -0
- package/lib/stories/Drawer.stories.d.ts +6 -2
- package/lib/stories/Drawer.stories.js +58 -0
- package/lib/stories/Drawer.stories.js.map +1 -0
- package/lib/stories/Expandable.stories.d.ts +6 -2
- package/lib/stories/Expandable.stories.js +22 -0
- package/lib/stories/Expandable.stories.js.map +1 -0
- package/lib/stories/Footer.stories.d.ts +6 -2
- package/lib/stories/Footer.stories.js +25 -0
- package/lib/stories/Footer.stories.js.map +1 -0
- package/lib/stories/Grid.stories.d.ts +6 -2
- package/lib/stories/Grid.stories.js +52 -0
- package/lib/stories/Grid.stories.js.map +1 -0
- package/lib/stories/IconButton.stories.d.ts +6 -2
- package/lib/stories/IconButton.stories.js +21 -0
- package/lib/stories/IconButton.stories.js.map +1 -0
- package/lib/stories/Input.stories.d.ts +5 -2
- package/lib/stories/Input.stories.js +58 -0
- package/lib/stories/Input.stories.js.map +1 -0
- package/lib/stories/Layout.stories.d.ts +6 -2
- package/lib/stories/Layout.stories.js +24 -0
- package/lib/stories/Layout.stories.js.map +1 -0
- package/lib/stories/List.stories.d.ts +5 -2
- package/lib/stories/List.stories.js +87 -0
- package/lib/stories/List.stories.js.map +1 -0
- package/lib/stories/Loader.stories.d.ts +6 -2
- package/lib/stories/Loader.stories.js +12 -0
- package/lib/stories/Loader.stories.js.map +1 -0
- package/lib/stories/LoadingBar.stories.d.ts +6 -2
- package/lib/stories/LoadingBar.stories.js +16 -0
- package/lib/stories/LoadingBar.stories.js.map +1 -0
- package/lib/stories/Modal.stories.d.ts +6 -2
- package/lib/stories/Modal.stories.js +21 -0
- package/lib/stories/Modal.stories.js.map +1 -0
- package/lib/stories/NumberLabel.stories.d.ts +6 -2
- package/lib/stories/NumberLabel.stories.js +39 -0
- package/lib/stories/NumberLabel.stories.js.map +1 -0
- package/lib/stories/Pagination.stories.d.ts +6 -2
- package/lib/stories/Pagination.stories.js +17 -0
- package/lib/stories/Pagination.stories.js.map +1 -0
- package/lib/stories/Radio.stories.d.ts +6 -2
- package/lib/stories/Radio.stories.js +44 -0
- package/lib/stories/Radio.stories.js.map +1 -0
- package/lib/stories/Select.stories.d.ts +6 -2
- package/lib/stories/Select.stories.js +83 -0
- package/lib/stories/Select.stories.js.map +1 -0
- package/lib/stories/Selector.stories.d.ts +6 -2
- package/lib/stories/Selector.stories.js +20 -0
- package/lib/stories/Selector.stories.js.map +1 -0
- package/lib/stories/Sidemenu.stories.d.ts +6 -2
- package/lib/stories/Sidemenu.stories.js +17 -0
- package/lib/stories/Sidemenu.stories.js.map +1 -0
- package/lib/stories/Skeleton.stories.d.ts +6 -2
- package/lib/stories/Skeleton.stories.js +41 -0
- package/lib/stories/Skeleton.stories.js.map +1 -0
- package/lib/stories/Slider.stories.d.ts +6 -2
- package/lib/stories/Slider.stories.js +14 -0
- package/lib/stories/Slider.stories.js.map +1 -0
- package/lib/stories/Stack.stories.d.ts +6 -2
- package/lib/stories/Stack.stories.js +86 -0
- package/lib/stories/Stack.stories.js.map +1 -0
- package/lib/stories/StackedTags.stories.d.ts +6 -2
- package/lib/stories/StackedTags.stories.js +28 -0
- package/lib/stories/StackedTags.stories.js.map +1 -0
- package/lib/stories/Steps.stories.d.ts +6 -2
- package/lib/stories/Steps.stories.js +20 -0
- package/lib/stories/Steps.stories.js.map +1 -0
- package/lib/stories/Switch.stories.d.ts +6 -2
- package/lib/stories/Switch.stories.js +25 -0
- package/lib/stories/Switch.stories.js.map +1 -0
- package/lib/stories/Table.stories.d.ts +6 -2
- package/lib/stories/Table.stories.js +42 -0
- package/lib/stories/Table.stories.js.map +1 -0
- package/lib/stories/Tabs.stories.d.ts +6 -2
- package/lib/stories/Tabs.stories.js +19 -0
- package/lib/stories/Tabs.stories.js.map +1 -0
- package/lib/stories/Tags.stories.d.ts +6 -2
- package/lib/stories/Tags.stories.js +40 -0
- package/lib/stories/Tags.stories.js.map +1 -0
- package/lib/stories/TextEditor.stories.d.ts +6 -2
- package/lib/stories/TextEditor.stories.js +41 -0
- package/lib/stories/TextEditor.stories.js.map +1 -0
- package/lib/stories/Textarea.stories.d.ts +6 -2
- package/lib/stories/Textarea.stories.js +21 -0
- package/lib/stories/Textarea.stories.js.map +1 -0
- package/package.json +45 -35
- package/README-legacy.md +0 -212
- /package/lib/{_utils/adapter.d.ts → components/ActionsDropdown/ActionsDropdown.spec.d.ts} +0 -0
- /package/lib/components/{_utils/adapter.d.ts → Alert/Alert.spec.d.ts} +0 -0
package/lib/Modal/model.d.ts
CHANGED
package/lib/Modal/styles.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { IModalComponentProps, IModalContentComponentProps } from './model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import type { IModalComponentProps, IModalContentComponentProps } from './model';
|
|
4
4
|
export declare const StyledModal: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IModalComponentProps, never>;
|
|
5
5
|
export declare const StyledModalContent: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IModalContentComponentProps, never>;
|
|
6
6
|
export declare const StyledModalContentFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IModalContentComponentProps, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IPaginationButtonComponentProps, IPaginationComponentProps } from './model';
|
|
2
|
+
import type { IPaginationButtonComponentProps, IPaginationComponentProps } from './model';
|
|
3
3
|
export declare const Pagination: React.FC<IPaginationComponentProps>;
|
|
4
4
|
export declare const PaginationButton: React.FC<IPaginationButtonComponentProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { IPaginationButtonComponentProps, IPaginationComponentProps } from './model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import type { IPaginationButtonComponentProps, IPaginationComponentProps } from './model';
|
|
4
4
|
export declare const StyledPagination: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IPaginationComponentProps, never>;
|
|
5
5
|
export declare const StyledPaginationButton: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IPaginationButtonComponentProps, never>;
|
|
6
6
|
export declare const StyledPaginationShowAll: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
package/lib/Radio/Radio.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import type { ILabelComponentProps } from '../Label/
|
|
4
|
-
import { IRadioComponentProps, IRadioIconComponentProps } from './model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import type { ILabelComponentProps } from '../Label/model';
|
|
4
|
+
import type { IRadioComponentProps, IRadioIconComponentProps } from './model';
|
|
5
5
|
export declare const Radio: React.FC<IRadioComponentProps>;
|
|
6
6
|
export declare const RadioIcon: React.FC<IRadioIconComponentProps>;
|
|
7
7
|
export declare const RadioLabel: React.FC<ILabelComponentProps>;
|
package/lib/Radio/model.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
2
|
+
import type { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
4
4
|
export interface IRadioComponentProps extends IBoxComponentProps {
|
|
5
5
|
onClickRadio?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
6
6
|
dataLabel?: string;
|
package/lib/Radio/styles.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ILabelComponentProps } from '../Label/model';
|
|
3
|
-
import { IRadioIconComponentProps } from './model';
|
|
3
|
+
import type { IRadioIconComponentProps } from './model';
|
|
4
4
|
export declare const StyledRadio: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
|
|
5
5
|
export declare const StyledRadioIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IRadioIconComponentProps, never>;
|
|
6
6
|
export declare const StyledRadioLabel: import("styled-components").StyledComponent<import("react").FC<ILabelComponentProps>, any, ILabelComponentProps, never>;
|
package/lib/Select/Select.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { ISelectComponentProps, ISelectOptionComponentProps, ISelectOptionListProps, ISelectPaginationComponentProps } from './model';
|
|
2
|
+
import type { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
|
|
3
|
+
import type { ISelectComponentProps, ISelectOptionComponentProps, ISelectOptionListProps, ISelectPaginationComponentProps } from './model';
|
|
4
4
|
export declare const Select: React.FC<ISelectComponentProps>;
|
|
5
5
|
export declare const SelectContainer: React.FC<IBoxComponentProps>;
|
|
6
6
|
export declare const SelectPlaceholder: React.FC<IBoxComponentProps>;
|
package/lib/Select/model.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
-
import { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
|
|
2
|
+
import type { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
+
import type { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
|
|
4
4
|
export interface ISelectComponentProps extends IBoxComponentProps {
|
|
5
5
|
onChangeSelect?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
6
6
|
dataLabel?: string;
|
|
7
7
|
selectedValue?: string | number | Array<string | number>;
|
|
8
8
|
disabled?: boolean;
|
|
9
|
+
label?: string;
|
|
10
|
+
value?: string | number | Array<string | number>;
|
|
9
11
|
hideMobileSearch?: boolean;
|
|
10
12
|
}
|
|
11
13
|
export interface ISelectOptionListProps extends IBoxComponentProps {
|
|
@@ -18,6 +20,7 @@ export interface ISelectOptionComponentProps extends IBoxComponentProps {
|
|
|
18
20
|
value: string;
|
|
19
21
|
searchLabel?: string;
|
|
20
22
|
disabled?: boolean;
|
|
23
|
+
selected?: boolean;
|
|
21
24
|
}
|
|
22
25
|
export interface ISelectPaginationComponentProps extends IBoxComponentProps {
|
|
23
26
|
page: number;
|
package/lib/Select/styles.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { ISelectComponentProps, ISelectOptionComponentProps, ISelectOptionListProps } from './model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import type { ISelectComponentProps, ISelectOptionComponentProps, ISelectOptionListProps } from './model';
|
|
4
4
|
export declare const StyledSelect: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ISelectComponentProps, never>;
|
|
5
5
|
export declare const StyledSelectFilter: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement> & import("react").InputHTMLAttributes<HTMLInputElement>, never>;
|
|
6
6
|
export declare const StyledSelectContainer: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ISelectorComponentProps, ISelectorItemComponentProps } from './model';
|
|
2
|
+
import type { ISelectorComponentProps, ISelectorItemComponentProps } from './model';
|
|
3
3
|
export declare const Selector: React.FC<ISelectorComponentProps>;
|
|
4
4
|
export declare const SelectorItem: React.FC<ISelectorItemComponentProps>;
|
package/lib/Selector/model.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
3
|
export interface ISelectorComponentProps extends IBoxComponentProps {
|
|
4
4
|
activeItem?: string | number;
|
|
5
5
|
onClickItem?: (e: React.MouseEvent<HTMLElement>, value?: string | number) => void;
|
package/lib/Selector/styles.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ISelectorComponentProps, ISelectorItemComponentProps } from './model';
|
|
2
|
+
import type { ISelectorComponentProps, ISelectorItemComponentProps } from './model';
|
|
3
3
|
export declare const StyledSelector: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISelectorComponentProps, never>;
|
|
4
4
|
export declare const StyledSelectorItem: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISelectorItemComponentProps, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ISidemenuComponentProps, ISidemenuItemComponentProps } from './model';
|
|
2
|
+
import type { ISidemenuComponentProps, ISidemenuItemComponentProps } from './model';
|
|
3
3
|
export declare const Sidemenu: React.FC<ISidemenuComponentProps>;
|
|
4
4
|
export declare const SidemenuItem: React.FC<ISidemenuItemComponentProps>;
|
package/lib/Sidemenu/model.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
3
|
export interface ISidemenuComponentProps extends IBoxComponentProps {
|
|
4
4
|
activeItem?: string | number;
|
|
5
5
|
onClickItem?: (e: React.MouseEvent<HTMLElement>, value?: string | number) => void;
|
package/lib/Sidemenu/styles.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ISidemenuComponentProps, ISidemenuItemComponentProps } from './model';
|
|
2
|
+
import type { ISidemenuComponentProps, ISidemenuItemComponentProps } from './model';
|
|
3
3
|
export declare const StyledSidemenu: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISidemenuComponentProps, never>;
|
|
4
4
|
export declare const StyledSidemenuItem: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISidemenuItemComponentProps, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ICommonSkeletonComponentProps, ISkeletonCircleComponentProps, ISkeletonTextComponentProps } from './model';
|
|
2
|
+
import type { ICommonSkeletonComponentProps, ISkeletonCircleComponentProps, ISkeletonTextComponentProps } from './model';
|
|
3
3
|
export declare const Skeleton: React.FC<ICommonSkeletonComponentProps>;
|
|
4
4
|
export declare const SkeletonCircle: React.FC<ISkeletonCircleComponentProps>;
|
|
5
5
|
export declare const SkeletonText: React.FC<ISkeletonTextComponentProps>;
|
package/lib/Skeleton/model.d.ts
CHANGED
package/lib/Skeleton/styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ICommonSkeletonComponentProps, ISkeletonCircleComponentProps, ISkeletonTextComponentProps } from './model';
|
|
2
|
+
import type { ICommonSkeletonComponentProps, ISkeletonCircleComponentProps, ISkeletonTextComponentProps } from './model';
|
|
3
3
|
export declare const StyledCommonSkeleton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ICommonSkeletonComponentProps, never>;
|
|
4
4
|
export declare const StyledSkeleton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ICommonSkeletonComponentProps, never>;
|
|
5
5
|
export declare const StyledSkeletonCircle: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ICommonSkeletonComponentProps & ISkeletonCircleComponentProps, never>;
|
package/lib/Slider/Slider.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
-
import { IInputComponentProps } from '../Input/model';
|
|
2
|
+
import type { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
+
import type { IInputComponentProps } from '../Input/model';
|
|
4
4
|
export interface ISliderComponentProps extends IInputComponentProps {
|
|
5
5
|
dataLabel?: string;
|
|
6
6
|
onChangeSlider?: (e: React.ChangeEvent<HTMLInputElement>, data: IInputCallbackData) => void;
|
package/lib/Slider/styles.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ISliderComponentProps } from './model';
|
|
2
|
+
import type { ISliderComponentProps } from './model';
|
|
3
3
|
export declare const StyledSlider: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISliderComponentProps, never>;
|
package/lib/Stack/Stack.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IStackComponentProps } from './model';
|
|
2
|
+
import type { IStackComponentProps } from './model';
|
|
3
3
|
export declare const Stack: React.FC<IStackComponentProps>;
|
|
4
4
|
export declare const HStack: React.FC<IStackComponentProps>;
|
|
5
5
|
export declare const VStack: React.FC<IStackComponentProps>;
|
package/lib/Stack/model.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
3
|
export interface IStackComponentProps extends IBoxComponentProps {
|
|
4
4
|
divider?: React.ReactElement;
|
|
5
5
|
spacing?: number | string;
|
package/lib/Stack/styles.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IStackComponentProps } from './model';
|
|
2
|
+
import type { IStackComponentProps } from './model';
|
|
3
3
|
export declare const StyledStack: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IStackComponentProps, never>;
|
package/lib/Steps/Steps.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IStepCommonComponentProps, IStepComponentProps, IStepHeaderComponentProps, IStepsComponentProps } from './model';
|
|
2
|
+
import type { IStepCommonComponentProps, IStepComponentProps, IStepHeaderComponentProps, IStepsComponentProps } from './model';
|
|
3
3
|
export declare const Steps: React.FC<IStepsComponentProps>;
|
|
4
4
|
export declare const Step: React.FC<IStepComponentProps>;
|
|
5
5
|
export declare const StepHeader: React.FC<IStepHeaderComponentProps>;
|
package/lib/Steps/model.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
3
|
export interface IStepsComponentProps extends IBoxComponentProps {
|
|
4
4
|
activeItem?: number | string;
|
|
5
5
|
onClickStep?: (e: React.MouseEvent<HTMLElement>, value?: number | string) => void;
|
package/lib/Steps/styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IStepCommonComponentProps, IStepComponentProps, IStepHeaderComponentProps, IStepsComponentProps } from './model';
|
|
2
|
+
import type { IStepCommonComponentProps, IStepComponentProps, IStepHeaderComponentProps, IStepsComponentProps } from './model';
|
|
3
3
|
export declare const StyledSteps: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IStepsComponentProps, never>;
|
|
4
4
|
export declare const StyledStep: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IStepComponentProps, never>;
|
|
5
5
|
export declare const StyledStepHeader: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IStepHeaderComponentProps, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IMooskinContext } from './model';
|
|
2
|
+
import type { IMooskinContext } from './model';
|
|
3
3
|
export declare const useMooskinContext: () => IMooskinContext;
|
|
4
4
|
export declare const MooskinContext: React.Context<IMooskinContext>;
|
|
5
5
|
export declare const MooskinContextProvider: React.FC<React.PropsWithChildren<any>>;
|
package/lib/Styled/model.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Locale } from 'date-fns';
|
|
2
|
-
import { ISupportedLanguage } from '../_utils/globals/locales';
|
|
1
|
+
import type { Locale } from 'date-fns';
|
|
2
|
+
import type { ISupportedLanguage } from '../_utils/globals/locales';
|
|
3
3
|
export interface IThemeFontColors {
|
|
4
4
|
primary1: string;
|
|
5
5
|
primary2: string;
|
package/lib/Switch/Switch.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ISwitchComponentProps, ISwitchHandleComponentProps } from './model';
|
|
2
|
+
import type { ISwitchComponentProps, ISwitchHandleComponentProps } from './model';
|
|
3
3
|
export declare const Switch: React.FC<ISwitchComponentProps>;
|
|
4
4
|
export declare const SwitchHandle: React.FC<ISwitchHandleComponentProps>;
|
package/lib/Switch/model.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
2
|
+
import type { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
4
4
|
export interface ISwitchComponentProps extends IBoxComponentProps {
|
|
5
5
|
text: string;
|
|
6
6
|
disabled?: boolean;
|
package/lib/Switch/styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ISwitchComponentProps, ISwitchHandleComponentProps } from './model';
|
|
2
|
+
import type { ISwitchComponentProps, ISwitchHandleComponentProps } from './model';
|
|
3
3
|
export declare const StyledSwitch: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISwitchComponentProps, never>;
|
|
4
4
|
export declare const StyledSwitchHandle: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISwitchHandleComponentProps, never>;
|
|
5
5
|
export declare const StyledSwitchLabel: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, Partial<ISwitchComponentProps>, never>;
|
package/lib/Table/Table.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
3
|
export declare const Table: React.FC<IBoxComponentProps>;
|
|
4
4
|
export declare const TableHeader: React.FC<IBoxComponentProps>;
|
|
5
5
|
export declare const TableHeaderItem: React.FC<IBoxComponentProps>;
|
package/lib/Table/styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
3
|
export declare const StyledTable: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
4
4
|
export declare const StyledTableHeader: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
5
5
|
export declare const StyledTableHeaderItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
package/lib/Tabs/Tabs.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ITabCommonComponentProps, ITabComponentProps, ITabsComponentProps } from './model';
|
|
2
|
+
import type { ITabCommonComponentProps, ITabComponentProps, ITabsComponentProps } from './model';
|
|
3
3
|
export declare const Tabs: React.FC<ITabsComponentProps>;
|
|
4
4
|
export declare const Tab: React.FC<ITabComponentProps>;
|
|
5
5
|
export declare const TabHeader: React.FC<ITabCommonComponentProps>;
|
package/lib/Tabs/model.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
3
|
export interface ITabsComponentProps extends IBoxComponentProps {
|
|
4
4
|
activeItem?: number | string;
|
|
5
5
|
onClickTab?: (e: React.MouseEvent<HTMLElement>, value?: number | string) => void;
|
package/lib/Tabs/styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ITabCommonComponentProps, ITabComponentProps, ITabsComponentProps } from './model';
|
|
2
|
+
import type { ITabCommonComponentProps, ITabComponentProps, ITabsComponentProps } from './model';
|
|
3
3
|
export declare const StyledTabs: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabsComponentProps, never>;
|
|
4
4
|
export declare const StyledTab: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabComponentProps, never>;
|
|
5
5
|
export declare const StyledTabHeader: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabCommonComponentProps, never>;
|
package/lib/Tags/Tags.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { ITagComponentProps, ITagsComponentProps, ITagsInputComponentProps } from './model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import type { ITagComponentProps, ITagsComponentProps, ITagsInputComponentProps } from './model';
|
|
4
4
|
export declare const Tags: React.FC<ITagsComponentProps>;
|
|
5
5
|
export declare const Tag: React.FC<ITagComponentProps>;
|
|
6
6
|
export declare const TagInput: React.FC<ITagsInputComponentProps>;
|
package/lib/Tags/model.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
-
import { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
|
|
2
|
+
import type { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
+
import type { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
|
|
4
4
|
export interface ITagsComponentProps extends IBoxComponentProps {
|
|
5
5
|
dataLabel?: string;
|
|
6
6
|
limit?: number;
|
package/lib/Tags/styles.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { ITagComponentProps, ITagsComponentProps, ITagsInputComponentProps } from './model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import type { ITagComponentProps, ITagsComponentProps, ITagsInputComponentProps } from './model';
|
|
4
4
|
export declare const StyledTags: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagsComponentProps, never>;
|
|
5
5
|
export declare const StyledTag: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagComponentProps, never>;
|
|
6
6
|
export declare const StyledTagText: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagComponentProps, never>;
|
package/lib/Text/Text.d.ts
CHANGED
package/lib/Text/model.d.ts
CHANGED
package/lib/Text/styles.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ITextComponentProps } from './model';
|
|
2
|
+
import type { ITextComponentProps } from './model';
|
|
3
3
|
export declare const StyledText: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITextComponentProps, never>;
|
package/lib/TextArea/model.d.ts
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { IAllProps } from '@tinymce/tinymce-react';
|
|
1
|
+
import type { IAllProps } from '@tinymce/tinymce-react';
|
|
2
2
|
export interface ITextEditorComponentProps extends Partial<IAllProps> {
|
|
3
3
|
onInit?: any;
|
|
4
4
|
selector?: any;
|
|
5
5
|
menubar?: boolean;
|
|
6
|
+
toolbar_sticky?: boolean;
|
|
7
|
+
toolbar_mode?: string;
|
|
8
|
+
resize?: boolean;
|
|
9
|
+
min_width?: number;
|
|
6
10
|
personalizationTags?: {
|
|
7
11
|
buttonLabel: string;
|
|
8
12
|
id: string;
|
package/lib/_utils/helper.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IStyledTheme } from '../Styled/model';
|
|
1
|
+
import type { IStyledTheme } from '../Styled/model';
|
|
2
2
|
export declare const arrayHasDupes: (array: any[]) => boolean;
|
|
3
3
|
export declare const debounce: (func: (...args: any[]) => any, wait: number, immediate: boolean) => () => void;
|
|
4
4
|
export declare const getBoxProps: (componentProps: any) => any;
|
package/lib/_utils/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { IActionsDropdownComponentProps, IActionsDropdownItemComponentProps } from './model';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import type { IActionsDropdownComponentProps, IActionsDropdownItemComponentProps } from './model';
|
|
4
4
|
export declare const ActionsDropdown: React.FC<IActionsDropdownComponentProps>;
|
|
5
5
|
export declare const ActionsDropdownItem: React.FC<IActionsDropdownItemComponentProps>;
|
|
6
6
|
export declare const ActionsDropdownArrow: React.FC<IBoxComponentProps>;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import * as React from 'react';
|
|
13
|
+
import { withMooskinContext } from '../Styled/MooskinContextProvider';
|
|
14
|
+
import { Box } from '../Box/Box';
|
|
15
|
+
import { StyledActionsDropdownArrow, StyledActionsDropdownFadeIn, StyledActionsDropdownFadeOut, StyledActionsDropdownItem, StyledActionsDropdownButtonClose, StyledActionDropdownOverlay, } from './styles';
|
|
16
|
+
import { Transition } from 'react-transition-group';
|
|
17
|
+
const DropdownComponents = {
|
|
18
|
+
entered: StyledActionsDropdownFadeIn,
|
|
19
|
+
entering: StyledActionsDropdownFadeIn,
|
|
20
|
+
exited: null,
|
|
21
|
+
exiting: StyledActionsDropdownFadeOut,
|
|
22
|
+
unmounted: null,
|
|
23
|
+
};
|
|
24
|
+
export const ActionsDropdown = withMooskinContext((_a) => {
|
|
25
|
+
var { className = '', style = {} } = _a, props = __rest(_a, ["className", "style"]);
|
|
26
|
+
const [hasArrow, setHasArrow] = React.useState(false);
|
|
27
|
+
const batchClickHandler = (e, data, callback) => {
|
|
28
|
+
var _a;
|
|
29
|
+
(_a = props.onClickItem) === null || _a === void 0 ? void 0 : _a.call(props, e, data);
|
|
30
|
+
callback === null || callback === void 0 ? void 0 : callback(e, data);
|
|
31
|
+
};
|
|
32
|
+
const recurseChildren = (children) => {
|
|
33
|
+
if (!children) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return React.Children.map(children, (child, i) => {
|
|
37
|
+
if (React.isValidElement(child) && child.type === ActionsDropdownItem) {
|
|
38
|
+
return React.cloneElement(child, {
|
|
39
|
+
children: recurseChildren(child.props.children),
|
|
40
|
+
key: i,
|
|
41
|
+
onClick: (e) => batchClickHandler(e, { dataLabel: child.props.dataLabel, value: child.props.value }, child.props.onClick),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
if (React.isValidElement(child) && child.type === ActionsDropdownArrow) {
|
|
45
|
+
!hasArrow && setHasArrow(true);
|
|
46
|
+
return React.cloneElement(child, {
|
|
47
|
+
children: recurseChildren(child.props.children),
|
|
48
|
+
key: i,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
if (React.isValidElement(child) && child.props.children) {
|
|
52
|
+
return React.cloneElement(child, { key: i, children: recurseChildren(child.props.children) });
|
|
53
|
+
}
|
|
54
|
+
return child;
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
return (React.createElement(Transition, { addEndListener: () => undefined, unmountOnExit: true, in: props.isOpen, timeout: 145 }, (state) => {
|
|
58
|
+
const ActionDropdownComponent = DropdownComponents[state];
|
|
59
|
+
if (ActionDropdownComponent) {
|
|
60
|
+
return (React.createElement(React.Fragment, null,
|
|
61
|
+
React.createElement(StyledActionDropdownOverlay, { w: [0, 0, '100vw', '100vw'], h: [0, 0, '100vh', '100vh'], position: ['relative', 'relative', 'fixed', 'fixed'], noRender: ['lg', 'md'], onClick: props.onClose }),
|
|
62
|
+
React.createElement(ActionDropdownComponent, Object.assign({ boxShadow: "base", position: ['relative', 'relative', 'fixed', 'fixed'], borderRadius: ['2px', '2px', '8px', '8px'], bottom: ['unset', 'unset', '73px', '73px'], left: ['unset', 'unset', '10px', '10px'], right: ['unset', 'unset', '10px', '10px'], maxH: ['unset', 'unset', '415px', '415px'], overflowY: ['unset', 'unset', 'auto', 'auto'], zIndex: [2, 2, 6, 6] }, props),
|
|
63
|
+
React.createElement(Box, { position: "absolute" }),
|
|
64
|
+
!hasArrow && React.createElement(ActionsDropdownArrow, { boxShadow: "base" }),
|
|
65
|
+
recurseChildren(props.children)),
|
|
66
|
+
React.createElement(StyledActionsDropdownButtonClose, { boxShadow: "base", position: ['relative', 'relative', 'fixed', 'fixed'], noRender: ['lg', 'md'], borderRadius: ['2px', '2px', '8px', '8px'], bottom: ['unset', 'unset', '10px', '10px'], left: ['unset', 'unset', '10px', '10px'], right: ['unset', 'unset', '10px', '10px'], onClick: (e) => props.onClose && props.onClose }, "Close")));
|
|
67
|
+
}
|
|
68
|
+
return null;
|
|
69
|
+
}));
|
|
70
|
+
});
|
|
71
|
+
ActionsDropdown.displayName = 'ActionsDropdown';
|
|
72
|
+
export const ActionsDropdownItem = withMooskinContext((_a) => {
|
|
73
|
+
var { className = '', style = {} } = _a, props = __rest(_a, ["className", "style"]);
|
|
74
|
+
return (React.createElement(StyledActionsDropdownItem, Object.assign({ className: className, textAlign: ['unset', 'unset', 'center', 'center'], p: ['', '', '16px 16px 16px', '16px 16px 16px'], fontSize: ['12px', '12px', '20px', '20px'], fontWeight: ['bold', 'bold', 400, 400] }, props)));
|
|
75
|
+
});
|
|
76
|
+
ActionsDropdownItem.displayName = 'ActionsDropdownItem';
|
|
77
|
+
export const ActionsDropdownArrow = withMooskinContext((_a) => {
|
|
78
|
+
var { className = '', style = {} } = _a, props = __rest(_a, ["className", "style"]);
|
|
79
|
+
return (React.createElement(StyledActionsDropdownArrow, Object.assign({ className: className, d: ['block', 'block', 'none', 'none'] }, props)));
|
|
80
|
+
});
|
|
81
|
+
ActionsDropdownArrow.displayName = 'ActionsDropdownArrow';
|
|
82
|
+
//# sourceMappingURL=ActionsDropdown.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionsDropdown.js","sourceRoot":"","sources":["../../../components/ActionsDropdown/ActionsDropdown.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAItE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAKjC,OAAO,EACN,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,yBAAyB,EACzB,gCAAgC,EAChC,2BAA2B,GAC3B,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,MAAM,kBAAkB,GAAG;IAC1B,OAAO,EAAE,2BAA2B;IACpC,QAAQ,EAAE,2BAA2B;IACrC,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,IAAI;CACf,CAAC;AAKF,MAAM,CAAC,MAAM,eAAe,GAA6C,kBAAkB,CAAC,CAAC,EAAwC,EAAE,EAAE;QAA5C,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,OAAY,EA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