@webiny/ui 5.43.2 → 6.0.0-alpha.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/Accordion/Accordion.d.ts +7 -3
- package/Accordion/Accordion.js +9 -30
- package/Accordion/Accordion.js.map +1 -1
- package/Accordion/AccordionItem.d.ts +116 -37
- package/Accordion/AccordionItem.js +33 -188
- package/Accordion/AccordionItem.js.map +1 -1
- package/Accordion/AccordionItemActions.d.ts +8 -0
- package/Accordion/AccordionItemActions.js +30 -28
- package/Accordion/AccordionItemActions.js.map +1 -1
- package/Accordion/index.js +2 -27
- package/Accordion/index.js.map +1 -1
- package/Alert/Alert.d.ts +2 -1
- package/Alert/Alert.js +16 -52
- package/Alert/Alert.js.map +1 -1
- package/Alert/index.js +1 -16
- package/Alert/index.js.map +1 -1
- package/AutoComplete/AutoComplete.d.ts +6 -18
- package/AutoComplete/AutoComplete.js +61 -289
- package/AutoComplete/AutoComplete.js.map +1 -1
- package/AutoComplete/MultiAutoComplete.d.ts +12 -46
- package/AutoComplete/MultiAutoComplete.js +78 -563
- package/AutoComplete/MultiAutoComplete.js.map +1 -1
- package/AutoComplete/index.js +2 -27
- package/AutoComplete/index.js.map +1 -1
- package/AutoComplete/types.d.ts +4 -4
- package/AutoComplete/types.js +1 -5
- package/AutoComplete/types.js.map +1 -1
- package/AutoComplete/utils.d.ts +1 -1
- package/AutoComplete/utils.js +4 -10
- package/AutoComplete/utils.js.map +1 -1
- package/Avatar/Avatar.d.ts +2 -1
- package/Avatar/Avatar.js +30 -81
- package/Avatar/Avatar.js.map +1 -1
- package/Avatar/index.js +1 -16
- package/Avatar/index.js.map +1 -1
- package/Button/Button.d.ts +8 -27
- package/Button/Button.js +12 -121
- package/Button/Button.js.map +1 -1
- package/Button/ButtonDefault.d.ts +7 -0
- package/Button/ButtonDefault.js +16 -0
- package/Button/ButtonDefault.js.map +1 -0
- package/Button/ButtonFloating.d.ts +7 -0
- package/Button/ButtonFloating.js +12 -0
- package/Button/ButtonFloating.js.map +1 -0
- package/Button/ButtonIcon.d.ts +9 -0
- package/Button/ButtonIcon.js +11 -0
- package/Button/ButtonIcon.js.map +1 -0
- package/Button/ButtonPrimary.d.ts +7 -0
- package/Button/ButtonPrimary.js +16 -0
- package/Button/ButtonPrimary.js.map +1 -0
- package/Button/ButtonSecondary.d.ts +7 -0
- package/Button/ButtonSecondary.js +16 -0
- package/Button/ButtonSecondary.js.map +1 -0
- package/Button/CopyButton.d.ts +17 -0
- package/Button/CopyButton.js +12 -0
- package/Button/CopyButton.js.map +1 -0
- package/Button/IconButton.d.ts +16 -0
- package/Button/IconButton.js +15 -0
- package/Button/IconButton.js.map +1 -0
- package/Button/index.d.ts +7 -2
- package/Button/index.js +8 -38
- package/Button/index.js.map +1 -1
- package/Button/useMappedButtonProps.d.ts +14 -0
- package/Button/useMappedButtonProps.js +21 -0
- package/Button/useMappedButtonProps.js.map +1 -0
- package/Carousel/Carousel.d.ts +6 -15
- package/Carousel/Carousel.js +10 -42
- package/Carousel/Carousel.js.map +1 -1
- package/Carousel/index.js +1 -13
- package/Carousel/index.js.map +1 -1
- package/Checkbox/Checkbox.d.ts +3 -5
- package/Checkbox/Checkbox.js +32 -64
- package/Checkbox/Checkbox.js.map +1 -1
- package/Checkbox/CheckboxGroup.d.ts +5 -1
- package/Checkbox/CheckboxGroup.js +46 -58
- package/Checkbox/CheckboxGroup.js.map +1 -1
- package/Checkbox/index.js +2 -20
- package/Checkbox/index.js.map +1 -1
- package/Chips/Chip.d.ts +31 -2
- package/Chips/Chip.js +44 -27
- package/Chips/Chip.js.map +1 -1
- package/Chips/Chips.d.ts +4 -0
- package/Chips/Chips.js +14 -21
- package/Chips/Chips.js.map +1 -1
- package/Chips/index.js +2 -27
- package/Chips/index.js.map +1 -1
- package/CodeEditor/CodeEditor.d.ts +4 -12
- package/CodeEditor/CodeEditor.js +12 -82
- package/CodeEditor/CodeEditor.js.map +1 -1
- package/CodeEditor/index.js +1 -16
- package/CodeEditor/index.js.map +1 -1
- package/ColorPicker/ColorPicker.d.ts +4 -19
- package/ColorPicker/ColorPicker.js +25 -150
- package/ColorPicker/ColorPicker.js.map +1 -1
- package/ColorPicker/index.js +1 -16
- package/ColorPicker/index.js.map +1 -1
- package/ConfirmationDialog/ConfirmationDialog.js +78 -102
- package/ConfirmationDialog/ConfirmationDialog.js.map +1 -1
- package/ConfirmationDialog/index.js +2 -27
- package/ConfirmationDialog/index.js.map +1 -1
- package/ConfirmationDialog/withConfirmation.js +10 -18
- package/ConfirmationDialog/withConfirmation.js.map +1 -1
- package/DataTable/DataTable.d.ts +54 -91
- package/DataTable/DataTable.js +56 -324
- package/DataTable/DataTable.js.map +1 -1
- package/DataTable/index.js +1 -16
- package/DataTable/index.js.map +1 -1
- package/DateTime/Date.js +14 -21
- package/DateTime/Date.js.map +1 -1
- package/DateTime/index.js +1 -12
- package/DateTime/index.js.map +1 -1
- package/DelayedOnChange/index.d.ts +7 -1
- package/DelayedOnChange/index.js +7 -16
- package/DelayedOnChange/index.js.map +1 -1
- package/Dialog/Dialog.d.ts +47 -59
- package/Dialog/Dialog.js +69 -79
- package/Dialog/Dialog.js.map +1 -1
- package/Dialog/index.js +1 -16
- package/Dialog/index.js.map +1 -1
- package/Drawer/Drawer.d.ts +28 -21
- package/Drawer/Drawer.js +42 -52
- package/Drawer/Drawer.js.map +1 -1
- package/Drawer/index.js +1 -16
- package/Drawer/index.js.map +1 -1
- package/DynamicFieldset/index.d.ts +7 -1
- package/DynamicFieldset/index.js +7 -13
- package/DynamicFieldset/index.js.map +1 -1
- package/Elevation/Elevation.d.ts +6 -2
- package/Elevation/Elevation.js +13 -15
- package/Elevation/Elevation.js.map +1 -1
- package/Elevation/index.js +1 -16
- package/Elevation/index.js.map +1 -1
- package/FormElementMessage/FormElementMessage.d.ts +6 -2
- package/FormElementMessage/FormElementMessage.js +21 -16
- package/FormElementMessage/FormElementMessage.js.map +1 -1
- package/FormElementMessage/index.js +1 -12
- package/FormElementMessage/index.js.map +1 -1
- package/FullName/FullName.d.ts +4 -0
- package/FullName/FullName.js +11 -9
- package/FullName/FullName.js.map +1 -1
- package/FullName/index.js +1 -16
- package/FullName/index.js.map +1 -1
- package/Grid/Grid.d.ts +32 -8
- package/Grid/Grid.js +37 -16
- package/Grid/Grid.js.map +1 -1
- package/Grid/index.js +1 -16
- package/Grid/index.js.map +1 -1
- package/Helpers/ClassNames.d.ts +3 -3
- package/Helpers/ClassNames.js +13 -19
- package/Helpers/ClassNames.js.map +1 -1
- package/Helpers/index.js +2 -12
- package/Helpers/index.js.map +1 -1
- package/Icon/Icon.d.ts +7 -2
- package/Icon/Icon.js +9 -25
- package/Icon/Icon.js.map +1 -1
- package/Icon/index.js +1 -16
- package/Icon/index.js.map +1 -1
- package/Image/index.d.ts +6 -1
- package/Image/index.js +6 -15
- package/Image/index.js.map +1 -1
- package/ImageEditor/ImageEditor.d.ts +8 -23
- package/ImageEditor/ImageEditor.js +11 -266
- package/ImageEditor/ImageEditor.js.map +1 -1
- package/ImageEditor/index.js +1 -16
- package/ImageEditor/index.js.map +1 -1
- package/ImageUpload/Image.d.ts +8 -15
- package/ImageUpload/Image.js +12 -114
- package/ImageUpload/Image.js.map +1 -1
- package/ImageUpload/ImageEditorDialog.d.ts +5 -1
- package/ImageUpload/ImageEditorDialog.js +11 -79
- package/ImageUpload/ImageEditorDialog.js.map +1 -1
- package/ImageUpload/MultiImageUpload.d.ts +6 -21
- package/ImageUpload/MultiImageUpload.js +12 -278
- package/ImageUpload/MultiImageUpload.js.map +1 -1
- package/ImageUpload/SingleImageUpload.d.ts +5 -22
- package/ImageUpload/SingleImageUpload.js +12 -189
- package/ImageUpload/SingleImageUpload.js.map +1 -1
- package/ImageUpload/index.d.ts +1 -1
- package/ImageUpload/index.js +4 -34
- package/ImageUpload/index.js.map +1 -1
- package/Input/Input.d.ts +59 -8
- package/Input/Input.js +70 -73
- package/Input/Input.js.map +1 -1
- package/Input/index.js +1 -16
- package/Input/index.js.map +1 -1
- package/List/CollapsibleList/index.d.ts +18 -4
- package/List/CollapsibleList/index.js +9 -13
- package/List/CollapsibleList/index.js.map +1 -1
- package/List/DataList/DataList.d.ts +12 -38
- package/List/DataList/DataList.js +15 -305
- package/List/DataList/DataList.js.map +1 -1
- package/List/DataList/DataListModalOverlay/index.d.ts +12 -3
- package/List/DataList/DataListModalOverlay/index.js +13 -31
- package/List/DataList/DataListModalOverlay/index.js.map +1 -1
- package/List/DataList/DataListWithSections.d.ts +12 -36
- package/List/DataList/DataListWithSections.js +15 -323
- package/List/DataList/DataListWithSections.js.map +1 -1
- package/List/DataList/icons/index.d.ts +1 -15
- package/List/DataList/icons/index.js +1 -62
- package/List/DataList/icons/index.js.map +1 -1
- package/List/DataList/index.d.ts +0 -1
- package/List/DataList/index.js +3 -58
- package/List/DataList/index.js.map +1 -1
- package/List/DataList/types.d.ts +1 -28
- package/List/DataList/types.js +1 -5
- package/List/DataList/types.js.map +1 -1
- package/List/List/List.d.ts +51 -0
- package/List/List/List.js +16 -0
- package/List/List/List.js.map +1 -0
- package/List/List/ListItem.d.ts +61 -0
- package/List/List/ListItem.js +91 -0
- package/List/List/ListItem.js.map +1 -0
- package/List/List/ListItemAction.d.ts +9 -0
- package/List/List/ListItemAction.js +15 -0
- package/List/List/ListItemAction.js.map +1 -0
- package/List/List/ListItemGraphic.d.ts +18 -0
- package/List/List/ListItemGraphic.js +26 -0
- package/List/List/ListItemGraphic.js.map +1 -0
- package/List/List/ListItemMeta.d.ts +26 -0
- package/List/List/ListItemMeta.js +24 -0
- package/List/List/ListItemMeta.js.map +1 -0
- package/List/List/ListItemText.d.ts +42 -0
- package/List/List/ListItemText.js +51 -0
- package/List/List/ListItemText.js.map +1 -0
- package/List/List/index.d.ts +6 -0
- package/List/List/index.js +8 -0
- package/List/List/index.js.map +1 -0
- package/List/index.d.ts +1 -0
- package/List/index.js +4 -70
- package/List/index.js.map +1 -1
- package/Menu/Menu.d.ts +40 -4
- package/Menu/Menu.js +74 -100
- package/Menu/Menu.js.map +1 -1
- package/Menu/index.js +1 -16
- package/Menu/index.js.map +1 -1
- package/Mosaic/Mosaic.d.ts +5 -5
- package/Mosaic/Mosaic.js +6 -26
- package/Mosaic/Mosaic.js.map +1 -1
- package/Mosaic/index.js +1 -16
- package/Mosaic/index.js.map +1 -1
- package/Progress/CircularProgress.d.ts +10 -2
- package/Progress/CircularProgress.js +16 -67
- package/Progress/CircularProgress.js.map +1 -1
- package/Progress/index.d.ts +1 -1
- package/Progress/index.js +1 -13
- package/Progress/index.js.map +1 -1
- package/Radio/Radio.d.ts +3 -3
- package/Radio/Radio.js +34 -54
- package/Radio/Radio.js.map +1 -1
- package/Radio/RadioGroup.d.ts +6 -2
- package/Radio/RadioGroup.js +37 -48
- package/Radio/RadioGroup.js.map +1 -1
- package/Radio/index.js +2 -20
- package/Radio/index.js.map +1 -1
- package/RichTextEditor/RichTextEditor.d.ts +10 -29
- package/RichTextEditor/RichTextEditor.js +14 -131
- package/RichTextEditor/RichTextEditor.js.map +1 -1
- package/RichTextEditor/index.d.ts +3 -2
- package/RichTextEditor/index.js +2 -27
- package/RichTextEditor/index.js.map +1 -1
- package/Ripple/Ripple.d.ts +1 -1
- package/Ripple/Ripple.js +6 -15
- package/Ripple/Ripple.js.map +1 -1
- package/Ripple/index.js +1 -16
- package/Ripple/index.js.map +1 -1
- package/Scrollbar/Scrollbar.d.ts +5 -8
- package/Scrollbar/Scrollbar.js +7 -11
- package/Scrollbar/Scrollbar.js.map +1 -1
- package/Scrollbar/index.js +1 -16
- package/Scrollbar/index.js.map +1 -1
- package/Section/index.d.ts +4 -0
- package/Section/index.js +13 -66
- package/Section/index.js.map +1 -1
- package/Select/Select.d.ts +36 -3
- package/Select/Select.js +91 -90
- package/Select/Select.js.map +1 -1
- package/Select/index.js +1 -16
- package/Select/index.js.map +1 -1
- package/Skeleton/Skeleton.d.ts +24 -6
- package/Skeleton/Skeleton.js +16 -20
- package/Skeleton/Skeleton.js.map +1 -1
- package/Skeleton/index.js +1 -16
- package/Skeleton/index.js.map +1 -1
- package/Slider/Slider.d.ts +7 -13
- package/Slider/Slider.js +47 -81
- package/Slider/Slider.js.map +1 -1
- package/Slider/index.js +1 -13
- package/Slider/index.js.map +1 -1
- package/Snackbar/Snackbar.d.ts +44 -8
- package/Snackbar/Snackbar.js +27 -44
- package/Snackbar/Snackbar.js.map +1 -1
- package/Snackbar/index.js +1 -18
- package/Snackbar/index.js.map +1 -1
- package/Switch/Switch.d.ts +18 -3
- package/Switch/Switch.js +25 -47
- package/Switch/Switch.js.map +1 -1
- package/Switch/index.js +1 -16
- package/Switch/index.js.map +1 -1
- package/Tabs/Tab.d.ts +23 -2
- package/Tabs/Tab.js +16 -20
- package/Tabs/Tab.js.map +1 -1
- package/Tabs/Tabs.d.ts +12 -7
- package/Tabs/Tabs.js +56 -110
- package/Tabs/Tabs.js.map +1 -1
- package/Tabs/index.js +2 -27
- package/Tabs/index.js.map +1 -1
- package/Tags/Tags.d.ts +1 -1
- package/Tags/Tags.js +31 -83
- package/Tags/Tags.js.map +1 -1
- package/Tags/index.js +1 -16
- package/Tags/index.js.map +1 -1
- package/TimeAgo/index.d.ts +6 -2
- package/TimeAgo/index.js +6 -13
- package/TimeAgo/index.js.map +1 -1
- package/Tooltip/Tooltip.d.ts +4 -16
- package/Tooltip/Tooltip.js +61 -49
- package/Tooltip/Tooltip.js.map +1 -1
- package/Tooltip/index.js +1 -16
- package/Tooltip/index.js.map +1 -1
- package/TopAppBar/TopAppBar.d.ts +25 -1
- package/TopAppBar/TopAppBar.js +34 -14
- package/TopAppBar/TopAppBar.js.map +1 -1
- package/TopAppBar/TopAppBarActionItem.d.ts +5 -3
- package/TopAppBar/TopAppBarActionItem.js +10 -11
- package/TopAppBar/TopAppBarActionItem.js.map +1 -1
- package/TopAppBar/TopAppBarNavigationIcon.d.ts +5 -3
- package/TopAppBar/TopAppBarNavigationIcon.js +10 -11
- package/TopAppBar/TopAppBarNavigationIcon.js.map +1 -1
- package/TopAppBar/TopAppBarPrimary.d.ts +4 -0
- package/TopAppBar/TopAppBarPrimary.js +13 -15
- package/TopAppBar/TopAppBarPrimary.js.map +1 -1
- package/TopAppBar/TopAppBarSecondary.d.ts +4 -0
- package/TopAppBar/TopAppBarSecondary.js +14 -17
- package/TopAppBar/TopAppBarSecondary.js.map +1 -1
- package/TopAppBar/TopAppBarSection.d.ts +10 -1
- package/TopAppBar/TopAppBarSection.js +8 -15
- package/TopAppBar/TopAppBarSection.js.map +1 -1
- package/TopAppBar/TopAppBarTitle.d.ts +6 -3
- package/TopAppBar/TopAppBarTitle.js +9 -15
- package/TopAppBar/TopAppBarTitle.js.map +1 -1
- package/TopAppBar/index.js +7 -82
- package/TopAppBar/index.js.map +1 -1
- package/Typography/Typography.d.ts +8 -3
- package/Typography/Typography.js +32 -12
- package/Typography/Typography.js.map +1 -1
- package/Typography/index.js +1 -16
- package/Typography/index.js.map +1 -1
- package/package.json +9 -63
- package/styles.scss +15 -41
- package/types.js +1 -5
- package/Accordion/README.md +0 -11
- package/Accordion/icons/round-keyboard_arrow_down-24px.svg +0 -16
- package/Accordion/icons/round-keyboard_arrow_up-24px.svg +0 -16
- package/Accordion/icons/round-settings-24px.svg +0 -21
- package/Alert/README.md +0 -11
- package/AutoComplete/AutoCompleteReadme.md +0 -11
- package/AutoComplete/MultiAutoCompleteReadme.md +0 -11
- package/AutoComplete/icons/baseline-close-24px.svg +0 -4
- package/AutoComplete/icons/delete.svg +0 -12
- package/AutoComplete/icons/navigate_before-24px.svg +0 -1
- package/AutoComplete/icons/navigate_next-24px.svg +0 -1
- package/AutoComplete/icons/reorder_black_24dp.svg +0 -1
- package/AutoComplete/icons/skip_next-24px.svg +0 -1
- package/AutoComplete/icons/skip_previous-24px.svg +0 -1
- package/AutoComplete/icons/spinner.svg +0 -3
- package/AutoComplete/styles.d.ts +0 -2
- package/AutoComplete/styles.js +0 -66
- package/AutoComplete/styles.js.map +0 -1
- package/Avatar/README.md +0 -11
- package/Button/Button.styles.d.ts +0 -6
- package/Button/Button.styles.js +0 -17
- package/Button/Button.styles.js.map +0 -1
- package/Button/CopyButton/CopyButton.d.ts +0 -11
- package/Button/CopyButton/CopyButton.js +0 -33
- package/Button/CopyButton/CopyButton.js.map +0 -1
- package/Button/CopyButton/README.md +0 -11
- package/Button/IconButton/IconButton.d.ts +0 -37
- package/Button/IconButton/IconButton.js +0 -49
- package/Button/IconButton/IconButton.js.map +0 -1
- package/Button/IconButton/README.md +0 -15
- package/Button/README.md +0 -28
- package/Button/assets/baseline-cloud_done-24px.svg +0 -3
- package/Button/assets/file_copy-24px.svg +0 -1
- package/Button/assets/round-more_vert-24px.svg +0 -12
- package/Carousel/README.md +0 -15
- package/Checkbox/Checkbox.styles.d.ts +0 -6
- package/Checkbox/Checkbox.styles.js +0 -21
- package/Checkbox/Checkbox.styles.js.map +0 -1
- package/Checkbox/README_Checkbox.md +0 -15
- package/Checkbox/README_CheckboxGroup.md +0 -19
- package/Chips/README.md +0 -15
- package/Chips/icons/baseline-done-24px.svg +0 -4
- package/Chips/icons/baseline-email-24px.svg +0 -3
- package/Chips/styles.d.ts +0 -2
- package/Chips/styles.js +0 -25
- package/Chips/styles.js.map +0 -1
- package/CodeEditor/README.md +0 -21
- package/ColorPicker/README.md +0 -11
- package/ConfirmationDialog/README.md +0 -11
- package/DataTable/ColumnDirection.d.ts +0 -5
- package/DataTable/ColumnDirection.js +0 -19
- package/DataTable/ColumnDirection.js.map +0 -1
- package/DataTable/ColumnsVisibility.d.ts +0 -7
- package/DataTable/ColumnsVisibility.js +0 -64
- package/DataTable/ColumnsVisibility.js.map +0 -1
- package/DataTable/README.md +0 -72
- package/DataTable/styled.d.ts +0 -41
- package/DataTable/styled.js +0 -126
- package/DataTable/styled.js.map +0 -1
- package/DelayedOnChange/DelayedOnChange.d.ts +0 -39
- package/DelayedOnChange/DelayedOnChange.js +0 -132
- package/DelayedOnChange/DelayedOnChange.js.map +0 -1
- package/Dialog/README.md +0 -23
- package/Drawer/README.md +0 -15
- package/DynamicFieldset/Fieldset.d.ts +0 -51
- package/DynamicFieldset/Fieldset.js +0 -139
- package/DynamicFieldset/Fieldset.js.map +0 -1
- package/Elevation/README.md +0 -15
- package/FullName/README.md +0 -11
- package/Grid/README.md +0 -15
- package/Icon/README.md +0 -11
- package/Icon/svg/baseline-autorenew-24px.svg +0 -4
- package/Icon/svg/baseline-cloud_done-24px.svg +0 -4
- package/Icon/svg/baseline-delete-24px.svg +0 -4
- package/Icon/svg/baseline-done-24px.svg +0 -4
- package/Image/Image.d.ts +0 -6
- package/Image/Image.js +0 -25
- package/Image/Image.js.map +0 -1
- package/Image/README.md +0 -12
- package/ImageEditor/toolbar/crop.d.ts +0 -4
- package/ImageEditor/toolbar/crop.js +0 -74
- package/ImageEditor/toolbar/crop.js.map +0 -1
- package/ImageEditor/toolbar/filter.d.ts +0 -3
- package/ImageEditor/toolbar/filter.js +0 -208
- package/ImageEditor/toolbar/filter.js.map +0 -1
- package/ImageEditor/toolbar/flip.d.ts +0 -4
- package/ImageEditor/toolbar/flip.js +0 -99
- package/ImageEditor/toolbar/flip.js.map +0 -1
- package/ImageEditor/toolbar/icons/crop.svg +0 -4
- package/ImageEditor/toolbar/icons/draw.svg +0 -4
- package/ImageEditor/toolbar/icons/filter.svg +0 -4
- package/ImageEditor/toolbar/icons/flip.svg +0 -4
- package/ImageEditor/toolbar/icons/index.d.ts +0 -8
- package/ImageEditor/toolbar/icons/index.js +0 -63
- package/ImageEditor/toolbar/icons/index.js.map +0 -1
- package/ImageEditor/toolbar/icons/redo.svg +0 -4
- package/ImageEditor/toolbar/icons/rotateLeft.svg +0 -4
- package/ImageEditor/toolbar/icons/rotateRight.svg +0 -4
- package/ImageEditor/toolbar/icons/undo.svg +0 -4
- package/ImageEditor/toolbar/index.d.ts +0 -4
- package/ImageEditor/toolbar/index.js +0 -36
- package/ImageEditor/toolbar/index.js.map +0 -1
- package/ImageEditor/toolbar/rotate.d.ts +0 -4
- package/ImageEditor/toolbar/rotate.js +0 -127
- package/ImageEditor/toolbar/rotate.js.map +0 -1
- package/ImageEditor/toolbar/types.d.ts +0 -32
- package/ImageEditor/toolbar/types.js +0 -7
- package/ImageEditor/toolbar/types.js.map +0 -1
- package/ImageUpload/README.md +0 -11
- package/ImageUpload/icons/round-add_photo_alternate-24px.svg +0 -23
- package/ImageUpload/icons/round-close-24px.svg +0 -13
- package/ImageUpload/icons/round-edit-24px.svg +0 -4
- package/ImageUpload/image.jpeg +0 -0
- package/ImageUpload/styled.d.ts +0 -27
- package/ImageUpload/styled.js +0 -120
- package/ImageUpload/styled.js.map +0 -1
- package/Input/README.md +0 -16
- package/Input/__tests__/Input.test.d.ts +0 -1
- package/Input/__tests__/Input.test.js +0 -103
- package/Input/__tests__/Input.test.js.map +0 -1
- package/Input/styled.d.ts +0 -4
- package/Input/styled.js +0 -16
- package/Input/styled.js.map +0 -1
- package/Input/svg/baseline-autorenew-24px.svg +0 -4
- package/Input/svg/baseline-cloud_done-24px.svg +0 -4
- package/Input/svg/baseline-delete-24px.svg +0 -4
- package/Input/svg/baseline-done-24px.svg +0 -4
- package/List/CollapsibleList/README.md +0 -11
- package/List/CollapsibleList/index.css +0 -31
- package/List/DataList/DataListModalOverlay/DataListModalOverlay.d.ts +0 -20
- package/List/DataList/DataListModalOverlay/DataListModalOverlay.js +0 -99
- package/List/DataList/DataListModalOverlay/DataListModalOverlay.js.map +0 -1
- package/List/DataList/DataListModalOverlay/DataListModalOverlayAction.d.ts +0 -6
- package/List/DataList/DataListModalOverlay/DataListModalOverlayAction.js +0 -29
- package/List/DataList/DataListModalOverlay/DataListModalOverlayAction.js.map +0 -1
- package/List/DataList/DataListModalOverlay/DataListModalOverlayContext.d.ts +0 -11
- package/List/DataList/DataListModalOverlay/DataListModalOverlayContext.js +0 -30
- package/List/DataList/DataListModalOverlay/DataListModalOverlayContext.js.map +0 -1
- package/List/DataList/Loader.d.ts +0 -3
- package/List/DataList/Loader.js +0 -105
- package/List/DataList/Loader.js.map +0 -1
- package/List/DataList/NoData.d.ts +0 -3
- package/List/DataList/NoData.js +0 -33
- package/List/DataList/NoData.js.map +0 -1
- package/List/DataList/README.md +0 -17
- package/List/DataList/icons/baseline-autorenew-24px.svg +0 -4
- package/List/DataList/icons/baseline-delete-24px.svg +0 -4
- package/List/DataList/icons/baseline-edit-24px.svg +0 -4
- package/List/DataList/icons/baseline-navigate_before-24px.svg +0 -4
- package/List/DataList/icons/baseline-navigate_next-24px.svg +0 -4
- package/List/DataList/icons/baseline-sort-24px.svg +0 -4
- package/List/DataList/icons/baseline-tune-24px.svg +0 -4
- package/List/DataList/icons/filter_alt-24px.svg +0 -1
- package/List/DataList/icons/round-more_vert-24px.svg +0 -12
- package/List/List.d.ts +0 -131
- package/List/List.js +0 -148
- package/List/List.js.map +0 -1
- package/List/README.md +0 -22
- package/List/icons/baseline-autorenew-24px.svg +0 -4
- package/List/icons/baseline-cloud_done-24px.svg +0 -4
- package/List/icons/baseline-delete-24px.svg +0 -4
- package/List/icons/baseline-done-24px.svg +0 -4
- package/List/icons/baseline-email-24px.svg +0 -4
- package/List/icons/index.d.ts +0 -3
- package/List/icons/index.js +0 -22
- package/List/icons/index.js.map +0 -1
- package/List/styled.d.ts +0 -6
- package/List/styled.js +0 -29
- package/List/styled.js.map +0 -1
- package/Menu/README.md +0 -15
- package/Mosaic/README.md +0 -15
- package/Progress/README.md +0 -19
- package/Progress/svg/circularProgress.svg +0 -3
- package/Radio/README.md +0 -17
- package/Radio/Radio.styles.d.ts +0 -6
- package/Radio/Radio.styles.js +0 -21
- package/Radio/Radio.styles.js.map +0 -1
- package/RichTextEditor/README.md +0 -10
- package/RichTextEditor/createPropsFromConfig.d.ts +0 -15
- package/RichTextEditor/createPropsFromConfig.js +0 -30
- package/RichTextEditor/createPropsFromConfig.js.map +0 -1
- package/Ripple/README.md +0 -15
- package/Ripple/svg/baseline-autorenew-24px.svg +0 -4
- package/Ripple/svg/baseline-cloud_done-24px.svg +0 -4
- package/Ripple/svg/baseline-delete-24px.svg +0 -4
- package/Ripple/svg/baseline-done-24px.svg +0 -4
- package/Scrollbar/README.md +0 -15
- package/Section/README.md +0 -11
- package/Select/README.md +0 -15
- package/Select/styled.d.ts +0 -8
- package/Select/styled.js +0 -21
- package/Select/styled.js.map +0 -1
- package/Skeleton/README.md +0 -21
- package/Slider/README.md +0 -15
- package/Snackbar/README.md +0 -15
- package/Switch/README.md +0 -15
- package/Tabs/svg/baseline-autorenew-24px.svg +0 -4
- package/Tabs/svg/baseline-cloud_done-24px.svg +0 -4
- package/Tabs/svg/baseline-delete-24px.svg +0 -4
- package/Tabs/svg/baseline-done-24px.svg +0 -4
- package/Tags/README.md +0 -15
- package/Tags/icons/baseline-close-24px.svg +0 -4
- package/Tooltip/README.md +0 -15
- package/Tooltip/style.scss +0 -97
- package/TopAppBar/README.md +0 -20
- package/TopAppBar/icons/baseline-autorenew-24px.svg +0 -4
- package/TopAppBar/icons/baseline-cloud_done-24px.svg +0 -4
- package/TopAppBar/icons/baseline-delete-24px.svg +0 -4
- package/TopAppBar/icons/baseline-email-24px.svg +0 -4
- package/TopAppBar/icons/baseline-menu-24px.svg +0 -4
- package/TopProgressBar/README.md +0 -11
- package/TopProgressBar/TopProgressBar.d.ts +0 -15
- package/TopProgressBar/TopProgressBar.js +0 -18
- package/TopProgressBar/TopProgressBar.js.map +0 -1
- package/TopProgressBar/hoc/index.d.ts +0 -1
- package/TopProgressBar/hoc/index.js +0 -15
- package/TopProgressBar/hoc/index.js.map +0 -1
- package/TopProgressBar/hoc/withTopProgressBar.d.ts +0 -3
- package/TopProgressBar/hoc/withTopProgressBar.js +0 -29
- package/TopProgressBar/hoc/withTopProgressBar.js.map +0 -1
- package/TopProgressBar/index.d.ts +0 -1
- package/TopProgressBar/index.js +0 -18
- package/TopProgressBar/index.js.map +0 -1
- package/TopProgressBar/style.scss +0 -21
- package/Typography/README.md +0 -15
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px"
|
|
4
|
-
height="24px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
|
5
|
-
<g id="Bounding_Boxes">
|
|
6
|
-
<path fill="none" d="M0,0h24v24H0V0z"/>
|
|
7
|
-
</g>
|
|
8
|
-
<g id="Rounded">
|
|
9
|
-
<path d="M12,8c1.1,0,2-0.9,2-2s-0.9-2-2-2s-2,0.9-2,2S10.9,8,12,8z M12,10c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S13.1,10,12,10z
|
|
10
|
-
M12,16c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S13.1,16,12,16z"/>
|
|
11
|
-
</g>
|
|
12
|
-
</svg>
|
package/List/List.d.ts
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ListProps as RmwcListProps, ListItemProps as RmwcListItemProps, ListItemTextProps as RmwcListItemTextProps, SimpleListItemProps as RmwcSimpleListItemProps } from "@rmwc/list";
|
|
3
|
-
export type ListItemProps = RmwcListItemProps & {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* ListItem components are placed as direct children to List component.
|
|
11
|
-
* @param props
|
|
12
|
-
* @returns {*}
|
|
13
|
-
* @constructor
|
|
14
|
-
*/
|
|
15
|
-
export declare const ListItem: (props: ListItemProps) => React.JSX.Element;
|
|
16
|
-
export type ListProps = RmwcListProps & {
|
|
17
|
-
children?: any;
|
|
18
|
-
className?: string;
|
|
19
|
-
style?: React.CSSProperties;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Use List component to display data and offer additional actions if needed.
|
|
23
|
-
*/
|
|
24
|
-
export declare class List extends React.Component<ListProps> {
|
|
25
|
-
render(): React.JSX.Element;
|
|
26
|
-
}
|
|
27
|
-
export type ListItemTextProps = RmwcListItemTextProps & {
|
|
28
|
-
children: React.ReactNode;
|
|
29
|
-
className?: string;
|
|
30
|
-
onClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Used to show regular text in list items.
|
|
34
|
-
* @param props
|
|
35
|
-
* @returns {*}
|
|
36
|
-
* @constructor
|
|
37
|
-
*/
|
|
38
|
-
export declare const ListItemText: (props: ListItemTextProps) => React.JSX.Element;
|
|
39
|
-
export type ListItemTextPrimaryProps = {
|
|
40
|
-
/**
|
|
41
|
-
* Text content
|
|
42
|
-
*/
|
|
43
|
-
children: React.ReactNode;
|
|
44
|
-
};
|
|
45
|
-
export declare const ListItemTextPrimary: (props: ListItemTextPrimaryProps) => React.JSX.Element;
|
|
46
|
-
export type ListItemTextSecondaryProps = {
|
|
47
|
-
/**
|
|
48
|
-
* Text content
|
|
49
|
-
*/
|
|
50
|
-
children: React.ReactNode;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Used to show secondary text in list items.
|
|
54
|
-
* @param props
|
|
55
|
-
* @returns {*}
|
|
56
|
-
* @constructor
|
|
57
|
-
*/
|
|
58
|
-
export declare const ListItemTextSecondary: (props: ListItemTextSecondaryProps) => React.JSX.Element;
|
|
59
|
-
export type ListItemGraphicProps = {
|
|
60
|
-
children: React.ReactNode;
|
|
61
|
-
className?: string;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Can be used to show an icon or any other custom element. Rendered on the left side.
|
|
65
|
-
* @param props
|
|
66
|
-
* @returns {*}
|
|
67
|
-
* @constructor
|
|
68
|
-
*/
|
|
69
|
-
export declare const ListItemGraphic: (props: ListItemGraphicProps) => React.JSX.Element;
|
|
70
|
-
export type ListItemMetaProps = {
|
|
71
|
-
children: React.ReactNode;
|
|
72
|
-
className?: string;
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Can be used to show an icon or any other custom element. Rendered on the right side.
|
|
76
|
-
* @param props
|
|
77
|
-
* @returns {*}
|
|
78
|
-
* @constructor
|
|
79
|
-
*/
|
|
80
|
-
export declare const ListItemMeta: (props: ListItemMetaProps) => React.JSX.Element;
|
|
81
|
-
export type ListTopCaptionProps = {
|
|
82
|
-
children: React.ReactNode;
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* Can be used to show a top caption inside ListItemMeta component.
|
|
86
|
-
* @param props
|
|
87
|
-
* @returns {*}
|
|
88
|
-
* @constructor
|
|
89
|
-
*/
|
|
90
|
-
export declare const ListTopCaption: (props: ListTopCaptionProps) => React.JSX.Element;
|
|
91
|
-
export type ListBottomCaptionProps = {
|
|
92
|
-
children: React.ReactNode;
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* Can be used to show a bottom caption inside ListItemMeta component.
|
|
96
|
-
* @param props
|
|
97
|
-
* @returns {*}
|
|
98
|
-
* @constructor
|
|
99
|
-
*/
|
|
100
|
-
export declare const ListBottomCaption: (props: ListBottomCaptionProps) => React.JSX.Element;
|
|
101
|
-
export type ListTextOverlineProps = {
|
|
102
|
-
children: React.ReactNode;
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* Can be used to show an overline text inside ListItem component.
|
|
106
|
-
* @param props
|
|
107
|
-
* @returns {*}
|
|
108
|
-
* @constructor
|
|
109
|
-
*/
|
|
110
|
-
export declare const ListTextOverline: (props: ListTextOverlineProps) => React.JSX.Element;
|
|
111
|
-
export type ListActionsProps = {
|
|
112
|
-
children: React.ReactNode;
|
|
113
|
-
};
|
|
114
|
-
/**
|
|
115
|
-
* Used to contain the actions inside ListItemMate component.
|
|
116
|
-
* @param props
|
|
117
|
-
* @returns {*}
|
|
118
|
-
* @constructor
|
|
119
|
-
*/
|
|
120
|
-
export declare const ListActions: (props: ListActionsProps) => React.JSX.Element;
|
|
121
|
-
export type ListSelectBoxProps = {
|
|
122
|
-
children: React.ReactNode;
|
|
123
|
-
};
|
|
124
|
-
/**
|
|
125
|
-
* Used to hold the Checkbox element for multi-select options.
|
|
126
|
-
* @param {*} props
|
|
127
|
-
*/
|
|
128
|
-
export declare const ListSelectBox: (props: ListSelectBoxProps) => React.JSX.Element;
|
|
129
|
-
export declare const SimpleListItem: (props: RmwcSimpleListItemProps & {
|
|
130
|
-
onClick?: any;
|
|
131
|
-
}) => React.JSX.Element;
|
package/List/List.js
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.SimpleListItem = exports.ListTopCaption = exports.ListTextOverline = exports.ListSelectBox = exports.ListItemTextSecondary = exports.ListItemTextPrimary = exports.ListItemText = exports.ListItemMeta = exports.ListItemGraphic = exports.ListItem = exports.ListBottomCaption = exports.ListActions = exports.List = void 0;
|
|
8
|
-
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
|
-
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
-
var _callSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/callSuper"));
|
|
11
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
12
|
-
var _react = _interopRequireDefault(require("react"));
|
|
13
|
-
var _list = require("@rmwc/list");
|
|
14
|
-
var _Typography = require("../Typography");
|
|
15
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
16
|
-
var _styled = require("./styled");
|
|
17
|
-
/**
|
|
18
|
-
* ListItem components are placed as direct children to List component.
|
|
19
|
-
* @param props
|
|
20
|
-
* @returns {*}
|
|
21
|
-
* @constructor
|
|
22
|
-
*/
|
|
23
|
-
var ListItem = exports.ListItem = function ListItem(props) {
|
|
24
|
-
return /*#__PURE__*/_react.default.createElement(_list.ListItem, props);
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Use List component to display data and offer additional actions if needed.
|
|
28
|
-
*/
|
|
29
|
-
var List = exports.List = /*#__PURE__*/function (_React$Component) {
|
|
30
|
-
function List() {
|
|
31
|
-
(0, _classCallCheck2.default)(this, List);
|
|
32
|
-
return (0, _callSuper2.default)(this, List, arguments);
|
|
33
|
-
}
|
|
34
|
-
(0, _inherits2.default)(List, _React$Component);
|
|
35
|
-
return (0, _createClass2.default)(List, [{
|
|
36
|
-
key: "render",
|
|
37
|
-
value: function render() {
|
|
38
|
-
return /*#__PURE__*/_react.default.createElement(_list.List, Object.assign({}, this.props, {
|
|
39
|
-
className: (0, _classnames.default)(_styled.webinyList, this.props.className)
|
|
40
|
-
}), this.props.children);
|
|
41
|
-
}
|
|
42
|
-
}]);
|
|
43
|
-
}(_react.default.Component);
|
|
44
|
-
/**
|
|
45
|
-
* Used to show regular text in list items.
|
|
46
|
-
* @param props
|
|
47
|
-
* @returns {*}
|
|
48
|
-
* @constructor
|
|
49
|
-
*/
|
|
50
|
-
var ListItemText = exports.ListItemText = function ListItemText(props) {
|
|
51
|
-
return /*#__PURE__*/_react.default.createElement(_list.ListItemText, props, props.children);
|
|
52
|
-
};
|
|
53
|
-
var ListItemTextPrimary = exports.ListItemTextPrimary = function ListItemTextPrimary(props) {
|
|
54
|
-
return /*#__PURE__*/_react.default.createElement(_list.ListItemPrimaryText, null, props.children);
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Used to show secondary text in list items.
|
|
58
|
-
* @param props
|
|
59
|
-
* @returns {*}
|
|
60
|
-
* @constructor
|
|
61
|
-
*/
|
|
62
|
-
var ListItemTextSecondary = exports.ListItemTextSecondary = function ListItemTextSecondary(props) {
|
|
63
|
-
return /*#__PURE__*/_react.default.createElement(_list.ListItemSecondaryText, null, props.children);
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* Can be used to show an icon or any other custom element. Rendered on the left side.
|
|
67
|
-
* @param props
|
|
68
|
-
* @returns {*}
|
|
69
|
-
* @constructor
|
|
70
|
-
*/
|
|
71
|
-
var ListItemGraphic = exports.ListItemGraphic = function ListItemGraphic(props) {
|
|
72
|
-
return /*#__PURE__*/_react.default.createElement("div", Object.assign({}, props, {
|
|
73
|
-
className: (0, _classnames.default)("mdc-deprecated-list-item__graphic", props.className)
|
|
74
|
-
}), props.children);
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* Can be used to show an icon or any other custom element. Rendered on the right side.
|
|
78
|
-
* @param props
|
|
79
|
-
* @returns {*}
|
|
80
|
-
* @constructor
|
|
81
|
-
*/
|
|
82
|
-
var ListItemMeta = exports.ListItemMeta = function ListItemMeta(props) {
|
|
83
|
-
return /*#__PURE__*/_react.default.createElement("span", Object.assign({}, props, {
|
|
84
|
-
className: (0, _classnames.default)("mdc-deprecated-list-item__meta", props.className)
|
|
85
|
-
}), props.children);
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* Can be used to show a top caption inside ListItemMeta component.
|
|
89
|
-
* @param props
|
|
90
|
-
* @returns {*}
|
|
91
|
-
* @constructor
|
|
92
|
-
*/
|
|
93
|
-
var ListTopCaption = exports.ListTopCaption = function ListTopCaption(props) {
|
|
94
|
-
return /*#__PURE__*/_react.default.createElement("span", Object.assign({}, props, {
|
|
95
|
-
className: "webiny-list-top-caption"
|
|
96
|
-
}), /*#__PURE__*/_react.default.createElement(_Typography.Typography, {
|
|
97
|
-
use: "overline"
|
|
98
|
-
}, props.children));
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* Can be used to show a bottom caption inside ListItemMeta component.
|
|
102
|
-
* @param props
|
|
103
|
-
* @returns {*}
|
|
104
|
-
* @constructor
|
|
105
|
-
*/
|
|
106
|
-
var ListBottomCaption = exports.ListBottomCaption = function ListBottomCaption(props) {
|
|
107
|
-
return /*#__PURE__*/_react.default.createElement("span", Object.assign({}, props, {
|
|
108
|
-
className: "webiny-list-bottom-caption"
|
|
109
|
-
}), /*#__PURE__*/_react.default.createElement(_Typography.Typography, {
|
|
110
|
-
use: "overline"
|
|
111
|
-
}, props.children));
|
|
112
|
-
};
|
|
113
|
-
/**
|
|
114
|
-
* Can be used to show an overline text inside ListItem component.
|
|
115
|
-
* @param props
|
|
116
|
-
* @returns {*}
|
|
117
|
-
* @constructor
|
|
118
|
-
*/
|
|
119
|
-
var ListTextOverline = exports.ListTextOverline = function ListTextOverline(props) {
|
|
120
|
-
return /*#__PURE__*/_react.default.createElement("span", Object.assign({}, props, {
|
|
121
|
-
className: "webiny-list-text-overline"
|
|
122
|
-
}), /*#__PURE__*/_react.default.createElement(_Typography.Typography, {
|
|
123
|
-
use: "overline"
|
|
124
|
-
}, props.children));
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* Used to contain the actions inside ListItemMate component.
|
|
128
|
-
* @param props
|
|
129
|
-
* @returns {*}
|
|
130
|
-
* @constructor
|
|
131
|
-
*/
|
|
132
|
-
var ListActions = exports.ListActions = function ListActions(props) {
|
|
133
|
-
return /*#__PURE__*/_react.default.createElement("span", Object.assign({}, props, {
|
|
134
|
-
className: "webiny-list-actions"
|
|
135
|
-
}), props.children);
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* Used to hold the Checkbox element for multi-select options.
|
|
139
|
-
* @param {*} props
|
|
140
|
-
*/
|
|
141
|
-
var ListSelectBox = exports.ListSelectBox = function ListSelectBox(props) {
|
|
142
|
-
return /*#__PURE__*/_react.default.createElement(ListItemGraphic, null, /*#__PURE__*/_react.default.createElement(_styled.SelectBoxWrapper, null, props.children));
|
|
143
|
-
};
|
|
144
|
-
var SimpleListItem = exports.SimpleListItem = function SimpleListItem(props) {
|
|
145
|
-
return /*#__PURE__*/_react.default.createElement(_list.SimpleListItem, props);
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
//# sourceMappingURL=List.js.map
|
package/List/List.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_list","_Typography","_classnames","_styled","ListItem","exports","props","default","createElement","List","_React$Component","_classCallCheck2","_callSuper2","arguments","_inherits2","_createClass2","key","value","render","Object","assign","className","classNames","webinyList","children","React","Component","ListItemText","ListItemTextPrimary","ListItemPrimaryText","ListItemTextSecondary","ListItemSecondaryText","ListItemGraphic","ListItemMeta","ListTopCaption","Typography","use","ListBottomCaption","ListTextOverline","ListActions","ListSelectBox","SelectBoxWrapper","SimpleListItem"],"sources":["List.tsx"],"sourcesContent":["import React from \"react\";\nimport {\n List as RmwcList,\n ListProps as RmwcListProps,\n ListItem as RmwcListItem,\n ListItemProps as RmwcListItemProps,\n ListItemText as RmwcListItemText,\n ListItemTextProps as RmwcListItemTextProps,\n ListItemPrimaryText as RmwcListItemPrimaryText,\n ListItemSecondaryText as RmwcListItemSecondaryText,\n SimpleListItem as RmwcSimpleListItem,\n SimpleListItemProps as RmwcSimpleListItemProps\n} from \"@rmwc/list\";\nimport { Typography } from \"~/Typography\";\nimport classNames from \"classnames\";\nimport { SelectBoxWrapper, webinyList } from \"./styled\";\n\nexport type ListItemProps = RmwcListItemProps & {\n children: React.ReactNode;\n className?: string;\n style?: React.CSSProperties;\n onClick?: (e: React.MouseEvent) => void;\n};\n\n/**\n * ListItem components are placed as direct children to List component.\n * @param props\n * @returns {*}\n * @constructor\n */\nexport const ListItem = (props: ListItemProps) => {\n return <RmwcListItem {...props} />;\n};\n\nexport type ListProps = RmwcListProps & {\n children?: any;\n\n className?: string;\n\n style?: React.CSSProperties;\n};\n\n/**\n * Use List component to display data and offer additional actions if needed.\n */\nexport class List extends React.Component<ListProps> {\n public override render() {\n return (\n <RmwcList {...this.props} className={classNames(webinyList, this.props.className)}>\n {this.props.children}\n </RmwcList>\n );\n }\n}\n\nexport type ListItemTextProps = RmwcListItemTextProps & {\n children: React.ReactNode;\n className?: string;\n onClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;\n};\n\n/**\n * Used to show regular text in list items.\n * @param props\n * @returns {*}\n * @constructor\n */\nexport const ListItemText = (props: ListItemTextProps) => {\n return <RmwcListItemText {...props}>{props.children}</RmwcListItemText>;\n};\n\nexport type ListItemTextPrimaryProps = {\n /**\n * Text content\n */\n children: React.ReactNode;\n};\n\nexport const ListItemTextPrimary = (props: ListItemTextPrimaryProps) => {\n return <RmwcListItemPrimaryText>{props.children}</RmwcListItemPrimaryText>;\n};\n\nexport type ListItemTextSecondaryProps = {\n /**\n * Text content\n */\n children: React.ReactNode;\n};\n\n/**\n * Used to show secondary text in list items.\n * @param props\n * @returns {*}\n * @constructor\n */\nexport const ListItemTextSecondary = (props: ListItemTextSecondaryProps) => {\n return <RmwcListItemSecondaryText>{props.children}</RmwcListItemSecondaryText>;\n};\n\nexport type ListItemGraphicProps = { children: React.ReactNode; className?: string };\n\n/**\n * Can be used to show an icon or any other custom element. Rendered on the left side.\n * @param props\n * @returns {*}\n * @constructor\n */\nexport const ListItemGraphic = (props: ListItemGraphicProps) => {\n return (\n <div\n {...props}\n className={classNames(\"mdc-deprecated-list-item__graphic\", props.className)}\n >\n {props.children}\n </div>\n );\n};\n\nexport type ListItemMetaProps = { children: React.ReactNode; className?: string };\n\n/**\n * Can be used to show an icon or any other custom element. Rendered on the right side.\n * @param props\n * @returns {*}\n * @constructor\n */\nexport const ListItemMeta = (props: ListItemMetaProps) => {\n return (\n <span {...props} className={classNames(\"mdc-deprecated-list-item__meta\", props.className)}>\n {props.children}\n </span>\n );\n};\n\nexport type ListTopCaptionProps = {\n children: React.ReactNode;\n};\n\n/**\n * Can be used to show a top caption inside ListItemMeta component.\n * @param props\n * @returns {*}\n * @constructor\n */\nexport const ListTopCaption = (props: ListTopCaptionProps) => {\n return (\n <span {...props} className={\"webiny-list-top-caption\"}>\n <Typography use=\"overline\">{props.children}</Typography>\n </span>\n );\n};\n\nexport type ListBottomCaptionProps = {\n children: React.ReactNode;\n};\n\n/**\n * Can be used to show a bottom caption inside ListItemMeta component.\n * @param props\n * @returns {*}\n * @constructor\n */\nexport const ListBottomCaption = (props: ListBottomCaptionProps) => {\n return (\n <span {...props} className={\"webiny-list-bottom-caption\"}>\n <Typography use=\"overline\">{props.children}</Typography>\n </span>\n );\n};\n\nexport type ListTextOverlineProps = {\n children: React.ReactNode;\n};\n\n/**\n * Can be used to show an overline text inside ListItem component.\n * @param props\n * @returns {*}\n * @constructor\n */\nexport const ListTextOverline = (props: ListTextOverlineProps) => {\n return (\n <span {...props} className={\"webiny-list-text-overline\"}>\n <Typography use=\"overline\">{props.children}</Typography>\n </span>\n );\n};\n\nexport type ListActionsProps = {\n children: React.ReactNode;\n};\n\n/**\n * Used to contain the actions inside ListItemMate component.\n * @param props\n * @returns {*}\n * @constructor\n */\nexport const ListActions = (props: ListActionsProps) => {\n return (\n <span {...props} className={\"webiny-list-actions\"}>\n {props.children}\n </span>\n );\n};\n\nexport type ListSelectBoxProps = {\n children: React.ReactNode;\n};\n\n/**\n * Used to hold the Checkbox element for multi-select options.\n * @param {*} props\n */\nexport const ListSelectBox = (props: ListSelectBoxProps) => {\n return (\n <ListItemGraphic>\n <SelectBoxWrapper>{props.children}</SelectBoxWrapper>\n </ListItemGraphic>\n );\n};\n\nexport const SimpleListItem = (props: RmwcSimpleListItemProps & { onClick?: any }) => {\n return <RmwcSimpleListItem {...props} />;\n};\n"],"mappings":"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","ignoreList":[]}
|
package/List/README.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# List
|
|
2
|
-
|
|
3
|
-
### Design
|
|
4
|
-
|
|
5
|
-
<a href="https://material.io/design/components/lists.html" target="_blank">https://material.io/design/components/lists.html</a>
|
|
6
|
-
|
|
7
|
-
### Description
|
|
8
|
-
|
|
9
|
-
Use `List` component to display data and offer additional actions if needed.
|
|
10
|
-
|
|
11
|
-
### Import
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
import {
|
|
15
|
-
List,
|
|
16
|
-
ListItem,
|
|
17
|
-
ListItemText,
|
|
18
|
-
ListItemTextSecondary,
|
|
19
|
-
ListItemGraphic,
|
|
20
|
-
ListItemMeta
|
|
21
|
-
} from "@webiny/ui/List";
|
|
22
|
-
```
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
-
<path d="M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6zm6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z"/>
|
|
3
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
4
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
-
<path d="M0 0h24v24H0z" fill="none"/>
|
|
3
|
-
<path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41L10 17z"/>
|
|
4
|
-
</svg>
|
package/List/icons/index.d.ts
DELETED
package/List/icons/index.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
Object.defineProperty(exports, "deleteIcon", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function get() {
|
|
10
|
-
return _baselineDelete24px.default;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "refreshIcon", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function get() {
|
|
16
|
-
return _baselineAutorenew24px.default;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
var _baselineAutorenew24px = _interopRequireDefault(require("./baseline-autorenew-24px.svg"));
|
|
20
|
-
var _baselineDelete24px = _interopRequireDefault(require("./baseline-delete-24px.svg"));
|
|
21
|
-
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
package/List/icons/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_baselineAutorenew24px","_interopRequireDefault","require","_baselineDelete24px"],"sources":["index.ts"],"sourcesContent":["import refreshIcon from \"./baseline-autorenew-24px.svg\";\nimport deleteIcon from \"./baseline-delete-24px.svg\";\n\nexport { refreshIcon, deleteIcon };\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAAA,sBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAF,sBAAA,CAAAC,OAAA","ignoreList":[]}
|
package/List/styled.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const SelectBoxWrapper: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const webinyList: string;
|
package/List/styled.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.webinyList = exports.SelectBoxWrapper = void 0;
|
|
8
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
|
-
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
10
|
-
var _emotion = require("emotion");
|
|
11
|
-
var _templateObject;
|
|
12
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
13
|
-
var SelectBoxWrapper = exports.SelectBoxWrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
|
14
|
-
target: "e143v8id0"
|
|
15
|
-
} : {
|
|
16
|
-
target: "e143v8id0",
|
|
17
|
-
label: "SelectBoxWrapper"
|
|
18
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
19
|
-
name: "2shdj3",
|
|
20
|
-
styles: "overflow:hidden;width:25px;height:25px;display:flex;position:relative;align-items:center;justify-content:center"
|
|
21
|
-
} : {
|
|
22
|
-
name: "2shdj3",
|
|
23
|
-
styles: "overflow:hidden;width:25px;height:25px;display:flex;position:relative;align-items:center;justify-content:center",
|
|
24
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRzBDIiwiZmlsZSI6InN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IGNzcyB9IGZyb20gXCJlbW90aW9uXCI7XG5cbmV4cG9ydCBjb25zdCBTZWxlY3RCb3hXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgIHdpZHRoOiAyNXB4O1xuICAgIGhlaWdodDogMjVweDtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuYDtcblxuZXhwb3J0IGNvbnN0IHdlYmlueUxpc3QgPSBjc3NgXG4gICAgLy8gUmVtb3ZlIHJpcHBsZSBlZmZlY3Qgb24gbm9uLWludGVyYWN0aXZlIGxpc3RcbiAgICAmLm1kYy1kZXByZWNhdGVkLWxpc3QtLW5vbi1pbnRlcmFjdGl2ZSAubWRjLWRlcHJlY2F0ZWQtbGlzdC1pdGVtIHtcbiAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xuXG4gICAgICAgID4gLm1kYy1kZXByZWNhdGVkLWxpc3QtaXRlbV9fcmlwcGxlOjphZnRlcixcbiAgICAgICAgPiAubWRjLWRlcHJlY2F0ZWQtbGlzdC1pdGVtX19yaXBwbGU6OmJlZm9yZSB7XG4gICAgICAgICAgICBkaXNwbGF5OiBub25lO1xuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */",
|
|
25
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
26
|
-
});
|
|
27
|
-
var webinyList = exports.webinyList = (0, _emotion.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n // Remove ripple effect on non-interactive list\n &.mdc-deprecated-list--non-interactive .mdc-deprecated-list-item {\n cursor: default;\n\n > .mdc-deprecated-list-item__ripple::after,\n > .mdc-deprecated-list-item__ripple::before {\n display: none;\n }\n }\n"])));
|
|
28
|
-
|
|
29
|
-
//# sourceMappingURL=styled.js.map
|
package/List/styled.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_emotion","require","_templateObject","_EMOTION_STRINGIFIED_CSS_ERROR__","SelectBoxWrapper","exports","_base","default","process","env","NODE_ENV","target","label","name","styles","map","toString","webinyList","css","_taggedTemplateLiteral2"],"sources":["styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { css } from \"emotion\";\n\nexport const SelectBoxWrapper = styled.div`\n overflow: hidden;\n width: 25px;\n height: 25px;\n display: flex;\n position: relative;\n align-items: center;\n justify-content: center;\n`;\n\nexport const webinyList = css`\n // Remove ripple effect on non-interactive list\n &.mdc-deprecated-list--non-interactive .mdc-deprecated-list-item {\n cursor: default;\n\n > .mdc-deprecated-list-item__ripple::after,\n > .mdc-deprecated-list-item__ripple::before {\n display: none;\n }\n }\n`;\n"],"mappings":";;;;;;;;;AACA,IAAAA,QAAA,GAAAC,OAAA;AAA8B,IAAAC,eAAA;AAAA,SAAAC,iCAAA;AAEvB,IAAMC,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,oBAAAE,KAAA,CAAAC,OAAA,SAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,GAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAb;AAAA,EAQ5B;AAEM,IAAMc,UAAU,GAAAZ,OAAA,CAAAY,UAAA,OAAGC,YAAG,EAAAhB,eAAA,KAAAA,eAAA,OAAAiB,uBAAA,CAAAZ,OAAA,8TAU5B","ignoreList":[]}
|
package/Menu/README.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Menu
|
|
2
|
-
|
|
3
|
-
### Design
|
|
4
|
-
|
|
5
|
-
<a href="https://material.io/design/components/menus.html" target="_blank">https://material.io/design/components/menus.html</a>
|
|
6
|
-
|
|
7
|
-
### Description
|
|
8
|
-
|
|
9
|
-
Use `Menu` component to display a list of choices, once the handler is triggered.
|
|
10
|
-
|
|
11
|
-
### Import
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
import { Menu, MenuItem } from "@webiny/ui/Menu";
|
|
15
|
-
```
|
package/Mosaic/README.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Mosaic
|
|
2
|
-
|
|
3
|
-
### Additional information
|
|
4
|
-
|
|
5
|
-
<a href="https://www.npmjs.com/package/react-columned" target="_blank">https://www.npmjs.com/package/react-columned</a>
|
|
6
|
-
|
|
7
|
-
### Description
|
|
8
|
-
|
|
9
|
-
`Mosaic` component is used to show images or any other component in columns.
|
|
10
|
-
|
|
11
|
-
### Import
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
import { Mosaic } from "@webiny/ui/Mosaic";
|
|
15
|
-
```
|
package/Progress/README.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# Progress
|
|
2
|
-
|
|
3
|
-
### Design
|
|
4
|
-
|
|
5
|
-
<a href="https://material.io/design/components/progress-indicators.html#circular-progress-indicators" target="_blank">
|
|
6
|
-
https://material.io/design/components/progress-indicators.html#circular-progress-indicators
|
|
7
|
-
</a>
|
|
8
|
-
|
|
9
|
-
### Description
|
|
10
|
-
|
|
11
|
-
Progress components are used in cases where user has to wait for a background process to finish.
|
|
12
|
-
|
|
13
|
-
Currently only the `CircularProgress` component is available, which is ideal for forms.
|
|
14
|
-
|
|
15
|
-
### Import
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
import { CircularProgress } from "@webiny/ui/Progress";
|
|
19
|
-
```
|
package/Radio/README.md
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Group
|
|
2
|
-
|
|
3
|
-
### Design
|
|
4
|
-
|
|
5
|
-
<a href="https://material.io/design/components/selection-controls.html#radio-buttons" target="_blank">https://material.io/design/components/selection-controls.html#radio-buttons</a>
|
|
6
|
-
|
|
7
|
-
### Description
|
|
8
|
-
|
|
9
|
-
Wrap `Radio` components with `RadioGroup` to create a set of options.
|
|
10
|
-
Each `Radio` component must receive `value` and `onChange` callback via props.
|
|
11
|
-
|
|
12
|
-
### Import
|
|
13
|
-
To use, import base `Radio` component.
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
import { Radio, RadioGroup } from "@webiny/ui/Radio";
|
|
17
|
-
```
|
package/Radio/Radio.styles.d.ts
DELETED
package/Radio/Radio.styles.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.webinyRadioTitle = void 0;
|
|
7
|
-
var _emotion = require("emotion");
|
|
8
|
-
/**
|
|
9
|
-
* Controls the helper text below the checkbox.
|
|
10
|
-
* @type {string}
|
|
11
|
-
*/
|
|
12
|
-
var webinyRadioTitle = exports.webinyRadioTitle = (0, _emotion.css)({}, {
|
|
13
|
-
"&.mdc-text-field-helper-text": {
|
|
14
|
-
paddingLeft: 10,
|
|
15
|
-
//textTransform: "uppercase",
|
|
16
|
-
//fontWeight: "bold",
|
|
17
|
-
marginBottom: "5px"
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
//# sourceMappingURL=Radio.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_emotion","require","webinyRadioTitle","exports","css","paddingLeft","marginBottom"],"sources":["Radio.styles.ts"],"sourcesContent":["import { css } from \"emotion\";\n\n/**\n * Controls the helper text below the checkbox.\n * @type {string}\n */\nconst webinyRadioTitle = css(\n {},\n {\n \"&.mdc-text-field-helper-text\": {\n paddingLeft: 10,\n //textTransform: \"uppercase\",\n //fontWeight: \"bold\",\n marginBottom: \"5px\"\n }\n }\n);\n\nexport { webinyRadioTitle };\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAEA;AACA;AACA;AACA;AACA,IAAMC,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAAG,IAAAE,YAAG,EACxB,CAAC,CAAC,EACF;EACI,8BAA8B,EAAE;IAC5BC,WAAW,EAAE,EAAE;IACf;IACA;IACAC,YAAY,EAAE;EAClB;AACJ,CACJ,CAAC","ignoreList":[]}
|
package/RichTextEditor/README.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { RichTextEditorProps } from "./RichTextEditor";
|
|
2
|
-
import { ToolSettings } from "@editorjs/editorjs";
|
|
3
|
-
interface CreatePropsFromConfigResult {
|
|
4
|
-
onReady: (editor: any) => void;
|
|
5
|
-
tools: {
|
|
6
|
-
[key: string]: ToolSettings;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Creates RichTextEditor props from the given config (or array of configs).
|
|
11
|
-
*
|
|
12
|
-
* TODO: figure out types for editor and return type of the function.
|
|
13
|
-
*/
|
|
14
|
-
export declare const createPropsFromConfig: (config: RichTextEditorProps[]) => CreatePropsFromConfigResult;
|
|
15
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.createPropsFromConfig = void 0;
|
|
8
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
9
|
-
/**
|
|
10
|
-
* Creates RichTextEditor props from the given config (or array of configs).
|
|
11
|
-
*
|
|
12
|
-
* TODO: figure out types for editor and return type of the function.
|
|
13
|
-
*/
|
|
14
|
-
var createPropsFromConfig = exports.createPropsFromConfig = function createPropsFromConfig(config) {
|
|
15
|
-
var configs = Array.isArray(config) ? config : [config];
|
|
16
|
-
return {
|
|
17
|
-
onReady: function onReady(params) {
|
|
18
|
-
configs.forEach(function (config) {
|
|
19
|
-
if (typeof config.onReady === "function") {
|
|
20
|
-
config.onReady(params);
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
},
|
|
24
|
-
tools: configs.reduce(function (tools, config) {
|
|
25
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, tools), config.tools);
|
|
26
|
-
}, {})
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
//# sourceMappingURL=createPropsFromConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createPropsFromConfig","exports","config","configs","Array","isArray","onReady","params","forEach","tools","reduce","_objectSpread2","default"],"sources":["createPropsFromConfig.ts"],"sourcesContent":["import { RichTextEditorProps } from \"./RichTextEditor\";\nimport { ToolSettings } from \"@editorjs/editorjs\";\nimport { OutputData } from \"@editorjs/editorjs/types\";\n\ninterface CreatePropsFromConfigResult {\n onReady: (editor: any) => void;\n tools: {\n [key: string]: ToolSettings;\n };\n}\n\ninterface OnReadyParams {\n editor: any;\n initialData: OutputData;\n}\n/**\n * Creates RichTextEditor props from the given config (or array of configs).\n *\n * TODO: figure out types for editor and return type of the function.\n */\nexport const createPropsFromConfig = (\n config: RichTextEditorProps[]\n): CreatePropsFromConfigResult => {\n const configs = (Array.isArray(config) ? config : [config]) as RichTextEditorProps[];\n\n return {\n onReady(params: OnReadyParams) {\n configs.forEach(config => {\n if (typeof config.onReady === \"function\") {\n config.onReady(params);\n }\n });\n },\n tools: configs.reduce((tools, config) => {\n return {\n ...tools,\n ...config.tools\n };\n }, {} as Record<string, ToolSettings>)\n };\n};\n"],"mappings":";;;;;;;;AAeA;AACA;AACA;AACA;AACA;AACO,IAAMA,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,GAAG,SAAxBA,qBAAqBA,CAC9BE,MAA6B,EACC;EAC9B,IAAMC,OAAO,GAAIC,KAAK,CAACC,OAAO,CAACH,MAAM,CAAC,GAAGA,MAAM,GAAG,CAACA,MAAM,CAA2B;EAEpF,OAAO;IACHI,OAAO,WAAPA,OAAOA,CAACC,MAAqB,EAAE;MAC3BJ,OAAO,CAACK,OAAO,CAAC,UAAAN,MAAM,EAAI;QACtB,IAAI,OAAOA,MAAM,CAACI,OAAO,KAAK,UAAU,EAAE;UACtCJ,MAAM,CAACI,OAAO,CAACC,MAAM,CAAC;QAC1B;MACJ,CAAC,CAAC;IACN,CAAC;IACDE,KAAK,EAAEN,OAAO,CAACO,MAAM,CAAC,UAACD,KAAK,EAAEP,MAAM,EAAK;MACrC,WAAAS,cAAA,CAAAC,OAAA,MAAAD,cAAA,CAAAC,OAAA,MACOH,KAAK,GACLP,MAAM,CAACO,KAAK;IAEvB,CAAC,EAAE,CAAC,CAAiC;EACzC,CAAC;AACL,CAAC","ignoreList":[]}
|
package/Ripple/README.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Ripple
|
|
2
|
-
|
|
3
|
-
### Design
|
|
4
|
-
|
|
5
|
-
<a href="https://material.io/develop/web/components/ripples/" target="_blank">https://material.io/develop/web/components/ripples/</a>
|
|
6
|
-
|
|
7
|
-
### Description
|
|
8
|
-
|
|
9
|
-
`Ripple` component is used to represent interactive surfaces.
|
|
10
|
-
|
|
11
|
-
### Import
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
import { Ripple } from "@webiny/ui/Ripple";
|
|
15
|
-
```
|