@carbon/react 1.44.0-rc.0 → 1.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/.playwright/INTERNAL_AVT_REPORT_DO_NOT_USE.json +969 -1010
  2. package/es/components/Accordion/AccordionItem.d.ts +1 -1
  3. package/es/components/Accordion/AccordionItem.js +19 -15
  4. package/es/components/Checkbox/Checkbox.d.ts +4 -0
  5. package/es/components/Checkbox/Checkbox.js +15 -2
  6. package/es/components/CheckboxGroup/CheckboxGroup.js +17 -2
  7. package/es/components/DataTable/tools/sorting.js +1 -1
  8. package/es/components/FileUploader/FileUploader.js +5 -3
  9. package/es/components/Grid/Column.js +11 -1
  10. package/es/components/MenuButton/index.js +7 -1
  11. package/es/components/RadioButton/RadioButton.d.ts +4 -0
  12. package/es/components/RadioButton/RadioButton.js +15 -2
  13. package/es/components/RadioButtonGroup/RadioButtonGroup.d.ts +4 -0
  14. package/es/components/RadioButtonGroup/RadioButtonGroup.js +17 -2
  15. package/es/components/Select/Select.d.ts +1 -1
  16. package/es/components/Slug/index.js +1 -1
  17. package/es/components/Tile/Tile.d.ts +37 -0
  18. package/es/components/Tile/Tile.js +110 -13
  19. package/es/components/UIShell/Content.d.ts +296 -0
  20. package/es/components/UIShell/Content.js +1 -2
  21. package/es/components/UIShell/SideNav.d.ts +1 -1
  22. package/lib/components/Accordion/AccordionItem.d.ts +1 -1
  23. package/lib/components/Accordion/AccordionItem.js +18 -14
  24. package/lib/components/Checkbox/Checkbox.d.ts +4 -0
  25. package/lib/components/Checkbox/Checkbox.js +15 -2
  26. package/lib/components/CheckboxGroup/CheckboxGroup.js +17 -2
  27. package/lib/components/DataTable/tools/sorting.js +1 -1
  28. package/lib/components/FileUploader/FileUploader.js +5 -3
  29. package/lib/components/Grid/Column.js +11 -1
  30. package/lib/components/MenuButton/index.js +7 -1
  31. package/lib/components/RadioButton/RadioButton.d.ts +4 -0
  32. package/lib/components/RadioButton/RadioButton.js +15 -2
  33. package/lib/components/RadioButtonGroup/RadioButtonGroup.d.ts +4 -0
  34. package/lib/components/RadioButtonGroup/RadioButtonGroup.js +17 -2
  35. package/lib/components/Select/Select.d.ts +1 -1
  36. package/lib/components/Slug/index.js +1 -1
  37. package/lib/components/Tile/Tile.d.ts +37 -0
  38. package/lib/components/Tile/Tile.js +110 -13
  39. package/lib/components/UIShell/Content.d.ts +296 -0
  40. package/lib/components/UIShell/Content.js +1 -2
  41. package/lib/components/UIShell/SideNav.d.ts +1 -1
  42. package/package.json +5 -5
@@ -24,20 +24,26 @@ import { Text } from '../Text/Text.js';
24
24
  import { matches } from '../../internal/keyboard/match.js';
25
25
  import { Enter, Space } from '../../internal/keyboard/keys.js';
26
26
 
27
- var _CheckboxCheckedFille, _Checkbox, _ChevronDown, _ChevronDown2;
27
+ var _rect, _path, _CheckboxCheckedFille, _Checkbox, _ChevronDown, _ChevronDown2;
28
28
  const Tile = /*#__PURE__*/React__default.forwardRef(function Tile(_ref, ref) {
29
29
  let {
30
30
  children,
31
31
  className,
32
32
  light = false,
33
+ slug,
34
+ hasRoundedCorners = false,
33
35
  ...rest
34
36
  } = _ref;
35
37
  const prefix = usePrefix();
36
- const tileClasses = cx(`${prefix}--tile`, light && `${prefix}--tile--light`, className);
38
+ const tileClasses = cx(`${prefix}--tile`, {
39
+ [`${prefix}--tile--light`]: light,
40
+ [`${prefix}--tile--slug`]: slug,
41
+ [`${prefix}--tile--slug-rounded`]: slug && hasRoundedCorners
42
+ }, className);
37
43
  return /*#__PURE__*/React__default.createElement("div", _extends({
38
44
  className: tileClasses,
39
45
  ref: ref
40
- }, rest), children);
46
+ }, rest), children, slug);
41
47
  });
42
48
  Tile.displayName = 'Tile';
