@basic-ui/material 1.0.0-alpha.16 → 1.0.0-alpha.17

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 (114) hide show
  1. package/build/cjs/index.js +294 -51
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/esm/Alert/Alert.d.ts +1 -1
  4. package/build/esm/AppBar/AppBarButton.d.ts +1 -1
  5. package/build/esm/BottomSheet/BottomSheet.d.ts +1 -1
  6. package/build/esm/BottomSheet/BottomSheetSurface.d.ts +1 -1
  7. package/build/esm/Button/Button.d.ts +1 -1
  8. package/build/esm/Button/ButtonGroup.d.ts +1 -1
  9. package/build/esm/Button/FilledButton.d.ts +1 -1
  10. package/build/esm/Button/OutlinedButton.d.ts +1 -1
  11. package/build/esm/Button/TransparentButton.d.ts +1 -1
  12. package/build/esm/CheckBox/CheckBox.d.ts +1 -1
  13. package/build/esm/Chip/ButtonChip.d.ts +1 -1
  14. package/build/esm/Chip/ChipBase.d.ts +1 -1
  15. package/build/esm/Chip/ChoiceChip.d.ts +1 -1
  16. package/build/esm/Combobox/Combobox.d.ts +7 -7
  17. package/build/esm/Combobox/Combobox.js +4 -3
  18. package/build/esm/Combobox/Combobox.js.map +1 -1
  19. package/build/esm/Dialog/Dialog.d.ts +1 -1
  20. package/build/esm/Dialog/DialogBackdrop.d.ts +1 -1
  21. package/build/esm/Dialog/DialogSurface.d.ts +1 -1
  22. package/build/esm/Dialog/Scrim.d.ts +1 -1
  23. package/build/esm/Divider/Divider.d.ts +1 -1
  24. package/build/esm/Link/Link.d.ts +1 -1
  25. package/build/esm/Link/Link.js +12 -0
  26. package/build/esm/Link/Link.js.map +1 -1
  27. package/build/esm/ListItem/ListItem.d.ts +3 -1
  28. package/build/esm/ListItem/ListItem.js +46 -42
  29. package/build/esm/ListItem/ListItem.js.map +1 -1
  30. package/build/esm/Menu/Menu.d.ts +4 -4
  31. package/build/esm/NavRail/NavRailItem.d.ts +3 -3
  32. package/build/esm/Paper/Paper.d.ts +1 -1
  33. package/build/esm/RadioButton/RadioGroup.d.ts +1 -1
  34. package/build/esm/Ripple/useRippleSurface.d.ts +1 -0
  35. package/build/esm/Ripple/useRippleSurface.js +17 -16
  36. package/build/esm/Ripple/useRippleSurface.js.map +1 -1
  37. package/build/esm/Select/Select.d.ts +1 -1
  38. package/build/esm/Select/Select.js +4 -0
  39. package/build/esm/Select/Select.js.map +1 -1
  40. package/build/esm/Select/SelectIcon.d.ts +1 -1
  41. package/build/esm/SelectItem/SelectItem.d.ts +5 -2
  42. package/build/esm/SelectItem/SelectItem.js +17 -4
  43. package/build/esm/SelectItem/SelectItem.js.map +1 -1
  44. package/build/esm/SelectionControl/SelectionControlText.d.ts +1 -1
  45. package/build/esm/Skeleton/Skeleton.d.ts +1 -1
  46. package/build/esm/Slider/Slider.d.ts +17 -0
  47. package/build/esm/Slider/Slider.js +224 -0
  48. package/build/esm/Slider/Slider.js.map +1 -0
  49. package/build/esm/Slider/index.d.ts +1 -0
  50. package/build/esm/Slider/index.js +2 -0
  51. package/build/esm/Slider/index.js.map +1 -0
  52. package/build/esm/Snackbar/Snackbar.d.ts +1 -1
  53. package/build/esm/Switch/Switch.d.ts +1 -1
  54. package/build/esm/Tab/Tab.d.ts +1 -1
  55. package/build/esm/Tab/TabList.d.ts +1 -1
  56. package/build/esm/Tab/TabPanel.d.ts +1 -1
  57. package/build/esm/TabIndicator/TabIndicator.d.ts +1 -1
  58. package/build/esm/Table/TableHead.d.ts +1 -1
  59. package/build/esm/Table/TableRow.d.ts +1 -1
  60. package/build/esm/TextField/FilledContainer.d.ts +1 -1
  61. package/build/esm/TextField/HelperText.d.ts +1 -1
  62. package/build/esm/TextField/Input.d.ts +1 -1
  63. package/build/esm/TextField/OutlinedContainer.d.ts +1 -1
  64. package/build/esm/TextField/OutlinedContainer.js +13 -5
  65. package/build/esm/TextField/OutlinedContainer.js.map +1 -1
  66. package/build/esm/TextField/TextField.d.ts +1 -1
  67. package/build/esm/ThemeExplorer/BorderSlider.d.ts +7 -0
  68. package/build/esm/ThemeExplorer/BorderSlider.js +78 -0
  69. package/build/esm/ThemeExplorer/BorderSlider.js.map +1 -0
  70. package/build/esm/ThemeExplorer/ColorSchemePicker.d.ts +10 -0
  71. package/build/esm/ThemeExplorer/ColorSchemePicker.js +54 -0
  72. package/build/esm/ThemeExplorer/ColorSchemePicker.js.map +1 -0
  73. package/build/esm/ThemeExplorer/FontAutoComplete.d.ts +9 -0
  74. package/build/esm/ThemeExplorer/FontAutoComplete.js +128 -0
  75. package/build/esm/ThemeExplorer/FontAutoComplete.js.map +1 -0
  76. package/build/esm/ThemeExplorer/ThemeBuilder.d.ts +2 -0
  77. package/build/esm/ThemeExplorer/ThemeBuilder.js +231 -93
  78. package/build/esm/ThemeExplorer/ThemeBuilder.js.map +1 -1
  79. package/build/esm/ThemeExplorer/components.js +4 -4
  80. package/build/esm/ThemeExplorer/components.js.map +1 -1
  81. package/build/esm/ThemeExplorer/googleFonts.d.ts +1 -0
  82. package/build/esm/ThemeExplorer/googleFonts.js +7 -0
  83. package/build/esm/ThemeExplorer/googleFonts.js.map +1 -0
  84. package/build/esm/ThemeExplorer/updateGoogleFonts.js +70 -0
  85. package/build/esm/ThemeExplorer/updateGoogleFonts.js.map +1 -0
  86. package/build/esm/ThemeExplorer/useDeferredColor.js +3 -4
  87. package/build/esm/ThemeExplorer/useDeferredColor.js.map +1 -1
  88. package/build/esm/Tooltip/Tooltip.d.ts +1 -1
  89. package/build/esm/index.d.ts +1 -0
  90. package/build/esm/index.js +1 -0
  91. package/build/esm/index.js.map +1 -1
  92. package/build/tsconfig-build.tsbuildinfo +1 -1
  93. package/package.json +6 -6
  94. package/src/Combobox/Combobox.tsx +5 -2
  95. package/src/Link/Link.tsx +12 -0
  96. package/src/ListItem/ListItem.tsx +48 -41
  97. package/src/Ripple/useRippleSurface.ts +8 -2
  98. package/src/Select/PaymentMethodSelect.story.tsx +17 -24
  99. package/src/Select/Select.tsx +6 -0
  100. package/src/SelectItem/SelectItem.tsx +13 -3
  101. package/src/Slider/Slider.story.tsx +36 -0
  102. package/src/Slider/Slider.tsx +275 -0
  103. package/src/Slider/index.ts +1 -0
  104. package/src/TextField/OutlinedContainer.tsx +8 -3
  105. package/src/ThemeExplorer/BorderSlider.tsx +73 -0
  106. package/src/ThemeExplorer/ColorSchemePicker.tsx +55 -0
  107. package/src/ThemeExplorer/FontAutoComplete.tsx +139 -0
  108. package/src/ThemeExplorer/ThemeBuilder.story.tsx +2 -1
  109. package/src/ThemeExplorer/ThemeBuilder.tsx +218 -82
  110. package/src/ThemeExplorer/components.tsx +4 -4
  111. package/src/ThemeExplorer/googleFonts.ts +1436 -0
  112. package/src/ThemeExplorer/updateGoogleFonts.js +33 -0
  113. package/src/ThemeExplorer/useDeferredColor.tsx +3 -6
  114. package/src/index.ts +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.js","names":["forwardRef","Combobox","_ComboboxCore","ComboboxInput","_ComboboxInputCore","ComboboxLabel","_ComboboxLabelCore","ComboboxList","_ComboboxListCore","ComboboxOption","_ComboboxOptionCore","ComboboxPopover","_ComboboxPopoverCore","ComboboxButton","_ComboboxButtonCore","Popper","_PopperCore","useComboBoxContext","Box","TextField","List","ListItem","Text","Button","alpha","EASING_STANDARD","ComboboxCore","props","forwardedRef","as","__css","otherProps","position","ComboboxInputCore","ComboboxListCore","maxHeight","overflowY","borderRadius","transformOrigin","PopperCore","ComboboxPopperBox","anchorEl","ctx","inputRef","zIndex","width","ComboboxPopoverCore","ComboboxOptionCore","ComboboxLabelCore","ComboboxButtonCore","children","height","px","transition","color","transform"],"sources":["../../../src/Combobox/Combobox.tsx"],"sourcesContent":["import type { FC, HTMLAttributes, RefAttributes } from 'react';\nimport { forwardRef } from 'react';\nimport type {\n ComboboxProps as ComboboxPropsCore,\n ComboboxInputProps as ComboboxInputPropsCore,\n ComboboxLabelProps as ComboboxLabelPropsCore,\n ComboboxListProps as ComboboxListPropsCore,\n ComboboxOptionProps as ComboboxOptionPropsCore,\n ComboboxPopoverProps as ComboboxPopoverPropsCore,\n ComboboxButtonProps as ComboboxButtonPropsCore,\n PopperProps as PopperCoreProps,\n} from '@basic-ui/core';\nimport {\n Combobox as _ComboboxCore,\n ComboboxInput as _ComboboxInputCore,\n ComboboxLabel as _ComboboxLabelCore,\n ComboboxList as _ComboboxListCore,\n ComboboxOption as _ComboboxOptionCore,\n ComboboxPopover as _ComboboxPopoverCore,\n ComboboxButton as _ComboboxButtonCore,\n Popper as _PopperCore,\n useComboBoxContext,\n} from '@basic-ui/core';\nimport { rem } from 'polished';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\nimport type { TextFieldProps } from '../TextField';\nimport { TextField } from '../TextField';\nimport type { ListProps } from '../List';\nimport { List } from '../List';\nimport type { ListItemProps } from '../ListItem';\nimport { ListItem } from '../ListItem';\nimport type { TextProps } from '../Text';\nimport { Text } from '../Text';\nimport type { ButtonProps } from '../Button';\nimport { Button } from '../Button';\nimport { alpha } from '../color';\nimport { EASING_STANDARD } from '../motion';\n\nexport { useComboBoxContext } from '@basic-ui/core';\n\n/////////////////////////////////////////////////////\n// Combobox\n\nexport type ComboboxProps = Omit<\n BoxProps<HTMLDivElement, HTMLAttributes<HTMLDivElement>>,\n 'onSelect'\n> &\n ComboboxPropsCore;\n\nconst ComboboxCore: FC<ComboboxProps> = _ComboboxCore as any;\n\nexport const Combobox = forwardRef<HTMLDivElement, ComboboxProps>(\n (props, forwardedRef) => {\n const { as = 'div', __css, ...otherProps } = props;\n return (\n <ComboboxCore\n as={Box}\n ref={forwardedRef}\n innerAs={as}\n __css={{ position: 'relative', ...__css }}\n {...otherProps}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxInput\n\nexport type ComboboxInputProps = Omit<\n ComboboxInputPropsCore & TextFieldProps,\n 'ref'\n> &\n RefAttributes<HTMLInputElement>;\n\nconst ComboboxInputCore: FC<ComboboxInputProps> = _ComboboxInputCore as any;\n\nexport const ComboboxInput = forwardRef<HTMLInputElement, ComboboxInputProps>(\n (props, forwardedRef) => {\n const { as = 'input', ...otherProps } = props;\n return (\n <ComboboxInputCore\n as={TextField as any}\n ref={forwardedRef}\n innerAs={as}\n {...otherProps}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxList\n\nexport type ComboboxListProps = Omit<ComboboxListPropsCore & ListProps, 'ref'> &\n RefAttributes<HTMLUListElement>;\n\nconst ComboboxListCore: FC<ComboboxListProps> = _ComboboxListCore as any;\n\nexport const ComboboxList = forwardRef<HTMLUListElement, ComboboxListProps>(\n (props, forwardedRef) => {\n const { as = 'ul', __css, ...otherProps } = props;\n return (\n <ComboboxListCore\n as={List}\n ref={forwardedRef}\n innerAs={as}\n outlined={false}\n elevation={2}\n darkThemeBackgroundOverlay={2}\n __css={{\n maxHeight: rem(300),\n overflowY: 'auto',\n borderRadius: 'extra-small',\n '[data-popper-placement=\"top\"] &': {\n transformOrigin: 'bottom center',\n },\n '[data-popper-placement=\"bottom\"] &': {\n transformOrigin: 'top center',\n },\n ...__css,\n }}\n {...otherProps}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxPopperBox\n\ntype PopperProps = BoxProps & PopperCoreProps;\n\nconst PopperCore: FC<PopperProps> = _PopperCore as any;\n\nconst ComboboxPopperBox = forwardRef<HTMLDivElement, PopperProps>(\n ({ __css, anchorEl, as = 'div', ...props }, forwardedRef) => {\n const ctx = useComboBoxContext();\n return (\n <PopperCore\n as={Box}\n innerAs={as}\n ref={forwardedRef}\n anchorEl={anchorEl || ctx.inputRef}\n __css={{ zIndex: 1, width: '100%', ...__css }}\n {...props}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxPopover\n\nexport type ComboboxPopoverProps = ComboboxPopoverPropsCore & ListProps;\n\nconst ComboboxPopoverCore: FC<ComboboxPopoverProps> =\n _ComboboxPopoverCore as any;\n\nexport const ComboboxPopover = forwardRef<HTMLDivElement, ComboboxPopoverProps>(\n (props, forwardedRef) => {\n const { as = 'div', ...otherProps } = props;\n return (\n <ComboboxPopoverCore\n as={ComboboxPopperBox}\n ref={forwardedRef}\n innerAs={as}\n {...otherProps}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxOption\n\nexport type ComboboxOptionProps = Omit<\n ComboboxOptionPropsCore & ListItemProps,\n 'ref'\n> &\n RefAttributes<HTMLLIElement>;\n\nconst ComboboxOptionCore: FC<ComboboxOptionProps> = _ComboboxOptionCore as any;\n\nexport const ComboboxOption = forwardRef<HTMLLIElement, ComboboxOptionProps>(\n (props, forwardedRef) => {\n const { as = 'li', ...otherProps } = props;\n return (\n <ComboboxOptionCore\n as={ListItem}\n ref={forwardedRef}\n innerAs={as}\n {...otherProps}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxLabel\n\nexport type ComboboxLabelProps = Omit<\n ComboboxLabelPropsCore & TextProps,\n 'ref'\n> &\n RefAttributes<HTMLLabelElement>;\n\nconst ComboboxLabelCore: FC<ComboboxLabelProps> = _ComboboxLabelCore as any;\n\nexport const ComboboxLabel = forwardRef<HTMLLabelElement, ComboboxLabelProps>(\n (props, forwardedRef) => {\n const { as = 'label', ...otherProps } = props;\n return (\n <ComboboxLabelCore\n as={Text}\n ref={forwardedRef}\n innerAs={as}\n {...otherProps}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxButton\n\nexport type ComboboxButtonProps = ComboboxButtonPropsCore & ButtonProps;\n\nconst ComboboxButtonCore: FC<ComboboxButtonProps> = _ComboboxButtonCore as any;\n\nexport const ComboboxButton = forwardRef<\n HTMLButtonElement,\n ComboboxButtonProps\n>((props, forwardedRef) => {\n const { as = 'button', __css, children, ...otherProps } = props;\n return (\n <ComboboxButtonCore\n as={Button}\n ref={forwardedRef}\n innerAs={as}\n tabIndex={-1}\n variant=\"icon\"\n __css={{\n zIndex: 1,\n width: rem(40),\n height: rem(40),\n px: 0,\n '& > svg': {\n transition: `transform .15s ${EASING_STANDARD}, color .15s ${EASING_STANDARD}`,\n },\n '&[aria-expanded=\"false\"] > svg': {\n color: alpha('on.surface', 0.54),\n },\n '&[aria-expanded=\"true\"] > svg': {\n transform: 'rotate(180deg)',\n color: 'currentColor',\n },\n ...__css,\n }}\n {...otherProps}\n >\n {children || (\n <svg aria-hidden={true} viewBox=\"0 0 24 24\" width={24}>\n <path fill=\"currentColor\" d=\"M7 10l5 5 5-5z\" />\n </svg>\n )}\n </ComboboxButtonCore>\n );\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"Combobox.js","names":["forwardRef","Combobox","_ComboboxCore","ComboboxInput","_ComboboxInputCore","ComboboxLabel","_ComboboxLabelCore","ComboboxList","_ComboboxListCore","ComboboxOption","_ComboboxOptionCore","ComboboxPopover","_ComboboxPopoverCore","ComboboxButton","_ComboboxButtonCore","Popper","_PopperCore","useComboBoxContext","Box","TextField","List","listItemStyle","Text","Button","alpha","EASING_STANDARD","ComboboxCore","props","forwardedRef","as","__css","otherProps","position","ComboboxInputCore","ComboboxListCore","maxHeight","overflowY","borderRadius","transformOrigin","PopperCore","ComboboxPopperBox","anchorEl","ctx","inputRef","zIndex","width","ComboboxPopoverCore","ComboboxOptionCore","ComboboxLabelCore","ComboboxButtonCore","children","height","px","transition","color","transform"],"sources":["../../../src/Combobox/Combobox.tsx"],"sourcesContent":["import type { FC, HTMLAttributes, RefAttributes } from 'react';\nimport { forwardRef } from 'react';\nimport type {\n ComboboxProps as ComboboxPropsCore,\n ComboboxInputProps as ComboboxInputPropsCore,\n ComboboxLabelProps as ComboboxLabelPropsCore,\n ComboboxListProps as ComboboxListPropsCore,\n ComboboxOptionProps as ComboboxOptionPropsCore,\n ComboboxPopoverProps as ComboboxPopoverPropsCore,\n ComboboxButtonProps as ComboboxButtonPropsCore,\n PopperProps as PopperCoreProps,\n} from '@basic-ui/core';\nimport {\n Combobox as _ComboboxCore,\n ComboboxInput as _ComboboxInputCore,\n ComboboxLabel as _ComboboxLabelCore,\n ComboboxList as _ComboboxListCore,\n ComboboxOption as _ComboboxOptionCore,\n ComboboxPopover as _ComboboxPopoverCore,\n ComboboxButton as _ComboboxButtonCore,\n Popper as _PopperCore,\n useComboBoxContext,\n} from '@basic-ui/core';\nimport { rem } from 'polished';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\nimport type { TextFieldProps } from '../TextField';\nimport { TextField } from '../TextField';\nimport type { ListProps } from '../List';\nimport { List } from '../List';\nimport type { ListItemProps } from '../ListItem';\nimport { listItemStyle } from '../ListItem';\nimport type { TextProps } from '../Text';\nimport { Text } from '../Text';\nimport type { ButtonProps } from '../Button';\nimport { Button } from '../Button';\nimport { alpha } from '../color';\nimport { EASING_STANDARD } from '../motion';\n\nexport { useComboBoxContext } from '@basic-ui/core';\n\n/////////////////////////////////////////////////////\n// Combobox\n\nexport type ComboboxProps = Omit<\n BoxProps<HTMLDivElement, HTMLAttributes<HTMLDivElement>>,\n 'onSelect'\n> &\n ComboboxPropsCore;\n\nconst ComboboxCore: FC<ComboboxProps> = _ComboboxCore as any;\n\nexport const Combobox = forwardRef<HTMLDivElement, ComboboxProps>(\n (props, forwardedRef) => {\n const { as = 'div', __css, ...otherProps } = props;\n return (\n <ComboboxCore\n as={Box}\n ref={forwardedRef}\n innerAs={as}\n __css={{ position: 'relative', ...__css }}\n {...otherProps}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxInput\n\nexport type ComboboxInputProps = Omit<\n ComboboxInputPropsCore & TextFieldProps,\n 'ref'\n> &\n RefAttributes<HTMLInputElement>;\n\nconst ComboboxInputCore: FC<ComboboxInputProps> = _ComboboxInputCore as any;\n\nexport const ComboboxInput = forwardRef<HTMLInputElement, ComboboxInputProps>(\n (props, forwardedRef) => {\n const { as = 'input', ...otherProps } = props;\n return (\n <ComboboxInputCore\n as={TextField as any}\n ref={forwardedRef}\n innerAs={as}\n {...otherProps}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxList\n\nexport type ComboboxListProps = Omit<ComboboxListPropsCore & ListProps, 'ref'> &\n RefAttributes<HTMLUListElement>;\n\nconst ComboboxListCore: FC<ComboboxListProps> = _ComboboxListCore as any;\n\nexport const ComboboxList = forwardRef<HTMLUListElement, ComboboxListProps>(\n (props, forwardedRef) => {\n const { as = 'ul', __css, ...otherProps } = props;\n return (\n <ComboboxListCore\n as={List}\n ref={forwardedRef}\n innerAs={as}\n outlined={false}\n elevation={2}\n darkThemeBackgroundOverlay={2}\n __css={{\n maxHeight: rem(300),\n overflowY: 'auto',\n borderRadius: 'extra-small',\n '[data-popper-placement=\"top\"] &': {\n transformOrigin: 'bottom center',\n },\n '[data-popper-placement=\"bottom\"] &': {\n transformOrigin: 'top center',\n },\n '& [data-reach-combobox-option=\"\"]': {\n ...listItemStyle('primary'),\n },\n ...__css,\n }}\n {...otherProps}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxPopperBox\n\ntype PopperProps = BoxProps & PopperCoreProps;\n\nconst PopperCore: FC<PopperProps> = _PopperCore as any;\n\nconst ComboboxPopperBox = forwardRef<HTMLDivElement, PopperProps>(\n ({ __css, anchorEl, as = 'div', ...props }, forwardedRef) => {\n const ctx = useComboBoxContext();\n return (\n <PopperCore\n as={Box}\n innerAs={as}\n ref={forwardedRef}\n anchorEl={anchorEl || ctx.inputRef}\n __css={{ zIndex: 1, width: '100%', ...__css }}\n {...props}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxPopover\n\nexport type ComboboxPopoverProps = ComboboxPopoverPropsCore & ListProps;\n\nconst ComboboxPopoverCore: FC<ComboboxPopoverProps> =\n _ComboboxPopoverCore as any;\n\nexport const ComboboxPopover = forwardRef<HTMLDivElement, ComboboxPopoverProps>(\n (props, forwardedRef) => {\n const { as = 'div', ...otherProps } = props;\n return (\n <ComboboxPopoverCore\n as={ComboboxPopperBox}\n ref={forwardedRef}\n innerAs={as}\n {...otherProps}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxOption\n\nexport type ComboboxOptionProps = Omit<\n ComboboxOptionPropsCore & ListItemProps,\n 'ref'\n> &\n RefAttributes<HTMLLIElement>;\n\nconst ComboboxOptionCore: FC<ComboboxOptionProps> = _ComboboxOptionCore as any;\n\nexport const ComboboxOption = forwardRef<HTMLLIElement, ComboboxOptionProps>(\n (props, forwardedRef) => {\n const { as = 'li', ...otherProps } = props;\n return (\n <ComboboxOptionCore\n as={Box}\n ref={forwardedRef}\n innerAs={as}\n {...otherProps}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxLabel\n\nexport type ComboboxLabelProps = Omit<\n ComboboxLabelPropsCore & TextProps,\n 'ref'\n> &\n RefAttributes<HTMLLabelElement>;\n\nconst ComboboxLabelCore: FC<ComboboxLabelProps> = _ComboboxLabelCore as any;\n\nexport const ComboboxLabel = forwardRef<HTMLLabelElement, ComboboxLabelProps>(\n (props, forwardedRef) => {\n const { as = 'label', ...otherProps } = props;\n return (\n <ComboboxLabelCore\n as={Text}\n ref={forwardedRef}\n innerAs={as}\n {...otherProps}\n />\n );\n }\n);\n\n/////////////////////////////////////////////////////\n// ComboboxButton\n\nexport type ComboboxButtonProps = ComboboxButtonPropsCore & ButtonProps;\n\nconst ComboboxButtonCore: FC<ComboboxButtonProps> = _ComboboxButtonCore as any;\n\nexport const ComboboxButton = forwardRef<\n HTMLButtonElement,\n ComboboxButtonProps\n>((props, forwardedRef) => {\n const { as = 'button', __css, children, ...otherProps } = props;\n return (\n <ComboboxButtonCore\n as={Button}\n ref={forwardedRef}\n innerAs={as}\n tabIndex={-1}\n variant=\"icon\"\n __css={{\n zIndex: 1,\n width: rem(40),\n height: rem(40),\n px: 0,\n '& > svg': {\n transition: `transform .15s ${EASING_STANDARD}, color .15s ${EASING_STANDARD}`,\n },\n '&[aria-expanded=\"false\"] > svg': {\n color: alpha('on.surface', 0.54),\n },\n '&[aria-expanded=\"true\"] > svg': {\n transform: 'rotate(180deg)',\n color: 'currentColor',\n },\n ...__css,\n }}\n {...otherProps}\n >\n {children || (\n <svg aria-hidden={true} viewBox=\"0 0 24 24\" width={24}>\n <path fill=\"currentColor\" d=\"M7 10l5 5 5-5z\" />\n </svg>\n )}\n </ComboboxButtonCore>\n );\n});\n"],"mappings":"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"}
