@webiny/ui 5.21.0 → 5.22.0-beta.3
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.stories.js +1 -1
- package/Accordion/AccordionItem.js +2 -2
- package/AutoComplete/AutoComplete.d.ts +1 -0
- package/AutoComplete/AutoComplete.js +1 -1
- package/AutoComplete/MultiAutoComplete.d.ts +1 -0
- package/AutoComplete/MultiAutoComplete.js +8 -8
- package/Button/Button.stories.js +1 -1
- package/Button/CopyButton/CopyButton.js +1 -1
- package/Button/IconButton/IconButton.stories.js +2 -2
- package/Chips/Chips.stories.js +2 -2
- package/Icon/Icon.stories.js +4 -4
- package/ImageEditor/toolbar/crop.js +1 -1
- package/ImageEditor/toolbar/filter.js +1 -1
- package/ImageEditor/toolbar/flip.js +1 -1
- package/ImageEditor/toolbar/rotate.js +1 -1
- package/ImageUpload/Image.js +3 -3
- package/ImageUpload/styled.d.ts +10 -10
- package/Input/Input.stories.js +4 -4
- package/List/DataList/DataListModalOverlay/DataListModalOverlay.d.ts +2 -2
- package/List/DataList/icons/index.js +8 -8
- package/List/List.stories.js +4 -4
- package/RichTextEditor/RichTextEditor.js +6 -21
- package/Ripple/Ripple.stories.js +4 -4
- package/Select/Select.d.ts +1 -1
- package/Tabs/Tabs.stories.js +2 -2
- package/Tags/Tags.js +1 -1
- package/TopAppBar/TopAppBar.stories.js +4 -4
- package/package.json +18 -24
- package/rmwc/textfield/code/index.d.ts +2 -2
- package/rmwc/textfield/next/index.d.ts +2 -2
- package/rmwc/textfield/package.json +2 -2
|
@@ -4,7 +4,7 @@ import { Story, StoryReadme, StorySandboxCode, StorySandbox, StorySandboxExample
|
|
|
4
4
|
import readme from "./README.md";
|
|
5
5
|
import { Accordion } from "./Accordion";
|
|
6
6
|
import { AccordionItem } from "./AccordionItem";
|
|
7
|
-
import { ReactComponent as SettingsIcon } from "
|
|
7
|
+
import { ReactComponent as SettingsIcon } from "./icons/round-settings-24px.svg";
|
|
8
8
|
var story = storiesOf("Components/Accordion", module);
|
|
9
9
|
story.add("usage", function () {
|
|
10
10
|
return /*#__PURE__*/React.createElement(Story, null, /*#__PURE__*/React.createElement(StoryReadme, null, readme), /*#__PURE__*/React.createElement(StorySandbox, {
|
|
@@ -8,8 +8,8 @@ import { Icon } from "../Icon";
|
|
|
8
8
|
import styled from "@emotion/styled";
|
|
9
9
|
import { css } from "emotion";
|
|
10
10
|
import { Typography } from "../Typography";
|
|
11
|
-
import { ReactComponent as UpArrow } from "
|
|
12
|
-
import { ReactComponent as DownArrow } from "
|
|
11
|
+
import { ReactComponent as UpArrow } from "./icons/round-keyboard_arrow_up-24px.svg";
|
|
12
|
+
import { ReactComponent as DownArrow } from "./icons/round-keyboard_arrow_down-24px.svg";
|
|
13
13
|
import classNames from "classnames";
|
|
14
14
|
var Content = /*#__PURE__*/styled("div", {
|
|
15
15
|
target: "eypjd5u0",
|
|
@@ -144,7 +144,7 @@ var AutoComplete = /*#__PURE__*/function (_React$Component) {
|
|
|
144
144
|
className: classNames("autocomplete__options-list", listStyles)
|
|
145
145
|
}, getMenuProps()), /*#__PURE__*/React.createElement("li", null, /*#__PURE__*/React.createElement(Typography, {
|
|
146
146
|
use: "body2"
|
|
147
|
-
}, "No results."))));
|
|
147
|
+
}, "No results."), this.props.noResultFound)));
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
return /*#__PURE__*/React.createElement(Elevation, {
|
|
@@ -22,13 +22,13 @@ import { Elevation } from "../Elevation";
|
|
|
22
22
|
import { Typography } from "../Typography";
|
|
23
23
|
import { autoCompleteStyle, suggestionList } from "./styles";
|
|
24
24
|
import { FormElementMessage } from "../FormElementMessage";
|
|
25
|
-
import { ReactComponent as BaselineCloseIcon } from "
|
|
26
|
-
import { ReactComponent as PrevIcon } from "
|
|
27
|
-
import { ReactComponent as NextIcon } from "
|
|
28
|
-
import { ReactComponent as PrevAllIcon } from "
|
|
29
|
-
import { ReactComponent as NextAllIcon } from "
|
|
30
|
-
import { ReactComponent as DeleteIcon } from "
|
|
31
|
-
import { ReactComponent as ReorderIcon } from "
|
|
25
|
+
import { ReactComponent as BaselineCloseIcon } from "./icons/baseline-close-24px.svg";
|
|
26
|
+
import { ReactComponent as PrevIcon } from "./icons/navigate_before-24px.svg";
|
|
27
|
+
import { ReactComponent as NextIcon } from "./icons/navigate_next-24px.svg";
|
|
28
|
+
import { ReactComponent as PrevAllIcon } from "./icons/skip_previous-24px.svg";
|
|
29
|
+
import { ReactComponent as NextAllIcon } from "./icons/skip_next-24px.svg";
|
|
30
|
+
import { ReactComponent as DeleteIcon } from "./icons/baseline-close-24px.svg";
|
|
31
|
+
import { ReactComponent as ReorderIcon } from "./icons/reorder_black_24dp.svg";
|
|
32
32
|
import { css } from "emotion";
|
|
33
33
|
import { ListItemGraphic } from "../List";
|
|
34
34
|
var style = {
|
|
@@ -260,7 +260,7 @@ export var MultiAutoComplete = /*#__PURE__*/function (_React$Component) {
|
|
|
260
260
|
className: classNames("multi-autocomplete__options-list", listStyles)
|
|
261
261
|
}, getMenuProps()), /*#__PURE__*/React.createElement("li", null, /*#__PURE__*/React.createElement(Typography, {
|
|
262
262
|
use: "body2"
|
|
263
|
-
}, "No results."))));
|
|
263
|
+
}, "No results."), this.props.noResultFound)));
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
var renderItem = this.props.renderItem;
|
package/Button/Button.stories.js
CHANGED
|
@@ -3,7 +3,7 @@ import { storiesOf } from "@storybook/react";
|
|
|
3
3
|
import { withKnobs, text, boolean } from "@storybook/addon-knobs";
|
|
4
4
|
import { Story, StoryReadme, StorySandbox } from "@webiny/storybook-utils/Story";
|
|
5
5
|
import readme from "./../Button/README.md";
|
|
6
|
-
import { ReactComponent as CloudIcon } from "
|
|
6
|
+
import { ReactComponent as CloudIcon } from "./assets/baseline-cloud_done-24px.svg";
|
|
7
7
|
import { ButtonPrimary, ButtonSecondary, ButtonDefault, ButtonFloating, ButtonIcon } from "./Button";
|
|
8
8
|
var story = storiesOf("Components/Button", module);
|
|
9
9
|
story.addDecorator(withKnobs);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
2
|
var _excluded = ["value", "onCopy"];
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import { ReactComponent as CopyToClipboardIcon } from "
|
|
4
|
+
import { ReactComponent as CopyToClipboardIcon } from "../assets/file_copy-24px.svg";
|
|
5
5
|
import { IconButton } from "../index";
|
|
6
6
|
import { useCallback } from "react";
|
|
7
7
|
|
|
@@ -2,8 +2,8 @@ import React from "react";
|
|
|
2
2
|
import { storiesOf } from "@storybook/react";
|
|
3
3
|
import { Story, StoryReadme, StorySandbox } from "@webiny/storybook-utils/Story";
|
|
4
4
|
import readme from "./README.md";
|
|
5
|
-
import { ReactComponent as CloudIcon } from "
|
|
6
|
-
import { ReactComponent as MoreIcon } from "
|
|
5
|
+
import { ReactComponent as CloudIcon } from "./../assets/baseline-cloud_done-24px.svg";
|
|
6
|
+
import { ReactComponent as MoreIcon } from "./../assets/round-more_vert-24px.svg";
|
|
7
7
|
import { Menu, MenuItem } from "./../../Menu/index";
|
|
8
8
|
import { IconButton } from "./IconButton";
|
|
9
9
|
var story = storiesOf("Components/Button", module);
|
package/Chips/Chips.stories.js
CHANGED
|
@@ -2,8 +2,8 @@ import React from "react";
|
|
|
2
2
|
import { storiesOf } from "@storybook/react";
|
|
3
3
|
import { Story, StoryReadme, StorySandboxCode, StorySandbox, StorySandboxExample } from "@webiny/storybook-utils/Story";
|
|
4
4
|
import readme from "./README.md";
|
|
5
|
-
import { ReactComponent as BaselineDoneIcon } from "
|
|
6
|
-
import { ReactComponent as BaselineEmailIcon } from "
|
|
5
|
+
import { ReactComponent as BaselineDoneIcon } from "./icons/baseline-done-24px.svg";
|
|
6
|
+
import { ReactComponent as BaselineEmailIcon } from "./icons/baseline-email-24px.svg";
|
|
7
7
|
import { Chip, ChipIcon, Chips } from "./index";
|
|
8
8
|
var story = storiesOf("Components/Chips", module);
|
|
9
9
|
story.add("usage", function () {
|
package/Icon/Icon.stories.js
CHANGED
|
@@ -2,10 +2,10 @@ import React from "react";
|
|
|
2
2
|
import { storiesOf } from "@storybook/react";
|
|
3
3
|
import { Story, StoryReadme, StorySandbox } from "@webiny/storybook-utils/Story";
|
|
4
4
|
import readme from "./../Icon/README.md";
|
|
5
|
-
import { ReactComponent as AutoRenewIcon } from "
|
|
6
|
-
import { ReactComponent as CloudDoneIcon } from "
|
|
7
|
-
import { ReactComponent as BaselineDeleteIcon } from "
|
|
8
|
-
import { ReactComponent as BaselineDoneIcon } from "
|
|
5
|
+
import { ReactComponent as AutoRenewIcon } from "./svg/baseline-autorenew-24px.svg";
|
|
6
|
+
import { ReactComponent as CloudDoneIcon } from "./svg/baseline-cloud_done-24px.svg";
|
|
7
|
+
import { ReactComponent as BaselineDeleteIcon } from "./svg/baseline-delete-24px.svg";
|
|
8
|
+
import { ReactComponent as BaselineDoneIcon } from "./svg/baseline-done-24px.svg";
|
|
9
9
|
import { Icon } from "./Icon";
|
|
10
10
|
var story = storiesOf("Components/Icon", module);
|
|
11
11
|
story.add("usage", function () {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ReactComponent as CropIcon } from "
|
|
2
|
+
import { ReactComponent as CropIcon } from "./icons/crop.svg";
|
|
3
3
|
import { IconButton } from "../../Button";
|
|
4
4
|
import { Tooltip } from "../../Tooltip";
|
|
5
5
|
import Cropper from "cropperjs";
|
|
@@ -7,7 +7,7 @@ import _createSuper from "@babel/runtime/helpers/createSuper";
|
|
|
7
7
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
8
|
import _debounce from "lodash/debounce";
|
|
9
9
|
import React from "react";
|
|
10
|
-
import { ReactComponent as FilterIcon } from "
|
|
10
|
+
import { ReactComponent as FilterIcon } from "./icons/filter.svg";
|
|
11
11
|
import { Slider } from "../../Slider";
|
|
12
12
|
import { IconButton, ButtonDefault } from "../../Button";
|
|
13
13
|
import { Tooltip } from "../../Tooltip";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ReactComponent as FlipIcon } from "
|
|
2
|
+
import { ReactComponent as FlipIcon } from "./icons/flip.svg";
|
|
3
3
|
import Cropper from "cropperjs";
|
|
4
4
|
import "cropperjs/dist/cropper.css";
|
|
5
5
|
import { IconButton, ButtonDefault } from "../../Button";
|
|
@@ -7,7 +7,7 @@ import _createSuper from "@babel/runtime/helpers/createSuper";
|
|
|
7
7
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
8
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
9
9
|
import React from "react";
|
|
10
|
-
import { ReactComponent as RotateRight } from "
|
|
10
|
+
import { ReactComponent as RotateRight } from "./icons/rotateRight.svg";
|
|
11
11
|
import { Slider } from "../../Slider";
|
|
12
12
|
import { Tooltip } from "../../Tooltip";
|
|
13
13
|
import { IconButton } from "../../Button";
|
package/ImageUpload/Image.js
CHANGED
|
@@ -5,9 +5,9 @@ import _createSuper from "@babel/runtime/helpers/createSuper";
|
|
|
5
5
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import classNames from "classnames";
|
|
8
|
-
import { ReactComponent as AddImageIcon } from "
|
|
9
|
-
import { ReactComponent as RemoveImageIcon } from "
|
|
10
|
-
import { ReactComponent as EditImageIcon } from "
|
|
8
|
+
import { ReactComponent as AddImageIcon } from "./icons/round-add_photo_alternate-24px.svg";
|
|
9
|
+
import { ReactComponent as RemoveImageIcon } from "./icons/round-close-24px.svg";
|
|
10
|
+
import { ReactComponent as EditImageIcon } from "./icons/round-edit-24px.svg";
|
|
11
11
|
import { Typography } from "../Typography";
|
|
12
12
|
import { CircularProgress } from "../Progress";
|
|
13
13
|
import { AddImageIconWrapper, AddImageWrapper, AddImageWrapperRound, EditImage, ImagePreviewWrapper, RemoveImage } from "./styled";
|