43
49
  Tile.propTypes = {
@@ -49,13 +55,22 @@ Tile.propTypes = {
49
55
  * The CSS class names.
50
56
  */
51
57
  className: PropTypes.string,
58
+ /**
59
+ * Specify if the `Tile` component should be rendered with rounded corners. Only valid
60
+ * when `slug` prop is present
61
+ */
62
+ hasRoundedCorners: PropTypes.bool,
52
63
  /**
53
64
  * `true` to use the light version. For use on $ui-01 backgrounds only.
54
65
  * Don't use this to make tile background color same as container background color.
55
66
  *
56
67
  * @deprecated
57
68
  */
58
- light: deprecate(PropTypes.bool, 'The `light` prop for `Tile` is no longer needed and has been deprecated. It will be removed in the next major release. Use the Layer component instead.')
69
+ light: deprecate(PropTypes.bool, 'The `light` prop for `Tile` is no longer needed and has been deprecated. It will be removed in the next major release. Use the Layer component instead.'),
70
+ /**
71
+ * Provide a `Slug` component to be rendered inside the `Tile` component
72
+ */
73
+ slug: PropTypes.node
59
74
  };
60
75
  const ClickableTile = /*#__PURE__*/React__default.forwardRef(function ClickableTile(_ref2, ref) {
61
76
  let {
@@ -68,10 +83,17 @@ const ClickableTile = /*#__PURE__*/React__default.forwardRef(function ClickableT
68
83
  onClick = () => {},
69
84
  onKeyDown = () => {},
70
85
  renderIcon: Icon,
86
+ hasRoundedCorners,
87
+ slug,
71
88
  ...rest
72
89
  } = _ref2;
73
90
  const prefix = usePrefix();
74
- const classes = cx(`${prefix}--tile`, `${prefix}--tile--clickable`, clicked && `${prefix}--tile--is-clicked`, light && `${prefix}--tile--light`, className);
91
+ const classes = cx(`${prefix}--tile`, `${prefix}--tile--clickable`, {
92
+ [`${prefix}--tile--is-clicked`]: clicked,
93
+ [`${prefix}--tile--light`]: light,
94
+ [`${prefix}--tile--slug`]: slug,
95
+ [`${prefix}--tile--slug-rounded`]: slug && hasRoundedCorners
96
+ }, className);
75
97
  const [isSelected, setIsSelected] = useState(clicked);
76
98
  function handleOnClick(evt) {
77
99
  evt?.persist?.();
@@ -85,6 +107,25 @@ const ClickableTile = /*#__PURE__*/React__default.forwardRef(function ClickableT
85
107
  }
86
108
  onKeyDown(evt);
87
109
  }
110
+
111
+ // To Do: Replace with an an icon from `@carbon/react`
112
+ // since the hollow slug in `ClickableTile` is not interactive
113
+ const hollowSlugIcon = /*#__PURE__*/React__default.createElement("svg", {
114
+ className: `${prefix}--tile--slug-icon`,
115
+ width: "24",
116
+ height: "24",
117
+ viewBox: "0 0 24 24",
118
+ fill: "none",
119
+ xmlns: "http://www.w3.org/2000/svg"
120
+ }, _rect || (_rect = /*#__PURE__*/React__default.createElement("rect", {
121
+ x: "0.5",
122
+ y: "0.5",
123
+ width: "23",
124
+ height: "23"
125
+ })), _path || (_path = /*#__PURE__*/React__default.createElement("path", {
126
+ d: "M13.2436 16H11.5996L10.9276 13.864H7.95164L7.29164 16H5.68364L8.49164 7.624H10.4596L13.2436 16ZM10.5436 12.508L9.46364 9.064H9.40364L8.33564 12.508H10.5436ZM17.9341 16H14.1301V14.728H15.2341V8.896H14.1301V7.624H17.9341V8.896H16.8181V14.728H17.9341V16Z",
127
+ fill: "#161616"
128
+ })));
88
129
  const v12DefaultIcons = useFeatureFlag('enable-v12-tile-default-icons');
89
130
  if (v12DefaultIcons) {
90
131
  if (!Icon) {
@@ -106,7 +147,9 @@ const ClickableTile = /*#__PURE__*/React__default.forwardRef(function ClickableT
106
147
  onKeyDown: handleOnKeyDown,
107
148
  ref: ref,
108
149
  disabled: disabled
109
- }, rest), children, Icon && /*#__PURE__*/React__default.createElement(Icon, {
150
+ }, rest), slug ? /*#__PURE__*/React__default.createElement("div", {
151
+ className: `${prefix}--tile-content`
152
+ }, children) : children, slug && hollowSlugIcon, Icon && /*#__PURE__*/React__default.createElement(Icon, {
110
153
  className: iconClasses,
111
154
  "aria-hidden": "true"
112
155
  }));
@@ -129,6 +172,11 @@ ClickableTile.propTypes = {
129
172
  * Specify whether the ClickableTile should be disabled
130
173
  */
131
174
  disabled: PropTypes.bool,
175
+ /**
176
+ * Specify if the `ClickableTile` component should be rendered with rounded corners.
177
+ * Only valid when `slug` prop is present
178
+ */
179
+ hasRoundedCorners: PropTypes.bool,
132
180
  /**
133
181
  * The href for the link.
134
182
  */
@@ -170,6 +218,8 @@ const SelectableTile = /*#__PURE__*/React__default.forwardRef(function Selectabl
170
218
  selected = false,
171
219
  tabIndex = 0,
172
220
  title = 'title',
221
+ slug,
222
+ hasRoundedCorners,
173
223
  ...rest
174
224
  } = _ref3;
175
225
  const prefix = usePrefix();
@@ -177,12 +227,21 @@ const SelectableTile = /*#__PURE__*/React__default.forwardRef(function Selectabl
177
227
  const keyDownHandler = onKeyDown;
178
228
  const [isSelected, setIsSelected] = useState(selected);
179
229
  const [prevSelected, setPrevSelected] = useState(selected);
180
- const classes = cx(`${prefix}--tile`, `${prefix}--tile--selectable`, isSelected && `${prefix}--tile--is-selected`, light && `${prefix}--tile--light`, disabled && `${prefix}--tile--disabled`, className);
230
+ const classes = cx(`${prefix}--tile`, `${prefix}--tile--selectable`, {
231
+ [`${prefix}--tile--is-selected`]: isSelected,
232
+ [`${prefix}--tile--light`]: light,
233
+ [`${prefix}--tile--disabled`]: disabled,
234
+ [`${prefix}--tile--slug`]: slug,
235
+ [`${prefix}--tile--slug-rounded`]: slug && hasRoundedCorners
236
+ }, className);
181
237
 
182
238
  // TODO: rename to handleClick when handleClick prop is deprecated
183
239
  function handleOnClick(evt) {
184
240
  evt.preventDefault();
185
241
  evt?.persist?.();
242
+ if (slug && slugRef.current && slugRef.current.contains(evt.target)) {
243
+ return;
244
+ }
186
245
  setIsSelected(!isSelected);
187
246
  clickHandler(evt);
188
247
  onChange(evt);
@@ -206,6 +265,16 @@ const SelectableTile = /*#__PURE__*/React__default.forwardRef(function Selectabl
206
265
  setIsSelected(selected);
207
266
  setPrevSelected(selected);
208
267
  }
268
+
269
+ // Slug is always size `xs`
270
+ const slugRef = useRef(null);
271
+ let normalizedSlug;
272
+ if (slug) {
273
+ normalizedSlug = /*#__PURE__*/React__default.cloneElement(slug, {
274
+ size: 'xs',
275
+ ref: slugRef
276
+ });
277
+ }
209
278
  return (
210
279
  /*#__PURE__*/
211
280
  // eslint-disable-next-line jsx-a11y/interactive-supports-focus
@@ -228,10 +297,9 @@ const SelectableTile = /*#__PURE__*/React__default.forwardRef(function Selectabl
228
297
  as: "label",
229
298
  htmlFor: id,
230
299
  className: `${prefix}--tile-content`
231
- }, children))
300
+ }, children), normalizedSlug)
232
301
  );
233
302
  });