@@ -17,4 +17,4 @@ export interface DialogProps extends DialogSurfaceProps {
17
17
  containerProps?: DialogContainerProps;
18
18
  scrimProps?: ScrimProps;
19
19
  }
20
- export declare const Dialog: import("react").ForwardRefExoticComponent<Pick<DialogProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "elevation" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "outlined" | "backgroundOverlay" | "darkThemeBackgroundOverlay" | "key" | "open" | "onClose" | "innerAs" | "trapFocus" | "openTimeoutInMilliseconds" | "closeTimeoutInMilliseconds" | "disableEscapeKeyDown" | "containerProps" | "disableBackdropClick" | "animationMode" | "backdropProps" | "scrimProps"> & import("react").RefAttributes<HTMLDivElement>>;
20
+ export declare const Dialog: import("react").ForwardRefExoticComponent<Pick<DialogProps, "onKeyDown" | "onPointerDown" | "style" | "hidden" | "color" | "bottom" | "left" | "right" | "top" | "size" | "flex" | "open" | "border" | "padding" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "textAlign" | "textShadow" | "translate" | "verticalAlign" | "width" | "background" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "gridColumnGap" | "gridGap" | "gridRowGap" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "borderX" | "borderY" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "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" | "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" | "key" | "outlined" | "innerAs" | "elevation" | "backgroundOverlay" | "darkThemeBackgroundOverlay" | "containerProps" | "onClose" | "trapFocus" | "disableEscapeKeyDown" | "closeTimeoutInMilliseconds" | "openTimeoutInMilliseconds" | "disableBackdropClick" | "animationMode" | "backdropProps" | "scrimProps"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -4,4 +4,4 @@ import type { BoxProps } from '../Box';
4
4
  export declare type DialogBackdropProps = ModalBackdropProps & BoxProps & {
5
5
  open?: boolean;
6
6
  };
