@moosend/mooskin 1.1.5 → 1.2.0-beta.1
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/domEventProps.d.ts +1 -0
- package/lib/Box/model.d.ts +125 -120
- package/lib/Box/resources.d.ts +9 -9
- package/lib/Box/styles.d.ts +9 -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
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerFooter, DrawerHeader, DrawerOverlay, } from '../components/Drawer/Drawer';
|
|
3
|
+
import '../components/Styled/GlobalStyles';
|
|
4
|
+
export default {
|
|
5
|
+
component: Drawer,
|
|
6
|
+
title: 'Example/Drawer',
|
|
7
|
+
};
|
|
8
|
+
const Template = (args) => (React.createElement(React.Fragment, null,
|
|
9
|
+
React.createElement(Drawer, Object.assign({}, args))));
|
|
10
|
+
export const Normal = Template.bind({});
|
|
11
|
+
Normal.args = {
|
|
12
|
+
children: (React.createElement(DrawerOverlay, { onClick: () => console.log('Overlay Clicked!') },
|
|
13
|
+
React.createElement(DrawerContent, null,
|
|
14
|
+
React.createElement(DrawerCloseButton, { position: "absolute", top: 10, right: 10 }),
|
|
15
|
+
React.createElement(DrawerHeader, null, "Create your account"),
|
|
16
|
+
React.createElement(DrawerBody, null, "Drawer Content Body"),
|
|
17
|
+
React.createElement(DrawerFooter, null, "Drawer Footer goes here!")))),
|
|
18
|
+
isOpen: true,
|
|
19
|
+
onClose: () => alert('Close!'),
|
|
20
|
+
};
|
|
21
|
+
export const Extra = Template.bind({});
|
|
22
|
+
Extra.args = {
|
|
23
|
+
children: (React.createElement(DrawerOverlay, { onClick: () => console.log('Overlay Clicked!') },
|
|
24
|
+
React.createElement(DrawerContent, null,
|
|
25
|
+
React.createElement(DrawerCloseButton, { position: "absolute", top: 10, right: 10 }),
|
|
26
|
+
React.createElement(DrawerHeader, null, "Create your account"),
|
|
27
|
+
React.createElement(DrawerBody, null, "Drawer Extra Content Body"),
|
|
28
|
+
React.createElement(DrawerFooter, null, "Drawer Footer goes here!")))),
|
|
29
|
+
isOpen: true,
|
|
30
|
+
onClose: () => alert('Close!'),
|
|
31
|
+
};
|
|
32
|
+
export const Large = Template.bind({});
|
|
33
|
+
Large.args = {
|
|
34
|
+
children: (React.createElement(DrawerOverlay, { onClick: () => console.log('Overlay Clicked!') },
|
|
35
|
+
React.createElement(DrawerContent, null,
|
|
36
|
+
React.createElement(DrawerCloseButton, { position: "absolute", top: 10, right: 10 }),
|
|
37
|
+
React.createElement(DrawerHeader, null, "Create your account"),
|
|
38
|
+
React.createElement(DrawerBody, null, "Drawer Content Body"),
|
|
39
|
+
React.createElement(DrawerFooter, null, "Drawer Footer goes here!")))),
|
|
40
|
+
isOpen: true,
|
|
41
|
+
onClose: () => alert('Close!'),
|
|
42
|
+
onOpen: () => alert('Open!'),
|
|
43
|
+
size: 'lg',
|
|
44
|
+
};
|
|
45
|
+
export const Bottom = Template.bind({});
|
|
46
|
+
Bottom.args = {
|
|
47
|
+
children: (React.createElement(DrawerOverlay, { onClick: () => console.log('Overlay Clicked!') },
|
|
48
|
+
React.createElement(DrawerContent, null,
|
|
49
|
+
React.createElement(DrawerCloseButton, { position: "absolute", top: 10, right: 10 }),
|
|
50
|
+
React.createElement(DrawerHeader, null, "Create your account"),
|
|
51
|
+
React.createElement(DrawerBody, null, "Drawer Content Body"),
|
|
52
|
+
React.createElement(DrawerFooter, null, "Drawer Footer goes here!")))),
|
|
53
|
+
isOpen: true,
|
|
54
|
+
onClose: () => alert('Close!'),
|
|
55
|
+
placement: 'bottom',
|
|
56
|
+
size: 'md',
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=Drawer.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.stories.js","sourceRoot":"","sources":["../../stories/Drawer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EACN,MAAM,EACN,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,aAAa,GACb,MAAM,6BAA6B,CAAC;AAGrC,OAAO,mCAAmC,CAAC;AAE3C,eAAe;IACd,SAAS,EAAE,MAAM;IACjB,KAAK,EAAE,gBAAgB;CACvB,CAAC;AAEF,MAAM,QAAQ,GAAiC,CAAC,IAAI,EAAE,EAAE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
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { IExpandableComponentProps } from '../components/Expandable/model';
|
|
3
|
+
import '../components/Styled/GlobalStyles';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: React.FC<IExpandableComponentProps>;
|
|
6
|
+
title: string;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Normal: any;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Expandable, ExpandableItem, ExpandableItemButton, ExpandableItemContainer, ExpandableItemContent, ExpandableItemText, } from '../components/Expandable/Expandable';
|
|
3
|
+
import '../components/Styled/GlobalStyles';
|
|
4
|
+
export default {
|
|
5
|
+
component: Expandable,
|
|
6
|
+
title: 'Example/Expandable',
|
|
7
|
+
};
|
|
8
|
+
const Template = (args) => {
|
|
9
|
+
const [activeItem, setActiveItem] = React.useState(4);
|
|
10
|
+
return (React.createElement(React.Fragment, null,
|
|
11
|
+
React.createElement(Expandable, Object.assign({}, args, { activeItem: activeItem, onClickItem: (e, value) => setActiveItem(value) }))));
|
|
12
|
+
};
|
|
13
|
+
export const Normal = Template.bind({});
|
|
14
|
+
Normal.args = {
|
|
15
|
+
children: [...Array(9)].map((item, i) => (React.createElement(ExpandableItem, { key: i, activeId: i },
|
|
16
|
+
React.createElement(ExpandableItemContainer, null,
|
|
17
|
+
React.createElement(ExpandableItemText, null, `Title for item with index: ${i}`),
|
|
18
|
+
React.createElement(ExpandableItemButton, null)),
|
|
19
|
+
React.createElement(ExpandableItemContent, { p: 15 },
|
|
20
|
+
React.createElement("div", null, `Content for item with index: ${i}`))))),
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=Expandable.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Expandable.stories.js","sourceRoot":"","sources":["../../stories/Expandable.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EACN,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Box/model';
|
|
3
|
+
import '../components/Styled/GlobalStyles';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: React.FC<IBoxComponentProps>;
|
|
6
|
+
title: string;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Normal: any;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Footer, FooterBody, FooterEnd, FooterHead } from '../components/Footer/Footer';
|
|
3
|
+
import { Button, ButtonIcon, ButtonTwo } from '../components/Button/Button';
|
|
4
|
+
import '../components/Styled/GlobalStyles';
|
|
5
|
+
export default {
|
|
6
|
+
component: Footer,
|
|
7
|
+
title: 'Example/Footer',
|
|
8
|
+
};
|
|
9
|
+
const Template = (args) => (React.createElement(React.Fragment, null,
|
|
10
|
+
React.createElement(Footer, Object.assign({}, args))));
|
|
11
|
+
export const Normal = Template.bind({});
|
|
12
|
+
Normal.args = {
|
|
13
|
+
children: (React.createElement(React.Fragment, null,
|
|
14
|
+
React.createElement(FooterHead, { fontSize: 12, fontWeight: 800 }, "SAVE AS DRAFT"),
|
|
15
|
+
React.createElement(FooterBody, null,
|
|
16
|
+
React.createElement(Button, { mr: 10 },
|
|
17
|
+
React.createElement(ButtonIcon, null, "chevron_left"),
|
|
18
|
+
"BACK"),
|
|
19
|
+
React.createElement(Button, null,
|
|
20
|
+
"NEXT",
|
|
21
|
+
React.createElement(ButtonIcon, null, "chevron_right"))),
|
|
22
|
+
React.createElement(FooterEnd, null,
|
|
23
|
+
React.createElement(ButtonTwo, null, "DESIGN & DELIVERY TEST")))),
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=Footer.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Footer.stories.js","sourceRoot":"","sources":["../../stories/Footer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAGxF,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,mCAAmC,CAAC;AAE3C,eAAe;IACd,SAAS,EAAE,MAAM;IACjB,KAAK,EAAE,gBAAgB;CACvB,CAAC;AAEF,MAAM,QAAQ,GAA8B,CAAC,IAAI,EAAE,EAAE,CAAC,CACrD;IAEC,oBAAC,MAAM,oBAAK,IAAI,EAAI,CAClB,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxC,MAAM,CAAC,IAAI,GAAG;IACb,QAAQ,EAAE,CACT;QACC,oBAAC,UAAU,IAAC,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,oBAE5B;QACb,oBAAC,UAAU;YACV,oBAAC,MAAM,IAAC,EAAE,EAAE,EAAE;gBACb,oBAAC,UAAU,uBAA0B;uBAE7B;YACT,oBAAC,MAAM;;gBAEN,oBAAC,UAAU,wBAA2B,CAC9B,CACG;QACb,oBAAC,SAAS;YACT,oBAAC,SAAS,iCAAmC,CAClC,CACV,CACH;CACqB,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '../components/
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { IGridProps } from '../components/Grid/model';
|
|
3
|
+
import '../components/Styled/GlobalStyles';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: React.FC<IGridProps>;
|
|
6
|
+
title: string;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Normal: any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Col, Grid, Row } from '../components/Grid/Grid';
|
|
3
|
+
import '../components/Styled/GlobalStyles';
|
|
4
|
+
export default {
|
|
5
|
+
component: Grid,
|
|
6
|
+
title: 'Example/Grid',
|
|
7
|
+
};
|
|
8
|
+
const Template = (args) => (React.createElement(React.Fragment, null,
|
|
9
|
+
React.createElement(Grid, { style: { textAlign: 'center' } },
|
|
10
|
+
React.createElement(Row, { style: { padding: 10, border: '3px solid #F48770' } },
|
|
11
|
+
React.createElement(Col, { lg: 12, md: 8, sm: 6, xs: 3, style: { padding: 10, border: '3px solid #5ccdde' } }, "Col lg-12 md-8 sm-6 xs-3")),
|
|
12
|
+
React.createElement(Row, { style: { padding: 10, border: '3px solid #F48770' } },
|
|
13
|
+
React.createElement(Col, { lg: 6, style: { padding: 10, border: '3px solid #5ccdde' } }, "Col lg-6"),
|
|
14
|
+
React.createElement(Col, { lg: 6, style: { padding: 10, border: '3px solid #5ccdde' } }, "Col lg-6")),
|
|
15
|
+
React.createElement(Row, { style: { padding: 10, border: '3px solid #F48770' } },
|
|
16
|
+
React.createElement(Col, { md: 6, style: { padding: 10, border: '3px solid #5ccdde' } }, "Col md-6"),
|
|
17
|
+
React.createElement(Col, { md: 6, style: { padding: 10, border: '3px solid #5ccdde' } }, "Col md-6")),
|
|
18
|
+
React.createElement(Row, { style: { padding: 10, border: '3px solid #F48770' } },
|
|
19
|
+
React.createElement(Col, { md: 4, sm: 6, xs: 12, style: { padding: 10, border: '3px solid #5ccdde' } }, "Chart 1"),
|
|
20
|
+
React.createElement(Col, { md: 4, sm: 6, xs: 12, style: { padding: 10, border: '3px solid #5ccdde' } }, "Chart 2"),
|
|
21
|
+
React.createElement(Col, { md: 4, sm: 6, xs: 12, style: { padding: 10, border: '3px solid #5ccdde' } }, "Chart 3"),
|
|
22
|
+
React.createElement(Col, { md: 4, sm: 6, xs: 12, style: { padding: 10, border: '3px solid #5ccdde' } }, "Chart 4"),
|
|
23
|
+
React.createElement(Col, { md: 4, sm: 6, xs: 12, style: { padding: 10, border: '3px solid #5ccdde' } }, "Chart 5"),
|
|
24
|
+
React.createElement(Col, { md: 4, sm: 6, xs: 12, style: { padding: 10, border: '3px solid #5ccdde' } }, "Chart 6"),
|
|
25
|
+
React.createElement(Col, { md: 6, sm: 6, xs: 12, style: { padding: 10, border: '3px solid #5ccdde' } }, "Chart 7"),
|
|
26
|
+
React.createElement(Col, { md: 6, sm: 6, xs: 12, style: { padding: 10, border: '3px solid #5ccdde' } }, "Chart 8")),
|
|
27
|
+
React.createElement(Row, { style: { padding: 10, border: '3px solid #F48770' } },
|
|
28
|
+
React.createElement(Col, { lg: 6, md: 12, sm: 8, xs: 4, style: { padding: 10, border: '3px solid #5ccdde' } }, "Col lg-6 md-12 sm-8 xs-4"),
|
|
29
|
+
React.createElement(Col, { lg: 6, md: 12, sm: 4, xs: 8, style: { padding: 10, border: '3px solid #5ccdde' } }, "Col lg-6 md-12 sm-4 xs-8")),
|
|
30
|
+
React.createElement(Row, { style: { padding: 10, border: '3px solid #F48770' } },
|
|
31
|
+
React.createElement(Col, { lg: 4, md: 10, sm: 1, xs: 2, style: { padding: 10, border: '3px solid #5ccdde' } }, "Col lg-4 md-10 sm-1 xs-1"),
|
|
32
|
+
React.createElement(Col, { lg: 4, md: 1, sm: 10, xs: 2, style: { padding: 10, border: '3px solid #5ccdde' } }, "Col lg-4 md-1 sm-10 xs-1"),
|
|
33
|
+
React.createElement(Col, { lg: 4, md: 1, sm: 1, xs: 8, style: { padding: 10, border: '3px solid #5ccdde' } }, "Col lg-4 md-1 sm-1 xs-10")),
|
|
34
|
+
React.createElement(Row, { style: { padding: 10, border: '3px solid #F48770' } },
|
|
35
|
+
React.createElement(Col, { lg: 8, md: 4, sm: 6, xs: 12, style: { padding: 10, border: '3px solid #5ccdde' } }, "Col lg-8 md-4 sm-6 xs-12"),
|
|
36
|
+
React.createElement(Col, { lg: 4, md: 8, sm: 6, xs: 12, style: { padding: 10, border: '3px solid #5ccdde' } }, "Col lg-4 md-8 sm-6 xs-12")),
|
|
37
|
+
React.createElement(Row, { style: { padding: 10, border: '3px solid #F48770' } },
|
|
38
|
+
React.createElement(Col, null,
|
|
39
|
+
React.createElement(Row, { style: { padding: 10, border: '3px solid #F48770' } },
|
|
40
|
+
React.createElement(Col, { style: { padding: 10, border: '3px solid #5ccdde' } }, "Col"),
|
|
41
|
+
React.createElement(Col, { style: { padding: 10, border: '3px solid #5ccdde' } }, "Col"),
|
|
42
|
+
React.createElement(Col, { style: { padding: 10, border: '3px solid #5ccdde' } }, "Col")),
|
|
43
|
+
React.createElement(Row, { style: { padding: 10, border: '3px solid #F48770' } },
|
|
44
|
+
React.createElement(Col, { style: { padding: 10, border: '3px solid #5ccdde' } }, "Col"),
|
|
45
|
+
React.createElement(Col, { style: { padding: 10, border: '3px solid #5ccdde' } }, "Col")),
|
|
46
|
+
React.createElement(Row, { style: { padding: 10, border: '3px solid #F48770' } },
|
|
47
|
+
React.createElement(Col, { style: { padding: 10, border: '3px solid #5ccdde' } }, "Col"))),
|
|
48
|
+
React.createElement(Col, { style: { padding: 10, border: '3px solid #5ccdde' } }, "Col"),
|
|
49
|
+
React.createElement(Col, { style: { padding: 10, border: '3px solid #5ccdde' } }, "Col"),
|
|
50
|
+
React.createElement(Col, { style: { padding: 10, border: '3px solid #5ccdde' } }, "Col")))));
|
|
51
|
+
export const Normal = Template.bind({});
|
|
52
|
+
//# sourceMappingURL=Grid.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Grid.stories.js","sourceRoot":"","sources":["../../stories/Grid.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAGzD,OAAO,mCAAmC,CAAC;AAE3C,eAAe;IACd,SAAS,EAAE,IAAI;IACf,KAAK,EAAE,cAAc;CACrB,CAAC;AAEF,MAAM,QAAQ,GAAsB,CAAC,IAAI,EAAE,EAAE,CAAC,CAC7C;IAEC,oBAAC,IAAI,IAAC,KAAK,EAAE,EAAE,S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E,EAAE,MAAM,EAAE,mBAAmB,EAAE,UAAW,CAC9D;gBACN,oBAAC,GAAG,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,mBAAmB,EAAE;oBACvD,oBAAC,GAAG,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,mBAAmB,EAAE,UAAW,CAC9D,CACD;YACN,oBAAC,GAAG,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,mBAAmB,EAAE,UAAW;YACnE,oBAAC,GAAG,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,mBAAmB,EAAE,UAAW;YACnE,oBAAC,GAAG,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,mBAAmB,EAAE,UAAW,CAC9D,CACA,CACL,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '../components/
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { IIconButtonComponentProps } from '../components/IconButton/model';
|
|
3
|
+
import '../components/Styled/GlobalStyles';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: React.FC<IIconButtonComponentProps>;
|
|
6
|
+
title: string;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Normal: any;
|
|
10
|
+
export declare const Disabled: any;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconButton } from '../components/IconButton/IconButton';
|
|
3
|
+
import '../components/Styled/GlobalStyles';
|
|
4
|
+
export default {
|
|
5
|
+
component: IconButton,
|
|
6
|
+
title: 'Example/IconButton',
|
|
7
|
+
};
|
|
8
|
+
const Template = (args) => (React.createElement(React.Fragment, null,
|
|
9
|
+
React.createElement(IconButton, Object.assign({}, args))));
|
|
10
|
+
export const Normal = Template.bind({});
|
|
11
|
+
Normal.args = {
|
|
12
|
+
children: 'check',
|
|
13
|
+
onClick: (e) => console.log(e),
|
|
14
|
+
};
|
|
15
|
+
export const Disabled = Template.bind({});
|
|
16
|
+
Disabled.args = {
|
|
17
|
+
children: 'close',
|
|
18
|
+
disabled: true,
|
|
19
|
+
onClick: (e) => console.log(e),
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=IconButton.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.stories.js","sourceRoot":"","sources":["../../stories/IconButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAGjE,OAAO,mCAAmC,CAAC;AAE3C,eAAe;IACd,SAAS,EAAE,UAAU;IACrB,KAAK,EAAE,oBAAoB;CAC3B,CAAC;AAEF,MAAM,QAAQ,GAAqC,CAAC,IAAI,EAAE,EAAE,CAAC,CAC5D;IAEC,oBAAC,UAAU,oBAAK,IAAI,EAAI,CACtB,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxC,MAAM,CAAC,IAAI,GAAG;IACb,QAAQ,EAAE,OAAO;IACjB,OAAO,EAAE,CAAC,CAAgC,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;CAChC,CAAC;AAE/B,MAAM,CAAC,MAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC1C,QAAQ,CAAC,IAAI,GAAG;IACf,QAAQ,EAAE,OAAO;IACjB,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE,CAAC,CAAgC,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;CAChC,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '../components/Styled/GlobalStyles';
|
|
3
|
-
declare const _default:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '../components/Styled/GlobalStyles';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
component: React.FC<import("../components/Input/model").IInputComponentProps>;
|
|
5
|
+
title: string;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Normal: any;
|
|
9
|
+
export declare const WithLabel: any;
|
|
10
|
+
export declare const WithDescription: any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Input, InputContainer, InputEmoji, InputIcon, InputOption, InputOptionList, InputOptionListTitle, } from '../components/Input/Input';
|
|
3
|
+
import { Box } from '../components/Box/Box';
|
|
4
|
+
import { Description } from '../components/Description/Description';
|
|
5
|
+
import { Label } from '../components/Label/Label';
|
|
6
|
+
import '../components/Styled/GlobalStyles';
|
|
7
|
+
export default {
|
|
8
|
+
component: Input,
|
|
9
|
+
title: 'Example/Input',
|
|
10
|
+
};
|
|
11
|
+
const Template = (args) => (React.createElement(React.Fragment, null,
|
|
12
|
+
React.createElement(Box, Object.assign({ d: "flex" }, args))));
|
|
13
|
+
export const Normal = Template.bind({});
|
|
14
|
+
Normal.args = {
|
|
15
|
+
children: (React.createElement(React.Fragment, null,
|
|
16
|
+
React.createElement(InputContainer, { dataLabel: "Input", onChangeInput: (e, data) => console.log(data), value: "Input" },
|
|
17
|
+
React.createElement(Input, null),
|
|
18
|
+
React.createElement(InputOptionList, { icon: "check" },
|
|
19
|
+
React.createElement(InputOptionListTitle, null, "Personalization Tags"),
|
|
20
|
+
React.createElement(InputOption, { value: "tag1" }, "Tag 1"),
|
|
21
|
+
React.createElement(InputOption, { value: "tag2" }, "Tag 2"),
|
|
22
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
23
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
24
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
25
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
26
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
27
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
28
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
29
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
30
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
31
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
32
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
33
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
34
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
35
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
36
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
37
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
38
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
39
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
40
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3"),
|
|
41
|
+
React.createElement(InputOption, { value: "tag3" }, "Tag 3")),
|
|
42
|
+
React.createElement(InputEmoji, null),
|
|
43
|
+
React.createElement(InputIcon, null, "search")))),
|
|
44
|
+
};
|
|
45
|
+
export const WithLabel = Template.bind({});
|
|
46
|
+
WithLabel.args = {
|
|
47
|
+
children: (React.createElement(React.Fragment, null,
|
|
48
|
+
React.createElement(Label, null, "Some Field:"),
|
|
49
|
+
React.createElement(Input, { autoFocus: true }))),
|
|
50
|
+
};
|
|
51
|
+
export const WithDescription = Template.bind({});
|
|
52
|
+
WithDescription.args = {
|
|
53
|
+
children: (React.createElement(React.Fragment, null,
|
|
54
|
+
React.createElement(Input, { placeholder: "With description..." }),
|
|
55
|
+
React.createElement(Description, null, "Description goes here"))),
|
|
56
|
+
d: 'block',
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=Input.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.stories.js","sourceRoot":"","sources":["../../stories/Input.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EACN,KAAK,EACL,cAAc,EACd,UAAU,EACV,SAAS,EACT,WAAW,EACX,eAAe,EACf,oBAAoB,GACpB,MAAM,2BAA2B,CAAC;AAMnC,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,mCAAmC,CAAC;AAE3C,eAAe;IACd,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,eAAe;CACtB,CAAC;AAEF,MAAM,QAAQ,GAAyC,CAAC,IAAI,EAAE,EAAE,CAAC,CAChE;IAEC,oBAAC,GAAG,kBAAC,CAAC,EAAC,MAAM,IAAK,IAAI,EAAI,CACxB,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxC,MAAM,CAAC,IAAI,GAAG;IACb,QAAQ,EAAE,CACT;QACC,oBAAC,cAAc,IACd,SAAS,EAAC,OAAO,EACjB,aAAa,EAAE,CAAC,CAAsC,EAAE,IAAwB,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EACtG,KAAK,EAAC,OAAO;YAEb,oBAAC,KAAK,OAAG;YACT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B,CAC5B;YAClB,oBAAC,UAAU,OAAG;YACd,oBAAC,SAAS,iBAAmB,CACb,CACf,CACH;CACgC,CAAC;AAEnC,MAAM,CAAC,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3C,SAAS,CAAC,IAAI,GAAG;IAChB,QAAQ,EAAE,CACT;QACC,oBAAC,KAAK,sBAAoB;QAC1B,oBAAC,KAAK,IAAC,SAAS,SAAG,CACjB,CACH;CACgC,CAAC;AAEnC,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,eAAe,CAAC,IAAI,GAAG;IACtB,QAAQ,EAAE,CACT;QACC,oBAAC,KAAK,IAAC,WAAW,EAAC,qBAAqB,GAAG;QAC3C,oBAAC,WAAW,gCAAoC,CAC9C,CACH;IACD,CAAC,EAAE,OAAO;CACuB,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '../components/
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ILayoutComponentProps } from '../components/Layout/model';
|
|
3
|
+
import '../components/Styled/GlobalStyles';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: React.FC<ILayoutComponentProps>;
|
|
6
|
+
title: string;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Normal: any;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Layout } from '../components/Layout/Layout';
|
|
3
|
+
import { Box } from '../components/Box/Box';
|
|
4
|
+
import '../components/Styled/GlobalStyles';
|
|
5
|
+
export default {
|
|
6
|
+
component: Layout,
|
|
7
|
+
title: 'Example/Layout',
|
|
8
|
+
};
|
|
9
|
+
const Template = (args) => (React.createElement(React.Fragment, null,
|
|
10
|
+
React.createElement(Layout, Object.assign({}, args))));
|
|
11
|
+
export const Normal = Template.bind({});
|
|
12
|
+
Normal.args = {
|
|
13
|
+
children: (React.createElement(React.Fragment, null,
|
|
14
|
+
React.createElement(Box, { p: 30, round: "sm", boxShadow: "md" }, "Box"),
|
|
15
|
+
React.createElement(Box, { p: 30, round: "sm", boxShadow: "md" }, "Box"),
|
|
16
|
+
React.createElement(Box, { p: 30, round: "sm", boxShadow: "md" }, "Box"),
|
|
17
|
+
React.createElement(Box, { p: 30, round: "sm", boxShadow: "md" }, "Box"),
|
|
18
|
+
React.createElement(Box, { p: 30, round: "sm", boxShadow: "md" }, "Box"),
|
|
19
|
+
React.createElement(Box, { p: 30, round: "sm", boxShadow: "md" }, "Box"),
|
|
20
|
+
React.createElement(Box, { p: 30, round: "sm", boxShadow: "md" }, "Box"),
|
|
21
|
+
React.createElement(Box, { p: 30, round: "sm", boxShadow: "md" }, "Box"))),
|
|
22
|
+
cols: 3,
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=Layout.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Layout.stories.js","sourceRoot":"","sources":["../../stories/Layout.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAGrD,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,mCAAmC,CAAC;AAE3C,eAAe;IACd,SAAS,EAAE,MAAM;IACjB,KAAK,EAAE,gBAAgB;CACvB,CAAC;AAEF,MAAM,QAAQ,GAAiC,CAAC,IAAI,EAAE,EAAE,CAAC,CACxD;IAEC,oBAAC,MAAM,oBAAK,IAAI,EAAI,CAClB,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxC,MAAM,CAAC,IAAI,GAAG;IACb,QAAQ,EAAE,CACT;QACC,oBAAC,GAAG,IAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,UAE/B;QACN,oBAAC,GAAG,IAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,UAE/B;QACN,oBAAC,GAAG,IAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,UAE/B;QACN,oBAAC,GAAG,IAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,UAE/B;QACN,oBAAC,GAAG,IAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,UAE/B;QACN,oBAAC,GAAG,IAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,UAE/B;QACN,oBAAC,GAAG,IAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,UAE/B;QACN,oBAAC,GAAG,IAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,UAE/B,CACJ,CACH;IACD,IAAI,EAAE,CAAC;CACkB,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '../components/Styled/GlobalStyles';
|
|
3
|
-
declare const _default:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '../components/Styled/GlobalStyles';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
component: React.FC<import("../components/index").ILayoutComponentProps>;
|
|
5
|
+
title: string;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Normal: any;
|
|
9
|
+
export declare const WithCols: any;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { List, ListItem, ListItemBody, ListItemEnd, ListItemHead } from '../components/List/List';
|
|
3
|
+
import { Box } from '../components/Box/Box';
|
|
4
|
+
import { Button } from '../components/Button/Button';
|
|
5
|
+
import '../components/Styled/GlobalStyles';
|
|
6
|
+
export default {
|
|
7
|
+
component: List,
|
|
8
|
+
title: 'Example/List',
|
|
9
|
+
};
|
|
10
|
+
const Template = (args) => (React.createElement(React.Fragment, null,
|
|
11
|
+
React.createElement(List, Object.assign({}, args))));
|
|
12
|
+
export const Normal = Template.bind({});
|
|
13
|
+
Normal.args = {
|
|
14
|
+
children: [
|
|
15
|
+
React.createElement(ListItem, { key: "0" },
|
|
16
|
+
React.createElement(ListItemHead, null,
|
|
17
|
+
React.createElement("img", { src: "https://camo.githubusercontent.com/059ab65a22f6b1b2bb76765633cb4a4cd9eefd5b7745277fb016c081a6ab4be4/68747470733a2f2f63646e2e737461742d747261636b2e636f6d2f32303137303830332d323031372d303830332d323031372d3038303332303137303830332f63613561643932343964323834343335393535623735653161323261613135636d6f6f736b696e4c6f676f2e706e67", style: { display: 'block' }, width: 50, alt: "" })),
|
|
18
|
+
React.createElement(ListItemBody, null,
|
|
19
|
+
React.createElement(Box, { fontWeight: 600, fontSize: 16 }, "Some Bold Text"),
|
|
20
|
+
React.createElement(Box, { fontSize: 12 }, "Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test.")),
|
|
21
|
+
React.createElement(ListItemEnd, null,
|
|
22
|
+
React.createElement(Button, null, "Button"))),
|
|
23
|
+
React.createElement(ListItem, { key: "1" },
|
|
24
|
+
React.createElement(ListItemHead, null,
|
|
25
|
+
React.createElement("img", { src: "https://camo.githubusercontent.com/059ab65a22f6b1b2bb76765633cb4a4cd9eefd5b7745277fb016c081a6ab4be4/68747470733a2f2f63646e2e737461742d747261636b2e636f6d2f32303137303830332d323031372d303830332d323031372d3038303332303137303830332f63613561643932343964323834343335393535623735653161323261613135636d6f6f736b696e4c6f676f2e706e67", style: { display: 'block' }, width: 50, alt: "" })),
|
|
26
|
+
React.createElement(ListItemBody, null,
|
|
27
|
+
React.createElement(Box, { fontWeight: 600, fontSize: 16 }, "Some Bold Text"),
|
|
28
|
+
React.createElement(Box, { fontSize: 12 }, "Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test.")),
|
|
29
|
+
React.createElement(ListItemEnd, null,
|
|
30
|
+
React.createElement(Button, null, "Button"))),
|
|
31
|
+
React.createElement(ListItem, { key: "2" },
|
|
32
|
+
React.createElement(ListItemHead, null,
|
|
33
|
+
React.createElement("img", { src: "https://camo.githubusercontent.com/059ab65a22f6b1b2bb76765633cb4a4cd9eefd5b7745277fb016c081a6ab4be4/68747470733a2f2f63646e2e737461742d747261636b2e636f6d2f32303137303830332d323031372d303830332d323031372d3038303332303137303830332f63613561643932343964323834343335393535623735653161323261613135636d6f6f736b696e4c6f676f2e706e67", style: { display: 'block' }, width: 50, alt: "" })),
|
|
34
|
+
React.createElement(ListItemBody, null,
|
|
35
|
+
React.createElement(Box, { fontWeight: 600, fontSize: 16 }, "Some Bold Text"),
|
|
36
|
+
React.createElement(Box, { fontSize: 12 }, "Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test.")),
|
|
37
|
+
React.createElement(ListItemEnd, null,
|
|
38
|
+
React.createElement(Button, null, "Button"))),
|
|
39
|
+
],
|
|
40
|
+
};
|
|
41
|
+
export const WithCols = Template.bind({});
|
|
42
|
+
WithCols.args = {
|
|
43
|
+
children: [
|
|
44
|
+
React.createElement(ListItem, { key: "0" },
|
|
45
|
+
React.createElement(ListItemHead, null,
|
|
46
|
+
React.createElement("img", { src: "https://camo.githubusercontent.com/059ab65a22f6b1b2bb76765633cb4a4cd9eefd5b7745277fb016c081a6ab4be4/68747470733a2f2f63646e2e737461742d747261636b2e636f6d2f32303137303830332d323031372d303830332d323031372d3038303332303137303830332f63613561643932343964323834343335393535623735653161323261613135636d6f6f736b696e4c6f676f2e706e67", style: { display: 'block' }, width: 50, alt: "" })),
|
|
47
|
+
React.createElement(ListItemBody, null,
|
|
48
|
+
React.createElement(Box, { fontWeight: 600, fontSize: 16 }, "Some Bold Text"),
|
|
49
|
+
React.createElement(Box, { fontSize: 12 }, "Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test.")),
|
|
50
|
+
React.createElement(ListItemEnd, null,
|
|
51
|
+
React.createElement(Button, null, "Button"))),
|
|
52
|
+
React.createElement(ListItem, { key: "1" },
|
|
53
|
+
React.createElement(ListItemHead, null,
|
|
54
|
+
React.createElement("img", { src: "https://camo.githubusercontent.com/059ab65a22f6b1b2bb76765633cb4a4cd9eefd5b7745277fb016c081a6ab4be4/68747470733a2f2f63646e2e737461742d747261636b2e636f6d2f32303137303830332d323031372d303830332d323031372d3038303332303137303830332f63613561643932343964323834343335393535623735653161323261613135636d6f6f736b696e4c6f676f2e706e67", style: { display: 'block' }, width: 50, alt: "" })),
|
|
55
|
+
React.createElement(ListItemBody, null,
|
|
56
|
+
React.createElement(Box, { fontWeight: 600, fontSize: 16 }, "Some Bold Text"),
|
|
57
|
+
React.createElement(Box, { fontSize: 12 }, "Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test.")),
|
|
58
|
+
React.createElement(ListItemEnd, null,
|
|
59
|
+
React.createElement(Button, null, "Button"))),
|
|
60
|
+
React.createElement(ListItem, { key: "2" },
|
|
61
|
+
React.createElement(ListItemHead, null,
|
|
62
|
+
React.createElement("img", { src: "https://camo.githubusercontent.com/059ab65a22f6b1b2bb76765633cb4a4cd9eefd5b7745277fb016c081a6ab4be4/68747470733a2f2f63646e2e737461742d747261636b2e636f6d2f32303137303830332d323031372d303830332d323031372d3038303332303137303830332f63613561643932343964323834343335393535623735653161323261613135636d6f6f736b696e4c6f676f2e706e67", style: { display: 'block' }, width: 50, alt: "" })),
|
|
63
|
+
React.createElement(ListItemBody, null,
|
|
64
|
+
React.createElement(Box, { fontWeight: 600, fontSize: 16 }, "Some Bold Text"),
|
|
65
|
+
React.createElement(Box, { fontSize: 12 }, "Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test.")),
|
|
66
|
+
React.createElement(ListItemEnd, null,
|
|
67
|
+
React.createElement(Button, null, "Button"))),
|
|
68
|
+
React.createElement(ListItem, { key: "3" },
|
|
69
|
+
React.createElement(ListItemHead, null,
|
|
70
|
+
React.createElement("img", { src: "https://camo.githubusercontent.com/059ab65a22f6b1b2bb76765633cb4a4cd9eefd5b7745277fb016c081a6ab4be4/68747470733a2f2f63646e2e737461742d747261636b2e636f6d2f32303137303830332d323031372d303830332d323031372d3038303332303137303830332f63613561643932343964323834343335393535623735653161323261613135636d6f6f736b696e4c6f676f2e706e67", style: { display: 'block' }, width: 50, alt: "" })),
|
|
71
|
+
React.createElement(ListItemBody, null,
|
|
72
|
+
React.createElement(Box, { fontWeight: 600, fontSize: 16 }, "Some Bold Text"),
|
|
73
|
+
React.createElement(Box, { fontSize: 12 }, "Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test.")),
|
|
74
|
+
React.createElement(ListItemEnd, null,
|
|
75
|
+
React.createElement(Button, null, "Button"))),
|
|
76
|
+
React.createElement(ListItem, { key: "4" },
|
|
77
|
+
React.createElement(ListItemHead, null,
|
|
78
|
+
React.createElement("img", { src: "https://camo.githubusercontent.com/059ab65a22f6b1b2bb76765633cb4a4cd9eefd5b7745277fb016c081a6ab4be4/68747470733a2f2f63646e2e737461742d747261636b2e636f6d2f32303137303830332d323031372d303830332d323031372d3038303332303137303830332f63613561643932343964323834343335393535623735653161323261613135636d6f6f736b696e4c6f676f2e706e67", style: { display: 'block' }, width: 50, alt: "" })),
|
|
79
|
+
React.createElement(ListItemBody, null,
|
|
80
|
+
React.createElement(Box, { fontWeight: 600, fontSize: 16 }, "Some Bold Text"),
|
|
81
|
+
React.createElement(Box, { fontSize: 12 }, "Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test, Test test test test test.")),
|
|
82
|
+
React.createElement(ListItemEnd, null,
|
|
83
|
+
React.createElement(Button, null, "Button"))),
|
|
84
|
+
],
|
|
85
|
+
cols: 3,
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=List.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.stories.js","sourceRoot":"","sources":["../../stories/List.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAElG,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,mCAAmC,CAAC;AAE3C,eAAe;IACd,SAAS,EAAE,IAAI;IACf,KAAK,EAAE,cAAc;CACrB,CAAC;AAEF,MAAM,QAAQ,GAA8B,CAAC,IAAI,EAAE,EAAE,CAAC,CACrD;IAEC,oBAAC,IAAI,oBAAK,IAAI,EAAI,CAChB,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxC,MAAM,CAAC,IAAI,GAAG;IACb,QAAQ,EAAE;QACT,oBAAC,QAAQ,IAAC,GAAG,EAAC,GAAG;YAChB,oBAAC,YAAY;gBACZ,6BACC,GAAG,EAAC,oUAAoU,EACxU,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,EAC3B,KAAK,EAAE,EAAE,EACT,GAAG,EAAC,EAAE,GACL,CACY;YACf,oBAAC,YAAY;gBACZ,oBAAC,GAAG,IAAC,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE,qBAE5B;gBACN,oBAAC,GAAG,IAAC,QAAQ,EAAE,EAAE,kKAGX,CACQ;YACf,oBAAC,WAAW;gBACX,oBAAC,MAAM,iBAAgB,CACV,CACJ;QAC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AE,GAAG,EAAE,QAAQ,EAAE,EAAE,qBAE5B;gBACN,oBAAC,GAAG,IAAC,QAAQ,EAAE,EAAE,kKAGX,CACQ;YACf,oBAAC,WAAW;gBACX,oBAAC,MAAM,iBAAgB,CACV,CACJ;QACX,oBAAC,QAAQ,IAAC,GAAG,EAAC,GAAG;YAChB,oBAAC,YAAY;gBACZ,6BACC,GAAG,EAAC,oUAAoU,EACxU,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,EAC3B,KAAK,EAAE,EAAE,EACT,GAAG,EAAC,EAAE,GACL,CACY;YACf,oBAAC,YAAY;gBACZ,oBAAC,GAAG,IAAC,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE,qBAE5B;gBACN,oBAAC,GAAG,IAAC,QAAQ,EAAE,EAAE,kKAGX,CACQ;YACf,oBAAC,WAAW;gBACX,oBAAC,MAAM,iBAAgB,CACV,CACJ;KACX;IACD,IAAI,EAAE,CAAC;CACe,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '../components/
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ILoaderComponentProps } from '../components/Loader/model';
|
|
3
|
+
import '../components/Styled/GlobalStyles';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: React.FC<ILoaderComponentProps>;
|
|
6
|
+
title: string;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Normal: any;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Loader } from '../components/Loader/Loader';
|
|
3
|
+
import '../components/Styled/GlobalStyles';
|
|
4
|
+
export default {
|
|
5
|
+
component: Loader,
|
|
6
|
+
title: 'Example/Loader',
|
|
7
|
+
};
|
|
8
|
+
const Template = (args) => (React.createElement(React.Fragment, null,
|
|
9
|
+
React.createElement(Loader, Object.assign({}, args))));
|
|
10
|
+
export const Normal = Template.bind({});
|
|
11
|
+
Normal.args = {};
|
|
12
|
+
//# sourceMappingURL=Loader.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loader.stories.js","sourceRoot":"","sources":["../../stories/Loader.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAGrD,OAAO,mCAAmC,CAAC;AAE3C,eAAe;IACd,SAAS,EAAE,MAAM;IACjB,KAAK,EAAE,gBAAgB;CACvB,CAAC;AAEF,MAAM,QAAQ,GAAiC,CAAC,IAAI,EAAE,EAAE,CAAC,CACxD;IAEC,oBAAC,MAAM,oBAAK,IAAI,EAAI,CAClB,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxC,MAAM,CAAC,IAAI,GAAG,EAA2B,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '../components/
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ILoadingBarComponentProps } from '../components/LoadingBar/model';
|
|
3
|
+
import '../components/Styled/GlobalStyles';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: React.FC<ILoadingBarComponentProps>;
|
|
6
|
+
title: string;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Normal: any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LoadingBar } from '../components/LoadingBar/LoadingBar';
|
|
3
|
+
import '../components/Styled/GlobalStyles';
|
|
4
|
+
export default {
|
|
5
|
+
component: LoadingBar,
|
|
6
|
+
title: 'Example/LoadingBar',
|
|
7
|
+
};
|
|
8
|
+
const Template = (args) => (React.createElement(React.Fragment, null,
|
|
9
|
+
React.createElement(LoadingBar, Object.assign({}, args))));
|
|
10
|
+
export const Normal = Template.bind({});
|
|
11
|
+
Normal.args = {
|
|
12
|
+
onLoaderDone: () => console.log('Done'),
|
|
13
|
+
onLoaderError: () => console.log('Error'),
|
|
14
|
+
progress: 70,
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=LoadingBar.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingBar.stories.js","sourceRoot":"","sources":["../../stories/LoadingBar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAGjE,OAAO,mCAAmC,CAAC;AAE3C,eAAe;IACd,SAAS,EAAE,UAAU;IACrB,KAAK,EAAE,oBAAoB;CAC3B,CAAC;AAEF,MAAM,QAAQ,GAAqC,CAAC,IAAI,EAAE,EAAE,CAAC,CAC5D;IAEC,oBAAC,UAAU,oBAAK,IAAI,EAAI,CACtB,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxC,MAAM,CAAC,IAAI,GAAG;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;IACvC,aAAa,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC;IACzC,QAAQ,EAAE,EAAE;CACiB,CAAC"}
|