@primer/components 0.0.0-202181521420 → 0.0.0-2021815225952

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.
@@ -4,6 +4,6 @@ import { ComponentProps } from '../utils/types';
4
4
  declare type SelectMenuFilterInternalProps = {
5
5
  value?: string;
6
6
  } & TextInputProps;
7
- declare const SelectMenuFilter: React.ForwardRefExoticComponent<Pick<SelectMenuFilterInternalProps, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxWidth" | "minWidth" | "opacity" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "padding" | "hidden" | "children" | "theme" | "value" | "form" | "p" | "slot" | "style" | "title" | "pattern" | "list" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "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" | "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" | "block" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "step" | "size" | "icon" | "sx" | "max" | "min" | "crossOrigin" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "as" | "variant" | "hasIcon" | "contrast"> & React.RefAttributes<HTMLInputElement>>;
7
+ declare const SelectMenuFilter: React.ForwardRefExoticComponent<Pick<SelectMenuFilterInternalProps, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
8
8
  export declare type SelectMenuFilterProps = ComponentProps<typeof SelectMenuFilter>;
9
9
  export default SelectMenuFilter;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { MaxWidthProps, MinWidthProps, WidthProps } from 'styled-system';
3
- import { SystemCommonProps } from './constants';
4
3
  import { SxProp } from './sx';
5
4
  import { ComponentProps } from './utils/types';
6
5
  declare const Input: import("styled-components").StyledComponent<"input", any, {}, never>;
@@ -10,13 +9,14 @@ declare const Wrapper: import("styled-components").StyledComponent<"span", any,
10
9
  block?: boolean | undefined;
11
10
  contrast?: boolean | undefined;
12
11
  variant?: "large" | "small" | undefined;
13
- } & SystemCommonProps & WidthProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Width<import("styled-system").TLengthStyledSystem>> & MinWidthProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.MinWidth<import("styled-system").TLengthStyledSystem>> & MaxWidthProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.MaxWidth<import("styled-system").TLengthStyledSystem>> & SxProp, never>;
14
- declare type TextInputInternalProps = {
15
- as?: any;
12
+ } & WidthProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Width<import("styled-system").TLengthStyledSystem>> & MinWidthProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.MinWidth<import("styled-system").TLengthStyledSystem>> & MaxWidthProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.MaxWidth<import("styled-system").TLengthStyledSystem>> & SxProp, never>;
13
+ declare type NonPassthroughProps = {
14
+ className?: string;
16
15
  icon?: React.ComponentType<{
17
16
  className?: string;
18
17
  }>;
19
- } & ComponentProps<typeof Wrapper> & ComponentProps<typeof Input>;
20
- declare const TextInput: React.ForwardRefExoticComponent<Pick<TextInputInternalProps, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxWidth" | "minWidth" | "opacity" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "padding" | "hidden" | "children" | "theme" | "value" | "form" | "p" | "slot" | "style" | "title" | "pattern" | "list" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "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" | "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" | "block" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "step" | "size" | "icon" | "sx" | "max" | "min" | "crossOrigin" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "as" | "variant" | "hasIcon" | "contrast"> & React.RefAttributes<HTMLInputElement>>;
18
+ } & Pick<ComponentProps<typeof Wrapper>, 'block' | 'contrast' | 'disabled' | 'sx' | 'theme' | 'width' | 'maxWidth' | 'minWidth' | 'variant'>;
19
+ declare type TextInputInternalProps = NonPassthroughProps & Omit<React.ComponentPropsWithoutRef<typeof Input>, keyof NonPassthroughProps>;
20
+ declare const TextInput: React.ForwardRefExoticComponent<Pick<TextInputInternalProps, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
21
21
  export declare type TextInputProps = ComponentProps<typeof TextInput>;
22
22
  export default TextInput;
package/lib/TextInput.js CHANGED
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
- var _props = require("@styled-system/props");
9
-
10
8
  var _classnames = _interopRequireDefault(require("classnames"));
11
9
 
12
10
  var _react = _interopRequireDefault(require("react"));