7
- export declare const DialogBackdrop: import("react").ForwardRefExoticComponent<Pick<DialogBackdropProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "open" | "onClose" | "innerAs" | "disableCloseOnClick" | "disableEscapeKeyDown"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ export declare const DialogBackdrop: import("react").ForwardRefExoticComponent<Pick<DialogBackdropProps, "onKeyDown" | "onPointerDown" | "style" | "hidden" | "color" | "bottom" | "left" | "right" | "top" | "size" | "flex" | "open" | "border" | "padding" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "textAlign" | "textShadow" | "translate" | "verticalAlign" | "width" | "background" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "gridColumnGap" | "gridGap" | "gridRowGap" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "borderX" | "borderY" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "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" | "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" | "key" | "innerAs" | "onClose" | "disableCloseOnClick" | "disableEscapeKeyDown"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -4,4 +4,4 @@ import type { PaperProps } from '../Paper';
4
4
  export declare type DialogSurfaceProps = ModalProps & PaperProps & {
5
5
  variant?: 'base';
6
6
  };
7
- export declare const DialogSurface: import("react").ForwardRefExoticComponent<Pick<DialogSurfaceProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "elevation" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "outlined" | "backgroundOverlay" | "darkThemeBackgroundOverlay" | "key" | "innerAs" | "trapFocus"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ export declare const DialogSurface: import("react").ForwardRefExoticComponent<Pick<DialogSurfaceProps, "onKeyDown" | "onPointerDown" | "style" | "hidden" | "color" | "bottom" | "left" | "right" | "top" | "size" | "flex" | "border" | "padding" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "textAlign" | "textShadow" | "translate" | "verticalAlign" | "width" | "background" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "gridColumnGap" | "gridGap" | "gridRowGap" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "borderX" | "borderY" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "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" | "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" | "key" | "outlined" | "innerAs" | "elevation" | "backgroundOverlay" | "darkThemeBackgroundOverlay" | "trapFocus"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import type { BoxProps } from '../Box';
3
3
  export declare type ScrimProps = BoxProps;