234
- SelectableTile.displayName = 'SelectableTile';
235
303
  SelectableTile.propTypes = {
236
304
  children: PropTypes.node,
237
305
  className: PropTypes.string,
@@ -239,6 +307,11 @@ SelectableTile.propTypes = {
239
307
  * Specify whether the SelectableTile should be disabled
240
308
  */
241
309
  disabled: PropTypes.bool,
310
+ /**
311
+ * Specify if the `SelectableTile` component should be rendered with rounded corners.
312
+ * Only valid when `slug` prop is present
313
+ */
314
+ hasRoundedCorners: PropTypes.bool,
242
315
  /**
243
316
  * The ID of the `<input>`.
244
317
  */
@@ -269,6 +342,10 @@ SelectableTile.propTypes = {
269
342
  * `true` to select this tile.
270
343
  */
271
344
  selected: PropTypes.bool,
345
+ /**
346
+ * Provide a `Slug` component to be rendered inside the `SelectableTile` component
347
+ */
348
+ slug: PropTypes.node,
272
349
  /**
273
350
  * Specify the tab index of the wrapper element
274
351
  */
@@ -300,6 +377,8 @@ const ExpandableTile = /*#__PURE__*/React__default.forwardRef(function Expandabl
300
377
  tileCollapsedLabel,
301
378
  tileExpandedLabel,
302
379
  light,
380
+ slug,
381
+ hasRoundedCorners,
303
382
  ...rest
304
383
  } = _ref4;
305
384
  const [isTileMaxHeight, setIsTileMaxHeight] = useState(tileMaxHeight);
@@ -355,7 +434,12 @@ const ExpandableTile = /*#__PURE__*/React__default.forwardRef(function Expandabl
355
434
  [`${prefix}--tile--is-expanded`]: isExpanded,
356
435
  [`${prefix}--tile--light`]: light
357
436
  }, className);
358
- const interactiveClassNames = cx(`${prefix}--tile`, `${prefix}--tile--expandable`, `${prefix}--tile--expandable--interactive`, isExpanded && `${prefix}--tile--is-expanded`, light && `${prefix}--tile--light`, className);
437
+ const interactiveClassNames = cx(`${prefix}--tile`, `${prefix}--tile--expandable`, `${prefix}--tile--expandable--interactive`, {
438
+ [`${prefix}--tile--is-expanded`]: isExpanded,
439
+ [`${prefix}--tile--light`]: light,
440
+ [`${prefix}--tile--slug`]: slug,
441
+ [`${prefix}--tile--slug-rounded`]: slug && hasRoundedCorners
442
+ }, className);
359
443
  const chevronInteractiveClassNames = cx(`${prefix}--tile__chevron`, `${prefix}--tile__chevron--interactive`);
360
444
  const childrenAsArray = getChildren();
361
445
  useIsomorphicEffect(() => {
@@ -381,10 +465,10 @@ const ExpandableTile = /*#__PURE__*/React__default.forwardRef(function Expandabl
381
465
 
382
466
  // Interactive elements or elements that are given a role should be treated
383
467
  // the same because elements with a role can not be rendered inside a `button`
384
- if (!getInteractiveContent(belowTheFold.current) && !getRoleContent(belowTheFold.current) && !getInteractiveContent(aboveTheFold.current) && !getRoleContent(aboveTheFold.current)) {
468
+ if (!getInteractiveContent(belowTheFold.current) && !getRoleContent(belowTheFold.current) && !getInteractiveContent(aboveTheFold.current) && !getRoleContent(aboveTheFold.current) && !slug) {
385
469
  setInteractive(false);
386
470
  }
387
- }, []);
471
+ }, [slug]);
388
472
  useIsomorphicEffect(() => {
389
473
  if (!tile.current) {
390
474
  return;
@@ -407,13 +491,21 @@ const ExpandableTile = /*#__PURE__*/React__default.forwardRef(function Expandabl
407
491
  return () => resizeObserver.disconnect();
408
492
  }, []);
409
493
  const belowTheFoldId = useId('expandable-tile-interactive');
494
+
495
+ // Slug is always size `xs`
496
+ let normalizedSlug;
497
+ if (slug) {
498
+ normalizedSlug = /*#__PURE__*/React__default.cloneElement(slug, {
499
+ size: 'xs'
500
+ });
501
+ }
410
502
  return interactive ? /*#__PURE__*/React__default.createElement("div", _extends({
411
503
  // @ts-expect-error: Needlesly strict & deep typing for the element type
412
504
  ref: ref,
413
505
  className: interactiveClassNames
414
506
  }, rest), /*#__PURE__*/React__default.createElement("div", {
415
507
  ref: tileContent
416
- }, /*#__PURE__*/React__default.createElement("div", {
508
+ }, normalizedSlug, /*#__PURE__*/React__default.createElement("div", {
417
509
  ref: aboveTheFold,
418
510
  className: `${prefix}--tile-content`
419
511
  }, childrenAsArray[0]), /*#__PURE__*/React__default.createElement("button", {
@@ -459,6 +551,11 @@ ExpandableTile.propTypes = {
459
551
  * `true` if the tile is expanded.
460
552
  */
461
553
  expanded: PropTypes.bool,
554
+ /**
555
+ * Specify if the `ExpandableTile` component should be rendered with rounded corners.
556
+ * Only valid when `slug` prop is present
557
+ */
558
+ hasRoundedCorners: PropTypes.bool,
462
559
  /**
463
560
  * An ID that can be provided to aria-labelledby
464
561
  */
@@ -0,0 +1,296 @@
1
+ /**
2
+ * Copyright IBM Corp. 2016, 2023
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import PropTypes from 'prop-types';
8
+ import React, { HTMLAttributes, ReactNode } from 'react';
9
+ export type ContentProps = HTMLAttributes<HTMLElement> & {
10
+ /**
11
+ * Provide children nodes to be rendered in the content container
12
+ */
13
+ children?: ReactNode;
14
+ /**
15
+ * Optionally provide a custom class name that is applied to the container
16
+ */
17
+ className?: string;
18
+ /**
19
+ * Optionally specify the tag of the content node. Defaults to `main`
20
+ */
21
+ tagName?: string;
22
+ };
23
+ declare const Content: {
24
+ ({ className: customClassName, children, tagName, ...rest }: ContentProps): React.DOMElement<{
25
+ className: string;
26
+ defaultChecked?: boolean | undefined;
27
+ defaultValue?: string | number | readonly string[] | undefined;
28
+ suppressContentEditableWarning?: boolean | undefined;
29
+ suppressHydrationWarning?: boolean | undefined;
30
+ accessKey?: string | undefined;
31
+ contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
32
+ contextMenu?: string | undefined;
33
+ dir?: string | undefined;
34
+ draggable?: (boolean | "true" | "false") | undefined;
35
+ hidden?: boolean | undefined;
36
+ id?: string | undefined;
37
+ lang?: string | undefined;
38
+ placeholder?: string | undefined;
39
+ slot?: string | undefined;
40
+ spellCheck?: (boolean | "true" | "false") | undefined;
41
+ style?: React.CSSProperties | undefined;
42
+ tabIndex?: number | undefined;
43
+ title?: string | undefined;
44
+ translate?: "no" | "yes" | undefined;
45
+ radioGroup?: string | undefined;
46
+ role?: React.AriaRole | undefined;
47
+ about?: string | undefined;
48
+ datatype?: string | undefined;
49
+ inlist?: any;
50
+ prefix?: string | undefined;
51
+ property?: string | undefined;
52
+ resource?: string | undefined;
53
+ typeof?: string | undefined;
54
+ vocab?: string | undefined;
55
+ autoCapitalize?: string | undefined;
56
+ autoCorrect?: string | undefined;
57
+ autoSave?: string | undefined;
58
+ color?: string | undefined;
59
+ itemProp?: string | undefined;
60
+ itemScope?: boolean | undefined;
61
+ itemType?: string | undefined;
62
+ itemID?: string | undefined;
63
+ itemRef?: string | undefined;
64
+ results?: number | undefined;
65
+ security?: string | undefined;
66
+ unselectable?: "on" | "off" | undefined;
67
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
68
+ is?: string | undefined;
69
+ 'aria-activedescendant'?: string | undefined;
70
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
71
+ 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
72
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
73
+ 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
74
+ 'aria-colcount'?: number | undefined;
75
+ 'aria-colindex'?: number | undefined;
76
+ 'aria-colspan'?: number | undefined;
77
+ 'aria-controls'?: string | undefined;
78
+ 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
79
+ 'aria-describedby'?: string | undefined;
80
+ 'aria-details'?: string | undefined;
81
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
82
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
83
+ 'aria-errormessage'?: string | undefined;
84
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
85
+ 'aria-flowto'?: string | undefined;
86
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
87
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
88
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
89
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
90
+ 'aria-keyshortcuts'?: string | undefined;
91
+ 'aria-label'?: string | undefined;
92
+ 'aria-labelledby'?: string | undefined;
93
+ 'aria-level'?: number | undefined;
94
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
95
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
96
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
97
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
98
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
99
+ 'aria-owns'?: string | undefined;
100
+ 'aria-placeholder'?: string | undefined;
101
+ 'aria-posinset'?: number | undefined;
102
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
103
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
104
+ 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
105
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
106
+ 'aria-roledescription'?: string | undefined;
107
+ 'aria-rowcount'?: number | undefined;
108
+ 'aria-rowindex'?: number | undefined;
109
+ 'aria-rowspan'?: number | undefined;
110
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
111
+ 'aria-setsize'?: number | undefined;
112
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
113
+ 'aria-valuemax'?: number | undefined;
114
+ 'aria-valuemin'?: number | undefined;
115
+ 'aria-valuenow'?: number | undefined;
116
+ 'aria-valuetext'?: string | undefined;
117
+ dangerouslySetInnerHTML?: {
118
+ __html: string;
119
+ } | undefined;
120
+ onCopy?: React.ClipboardEventHandler<HTMLElement> | undefined;
121
+ onCopyCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
122
+ onCut?: React.ClipboardEventHandler<HTMLElement> | undefined;
123
+ onCutCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
124
+ onPaste?: React.ClipboardEventHandler<HTMLElement> | undefined;
125
+ onPasteCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
126
+ onCompositionEnd?: React.CompositionEventHandler<HTMLElement> | undefined;
127
+ onCompositionEndCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
128
+ onCompositionStart?: React.CompositionEventHandler<HTMLElement> | undefined;
129
+ onCompositionStartCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
130
+ onCompositionUpdate?: React.CompositionEventHandler<HTMLElement> | undefined;
131
+ onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
132
+ onFocus?: React.FocusEventHandler<HTMLElement> | undefined;
133
+ onFocusCapture?: React.FocusEventHandler<HTMLElement> | undefined;
134
+ onBlur?: React.FocusEventHandler<HTMLElement> | undefined;
135
+ onBlurCapture?: React.FocusEventHandler<HTMLElement> | undefined;
136
+ onChange?: React.FormEventHandler<HTMLElement> | undefined;
137
+ onChangeCapture?: React.FormEventHandler<HTMLElement> | undefined;
138
+ onBeforeInput?: React.FormEventHandler<HTMLElement> | undefined;
139
+ onBeforeInputCapture?: React.FormEventHandler<HTMLElement> | undefined;
140
+ onInput?: React.FormEventHandler<HTMLElement> | undefined;
141
+ onInputCapture?: React.FormEventHandler<HTMLElement> | undefined;
142
+ onReset?: React.FormEventHandler<HTMLElement> | undefined;
143
+ onResetCapture?: React.FormEventHandler<HTMLElement> | undefined;
144
+ onSubmit?: React.FormEventHandler<HTMLElement> | undefined;
145
+ onSubmitCapture?: React.FormEventHandler<HTMLElement> | undefined;
146
+ onInvalid?: React.FormEventHandler<HTMLElement> | undefined;
147
+ onInvalidCapture?: React.FormEventHandler<HTMLElement> | undefined;
148
+ onLoad?: React.ReactEventHandler<HTMLElement> | undefined;
149
+ onLoadCapture?: React.ReactEventHandler<HTMLElement> | undefined;
150
+ onError?: React.ReactEventHandler<HTMLElement> | undefined;
151
+ onErrorCapture?: React.ReactEventHandler<HTMLElement> | undefined;
152
+ onKeyDown?: React.KeyboardEventHandler<HTMLElement> | undefined;
153
+ onKeyDownCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
154
+ onKeyPress?: React.KeyboardEventHandler<HTMLElement> | undefined;
155
+ onKeyPressCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
156
+ onKeyUp?: React.KeyboardEventHandler<HTMLElement> | undefined;
157
+ onKeyUpCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
158
+ onAbort?: React.ReactEventHandler<HTMLElement> | undefined;
159
+ onAbortCapture?: React.ReactEventHandler<HTMLElement> | undefined;
160
+ onCanPlay?: React.ReactEventHandler<HTMLElement> | undefined;
161
+ onCanPlayCapture?: React.ReactEventHandler<HTMLElement> | undefined;
162
+ onCanPlayThrough?: React.ReactEventHandler<HTMLElement> | undefined;
163
+ onCanPlayThroughCapture?: React.ReactEventHandler<HTMLElement> | undefined;
164
+ onDurationChange?: React.ReactEventHandler<HTMLElement> | undefined;
165
+ onDurationChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
166
+ onEmptied?: React.ReactEventHandler<HTMLElement> | undefined;
167
+ onEmptiedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
168
+ onEncrypted?: React.ReactEventHandler<HTMLElement> | undefined;
169
+ onEncryptedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
170
+ onEnded?: React.ReactEventHandler<HTMLElement> | undefined;
171
+ onEndedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
172
+ onLoadedData?: React.ReactEventHandler<HTMLElement> | undefined;
173
+ onLoadedDataCapture?: React.ReactEventHandler<HTMLElement> | undefined;
174
+ onLoadedMetadata?: React.ReactEventHandler<HTMLElement> | undefined;
175
+ onLoadedMetadataCapture?: React.ReactEventHandler<HTMLElement> | undefined;
176
+ onLoadStart?: React.ReactEventHandler<HTMLElement> | undefined;
177
+ onLoadStartCapture?: React.ReactEventHandler<HTMLElement> | undefined;
178
+ onPause?: React.ReactEventHandler<HTMLElement> | undefined;
179
+ onPauseCapture?: React.ReactEventHandler<HTMLElement> | undefined;
180
+ onPlay?: React.ReactEventHandler<HTMLElement> | undefined;
181
+ onPlayCapture?: React.ReactEventHandler<HTMLElement> | undefined;
182
+ onPlaying?: React.ReactEventHandler<HTMLElement> | undefined;
183
+ onPlayingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
184
+ onProgress?: React.ReactEventHandler<HTMLElement> | undefined;
185
+ onProgressCapture?: React.ReactEventHandler<HTMLElement> | undefined;
186
+ onRateChange?: React.ReactEventHandler<HTMLElement> | undefined;
187
+ onRateChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
188
+ onSeeked?: React.ReactEventHandler<HTMLElement> | undefined;
189
+ onSeekedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
190
+ onSeeking?: React.ReactEventHandler<HTMLElement> | undefined;
191
+ onSeekingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
192
+ onStalled?: React.ReactEventHandler<HTMLElement> | undefined;
193
+ onStalledCapture?: React.ReactEventHandler<HTMLElement> | undefined;
194
+ onSuspend?: React.ReactEventHandler<HTMLElement> | undefined;
195
+ onSuspendCapture?: React.ReactEventHandler<HTMLElement> | undefined;
196
+ onTimeUpdate?: React.ReactEventHandler<HTMLElement> | undefined;
197
+ onTimeUpdateCapture?: React.ReactEventHandler<HTMLElement> | undefined;
198
+ onVolumeChange?: React.ReactEventHandler<HTMLElement> | undefined;
199
+ onVolumeChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
200
+ onWaiting?: React.ReactEventHandler<HTMLElement> | undefined;
201
+ onWaitingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
202
+ onAuxClick?: React.MouseEventHandler<HTMLElement> | undefined;
203
+ onAuxClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
204
+ onClick?: React.MouseEventHandler<HTMLElement> | undefined;
205
+ onClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
206
+ onContextMenu?: React.MouseEventHandler<HTMLElement> | undefined;
207
+ onContextMenuCapture?: React.MouseEventHandler<HTMLElement> | undefined;
208
+ onDoubleClick?: React.MouseEventHandler<HTMLElement> | undefined;
209
+ onDoubleClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
210
+ onDrag?: React.DragEventHandler<HTMLElement> | undefined;
211
+ onDragCapture?: React.DragEventHandler<HTMLElement> | undefined;
212
+ onDragEnd?: React.DragEventHandler<HTMLElement> | undefined;
213
+ onDragEndCapture?: React.DragEventHandler<HTMLElement> | undefined;
214
+ onDragEnter?: React.DragEventHandler<HTMLElement> | undefined;
215
+ onDragEnterCapture?: React.DragEventHandler<HTMLElement> | undefined;
216
+ onDragExit?: React.DragEventHandler<HTMLElement> | undefined;
217
+ onDragExitCapture?: React.DragEventHandler<HTMLElement> | undefined;
218
+ onDragLeave?: React.DragEventHandler<HTMLElement> | undefined;
219
+ onDragLeaveCapture?: React.DragEventHandler<HTMLElement> | undefined;
220
+ onDragOver?: React.DragEventHandler<HTMLElement> | undefined;
221
+ onDragOverCapture?: React.DragEventHandler<HTMLElement> | undefined;
222
+ onDragStart?: React.DragEventHandler<HTMLElement> | undefined;
223
+ onDragStartCapture?: React.DragEventHandler<HTMLElement> | undefined;
224
+ onDrop?: React.DragEventHandler<HTMLElement> | undefined;
225
+ onDropCapture?: React.DragEventHandler<HTMLElement> | undefined;
226
+ onMouseDown?: React.MouseEventHandler<HTMLElement> | undefined;
227
+ onMouseDownCapture?: React.MouseEventHandler<HTMLElement> | undefined;
228
+ onMouseEnter?: React.MouseEventHandler<HTMLElement> | undefined;
229
+ onMouseLeave?: React.MouseEventHandler<HTMLElement> | undefined;
230
+ onMouseMove?: React.MouseEventHandler<HTMLElement> | undefined;
231
+ onMouseMoveCapture?: React.MouseEventHandler<HTMLElement> | undefined;
232
+ onMouseOut?: React.MouseEventHandler<HTMLElement> | undefined;
233
+ onMouseOutCapture?: React.MouseEventHandler<HTMLElement> | undefined;
234
+ onMouseOver?: React.MouseEventHandler<HTMLElement> | undefined;
235
+ onMouseOverCapture?: React.MouseEventHandler<HTMLElement> | undefined;
236
+ onMouseUp?: React.MouseEventHandler<HTMLElement> | undefined;
237
+ onMouseUpCapture?: React.MouseEventHandler<HTMLElement> | undefined;
238
+ onSelect?: React.ReactEventHandler<HTMLElement> | undefined;
239
+ onSelectCapture?: React.ReactEventHandler<HTMLElement> | undefined;
240
+ onTouchCancel?: React.TouchEventHandler<HTMLElement> | undefined;
241
+ onTouchCancelCapture?: React.TouchEventHandler<HTMLElement> | undefined;
242
+ onTouchEnd?: React.TouchEventHandler<HTMLElement> | undefined;
243
+ onTouchEndCapture?: React.TouchEventHandler<HTMLElement> | undefined;
244
+ onTouchMove?: React.TouchEventHandler<HTMLElement> | undefined;
245
+ onTouchMoveCapture?: React.TouchEventHandler<HTMLElement> | undefined;
246
+ onTouchStart?: React.TouchEventHandler<HTMLElement> | undefined;
247
+ onTouchStartCapture?: React.TouchEventHandler<HTMLElement> | undefined;
248
+ onPointerDown?: React.PointerEventHandler<HTMLElement> | undefined;
249
+ onPointerDownCapture?: React.PointerEventHandler<HTMLElement> | undefined;
250
+ onPointerMove?: React.PointerEventHandler<HTMLElement> | undefined;
251
+ onPointerMoveCapture?: React.PointerEventHandler<HTMLElement> | undefined;
252
+ onPointerUp?: React.PointerEventHandler<HTMLElement> | undefined;
253
+ onPointerUpCapture?: React.PointerEventHandler<HTMLElement> | undefined;
254
+ onPointerCancel?: React.PointerEventHandler<HTMLElement> | undefined;
255
+ onPointerCancelCapture?: React.PointerEventHandler<HTMLElement> | undefined;
256
+ onPointerEnter?: React.PointerEventHandler<HTMLElement> | undefined;
257
+ onPointerEnterCapture?: React.PointerEventHandler<HTMLElement> | undefined;
258
+ onPointerLeave?: React.PointerEventHandler<HTMLElement> | undefined;
259
+ onPointerLeaveCapture?: React.PointerEventHandler<HTMLElement> | undefined;
260
+ onPointerOver?: React.PointerEventHandler<HTMLElement> | undefined;
261
+ onPointerOverCapture?: React.PointerEventHandler<HTMLElement> | undefined;
262
+ onPointerOut?: React.PointerEventHandler<HTMLElement> | undefined;
263
+ onPointerOutCapture?: React.PointerEventHandler<HTMLElement> | undefined;
264
+ onGotPointerCapture?: React.PointerEventHandler<HTMLElement> | undefined;
265
+ onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLElement> | undefined;
266
+ onLostPointerCapture?: React.PointerEventHandler<HTMLElement> | undefined;
267
+ onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLElement> | undefined;
268
+ onScroll?: React.UIEventHandler<HTMLElement> | undefined;
269
+ onScrollCapture?: React.UIEventHandler<HTMLElement> | undefined;
270
+ onWheel?: React.WheelEventHandler<HTMLElement> | undefined;
271
+ onWheelCapture?: React.WheelEventHandler<HTMLElement> | undefined;
272
+ onAnimationStart?: React.AnimationEventHandler<HTMLElement> | undefined;
273
+ onAnimationStartCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
274
+ onAnimationEnd?: React.AnimationEventHandler<HTMLElement> | undefined;
275
+ onAnimationEndCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
276
+ onAnimationIteration?: React.AnimationEventHandler<HTMLElement> | undefined;
277
+ onAnimationIterationCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
278
+ onTransitionEnd?: React.TransitionEventHandler<HTMLElement> | undefined;
279
+ onTransitionEndCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
280
+ }, Element>;
281
+ propTypes: {
282
+ /**
283
+ * Provide children nodes to be rendered in the content container
284
+ */
285
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
286
+ /**
287
+ * Optionally provide a custom class name that is applied to the container
288
+ */
289
+ className: PropTypes.Requireable<string>;
290
+ /**
291
+ * Optionally specify the tag of the content node. Defaults to `main`
292
+ */
293
+ tagName: PropTypes.Requireable<string>;
294
+ };
295
+ };
296
+ export default Content;
@@ -38,6 +38,5 @@ Content.propTypes = {
38
38
  */
39
39
  tagName: PropTypes.string
40
40
  };
41
- var Content$1 = Content;
42
41
 
43
- export { Content$1 as default };
42
+ export { Content as default };
@@ -25,5 +25,5 @@ interface SideNavContextData {
25
25
  isRail?: boolean | undefined;
26
26
  }
27
27
  export declare const SideNavContext: React.Context<SideNavContextData>;
28
- declare const SideNav: React.ForwardRefExoticComponent<Pick<SideNavProps, "children" | "slot" | "style" | "title" | "className" | "dir" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "onToggle" | "key" | "id" | "aria-controls" | "aria-expanded" | "onClick" | "onAnimationEnd" | "onKeyDown" | "tabIndex" | "color" | "lang" | "role" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "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" | "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" | "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" | "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" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "expanded" | "enterDelayMs" | "defaultExpanded" | "inert" | "addFocusListeners" | "isChildOfHeader" | "isFixedNav" | "isRail" | "isPersistent" | "addMouseListeners" | "onOverlayClick" | "onSideNavBlur"> & React.RefAttributes<HTMLElement>>;
28
+ declare const SideNav: React.ForwardRefExoticComponent<Pick<SideNavProps, "children" | "slot" | "style" | "title" | "className" | "dir" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "onToggle" | "key" | "id" | "aria-controls" | "aria-expanded" | "onClick" | "onKeyDown" | "onTransitionEnd" | "tabIndex" | "color" | "lang" | "role" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "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" | "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" | "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" | "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" | "onTransitionEndCapture" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "expanded" | "enterDelayMs" | "defaultExpanded" | "inert" | "addFocusListeners" | "isChildOfHeader" | "isFixedNav" | "isRail" | "isPersistent" | "addMouseListeners" | "onOverlayClick" | "onSideNavBlur"> & React.RefAttributes<HTMLElement>>;
29
29
  export default SideNav;
@@ -47,7 +47,7 @@ interface AccordionItemProps {
47
47
  * The callback function to run on the `onAnimationEnd`
48
48
  * event for the list item.
49
49
  */
50
- handleAnimationEnd?: AnimationEventHandler<HTMLLIElement>;
50
+ handleAnimationEnd?: AnimationEventHandler<HTMLElement>;
51
51
  }
52
52
  interface AccordionToggleProps {
53
53
  'aria-controls'?: AriaAttributes['aria-controls'];