@moosend/mooskin 1.1.5 → 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/LICENSE +21 -21
- package/README.md +1 -1
- package/lib/ActionsDropdown/ActionsDropdown.d.ts +6 -6
- package/lib/ActionsDropdown/model.d.ts +12 -12
- package/lib/ActionsDropdown/styles.d.ts +10 -10
- package/lib/Alert/Alert.d.ts +8 -8
- package/lib/Alert/model.d.ts +5 -5
- package/lib/Alert/styles.d.ts +8 -8
- package/lib/Anchor/Anchor.d.ts +3 -3
- package/lib/Anchor/model.d.ts +4 -4
- package/lib/Anchor/styles.d.ts +3 -3
- package/lib/Box/Box.d.ts +3 -3
- package/lib/Box/model.d.ts +125 -120
- package/lib/Box/resources.d.ts +9 -9
- package/lib/Box/styles.d.ts +8 -8
- package/lib/Button/Button.d.ts +7 -7
- package/lib/Button/model.d.ts +8 -6
- package/lib/Button/styles.d.ts +7 -7
- package/lib/Carousel/Carousel.d.ts +7 -7
- package/lib/Carousel/model.d.ts +33 -33
- package/lib/Carousel/styles.d.ts +4 -4
- package/lib/Checkbox/Checkbox.d.ts +8 -8
- package/lib/Checkbox/model.d.ts +13 -13
- package/lib/Checkbox/styles.d.ts +6 -6
- package/lib/DatePicker/DatePicker.d.ts +3 -3
- package/lib/DatePicker/model.d.ts +16 -16
- package/lib/DateRange/DateRange.d.ts +5 -5
- package/lib/DateRange/model.d.ts +17 -17
- package/lib/DateRange/styles.d.ts +3 -3
- package/lib/DateSelect/DateSelect.d.ts +3 -3
- package/lib/DateSelect/model.d.ts +7 -7
- package/lib/DateTimePicker/DateTimePicker.d.ts +3 -3
- package/lib/DateTimePicker/model.d.ts +15 -11
- package/lib/Description/Description.d.ts +3 -3
- package/lib/Description/styles.d.ts +3 -3
- package/lib/Drawer/Drawer.d.ts +10 -10
- package/lib/Drawer/model.d.ts +21 -21
- package/lib/Drawer/styles.d.ts +25 -25
- package/lib/Expandable/Expandable.d.ts +9 -9
- package/lib/Expandable/model.d.ts +13 -13
- package/lib/Expandable/styles.d.ts +9 -9
- package/lib/Footer/Footer.d.ts +6 -6
- package/lib/Footer/styles.d.ts +7 -7
- package/lib/Grid/Grid.d.ts +5 -5
- package/lib/Grid/model.d.ts +18 -18
- package/lib/Grid/styles.d.ts +5 -5
- package/lib/IconButton/IconButton.d.ts +3 -3
- package/lib/IconButton/model.d.ts +4 -4
- package/lib/IconButton/styles.d.ts +3 -3
- package/lib/Image/Image.d.ts +3 -3
- package/lib/Image/styles.d.ts +2 -2
- package/lib/Input/Input.d.ts +12 -12
- package/lib/Input/model.d.ts +30 -30
- package/lib/Input/styles.d.ts +13 -13
- package/lib/Label/Label.d.ts +3 -3
- package/lib/Label/{Model.d.ts → model.d.ts} +5 -5
- package/lib/Label/styles.d.ts +3 -3
- package/lib/Layout/Layout.d.ts +3 -3
- package/lib/Layout/model.d.ts +5 -5
- package/lib/Layout/styles.d.ts +3 -3
- package/lib/List/List.d.ts +8 -8
- package/lib/List/styles.d.ts +7 -7
- package/lib/Loader/Loader.d.ts +3 -3
- package/lib/Loader/model.d.ts +5 -5
- package/lib/Loader/styles.d.ts +4 -4
- package/lib/LoadingBar/LoadingBar.d.ts +3 -3
- package/lib/LoadingBar/model.d.ts +7 -7
- package/lib/LoadingBar/styles.d.ts +3 -3
- package/lib/Modal/Modal.d.ts +10 -10
- package/lib/Modal/model.d.ts +15 -15
- package/lib/Modal/styles.d.ts +14 -14
- package/lib/NumberLabel/NumberLabel.d.ts +3 -3
- package/lib/NumberLabel/model.d.ts +7 -7
- package/lib/Pagination/Pagination.d.ts +4 -4
- package/lib/Pagination/model.d.ts +12 -12
- package/lib/Pagination/styles.d.ts +6 -6
- package/lib/Radio/Radio.d.ts +8 -8
- package/lib/Radio/model.d.ts +14 -14
- package/lib/Radio/styles.d.ts +6 -6
- package/lib/Select/Select.d.ts +14 -14
- package/lib/Select/model.d.ts +28 -25
- package/lib/Select/styles.d.ts +17 -17
- package/lib/Selector/Selector.d.ts +4 -4
- package/lib/Selector/model.d.ts +10 -10
- package/lib/Selector/styles.d.ts +4 -4
- package/lib/Sidemenu/Sidemenu.d.ts +4 -4
- package/lib/Sidemenu/model.d.ts +10 -10
- package/lib/Sidemenu/styles.d.ts +4 -4
- package/lib/Skeleton/Skeleton.d.ts +5 -5
- package/lib/Skeleton/model.d.ts +14 -14
- package/lib/Skeleton/styles.d.ts +6 -6
- package/lib/Slider/Slider.d.ts +3 -3
- package/lib/Slider/model.d.ts +7 -7
- package/lib/Slider/styles.d.ts +3 -3
- package/lib/Stack/Stack.d.ts +5 -5
- package/lib/Stack/model.d.ts +6 -6
- package/lib/Stack/styles.d.ts +3 -3
- package/lib/Steps/Steps.d.ts +6 -6
- package/lib/Steps/model.d.ts +16 -16
- package/lib/Steps/styles.d.ts +7 -7
- package/lib/Styled/GlobalStyles.d.ts +1 -1
- package/lib/Styled/MooskinContextProvider.d.ts +6 -6
- package/lib/Styled/model.d.ts +223 -223
- package/lib/Switch/Switch.d.ts +4 -4
- package/lib/Switch/model.d.ts +16 -16
- package/lib/Switch/styles.d.ts +7 -7
- package/lib/Table/Table.d.ts +7 -7
- package/lib/Table/styles.d.ts +7 -7
- package/lib/Tabs/Tabs.d.ts +6 -6
- package/lib/Tabs/model.d.ts +13 -13
- package/lib/Tabs/styles.d.ts +6 -6
- package/lib/Tags/Tags.d.ts +8 -8
- package/lib/Tags/model.d.ts +20 -20
- package/lib/Tags/styles.d.ts +8 -8
- package/lib/Text/Text.d.ts +3 -3
- package/lib/Text/model.d.ts +4 -4
- package/lib/Text/styles.d.ts +3 -3
- package/lib/TextArea/TextArea.d.ts +3 -3
- package/lib/TextArea/model.d.ts +4 -4
- package/lib/TextArea/styles.d.ts +2 -2
- package/lib/TextEditor/TextEditor.d.ts +3 -3
- package/lib/TextEditor/model.d.ts +19 -15
- package/lib/_utils/globals/locales.d.ts +20 -20
- package/lib/_utils/globals/screens.d.ts +29 -29
- package/lib/_utils/globals/variables.d.ts +3 -3
- package/lib/_utils/helper.d.ts +103 -103
- package/lib/_utils/index.d.ts +1 -3
- package/lib/_utils/test-setup.d.ts +1 -0
- package/lib/_utils/types/commonTypes.d.ts +4 -4
- package/lib/components/ActionsDropdown/ActionsDropdown.d.ts +6 -6
- package/lib/components/ActionsDropdown/ActionsDropdown.js +82 -0
- package/lib/components/ActionsDropdown/ActionsDropdown.js.map +1 -0
- package/lib/{_utils/adapter.d.ts → components/ActionsDropdown/ActionsDropdown.spec.d.ts} +1 -1
- 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 +12 -12
- package/lib/components/ActionsDropdown/model.js +2 -0
- package/lib/components/ActionsDropdown/model.js.map +1 -0
- package/lib/components/ActionsDropdown/styles.d.ts +10 -10
- package/lib/components/ActionsDropdown/styles.js +94 -0
- package/lib/components/ActionsDropdown/styles.js.map +1 -0
- package/lib/components/Alert/Alert.d.ts +8 -8
- package/lib/components/Alert/Alert.js +105 -0
- package/lib/components/Alert/Alert.js.map +1 -0
- package/lib/components/{_utils/adapter.d.ts → Alert/Alert.spec.d.ts} +1 -1
- 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 +5 -5
- package/lib/components/Alert/model.js +2 -0
- package/lib/components/Alert/model.js.map +1 -0
- package/lib/components/Alert/styles.d.ts +8 -8
- package/lib/components/Alert/styles.js +126 -0
- package/lib/components/Alert/styles.js.map +1 -0
- package/lib/components/Anchor/Anchor.d.ts +3 -3
- 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 +4 -4
- package/lib/components/Anchor/model.js +2 -0
- package/lib/components/Anchor/model.js.map +1 -0
- package/lib/components/Anchor/styles.d.ts +3 -3
- package/lib/components/Anchor/styles.js +18 -0
- package/lib/components/Anchor/styles.js.map +1 -0
- package/lib/components/Box/Box.d.ts +3 -3
- 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 +125 -120
- package/lib/components/Box/model.js +103 -0
- package/lib/components/Box/model.js.map +1 -0
- package/lib/components/Box/resources.d.ts +9 -9
- package/lib/components/Box/resources.js +311 -0
- package/lib/components/Box/resources.js.map +1 -0
- package/lib/components/Box/styles.d.ts +8 -8
- package/lib/components/Box/styles.js +290 -0
- package/lib/components/Box/styles.js.map +1 -0
- package/lib/components/Button/Button.d.ts +7 -7
- 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 +8 -6
- package/lib/components/Button/model.js +2 -0
- package/lib/components/Button/model.js.map +1 -0
- package/lib/components/Button/styles.d.ts +7 -7
- package/lib/components/Button/styles.js +84 -0
- package/lib/components/Button/styles.js.map +1 -0
- package/lib/components/Carousel/Carousel.d.ts +7 -7
- 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.d.ts +33 -33
- package/lib/components/Carousel/model.js +2 -0
- package/lib/components/Carousel/model.js.map +1 -0
- package/lib/components/Carousel/styles.d.ts +4 -4
- package/lib/components/Carousel/styles.js +18 -0
- package/lib/components/Carousel/styles.js.map +1 -0
- package/lib/components/Checkbox/Checkbox.d.ts +8 -8
- 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 +13 -13
- package/lib/components/Checkbox/model.js +2 -0
- package/lib/components/Checkbox/model.js.map +1 -0
- package/lib/components/Checkbox/styles.d.ts +6 -6
- package/lib/components/Checkbox/styles.js +35 -0
- package/lib/components/Checkbox/styles.js.map +1 -0
- package/lib/components/DatePicker/DatePicker.d.ts +3 -3
- 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 +16 -16
- package/lib/components/DatePicker/model.js +2 -0
- package/lib/components/DatePicker/model.js.map +1 -0
- package/lib/components/DateRange/DateRange.d.ts +5 -5
- 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 +17 -17
- package/lib/components/DateRange/model.js +2 -0
- package/lib/components/DateRange/model.js.map +1 -0
- package/lib/components/DateRange/styles.d.ts +3 -3
- package/lib/components/DateRange/styles.js +58 -0
- package/lib/components/DateRange/styles.js.map +1 -0
- package/lib/components/DateSelect/DateSelect.d.ts +3 -3
- 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 +7 -7
- package/lib/components/DateSelect/model.js +2 -0
- package/lib/components/DateSelect/model.js.map +1 -0
- package/lib/components/DateTimePicker/DateTimePicker.d.ts +3 -3
- 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 +15 -11
- package/lib/components/DateTimePicker/model.js +2 -0
- package/lib/components/DateTimePicker/model.js.map +1 -0
- package/lib/components/Description/Description.d.ts +3 -3
- 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 +3 -3
- package/lib/components/Description/styles.js +11 -0
- package/lib/components/Description/styles.js.map +1 -0
- package/lib/components/Drawer/Drawer.d.ts +10 -10
- 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 +21 -21
- package/lib/components/Drawer/model.js +2 -0
- package/lib/components/Drawer/model.js.map +1 -0
- package/lib/components/Drawer/styles.d.ts +25 -25
- package/lib/components/Drawer/styles.js +202 -0
- package/lib/components/Drawer/styles.js.map +1 -0
- package/lib/components/Expandable/Expandable.d.ts +9 -9
- 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 +13 -13
- package/lib/components/Expandable/model.js +2 -0
- package/lib/components/Expandable/model.js.map +1 -0
- package/lib/components/Expandable/styles.d.ts +9 -9
- package/lib/components/Expandable/styles.js +45 -0
- package/lib/components/Expandable/styles.js.map +1 -0
- package/lib/components/Footer/Footer.d.ts +6 -6
- 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 +7 -7
- package/lib/components/Footer/styles.js +34 -0
- package/lib/components/Footer/styles.js.map +1 -0
- package/lib/components/Grid/Grid.d.ts +5 -5
- 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 +18 -18
- package/lib/components/Grid/model.js +2 -0
- package/lib/components/Grid/model.js.map +1 -0
- package/lib/components/Grid/styles.d.ts +5 -5
- package/lib/components/Grid/styles.js +76 -0
- package/lib/components/Grid/styles.js.map +1 -0
- package/lib/components/IconButton/IconButton.d.ts +3 -3
- 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 +4 -4
- package/lib/components/IconButton/model.js +2 -0
- package/lib/components/IconButton/model.js.map +1 -0
- package/lib/components/IconButton/styles.d.ts +3 -3
- package/lib/components/IconButton/styles.js +14 -0
- package/lib/components/IconButton/styles.js.map +1 -0
- package/lib/components/Image/Image.d.ts +3 -3
- 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.d.ts +2 -2
- package/lib/components/Image/styles.js +7 -0
- package/lib/components/Image/styles.js.map +1 -0
- package/lib/components/Input/Input.d.ts +12 -12
- 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 +30 -30
- package/lib/components/Input/model.js +2 -0
- package/lib/components/Input/model.js.map +1 -0
- package/lib/components/Input/styles.d.ts +13 -13
- package/lib/components/Input/styles.js +99 -0
- package/lib/components/Input/styles.js.map +1 -0
- package/lib/components/Label/Label.d.ts +3 -3
- 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 → model.d.ts} +5 -5
- package/lib/components/Label/model.js +2 -0
- package/lib/components/Label/model.js.map +1 -0
- package/lib/components/Label/styles.d.ts +3 -3
- package/lib/components/Label/styles.js +12 -0
- package/lib/components/Label/styles.js.map +1 -0
- package/lib/components/Layout/Layout.d.ts +3 -3
- 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 +5 -5
- package/lib/components/Layout/model.js +2 -0
- package/lib/components/Layout/model.js.map +1 -0
- package/lib/components/Layout/styles.d.ts +3 -3
- package/lib/components/Layout/styles.js +10 -0
- package/lib/components/Layout/styles.js.map +1 -0
- package/lib/components/List/List.d.ts +8 -8
- 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 +7 -7
- package/lib/components/List/styles.js +28 -0
- package/lib/components/List/styles.js.map +1 -0
- package/lib/components/Loader/Loader.d.ts +3 -3
- 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 +5 -5
- package/lib/components/Loader/model.js +2 -0
- package/lib/components/Loader/model.js.map +1 -0
- package/lib/components/Loader/styles.d.ts +4 -4
- package/lib/components/Loader/styles.js +24 -0
- package/lib/components/Loader/styles.js.map +1 -0
- package/lib/components/LoadingBar/LoadingBar.d.ts +3 -3
- 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 +7 -7
- package/lib/components/LoadingBar/model.js +2 -0
- package/lib/components/LoadingBar/model.js.map +1 -0
- package/lib/components/LoadingBar/styles.d.ts +3 -3
- package/lib/components/LoadingBar/styles.js +22 -0
- package/lib/components/LoadingBar/styles.js.map +1 -0
- package/lib/components/Modal/Modal.d.ts +10 -10
- 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 +15 -15
- package/lib/components/Modal/model.js +2 -0
- package/lib/components/Modal/model.js.map +1 -0
- package/lib/components/Modal/styles.d.ts +14 -14
- package/lib/components/Modal/styles.js +121 -0
- package/lib/components/Modal/styles.js.map +1 -0
- package/lib/components/NumberLabel/NumberLabel.d.ts +3 -3
- 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 +7 -7
- package/lib/components/NumberLabel/model.js +2 -0
- package/lib/components/NumberLabel/model.js.map +1 -0
- package/lib/components/Pagination/Pagination.d.ts +4 -4
- 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 +12 -12
- package/lib/components/Pagination/model.js +2 -0
- package/lib/components/Pagination/model.js.map +1 -0
- package/lib/components/Pagination/styles.d.ts +6 -6
- package/lib/components/Pagination/styles.js +49 -0
- package/lib/components/Pagination/styles.js.map +1 -0
- package/lib/components/Radio/Radio.d.ts +8 -8
- 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 +14 -14
- package/lib/components/Radio/model.js +2 -0
- package/lib/components/Radio/model.js.map +1 -0
- package/lib/components/Radio/styles.d.ts +6 -6
- package/lib/components/Radio/styles.js +37 -0
- package/lib/components/Radio/styles.js.map +1 -0
- package/lib/components/Select/Select.d.ts +14 -14
- 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 +28 -25
- package/lib/components/Select/model.js +2 -0
- package/lib/components/Select/model.js.map +1 -0
- package/lib/components/Select/styles.d.ts +17 -17
- package/lib/components/Select/styles.js +159 -0
- package/lib/components/Select/styles.js.map +1 -0
- package/lib/components/Selector/Selector.d.ts +4 -4
- 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 +10 -10
- package/lib/components/Selector/model.js +2 -0
- package/lib/components/Selector/model.js.map +1 -0
- package/lib/components/Selector/styles.d.ts +4 -4
- package/lib/components/Selector/styles.js +44 -0
- package/lib/components/Selector/styles.js.map +1 -0
- package/lib/components/Sidemenu/Sidemenu.d.ts +4 -4
- 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 +10 -10
- package/lib/components/Sidemenu/model.js +2 -0
- package/lib/components/Sidemenu/model.js.map +1 -0
- package/lib/components/Sidemenu/styles.d.ts +4 -4
- package/lib/components/Sidemenu/styles.js +29 -0
- package/lib/components/Sidemenu/styles.js.map +1 -0
- package/lib/components/Skeleton/Skeleton.d.ts +5 -5
- 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 +14 -14
- package/lib/components/Skeleton/model.js +2 -0
- package/lib/components/Skeleton/model.js.map +1 -0
- package/lib/components/Skeleton/styles.d.ts +6 -6
- package/lib/components/Skeleton/styles.js +53 -0
- package/lib/components/Skeleton/styles.js.map +1 -0
- package/lib/components/Slider/Slider.d.ts +3 -3
- 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 +7 -7
- package/lib/components/Slider/model.js +2 -0
- package/lib/components/Slider/model.js.map +1 -0
- package/lib/components/Slider/styles.d.ts +3 -3
- package/lib/components/Slider/styles.js +61 -0
- package/lib/components/Slider/styles.js.map +1 -0
- package/lib/components/Stack/Stack.d.ts +5 -5
- 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 +6 -6
- package/lib/components/Stack/model.js +2 -0
- package/lib/components/Stack/model.js.map +1 -0
- package/lib/components/Stack/styles.d.ts +3 -3
- package/lib/components/Stack/styles.js +12 -0
- package/lib/components/Stack/styles.js.map +1 -0
- package/lib/components/Steps/Steps.d.ts +6 -6
- 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 +16 -16
- package/lib/components/Steps/model.js +2 -0
- package/lib/components/Steps/model.js.map +1 -0
- package/lib/components/Steps/styles.d.ts +7 -7
- package/lib/components/Steps/styles.js +45 -0
- package/lib/components/Steps/styles.js.map +1 -0
- package/lib/components/Styled/GlobalStyles.d.ts +1 -1
- package/lib/components/Styled/GlobalStyles.js +50 -0
- package/lib/components/Styled/GlobalStyles.js.map +1 -0
- package/lib/components/Styled/MooskinContextProvider.d.ts +6 -6
- package/lib/components/Styled/MooskinContextProvider.js +31 -0
- package/lib/components/Styled/MooskinContextProvider.js.map +1 -0
- package/lib/components/Styled/model.d.ts +223 -223
- package/lib/components/Styled/model.js +2 -0
- package/lib/components/Styled/model.js.map +1 -0
- package/lib/components/Switch/Switch.d.ts +4 -4
- 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 +16 -16
- package/lib/components/Switch/model.js +2 -0
- package/lib/components/Switch/model.js.map +1 -0
- package/lib/components/Switch/styles.d.ts +7 -7
- package/lib/components/Switch/styles.js +58 -0
- package/lib/components/Switch/styles.js.map +1 -0
- package/lib/components/Table/Table.d.ts +7 -7
- 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 +7 -7
- package/lib/components/Table/styles.js +56 -0
- package/lib/components/Table/styles.js.map +1 -0
- package/lib/components/Tabs/Tabs.d.ts +6 -6
- 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 +13 -13
- package/lib/components/Tabs/model.js +2 -0
- package/lib/components/Tabs/model.js.map +1 -0
- package/lib/components/Tabs/styles.d.ts +6 -6
- package/lib/components/Tabs/styles.js +29 -0
- package/lib/components/Tabs/styles.js.map +1 -0
- package/lib/components/Tags/Tags.d.ts +8 -8
- 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 +20 -20
- package/lib/components/Tags/model.js +2 -0
- package/lib/components/Tags/model.js.map +1 -0
- package/lib/components/Tags/styles.d.ts +8 -8
- package/lib/components/Tags/styles.js +58 -0
- package/lib/components/Tags/styles.js.map +1 -0
- package/lib/components/Text/Text.d.ts +3 -3
- 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 +4 -4
- package/lib/components/Text/model.js +2 -0
- package/lib/components/Text/model.js.map +1 -0
- package/lib/components/Text/styles.d.ts +3 -3
- package/lib/components/Text/styles.js +11 -0
- package/lib/components/Text/styles.js.map +1 -0
- package/lib/components/TextArea/TextArea.d.ts +3 -3
- 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 +4 -4
- package/lib/components/TextArea/model.js +2 -0
- package/lib/components/TextArea/model.js.map +1 -0
- package/lib/components/TextArea/styles.d.ts +2 -2
- package/lib/components/TextArea/styles.js +14 -0
- package/lib/components/TextArea/styles.js.map +1 -0
- package/lib/components/TextEditor/TextEditor.d.ts +3 -3
- 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 +19 -15
- package/lib/components/TextEditor/model.js +2 -0
- package/lib/components/TextEditor/model.js.map +1 -0
- package/lib/components/_utils/globals/locales.d.ts +20 -20
- 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.d.ts +29 -29
- 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 +3 -3
- 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 +103 -103
- 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.d.ts +4 -4
- 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 +87 -87
- package/lib/components/index/index.js +50 -0
- package/lib/components/index/index.js.map +1 -0
- package/lib/index/index.d.ts +87 -87
- 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 +9 -7
- package/lib/stories/ActionsDropdown.stories.js +26 -0
- package/lib/stories/ActionsDropdown.stories.js.map +1 -0
- package/lib/stories/Alert.stories.d.ts +9 -7
- package/lib/stories/Alert.stories.js +29 -0
- package/lib/stories/Alert.stories.js.map +1 -0
- package/lib/stories/Anchor.stories.d.ts +10 -6
- package/lib/stories/Anchor.stories.js +21 -0
- package/lib/stories/Anchor.stories.js.map +1 -0
- package/lib/stories/Box.stories.d.ts +9 -5
- package/lib/stories/Box.stories.js +21 -0
- package/lib/stories/Box.stories.js.map +1 -0
- package/lib/stories/Button.stories.d.ts +9 -8
- package/lib/stories/Button.stories.js +39 -0
- package/lib/stories/Button.stories.js.map +1 -0
- package/lib/stories/Carousel.stories.d.ts +9 -5
- package/lib/stories/Carousel.stories.js +16 -0
- package/lib/stories/Carousel.stories.js.map +1 -0
- package/lib/stories/Checkbox.stories.d.ts +13 -9
- package/lib/stories/Checkbox.stories.js +43 -0
- package/lib/stories/Checkbox.stories.js.map +1 -0
- package/lib/stories/DatePicker.stories.d.ts +9 -5
- package/lib/stories/DatePicker.stories.js +15 -0
- package/lib/stories/DatePicker.stories.js.map +1 -0
- package/lib/stories/DateRange.stories.d.ts +9 -5
- package/lib/stories/DateRange.stories.js +25 -0
- package/lib/stories/DateRange.stories.js.map +1 -0
- package/lib/stories/DateSelect.stories.d.ts +14 -10
- package/lib/stories/DateSelect.stories.js +46 -0
- package/lib/stories/DateSelect.stories.js.map +1 -0
- package/lib/stories/DateTimePicker.stories.d.ts +9 -5
- package/lib/stories/DateTimePicker.stories.js +15 -0
- package/lib/stories/DateTimePicker.stories.js.map +1 -0
- package/lib/stories/Drawer.stories.d.ts +12 -8
- package/lib/stories/Drawer.stories.js +58 -0
- package/lib/stories/Drawer.stories.js.map +1 -0
- package/lib/stories/Expandable.stories.d.ts +9 -5
- package/lib/stories/Expandable.stories.js +22 -0
- package/lib/stories/Expandable.stories.js.map +1 -0
- package/lib/stories/Footer.stories.d.ts +9 -5
- package/lib/stories/Footer.stories.js +25 -0
- package/lib/stories/Footer.stories.js.map +1 -0
- package/lib/stories/Grid.stories.d.ts +9 -5
- package/lib/stories/Grid.stories.js +52 -0
- package/lib/stories/Grid.stories.js.map +1 -0
- package/lib/stories/IconButton.stories.d.ts +10 -6
- package/lib/stories/IconButton.stories.js +21 -0
- package/lib/stories/IconButton.stories.js.map +1 -0
- package/lib/stories/Input.stories.d.ts +10 -7
- package/lib/stories/Input.stories.js +58 -0
- package/lib/stories/Input.stories.js.map +1 -0
- package/lib/stories/Layout.stories.d.ts +9 -5
- package/lib/stories/Layout.stories.js +24 -0
- package/lib/stories/Layout.stories.js.map +1 -0
- package/lib/stories/List.stories.d.ts +9 -6
- package/lib/stories/List.stories.js +87 -0
- package/lib/stories/List.stories.js.map +1 -0
- package/lib/stories/Loader.stories.d.ts +9 -5
- package/lib/stories/Loader.stories.js +12 -0
- package/lib/stories/Loader.stories.js.map +1 -0
- package/lib/stories/LoadingBar.stories.d.ts +9 -5
- package/lib/stories/LoadingBar.stories.js +16 -0
- package/lib/stories/LoadingBar.stories.js.map +1 -0
- package/lib/stories/Modal.stories.d.ts +9 -5
- package/lib/stories/Modal.stories.js +21 -0
- package/lib/stories/Modal.stories.js.map +1 -0
- package/lib/stories/NumberLabel.stories.d.ts +15 -11
- package/lib/stories/NumberLabel.stories.js +39 -0
- package/lib/stories/NumberLabel.stories.js.map +1 -0
- package/lib/stories/Pagination.stories.d.ts +9 -5
- package/lib/stories/Pagination.stories.js +17 -0
- package/lib/stories/Pagination.stories.js.map +1 -0
- package/lib/stories/Radio.stories.d.ts +13 -9
- package/lib/stories/Radio.stories.js +44 -0
- package/lib/stories/Radio.stories.js.map +1 -0
- package/lib/stories/Select.stories.d.ts +12 -8
- package/lib/stories/Select.stories.js +83 -0
- package/lib/stories/Select.stories.js.map +1 -0
- package/lib/stories/Selector.stories.d.ts +9 -5
- package/lib/stories/Selector.stories.js +20 -0
- package/lib/stories/Selector.stories.js.map +1 -0
- package/lib/stories/Sidemenu.stories.d.ts +9 -5
- package/lib/stories/Sidemenu.stories.js +17 -0
- package/lib/stories/Sidemenu.stories.js.map +1 -0
- package/lib/stories/Skeleton.stories.d.ts +11 -7
- package/lib/stories/Skeleton.stories.js +41 -0
- package/lib/stories/Skeleton.stories.js.map +1 -0
- package/lib/stories/Slider.stories.d.ts +9 -5
- package/lib/stories/Slider.stories.js +14 -0
- package/lib/stories/Slider.stories.js.map +1 -0
- package/lib/stories/Stack.stories.d.ts +14 -10
- package/lib/stories/Stack.stories.js +86 -0
- package/lib/stories/Stack.stories.js.map +1 -0
- package/lib/stories/StackedTags.stories.d.ts +9 -5
- package/lib/stories/StackedTags.stories.js +28 -0
- package/lib/stories/StackedTags.stories.js.map +1 -0
- package/lib/stories/Steps.stories.d.ts +9 -5
- package/lib/stories/Steps.stories.js +20 -0
- package/lib/stories/Steps.stories.js.map +1 -0
- package/lib/stories/Switch.stories.d.ts +11 -7
- package/lib/stories/Switch.stories.js +25 -0
- package/lib/stories/Switch.stories.js.map +1 -0
- package/lib/stories/Table.stories.d.ts +9 -5
- package/lib/stories/Table.stories.js +42 -0
- package/lib/stories/Table.stories.js.map +1 -0
- package/lib/stories/Tabs.stories.d.ts +9 -5
- package/lib/stories/Tabs.stories.js +19 -0
- package/lib/stories/Tabs.stories.js.map +1 -0
- package/lib/stories/Tags.stories.d.ts +11 -7
- package/lib/stories/Tags.stories.js +40 -0
- package/lib/stories/Tags.stories.js.map +1 -0
- package/lib/stories/TextEditor.stories.d.ts +13 -9
- package/lib/stories/TextEditor.stories.js +41 -0
- package/lib/stories/TextEditor.stories.js.map +1 -0
- package/lib/stories/Textarea.stories.d.ts +10 -6
- package/lib/stories/Textarea.stories.js +21 -0
- package/lib/stories/Textarea.stories.js.map +1 -0
- package/package.json +136 -126
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017 Moosend
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017 Moosend
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
WIP
|
|
1
|
+
WIP
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { IActionsDropdownComponentProps, IActionsDropdownItemComponentProps } from './model';
|
|
4
|
-
export declare const ActionsDropdown: React.FC<IActionsDropdownComponentProps>;
|
|
5
|
-
export declare const ActionsDropdownItem: React.FC<IActionsDropdownItemComponentProps>;
|
|
6
|
-
export declare const ActionsDropdownArrow: React.FC<IBoxComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import type { IActionsDropdownComponentProps, IActionsDropdownItemComponentProps } from './model';
|
|
4
|
+
export declare const ActionsDropdown: React.FC<IActionsDropdownComponentProps>;
|
|
5
|
+
export declare const ActionsDropdownItem: React.FC<IActionsDropdownItemComponentProps>;
|
|
6
|
+
export declare const ActionsDropdownArrow: React.FC<IBoxComponentProps>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
4
|
-
export interface IActionsDropdownComponentProps extends IBoxComponentProps {
|
|
5
|
-
isOpen?: boolean;
|
|
6
|
-
onClickItem?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
7
|
-
onClose?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
8
|
-
}
|
|
9
|
-
export interface IActionsDropdownItemComponentProps extends IBoxComponentProps {
|
|
10
|
-
dataLabel?: any;
|
|
11
|
-
value?: any;
|
|
12
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IInputCallbackData } from '../_utils/types/commonTypes';
|
|
3
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
4
|
+
export interface IActionsDropdownComponentProps extends IBoxComponentProps {
|
|
5
|
+
isOpen?: boolean;
|
|
6
|
+
onClickItem?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
|
|
7
|
+
onClose?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
8
|
+
}
|
|
9
|
+
export interface IActionsDropdownItemComponentProps extends IBoxComponentProps {
|
|
10
|
+
dataLabel?: any;
|
|
11
|
+
value?: any;
|
|
12
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IBoxComponentProps } from '../index';
|
|
3
|
-
import { IActionsDropdownComponentProps, IActionsDropdownItemComponentProps } from './model';
|
|
4
|
-
export declare const StyledActionsDropdown: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
5
|
-
export declare const StyledActionsDropdownFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
6
|
-
export declare const StyledActionsDropdownFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
7
|
-
export declare const StyledActionsDropdownItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownItemComponentProps, never>;
|
|
8
|
-
export declare const StyledActionsDropdownArrow: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../index").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
9
|
-
export declare const StyledActionsDropdownButtonClose: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../index").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
10
|
-
export declare const StyledActionDropdownOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../index").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IBoxComponentProps } from '../index';
|
|
3
|
+
import type { IActionsDropdownComponentProps, IActionsDropdownItemComponentProps } from './model';
|
|
4
|
+
export declare const StyledActionsDropdown: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
5
|
+
export declare const StyledActionsDropdownFadeIn: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
6
|
+
export declare const StyledActionsDropdownFadeOut: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownComponentProps, never>;
|
|
7
|
+
export declare const StyledActionsDropdownItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IActionsDropdownItemComponentProps, never>;
|
|
8
|
+
export declare const StyledActionsDropdownArrow: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../index").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
9
|
+
export declare const StyledActionsDropdownButtonClose: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../index").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
10
|
+
export declare const StyledActionDropdownOverlay: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../index").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
package/lib/Alert/Alert.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IBaseAlertComponentProps } from './model';
|
|
3
|
-
export declare const Alert: React.FC<IBaseAlertComponentProps>;
|
|
4
|
-
export declare const AlertIcon: React.FC<IBaseAlertComponentProps>;
|
|
5
|
-
export declare const AlertTitle: React.FC<IBaseAlertComponentProps>;
|
|
6
|
-
export declare const AlertDescription: React.FC<IBaseAlertComponentProps>;
|
|
7
|
-
export declare const AlertCloseButton: React.FC<IBaseAlertComponentProps>;
|
|
8
|
-
export declare const AlertButton: React.FC<IBaseAlertComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { IBaseAlertComponentProps } from './model';
|
|
3
|
+
export declare const Alert: React.FC<IBaseAlertComponentProps>;
|
|
4
|
+
export declare const AlertIcon: React.FC<IBaseAlertComponentProps>;
|
|
5
|
+
export declare const AlertTitle: React.FC<IBaseAlertComponentProps>;
|
|
6
|
+
export declare const AlertDescription: React.FC<IBaseAlertComponentProps>;
|
|
7
|
+
export declare const AlertCloseButton: React.FC<IBaseAlertComponentProps>;
|
|
8
|
+
export declare const AlertButton: React.FC<IBaseAlertComponentProps>;
|
package/lib/Alert/model.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
2
|
-
export interface IBaseAlertComponentProps extends IBoxComponentProps {
|
|
3
|
-
status?: 'info' | 'warning' | 'success' | 'error';
|
|
4
|
-
variant?: 'subtle' | 'solid' | 'left-accent' | 'top-accent';
|
|
5
|
-
}
|
|
1
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
2
|
+
export interface IBaseAlertComponentProps extends IBoxComponentProps {
|
|
3
|
+
status?: 'info' | 'warning' | 'success' | 'error';
|
|
4
|
+
variant?: 'subtle' | 'solid' | 'left-accent' | 'top-accent';
|
|
5
|
+
}
|
package/lib/Alert/styles.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IBaseAlertComponentProps } from './model';
|
|
3
|
-
export declare const StyledAlert: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
4
|
-
export declare const StyledAlertButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IButtonComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
5
|
-
export declare const StyledAlertTitle: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
6
|
-
export declare const StyledAlertDescription: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
7
|
-
export declare const StyledAlertIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
8
|
-
export declare const StyledAlertCloseButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IBaseAlertComponentProps } from './model';
|
|
3
|
+
export declare const StyledAlert: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
4
|
+
export declare const StyledAlertButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IButtonComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
5
|
+
export declare const StyledAlertTitle: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
6
|
+
export declare const StyledAlertDescription: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
7
|
+
export declare const StyledAlertIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
|
8
|
+
export declare const StyledAlertCloseButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IBaseAlertComponentProps, never>;
|
package/lib/Anchor/Anchor.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IAnchorComponentProps } from './model';
|
|
3
|
-
export declare const Anchor: React.FC<IAnchorComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { IAnchorComponentProps } from './model';
|
|
3
|
+
export declare const Anchor: React.FC<IAnchorComponentProps>;
|
package/lib/Anchor/model.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAnchorBoxComponentProps } from '../Box/model';
|
|
2
|
-
export interface IAnchorComponentProps extends IAnchorBoxComponentProps {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
}
|
|
1
|
+
import type { IAnchorBoxComponentProps } from '../Box/model';
|
|
2
|
+
export interface IAnchorComponentProps extends IAnchorBoxComponentProps {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
}
|
package/lib/Anchor/styles.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IAnchorComponentProps } from './model';
|
|
3
|
-
export declare const StyledAnchor: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IAnchorComponentProps, never>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IAnchorComponentProps } from './model';
|
|
3
|
+
export declare const StyledAnchor: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IAnchorComponentProps, never>;
|
package/lib/Box/Box.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from './model';
|
|
3
|
-
export declare const Box: React.FC<IBoxComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { IBoxComponentProps } from './model';
|
|
3
|
+
export declare const Box: React.FC<IBoxComponentProps>;
|
package/lib/Box/model.d.ts
CHANGED
|
@@ -1,120 +1,125 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IMooskinContext, IStyledTheme, IThemeBackgroundColors, IThemeBorderColors, IThemeFontColors } from '../Styled/model';
|
|
3
|
-
export declare type IntensityType = 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl';
|
|
4
|
-
export declare type BoxShadowIntensityType = IntensityType | 'inner' | 'outline';
|
|
5
|
-
export declare type NestedThemeType = `${keyof IStyledTheme}.${keyof IThemeFontColors | keyof IThemeBorderColors | keyof IThemeBackgroundColors}`;
|
|
6
|
-
export declare type ScreenType = 'lg' | 'md' | 'sm' | 'xs';
|
|
7
|
-
export declare const boxComponentProps: string[];
|
|
8
|
-
export declare type IBoxComponentProps = IBaseBoxComponentProps & React.HTMLAttributes<HTMLElement>;
|
|
9
|
-
export declare type IBoxImageComponentProps = IBaseBoxComponentProps & React.ImgHTMLAttributes<HTMLImageElement>;
|
|
10
|
-
export declare type IBoxLabelComponentProps = IBaseBoxComponentProps & React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
11
|
-
export declare type IButtonBoxComponentProps = IBoxComponentProps & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
12
|
-
export declare type IInputBoxComponentProps = IBoxComponentProps & React.InputHTMLAttributes<HTMLInputElement>;
|
|
13
|
-
export declare type IAnchorBoxComponentProps = IBoxComponentProps & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
14
|
-
export declare type ITextAreaBoxComponentProps = IBoxComponentProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
15
|
-
export interface IBaseBoxComponentProps extends IMooskinContext {
|
|
16
|
-
noRender?: Array<ScreenType>;
|
|
17
|
-
setRef?: (ref: HTMLElement) => void;
|
|
18
|
-
boxAs?: any;
|
|
19
|
-
m?: React.CSSProperties['margin'] | Array<React.CSSProperties['margin']>;
|
|
20
|
-
mt?: React.CSSProperties['marginTop'] | Array<React.CSSProperties['marginTop']>;
|
|
21
|
-
mr?: React.CSSProperties['marginRight'] | Array<React.CSSProperties['marginRight']>;
|
|
22
|
-
mb?: React.CSSProperties['marginBottom'] | Array<React.CSSProperties['marginBottom']>;
|
|
23
|
-
ml?: React.CSSProperties['marginLeft'] | Array<React.CSSProperties['marginLeft']>;
|
|
24
|
-
mx?: number | string | Array<number | string>;
|
|
25
|
-
my?: number | string | Array<number | string>;
|
|
26
|
-
p?: React.CSSProperties['padding'] | Array<React.CSSProperties['padding']>;
|
|
27
|
-
pt?: React.CSSProperties['paddingTop'] | Array<React.CSSProperties['paddingTop']>;
|
|
28
|
-
pr?: React.CSSProperties['paddingRight'] | Array<React.CSSProperties['paddingRight']>;
|
|
29
|
-
pb?: React.CSSProperties['paddingBottom'] | Array<React.CSSProperties['paddingBottom']>;
|
|
30
|
-
pl?: React.CSSProperties['paddingLeft'] | Array<React.CSSProperties['paddingLeft']>;
|
|
31
|
-
px?: number | string | Array<number | string>;
|
|
32
|
-
py?: number | string | Array<number | string>;
|
|
33
|
-
fontColor?: React.CSSProperties['color'] | NestedThemeType | Array<React.CSSProperties['color']>;
|
|
34
|
-
opacity?: React.CSSProperties['opacity'] | Array<React.CSSProperties['opacity']>;
|
|
35
|
-
fontFamily?: React.CSSProperties['fontFamily'] | Array<React.CSSProperties['fontFamily']>;
|
|
36
|
-
fontSize?: React.CSSProperties['fontSize'] | Array<React.CSSProperties['fontSize']>;
|
|
37
|
-
fontWeight?: React.CSSProperties['fontWeight'] | Array<React.CSSProperties['fontWeight']>;
|
|
38
|
-
lineHeight?: React.CSSProperties['lineHeight'] | Array<React.CSSProperties['lineHeight']>;
|
|
39
|
-
textAlign?: React.CSSProperties['textAlign'] | Array<React.CSSProperties['textAlign']>;
|
|
40
|
-
fontStyle?: React.CSSProperties['fontStyle'] | Array<React.CSSProperties['fontStyle']>;
|
|
41
|
-
textTransform?: React.CSSProperties['textTransform'] | Array<React.CSSProperties['textTransform']>;
|
|
42
|
-
textDecoration?: React.CSSProperties['textDecoration'] | Array<React.CSSProperties['textDecoration']>;
|
|
43
|
-
w?: React.CSSProperties['width'] | Array<React.CSSProperties['width']>;
|
|
44
|
-
h?: React.CSSProperties['height'] | Array<React.CSSProperties['height']>;
|
|
45
|
-
maxW?: React.CSSProperties['maxWidth'] | Array<React.CSSProperties['maxWidth']>;
|
|
46
|
-
minW?: React.CSSProperties['minWidth'] | Array<React.CSSProperties['minWidth']>;
|
|
47
|
-
maxH?: React.CSSProperties['maxHeight'] | Array<React.CSSProperties['maxHeight']>;
|
|
48
|
-
minH?: React.CSSProperties['minHeight'] | Array<React.CSSProperties['minHeight']>;
|
|
49
|
-
d?: React.CSSProperties['display'] | Array<React.CSSProperties['display']>;
|
|
50
|
-
overflow?: React.CSSProperties['overflow'] | Array<React.CSSProperties['overflow']>;
|
|
51
|
-
overflowX?: React.CSSProperties['overflowX'] | Array<React.CSSProperties['overflowX']>;
|
|
52
|
-
overflowY?: React.CSSProperties['overflowY'] | Array<React.CSSProperties['overflowY']>;
|
|
53
|
-
align?: React.CSSProperties['alignItems'] | Array<React.CSSProperties['alignItems']>;
|
|
54
|
-
alignContent?: React.CSSProperties['alignContent'] | Array<React.CSSProperties['alignContent']>;
|
|
55
|
-
alignSelf?: React.CSSProperties['alignSelf'] | Array<React.CSSProperties['alignSelf']>;
|
|
56
|
-
justifyItems?: React.CSSProperties['justifyItems'] | Array<React.CSSProperties['justifyItems']>;
|
|
57
|
-
justify?: React.CSSProperties['justifyContent'] | Array<React.CSSProperties['justifyContent']>;
|
|
58
|
-
justifySelf?: React.CSSProperties['justifySelf'] | Array<React.CSSProperties['justifySelf']>;
|
|
59
|
-
flexWrap?: React.CSSProperties['flexWrap'] | Array<React.CSSProperties['flexWrap']>;
|
|
60
|
-
direction?: React.CSSProperties['flexDirection'] | Array<React.CSSProperties['flexDirection']>;
|
|
61
|
-
flex?: React.CSSProperties['flex'] | Array<React.CSSProperties['flex']>;
|
|
62
|
-
flexGrow?: React.CSSProperties['flexGrow'] | Array<React.CSSProperties['flexGrow']>;
|
|
63
|
-
flexShrink?: React.CSSProperties['flexShrink'] | Array<React.CSSProperties['flexShrink']>;
|
|
64
|
-
flexBasis?: React.CSSProperties['flexBasis'] | Array<React.CSSProperties['flexBasis']>;
|
|
65
|
-
order?: React.CSSProperties['order'] | Array<React.CSSProperties['order']>;
|
|
66
|
-
bg?: React.CSSProperties['background'] | Array<React.CSSProperties['background']>;
|
|
67
|
-
bgImage?: React.CSSProperties['backgroundImage'] | Array<React.CSSProperties['backgroundImage']>;
|
|
68
|
-
bgColor?: React.CSSProperties['backgroundColor'] | NestedThemeType | Array<React.CSSProperties['backgroundColor']>;
|
|
69
|
-
bgSize?: React.CSSProperties['backgroundSize'] | Array<React.CSSProperties['backgroundSize']>;
|
|
70
|
-
bgPosition?: React.CSSProperties['backgroundPosition'] | Array<React.CSSProperties['backgroundPosition']>;
|
|
71
|
-
bgRepeat?: React.CSSProperties['backgroundRepeat'] | Array<React.CSSProperties['backgroundRepeat']>;
|
|
72
|
-
border?: React.CSSProperties['border'] | Array<React.CSSProperties['border']>;
|
|
73
|
-
borderWidth?: React.CSSProperties['borderWidth'] | Array<React.CSSProperties['borderWidth']>;
|
|
74
|
-
borderStyle?: React.CSSProperties['borderStyle'] | Array<React.CSSProperties['borderStyle']>;
|
|
75
|
-
borderColor?: React.CSSProperties['borderColor'] | NestedThemeType | Array<React.CSSProperties['borderColor']>;
|
|
76
|
-
borderTop?: React.CSSProperties['borderTop'] | Array<React.CSSProperties['borderTop']>;
|
|
77
|
-
borderTopWidth?: React.CSSProperties['borderTopWidth'] | Array<React.CSSProperties['borderTopWidth']>;
|
|
78
|
-
borderTopStyle?: React.CSSProperties['borderTopStyle'] | Array<React.CSSProperties['borderTopStyle']>;
|
|
79
|
-
borderTopColor?: React.CSSProperties['borderTopColor'] | Array<React.CSSProperties['borderTopColor']>;
|
|
80
|
-
borderRight?: React.CSSProperties['borderRight'] | Array<React.CSSProperties['borderRight']>;
|
|
81
|
-
borderRightWidth?: React.CSSProperties['borderRightWidth'] | Array<React.CSSProperties['borderRightWidth']>;
|
|
82
|
-
borderRightStyle?: React.CSSProperties['borderRightStyle'] | Array<React.CSSProperties['borderRightStyle']>;
|
|
83
|
-
borderRightColor?: React.CSSProperties['borderRightColor'] | Array<React.CSSProperties['borderRightColor']>;
|
|
84
|
-
borderBottom?: React.CSSProperties['borderBottom'] | Array<React.CSSProperties['borderBottom']>;
|
|
85
|
-
borderBottomWidth?: React.CSSProperties['borderBottomWidth'] | Array<React.CSSProperties['borderBottomWidth']>;
|
|
86
|
-
borderBottomStyle?: React.CSSProperties['borderBottomStyle'] | Array<React.CSSProperties['borderBottomStyle']>;
|
|
87
|
-
borderBottomColor?: React.CSSProperties['borderBottomColor'] | Array<React.CSSProperties['borderBottomColor']>;
|
|
88
|
-
borderLeft?: React.CSSProperties['borderLeft'] | Array<React.CSSProperties['borderLeft']>;
|
|
89
|
-
borderLeftWidth?: React.CSSProperties['borderLeftWidth'] | Array<React.CSSProperties['borderLeftWidth']>;
|
|
90
|
-
borderLeftStyle?: React.CSSProperties['borderLeftStyle'] | Array<React.CSSProperties['borderLeftStyle']>;
|
|
91
|
-
borderLeftColor?: React.CSSProperties['borderLeftColor'] | Array<React.CSSProperties['borderLeftColor']>;
|
|
92
|
-
borderRadius?: React.CSSProperties['borderRadius'] | Array<React.CSSProperties['borderRadius']>;
|
|
93
|
-
borderTopLeftRadius?: React.CSSProperties['borderTopLeftRadius'] | Array<React.CSSProperties['borderTopLeftRadius']>;
|
|
94
|
-
borderTopRightRadius?: React.CSSProperties['borderTopRightRadius'] | Array<React.CSSProperties['borderTopRightRadius']>;
|
|
95
|
-
borderBottomRightRadius?: React.CSSProperties['borderBottomRightRadius'] | Array<React.CSSProperties['borderBottomRightRadius']>;
|
|
96
|
-
borderBottomLeftRadius?: React.CSSProperties['borderBottomLeftRadius'] | Array<React.CSSProperties['borderBottomLeftRadius']>;
|
|
97
|
-
position?: React.CSSProperties['position'] | Array<React.CSSProperties['position']>;
|
|
98
|
-
zIndex?: React.CSSProperties['zIndex'] | Array<React.CSSProperties['zIndex']>;
|
|
99
|
-
top?: React.CSSProperties['top'] | Array<React.CSSProperties['top']>;
|
|
100
|
-
right?: React.CSSProperties['right'] | Array<React.CSSProperties['right']>;
|
|
101
|
-
bottom?: React.CSSProperties['bottom'] | Array<React.CSSProperties['bottom']>;
|
|
102
|
-
left?: React.CSSProperties['left'] | Array<React.CSSProperties['left']>;
|
|
103
|
-
boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType;
|
|
104
|
-
animation?: React.CSSProperties['animation'] | Array<React.CSSProperties['animation']>;
|
|
105
|
-
visibility?: React.CSSProperties['visibility'] | Array<React.CSSProperties['visibility']>;
|
|
106
|
-
cursor?: React.CSSProperties['cursor'] | Array<React.CSSProperties['cursor']>;
|
|
107
|
-
round?: IntensityType;
|
|
108
|
-
whiteSpace?: React.CSSProperties['whiteSpace'] | Array<React.CSSProperties['whiteSpace']>;
|
|
109
|
-
wordBreak?: React.CSSProperties['wordBreak'] | Array<React.CSSProperties['wordBreak']>;
|
|
110
|
-
gridTemplateColumns?: React.CSSProperties['gridTemplateColumns'] | Array<React.CSSProperties['gridTemplateColumns']>;
|
|
111
|
-
_hover?: string;
|
|
112
|
-
all?: React.CSSProperties['all'] | Array<React.CSSProperties['all']>;
|
|
113
|
-
transition?: React.CSSProperties['transition'] | Array<React.CSSProperties['transition']>;
|
|
114
|
-
transform?: React.CSSProperties['transform'] | Array<React.CSSProperties['transform']>;
|
|
115
|
-
textOverflow?: React.CSSProperties['textOverflow'] | Array<React.CSSProperties['textOverflow']>;
|
|
116
|
-
outline?: React.CSSProperties['outline'] | Array<React.CSSProperties['outline']>;
|
|
117
|
-
outlineWidth?: React.CSSProperties['outlineWidth'] | Array<React.CSSProperties['outlineWidth']>;
|
|
118
|
-
outlineStyle?: React.CSSProperties['outlineStyle'] | Array<React.CSSProperties['outlineStyle']>;
|
|
119
|
-
outlineColor?: React.CSSProperties['outlineColor'] | NestedThemeType | Array<React.CSSProperties['outlineColor']>;
|
|
120
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IMooskinContext, IStyledTheme, IThemeBackgroundColors, IThemeBorderColors, IThemeFontColors } from '../Styled/model';
|
|
3
|
+
export declare type IntensityType = 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl';
|
|
4
|
+
export declare type BoxShadowIntensityType = IntensityType | 'inner' | 'outline';
|
|
5
|
+
export declare type NestedThemeType = `${keyof IStyledTheme}.${keyof IThemeFontColors | keyof IThemeBorderColors | keyof IThemeBackgroundColors}`;
|
|
6
|
+
export declare type ScreenType = 'lg' | 'md' | 'sm' | 'xs';
|
|
7
|
+
export declare const boxComponentProps: string[];
|
|
8
|
+
export declare type IBoxComponentProps = IBaseBoxComponentProps & React.HTMLAttributes<HTMLElement>;
|
|
9
|
+
export declare type IBoxImageComponentProps = IBaseBoxComponentProps & React.ImgHTMLAttributes<HTMLImageElement>;
|
|
10
|
+
export declare type IBoxLabelComponentProps = IBaseBoxComponentProps & React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
11
|
+
export declare type IButtonBoxComponentProps = IBoxComponentProps & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
12
|
+
export declare type IInputBoxComponentProps = IBoxComponentProps & React.InputHTMLAttributes<HTMLInputElement>;
|
|
13
|
+
export declare type IAnchorBoxComponentProps = IBoxComponentProps & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
14
|
+
export declare type ITextAreaBoxComponentProps = IBoxComponentProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
15
|
+
export interface IBaseBoxComponentProps extends IMooskinContext {
|
|
16
|
+
noRender?: Array<ScreenType>;
|
|
17
|
+
setRef?: (ref: HTMLElement) => void;
|
|
18
|
+
boxAs?: any;
|
|
19
|
+
m?: React.CSSProperties['margin'] | Array<React.CSSProperties['margin']>;
|
|
20
|
+
mt?: React.CSSProperties['marginTop'] | Array<React.CSSProperties['marginTop']>;
|
|
21
|
+
mr?: React.CSSProperties['marginRight'] | Array<React.CSSProperties['marginRight']>;
|
|
22
|
+
mb?: React.CSSProperties['marginBottom'] | Array<React.CSSProperties['marginBottom']>;
|
|
23
|
+
ml?: React.CSSProperties['marginLeft'] | Array<React.CSSProperties['marginLeft']>;
|
|
24
|
+
mx?: number | string | Array<number | string>;
|
|
25
|
+
my?: number | string | Array<number | string>;
|
|
26
|
+
p?: React.CSSProperties['padding'] | Array<React.CSSProperties['padding']>;
|
|
27
|
+
pt?: React.CSSProperties['paddingTop'] | Array<React.CSSProperties['paddingTop']>;
|
|
28
|
+
pr?: React.CSSProperties['paddingRight'] | Array<React.CSSProperties['paddingRight']>;
|
|
29
|
+
pb?: React.CSSProperties['paddingBottom'] | Array<React.CSSProperties['paddingBottom']>;
|
|
30
|
+
pl?: React.CSSProperties['paddingLeft'] | Array<React.CSSProperties['paddingLeft']>;
|
|
31
|
+
px?: number | string | Array<number | string>;
|
|
32
|
+
py?: number | string | Array<number | string>;
|
|
33
|
+
fontColor?: React.CSSProperties['color'] | NestedThemeType | Array<React.CSSProperties['color']>;
|
|
34
|
+
opacity?: React.CSSProperties['opacity'] | Array<React.CSSProperties['opacity']>;
|
|
35
|
+
fontFamily?: React.CSSProperties['fontFamily'] | Array<React.CSSProperties['fontFamily']>;
|
|
36
|
+
fontSize?: React.CSSProperties['fontSize'] | Array<React.CSSProperties['fontSize']>;
|
|
37
|
+
fontWeight?: React.CSSProperties['fontWeight'] | Array<React.CSSProperties['fontWeight']>;
|
|
38
|
+
lineHeight?: React.CSSProperties['lineHeight'] | Array<React.CSSProperties['lineHeight']>;
|
|
39
|
+
textAlign?: React.CSSProperties['textAlign'] | Array<React.CSSProperties['textAlign']>;
|
|
40
|
+
fontStyle?: React.CSSProperties['fontStyle'] | Array<React.CSSProperties['fontStyle']>;
|
|
41
|
+
textTransform?: React.CSSProperties['textTransform'] | Array<React.CSSProperties['textTransform']>;
|
|
42
|
+
textDecoration?: React.CSSProperties['textDecoration'] | Array<React.CSSProperties['textDecoration']>;
|
|
43
|
+
w?: React.CSSProperties['width'] | Array<React.CSSProperties['width']>;
|
|
44
|
+
h?: React.CSSProperties['height'] | Array<React.CSSProperties['height']>;
|
|
45
|
+
maxW?: React.CSSProperties['maxWidth'] | Array<React.CSSProperties['maxWidth']>;
|
|
46
|
+
minW?: React.CSSProperties['minWidth'] | Array<React.CSSProperties['minWidth']>;
|
|
47
|
+
maxH?: React.CSSProperties['maxHeight'] | Array<React.CSSProperties['maxHeight']>;
|
|
48
|
+
minH?: React.CSSProperties['minHeight'] | Array<React.CSSProperties['minHeight']>;
|
|
49
|
+
d?: React.CSSProperties['display'] | Array<React.CSSProperties['display']>;
|
|
50
|
+
overflow?: React.CSSProperties['overflow'] | Array<React.CSSProperties['overflow']>;
|
|
51
|
+
overflowX?: React.CSSProperties['overflowX'] | Array<React.CSSProperties['overflowX']>;
|
|
52
|
+
overflowY?: React.CSSProperties['overflowY'] | Array<React.CSSProperties['overflowY']>;
|
|
53
|
+
align?: React.CSSProperties['alignItems'] | Array<React.CSSProperties['alignItems']>;
|
|
54
|
+
alignContent?: React.CSSProperties['alignContent'] | Array<React.CSSProperties['alignContent']>;
|
|
55
|
+
alignSelf?: React.CSSProperties['alignSelf'] | Array<React.CSSProperties['alignSelf']>;
|
|
56
|
+
justifyItems?: React.CSSProperties['justifyItems'] | Array<React.CSSProperties['justifyItems']>;
|
|
57
|
+
justify?: React.CSSProperties['justifyContent'] | Array<React.CSSProperties['justifyContent']>;
|
|
58
|
+
justifySelf?: React.CSSProperties['justifySelf'] | Array<React.CSSProperties['justifySelf']>;
|
|
59
|
+
flexWrap?: React.CSSProperties['flexWrap'] | Array<React.CSSProperties['flexWrap']>;
|
|
60
|
+
direction?: React.CSSProperties['flexDirection'] | Array<React.CSSProperties['flexDirection']>;
|
|
61
|
+
flex?: React.CSSProperties['flex'] | Array<React.CSSProperties['flex']>;
|
|
62
|
+
flexGrow?: React.CSSProperties['flexGrow'] | Array<React.CSSProperties['flexGrow']>;
|
|
63
|
+
flexShrink?: React.CSSProperties['flexShrink'] | Array<React.CSSProperties['flexShrink']>;
|
|
64
|
+
flexBasis?: React.CSSProperties['flexBasis'] | Array<React.CSSProperties['flexBasis']>;
|
|
65
|
+
order?: React.CSSProperties['order'] | Array<React.CSSProperties['order']>;
|
|
66
|
+
bg?: React.CSSProperties['background'] | Array<React.CSSProperties['background']>;
|
|
67
|
+
bgImage?: React.CSSProperties['backgroundImage'] | Array<React.CSSProperties['backgroundImage']>;
|
|
68
|
+
bgColor?: React.CSSProperties['backgroundColor'] | NestedThemeType | Array<React.CSSProperties['backgroundColor']>;
|
|
69
|
+
bgSize?: React.CSSProperties['backgroundSize'] | Array<React.CSSProperties['backgroundSize']>;
|
|
70
|
+
bgPosition?: React.CSSProperties['backgroundPosition'] | Array<React.CSSProperties['backgroundPosition']>;
|
|
71
|
+
bgRepeat?: React.CSSProperties['backgroundRepeat'] | Array<React.CSSProperties['backgroundRepeat']>;
|
|
72
|
+
border?: React.CSSProperties['border'] | Array<React.CSSProperties['border']>;
|
|
73
|
+
borderWidth?: React.CSSProperties['borderWidth'] | Array<React.CSSProperties['borderWidth']>;
|
|
74
|
+
borderStyle?: React.CSSProperties['borderStyle'] | Array<React.CSSProperties['borderStyle']>;
|
|
75
|
+
borderColor?: React.CSSProperties['borderColor'] | NestedThemeType | Array<React.CSSProperties['borderColor']>;
|
|
76
|
+
borderTop?: React.CSSProperties['borderTop'] | Array<React.CSSProperties['borderTop']>;
|
|
77
|
+
borderTopWidth?: React.CSSProperties['borderTopWidth'] | Array<React.CSSProperties['borderTopWidth']>;
|
|
78
|
+
borderTopStyle?: React.CSSProperties['borderTopStyle'] | Array<React.CSSProperties['borderTopStyle']>;
|
|
79
|
+
borderTopColor?: React.CSSProperties['borderTopColor'] | Array<React.CSSProperties['borderTopColor']>;
|
|
80
|
+
borderRight?: React.CSSProperties['borderRight'] | Array<React.CSSProperties['borderRight']>;
|
|
81
|
+
borderRightWidth?: React.CSSProperties['borderRightWidth'] | Array<React.CSSProperties['borderRightWidth']>;
|
|
82
|
+
borderRightStyle?: React.CSSProperties['borderRightStyle'] | Array<React.CSSProperties['borderRightStyle']>;
|
|
83
|
+
borderRightColor?: React.CSSProperties['borderRightColor'] | Array<React.CSSProperties['borderRightColor']>;
|
|
84
|
+
borderBottom?: React.CSSProperties['borderBottom'] | Array<React.CSSProperties['borderBottom']>;
|
|
85
|
+
borderBottomWidth?: React.CSSProperties['borderBottomWidth'] | Array<React.CSSProperties['borderBottomWidth']>;
|
|
86
|
+
borderBottomStyle?: React.CSSProperties['borderBottomStyle'] | Array<React.CSSProperties['borderBottomStyle']>;
|
|
87
|
+
borderBottomColor?: React.CSSProperties['borderBottomColor'] | Array<React.CSSProperties['borderBottomColor']>;
|
|
88
|
+
borderLeft?: React.CSSProperties['borderLeft'] | Array<React.CSSProperties['borderLeft']>;
|
|
89
|
+
borderLeftWidth?: React.CSSProperties['borderLeftWidth'] | Array<React.CSSProperties['borderLeftWidth']>;
|
|
90
|
+
borderLeftStyle?: React.CSSProperties['borderLeftStyle'] | Array<React.CSSProperties['borderLeftStyle']>;
|
|
91
|
+
borderLeftColor?: React.CSSProperties['borderLeftColor'] | Array<React.CSSProperties['borderLeftColor']>;
|
|
92
|
+
borderRadius?: React.CSSProperties['borderRadius'] | Array<React.CSSProperties['borderRadius']>;
|
|
93
|
+
borderTopLeftRadius?: React.CSSProperties['borderTopLeftRadius'] | Array<React.CSSProperties['borderTopLeftRadius']>;
|
|
94
|
+
borderTopRightRadius?: React.CSSProperties['borderTopRightRadius'] | Array<React.CSSProperties['borderTopRightRadius']>;
|
|
95
|
+
borderBottomRightRadius?: React.CSSProperties['borderBottomRightRadius'] | Array<React.CSSProperties['borderBottomRightRadius']>;
|
|
96
|
+
borderBottomLeftRadius?: React.CSSProperties['borderBottomLeftRadius'] | Array<React.CSSProperties['borderBottomLeftRadius']>;
|
|
97
|
+
position?: React.CSSProperties['position'] | Array<React.CSSProperties['position']>;
|
|
98
|
+
zIndex?: React.CSSProperties['zIndex'] | Array<React.CSSProperties['zIndex']>;
|
|
99
|
+
top?: React.CSSProperties['top'] | Array<React.CSSProperties['top']>;
|
|
100
|
+
right?: React.CSSProperties['right'] | Array<React.CSSProperties['right']>;
|
|
101
|
+
bottom?: React.CSSProperties['bottom'] | Array<React.CSSProperties['bottom']>;
|
|
102
|
+
left?: React.CSSProperties['left'] | Array<React.CSSProperties['left']>;
|
|
103
|
+
boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType;
|
|
104
|
+
animation?: React.CSSProperties['animation'] | Array<React.CSSProperties['animation']>;
|
|
105
|
+
visibility?: React.CSSProperties['visibility'] | Array<React.CSSProperties['visibility']>;
|
|
106
|
+
cursor?: React.CSSProperties['cursor'] | Array<React.CSSProperties['cursor']>;
|
|
107
|
+
round?: IntensityType;
|
|
108
|
+
whiteSpace?: React.CSSProperties['whiteSpace'] | Array<React.CSSProperties['whiteSpace']>;
|
|
109
|
+
wordBreak?: React.CSSProperties['wordBreak'] | Array<React.CSSProperties['wordBreak']>;
|
|
110
|
+
gridTemplateColumns?: React.CSSProperties['gridTemplateColumns'] | Array<React.CSSProperties['gridTemplateColumns']>;
|
|
111
|
+
_hover?: string;
|
|
112
|
+
all?: React.CSSProperties['all'] | Array<React.CSSProperties['all']>;
|
|
113
|
+
transition?: React.CSSProperties['transition'] | Array<React.CSSProperties['transition']>;
|
|
114
|
+
transform?: React.CSSProperties['transform'] | Array<React.CSSProperties['transform']>;
|
|
115
|
+
textOverflow?: React.CSSProperties['textOverflow'] | Array<React.CSSProperties['textOverflow']>;
|
|
116
|
+
outline?: React.CSSProperties['outline'] | Array<React.CSSProperties['outline']>;
|
|
117
|
+
outlineWidth?: React.CSSProperties['outlineWidth'] | Array<React.CSSProperties['outlineWidth']>;
|
|
118
|
+
outlineStyle?: React.CSSProperties['outlineStyle'] | Array<React.CSSProperties['outlineStyle']>;
|
|
119
|
+
outlineColor?: React.CSSProperties['outlineColor'] | NestedThemeType | Array<React.CSSProperties['outlineColor']>;
|
|
120
|
+
userSelect?: React.CSSProperties['userSelect'] | Array<React.CSSProperties['userSelect']>;
|
|
121
|
+
verticalAlign?: React.CSSProperties['verticalAlign'] | Array<React.CSSProperties['verticalAlign']>;
|
|
122
|
+
pointerEvents?: React.CSSProperties['pointerEvents'] | Array<React.CSSProperties['pointerEvents']>;
|
|
123
|
+
label?: string;
|
|
124
|
+
disabled?: boolean;
|
|
125
|
+
}
|
package/lib/Box/resources.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
interface ISupportedStyleProps {
|
|
2
|
-
[key: string]: {
|
|
3
|
-
property: string;
|
|
4
|
-
processedValue?: boolean;
|
|
5
|
-
usePallete?: boolean;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export declare const SupportedStyleProps: ISupportedStyleProps;
|
|
9
|
-
export {};
|
|
1
|
+
interface ISupportedStyleProps {
|
|
2
|
+
[key: string]: {
|
|
3
|
+
property: string;
|
|
4
|
+
processedValue?: boolean;
|
|
5
|
+
usePallete?: boolean;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare const SupportedStyleProps: ISupportedStyleProps;
|
|
9
|
+
export {};
|
package/lib/Box/styles.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IStyledTheme } from '../Styled/model';
|
|
3
|
-
import { BoxShadowIntensityType, IntensityType, NestedThemeType } from './model';
|
|
4
|
-
export declare const getNumberOrStringValue: (value?: number | string) => string;
|
|
5
|
-
export declare const getNestedValue: (value?: number | string | NestedThemeType, palette?: IStyledTheme) => any;
|
|
6
|
-
export declare const getRoundness: (round?: IntensityType) => "border-radius: 0.125rem;" | "border-radius: 0.25rem;" | "border-radius: 0.375rem;" | "border-radius: 0.5rem;" | "border-radius: 0.625rem;" | "border-radius: 0.75rem;" | "border-radius: 1rem;" | undefined;
|
|
7
|
-
export declare const getBoxShadow: (boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType) => (string & {}) | "
|
|
8
|
-
export declare const StyledBox: import("styled-components").StyledComponent<"div", any, import("./model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IStyledTheme } from '../Styled/model';
|
|
3
|
+
import type { BoxShadowIntensityType, IntensityType, NestedThemeType } from './model';
|
|
4
|
+
export declare const getNumberOrStringValue: (value?: number | string) => string;
|
|
5
|
+
export declare const getNestedValue: (value?: number | string | NestedThemeType, palette?: IStyledTheme) => any;
|
|
6
|
+
export declare const getRoundness: (round?: IntensityType) => "border-radius: 0.125rem;" | "border-radius: 0.25rem;" | "border-radius: 0.375rem;" | "border-radius: 0.5rem;" | "border-radius: 0.625rem;" | "border-radius: 0.75rem;" | "border-radius: 1rem;" | undefined;
|
|
7
|
+
export declare const getBoxShadow: (boxShadow?: React.CSSProperties['boxShadow'] | BoxShadowIntensityType) => "none" | (string & {}) | "inherit" | "initial" | "-moz-initial" | "revert" | "revert-layer" | "unset" | "0 0 0 1px rgba(0, 0, 0, 0.05)" | "0 1px 2px 0 rgba(0, 0, 0, 0.05)" | "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)" | "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)" | "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)" | "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)" | "0 25px 50px -12px rgba(0, 0, 0, 0.25)" | "0 0 0 3px rgba(66, 153, 225, 0.6)" | "inset 0 2px 4px 0 rgba(0,0,0,0.06)" | undefined;
|
|
8
|
+
export declare const StyledBox: import("styled-components").StyledComponent<"div", any, import("./model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
|
package/lib/Button/Button.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
3
|
-
import { IButtonComponentProps } from './model';
|
|
4
|
-
export declare const Button: React.FC<IButtonComponentProps>;
|
|
5
|
-
export declare const ButtonTwo: React.FC<IButtonComponentProps>;
|
|
6
|
-
export declare const ButtonThree: React.FC<IButtonComponentProps>;
|
|
7
|
-
export declare const ButtonIcon: React.FC<IBoxComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
3
|
+
import type { IButtonComponentProps } from './model';
|
|
4
|
+
export declare const Button: React.FC<IButtonComponentProps>;
|
|
5
|
+
export declare const ButtonTwo: React.FC<IButtonComponentProps>;
|
|
6
|
+
export declare const ButtonThree: React.FC<IButtonComponentProps>;
|
|
7
|
+
export declare const ButtonIcon: React.FC<IBoxComponentProps>;
|
package/lib/Button/model.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { IButtonBoxComponentProps } from '../Box/model';
|
|
2
|
-
export interface IButtonComponentProps extends IButtonBoxComponentProps {
|
|
3
|
-
href?: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import type { IButtonBoxComponentProps } from '../Box/model';
|
|
2
|
+
export interface IButtonComponentProps extends IButtonBoxComponentProps {
|
|
3
|
+
href?: string;
|
|
4
|
+
target?: '_blank' | '_self' | '_parent' | '_top' | string;
|
|
5
|
+
tooltip?: string;
|
|
6
|
+
buttonSize?: 'lg' | 'md' | 'sm';
|
|
7
|
+
name?: string | undefined;
|
|
8
|
+
}
|
package/lib/Button/styles.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IButtonComponentProps } from './model';
|
|
3
|
-
export declare const ButtonDefault: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
4
|
-
export declare const StyledButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
5
|
-
export declare const StyledButtonTwo: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
6
|
-
export declare const StyledButtonThree: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
7
|
-
export declare const StyledButtonIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IButtonComponentProps } from './model';
|
|
3
|
+
export declare const ButtonDefault: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
4
|
+
export declare const StyledButton: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
5
|
+
export declare const StyledButtonTwo: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
6
|
+
export declare const StyledButtonThree: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, IButtonComponentProps, never>;
|
|
7
|
+
export declare const StyledButtonIcon: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, {}, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import 'slick-carousel/slick/slick-theme.css';
|
|
3
|
-
import 'slick-carousel/slick/slick.css';
|
|
4
|
-
import { IBoxComponentProps } from '../Box/model';
|
|
5
|
-
import { ICarouselComponentProps } from './model';
|
|
6
|
-
export declare const Carousel: React.FC<ICarouselComponentProps>;
|
|
7
|
-
export declare const CustomDot: React.FC<IBoxComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import 'slick-carousel/slick/slick-theme.css';
|
|
3
|
+
import 'slick-carousel/slick/slick.css';
|
|
4
|
+
import type { IBoxComponentProps } from '../Box/model';
|
|
5
|
+
import type { ICarouselComponentProps } from './model';
|
|
6
|
+
export declare const Carousel: React.FC<ICarouselComponentProps>;
|
|
7
|
+
export declare const CustomDot: React.FC<IBoxComponentProps>;
|