4
- export declare const Scrim: import("react").ForwardRefExoticComponent<Pick<ScrimProps, "translate" | "hidden" | keyof import("../Box").BaseProps | keyof import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").GridProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ShadowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ export declare const Scrim: import("react").ForwardRefExoticComponent<Pick<ScrimProps, "onKeyDown" | "onPointerDown" | "style" | "hidden" | "translate" | keyof import("../Box").BaseProps | keyof import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").GridProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ShadowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "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" | "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" | "key"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -4,4 +4,4 @@ export interface DividerProps extends BoxProps {
4
4
  as?: ElementType<any>;
5
5
  direction?: 'vertical' | 'horizontal';
6
6
  }
7
- export declare const Divider: import("react").ForwardRefExoticComponent<Pick<DividerProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "direction" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ export declare const Divider: import("react").ForwardRefExoticComponent<Pick<DividerProps, "onKeyDown" | "onPointerDown" | "style" | "hidden" | "color" | "bottom" | "left" | "right" | "top" | "size" | "flex" | "border" | "padding" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "direction" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "textAlign" | "textShadow" | "translate" | "verticalAlign" | "width" | "background" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "gridColumnGap" | "gridGap" | "gridRowGap" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "borderX" | "borderY" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "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" | "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" | "key"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -6,4 +6,4 @@ export interface LinkProps extends BoxProps<HTMLAnchorElement, AnchorHTMLAttribu
6
6
  replace?: boolean;
