@primer/components 0.0.0-2021928193630 → 0.0.0-20219293614
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/CHANGELOG.md +1 -17
- package/dist/browser.esm.js +440 -447
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +439 -446
- package/dist/browser.umd.js.map +1 -1
- package/lib/ActionMenu.js +2 -2
- package/lib/Autocomplete/Autocomplete.d.ts +9 -9
- package/lib/Autocomplete/AutocompleteInput.d.ts +9 -9
- package/lib/Button/Button.d.ts +12 -12
- package/lib/Button/ButtonBase.d.ts +1 -1
- package/lib/Button/ButtonClose.d.ts +30 -30
- package/lib/Button/ButtonDanger.d.ts +12 -12
- package/lib/Button/ButtonInvisible.d.ts +12 -12
- package/lib/Button/ButtonOutline.d.ts +12 -12
- package/lib/Button/ButtonPrimary.d.ts +12 -12
- package/lib/Button/ButtonStyles.js +1 -1
- package/lib/CircleBadge.d.ts +2 -2
- package/lib/CircleOcticon.d.ts +35 -35
- package/lib/Dialog/Dialog.d.ts +4 -4
- package/lib/Dialog/Dialog.js +12 -22
- package/lib/Dialog.d.ts +37 -37
- package/lib/Dropdown.d.ts +91 -171
- package/lib/Dropdown.js +6 -5
- package/lib/DropdownMenu/DropdownButton.d.ts +32 -32
- package/lib/FilterList.d.ts +27 -27
- package/lib/Flash.d.ts +1 -1
- package/lib/Label.d.ts +1 -1
- package/lib/NewButton/button.d.ts +579 -0
- package/lib/NewButton/button.js +298 -0
- package/lib/NewButton/counter.d.ts +6 -0
- package/lib/NewButton/counter.js +33 -0
- package/lib/NewButton/index.d.ts +4 -0
- package/lib/NewButton/index.js +21 -0
- package/lib/Position.d.ts +4 -4
- package/lib/SelectMenu/SelectMenu.d.ts +151 -151
- package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib/TextInputWithTokens.d.ts +9 -13
- package/lib/TextInputWithTokens.js +29 -102
- package/lib/Timeline.d.ts +35 -35
- package/lib/Token/AvatarToken.d.ts +1 -1
- package/lib/Token/IssueLabelToken.d.ts +1 -1
- package/lib/Token/Token.d.ts +1 -1
- package/lib/Token/Token.js +2 -13
- package/lib/Token/TokenBase.js +4 -0
- package/lib/Token/_RemoveTokenButton.js +2 -15
- package/lib/_TextInputWrapper.js +1 -1
- package/lib/constants.js +3 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +8 -0
- package/lib/sx.d.ts +2 -8
- package/lib/theme.d.ts +0 -78
- package/lib/theme.js +1 -3
- package/lib/utils/testing.d.ts +1 -1
- package/lib-esm/ActionMenu.js +2 -2
- package/lib-esm/Autocomplete/Autocomplete.d.ts +9 -9
- package/lib-esm/Autocomplete/AutocompleteInput.d.ts +9 -9
- package/lib-esm/Button/Button.d.ts +12 -12
- package/lib-esm/Button/ButtonBase.d.ts +1 -1
- package/lib-esm/Button/ButtonClose.d.ts +30 -30
- package/lib-esm/Button/ButtonDanger.d.ts +12 -12
- package/lib-esm/Button/ButtonInvisible.d.ts +12 -12
- package/lib-esm/Button/ButtonOutline.d.ts +12 -12
- package/lib-esm/Button/ButtonPrimary.d.ts +12 -12
- package/lib-esm/Button/ButtonStyles.js +1 -1
- package/lib-esm/CircleBadge.d.ts +2 -2
- package/lib-esm/CircleOcticon.d.ts +35 -35
- package/lib-esm/Dialog/Dialog.d.ts +4 -4
- package/lib-esm/Dialog/Dialog.js +12 -21
- package/lib-esm/Dialog.d.ts +37 -37
- package/lib-esm/Dropdown.d.ts +91 -171
- package/lib-esm/Dropdown.js +4 -3
- package/lib-esm/DropdownMenu/DropdownButton.d.ts +32 -32
- package/lib-esm/FilterList.d.ts +27 -27
- package/lib-esm/Flash.d.ts +1 -1
- package/lib-esm/Label.d.ts +1 -1
- package/lib-esm/NewButton/button.d.ts +579 -0
- package/lib-esm/NewButton/button.js +274 -0
- package/lib-esm/NewButton/counter.d.ts +6 -0
- package/lib-esm/NewButton/counter.js +21 -0
- package/lib-esm/NewButton/index.d.ts +4 -0
- package/lib-esm/NewButton/index.js +3 -0
- package/lib-esm/Position.d.ts +4 -4
- package/lib-esm/SelectMenu/SelectMenu.d.ts +151 -151
- package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib-esm/TextInputWithTokens.d.ts +9 -13
- package/lib-esm/TextInputWithTokens.js +30 -101
- package/lib-esm/Timeline.d.ts +35 -35
- package/lib-esm/Token/AvatarToken.d.ts +1 -1
- package/lib-esm/Token/IssueLabelToken.d.ts +1 -1
- package/lib-esm/Token/Token.d.ts +1 -1
- package/lib-esm/Token/Token.js +2 -13
- package/lib-esm/Token/TokenBase.js +4 -0
- package/lib-esm/Token/_RemoveTokenButton.js +2 -11
- package/lib-esm/_TextInputWrapper.js +1 -1
- package/lib-esm/constants.js +3 -1
- package/lib-esm/index.d.ts +2 -0
- package/lib-esm/index.js +1 -0
- package/lib-esm/sx.d.ts +2 -8
- package/lib-esm/theme.d.ts +0 -78
- package/lib-esm/theme.js +1 -2
- package/lib-esm/utils/testing.d.ts +1 -1
- package/package.json +1 -2
- package/lib/utils/types/KeyPaths.d.ts +0 -3
- package/lib/utils/types/KeyPaths.js +0 -1
- package/lib-esm/utils/types/KeyPaths.d.ts +0 -3
- package/lib-esm/utils/types/KeyPaths.js +0 -1
@@ -0,0 +1,274 @@
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
2
|
+
|
3
|
+
import React, { forwardRef } from 'react';
|
4
|
+
import { TriangleDownIcon } from '@primer/octicons-react';
|
5
|
+
import Box from '../Box';
|
6
|
+
import { fontSize, variant as variantFn } from 'styled-system';
|
7
|
+
import styled from 'styled-components';
|
8
|
+
import sx from '../sx';
|
9
|
+
import { get } from '../constants';
|
10
|
+
import buttonBaseStyles from '../Button/ButtonStyles';
|
11
|
+
import Counter from './counter';
|
12
|
+
const sizes = variantFn({
|
13
|
+
prop: 'size',
|
14
|
+
variants: {
|
15
|
+
small: {
|
16
|
+
p: '4px 12px',
|
17
|
+
fontSize: 0
|
18
|
+
},
|
19
|
+
medium: {
|
20
|
+
fontSize: 1
|
21
|
+
},
|
22
|
+
large: {
|
23
|
+
fontSize: 2,
|
24
|
+
p: '10px 20px'
|
25
|
+
}
|
26
|
+
}
|
27
|
+
});
|
28
|
+
|
29
|
+
const getVariantStyles = (theme, variant = 'default') => {
|
30
|
+
const style = {
|
31
|
+
default: `
|
32
|
+
padding: 5px 16px;
|
33
|
+
color: ${get('colors.btn.text')({
|
34
|
+
theme
|
35
|
+
})};
|
36
|
+
background-color: ${get('colors.btn.bg')({
|
37
|
+
theme
|
38
|
+
})};
|
39
|
+
border-width: 1px;
|
40
|
+
border-style: solid;
|
41
|
+
border-color: ${get('colors.btn.border')({
|
42
|
+
theme
|
43
|
+
})};
|
44
|
+
box-shadow: ${(get('shadows.btn.shadow')({
|
45
|
+
theme
|
46
|
+
}), get('shadows.btn.insetShadow')({
|
47
|
+
theme
|
48
|
+
}))};
|
49
|
+
&:hover {
|
50
|
+
background-color: ${get('colors.btn.hoverBg')({
|
51
|
+
theme
|
52
|
+
})};
|
53
|
+
}
|
54
|
+
// focus must come before :active so that the active box shadow overrides
|
55
|
+
&:focus {
|
56
|
+
box-shadow: ${get('shadows.btn.focusShadow')({
|
57
|
+
theme
|
58
|
+
})};
|
59
|
+
}
|
60
|
+
&:active {
|
61
|
+
background-color: ${get('colors.btn.selectedBg')({
|
62
|
+
theme
|
63
|
+
})};
|
64
|
+
box-shadow: ${get('shadows.btn.shadowActive')({
|
65
|
+
theme
|
66
|
+
})};
|
67
|
+
}
|
68
|
+
&:disabled {
|
69
|
+
color: ${get('colors.primer.fg.disabled')({
|
70
|
+
theme
|
71
|
+
})};
|
72
|
+
}
|
73
|
+
`,
|
74
|
+
primary: `
|
75
|
+
padding: 5px 16px;
|
76
|
+
color: ${get('colors.btn.primary.text')({
|
77
|
+
theme
|
78
|
+
})};
|
79
|
+
background-color: ${get('colors.btn.primary.bg')({
|
80
|
+
theme
|
81
|
+
})};
|
82
|
+
border-width: 1px;
|
83
|
+
border-style: solid;
|
84
|
+
border-color: ${get('colors.border.subtle')({
|
85
|
+
theme
|
86
|
+
})};
|
87
|
+
box-shadow: ${get('shadows.btn.primary.shadow')({
|
88
|
+
theme
|
89
|
+
})};
|
90
|
+
|
91
|
+
&:hover {
|
92
|
+
color: ${get('colors.btn.primary.hoverText')({
|
93
|
+
theme
|
94
|
+
})};
|
95
|
+
background-color: ${get('colors.btn.primary.hoverBg')({
|
96
|
+
theme
|
97
|
+
})};
|
98
|
+
}
|
99
|
+
// focus must come before :active so that the active box shadow overrides
|
100
|
+
&:focus {
|
101
|
+
box-shadow: ${get('shadows.btn.primary.focusShadow')({
|
102
|
+
theme
|
103
|
+
})};
|
104
|
+
}
|
105
|
+
|
106
|
+
&:active {
|
107
|
+
background-color: ${get('colors.btn.primary.selectedBg')({
|
108
|
+
theme
|
109
|
+
})};
|
110
|
+
box-shadow: ${get('shadows.btn.primary.selectedShadow')({
|
111
|
+
theme
|
112
|
+
})};
|
113
|
+
}
|
114
|
+
|
115
|
+
&:disabled {
|
116
|
+
color: ${get('colors.btn.primary.disabledText')({
|
117
|
+
theme
|
118
|
+
})};
|
119
|
+
background-color: ${get('colors.btn.primary.disabledBg')({
|
120
|
+
theme
|
121
|
+
})};
|
122
|
+
}`,
|
123
|
+
danger: `
|
124
|
+
padding: 5px 16px;
|
125
|
+
color: ${get('colors.btn.danger.text')({
|
126
|
+
theme
|
127
|
+
})};
|
128
|
+
border: 1px solid ${get('colors.btn.border')({
|
129
|
+
theme
|
130
|
+
})};
|
131
|
+
background-color: ${get('colors.btn.bg')({
|
132
|
+
theme
|
133
|
+
})};
|
134
|
+
box-shadow: ${get('shadows.btn.shadow')({
|
135
|
+
theme
|
136
|
+
})};
|
137
|
+
|
138
|
+
&:hover {
|
139
|
+
color: ${get('colors.btn.danger.hoverText')({
|
140
|
+
theme
|
141
|
+
})};
|
142
|
+
background-color: ${get('colors.btn.danger.hoverBg')({
|
143
|
+
theme
|
144
|
+
})};
|
145
|
+
border-color: ${get('colors.btn.danger.hoverBorder')({
|
146
|
+
theme
|
147
|
+
})};
|
148
|
+
box-shadow: ${get('shadows.btn.danger.hoverShadow')({
|
149
|
+
theme
|
150
|
+
})};
|
151
|
+
}
|
152
|
+
// focus must come before :active so that the active box shadow overrides
|
153
|
+
&:focus {
|
154
|
+
border-color: ${get('colors.btn.danger.focusBorder')({
|
155
|
+
theme
|
156
|
+
})};
|
157
|
+
box-shadow: ${get('shadows.btn.danger.focusShadow')({
|
158
|
+
theme
|
159
|
+
})};
|
160
|
+
}
|
161
|
+
|
162
|
+
&:active {
|
163
|
+
color: ${get('colors.btn.danger.selectedText')({
|
164
|
+
theme
|
165
|
+
})};
|
166
|
+
background-color: ${get('colors.btn.danger.selectedBg')({
|
167
|
+
theme
|
168
|
+
})};
|
169
|
+
box-shadow: ${get('shadows.btn.danger.selectedShadow')({
|
170
|
+
theme
|
171
|
+
})};
|
172
|
+
border-color: ${get('colors.btn.danger.selectedBorder')({
|
173
|
+
theme
|
174
|
+
})};
|
175
|
+
}
|
176
|
+
|
177
|
+
&:disabled {
|
178
|
+
color: ${get('colors.btn.danger.disabledText')({
|
179
|
+
theme
|
180
|
+
})};
|
181
|
+
background-color: ${get('colors.btn.danger.disabledBg')({
|
182
|
+
theme
|
183
|
+
})};
|
184
|
+
border-color: ${get('colors.btn.danger.disabledBorder')({
|
185
|
+
theme
|
186
|
+
})};
|
187
|
+
}
|
188
|
+
`,
|
189
|
+
invisible: `
|
190
|
+
padding: 6px 16px;
|
191
|
+
color: ${get('colors.accent.fg')({
|
192
|
+
theme
|
193
|
+
})};
|
194
|
+
background-color: transparent;
|
195
|
+
border: 0;
|
196
|
+
border-radius: ${get('radii.2')({
|
197
|
+
theme
|
198
|
+
})};
|
199
|
+
box-shadow: none;
|
200
|
+
|
201
|
+
&:disabled {
|
202
|
+
color: ${get('colors.primer.fg.disabled')({
|
203
|
+
theme
|
204
|
+
})};
|
205
|
+
}
|
206
|
+
&:focus {
|
207
|
+
box-shadow: ${get('shadows.btn.focusShadow')({
|
208
|
+
theme
|
209
|
+
})};
|
210
|
+
}
|
211
|
+
&:hover {
|
212
|
+
background-color: ${get('colors.btn.hoverBg')({
|
213
|
+
theme
|
214
|
+
})};
|
215
|
+
}
|
216
|
+
&:active {
|
217
|
+
background-color: ${get('colors.btn.selectedBg')({
|
218
|
+
theme
|
219
|
+
})};
|
220
|
+
}
|
221
|
+
`,
|
222
|
+
block: ``
|
223
|
+
};
|
224
|
+
return style[variant];
|
225
|
+
};
|
226
|
+
|
227
|
+
const ButtonBase = styled.button.withConfig({
|
228
|
+
displayName: "button__ButtonBase",
|
229
|
+
componentId: "sc-15k5iqk-0"
|
230
|
+
})(["", " ", " ", " ", " ", " ", ""], buttonBaseStyles, props => getVariantStyles(props.theme, props.variant), sizes, props => props.icon && !props.children ? `padding: 4px 6px;` : '', sx, fontSize);
|
231
|
+
const Button = /*#__PURE__*/forwardRef(({
|
232
|
+
children,
|
233
|
+
...props
|
234
|
+
}, forwardedRef) => {
|
235
|
+
const {
|
236
|
+
icon: Icon,
|
237
|
+
caret
|
238
|
+
} = props;
|
239
|
+
let iconOnly = false;
|
240
|
+
|
241
|
+
if (Icon && !children) {
|
242
|
+
iconOnly = true;
|
243
|
+
}
|
244
|
+
|
245
|
+
const iconWrapStyles = {
|
246
|
+
display: 'inline-block',
|
247
|
+
...(!iconOnly ? {
|
248
|
+
pr: 3
|
249
|
+
} : {})
|
250
|
+
};
|
251
|
+
return /*#__PURE__*/React.createElement(ButtonBase, _extends({
|
252
|
+
ref: forwardedRef
|
253
|
+
}, props, {
|
254
|
+
iconOnly: iconOnly
|
255
|
+
}), Icon && /*#__PURE__*/React.createElement(Box, {
|
256
|
+
sx: iconWrapStyles,
|
257
|
+
"aria-hidden": !iconOnly
|
258
|
+
}, /*#__PURE__*/React.createElement(Icon, null)), children, caret && /*#__PURE__*/React.createElement(Box, {
|
259
|
+
sx: {
|
260
|
+
display: 'inline-block',
|
261
|
+
pl: 3
|
262
|
+
},
|
263
|
+
"aria-hidden": true
|
264
|
+
}, /*#__PURE__*/React.createElement(TriangleDownIcon, null)));
|
265
|
+
});
|
266
|
+
Button.displayName = 'Button';
|
267
|
+
Button.defaultProps = {
|
268
|
+
size: 'medium',
|
269
|
+
variant: 'default'
|
270
|
+
};
|
271
|
+
const NewButton = Object.assign(Button, {
|
272
|
+
Counter
|
273
|
+
});
|
274
|
+
export default NewButton;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import Box from '../Box';
|
3
|
+
const styles = {
|
4
|
+
display: 'inline-block',
|
5
|
+
padding: '0px 6px',
|
6
|
+
backgroundColor: 'neutral.muted',
|
7
|
+
borderRadius: '50%',
|
8
|
+
marginLeft: '8px'
|
9
|
+
};
|
10
|
+
|
11
|
+
const Counter = ({
|
12
|
+
count
|
13
|
+
}) => {
|
14
|
+
// get this to announce new count. How? Change aria property for every render? or aria-live?
|
15
|
+
return /*#__PURE__*/React.createElement(Box, {
|
16
|
+
sx: styles
|
17
|
+
}, count);
|
18
|
+
};
|
19
|
+
|
20
|
+
Counter.displayName = "Counter";
|
21
|
+
export default Counter;
|
package/lib-esm/Position.d.ts
CHANGED
@@ -16,19 +16,19 @@ export declare type AbsoluteProps = Omit<PositionProps, 'position'>;
|
|
16
16
|
/**
|
17
17
|
* @deprecated Use the Box component instead (i.e. <Absolute> → <Box position="absolute">)
|
18
18
|
*/
|
19
|
-
export declare const Absolute: React.ForwardRefExoticComponent<Pick<AbsoluteProps, "
|
19
|
+
export declare const Absolute: React.ForwardRefExoticComponent<Pick<AbsoluteProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "backgroundPosition" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "slot" | "style" | "title" | "theme" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "gridColumnGap" | "gridGap" | "gridRowGap" | "size" | "borderX" | "borderY" | "sx" | "as"> & React.RefAttributes<unknown>>;
|
20
20
|
export declare type FixedProps = Omit<PositionProps, 'position'>;
|
21
21
|
/**
|
22
22
|
* @deprecated Use the Box component instead (i.e. <Fixed> → <Box position="fixed">)
|
23
23
|
*/
|
24
|
-
export declare const Fixed: React.ForwardRefExoticComponent<Pick<AbsoluteProps, "
|
24
|
+
export declare const Fixed: React.ForwardRefExoticComponent<Pick<AbsoluteProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "backgroundPosition" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "slot" | "style" | "title" | "theme" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "gridColumnGap" | "gridGap" | "gridRowGap" | "size" | "borderX" | "borderY" | "sx" | "as"> & React.RefAttributes<unknown>>;
|
25
25
|
export declare type RelativeProps = Omit<PositionProps, 'position'>;
|
26
26
|
/**
|
27
27
|
* @deprecated Use the Box component instead (i.e. <Relative> → <Box position="relative">)
|
28
28
|
*/
|
29
|
-
export declare const Relative: React.ForwardRefExoticComponent<Pick<RelativeProps, "
|
29
|
+
export declare const Relative: React.ForwardRefExoticComponent<Pick<RelativeProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "backgroundPosition" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "slot" | "style" | "title" | "theme" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "gridColumnGap" | "gridGap" | "gridRowGap" | "size" | "borderX" | "borderY" | "sx" | "as"> & React.RefAttributes<unknown>>;
|
30
30
|
export declare type StickyProps = Omit<PositionProps, 'position'>;
|
31
31
|
/**
|
32
32
|
* @deprecated Use the Box component instead (i.e. <Sticky> → <Box position="sticky">)
|
33
33
|
*/
|
34
|
-
export declare const Sticky: React.ForwardRefExoticComponent<Pick<StickyProps, "
|
34
|
+
export declare const Sticky: React.ForwardRefExoticComponent<Pick<StickyProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "backgroundPosition" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "slot" | "style" | "title" | "theme" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "gridColumnGap" | "gridGap" | "gridRowGap" | "size" | "borderX" | "borderY" | "sx" | "as"> & React.RefAttributes<unknown>>;
|