@storybook/components 6.4.0-beta.31 → 6.4.0-beta.32
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/dist/cjs/bar/button.js +19 -12
- package/dist/cjs/bar/button.stories.js +24 -2
- package/dist/esm/bar/button.js +19 -12
- package/dist/esm/bar/button.stories.js +17 -1
- package/dist/modern/bar/button.js +18 -13
- package/dist/modern/bar/button.stories.js +13 -1
- package/dist/ts3.4/bar/button.d.ts +1 -0
- package/dist/ts3.9/bar/button.d.ts +1 -0
- package/package.json +4 -4
package/dist/cjs/bar/button.js
CHANGED
|
@@ -85,8 +85,7 @@ exports.TabButton = TabButton;
|
|
|
85
85
|
TabButton.displayName = 'TabButton';
|
|
86
86
|
var IconButton = (0, _theming.styled)(ButtonOrLink, {
|
|
87
87
|
shouldForwardProp: _theming.isPropValid
|
|
88
|
-
})(function (
|
|
89
|
-
var theme = _ref4.theme;
|
|
88
|
+
})(function () {
|
|
90
89
|
return {
|
|
91
90
|
alignItems: 'center',
|
|
92
91
|
background: 'transparent',
|
|
@@ -101,6 +100,24 @@ var IconButton = (0, _theming.styled)(ButtonOrLink, {
|
|
|
101
100
|
justifyContent: 'center',
|
|
102
101
|
marginTop: 6,
|
|
103
102
|
padding: '8px 7px',
|
|
103
|
+
'& > svg': {
|
|
104
|
+
width: 14
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
}, function (_ref4) {
|
|
108
|
+
var active = _ref4.active,
|
|
109
|
+
theme = _ref4.theme;
|
|
110
|
+
return active ? {
|
|
111
|
+
backgroundColor: theme.background.hoverable,
|
|
112
|
+
color: theme.color.secondary
|
|
113
|
+
} : {};
|
|
114
|
+
}, function (_ref5) {
|
|
115
|
+
var disabled = _ref5.disabled,
|
|
116
|
+
theme = _ref5.theme;
|
|
117
|
+
return disabled ? {
|
|
118
|
+
opacity: 0.5,
|
|
119
|
+
cursor: 'not-allowed'
|
|
120
|
+
} : {
|
|
104
121
|
'&:hover, &:focus-visible': {
|
|
105
122
|
background: (0, _polished.transparentize)(0.88, theme.color.secondary),
|
|
106
123
|
color: theme.color.secondary
|
|
@@ -111,18 +128,8 @@ var IconButton = (0, _theming.styled)(ButtonOrLink, {
|
|
|
111
128
|
},
|
|
112
129
|
'&:focus:not(:focus-visible)': {
|
|
113
130
|
outline: 'none'
|
|
114
|
-
},
|
|
115
|
-
'& > svg': {
|
|
116
|
-
width: 14
|
|
117
131
|
}
|
|
118
132
|
};
|
|
119
|
-
}, function (_ref5) {
|
|
120
|
-
var active = _ref5.active,
|
|
121
|
-
theme = _ref5.theme;
|
|
122
|
-
return active ? {
|
|
123
|
-
backgroundColor: theme.background.hoverable,
|
|
124
|
-
color: theme.color.secondary
|
|
125
|
-
} : {};
|
|
126
133
|
});
|
|
127
134
|
exports.IconButton = IconButton;
|
|
128
135
|
IconButton.displayName = 'IconButton';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.WithTextActive = exports.WithText = exports.Active = exports._IconButton = exports.default = void 0;
|
|
6
|
+
exports.WithTextDisabled = exports.WithTextActive = exports.WithText = exports.Disabled = exports.Active = exports._IconButton = exports.default = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
@@ -40,6 +40,17 @@ var Active = function Active() {
|
|
|
40
40
|
exports.Active = Active;
|
|
41
41
|
Active.displayName = "Active";
|
|
42
42
|
|
|
43
|
+
var Disabled = function Disabled() {
|
|
44
|
+
return /*#__PURE__*/_react.default.createElement(_button.IconButton, {
|
|
45
|
+
disabled: true
|
|
46
|
+
}, /*#__PURE__*/_react.default.createElement(_icon.Icons, {
|
|
47
|
+
icon: "beaker"
|
|
48
|
+
}));
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
exports.Disabled = Disabled;
|
|
52
|
+
Disabled.displayName = "Disabled";
|
|
53
|
+
|
|
43
54
|
var WithText = function WithText() {
|
|
44
55
|
return /*#__PURE__*/_react.default.createElement(_button.IconButton, null, /*#__PURE__*/_react.default.createElement(_icon.Icons, {
|
|
45
56
|
icon: "circlehollow"
|
|
@@ -58,4 +69,15 @@ var WithTextActive = function WithTextActive() {
|
|
|
58
69
|
};
|
|
59
70
|
|
|
60
71
|
exports.WithTextActive = WithTextActive;
|
|
61
|
-
WithTextActive.displayName = "WithTextActive";
|
|
72
|
+
WithTextActive.displayName = "WithTextActive";
|
|
73
|
+
|
|
74
|
+
var WithTextDisabled = function WithTextDisabled() {
|
|
75
|
+
return /*#__PURE__*/_react.default.createElement(_button.IconButton, {
|
|
76
|
+
disabled: true
|
|
77
|
+
}, /*#__PURE__*/_react.default.createElement(_icon.Icons, {
|
|
78
|
+
icon: "circlehollow"
|
|
79
|
+
}), "\xA0Howdy!");
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
exports.WithTextDisabled = WithTextDisabled;
|
|
83
|
+
WithTextDisabled.displayName = "WithTextDisabled";
|
package/dist/esm/bar/button.js
CHANGED
|
@@ -70,8 +70,7 @@ export var TabButton = styled(ButtonOrLink, {
|
|
|
70
70
|
TabButton.displayName = 'TabButton';
|
|
71
71
|
export var IconButton = styled(ButtonOrLink, {
|
|
72
72
|
shouldForwardProp: isPropValid
|
|
73
|
-
})(function (
|
|
74
|
-
var theme = _ref4.theme;
|
|
73
|
+
})(function () {
|
|
75
74
|
return {
|
|
76
75
|
alignItems: 'center',
|
|
77
76
|
background: 'transparent',
|
|
@@ -86,6 +85,24 @@ export var IconButton = styled(ButtonOrLink, {
|
|
|
86
85
|
justifyContent: 'center',
|
|
87
86
|
marginTop: 6,
|
|
88
87
|
padding: '8px 7px',
|
|
88
|
+
'& > svg': {
|
|
89
|
+
width: 14
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
}, function (_ref4) {
|
|
93
|
+
var active = _ref4.active,
|
|
94
|
+
theme = _ref4.theme;
|
|
95
|
+
return active ? {
|
|
96
|
+
backgroundColor: theme.background.hoverable,
|
|
97
|
+
color: theme.color.secondary
|
|
98
|
+
} : {};
|
|
99
|
+
}, function (_ref5) {
|
|
100
|
+
var disabled = _ref5.disabled,
|
|
101
|
+
theme = _ref5.theme;
|
|
102
|
+
return disabled ? {
|
|
103
|
+
opacity: 0.5,
|
|
104
|
+
cursor: 'not-allowed'
|
|
105
|
+
} : {
|
|
89
106
|
'&:hover, &:focus-visible': {
|
|
90
107
|
background: transparentize(0.88, theme.color.secondary),
|
|
91
108
|
color: theme.color.secondary
|
|
@@ -96,17 +113,7 @@ export var IconButton = styled(ButtonOrLink, {
|
|
|
96
113
|
},
|
|
97
114
|
'&:focus:not(:focus-visible)': {
|
|
98
115
|
outline: 'none'
|
|
99
|
-
},
|
|
100
|
-
'& > svg': {
|
|
101
|
-
width: 14
|
|
102
116
|
}
|
|
103
117
|
};
|
|
104
|
-
}, function (_ref5) {
|
|
105
|
-
var active = _ref5.active,
|
|
106
|
-
theme = _ref5.theme;
|
|
107
|
-
return active ? {
|
|
108
|
-
backgroundColor: theme.background.hoverable,
|
|
109
|
-
color: theme.color.secondary
|
|
110
|
-
} : {};
|
|
111
118
|
});
|
|
112
119
|
IconButton.displayName = 'IconButton';
|
|
@@ -20,6 +20,14 @@ export var Active = function Active() {
|
|
|
20
20
|
}));
|
|
21
21
|
};
|
|
22
22
|
Active.displayName = "Active";
|
|
23
|
+
export var Disabled = function Disabled() {
|
|
24
|
+
return /*#__PURE__*/React.createElement(IconButton, {
|
|
25
|
+
disabled: true
|
|
26
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
27
|
+
icon: "beaker"
|
|
28
|
+
}));
|
|
29
|
+
};
|
|
30
|
+
Disabled.displayName = "Disabled";
|
|
23
31
|
export var WithText = function WithText() {
|
|
24
32
|
return /*#__PURE__*/React.createElement(IconButton, null, /*#__PURE__*/React.createElement(Icons, {
|
|
25
33
|
icon: "circlehollow"
|
|
@@ -33,4 +41,12 @@ export var WithTextActive = function WithTextActive() {
|
|
|
33
41
|
icon: "circlehollow"
|
|
34
42
|
}), "\xA0Howdy!");
|
|
35
43
|
};
|
|
36
|
-
WithTextActive.displayName = "WithTextActive";
|
|
44
|
+
WithTextActive.displayName = "WithTextActive";
|
|
45
|
+
export var WithTextDisabled = function WithTextDisabled() {
|
|
46
|
+
return /*#__PURE__*/React.createElement(IconButton, {
|
|
47
|
+
disabled: true
|
|
48
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
49
|
+
icon: "circlehollow"
|
|
50
|
+
}), "\xA0Howdy!");
|
|
51
|
+
};
|
|
52
|
+
WithTextDisabled.displayName = "WithTextDisabled";
|
|
@@ -64,9 +64,7 @@ export const TabButton = styled(ButtonOrLink, {
|
|
|
64
64
|
TabButton.displayName = 'TabButton';
|
|
65
65
|
export const IconButton = styled(ButtonOrLink, {
|
|
66
66
|
shouldForwardProp: isPropValid
|
|
67
|
-
})(({
|
|
68
|
-
theme
|
|
69
|
-
}) => ({
|
|
67
|
+
})(() => ({
|
|
70
68
|
alignItems: 'center',
|
|
71
69
|
background: 'transparent',
|
|
72
70
|
border: 'none',
|
|
@@ -80,6 +78,22 @@ export const IconButton = styled(ButtonOrLink, {
|
|
|
80
78
|
justifyContent: 'center',
|
|
81
79
|
marginTop: 6,
|
|
82
80
|
padding: '8px 7px',
|
|
81
|
+
'& > svg': {
|
|
82
|
+
width: 14
|
|
83
|
+
}
|
|
84
|
+
}), ({
|
|
85
|
+
active,
|
|
86
|
+
theme
|
|
87
|
+
}) => active ? {
|
|
88
|
+
backgroundColor: theme.background.hoverable,
|
|
89
|
+
color: theme.color.secondary
|
|
90
|
+
} : {}, ({
|
|
91
|
+
disabled,
|
|
92
|
+
theme
|
|
93
|
+
}) => disabled ? {
|
|
94
|
+
opacity: 0.5,
|
|
95
|
+
cursor: 'not-allowed'
|
|
96
|
+
} : {
|
|
83
97
|
'&:hover, &:focus-visible': {
|
|
84
98
|
background: transparentize(0.88, theme.color.secondary),
|
|
85
99
|
color: theme.color.secondary
|
|
@@ -90,15 +104,6 @@ export const IconButton = styled(ButtonOrLink, {
|
|
|
90
104
|
},
|
|
91
105
|
'&:focus:not(:focus-visible)': {
|
|
92
106
|
outline: 'none'
|
|
93
|
-
},
|
|
94
|
-
'& > svg': {
|
|
95
|
-
width: 14
|
|
96
107
|
}
|
|
97
|
-
})
|
|
98
|
-
active,
|
|
99
|
-
theme
|
|
100
|
-
}) => active ? {
|
|
101
|
-
backgroundColor: theme.background.hoverable,
|
|
102
|
-
color: theme.color.secondary
|
|
103
|
-
} : {});
|
|
108
|
+
});
|
|
104
109
|
IconButton.displayName = 'IconButton';
|
|
@@ -16,6 +16,12 @@ export const Active = () => /*#__PURE__*/React.createElement(IconButton, {
|
|
|
16
16
|
icon: "beaker"
|
|
17
17
|
}));
|
|
18
18
|
Active.displayName = "Active";
|
|
19
|
+
export const Disabled = () => /*#__PURE__*/React.createElement(IconButton, {
|
|
20
|
+
disabled: true
|
|
21
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
22
|
+
icon: "beaker"
|
|
23
|
+
}));
|
|
24
|
+
Disabled.displayName = "Disabled";
|
|
19
25
|
export const WithText = () => /*#__PURE__*/React.createElement(IconButton, null, /*#__PURE__*/React.createElement(Icons, {
|
|
20
26
|
icon: "circlehollow"
|
|
21
27
|
}), "\xA0Howdy!");
|
|
@@ -25,4 +31,10 @@ export const WithTextActive = () => /*#__PURE__*/React.createElement(IconButton,
|
|
|
25
31
|
}, /*#__PURE__*/React.createElement(Icons, {
|
|
26
32
|
icon: "circlehollow"
|
|
27
33
|
}), "\xA0Howdy!");
|
|
28
|
-
WithTextActive.displayName = "WithTextActive";
|
|
34
|
+
WithTextActive.displayName = "WithTextActive";
|
|
35
|
+
export const WithTextDisabled = () => /*#__PURE__*/React.createElement(IconButton, {
|
|
36
|
+
disabled: true
|
|
37
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
38
|
+
icon: "circlehollow"
|
|
39
|
+
}), "\xA0Howdy!");
|
|
40
|
+
WithTextDisabled.displayName = "WithTextDisabled";
|
|
@@ -16,6 +16,7 @@ export declare const TabButton: import("@emotion/styled-base").StyledComponent<(
|
|
|
16
16
|
}), TabButtonProps, import("@storybook/theming").Theme>;
|
|
17
17
|
export interface IconButtonProps {
|
|
18
18
|
active?: boolean;
|
|
19
|
+
disabled?: boolean;
|
|
19
20
|
}
|
|
20
21
|
export declare const IconButton: import("@emotion/styled-base").StyledComponent<(Pick<ButtonProps, "color" | "translate" | "hidden" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "form" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "href"> & {
|
|
21
22
|
ref?: ((instance: HTMLButtonElement) => void) | React.RefObject<HTMLButtonElement>;
|
|
@@ -16,6 +16,7 @@ export declare const TabButton: import("@emotion/styled-base").StyledComponent<(
|
|
|
16
16
|
}), TabButtonProps, import("@storybook/theming").Theme>;
|
|
17
17
|
export interface IconButtonProps {
|
|
18
18
|
active?: boolean;
|
|
19
|
+
disabled?: boolean;
|
|
19
20
|
}
|
|
20
21
|
export declare const IconButton: import("@emotion/styled-base").StyledComponent<(Pick<ButtonProps, "color" | "translate" | "hidden" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "form" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "href"> & {
|
|
21
22
|
ref?: ((instance: HTMLButtonElement) => void) | React.RefObject<HTMLButtonElement>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/components",
|
|
3
|
-
"version": "6.4.0-beta.
|
|
3
|
+
"version": "6.4.0-beta.32",
|
|
4
4
|
"description": "Core Storybook Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@popperjs/core": "^2.6.0",
|
|
44
|
-
"@storybook/client-logger": "6.4.0-beta.
|
|
44
|
+
"@storybook/client-logger": "6.4.0-beta.32",
|
|
45
45
|
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
|
46
|
-
"@storybook/theming": "6.4.0-beta.
|
|
46
|
+
"@storybook/theming": "6.4.0-beta.32",
|
|
47
47
|
"@types/color-convert": "^2.0.0",
|
|
48
48
|
"@types/overlayscrollbars": "^1.12.0",
|
|
49
49
|
"@types/react-syntax-highlighter": "11.0.5",
|
|
@@ -76,6 +76,6 @@
|
|
|
76
76
|
"publishConfig": {
|
|
77
77
|
"access": "public"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "0f99f609b55928e48cca7c57f6e343d079bb94dd",
|
|
80
80
|
"sbmodern": "dist/modern/index.js"
|
|
81
81
|
}
|