7
7
  state?: any;
8
8
  }
9
- export declare const Link: import("react").ForwardRefExoticComponent<Pick<LinkProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "replace" | "type" | "to" | "download" | "state" | "href" | "hrefLang" | "media" | "ping" | "rel" | "target" | "referrerPolicy"> & import("react").RefAttributes<HTMLAnchorElement>>;
9
+ export declare const Link: import("react").ForwardRefExoticComponent<Pick<LinkProps, "onKeyDown" | "onPointerDown" | "style" | "hidden" | "color" | "bottom" | "left" | "right" | "top" | "size" | "flex" | "border" | "padding" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "textAlign" | "textShadow" | "translate" | "verticalAlign" | "width" | "background" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "gridColumnGap" | "gridGap" | "gridRowGap" | "replace" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "borderX" | "borderY" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "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" | "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" | "key" | "type" | "media" | "target" | "href" | "to" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "state"> & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -24,6 +24,12 @@ export var Link = /*#__PURE__*/forwardRef(function Link(props, forwardedRef) {
24
24
  letterSpacing: 'inherit',
25
25
  color: color,
26
26
  textDecoration: 'underline',
27
+ background: 'none',
28
+ border: 'none',
29
+ borderRadius: 'extra-small',
30
+ 'button&': {
31
+ cursor: 'pointer'
32
+ },
27
33
  '&:hover,&:focus': {
28
34
  textDecoration: 'none'
29
35
  },
@@ -35,6 +41,12 @@ export var Link = /*#__PURE__*/forwardRef(function Link(props, forwardedRef) {
35
41
  '&:active': {
36
42
  bg: alpha(color, 0.16)
37
43
  },
44
+ '&[aria-disabled="true"],&:disabled': {
45
+ color: 'on.surface',
46
+ opacity: 0.38,
47
+ cursor: 'default',
48
+ pointerEvents: 'none'
49
+ },
38
50
  WebkitTapHighlightColor: 'transparent'
39
51
  }, __css)
40
52
  }, otherProps));