@@ -52,38 +50,45 @@ const Input = _styledComponents.default.input.withConfig({
52
50
  const Wrapper = _styledComponents.default.span.withConfig({
53
51
  displayName: "TextInput__Wrapper",
54
52
  componentId: "sc-1apmpmt-1"
55
- })(["display:inline-flex;align-items:stretch;min-height:34px;font-size:", ";line-height:20px;color:", ";vertical-align:middle;background-repeat:no-repeat;background-position:right 8px center;border:1px solid ", ";border-radius:", ";outline:none;box-shadow:", ";", " .TextInput-icon{align-self:center;color:", ";margin:0 ", ";flex-shrink:0;}&:focus-within{border-color:", ";box-shadow:", ";}", " ", " ", " @media (min-width:", "){font-size:", ";}", " ", " ", " ", " ", " ", ";"], (0, _constants.get)('fontSizes.1'), (0, _constants.get)('colors.fg.default'), (0, _constants.get)('colors.border.default'), (0, _constants.get)('radii.2'), (0, _constants.get)('shadows.primer.shadow.inset'), props => {
53
+ })(["display:inline-flex;align-items:stretch;min-height:34px;font-size:", ";line-height:20px;color:", ";vertical-align:middle;background-repeat:no-repeat;background-position:right 8px center;border:1px solid ", ";border-radius:", ";outline:none;box-shadow:", ";", " .TextInput-icon{align-self:center;color:", ";margin:0 ", ";flex-shrink:0;}&:focus-within{border-color:", ";box-shadow:", ";}", " ", " ", " @media (min-width:", "){font-size:", ";}", " ", " ", " ", " ", ";"], (0, _constants.get)('fontSizes.1'), (0, _constants.get)('colors.fg.default'), (0, _constants.get)('colors.border.default'), (0, _constants.get)('radii.2'), (0, _constants.get)('shadows.primer.shadow.inset'), props => {
56
54
  if (props.hasIcon) {
57
55
  return (0, _styledComponents.css)(["padding:0;"]);
58
56
  } else {
59
57
  return (0, _styledComponents.css)(["padding:6px 12px;"]);
60
58
  }
61
- }, (0, _constants.get)('colors.fg.muted'), (0, _constants.get)('space.2'), (0, _constants.get)('colors.accent.emphasis'), (0, _constants.get)('shadows.primer.shadow.focus'), props => props.contrast && (0, _styledComponents.css)(["background-color:", ";"], (0, _constants.get)('colors.canvas.inset')), props => props.disabled && (0, _styledComponents.css)(["color:", ";background-color:", ";border-color:", ";"], (0, _constants.get)('colors.fg.muted'), (0, _constants.get)('colors.input.disabledBg'), (0, _constants.get)('colors.border.default')), props => props.block && (0, _styledComponents.css)(["display:block;width:100%;"]), (0, _constants.get)('breakpoints.1'), (0, _constants.get)('fontSizes.1'), _constants.COMMON, _styledSystem.width, _styledSystem.minWidth, _styledSystem.maxWidth, sizeVariants, _sx.default);
59
+ }, (0, _constants.get)('colors.fg.muted'), (0, _constants.get)('space.2'), (0, _constants.get)('colors.accent.emphasis'), (0, _constants.get)('shadows.primer.shadow.focus'), props => props.contrast && (0, _styledComponents.css)(["background-color:", ";"], (0, _constants.get)('colors.canvas.inset')), props => props.disabled && (0, _styledComponents.css)(["color:", ";background-color:", ";border-color:", ";"], (0, _constants.get)('colors.fg.muted'), (0, _constants.get)('colors.input.disabledBg'), (0, _constants.get)('colors.border.default')), props => props.block && (0, _styledComponents.css)(["display:block;width:100%;"]), (0, _constants.get)('breakpoints.1'), (0, _constants.get)('fontSizes.1'), _styledSystem.width, _styledSystem.minWidth, _styledSystem.maxWidth, sizeVariants, _sx.default); // Props that are not passed through to Input:
60
+
62
61
 
63
62
  // using forwardRef is important so that other components (ex. SelectMenu) can autofocus the input
