@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
|
@@ -2,13 +2,13 @@ import React from "react";
|
|
|
2
2
|
export declare type SimpleOverlayProps = {
|
|
3
3
|
showOverlay: boolean;
|
|
4
4
|
};
|
|
5
|
-
export declare const SimpleOverlay: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & SimpleOverlayProps, "
|
|
5
|
+
export declare const SimpleOverlay: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & SimpleOverlayProps, "onError" | "className" | "style" | "title" | "children" | "onBlur" | "onClick" | "onContextMenu" | "onCopy" | "onCut" | "onAuxClick" | "onDoubleClick" | "onDragEnd" | "onDragStart" | "onDrop" | "onFocus" | "onInput" | "onInvalid" | "onKeyDown" | "onKeyPress" | "onKeyUp" | "onMouseDown" | "onMouseUp" | "onPaste" | "onPause" | "onPlay" | "onPointerCancel" | "onPointerDown" | "onPointerUp" | "onRateChange" | "onReset" | "onSeeked" | "onSubmit" | "onTouchCancel" | "onTouchEnd" | "onTouchStart" | "onVolumeChange" | "onAbort" | "onAnimationEnd" | "onAnimationIteration" | "onAnimationStart" | "onCanPlay" | "onCanPlayThrough" | "onDrag" | "onDragEnter" | "onDragExit" | "onDragLeave" | "onDragOver" | "onDurationChange" | "onEmptied" | "onEncrypted" | "onEnded" | "onGotPointerCapture" | "onLoad" | "onLoadedData" | "onLoadedMetadata" | "onLoadStart" | "onLostPointerCapture" | "onMouseMove" | "onMouseOut" | "onMouseOver" | "onPlaying" | "onPointerMove" | "onPointerOut" | "onPointerOver" | "onProgress" | "onScroll" | "onSeeking" | "onStalled" | "onSuspend" | "onTimeUpdate" | "onTouchMove" | "onTransitionEnd" | "onWaiting" | "onWheel" | "onMouseEnter" | "onMouseLeave" | "onPointerEnter" | "onPointerLeave" | "onChange" | "onSelect" | "onBeforeInput" | "onCompositionEnd" | "onCompositionStart" | "onCompositionUpdate" | "placeholder" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCutCapture" | "onPasteCapture" | "onCompositionEndCapture" | "onCompositionStartCapture" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInputCapture" | "onInputCapture" | "onResetCapture" | "onSubmitCapture" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbortCapture" | "onCanPlayCapture" | "onCanPlayThroughCapture" | "onDurationChangeCapture" | "onEmptiedCapture" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedDataCapture" | "onLoadedMetadataCapture" | "onLoadStartCapture" | "onPauseCapture" | "onPlayCapture" | "onPlayingCapture" | "onProgressCapture" | "onRateChangeCapture" | "onSeekedCapture" | "onSeekingCapture" | "onStalledCapture" | "onSuspendCapture" | "onTimeUpdateCapture" | "onVolumeChangeCapture" | "onWaitingCapture" | "onAuxClickCapture" | "onClickCapture" | "onContextMenuCapture" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnterCapture" | "onDragExitCapture" | "onDragLeaveCapture" | "onDragOverCapture" | "onDragStartCapture" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDownCapture" | "onPointerMoveCapture" | "onPointerUpCapture" | "onPointerCancelCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerOverCapture" | "onPointerOutCapture" | "onGotPointerCaptureCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEndCapture" | "onAnimationIterationCapture" | "onTransitionEndCapture" | "translate" | "css" | "showOverlay"> & {
|
|
6
6
|
theme: object;
|
|
7
7
|
}, object>;
|
|
8
8
|
export declare type DataListModalWrapperProps = {
|
|
9
9
|
showOverlay: boolean;
|
|
10
10
|
};
|
|
11
|
-
export declare const DataListModalWrapper: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & DataListModalWrapperProps, "
|
|
11
|
+
export declare const DataListModalWrapper: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & DataListModalWrapperProps, "onError" | "className" | "style" | "title" | "children" | "onBlur" | "onClick" | "onContextMenu" | "onCopy" | "onCut" | "onAuxClick" | "onDoubleClick" | "onDragEnd" | "onDragStart" | "onDrop" | "onFocus" | "onInput" | "onInvalid" | "onKeyDown" | "onKeyPress" | "onKeyUp" | "onMouseDown" | "onMouseUp" | "onPaste" | "onPause" | "onPlay" | "onPointerCancel" | "onPointerDown" | "onPointerUp" | "onRateChange" | "onReset" | "onSeeked" | "onSubmit" | "onTouchCancel" | "onTouchEnd" | "onTouchStart" | "onVolumeChange" | "onAbort" | "onAnimationEnd" | "onAnimationIteration" | "onAnimationStart" | "onCanPlay" | "onCanPlayThrough" | "onDrag" | "onDragEnter" | "onDragExit" | "onDragLeave" | "onDragOver" | "onDurationChange" | "onEmptied" | "onEncrypted" | "onEnded" | "onGotPointerCapture" | "onLoad" | "onLoadedData" | "onLoadedMetadata" | "onLoadStart" | "onLostPointerCapture" | "onMouseMove" | "onMouseOut" | "onMouseOver" | "onPlaying" | "onPointerMove" | "onPointerOut" | "onPointerOver" | "onProgress" | "onScroll" | "onSeeking" | "onStalled" | "onSuspend" | "onTimeUpdate" | "onTouchMove" | "onTransitionEnd" | "onWaiting" | "onWheel" | "onMouseEnter" | "onMouseLeave" | "onPointerEnter" | "onPointerLeave" | "onChange" | "onSelect" | "onBeforeInput" | "onCompositionEnd" | "onCompositionStart" | "onCompositionUpdate" | "placeholder" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCutCapture" | "onPasteCapture" | "onCompositionEndCapture" | "onCompositionStartCapture" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInputCapture" | "onInputCapture" | "onResetCapture" | "onSubmitCapture" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbortCapture" | "onCanPlayCapture" | "onCanPlayThroughCapture" | "onDurationChangeCapture" | "onEmptiedCapture" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedDataCapture" | "onLoadedMetadataCapture" | "onLoadStartCapture" | "onPauseCapture" | "onPlayCapture" | "onPlayingCapture" | "onProgressCapture" | "onRateChangeCapture" | "onSeekedCapture" | "onSeekingCapture" | "onStalledCapture" | "onSuspendCapture" | "onTimeUpdateCapture" | "onVolumeChangeCapture" | "onWaitingCapture" | "onAuxClickCapture" | "onClickCapture" | "onContextMenuCapture" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnterCapture" | "onDragExitCapture" | "onDragLeaveCapture" | "onDragOverCapture" | "onDragStartCapture" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDownCapture" | "onPointerMoveCapture" | "onPointerUpCapture" | "onPointerCancelCapture" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "onPointerOverCapture" | "onPointerOutCapture" | "onGotPointerCaptureCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEndCapture" | "onAnimationIterationCapture" | "onTransitionEndCapture" | "translate" | "css" | "showOverlay"> & {
|
|
12
12
|
theme: object;
|
|
13
13
|
}, object>;
|
|
14
14
|
export declare type DataListModalOverlayProps = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { IconButton } from "../../../Button";
|
|
3
|
-
import { ReactComponent as AutoRenew } from "
|
|
4
|
-
import { ReactComponent as Pen } from "
|
|
5
|
-
import { ReactComponent as Delete } from "
|
|
6
|
-
import { ReactComponent as Sort } from "
|
|
7
|
-
import { ReactComponent as Filter } from "
|
|
8
|
-
import { ReactComponent as NavigateBefore } from "
|
|
9
|
-
import { ReactComponent as NavigateNext } from "
|
|
10
|
-
import { ReactComponent as TuneIcon } from "
|
|
3
|
+
import { ReactComponent as AutoRenew } from "./baseline-autorenew-24px.svg";
|
|
4
|
+
import { ReactComponent as Pen } from "./baseline-edit-24px.svg";
|
|
5
|
+
import { ReactComponent as Delete } from "./baseline-delete-24px.svg";
|
|
6
|
+
import { ReactComponent as Sort } from "./baseline-sort-24px.svg";
|
|
7
|
+
import { ReactComponent as Filter } from "./filter_alt-24px.svg";
|
|
8
|
+
import { ReactComponent as NavigateBefore } from "./baseline-navigate_before-24px.svg";
|
|
9
|
+
import { ReactComponent as NavigateNext } from "./baseline-navigate_next-24px.svg";
|
|
10
|
+
import { ReactComponent as TuneIcon } from "./baseline-tune-24px.svg";
|
|
11
11
|
export var RefreshIcon = function RefreshIcon(props) {
|
|
12
12
|
return /*#__PURE__*/React.createElement(IconButton, Object.assign({
|
|
13
13
|
icon: /*#__PURE__*/React.createElement(AutoRenew, null)
|
package/List/List.stories.js
CHANGED
|
@@ -4,10 +4,10 @@ import { Story, StoryReadme, StorySandboxCode, StorySandbox, StorySandboxExample
|
|
|
4
4
|
import readme from "./../List/README.md";
|
|
5
5
|
import { Icon } from "./../Icon";
|
|
6
6
|
import { ButtonPrimary } from "./../Button";
|
|
7
|
-
import { ReactComponent as AutoRenewIcon } from "
|
|
8
|
-
import { ReactComponent as CloudDoneIcon } from "
|
|
9
|
-
import { ReactComponent as BaselineDeleteIcon } from "
|
|
10
|
-
import { ReactComponent as BaselineDoneIcon } from "
|
|
7
|
+
import { ReactComponent as AutoRenewIcon } from "./icons/baseline-autorenew-24px.svg";
|
|
8
|
+
import { ReactComponent as CloudDoneIcon } from "./icons/baseline-cloud_done-24px.svg";
|
|
9
|
+
import { ReactComponent as BaselineDeleteIcon } from "./icons/baseline-delete-24px.svg";
|
|
10
|
+
import { ReactComponent as BaselineDoneIcon } from "./icons/baseline-done-24px.svg";
|
|
11
11
|
import { List, ListItem, ListItemText, ListItemTextSecondary, ListItemMeta, ListItemGraphic, ListItemTextPrimary } from "./List";
|
|
12
12
|
var story = storiesOf("Components/List", module);
|
|
13
13
|
story.add("simple list", function () {
|
|
@@ -100,28 +100,13 @@ export var RichTextEditor = function RichTextEditor(props) {
|
|
|
100
100
|
return tools;
|
|
101
101
|
}, {})
|
|
102
102
|
}));
|
|
103
|
-
return
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
case 0:
|
|
108
|
-
if (!(!editorRef.current || typeof editorRef.current.destroy !== "function")) {
|
|
109
|
-
_context2.next = 2;
|
|
110
|
-
break;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
return _context2.abrupt("return");
|
|
114
|
-
|
|
115
|
-
case 2:
|
|
116
|
-
editorRef.current.destroy();
|
|
103
|
+
return function () {
|
|
104
|
+
if (!editorRef.current || typeof editorRef.current.destroy !== "function") {
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
117
107
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
return _context2.stop();
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}, _callee2);
|
|
124
|
-
}));
|
|
108
|
+
editorRef.current.destroy();
|
|
109
|
+
};
|
|
125
110
|
}, []);
|
|
126
111
|
var label = props.label,
|
|
127
112
|
description = props.description,
|
package/Ripple/Ripple.stories.js
CHANGED
|
@@ -4,10 +4,10 @@ import { Story, StoryReadme, StorySandboxCode, StorySandbox, StorySandboxExample
|
|
|
4
4
|
import readme from "./../Ripple/README.md";
|
|
5
5
|
import { Icon } from "./../Icon";
|
|
6
6
|
import { withKnobs, boolean } from "@storybook/addon-knobs";
|
|
7
|
-
import { ReactComponent as AutoRenewIcon } from "
|
|
8
|
-
import { ReactComponent as CloudDoneIcon } from "
|
|
9
|
-
import { ReactComponent as BaselineDeleteIcon } from "
|
|
10
|
-
import { ReactComponent as BaselineDoneIcon } from "
|
|
7
|
+
import { ReactComponent as AutoRenewIcon } from "./svg/baseline-autorenew-24px.svg";
|
|
8
|
+
import { ReactComponent as CloudDoneIcon } from "./svg/baseline-cloud_done-24px.svg";
|
|
9
|
+
import { ReactComponent as BaselineDeleteIcon } from "./svg/baseline-delete-24px.svg";
|
|
10
|
+
import { ReactComponent as BaselineDoneIcon } from "./svg/baseline-done-24px.svg";
|
|
11
11
|
import { Ripple } from "./Ripple";
|
|
12
12
|
var story = storiesOf("Components/Ripple", module);
|
|
13
13
|
story.addDecorator(withKnobs);
|
package/Select/Select.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { SelectProps as RmwcSelectProps } from "@rmwc/select";
|
|
3
3
|
import { FormComponentProps } from "../types";
|
|
4
|
-
declare type SelectProps = FormComponentProps & RmwcSelectProps & {
|
|
4
|
+
export declare type SelectProps = FormComponentProps & RmwcSelectProps & {
|
|
5
5
|
label?: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
description?: string;
|
package/Tabs/Tabs.stories.js
CHANGED
|
@@ -2,8 +2,8 @@ import * as 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 "./../Tabs/README.md";
|
|
5
|
-
import { ReactComponent as DeleteIcon } from "
|
|
6
|
-
import { ReactComponent as DoneIcon } from "
|
|
5
|
+
import { ReactComponent as DeleteIcon } from "./svg/baseline-delete-24px.svg";
|
|
6
|
+
import { ReactComponent as DoneIcon } from "./svg/baseline-done-24px.svg";
|
|
7
7
|
import { withKnobs } from "@storybook/addon-knobs";
|
|
8
8
|
import { Tabs, Tab } from "./index";
|
|
9
9
|
var story = storiesOf("Components/Tabs", module);
|
package/Tags/Tags.js
CHANGED
|
@@ -13,7 +13,7 @@ import { Input } from "../Input";
|
|
|
13
13
|
import { Chips, Chip } from "../Chips";
|
|
14
14
|
import { css } from "emotion";
|
|
15
15
|
import keycode from "keycode";
|
|
16
|
-
import { ReactComponent as BaselineCloseIcon } from "
|
|
16
|
+
import { ReactComponent as BaselineCloseIcon } from "./icons/baseline-close-24px.svg";
|
|
17
17
|
import { FormElementMessage } from "../FormElementMessage";
|
|
18
18
|
var tagsStyle = /*#__PURE__*/css({
|
|
19
19
|
position: "relative",
|
|
@@ -3,10 +3,10 @@ import { storiesOf } from "@storybook/react";
|
|
|
3
3
|
import { Story, StoryReadme, StorySandbox } from "@webiny/storybook-utils/Story";
|
|
4
4
|
import readme from "./../TopAppBar/README.md";
|
|
5
5
|
import { withKnobs, text } from "@storybook/addon-knobs";
|
|
6
|
-
import { ReactComponent as AutoRenewIcon } from "
|
|
7
|
-
import { ReactComponent as CloudDoneIcon } from "
|
|
8
|
-
import { ReactComponent as EnvelopeIcon } from "
|
|
9
|
-
import { ReactComponent as MenuIcon } from "
|
|
6
|
+
import { ReactComponent as AutoRenewIcon } from "./icons/baseline-autorenew-24px.svg";
|
|
7
|
+
import { ReactComponent as CloudDoneIcon } from "./icons/baseline-cloud_done-24px.svg";
|
|
8
|
+
import { ReactComponent as EnvelopeIcon } from "./icons/baseline-email-24px.svg";
|
|
9
|
+
import { ReactComponent as MenuIcon } from "./icons/baseline-menu-24px.svg";
|
|
10
10
|
import { TopAppBar, TopAppBarSection, TopAppBarNavigationIcon, TopAppBarTitle, TopAppBarActionItem } from "./index";
|
|
11
11
|
var story = storiesOf("Components/TopAppBar", module);
|
|
12
12
|
story.addDecorator(withKnobs);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.22.0-beta.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
],
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@babel/runtime": "7.16.
|
|
17
|
+
"@babel/runtime": "7.16.7",
|
|
18
18
|
"@editorjs/editorjs": "2.22.3",
|
|
19
|
-
"@emotion/core": "10.
|
|
20
|
-
"@emotion/styled": "10.0
|
|
19
|
+
"@emotion/core": "10.3.1",
|
|
20
|
+
"@emotion/styled": "10.3.0",
|
|
21
21
|
"@material/base": "3.1.0",
|
|
22
22
|
"@material/textfield": "3.2.0",
|
|
23
23
|
"@rmwc/base": "5.7.2",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@rmwc/top-app-bar": "5.7.2",
|
|
48
48
|
"@rmwc/types": "5.6.0",
|
|
49
49
|
"@rmwc/typography": "5.7.2",
|
|
50
|
-
"@svgr/webpack": "
|
|
50
|
+
"@svgr/webpack": "6.2.0",
|
|
51
51
|
"brace": "0.11.1",
|
|
52
52
|
"classnames": "2.3.1",
|
|
53
53
|
"cropperjs": "1.5.12",
|
|
@@ -72,23 +72,22 @@
|
|
|
72
72
|
"shortid": "2.2.16"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@babel/cli": "^7.
|
|
76
|
-
"@babel/core": "^7.
|
|
77
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
78
|
-
"@babel/preset-env": "^7.
|
|
79
|
-
"@babel/preset-typescript": "^7.
|
|
75
|
+
"@babel/cli": "^7.16.0",
|
|
76
|
+
"@babel/core": "^7.16.0",
|
|
77
|
+
"@babel/plugin-proposal-class-properties": "^7.16.0",
|
|
78
|
+
"@babel/preset-env": "^7.16.4",
|
|
79
|
+
"@babel/preset-typescript": "^7.16.0",
|
|
80
80
|
"@storybook/addon-info": "^5.2.8",
|
|
81
81
|
"@storybook/addon-knobs": "^5.0.5",
|
|
82
82
|
"@storybook/addon-links": "^5.0.5",
|
|
83
83
|
"@storybook/react": "^5.2.8",
|
|
84
|
-
"@webiny/cli": "^5.
|
|
85
|
-
"@webiny/form": "^5.
|
|
86
|
-
"@webiny/project-utils": "^5.
|
|
87
|
-
"@webiny/storybook-utils": "^5.
|
|
88
|
-
"@webiny/validation": "^5.
|
|
84
|
+
"@webiny/cli": "^5.22.0-beta.3",
|
|
85
|
+
"@webiny/form": "^5.22.0-beta.3",
|
|
86
|
+
"@webiny/project-utils": "^5.22.0-beta.3",
|
|
87
|
+
"@webiny/storybook-utils": "^5.22.0-beta.3",
|
|
88
|
+
"@webiny/validation": "^5.22.0-beta.3",
|
|
89
89
|
"babel-loader": "^8.0.0-beta.6",
|
|
90
90
|
"babel-plugin-emotion": "^9.2.8",
|
|
91
|
-
"babel-plugin-named-asset-import": "^1.0.0-next.3e165448",
|
|
92
91
|
"execa": "^5.0.0",
|
|
93
92
|
"jest-dom": "^3.0.0",
|
|
94
93
|
"ncp": "^2.0.0",
|
|
@@ -104,8 +103,8 @@
|
|
|
104
103
|
"webpack": "^4.46.0"
|
|
105
104
|
},
|
|
106
105
|
"peerDependencies": {
|
|
107
|
-
"react": "16.14.0",
|
|
108
|
-
"react-dom": "16.14.0"
|
|
106
|
+
"react": "^16.14.0",
|
|
107
|
+
"react-dom": "^16.14.0"
|
|
109
108
|
},
|
|
110
109
|
"publishConfig": {
|
|
111
110
|
"access": "public",
|
|
@@ -123,11 +122,6 @@
|
|
|
123
122
|
},
|
|
124
123
|
"setupTestFrameworkScriptFile": "jest-extended"
|
|
125
124
|
},
|
|
126
|
-
"svgo": {
|
|
127
|
-
"plugins": {
|
|
128
|
-
"removeViewBox": false
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
125
|
"adio": {
|
|
132
126
|
"ignore": {
|
|
133
127
|
"dependencies": [
|
|
@@ -138,5 +132,5 @@
|
|
|
138
132
|
]
|
|
139
133
|
}
|
|
140
134
|
},
|
|
141
|
-
"gitHead": "
|
|
135
|
+
"gitHead": "7a6b4ce3b9f31fe0702fffd28b7959c637e9a20b"
|
|
142
136
|
}
|
|
@@ -81,8 +81,8 @@ export declare class TextField extends FoundationComponent<MDCTextFieldFoundatio
|
|
|
81
81
|
hasOutline: () => boolean;
|
|
82
82
|
};
|
|
83
83
|
getInputAdapterMethods(): {
|
|
84
|
-
registerInputInteractionHandler: <K
|
|
85
|
-
deregisterInputInteractionHandler: <K
|
|
84
|
+
registerInputInteractionHandler: <K>(evtType: K, handler: SpecificEventListener<any>) => void;
|
|
85
|
+
deregisterInputInteractionHandler: <K>(evtType: K, handler: SpecificEventListener<any>) => void;
|
|
86
86
|
getNativeInput: () => (HTMLInputElement & HTMLTextAreaElement) | null;
|
|
87
87
|
};
|
|
88
88
|
getFoundationMap(): {
|
|
@@ -81,8 +81,8 @@ export declare class TextField extends FoundationComponent<MDCTextFieldFoundatio
|
|
|
81
81
|
hasOutline: () => boolean;
|
|
82
82
|
};
|
|
83
83
|
getInputAdapterMethods(): {
|
|
84
|
-
registerInputInteractionHandler: <K
|
|
85
|
-
deregisterInputInteractionHandler: <K
|
|
84
|
+
registerInputInteractionHandler: <K>(evtType: K, handler: SpecificEventListener<any>) => void;
|
|
85
|
+
deregisterInputInteractionHandler: <K>(evtType: K, handler: SpecificEventListener<any>) => void;
|
|
86
86
|
getNativeInput: () => (HTMLInputElement & HTMLTextAreaElement) | null;
|
|
87
87
|
};
|
|
88
88
|
getFoundationMap(): {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/jamesmfriedman/rmwc/tree/master/src/textfield#readme",
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"react": "
|
|
32
|
-
"react-dom": "
|
|
31
|
+
"react": "16.14.0",
|
|
32
|
+
"react-dom": "16.14.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@material/textfield": "^3.1.0",
|