@@ -1 +1 @@
1
- {"version":3,"file":"Link.js","names":["forwardRef","Box","alpha","Link","props","forwardedRef","as","asProp","color","__css","otherProps","fontFamily","fontSize","fontWeight","lineHeight","letterSpacing","textDecoration","outlineWidth","outlineStyle","outlineColor","bg","WebkitTapHighlightColor"],"sources":["../../../src/Link/Link.tsx"],"sourcesContent":["import type { AnchorHTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\nimport { rem } from 'polished';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\nimport { alpha } from '../color';\n\nexport interface LinkProps\n extends BoxProps<HTMLAnchorElement, AnchorHTMLAttributes<HTMLAnchorElement>> {\n color?: string;\n // ReachRouter Props\n to?: string;\n replace?: boolean;\n state?: any;\n}\n\nexport const Link = forwardRef<HTMLAnchorElement, LinkProps>(function Link(\n props,\n forwardedRef\n) {\n const { as: asProp = 'a', color = 'primary', __css, ...otherProps } = props;\n\n return (\n <Box\n ref={forwardedRef as any}\n as={asProp}\n __css={{\n fontFamily: 'inherit',\n fontSize: 'inherit',\n fontWeight: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit',\n color,\n textDecoration: 'underline',\n '&:hover,&:focus': {\n textDecoration: 'none',\n },\n '&:focus,&:active': {\n outlineWidth: rem(1),\n outlineStyle: 'solid',\n outlineColor: alpha(color, 0.87),\n },\n '&:active': {\n bg: alpha(color, 0.16),\n },\n WebkitTapHighlightColor: 'transparent',\n ...__css,\n }}\n {...otherProps}\n />\n );\n});\n"],"mappings":";;;AACA,SAASA,UAAT,QAA2B,OAA3B;AAIA,SAASC,GAAT,QAAoB,QAApB;AACA,SAASC,KAAT,QAAsB,UAAtB;;AAWA,OAAO,IAAMC,IAAI,gBAAGH,UAAU,CAA+B,SAASG,IAAT,CAC3DC,KAD2D,EAE3DC,YAF2D,EAG3D;EACA,gBAAsED,KAAtE,CAAQE,EAAR;EAAA,IAAYC,MAAZ,0BAAqB,GAArB;EAAA,mBAAsEH,KAAtE,CAA0BI,KAA1B;EAAA,IAA0BA,KAA1B,6BAAkC,SAAlC;EAAA,IAA6CC,KAA7C,GAAsEL,KAAtE,CAA6CK,KAA7C;EAAA,IAAuDC,UAAvD,4BAAsEN,KAAtE;;EAEA,oBACE,KAAC,GAAD;IACE,GAAG,EAAEC,YADP;IAEE,EAAE,EAAEE,MAFN;IAGE,KAAK;MACHI,UAAU,EAAE,SADT;MAEHC,QAAQ,EAAE,SAFP;MAGHC,UAAU,EAAE,SAHT;MAIHC,UAAU,EAAE,SAJT;MAKHC,aAAa,EAAE,SALZ;MAMHP,KAAK,EAALA,KANG;MAOHQ,cAAc,EAAE,WAPb;MAQH,mBAAmB;QACjBA,cAAc,EAAE;MADC,CARhB;MAWH,oBAAoB;QAClBC,YAAY,aADM;QAElBC,YAAY,EAAE,OAFI;QAGlBC,YAAY,EAAEjB,KAAK,CAACM,KAAD,EAAQ,IAAR;MAHD,CAXjB;MAgBH,YAAY;QACVY,EAAE,EAAElB,KAAK,CAACM,KAAD,EAAQ,IAAR;MADC,CAhBT;MAmBHa,uBAAuB,EAAE;IAnBtB,GAoBAZ,KApBA;EAHP,GAyBMC,UAzBN,EADF;AA6BD,CAnC6B,CAAvB"}
1
+ {"version":3,"file":"Link.js","names":["forwardRef","Box","alpha","Link","props","forwardedRef","as","asProp","color","__css","otherProps","fontFamily","fontSize","fontWeight","lineHeight","letterSpacing","textDecoration","background","border","borderRadius","cursor","outlineWidth","outlineStyle","outlineColor","bg","opacity","pointerEvents","WebkitTapHighlightColor"],"sources":["../../../src/Link/Link.tsx"],"sourcesContent":["import type { AnchorHTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\nimport { rem } from 'polished';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\nimport { alpha } from '../color';\n\nexport interface LinkProps\n extends BoxProps<HTMLAnchorElement, AnchorHTMLAttributes<HTMLAnchorElement>> {\n color?: string;\n // ReachRouter Props\n to?: string;\n replace?: boolean;\n state?: any;\n}\n\nexport const Link = forwardRef<HTMLAnchorElement, LinkProps>(function Link(\n props,\n forwardedRef\n) {\n const { as: asProp = 'a', color = 'primary', __css, ...otherProps } = props;\n\n return (\n <Box\n ref={forwardedRef as any}\n as={asProp}\n __css={{\n fontFamily: 'inherit',\n fontSize: 'inherit',\n fontWeight: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit',\n color,\n textDecoration: 'underline',\n background: 'none',\n border: 'none',\n borderRadius: 'extra-small',\n 'button&': {\n cursor: 'pointer',\n },\n '&:hover,&:focus': {\n textDecoration: 'none',\n },\n '&:focus,&:active': {\n outlineWidth: rem(1),\n outlineStyle: 'solid',\n outlineColor: alpha(color, 0.87),\n },\n '&:active': {\n bg: alpha(color, 0.16),\n },\n '&[aria-disabled=\"true\"],&:disabled': {\n color: 'on.surface',\n opacity: 0.38,\n cursor: 'default',\n pointerEvents: 'none',\n },\n WebkitTapHighlightColor: 'transparent',\n ...__css,\n }}\n {...otherProps}\n />\n );\n});\n"],"mappings":";;;AACA,SAASA,UAAT,QAA2B,OAA3B;AAIA,SAASC,GAAT,QAAoB,QAApB;AACA,SAASC,KAAT,QAAsB,UAAtB;;AAWA,OAAO,IAAMC,IAAI,gBAAGH,UAAU,CAA+B,SAASG,IAAT,CAC3DC,KAD2D,EAE3DC,YAF2D,EAG3D;EACA,gBAAsED,KAAtE,CAAQE,EAAR;EAAA,IAAYC,MAAZ,0BAAqB,GAArB;EAAA,mBAAsEH,KAAtE,CAA0BI,KAA1B;EAAA,IAA0BA,KAA1B,6BAAkC,SAAlC;EAAA,IAA6CC,KAA7C,GAAsEL,KAAtE,CAA6CK,KAA7C;EAAA,IAAuDC,UAAvD,4BAAsEN,KAAtE;;EAEA,oBACE,KAAC,GAAD;IACE,GAAG,EAAEC,YADP;IAEE,EAAE,EAAEE,MAFN;IAGE,KAAK;MACHI,UAAU,EAAE,SADT;MAEHC,QAAQ,EAAE,SAFP;MAGHC,UAAU,EAAE,SAHT;MAIHC,UAAU,EAAE,SAJT;MAKHC,aAAa,EAAE,SALZ;MAMHP,KAAK,EAALA,KANG;MAOHQ,cAAc,EAAE,WAPb;MAQHC,UAAU,EAAE,MART;MASHC,MAAM,EAAE,MATL;MAUHC,YAAY,EAAE,aAVX;MAWH,WAAW;QACTC,MAAM,EAAE;MADC,CAXR;MAcH,mBAAmB;QACjBJ,cAAc,EAAE;MADC,CAdhB;MAiBH,oBAAoB;QAClBK,YAAY,aADM;QAElBC,YAAY,EAAE,OAFI;QAGlBC,YAAY,EAAErB,KAAK,CAACM,KAAD,EAAQ,IAAR;MAHD,CAjBjB;MAsBH,YAAY;QACVgB,EAAE,EAAEtB,KAAK,CAACM,KAAD,EAAQ,IAAR;MADC,CAtBT;MAyBH,sCAAsC;QACpCA,KAAK,EAAE,YAD6B;QAEpCiB,OAAO,EAAE,IAF2B;QAGpCL,MAAM,EAAE,SAH4B;QAIpCM,aAAa,EAAE;MAJqB,CAzBnC;MA+BHC,uBAAuB,EAAE;IA/BtB,GAgCAlB,KAhCA;EAHP,GAqCMC,UArCN,EADF;AAyCD,CA/C6B,CAAvB"}
@@ -1,4 +1,5 @@
1
1
  import type { ElementType, ReactNode } from 'react';