64
63
  const TextInput = /*#__PURE__*/_react.default.forwardRef(({
65
64
  icon: IconComponent,
66
- contrast,
67
- className,
68
65
  block,
66
+ className,
67
+ contrast,
69
68
  disabled,
70
- theme,
71
69
  sx: sxProp,
72
- ...rest
70
+ theme,
71
+ width: widthProp,
72
+ minWidth: minWidthProp,
73
+ maxWidth: maxWidthProp,
74
+ variant: variantProp,
75
+ ...inputProps
73
76
  }, ref) => {
74
77
  // this class is necessary to style FilterSearch, plz no touchy!
75
78
  const wrapperClasses = (0, _classnames.default)(className, 'TextInput-wrapper');
76
- const wrapperProps = (0, _props.pick)(rest);
77
- const inputProps = (0, _props.omit)(rest);
78
- return /*#__PURE__*/_react.default.createElement(Wrapper, _extends({
79
+ return /*#__PURE__*/_react.default.createElement(Wrapper, {
80
+ block: block,
79
81
  className: wrapperClasses,
82
+ contrast: contrast,
83
+ disabled: disabled,
80
84
  hasIcon: !!IconComponent,
81
- block: block,
85
+ sx: sxProp,
82
86
  theme: theme,
83
- disabled: disabled,
84
- contrast: contrast,
85
- sx: sxProp
86
- }, wrapperProps), IconComponent && /*#__PURE__*/_react.default.createElement(IconComponent, {
87
+ width: widthProp,
88
+ minWidth: minWidthProp,
89
+ maxWidth: maxWidthProp,
90
+ variant: variantProp
91
+ }, IconComponent && /*#__PURE__*/_react.default.createElement(IconComponent, {
87
92
  className: "TextInput-icon"
88
93
  }), /*#__PURE__*/_react.default.createElement(Input, _extends({
89
94
  ref: ref,
package/lib/Timeline.js CHANGED
@@ -5,24 +5,24 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
- var _styledComponents = _interopRequireWildcard(require("styled-components"));
9
-
10
8
  var _classnames = _interopRequireDefault(require("classnames"));
11
9
 
12
10
  var _react = _interopRequireDefault(require("react"));
13
11
 
12
+ var _styledComponents = _interopRequireWildcard(require("styled-components"));
13
+
14
14
  var _Box = _interopRequireDefault(require("./Box"));
15
15
 
16
16
  var _constants = require("./constants");
17
17
 
18
18
  var _sx = _interopRequireDefault(require("./sx"));
19
19
 
20
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
-
22
20
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
21
 
24
22
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
23
 
24
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
+
26
26
  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); }
27
27
 
28
28
  const Timeline = (0, _styledComponents.default)(_Box.default).withConfig({
@@ -36,19 +36,18 @@ const TimelineItem = (0, _styledComponents.default)(_Box.default).attrs(props =>
36
36
  componentId: "c4dq2e-1"
37
37
  })(["display:flex;position:relative;padding:", " 0;margin-left:", ";&::before{position:absolute;top:0;bottom:0;left:0;display:block;width:2px;content:'';background-color:", ";}", " ", ";", ";"], (0, _constants.get)('space.3'), (0, _constants.get)('space.3'), (0, _constants.get)('colors.border.muted'), props => props.condensed && (0, _styledComponents.css)(["padding-top:", ";padding-bottom:0;&:last-child{padding-bottom:", ";}.TimelineItem-Badge{height:16px;margin-top:", ";margin-bottom:", ";color:", ";background-color:", ";border:0;}"], (0, _constants.get)('space.1'), (0, _constants.get)('space.3'), (0, _constants.get)('space.2'), (0, _constants.get)('space.2'), (0, _constants.get)('colors.fg.muted'), (0, _constants.get)('colors.canvas.default')), _constants.COMMON, _sx.default);
38
38
 
39
- var _StyledBox = (0, _styledComponents.default)(_Box.default).withConfig({
40
- displayName: "Timeline___StyledBox",
41
- componentId: "c4dq2e-2"
42
- })(["border-radius:50%;border:2px solid ", ";"], p => p._css);
43
-
44
39
  const TimelineBadge = props => {
45
40
  return /*#__PURE__*/_react.default.createElement(_Box.default, {
46
41
  position: "relative",
47
42
  zIndex: 1
48
- }, /*#__PURE__*/_react.default.createElement(_StyledBox, _extends({
43
+ }, /*#__PURE__*/_react.default.createElement(_Box.default, _extends({
49
44
  display: "flex",
50
45
  className: (0, _classnames.default)(props.className, 'TimelineItem-Badge'),
51
46
  flexShrink: 0,
47
+ borderRadius: "50%",
48
+ borderWidth: "2px",
49
+ borderStyle: "solid",
50
+ borderColor: "canvas.default",
52
51
  overflow: "hidden",
53
52
  color: "fg.muted",
54
53
  bg: "timeline.badgeBg",
@@ -58,19 +57,17 @@ const TimelineBadge = props => {
58
57
  ml: "-15px",
59
58
  alignItems: "center",
60
59
  justifyContent: "center"
61
- }, props, {
62
- _css: (0, _constants.get)('colors.canvas.default')
63
- }), props.children));
60
+ }, props), props.children));
64
61
  };
65
62
 
66
63
  TimelineBadge.displayName = "TimelineBadge";
67
64
  const TimelineBody = (0, _styledComponents.default)(_Box.default).withConfig({
68
65
  displayName: "Timeline__TimelineBody",
69
- componentId: "c4dq2e-3"
66
+ componentId: "c4dq2e-2"
70
67
  })(["min-width:0;max-width:100%;margin-top:", ";color:", ";flex:auto;font-size:", ";", ";"], (0, _constants.get)('space.1'), (0, _constants.get)('colors.fg.muted'), (0, _constants.get)('fontSizes.1'), _sx.default);
71
68
  const TimelineBreak = (0, _styledComponents.default)(_Box.default).withConfig({
72
69
  displayName: "Timeline__TimelineBreak",
73
- componentId: "c4dq2e-4"
70
+ componentId: "c4dq2e-3"
74
71
  })(["position:relative z-index:1;height:24px;margin:0;margin-bottom:-", ";margin-left:0;background-color:", ";border:0;border-top:", " solid ", ";", ";"], (0, _constants.get)('space.3'), (0, _constants.get)('colors.canvas.default'), (0, _constants.get)('space.1'), (0, _constants.get)('colors.border.default'), _sx.default);
75
72
  TimelineItem.displayName = 'Timeline.Item';
76
73
  TimelineBadge.displayName = 'Timeline.Badge';
package/lib/index.d.ts CHANGED
@@ -108,3 +108,4 @@ export { default as Truncate } from './Truncate';
108
108
  export type { TruncateProps } from './Truncate';
109
109
  export { default as UnderlineNav } from './UnderlineNav';
110
110
  export type { UnderlineNavProps, UnderlineNavLinkProps } from './UnderlineNav';
111
+ export { SSRProvider, useSSRSafeId } from './utils/ssr';
package/lib/index.js CHANGED
@@ -453,6 +453,18 @@ Object.defineProperty(exports, "UnderlineNav", {
453
453
  return _UnderlineNav.default;
454
454
  }
455
455
  });
456
+ Object.defineProperty(exports, "SSRProvider", {
457
+ enumerable: true,
458
+ get: function () {
459
+ return _ssr.SSRProvider;
460
+ }
461
+ });
462
+ Object.defineProperty(exports, "useSSRSafeId", {
463
+ enumerable: true,
464
+ get: function () {
465
+ return _ssr.useSSRSafeId;
466
+ }
467
+ });
456
468
 
457
469
  var _theme = _interopRequireDefault(require("./theme"));
458
470
 
@@ -574,6 +586,8 @@ var _Truncate = _interopRequireDefault(require("./Truncate"));
574
586
 
575
587
  var _UnderlineNav = _interopRequireDefault(require("./UnderlineNav"));
576
588
 
589
+ var _ssr = require("./utils/ssr");
590
+
577
591
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
578
592
 
579
593
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -0,0 +1 @@
1
+ export { SSRProvider, useSSRSafeId } from '@react-aria/ssr';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "SSRProvider", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _ssr.SSRProvider;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "useSSRSafeId", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _ssr.useSSRSafeId;
16
+ }
17
+ });
18
+
19
+ var _ssr = require("@react-aria/ssr");
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.uniqueId = uniqueId;
7
+ // Note: uniqueId may be unsafe in SSR contexts if it is used create DOM IDs or otherwise cause a hydration warning. Use useSSRSafeId instead.
7
8
  let idSeed = 10000;
8
9
 
9
10
  function uniqueId() {
@@ -1,7 +1,7 @@
1
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
2
 
3
3
  import { CheckIcon } from '@primer/octicons-react';
4
- import React, { useCallback, useMemo } from 'react';
4
+ import React, { useCallback } from 'react';
5
5
  import { get } from '../constants';
6
6
  import sx from '../sx';
7
7
  import Truncate from '../Truncate';
@@ -10,7 +10,7 @@ import { StyledHeader } from './Header';
10
10
  import { StyledDivider } from './Divider';
11
11
  import { useColorSchemeVar, useTheme } from '../ThemeProvider';
12
12
  import { activeDescendantActivatedDirectly, activeDescendantActivatedIndirectly, isActiveDescendantAttribute } from '../behaviors/focusZone';
13
- import { uniqueId } from '../utils/uniqueId';
13
+ import { useSSRSafeId } from '@react-aria/ssr';
14
14
  /**
15
15
  * These colors are not yet in our default theme. Need to remove this once they are added.
16
16
  */
@@ -164,8 +164,8 @@ export function Item(itemProps) {
164
164
  id,
165
165
  ...props
166
166
  } = itemProps;
167
- const labelId = useMemo(() => uniqueId(), []);
168
- const descriptionId = useMemo(() => uniqueId(), []);
167
+ const labelId = useSSRSafeId();
168
+ const descriptionId = useSSRSafeId();
169
169
  const keyPressHandler = useCallback(event => {
170
170
  if (disabled) {
171
171
  return;
@@ -1,11 +1,11 @@
1
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
2
 
3
- import React, { useCallback, useEffect, useMemo } from 'react';
3
+ import React, { useCallback, useEffect } from 'react';
4
4
  import Overlay from '../Overlay';
5
5
  import { useFocusTrap } from '../hooks/useFocusTrap';
6
6
  import { useFocusZone } from '../hooks/useFocusZone';
7
7
  import { useAnchoredPosition, useProvidedRefOrCreate, useRenderForcingRef } from '../hooks';
8
- import { uniqueId } from '../utils/uniqueId';
8
+ import { useSSRSafeId } from '@react-aria/ssr';
9
9
 
10
10
  /**
11
11
  * An `AnchoredOverlay` provides an anchor that will open a floating overlay positioned relative to the anchor.
@@ -26,7 +26,7 @@ export const AnchoredOverlay = ({
26
26
  }) => {
27
27
  const anchorRef = useProvidedRefOrCreate(externalAnchorRef);
28
28
  const [overlayRef, updateOverlayRef] = useRenderForcingRef();
29
- const anchorId = useMemo(uniqueId, []);
29
+ const anchorId = useSSRSafeId();
30
30
  const onClickOutside = useCallback(() => onClose === null || onClose === void 0 ? void 0 : onClose('click-outside'), [onClose]);
31
31
  const onEscape = useCallback(() => onClose === null || onClose === void 0 ? void 0 : onClose('escape'), [onClose]);
32
32
  const onAnchorKeyDown = useCallback(event => {
@@ -6,6 +6,10 @@ declare const Avatar: import("styled-components").StyledComponent<"img", any, {
6
6
  size?: number | undefined;
7
7
  /** Sets the shape of the avatar to a square if true. If false, the avatar will be circular. */
8
8
  square?: boolean | undefined;
9
+ /** URL of the avatar image. */
10
+ src: string;
11
+ /** Provide alt text when the Avatar is used without the user's name next to it. */
12
+ alt?: string | undefined;
9
13
  } & SystemCommonProps & SxProp, never>;
10
14
  export declare type AvatarProps = ComponentProps<typeof Avatar>;
11
15
  export default Avatar;
@@ -13,8 +13,8 @@ import { XIcon } from '@primer/octicons-react';
13
13
  import { useFocusZone } from '../hooks/useFocusZone';
14
14
  import { FocusKeys } from '../behaviors/focusZone';
15
15
  import Portal from '../Portal';
16
- import { uniqueId } from '../utils/uniqueId';
17
16
  import { useCombinedRefs } from '../hooks/useCombinedRefs';
17
+ import { useSSRSafeId } from '@react-aria/ssr';
18
18
  const ANIMATION_DURATION = '200ms';
19
19
  /**
20
20
  * Props that characterize a button to be rendered into the footer of
@@ -114,8 +114,8 @@ const _Dialog = /*#__PURE__*/React.forwardRef((props, forwardedRef) => {
114
114
  width = 'xlarge',
115
115
  height = 'auto'
116
116
  } = props;
117
- const dialogLabelId = uniqueId();
118
- const dialogDescriptionId = uniqueId();
117
+ const dialogLabelId = useSSRSafeId();
118
+ const dialogDescriptionId = useSSRSafeId();
119
119
  const defaultedProps = { ...props,
120
120
  title,
121
121
  subtitle,
@@ -1,17 +1,17 @@
1
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
2
 
3
- import React, { useCallback, useEffect, useMemo, useRef } from 'react';
3
+ import React, { useCallback, useEffect, useRef } from 'react';
4
4
  import TextInput from '../TextInput';
5
5
  import Box from '../Box';
6
6
  import { ActionList } from '../ActionList';
7
7
  import Spinner from '../Spinner';
8
8
  import { useFocusZone } from '../hooks/useFocusZone';
9
- import { uniqueId } from '../utils/uniqueId';
10
9
  import { useProvidedStateOrCreate } from '../hooks/useProvidedStateOrCreate';
11
10
  import styled from 'styled-components';
12
11
  import { get } from '../constants';
13
12
  import { useProvidedRefOrCreate } from '../hooks/useProvidedRefOrCreate';
14
13
  import useScrollFlash from '../hooks/useScrollFlash';
14
+ import { useSSRSafeId } from '@react-aria/ssr';
15
15
 
16
16
  function scrollIntoViewingArea(child, container, margin = 8, behavior = 'smooth') {
17
17
  const {
@@ -65,7 +65,7 @@ export function FilteredActionList({
65
65
  const listContainerRef = useRef(null);
66
66
  const inputRef = useProvidedRefOrCreate(providedInputRef);
67
67
  const activeDescendantRef = useRef();
68
- const listId = useMemo(uniqueId, []);
68
+ const listId = useSSRSafeId();
69
69
  const onInputKeyPress = useCallback(event => {
70
70
  if (event.key === 'Enter' && activeDescendantRef.current) {
71
71
  event.preventDefault();
@@ -33,33 +33,19 @@ declare const _default: React.ForwardRefExoticComponent<Pick<SelectMenuInternalP
33
33
  Filter: React.ForwardRefExoticComponent<Pick<{
34
34
  value?: string | undefined;
35
35
  } & Pick<{
36
- as?: any;
36
+ className?: string | undefined;
37
37
  icon?: React.ComponentType<{
38
38
  className?: string | undefined;
39
39
  }> | undefined;
40
- } & {
41
- backgroundColor?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
42
- color?: (string & import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>>) | undefined;
43
- display?: import("styled-system").ResponsiveValue<import("csstype").Property.Display, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
44
- marginBottom?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
45
- marginLeft?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
46
- marginRight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
47
- marginTop?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
40
+ } & Pick<{
41
+ color?: string | undefined;
48
42
  maxWidth?: import("styled-system").ResponsiveValue<import("csstype").Property.MaxWidth<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
49
43
  minWidth?: import("styled-system").ResponsiveValue<import("csstype").Property.MinWidth<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
50
- opacity?: import("styled-system").ResponsiveValue<import("csstype").Property.Opacity, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
51
- paddingBottom?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
52
- paddingLeft?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
53
- paddingRight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
54
- paddingTop?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
55
44
  translate?: "yes" | "no" | undefined;
56
45
  width?: import("styled-system").ResponsiveValue<import("csstype").Property.Width<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
57
- margin?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
58
- padding?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
59
46
  hidden?: boolean | undefined;
60
47
  children?: React.ReactNode;
61
48
  ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
62
- p?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
63
49
  slot?: string | undefined;
64
50
  style?: React.CSSProperties | undefined;
65
51
  title?: string | undefined;
@@ -315,24 +301,6 @@ declare const _default: React.ForwardRefExoticComponent<Pick<SelectMenuInternalP
315
301
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
316
302
  css?: import("@emotion/core").InterpolationWithTheme<any>;
317
303
  block?: boolean | undefined;
318
- bg?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
319
- m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
320
- mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
321
- mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
322
- mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
323
- ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
324
- mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
325
- marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
326
- my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
327
- marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
328
- pt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
329
- pr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
330
- pb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
331
- pl?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
332
- px?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
333
- paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
334
- py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
335
- paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
336
304
  sx?: import("@styled-system/css").SystemStyleObject | undefined;
337
305
  disabled?: boolean | undefined;
338
306
  variant?: "large" | "small" | undefined;
@@ -340,299 +308,15 @@ declare const _default: React.ForwardRefExoticComponent<Pick<SelectMenuInternalP
340
308
  contrast?: boolean | undefined;
341
309
  } & {
342
310
  theme?: any;
311
+ }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "disabled" | "variant" | "contrast"> & Omit<Pick<{
312
+ [x: string]: any;
313
+ [x: number]: any;
343
314
  } & {
344
- color?: string | undefined;
345
- height?: string | number | undefined;
346
- translate?: "yes" | "no" | undefined;
347
- width?: string | number | undefined;
348
- hidden?: boolean | undefined;
349
- children?: React.ReactNode;
350
- value?: string | number | readonly string[] | undefined;
351
- ref?: ((instance: HTMLInputElement | null) => void) | React.RefObject<HTMLInputElement> | null | undefined;
352
- form?: string | undefined;
353
- slot?: string | undefined;
354
- style?: React.CSSProperties | undefined;
355
- title?: string | undefined;
356
- pattern?: string | undefined;
357
- list?: string | undefined;
358
- type?: string | undefined;
359
- name?: string | undefined;
360
- key?: React.Key | null | undefined;
361
- defaultChecked?: boolean | undefined;
362
- defaultValue?: string | number | readonly string[] | undefined;
363
- suppressContentEditableWarning?: boolean | undefined;
364
- suppressHydrationWarning?: boolean | undefined;
365
- accessKey?: string | undefined;
366
- className?: string | undefined;
367
- contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
368
- contextMenu?: string | undefined;
369
- dir?: string | undefined;
370
- draggable?: (boolean | "true" | "false") | undefined;
371
- id?: string | undefined;
372
- lang?: string | undefined;
373
- placeholder?: string | undefined;
374
- spellCheck?: (boolean | "true" | "false") | undefined;
375
- tabIndex?: number | undefined;
376
- radioGroup?: string | undefined;
377
- role?: React.AriaRole | undefined;
378
- about?: string | undefined;
379
- datatype?: string | undefined;
380
- inlist?: any;
381
- prefix?: string | undefined;
382
- property?: string | undefined;
383
- resource?: string | undefined;
384
- typeof?: string | undefined;
385
- vocab?: string | undefined;
386
- autoCapitalize?: string | undefined;
387
- autoCorrect?: string | undefined;
388
- autoSave?: string | undefined;
389
- itemProp?: string | undefined;
390
- itemScope?: boolean | undefined;
391
- itemType?: string | undefined;
392
- itemID?: string | undefined;
393
- itemRef?: string | undefined;
394
- results?: number | undefined;
395
- security?: string | undefined;
396
- unselectable?: "on" | "off" | undefined;
397
- inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
398
- is?: string | undefined;
399
- 'aria-activedescendant'?: string | undefined;
400
- 'aria-atomic'?: boolean | "true" | "false" | undefined;
401
- 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
402
- 'aria-busy'?: boolean | "true" | "false" | undefined;
403
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
404
- 'aria-colcount'?: number | undefined;
405
- 'aria-colindex'?: number | undefined;
406
- 'aria-colspan'?: number | undefined;
407
- 'aria-controls'?: string | undefined;
408
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
409
- 'aria-describedby'?: string | undefined;
410
- 'aria-details'?: string | undefined;
411
- 'aria-disabled'?: boolean | "true" | "false" | undefined;
412
- 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
413
- 'aria-errormessage'?: string | undefined;
414
- 'aria-expanded'?: boolean | "true" | "false" | undefined;
415
- 'aria-flowto'?: string | undefined;
416
- 'aria-grabbed'?: boolean | "true" | "false" | undefined;
417
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
418
- 'aria-hidden'?: boolean | "true" | "false" | undefined;
419
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
420
- 'aria-keyshortcuts'?: string | undefined;
421
- 'aria-label'?: string | undefined;
422
- 'aria-labelledby'?: string | undefined;
423
- 'aria-level'?: number | undefined;
424
- 'aria-live'?: "off" | "assertive" | "polite" | undefined;
425
- 'aria-modal'?: boolean | "true" | "false" | undefined;
426
- 'aria-multiline'?: boolean | "true" | "false" | undefined;
427
- 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
428
- 'aria-orientation'?: "horizontal" | "vertical" | undefined;
429
- 'aria-owns'?: string | undefined;
430
- 'aria-placeholder'?: string | undefined;
431
- 'aria-posinset'?: number | undefined;
432
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
433
- 'aria-readonly'?: boolean | "true" | "false" | undefined;
434
- 'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
435
- 'aria-required'?: boolean | "true" | "false" | undefined;
436
- 'aria-roledescription'?: string | undefined;
437
- 'aria-rowcount'?: number | undefined;
438
- 'aria-rowindex'?: number | undefined;
439
- 'aria-rowspan'?: number | undefined;
440
- 'aria-selected'?: boolean | "true" | "false" | undefined;
441
- 'aria-setsize'?: number | undefined;
442
- 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
443
- 'aria-valuemax'?: number | undefined;
444
- 'aria-valuemin'?: number | undefined;
445
- 'aria-valuenow'?: number | undefined;
446
- 'aria-valuetext'?: string | undefined;
447
- dangerouslySetInnerHTML?: {
448
- __html: string;
449
- } | undefined;
450
- onCopy?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
451
- onCopyCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
452
- onCut?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
453
- onCutCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
454
- onPaste?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
455
- onPasteCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
456
- onCompositionEnd?: React.CompositionEventHandler<HTMLInputElement> | undefined;
457
- onCompositionEndCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
458
- onCompositionStart?: React.CompositionEventHandler<HTMLInputElement> | undefined;
459
- onCompositionStartCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
460
- onCompositionUpdate?: React.CompositionEventHandler<HTMLInputElement> | undefined;
461
- onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
462
- onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
463
- onFocusCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
464
- onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
465
- onBlurCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
466
- onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
467
- onChangeCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
468
- onBeforeInput?: React.FormEventHandler<HTMLInputElement> | undefined;
469
- onBeforeInputCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
470
- onInput?: React.FormEventHandler<HTMLInputElement> | undefined;
471
- onInputCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
472
- onReset?: React.FormEventHandler<HTMLInputElement> | undefined;
473
- onResetCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
474
- onSubmit?: React.FormEventHandler<HTMLInputElement> | undefined;
475
- onSubmitCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
476
- onInvalid?: React.FormEventHandler<HTMLInputElement> | undefined;
477
- onInvalidCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
478
- onLoad?: React.ReactEventHandler<HTMLInputElement> | undefined;
479
- onLoadCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
480
- onError?: React.ReactEventHandler<HTMLInputElement> | undefined;
481
- onErrorCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
482
- onKeyDown?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
483
- onKeyDownCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
484
- onKeyPress?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
485
- onKeyPressCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
486
- onKeyUp?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
487
- onKeyUpCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
488
- onAbort?: React.ReactEventHandler<HTMLInputElement> | undefined;
489
- onAbortCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
490
- onCanPlay?: React.ReactEventHandler<HTMLInputElement> | undefined;
491
- onCanPlayCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
492
- onCanPlayThrough?: React.ReactEventHandler<HTMLInputElement> | undefined;
493
- onCanPlayThroughCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
494
- onDurationChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
495
- onDurationChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
496
- onEmptied?: React.ReactEventHandler<HTMLInputElement> | undefined;
497
- onEmptiedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
498
- onEncrypted?: React.ReactEventHandler<HTMLInputElement> | undefined;
499
- onEncryptedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
500
- onEnded?: React.ReactEventHandler<HTMLInputElement> | undefined;
501
- onEndedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
502
- onLoadedData?: React.ReactEventHandler<HTMLInputElement> | undefined;
503
- onLoadedDataCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
504
- onLoadedMetadata?: React.ReactEventHandler<HTMLInputElement> | undefined;
505
- onLoadedMetadataCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
506
- onLoadStart?: React.ReactEventHandler<HTMLInputElement> | undefined;
507
- onLoadStartCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
508
- onPause?: React.ReactEventHandler<HTMLInputElement> | undefined;
509
- onPauseCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
510
- onPlay?: React.ReactEventHandler<HTMLInputElement> | undefined;
511
- onPlayCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
512
- onPlaying?: React.ReactEventHandler<HTMLInputElement> | undefined;
513
- onPlayingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
514
- onProgress?: React.ReactEventHandler<HTMLInputElement> | undefined;
515
- onProgressCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
516
- onRateChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
517
- onRateChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
518
- onSeeked?: React.ReactEventHandler<HTMLInputElement> | undefined;
519
- onSeekedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
520
- onSeeking?: React.ReactEventHandler<HTMLInputElement> | undefined;
521
- onSeekingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
522
- onStalled?: React.ReactEventHandler<HTMLInputElement> | undefined;
523
- onStalledCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
524
- onSuspend?: React.ReactEventHandler<HTMLInputElement> | undefined;
525
- onSuspendCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
526
- onTimeUpdate?: React.ReactEventHandler<HTMLInputElement> | undefined;
527
- onTimeUpdateCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
528
- onVolumeChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
529
- onVolumeChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
530
- onWaiting?: React.ReactEventHandler<HTMLInputElement> | undefined;
531
- onWaitingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
532
- onAuxClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
533
- onAuxClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
534
- onClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
535
- onClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
536
- onContextMenu?: React.MouseEventHandler<HTMLInputElement> | undefined;
537
- onContextMenuCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
538
- onDoubleClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
539
- onDoubleClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
540
- onDrag?: React.DragEventHandler<HTMLInputElement> | undefined;
541
- onDragCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
542
- onDragEnd?: React.DragEventHandler<HTMLInputElement> | undefined;
543
- onDragEndCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
544
- onDragEnter?: React.DragEventHandler<HTMLInputElement> | undefined;
545
- onDragEnterCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
546
- onDragExit?: React.DragEventHandler<HTMLInputElement> | undefined;
547
- onDragExitCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
548
- onDragLeave?: React.DragEventHandler<HTMLInputElement> | undefined;
549
- onDragLeaveCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
550
- onDragOver?: React.DragEventHandler<HTMLInputElement> | undefined;
551
- onDragOverCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
552
- onDragStart?: React.DragEventHandler<HTMLInputElement> | undefined;
553
- onDragStartCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
554
- onDrop?: React.DragEventHandler<HTMLInputElement> | undefined;
555
- onDropCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
556
- onMouseDown?: React.MouseEventHandler<HTMLInputElement> | undefined;
557
- onMouseDownCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
558
- onMouseEnter?: React.MouseEventHandler<HTMLInputElement> | undefined;
559
- onMouseLeave?: React.MouseEventHandler<HTMLInputElement> | undefined;
560
- onMouseMove?: React.MouseEventHandler<HTMLInputElement> | undefined;
561
- onMouseMoveCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
562
- onMouseOut?: React.MouseEventHandler<HTMLInputElement> | undefined;
563
- onMouseOutCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
564
- onMouseOver?: React.MouseEventHandler<HTMLInputElement> | undefined;
565
- onMouseOverCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
566
- onMouseUp?: React.MouseEventHandler<HTMLInputElement> | undefined;
567
- onMouseUpCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
568
- onSelect?: React.ReactEventHandler<HTMLInputElement> | undefined;
569
- onSelectCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
570
- onTouchCancel?: React.TouchEventHandler<HTMLInputElement> | undefined;
571
- onTouchCancelCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
572
- onTouchEnd?: React.TouchEventHandler<HTMLInputElement> | undefined;
573
- onTouchEndCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
574
- onTouchMove?: React.TouchEventHandler<HTMLInputElement> | undefined;
575
- onTouchMoveCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
576
- onTouchStart?: React.TouchEventHandler<HTMLInputElement> | undefined;
577
- onTouchStartCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
578
- onPointerDown?: React.PointerEventHandler<HTMLInputElement> | undefined;
579
- onPointerDownCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
580
- onPointerMove?: React.PointerEventHandler<HTMLInputElement> | undefined;
581
- onPointerMoveCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
582
- onPointerUp?: React.PointerEventHandler<HTMLInputElement> | undefined;
583
- onPointerUpCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
584
- onPointerCancel?: React.PointerEventHandler<HTMLInputElement> | undefined;
585
- onPointerCancelCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
586
- onPointerEnter?: React.PointerEventHandler<HTMLInputElement> | undefined;
587
- onPointerEnterCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
588
- onPointerLeave?: React.PointerEventHandler<HTMLInputElement> | undefined;
589
- onPointerLeaveCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
590
- onPointerOver?: React.PointerEventHandler<HTMLInputElement> | undefined;
591
- onPointerOverCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
592
- onPointerOut?: React.PointerEventHandler<HTMLInputElement> | undefined;
593
- onPointerOutCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
594
- onGotPointerCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
595
- onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
596
- onLostPointerCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
597
- onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
598
- onScroll?: React.UIEventHandler<HTMLInputElement> | undefined;
599
- onScrollCapture?: React.UIEventHandler<HTMLInputElement> | undefined;
600
- onWheel?: React.WheelEventHandler<HTMLInputElement> | undefined;
601
- onWheelCapture?: React.WheelEventHandler<HTMLInputElement> | undefined;
602
- onAnimationStart?: React.AnimationEventHandler<HTMLInputElement> | undefined;
603
- onAnimationStartCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
604
- onAnimationEnd?: React.AnimationEventHandler<HTMLInputElement> | undefined;
605
- onAnimationEndCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
606
- onAnimationIteration?: React.AnimationEventHandler<HTMLInputElement> | undefined;
607
- onAnimationIterationCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
608
- onTransitionEnd?: React.TransitionEventHandler<HTMLInputElement> | undefined;
609
- onTransitionEndCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
610
- css?: import("@emotion/core").InterpolationWithTheme<any>;
611
- step?: string | number | undefined;
612
- size?: number | undefined;
613
- max?: string | number | undefined;
614
- min?: string | number | undefined;
615
- crossOrigin?: string | undefined;
616
- alt?: string | undefined;
617
- src?: string | undefined;
618
- autoFocus?: boolean | undefined;
619
- disabled?: boolean | undefined;
620
- formAction?: string | undefined;
621
- formEncType?: string | undefined;
622
- formMethod?: string | undefined;
623
- formNoValidate?: boolean | undefined;
624
- formTarget?: string | undefined;
625
- autoComplete?: string | undefined;
626
- accept?: string | undefined;
627
- capture?: string | boolean | undefined;
628
- checked?: boolean | undefined;
629
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
630
- maxLength?: number | undefined;
631
- minLength?: number | undefined;
632
- multiple?: boolean | undefined;
633
- readOnly?: boolean | undefined;
634
- required?: boolean | undefined;
635
- }, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxWidth" | "minWidth" | "opacity" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "padding" | "hidden" | "children" | "theme" | "value" | "form" | "p" | "slot" | "style" | "title" | "pattern" | "list" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "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" | "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" | "block" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "step" | "size" | "icon" | "sx" | "max" | "min" | "crossOrigin" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "as" | "variant" | "hasIcon" | "contrast"> & React.RefAttributes<HTMLInputElement>, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxWidth" | "minWidth" | "opacity" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "padding" | "hidden" | "children" | "theme" | "value" | "form" | "p" | "slot" | "style" | "title" | "pattern" | "list" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "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" | "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" | "block" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "step" | "size" | "icon" | "sx" | "max" | "min" | "crossOrigin" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "as" | "variant" | "hasIcon" | "contrast"> & React.RefAttributes<HTMLInputElement>>;
315
+ theme?: any;
316
+ } & {
317
+ as?: string | React.ComponentType<any> | undefined;
318
+ forwardedAs?: string | React.ComponentType<any> | undefined;
319
+ }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "className" | "block" | "icon" | "sx" | "disabled" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
636
320
  Footer: import("styled-components").StyledComponent<"footer", any, SystemCommonProps & SxProp, never>;
637
321
  Item: React.ForwardRefExoticComponent<Pick<{
638
322
  as?: React.ElementType<any> | undefined;