2
+ import type { SystemStyleObject } from '@styled-system/css';
2
3
  import type { BoxProps } from '../Box';
3
4
  export interface ListItemProps extends BoxProps {
4
5
  as?: ElementType<any>;
@@ -9,4 +10,5 @@ export interface ListItemProps extends BoxProps {
9
10
  color?: string;
10
11
  rippleColor?: string;
11
12
  }
12
- export declare const ListItem: import("react").ForwardRefExoticComponent<Pick<ListItemProps, "bottom" | "top" | "hidden" | "left" | "right" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "m" | "margin" | "mt" | "marginTop" | "mr" | "marginRight" | "mb" | "marginBottom" | "ml" | "marginLeft" | "mx" | "marginX" | "my" | "marginY" | "p" | "padding" | "pt" | "paddingTop" | "pr" | "paddingRight" | "pb" | "paddingBottom" | "pl" | "paddingLeft" | "px" | "paddingX" | "py" | "paddingY" | "width" | "height" | "minWidth" | "minHeight" | "maxWidth" | "maxHeight" | "display" | "verticalAlign" | "size" | "overflow" | "overflowX" | "overflowY" | "fontFamily" | "fontSize" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontStyle" | "textAlign" | "color" | "bg" | "backgroundColor" | "opacity" | "alignItems" | "alignContent" | "justifyItems" | "justifyContent" | "flexWrap" | "flexDirection" | "flex" | "flexGrow" | "flexShrink" | "flexBasis" | "justifySelf" | "alignSelf" | "order" | "border" | "borderX" | "borderY" | "borderWidth" | "borderTopWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRightStyle" | "borderColor" | "borderTopColor" | "borderBottomColor" | "borderLeftColor" | "borderRightColor" | "borderRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "gridGap" | "gridColumnGap" | "gridRowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "background" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "position" | "zIndex" | "boxShadow" | "textShadow" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "innerAs" | "disabled" | "selected" | "rippleColor" | "key"> & import("react").RefAttributes<HTMLDivElement>>;
13
+ export declare const listItemStyle: (color: string, hoverOpacity?: number, focusOpacity?: number) => SystemStyleObject;
14
+ export declare const ListItem: import("react").ForwardRefExoticComponent<Pick<ListItemProps, "rippleColor" | "onKeyDown" | "onPointerDown" | "style" | "hidden" | "color" | "bottom" | "left" | "right" | "top" | "size" | "flex" | "border" | "padding" | "disabled" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "textAlign" | "textShadow" | "translate" | "verticalAlign" | "width" | "background" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "gridColumnGap" | "gridGap" | "gridRowGap" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "borderX" | "borderY" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "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" | "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" | "key" | "innerAs" | "selected"> & import("react").RefAttributes<HTMLDivElement>>;