@mongodb-js/compass-components 1.41.0 → 1.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/lib/components/accordion.js +19 -10
  2. package/lib/components/accordion.js.map +1 -1
  3. package/lib/components/actions/action-glyph.d.ts.map +1 -1
  4. package/lib/components/actions/action-glyph.js.map +1 -1
  5. package/lib/components/actions/dropdown-menu-button.d.ts +2 -1
  6. package/lib/components/actions/dropdown-menu-button.d.ts.map +1 -1
  7. package/lib/components/actions/dropdown-menu-button.js +24 -13
  8. package/lib/components/actions/dropdown-menu-button.js.map +1 -1
  9. package/lib/components/actions/item-action-button.js +1 -2
  10. package/lib/components/actions/item-action-button.js.map +1 -1
  11. package/lib/components/actions/item-action-controls.js +18 -9
  12. package/lib/components/actions/item-action-controls.js.map +1 -1
  13. package/lib/components/actions/item-action-group.js +18 -9
  14. package/lib/components/actions/item-action-group.js.map +1 -1
  15. package/lib/components/actions/item-action-menu.js +19 -10
  16. package/lib/components/actions/item-action-menu.js.map +1 -1
  17. package/lib/components/actions/small-icon-button.js +17 -7
  18. package/lib/components/actions/small-icon-button.js.map +1 -1
  19. package/lib/components/actions/types.d.ts +0 -1
  20. package/lib/components/actions/types.d.ts.map +1 -1
  21. package/lib/components/actions/utils.js +1 -2
  22. package/lib/components/actions/utils.js.map +1 -1
  23. package/lib/components/breadcrumb.d.ts +1 -1
  24. package/lib/components/breadcrumb.d.ts.map +1 -1
  25. package/lib/components/breadcrumb.js +17 -7
  26. package/lib/components/breadcrumb.js.map +1 -1
  27. package/lib/components/bson-value.js +17 -7
  28. package/lib/components/bson-value.js.map +1 -1
  29. package/lib/components/collapsible-field-set.d.ts.map +1 -1
  30. package/lib/components/combobox-with-custom-option.d.ts.map +1 -1
  31. package/lib/components/combobox-with-custom-option.js +17 -7
  32. package/lib/components/combobox-with-custom-option.js.map +1 -1
  33. package/lib/components/compass-components-provider.d.ts.map +1 -1
  34. package/lib/components/compass-components-provider.js +17 -7
  35. package/lib/components/compass-components-provider.js.map +1 -1
  36. package/lib/components/content-with-fallback.js +17 -7
  37. package/lib/components/content-with-fallback.js.map +1 -1
  38. package/lib/components/context-menu.js +21 -12
  39. package/lib/components/context-menu.js.map +1 -1
  40. package/lib/components/document-list/auto-focus-context.d.ts +0 -1
  41. package/lib/components/document-list/auto-focus-context.d.ts.map +1 -1
  42. package/lib/components/document-list/auto-focus-context.js +2 -2
  43. package/lib/components/document-list/auto-focus-context.js.map +1 -1
  44. package/lib/components/document-list/document-actions-group.js +17 -7
  45. package/lib/components/document-list/document-actions-group.js.map +1 -1
  46. package/lib/components/document-list/document-edit-actions-footer.js +17 -7
  47. package/lib/components/document-list/document-edit-actions-footer.js.map +1 -1
  48. package/lib/components/document-list/document.d.ts +2 -0
  49. package/lib/components/document-list/document.d.ts.map +1 -1
  50. package/lib/components/document-list/document.js +19 -9
  51. package/lib/components/document-list/document.js.map +1 -1
  52. package/lib/components/document-list/element-actions.js +17 -7
  53. package/lib/components/document-list/element-actions.js.map +1 -1
  54. package/lib/components/document-list/element-editors.js +17 -7
  55. package/lib/components/document-list/element-editors.js.map +1 -1
  56. package/lib/components/document-list/element.d.ts +7 -0
  57. package/lib/components/document-list/element.d.ts.map +1 -1
  58. package/lib/components/document-list/element.js +90 -13
  59. package/lib/components/document-list/element.js.map +1 -1
  60. package/lib/components/document-list/use-force-update.js +1 -2
  61. package/lib/components/document-list/use-force-update.js.map +1 -1
  62. package/lib/components/document-list/use-previous.js +1 -2
  63. package/lib/components/document-list/use-previous.js.map +1 -1
  64. package/lib/components/document-list/visible-field-toggle.js +17 -7
  65. package/lib/components/document-list/visible-field-toggle.js.map +1 -1
  66. package/lib/components/error-boundary.js.map +1 -1
  67. package/lib/components/error-warning-summary.js +17 -7
  68. package/lib/components/error-warning-summary.js.map +1 -1
  69. package/lib/components/feedback-popover.d.ts.map +1 -1
  70. package/lib/components/feedback-popover.js +17 -7
  71. package/lib/components/feedback-popover.js.map +1 -1
  72. package/lib/components/file-input.js +20 -10
  73. package/lib/components/file-input.js.map +1 -1
  74. package/lib/components/guide-cue/guide-cue-service.js.map +1 -1
  75. package/lib/components/guide-cue/guide-cue-storage.js.map +1 -1
  76. package/lib/components/guide-cue/guide-cue.d.ts.map +1 -1
  77. package/lib/components/guide-cue/guide-cue.js +17 -7
  78. package/lib/components/guide-cue/guide-cue.js.map +1 -1
  79. package/lib/components/horizontal-rule.js +17 -7
  80. package/lib/components/horizontal-rule.js.map +1 -1
  81. package/lib/components/icons/document-icon.js +17 -7
  82. package/lib/components/icons/document-icon.js.map +1 -1
  83. package/lib/components/icons/favorite-icon.js +1 -2
  84. package/lib/components/icons/favorite-icon.js.map +1 -1
  85. package/lib/components/icons/logo-icon.d.ts +2 -2
  86. package/lib/components/icons/logo-icon.d.ts.map +1 -1
  87. package/lib/components/icons/no-saved-items-icon.js +17 -7
  88. package/lib/components/icons/no-saved-items-icon.js.map +1 -1
  89. package/lib/components/icons/server-icon.d.ts +3 -3
  90. package/lib/components/icons/server-icon.d.ts.map +1 -1
  91. package/lib/components/index-icon.d.ts +1 -1
  92. package/lib/components/index-icon.d.ts.map +1 -1
  93. package/lib/components/inline-info-link.d.ts +0 -1
  94. package/lib/components/inline-info-link.d.ts.map +1 -1
  95. package/lib/components/inline-info-link.js +1 -2
  96. package/lib/components/inline-info-link.js.map +1 -1
  97. package/lib/components/interactive-popover.js +18 -9
  98. package/lib/components/interactive-popover.js.map +1 -1
  99. package/lib/components/keyline-card.d.ts +1 -1
  100. package/lib/components/keyline-card.d.ts.map +1 -1
  101. package/lib/components/keyline-card.js +17 -7
  102. package/lib/components/keyline-card.js.map +1 -1
  103. package/lib/components/leafygreen.d.ts +2 -4
  104. package/lib/components/leafygreen.d.ts.map +1 -1
  105. package/lib/components/leafygreen.js +19 -12
  106. package/lib/components/leafygreen.js.map +1 -1
  107. package/lib/components/links/link.d.ts +8 -787
  108. package/lib/components/links/link.d.ts.map +1 -1
  109. package/lib/components/links/link.js +19 -9
  110. package/lib/components/links/link.js.map +1 -1
  111. package/lib/components/list-editor.js +1 -2
  112. package/lib/components/list-editor.js.map +1 -1
  113. package/lib/components/loader.js +3 -4
  114. package/lib/components/loader.js.map +1 -1
  115. package/lib/components/modals/form-modal.js +2 -2
  116. package/lib/components/modals/form-modal.js.map +1 -1
  117. package/lib/components/modals/info-modal.js +1 -2
  118. package/lib/components/modals/info-modal.js.map +1 -1
  119. package/lib/components/modals/modal-body.js +18 -8
  120. package/lib/components/modals/modal-body.js.map +1 -1
  121. package/lib/components/modals/modal-footer-button.js +1 -2
  122. package/lib/components/modals/modal-footer-button.js.map +1 -1
  123. package/lib/components/modals/modal-header.js +2 -2
  124. package/lib/components/modals/modal-header.js.map +1 -1
  125. package/lib/components/modals/modal.d.ts +1 -1
  126. package/lib/components/modals/modal.d.ts.map +1 -1
  127. package/lib/components/options-toggle.js +17 -7
  128. package/lib/components/options-toggle.js.map +1 -1
  129. package/lib/components/placeholder.js +17 -7
  130. package/lib/components/placeholder.js.map +1 -1
  131. package/lib/components/radio-box-group.js +1 -2
  132. package/lib/components/radio-box-group.js.map +1 -1
  133. package/lib/components/resize-handle.js +20 -11
  134. package/lib/components/resize-handle.js.map +1 -1
  135. package/lib/components/resizeable-sidebar.d.ts +3 -3
  136. package/lib/components/resizeable-sidebar.d.ts.map +1 -1
  137. package/lib/components/resizeable-sidebar.js +17 -7
  138. package/lib/components/resizeable-sidebar.js.map +1 -1
  139. package/lib/components/select-list.js +18 -9
  140. package/lib/components/select-list.js.map +1 -1
  141. package/lib/components/signal-popover.js +17 -7
  142. package/lib/components/signal-popover.js.map +1 -1
  143. package/lib/components/signals.d.ts +1 -1
  144. package/lib/components/signals.d.ts.map +1 -1
  145. package/lib/components/tab-nav-bar.js +1 -2
  146. package/lib/components/tab-nav-bar.js.map +1 -1
  147. package/lib/components/toast-body.js +1 -2
  148. package/lib/components/toast-body.js.map +1 -1
  149. package/lib/components/virtual-grid.js +17 -7
  150. package/lib/components/virtual-grid.js.map +1 -1
  151. package/lib/components/virtual-list.js +18 -9
  152. package/lib/components/virtual-list.js.map +1 -1
  153. package/lib/components/workspace-container.js +18 -9
  154. package/lib/components/workspace-container.js.map +1 -1
  155. package/lib/components/workspace-tabs/tab.js +21 -12
  156. package/lib/components/workspace-tabs/tab.js.map +1 -1
  157. package/lib/components/workspace-tabs/use-tab-theme.js +19 -9
  158. package/lib/components/workspace-tabs/use-tab-theme.js.map +1 -1
  159. package/lib/components/workspace-tabs/workspace-tabs.js +21 -11
  160. package/lib/components/workspace-tabs/workspace-tabs.js.map +1 -1
  161. package/lib/hooks/use-confirmation.d.ts.map +1 -1
  162. package/lib/hooks/use-confirmation.js +21 -11
  163. package/lib/hooks/use-confirmation.js.map +1 -1
  164. package/lib/hooks/use-default-action.d.ts +0 -1
  165. package/lib/hooks/use-default-action.d.ts.map +1 -1
  166. package/lib/hooks/use-default-action.js +1 -2
  167. package/lib/hooks/use-default-action.js.map +1 -1
  168. package/lib/hooks/use-dom-rect.d.ts +0 -1
  169. package/lib/hooks/use-dom-rect.d.ts.map +1 -1
  170. package/lib/hooks/use-dom-rect.js +1 -2
  171. package/lib/hooks/use-dom-rect.js.map +1 -1
  172. package/lib/hooks/use-effect-on-change.js +1 -2
  173. package/lib/hooks/use-effect-on-change.js.map +1 -1
  174. package/lib/hooks/use-error-details.d.ts +1 -1
  175. package/lib/hooks/use-error-details.d.ts.map +1 -1
  176. package/lib/hooks/use-focus-hover.js +4 -4
  177. package/lib/hooks/use-focus-hover.js.map +1 -1
  178. package/lib/hooks/use-focus-ring.js +2 -2
  179. package/lib/hooks/use-focus-ring.js.map +1 -1
  180. package/lib/hooks/use-formatted-date.js +1 -2
  181. package/lib/hooks/use-formatted-date.js.map +1 -1
  182. package/lib/hooks/use-hotkeys.d.ts.map +1 -1
  183. package/lib/hooks/use-persisted-state.d.ts +0 -1
  184. package/lib/hooks/use-persisted-state.d.ts.map +1 -1
  185. package/lib/hooks/use-persisted-state.js +1 -2
  186. package/lib/hooks/use-persisted-state.js.map +1 -1
  187. package/lib/hooks/use-scrollbars.d.ts.map +1 -1
  188. package/lib/hooks/use-scrollbars.js +20 -10
  189. package/lib/hooks/use-scrollbars.js.map +1 -1
  190. package/lib/hooks/use-sort.js +19 -10
  191. package/lib/hooks/use-sort.js.map +1 -1
  192. package/lib/hooks/use-stacked-component.d.ts.map +1 -1
  193. package/lib/hooks/use-stacked-component.js +17 -7
  194. package/lib/hooks/use-stacked-component.js.map +1 -1
  195. package/lib/hooks/use-theme.d.ts.map +1 -1
  196. package/lib/hooks/use-theme.js +20 -11
  197. package/lib/hooks/use-theme.js.map +1 -1
  198. package/lib/hooks/use-toast.d.ts +1 -1
  199. package/lib/hooks/use-toast.d.ts.map +1 -1
  200. package/lib/hooks/use-toast.js +22 -12
  201. package/lib/hooks/use-toast.js.map +1 -1
  202. package/lib/hooks/use-virtual-grid.js +1 -2
  203. package/lib/hooks/use-virtual-grid.js.map +1 -1
  204. package/lib/hooks/use-virtual-list-item-observer.d.ts +0 -1
  205. package/lib/hooks/use-virtual-list-item-observer.d.ts.map +1 -1
  206. package/lib/hooks/use-virtual-list-item-observer.js.map +1 -1
  207. package/lib/index.js +17 -7
  208. package/lib/index.js.map +1 -1
  209. package/lib/utils/format-date.js +1 -2
  210. package/lib/utils/format-date.js.map +1 -1
  211. package/lib/utils/merge-props.js +1 -2
  212. package/lib/utils/merge-props.js.map +1 -1
  213. package/lib/utils/rafraf.js +1 -2
  214. package/lib/utils/rafraf.js.map +1 -1
  215. package/lib/utils/reset-global-css.js +1 -2
  216. package/lib/utils/reset-global-css.js.map +1 -1
  217. package/package.json +11 -10
@@ -1,798 +1,19 @@
1
1
  import React from 'react';
2
+ import { Link as LGLink } from '@leafygreen-ui/typography';
3
+ import LGButton from '@leafygreen-ui/button';
4
+ import LGIconButton from '@leafygreen-ui/icon-button';
2
5
  type RequiredURLSearchParamsContextValue = {
3
6
  utmSource?: string;
4
7
  utmMedium?: string;
5
8
  };
6
9
  export declare const RequiredURLSearchParamsProvider: React.FC<RequiredURLSearchParamsContextValue>;
7
10
  export declare const urlWithUtmParams: (urlString: string, { utmSource, utmMedium }: {
8
- utmSource?: string | undefined;
9
- utmMedium?: string | undefined;
11
+ utmSource?: string;
12
+ utmMedium?: string;
10
13
  }) => string;
11
14
  export declare function useRequiredURLSearchParams(): RequiredURLSearchParamsContextValue;
12
- export declare const Link: import("@leafygreen-ui/polymorphic").InferredPolymorphicComponentType<import("@leafygreen-ui/typography/dist/Link/Link/Link.types").BaseLinkProps, "span">;
13
- export declare const Button: React.ForwardRefExoticComponent<((Omit<Omit<{}, "as"> & {
14
- as: React.ComponentType<{
15
- children?: React.ReactNode;
16
- }>;
17
- }, keyof import("@leafygreen-ui/button").ButtonProps> & import("@leafygreen-ui/button").ButtonProps) | Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
18
- ref?: React.RefObject<HTMLAnchorElement> | ((instance: HTMLAnchorElement | null) => void) | null | undefined;
19
- }, "href" | "as"> & {
20
- as?: undefined;
21
- href: string;
22
- }, keyof import("@leafygreen-ui/button").ButtonProps> & import("@leafygreen-ui/button").ButtonProps, "ref"> | Omit<Omit<Omit<(Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
23
- ref?: ((instance: HTMLAnchorElement | null) => void) | React.RefObject<HTMLAnchorElement> | null | undefined;
24
- }) | (Omit<React.SVGProps<SVGSymbolElement>, "ref"> & {
25
- ref?: ((instance: SVGSymbolElement | null) => void) | React.RefObject<SVGSymbolElement> | null | undefined;
26
- }) | (Omit<React.DetailedHTMLProps<React.ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>, "ref"> & {
27
- ref?: ((instance: HTMLObjectElement | null) => void) | React.RefObject<HTMLObjectElement> | null | undefined;
28
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
29
- ref?: ((instance: HTMLElement | null) => void) | React.RefObject<HTMLElement> | null | undefined;
30
- }) | (Omit<React.DetailedHTMLProps<React.AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>, "ref"> & {
31
- ref?: ((instance: HTMLAreaElement | null) => void) | React.RefObject<HTMLAreaElement> | null | undefined;
32
- }) | (Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "ref"> & {
33
- ref?: ((instance: HTMLAudioElement | null) => void) | React.RefObject<HTMLAudioElement> | null | undefined;
34
- }) | (Omit<React.DetailedHTMLProps<React.BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>, "ref"> & {
35
- ref?: ((instance: HTMLBaseElement | null) => void) | React.RefObject<HTMLBaseElement> | null | undefined;
36
- }) | (Omit<React.DetailedHTMLProps<React.BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "ref"> & {
37
- ref?: ((instance: HTMLQuoteElement | null) => void) | React.RefObject<HTMLQuoteElement> | null | undefined;
38
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>, "ref"> & {
39
- ref?: ((instance: HTMLBodyElement | null) => void) | React.RefObject<HTMLBodyElement> | null | undefined;
40
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLBRElement>, HTMLBRElement>, "ref"> & {
41
- ref?: ((instance: HTMLBRElement | null) => void) | React.RefObject<HTMLBRElement> | null | undefined;
42
- }) | (Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
43
- ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
44
- }) | (Omit<React.DetailedHTMLProps<React.CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>, "ref"> & {
45
- ref?: ((instance: HTMLCanvasElement | null) => void) | React.RefObject<HTMLCanvasElement> | null | undefined;
46
- }) | (Omit<React.DetailedHTMLProps<React.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, "ref"> & {
47
- ref?: ((instance: HTMLTableColElement | null) => void) | React.RefObject<HTMLTableColElement> | null | undefined;
48
- }) | (Omit<React.DetailedHTMLProps<React.ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, "ref"> & {
49
- ref?: React.RefObject<HTMLTableColElement> | ((instance: HTMLTableColElement | null) => void) | null | undefined;
50
- }) | (Omit<React.DetailedHTMLProps<React.DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>, "ref"> & {
51
- ref?: ((instance: HTMLDataElement | null) => void) | React.RefObject<HTMLDataElement> | null | undefined;
52
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>, "ref"> & {
53
- ref?: ((instance: HTMLDataListElement | null) => void) | React.RefObject<HTMLDataListElement> | null | undefined;
54
- }) | (Omit<React.DetailedHTMLProps<React.DelHTMLAttributes<HTMLModElement>, HTMLModElement>, "ref"> & {
55
- ref?: ((instance: HTMLModElement | null) => void) | React.RefObject<HTMLModElement> | null | undefined;
56
- }) | (Omit<React.DetailedHTMLProps<React.DetailsHTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement>, "ref"> & {
57
- ref?: ((instance: HTMLDetailsElement | null) => void) | React.RefObject<HTMLDetailsElement> | null | undefined;
58
- }) | (Omit<React.DetailedHTMLProps<React.DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>, "ref"> & {
59
- ref?: ((instance: HTMLDialogElement | null) => void) | React.RefObject<HTMLDialogElement> | null | undefined;
60
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
61
- ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
62
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDListElement>, HTMLDListElement>, "ref"> & {
63
- ref?: ((instance: HTMLDListElement | null) => void) | React.RefObject<HTMLDListElement> | null | undefined;
64
- }) | (Omit<React.DetailedHTMLProps<React.EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>, "ref"> & {
65
- ref?: ((instance: HTMLEmbedElement | null) => void) | React.RefObject<HTMLEmbedElement> | null | undefined;
66
- }) | (Omit<React.DetailedHTMLProps<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "ref"> & {
67
- ref?: ((instance: HTMLFieldSetElement | null) => void) | React.RefObject<HTMLFieldSetElement> | null | undefined;
68
- }) | (Omit<React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & {
69
- ref?: ((instance: HTMLFormElement | null) => void) | React.RefObject<HTMLFormElement> | null | undefined;
70
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
71
- ref?: ((instance: HTMLHeadingElement | null) => void) | React.RefObject<HTMLHeadingElement> | null | undefined;
72
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>, "ref"> & {
73
- ref?: ((instance: HTMLHeadElement | null) => void) | React.RefObject<HTMLHeadElement> | null | undefined;
74
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
75
- ref?: ((instance: HTMLHRElement | null) => void) | React.RefObject<HTMLHRElement> | null | undefined;
76
- }) | (Omit<React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>, "ref"> & {
77
- ref?: ((instance: HTMLHtmlElement | null) => void) | React.RefObject<HTMLHtmlElement> | null | undefined;
78
- }) | (Omit<React.DetailedHTMLProps<React.IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>, "ref"> & {
79
- ref?: ((instance: HTMLIFrameElement | null) => void) | React.RefObject<HTMLIFrameElement> | null | undefined;
80
- }) | (Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
81
- ref?: ((instance: HTMLImageElement | null) => void) | React.RefObject<HTMLImageElement> | null | undefined;
82
- }) | (Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
83
- ref?: ((instance: HTMLInputElement | null) => void) | React.RefObject<HTMLInputElement> | null | undefined;
84
- }) | (Omit<React.DetailedHTMLProps<React.InsHTMLAttributes<HTMLModElement>, HTMLModElement>, "ref"> & {
85
- ref?: React.RefObject<HTMLModElement> | ((instance: HTMLModElement | null) => void) | null | undefined;
86
- }) | (Omit<React.DetailedHTMLProps<React.KeygenHTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
87
- ref?: React.RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
88
- }) | (Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
89
- ref?: ((instance: HTMLLabelElement | null) => void) | React.RefObject<HTMLLabelElement> | null | undefined;
90
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>, "ref"> & {
91
- ref?: ((instance: HTMLLegendElement | null) => void) | React.RefObject<HTMLLegendElement> | null | undefined;
92
- }) | (Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
93
- ref?: ((instance: HTMLLIElement | null) => void) | React.RefObject<HTMLLIElement> | null | undefined;
94
- }) | (Omit<React.DetailedHTMLProps<React.LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>, "ref"> & {
95
- ref?: ((instance: HTMLLinkElement | null) => void) | React.RefObject<HTMLLinkElement> | null | undefined;
96
- }) | (Omit<React.DetailedHTMLProps<React.MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>, "ref"> & {
97
- ref?: ((instance: HTMLMapElement | null) => void) | React.RefObject<HTMLMapElement> | null | undefined;
98
- }) | (Omit<React.DetailedHTMLProps<React.MenuHTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
99
- ref?: React.RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
100
- }) | (Omit<React.DetailedHTMLProps<React.MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>, "ref"> & {
101
- ref?: ((instance: HTMLMetaElement | null) => void) | React.RefObject<HTMLMetaElement> | null | undefined;
102
- }) | (Omit<React.DetailedHTMLProps<React.MeterHTMLAttributes<HTMLMeterElement>, HTMLMeterElement>, "ref"> & {
103
- ref?: ((instance: HTMLMeterElement | null) => void) | React.RefObject<HTMLMeterElement> | null | undefined;
104
- }) | (Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & {
105
- ref?: ((instance: HTMLOListElement | null) => void) | React.RefObject<HTMLOListElement> | null | undefined;
106
- }) | (Omit<React.DetailedHTMLProps<React.OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>, "ref"> & {
107
- ref?: ((instance: HTMLOptGroupElement | null) => void) | React.RefObject<HTMLOptGroupElement> | null | undefined;
108
- }) | (Omit<React.DetailedHTMLProps<React.OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>, "ref"> & {
109
- ref?: ((instance: HTMLOptionElement | null) => void) | React.RefObject<HTMLOptionElement> | null | undefined;
110
- }) | (Omit<React.DetailedHTMLProps<React.OutputHTMLAttributes<HTMLOutputElement>, HTMLOutputElement>, "ref"> & {
111
- ref?: ((instance: HTMLOutputElement | null) => void) | React.RefObject<HTMLOutputElement> | null | undefined;
112
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
113
- ref?: ((instance: HTMLParagraphElement | null) => void) | React.RefObject<HTMLParagraphElement> | null | undefined;
114
- }) | (Omit<React.DetailedHTMLProps<React.ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>, "ref"> & {
115
- ref?: ((instance: HTMLParamElement | null) => void) | React.RefObject<HTMLParamElement> | null | undefined;
116
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLPreElement>, HTMLPreElement>, "ref"> & {
117
- ref?: ((instance: HTMLPreElement | null) => void) | React.RefObject<HTMLPreElement> | null | undefined;
118
- }) | (Omit<React.DetailedHTMLProps<React.ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>, "ref"> & {
119
- ref?: ((instance: HTMLProgressElement | null) => void) | React.RefObject<HTMLProgressElement> | null | undefined;
120
- }) | (Omit<React.DetailedHTMLProps<React.QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "ref"> & {
121
- ref?: React.RefObject<HTMLQuoteElement> | ((instance: HTMLQuoteElement | null) => void) | null | undefined;
122
- }) | (Omit<React.DetailedHTMLProps<React.SlotHTMLAttributes<HTMLSlotElement>, HTMLSlotElement>, "ref"> & {
123
- ref?: ((instance: HTMLSlotElement | null) => void) | React.RefObject<HTMLSlotElement> | null | undefined;
124
- }) | (Omit<React.DetailedHTMLProps<React.ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>, "ref"> & {
125
- ref?: ((instance: HTMLScriptElement | null) => void) | React.RefObject<HTMLScriptElement> | null | undefined;
126
- }) | (Omit<React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref"> & {
127
- ref?: ((instance: HTMLSelectElement | null) => void) | React.RefObject<HTMLSelectElement> | null | undefined;
128
- }) | (Omit<React.DetailedHTMLProps<React.SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>, "ref"> & {
129
- ref?: ((instance: HTMLSourceElement | null) => void) | React.RefObject<HTMLSourceElement> | null | undefined;
130
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
131
- ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
132
- }) | (Omit<React.DetailedHTMLProps<React.StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>, "ref"> & {
133
- ref?: ((instance: HTMLStyleElement | null) => void) | React.RefObject<HTMLStyleElement> | null | undefined;
134
- }) | (Omit<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & {
135
- ref?: ((instance: HTMLTableElement | null) => void) | React.RefObject<HTMLTableElement> | null | undefined;
136
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>, "ref"> & {
137
- ref?: ((instance: HTMLTemplateElement | null) => void) | React.RefObject<HTMLTemplateElement> | null | undefined;
138
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & {
139
- ref?: ((instance: HTMLTableSectionElement | null) => void) | React.RefObject<HTMLTableSectionElement> | null | undefined;
140
- }) | (Omit<React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & {
141
- ref?: ((instance: HTMLTableDataCellElement | null) => void) | React.RefObject<HTMLTableDataCellElement> | null | undefined;
142
- }) | (Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & {
143
- ref?: ((instance: HTMLTextAreaElement | null) => void) | React.RefObject<HTMLTextAreaElement> | null | undefined;
144
- }) | (Omit<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & {
145
- ref?: ((instance: HTMLTableHeaderCellElement | null) => void) | React.RefObject<HTMLTableHeaderCellElement> | null | undefined;
146
- }) | (Omit<React.DetailedHTMLProps<React.TimeHTMLAttributes<HTMLTimeElement>, HTMLTimeElement>, "ref"> & {
147
- ref?: ((instance: HTMLTimeElement | null) => void) | React.RefObject<HTMLTimeElement> | null | undefined;
148
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, "ref"> & {
149
- ref?: ((instance: HTMLTitleElement | null) => void) | React.RefObject<HTMLTitleElement> | null | undefined;
150
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & {
151
- ref?: ((instance: HTMLTableRowElement | null) => void) | React.RefObject<HTMLTableRowElement> | null | undefined;
152
- }) | (Omit<React.DetailedHTMLProps<React.TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>, "ref"> & {
153
- ref?: ((instance: HTMLTrackElement | null) => void) | React.RefObject<HTMLTrackElement> | null | undefined;
154
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
155
- ref?: ((instance: HTMLUListElement | null) => void) | React.RefObject<HTMLUListElement> | null | undefined;
156
- }) | (Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "ref"> & {
157
- ref?: ((instance: HTMLVideoElement | null) => void) | React.RefObject<HTMLVideoElement> | null | undefined;
158
- }) | (Omit<React.DetailedHTMLProps<React.WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>, "ref"> & {
159
- ref?: ((instance: HTMLWebViewElement | null) => void) | React.RefObject<HTMLWebViewElement> | null | undefined;
160
- }) | (Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
161
- ref?: ((instance: SVGSVGElement | null) => void) | React.RefObject<SVGSVGElement> | null | undefined;
162
- }) | (Omit<React.SVGProps<SVGElement>, "ref"> & {
163
- ref?: ((instance: SVGElement | null) => void) | React.RefObject<SVGElement> | null | undefined;
164
- }) | (Omit<React.SVGProps<SVGCircleElement>, "ref"> & {
165
- ref?: ((instance: SVGCircleElement | null) => void) | React.RefObject<SVGCircleElement> | null | undefined;
166
- }) | (Omit<React.SVGProps<SVGClipPathElement>, "ref"> & {
167
- ref?: ((instance: SVGClipPathElement | null) => void) | React.RefObject<SVGClipPathElement> | null | undefined;
168
- }) | (Omit<React.SVGProps<SVGDefsElement>, "ref"> & {
169
- ref?: ((instance: SVGDefsElement | null) => void) | React.RefObject<SVGDefsElement> | null | undefined;
170
- }) | (Omit<React.SVGProps<SVGDescElement>, "ref"> & {
171
- ref?: ((instance: SVGDescElement | null) => void) | React.RefObject<SVGDescElement> | null | undefined;
172
- }) | (Omit<React.SVGProps<SVGEllipseElement>, "ref"> & {
173
- ref?: ((instance: SVGEllipseElement | null) => void) | React.RefObject<SVGEllipseElement> | null | undefined;
174
- }) | (Omit<React.SVGProps<SVGFEBlendElement>, "ref"> & {
175
- ref?: ((instance: SVGFEBlendElement | null) => void) | React.RefObject<SVGFEBlendElement> | null | undefined;
176
- }) | (Omit<React.SVGProps<SVGFEColorMatrixElement>, "ref"> & {
177
- ref?: ((instance: SVGFEColorMatrixElement | null) => void) | React.RefObject<SVGFEColorMatrixElement> | null | undefined;
178
- }) | (Omit<React.SVGProps<SVGFEComponentTransferElement>, "ref"> & {
179
- ref?: ((instance: SVGFEComponentTransferElement | null) => void) | React.RefObject<SVGFEComponentTransferElement> | null | undefined;
180
- }) | (Omit<React.SVGProps<SVGFECompositeElement>, "ref"> & {
181
- ref?: ((instance: SVGFECompositeElement | null) => void) | React.RefObject<SVGFECompositeElement> | null | undefined;
182
- }) | (Omit<React.SVGProps<SVGFEConvolveMatrixElement>, "ref"> & {
183
- ref?: ((instance: SVGFEConvolveMatrixElement | null) => void) | React.RefObject<SVGFEConvolveMatrixElement> | null | undefined;
184
- }) | (Omit<React.SVGProps<SVGFEDiffuseLightingElement>, "ref"> & {
185
- ref?: ((instance: SVGFEDiffuseLightingElement | null) => void) | React.RefObject<SVGFEDiffuseLightingElement> | null | undefined;
186
- }) | (Omit<React.SVGProps<SVGFEDisplacementMapElement>, "ref"> & {
187
- ref?: ((instance: SVGFEDisplacementMapElement | null) => void) | React.RefObject<SVGFEDisplacementMapElement> | null | undefined;
188
- }) | (Omit<React.SVGProps<SVGFEDistantLightElement>, "ref"> & {
189
- ref?: ((instance: SVGFEDistantLightElement | null) => void) | React.RefObject<SVGFEDistantLightElement> | null | undefined;
190
- }) | (Omit<React.SVGProps<SVGFEDropShadowElement>, "ref"> & {
191
- ref?: ((instance: SVGFEDropShadowElement | null) => void) | React.RefObject<SVGFEDropShadowElement> | null | undefined;
192
- }) | (Omit<React.SVGProps<SVGFEFloodElement>, "ref"> & {
193
- ref?: ((instance: SVGFEFloodElement | null) => void) | React.RefObject<SVGFEFloodElement> | null | undefined;
194
- }) | (Omit<React.SVGProps<SVGFEFuncAElement>, "ref"> & {
195
- ref?: ((instance: SVGFEFuncAElement | null) => void) | React.RefObject<SVGFEFuncAElement> | null | undefined;
196
- }) | (Omit<React.SVGProps<SVGFEFuncBElement>, "ref"> & {
197
- ref?: ((instance: SVGFEFuncBElement | null) => void) | React.RefObject<SVGFEFuncBElement> | null | undefined;
198
- }) | (Omit<React.SVGProps<SVGFEFuncGElement>, "ref"> & {
199
- ref?: ((instance: SVGFEFuncGElement | null) => void) | React.RefObject<SVGFEFuncGElement> | null | undefined;
200
- }) | (Omit<React.SVGProps<SVGFEFuncRElement>, "ref"> & {
201
- ref?: ((instance: SVGFEFuncRElement | null) => void) | React.RefObject<SVGFEFuncRElement> | null | undefined;
202
- }) | (Omit<React.SVGProps<SVGFEGaussianBlurElement>, "ref"> & {
203
- ref?: ((instance: SVGFEGaussianBlurElement | null) => void) | React.RefObject<SVGFEGaussianBlurElement> | null | undefined;
204
- }) | (Omit<React.SVGProps<SVGFEImageElement>, "ref"> & {
205
- ref?: ((instance: SVGFEImageElement | null) => void) | React.RefObject<SVGFEImageElement> | null | undefined;
206
- }) | (Omit<React.SVGProps<SVGFEMergeElement>, "ref"> & {
207
- ref?: ((instance: SVGFEMergeElement | null) => void) | React.RefObject<SVGFEMergeElement> | null | undefined;
208
- }) | (Omit<React.SVGProps<SVGFEMergeNodeElement>, "ref"> & {
209
- ref?: ((instance: SVGFEMergeNodeElement | null) => void) | React.RefObject<SVGFEMergeNodeElement> | null | undefined;
210
- }) | (Omit<React.SVGProps<SVGFEMorphologyElement>, "ref"> & {
211
- ref?: ((instance: SVGFEMorphologyElement | null) => void) | React.RefObject<SVGFEMorphologyElement> | null | undefined;
212
- }) | (Omit<React.SVGProps<SVGFEOffsetElement>, "ref"> & {
213
- ref?: ((instance: SVGFEOffsetElement | null) => void) | React.RefObject<SVGFEOffsetElement> | null | undefined;
214
- }) | (Omit<React.SVGProps<SVGFEPointLightElement>, "ref"> & {
215
- ref?: ((instance: SVGFEPointLightElement | null) => void) | React.RefObject<SVGFEPointLightElement> | null | undefined;
216
- }) | (Omit<React.SVGProps<SVGFESpecularLightingElement>, "ref"> & {
217
- ref?: ((instance: SVGFESpecularLightingElement | null) => void) | React.RefObject<SVGFESpecularLightingElement> | null | undefined;
218
- }) | (Omit<React.SVGProps<SVGFESpotLightElement>, "ref"> & {
219
- ref?: ((instance: SVGFESpotLightElement | null) => void) | React.RefObject<SVGFESpotLightElement> | null | undefined;
220
- }) | (Omit<React.SVGProps<SVGFETileElement>, "ref"> & {
221
- ref?: ((instance: SVGFETileElement | null) => void) | React.RefObject<SVGFETileElement> | null | undefined;
222
- }) | (Omit<React.SVGProps<SVGFETurbulenceElement>, "ref"> & {
223
- ref?: ((instance: SVGFETurbulenceElement | null) => void) | React.RefObject<SVGFETurbulenceElement> | null | undefined;
224
- }) | (Omit<React.SVGProps<SVGFilterElement>, "ref"> & {
225
- ref?: ((instance: SVGFilterElement | null) => void) | React.RefObject<SVGFilterElement> | null | undefined;
226
- }) | (Omit<React.SVGProps<SVGForeignObjectElement>, "ref"> & {
227
- ref?: ((instance: SVGForeignObjectElement | null) => void) | React.RefObject<SVGForeignObjectElement> | null | undefined;
228
- }) | (Omit<React.SVGProps<SVGGElement>, "ref"> & {
229
- ref?: ((instance: SVGGElement | null) => void) | React.RefObject<SVGGElement> | null | undefined;
230
- }) | (Omit<React.SVGProps<SVGImageElement>, "ref"> & {
231
- ref?: ((instance: SVGImageElement | null) => void) | React.RefObject<SVGImageElement> | null | undefined;
232
- }) | (Omit<React.SVGLineElementAttributes<SVGLineElement>, "ref"> & {
233
- ref?: ((instance: SVGLineElement | null) => void) | React.RefObject<SVGLineElement> | null | undefined;
234
- }) | (Omit<React.SVGProps<SVGLinearGradientElement>, "ref"> & {
235
- ref?: ((instance: SVGLinearGradientElement | null) => void) | React.RefObject<SVGLinearGradientElement> | null | undefined;
236
- }) | (Omit<React.SVGProps<SVGMarkerElement>, "ref"> & {
237
- ref?: ((instance: SVGMarkerElement | null) => void) | React.RefObject<SVGMarkerElement> | null | undefined;
238
- }) | (Omit<React.SVGProps<SVGMaskElement>, "ref"> & {
239
- ref?: ((instance: SVGMaskElement | null) => void) | React.RefObject<SVGMaskElement> | null | undefined;
240
- }) | (Omit<React.SVGProps<SVGMetadataElement>, "ref"> & {
241
- ref?: ((instance: SVGMetadataElement | null) => void) | React.RefObject<SVGMetadataElement> | null | undefined;
242
- }) | (Omit<React.SVGProps<SVGPathElement>, "ref"> & {
243
- ref?: ((instance: SVGPathElement | null) => void) | React.RefObject<SVGPathElement> | null | undefined;
244
- }) | (Omit<React.SVGProps<SVGPatternElement>, "ref"> & {
245
- ref?: ((instance: SVGPatternElement | null) => void) | React.RefObject<SVGPatternElement> | null | undefined;
246
- }) | (Omit<React.SVGProps<SVGPolygonElement>, "ref"> & {
247
- ref?: ((instance: SVGPolygonElement | null) => void) | React.RefObject<SVGPolygonElement> | null | undefined;
248
- }) | (Omit<React.SVGProps<SVGPolylineElement>, "ref"> & {
249
- ref?: ((instance: SVGPolylineElement | null) => void) | React.RefObject<SVGPolylineElement> | null | undefined;
250
- }) | (Omit<React.SVGProps<SVGRadialGradientElement>, "ref"> & {
251
- ref?: ((instance: SVGRadialGradientElement | null) => void) | React.RefObject<SVGRadialGradientElement> | null | undefined;
252
- }) | (Omit<React.SVGProps<SVGRectElement>, "ref"> & {
253
- ref?: ((instance: SVGRectElement | null) => void) | React.RefObject<SVGRectElement> | null | undefined;
254
- }) | (Omit<React.SVGProps<SVGStopElement>, "ref"> & {
255
- ref?: ((instance: SVGStopElement | null) => void) | React.RefObject<SVGStopElement> | null | undefined;
256
- }) | (Omit<React.SVGProps<SVGSwitchElement>, "ref"> & {
257
- ref?: ((instance: SVGSwitchElement | null) => void) | React.RefObject<SVGSwitchElement> | null | undefined;
258
- }) | (Omit<React.SVGTextElementAttributes<SVGTextElement>, "ref"> & {
259
- ref?: ((instance: SVGTextElement | null) => void) | React.RefObject<SVGTextElement> | null | undefined;
260
- }) | (Omit<React.SVGProps<SVGTextPathElement>, "ref"> & {
261
- ref?: ((instance: SVGTextPathElement | null) => void) | React.RefObject<SVGTextPathElement> | null | undefined;
262
- }) | (Omit<React.SVGProps<SVGTSpanElement>, "ref"> & {
263
- ref?: ((instance: SVGTSpanElement | null) => void) | React.RefObject<SVGTSpanElement> | null | undefined;
264
- }) | (Omit<React.SVGProps<SVGUseElement>, "ref"> & {
265
- ref?: ((instance: SVGUseElement | null) => void) | React.RefObject<SVGUseElement> | null | undefined;
266
- }) | (Omit<React.SVGProps<SVGViewElement>, "ref"> & {
267
- ref?: ((instance: SVGViewElement | null) => void) | React.RefObject<SVGViewElement> | null | undefined;
268
- }), "as"> & {
269
- as: keyof JSX.IntrinsicElements;
270
- }, keyof import("@leafygreen-ui/button").ButtonProps> & import("@leafygreen-ui/button").ButtonProps, "ref"> | Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
271
- ref?: React.RefObject<HTMLButtonElement> | ((instance: HTMLButtonElement | null) => void) | null | undefined;
272
- }, "href" | "as"> & {
273
- as?: undefined;
274
- href?: undefined;
275
- }, keyof import("@leafygreen-ui/button").ButtonProps> & import("@leafygreen-ui/button").ButtonProps, "ref">) & React.RefAttributes<unknown>>;
276
- export declare const IconButton: React.ForwardRefExoticComponent<((Omit<Omit<{}, "as"> & {
277
- as: React.ComponentType<{
278
- children?: React.ReactNode;
279
- }>;
280
- }, "children" | "href" | "as" | "disabled" | "onClick" | "className" | "darkMode" | "size" | "tabIndex" | "aria-label" | "aria-labelledby" | "active"> & import("@leafygreen-ui/lib").Either<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-label" | "aria-labelledby">) | Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
281
- ref?: React.RefObject<HTMLAnchorElement> | ((instance: HTMLAnchorElement | null) => void) | null | undefined;
282
- }, "href" | "as"> & {
283
- as?: undefined;
284
- href: string;
285
- }, "children" | "href" | "as" | "disabled" | "onClick" | "className" | "darkMode" | "size" | "tabIndex" | "aria-label" | "aria-labelledby" | "active"> & Omit<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-label" | "aria-labelledby"> & Required<Pick<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-label">> & Partial<Pick<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-labelledby">>, "ref"> | Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
286
- ref?: React.RefObject<HTMLAnchorElement> | ((instance: HTMLAnchorElement | null) => void) | null | undefined;
287
- }, "href" | "as"> & {
288
- as?: undefined;
289
- href: string;
290
- }, "children" | "href" | "as" | "disabled" | "onClick" | "className" | "darkMode" | "size" | "tabIndex" | "aria-label" | "aria-labelledby" | "active"> & Omit<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-label" | "aria-labelledby"> & Required<Pick<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-labelledby">> & Partial<Pick<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-label">>, "ref"> | Omit<Omit<Omit<(Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
291
- ref?: React.RefObject<HTMLAnchorElement> | ((instance: HTMLAnchorElement | null) => void) | null | undefined;
292
- }) | (Omit<React.SVGProps<SVGSymbolElement>, "ref"> & {
293
- ref?: React.RefObject<SVGSymbolElement> | ((instance: SVGSymbolElement | null) => void) | null | undefined;
294
- }) | (Omit<React.DetailedHTMLProps<React.ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>, "ref"> & {
295
- ref?: React.RefObject<HTMLObjectElement> | ((instance: HTMLObjectElement | null) => void) | null | undefined;
296
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, "ref"> & {
297
- ref?: React.RefObject<HTMLTitleElement> | ((instance: HTMLTitleElement | null) => void) | null | undefined;
298
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
299
- ref?: React.RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
300
- }) | (Omit<React.DetailedHTMLProps<React.AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>, "ref"> & {
301
- ref?: React.RefObject<HTMLAreaElement> | ((instance: HTMLAreaElement | null) => void) | null | undefined;
302
- }) | (Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "ref"> & {
303
- ref?: React.RefObject<HTMLAudioElement> | ((instance: HTMLAudioElement | null) => void) | null | undefined;
304
- }) | (Omit<React.DetailedHTMLProps<React.BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>, "ref"> & {
305
- ref?: React.RefObject<HTMLBaseElement> | ((instance: HTMLBaseElement | null) => void) | null | undefined;
306
- }) | (Omit<React.DetailedHTMLProps<React.BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "ref"> & {
307
- ref?: React.RefObject<HTMLQuoteElement> | ((instance: HTMLQuoteElement | null) => void) | null | undefined;
308
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>, "ref"> & {
309
- ref?: React.RefObject<HTMLBodyElement> | ((instance: HTMLBodyElement | null) => void) | null | undefined;
310
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLBRElement>, HTMLBRElement>, "ref"> & {
311
- ref?: React.RefObject<HTMLBRElement> | ((instance: HTMLBRElement | null) => void) | null | undefined;
312
- }) | (Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
313
- ref?: React.RefObject<HTMLButtonElement> | ((instance: HTMLButtonElement | null) => void) | null | undefined;
314
- }) | (Omit<React.DetailedHTMLProps<React.CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>, "ref"> & {
315
- ref?: React.RefObject<HTMLCanvasElement> | ((instance: HTMLCanvasElement | null) => void) | null | undefined;
316
- }) | (Omit<React.DetailedHTMLProps<React.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, "ref"> & {
317
- ref?: React.RefObject<HTMLTableColElement> | ((instance: HTMLTableColElement | null) => void) | null | undefined;
318
- }) | (Omit<React.DetailedHTMLProps<React.ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, "ref"> & {
319
- ref?: React.RefObject<HTMLTableColElement> | ((instance: HTMLTableColElement | null) => void) | null | undefined;
320
- }) | (Omit<React.DetailedHTMLProps<React.DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>, "ref"> & {
321
- ref?: React.RefObject<HTMLDataElement> | ((instance: HTMLDataElement | null) => void) | null | undefined;
322
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>, "ref"> & {
323
- ref?: React.RefObject<HTMLDataListElement> | ((instance: HTMLDataListElement | null) => void) | null | undefined;
324
- }) | (Omit<React.DetailedHTMLProps<React.DelHTMLAttributes<HTMLModElement>, HTMLModElement>, "ref"> & {
325
- ref?: React.RefObject<HTMLModElement> | ((instance: HTMLModElement | null) => void) | null | undefined;
326
- }) | (Omit<React.DetailedHTMLProps<React.DetailsHTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement>, "ref"> & {
327
- ref?: React.RefObject<HTMLDetailsElement> | ((instance: HTMLDetailsElement | null) => void) | null | undefined;
328
- }) | (Omit<React.DetailedHTMLProps<React.DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>, "ref"> & {
329
- ref?: React.RefObject<HTMLDialogElement> | ((instance: HTMLDialogElement | null) => void) | null | undefined;
330
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
331
- ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
332
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDListElement>, HTMLDListElement>, "ref"> & {
333
- ref?: React.RefObject<HTMLDListElement> | ((instance: HTMLDListElement | null) => void) | null | undefined;
334
- }) | (Omit<React.DetailedHTMLProps<React.EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>, "ref"> & {
335
- ref?: React.RefObject<HTMLEmbedElement> | ((instance: HTMLEmbedElement | null) => void) | null | undefined;
336
- }) | (Omit<React.DetailedHTMLProps<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "ref"> & {
337
- ref?: React.RefObject<HTMLFieldSetElement> | ((instance: HTMLFieldSetElement | null) => void) | null | undefined;
338
- }) | (Omit<React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & {
339
- ref?: React.RefObject<HTMLFormElement> | ((instance: HTMLFormElement | null) => void) | null | undefined;
340
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
341
- ref?: React.RefObject<HTMLHeadingElement> | ((instance: HTMLHeadingElement | null) => void) | null | undefined;
342
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>, "ref"> & {
343
- ref?: React.RefObject<HTMLHeadElement> | ((instance: HTMLHeadElement | null) => void) | null | undefined;
344
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
345
- ref?: React.RefObject<HTMLHRElement> | ((instance: HTMLHRElement | null) => void) | null | undefined;
346
- }) | (Omit<React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>, "ref"> & {
347
- ref?: React.RefObject<HTMLHtmlElement> | ((instance: HTMLHtmlElement | null) => void) | null | undefined;
348
- }) | (Omit<React.DetailedHTMLProps<React.IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>, "ref"> & {
349
- ref?: React.RefObject<HTMLIFrameElement> | ((instance: HTMLIFrameElement | null) => void) | null | undefined;
350
- }) | (Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
351
- ref?: React.RefObject<HTMLImageElement> | ((instance: HTMLImageElement | null) => void) | null | undefined;
352
- }) | (Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
353
- ref?: React.RefObject<HTMLInputElement> | ((instance: HTMLInputElement | null) => void) | null | undefined;
354
- }) | (Omit<React.DetailedHTMLProps<React.InsHTMLAttributes<HTMLModElement>, HTMLModElement>, "ref"> & {
355
- ref?: React.RefObject<HTMLModElement> | ((instance: HTMLModElement | null) => void) | null | undefined;
356
- }) | (Omit<React.DetailedHTMLProps<React.KeygenHTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
357
- ref?: React.RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
358
- }) | (Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
359
- ref?: React.RefObject<HTMLLabelElement> | ((instance: HTMLLabelElement | null) => void) | null | undefined;
360
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>, "ref"> & {
361
- ref?: React.RefObject<HTMLLegendElement> | ((instance: HTMLLegendElement | null) => void) | null | undefined;
362
- }) | (Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
363
- ref?: React.RefObject<HTMLLIElement> | ((instance: HTMLLIElement | null) => void) | null | undefined;
364
- }) | (Omit<React.DetailedHTMLProps<React.LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>, "ref"> & {
365
- ref?: React.RefObject<HTMLLinkElement> | ((instance: HTMLLinkElement | null) => void) | null | undefined;
366
- }) | (Omit<React.DetailedHTMLProps<React.MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>, "ref"> & {
367
- ref?: React.RefObject<HTMLMapElement> | ((instance: HTMLMapElement | null) => void) | null | undefined;
368
- }) | (Omit<React.DetailedHTMLProps<React.MenuHTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
369
- ref?: React.RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
370
- }) | (Omit<React.DetailedHTMLProps<React.MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>, "ref"> & {
371
- ref?: React.RefObject<HTMLMetaElement> | ((instance: HTMLMetaElement | null) => void) | null | undefined;
372
- }) | (Omit<React.DetailedHTMLProps<React.MeterHTMLAttributes<HTMLMeterElement>, HTMLMeterElement>, "ref"> & {
373
- ref?: React.RefObject<HTMLMeterElement> | ((instance: HTMLMeterElement | null) => void) | null | undefined;
374
- }) | (Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & {
375
- ref?: React.RefObject<HTMLOListElement> | ((instance: HTMLOListElement | null) => void) | null | undefined;
376
- }) | (Omit<React.DetailedHTMLProps<React.OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>, "ref"> & {
377
- ref?: React.RefObject<HTMLOptGroupElement> | ((instance: HTMLOptGroupElement | null) => void) | null | undefined;
378
- }) | (Omit<React.DetailedHTMLProps<React.OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>, "ref"> & {
379
- ref?: React.RefObject<HTMLOptionElement> | ((instance: HTMLOptionElement | null) => void) | null | undefined;
380
- }) | (Omit<React.DetailedHTMLProps<React.OutputHTMLAttributes<HTMLOutputElement>, HTMLOutputElement>, "ref"> & {
381
- ref?: React.RefObject<HTMLOutputElement> | ((instance: HTMLOutputElement | null) => void) | null | undefined;
382
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
383
- ref?: React.RefObject<HTMLParagraphElement> | ((instance: HTMLParagraphElement | null) => void) | null | undefined;
384
- }) | (Omit<React.DetailedHTMLProps<React.ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>, "ref"> & {
385
- ref?: React.RefObject<HTMLParamElement> | ((instance: HTMLParamElement | null) => void) | null | undefined;
386
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLPreElement>, HTMLPreElement>, "ref"> & {
387
- ref?: React.RefObject<HTMLPreElement> | ((instance: HTMLPreElement | null) => void) | null | undefined;
388
- }) | (Omit<React.DetailedHTMLProps<React.ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>, "ref"> & {
389
- ref?: React.RefObject<HTMLProgressElement> | ((instance: HTMLProgressElement | null) => void) | null | undefined;
390
- }) | (Omit<React.DetailedHTMLProps<React.QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "ref"> & {
391
- ref?: React.RefObject<HTMLQuoteElement> | ((instance: HTMLQuoteElement | null) => void) | null | undefined;
392
- }) | (Omit<React.DetailedHTMLProps<React.SlotHTMLAttributes<HTMLSlotElement>, HTMLSlotElement>, "ref"> & {
393
- ref?: React.RefObject<HTMLSlotElement> | ((instance: HTMLSlotElement | null) => void) | null | undefined;
394
- }) | (Omit<React.DetailedHTMLProps<React.ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>, "ref"> & {
395
- ref?: React.RefObject<HTMLScriptElement> | ((instance: HTMLScriptElement | null) => void) | null | undefined;
396
- }) | (Omit<React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref"> & {
397
- ref?: React.RefObject<HTMLSelectElement> | ((instance: HTMLSelectElement | null) => void) | null | undefined;
398
- }) | (Omit<React.DetailedHTMLProps<React.SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>, "ref"> & {
399
- ref?: React.RefObject<HTMLSourceElement> | ((instance: HTMLSourceElement | null) => void) | null | undefined;
400
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
401
- ref?: React.RefObject<HTMLSpanElement> | ((instance: HTMLSpanElement | null) => void) | null | undefined;
402
- }) | (Omit<React.DetailedHTMLProps<React.StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>, "ref"> & {
403
- ref?: React.RefObject<HTMLStyleElement> | ((instance: HTMLStyleElement | null) => void) | null | undefined;
404
- }) | (Omit<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & {
405
- ref?: React.RefObject<HTMLTableElement> | ((instance: HTMLTableElement | null) => void) | null | undefined;
406
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>, "ref"> & {
407
- ref?: React.RefObject<HTMLTemplateElement> | ((instance: HTMLTemplateElement | null) => void) | null | undefined;
408
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & {
409
- ref?: React.RefObject<HTMLTableSectionElement> | ((instance: HTMLTableSectionElement | null) => void) | null | undefined;
410
- }) | (Omit<React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & {
411
- ref?: React.RefObject<HTMLTableDataCellElement> | ((instance: HTMLTableDataCellElement | null) => void) | null | undefined;
412
- }) | (Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & {
413
- ref?: React.RefObject<HTMLTextAreaElement> | ((instance: HTMLTextAreaElement | null) => void) | null | undefined;
414
- }) | (Omit<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & {
415
- ref?: React.RefObject<HTMLTableHeaderCellElement> | ((instance: HTMLTableHeaderCellElement | null) => void) | null | undefined;
416
- }) | (Omit<React.DetailedHTMLProps<React.TimeHTMLAttributes<HTMLTimeElement>, HTMLTimeElement>, "ref"> & {
417
- ref?: React.RefObject<HTMLTimeElement> | ((instance: HTMLTimeElement | null) => void) | null | undefined;
418
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & {
419
- ref?: React.RefObject<HTMLTableRowElement> | ((instance: HTMLTableRowElement | null) => void) | null | undefined;
420
- }) | (Omit<React.DetailedHTMLProps<React.TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>, "ref"> & {
421
- ref?: React.RefObject<HTMLTrackElement> | ((instance: HTMLTrackElement | null) => void) | null | undefined;
422
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
423
- ref?: React.RefObject<HTMLUListElement> | ((instance: HTMLUListElement | null) => void) | null | undefined;
424
- }) | (Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "ref"> & {
425
- ref?: React.RefObject<HTMLVideoElement> | ((instance: HTMLVideoElement | null) => void) | null | undefined;
426
- }) | (Omit<React.DetailedHTMLProps<React.WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>, "ref"> & {
427
- ref?: React.RefObject<HTMLWebViewElement> | ((instance: HTMLWebViewElement | null) => void) | null | undefined;
428
- }) | (Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
429
- ref?: React.RefObject<SVGSVGElement> | ((instance: SVGSVGElement | null) => void) | null | undefined;
430
- }) | (Omit<React.SVGProps<SVGElement>, "ref"> & {
431
- ref?: React.RefObject<SVGElement> | ((instance: SVGElement | null) => void) | null | undefined;
432
- }) | (Omit<React.SVGProps<SVGCircleElement>, "ref"> & {
433
- ref?: React.RefObject<SVGCircleElement> | ((instance: SVGCircleElement | null) => void) | null | undefined;
434
- }) | (Omit<React.SVGProps<SVGClipPathElement>, "ref"> & {
435
- ref?: React.RefObject<SVGClipPathElement> | ((instance: SVGClipPathElement | null) => void) | null | undefined;
436
- }) | (Omit<React.SVGProps<SVGDefsElement>, "ref"> & {
437
- ref?: React.RefObject<SVGDefsElement> | ((instance: SVGDefsElement | null) => void) | null | undefined;
438
- }) | (Omit<React.SVGProps<SVGDescElement>, "ref"> & {
439
- ref?: React.RefObject<SVGDescElement> | ((instance: SVGDescElement | null) => void) | null | undefined;
440
- }) | (Omit<React.SVGProps<SVGEllipseElement>, "ref"> & {
441
- ref?: React.RefObject<SVGEllipseElement> | ((instance: SVGEllipseElement | null) => void) | null | undefined;
442
- }) | (Omit<React.SVGProps<SVGFEBlendElement>, "ref"> & {
443
- ref?: React.RefObject<SVGFEBlendElement> | ((instance: SVGFEBlendElement | null) => void) | null | undefined;
444
- }) | (Omit<React.SVGProps<SVGFEColorMatrixElement>, "ref"> & {
445
- ref?: React.RefObject<SVGFEColorMatrixElement> | ((instance: SVGFEColorMatrixElement | null) => void) | null | undefined;
446
- }) | (Omit<React.SVGProps<SVGFEComponentTransferElement>, "ref"> & {
447
- ref?: React.RefObject<SVGFEComponentTransferElement> | ((instance: SVGFEComponentTransferElement | null) => void) | null | undefined;
448
- }) | (Omit<React.SVGProps<SVGFECompositeElement>, "ref"> & {
449
- ref?: React.RefObject<SVGFECompositeElement> | ((instance: SVGFECompositeElement | null) => void) | null | undefined;
450
- }) | (Omit<React.SVGProps<SVGFEConvolveMatrixElement>, "ref"> & {
451
- ref?: React.RefObject<SVGFEConvolveMatrixElement> | ((instance: SVGFEConvolveMatrixElement | null) => void) | null | undefined;
452
- }) | (Omit<React.SVGProps<SVGFEDiffuseLightingElement>, "ref"> & {
453
- ref?: React.RefObject<SVGFEDiffuseLightingElement> | ((instance: SVGFEDiffuseLightingElement | null) => void) | null | undefined;
454
- }) | (Omit<React.SVGProps<SVGFEDisplacementMapElement>, "ref"> & {
455
- ref?: React.RefObject<SVGFEDisplacementMapElement> | ((instance: SVGFEDisplacementMapElement | null) => void) | null | undefined;
456
- }) | (Omit<React.SVGProps<SVGFEDistantLightElement>, "ref"> & {
457
- ref?: React.RefObject<SVGFEDistantLightElement> | ((instance: SVGFEDistantLightElement | null) => void) | null | undefined;
458
- }) | (Omit<React.SVGProps<SVGFEDropShadowElement>, "ref"> & {
459
- ref?: React.RefObject<SVGFEDropShadowElement> | ((instance: SVGFEDropShadowElement | null) => void) | null | undefined;
460
- }) | (Omit<React.SVGProps<SVGFEFloodElement>, "ref"> & {
461
- ref?: React.RefObject<SVGFEFloodElement> | ((instance: SVGFEFloodElement | null) => void) | null | undefined;
462
- }) | (Omit<React.SVGProps<SVGFEFuncAElement>, "ref"> & {
463
- ref?: React.RefObject<SVGFEFuncAElement> | ((instance: SVGFEFuncAElement | null) => void) | null | undefined;
464
- }) | (Omit<React.SVGProps<SVGFEFuncBElement>, "ref"> & {
465
- ref?: React.RefObject<SVGFEFuncBElement> | ((instance: SVGFEFuncBElement | null) => void) | null | undefined;
466
- }) | (Omit<React.SVGProps<SVGFEFuncGElement>, "ref"> & {
467
- ref?: React.RefObject<SVGFEFuncGElement> | ((instance: SVGFEFuncGElement | null) => void) | null | undefined;
468
- }) | (Omit<React.SVGProps<SVGFEFuncRElement>, "ref"> & {
469
- ref?: React.RefObject<SVGFEFuncRElement> | ((instance: SVGFEFuncRElement | null) => void) | null | undefined;
470
- }) | (Omit<React.SVGProps<SVGFEGaussianBlurElement>, "ref"> & {
471
- ref?: React.RefObject<SVGFEGaussianBlurElement> | ((instance: SVGFEGaussianBlurElement | null) => void) | null | undefined;
472
- }) | (Omit<React.SVGProps<SVGFEImageElement>, "ref"> & {
473
- ref?: React.RefObject<SVGFEImageElement> | ((instance: SVGFEImageElement | null) => void) | null | undefined;
474
- }) | (Omit<React.SVGProps<SVGFEMergeElement>, "ref"> & {
475
- ref?: React.RefObject<SVGFEMergeElement> | ((instance: SVGFEMergeElement | null) => void) | null | undefined;
476
- }) | (Omit<React.SVGProps<SVGFEMergeNodeElement>, "ref"> & {
477
- ref?: React.RefObject<SVGFEMergeNodeElement> | ((instance: SVGFEMergeNodeElement | null) => void) | null | undefined;
478
- }) | (Omit<React.SVGProps<SVGFEMorphologyElement>, "ref"> & {
479
- ref?: React.RefObject<SVGFEMorphologyElement> | ((instance: SVGFEMorphologyElement | null) => void) | null | undefined;
480
- }) | (Omit<React.SVGProps<SVGFEOffsetElement>, "ref"> & {
481
- ref?: React.RefObject<SVGFEOffsetElement> | ((instance: SVGFEOffsetElement | null) => void) | null | undefined;
482
- }) | (Omit<React.SVGProps<SVGFEPointLightElement>, "ref"> & {
483
- ref?: React.RefObject<SVGFEPointLightElement> | ((instance: SVGFEPointLightElement | null) => void) | null | undefined;
484
- }) | (Omit<React.SVGProps<SVGFESpecularLightingElement>, "ref"> & {
485
- ref?: React.RefObject<SVGFESpecularLightingElement> | ((instance: SVGFESpecularLightingElement | null) => void) | null | undefined;
486
- }) | (Omit<React.SVGProps<SVGFESpotLightElement>, "ref"> & {
487
- ref?: React.RefObject<SVGFESpotLightElement> | ((instance: SVGFESpotLightElement | null) => void) | null | undefined;
488
- }) | (Omit<React.SVGProps<SVGFETileElement>, "ref"> & {
489
- ref?: React.RefObject<SVGFETileElement> | ((instance: SVGFETileElement | null) => void) | null | undefined;
490
- }) | (Omit<React.SVGProps<SVGFETurbulenceElement>, "ref"> & {
491
- ref?: React.RefObject<SVGFETurbulenceElement> | ((instance: SVGFETurbulenceElement | null) => void) | null | undefined;
492
- }) | (Omit<React.SVGProps<SVGFilterElement>, "ref"> & {
493
- ref?: React.RefObject<SVGFilterElement> | ((instance: SVGFilterElement | null) => void) | null | undefined;
494
- }) | (Omit<React.SVGProps<SVGForeignObjectElement>, "ref"> & {
495
- ref?: React.RefObject<SVGForeignObjectElement> | ((instance: SVGForeignObjectElement | null) => void) | null | undefined;
496
- }) | (Omit<React.SVGProps<SVGGElement>, "ref"> & {
497
- ref?: React.RefObject<SVGGElement> | ((instance: SVGGElement | null) => void) | null | undefined;
498
- }) | (Omit<React.SVGProps<SVGImageElement>, "ref"> & {
499
- ref?: React.RefObject<SVGImageElement> | ((instance: SVGImageElement | null) => void) | null | undefined;
500
- }) | (Omit<React.SVGLineElementAttributes<SVGLineElement>, "ref"> & {
501
- ref?: React.RefObject<SVGLineElement> | ((instance: SVGLineElement | null) => void) | null | undefined;
502
- }) | (Omit<React.SVGProps<SVGLinearGradientElement>, "ref"> & {
503
- ref?: React.RefObject<SVGLinearGradientElement> | ((instance: SVGLinearGradientElement | null) => void) | null | undefined;
504
- }) | (Omit<React.SVGProps<SVGMarkerElement>, "ref"> & {
505
- ref?: React.RefObject<SVGMarkerElement> | ((instance: SVGMarkerElement | null) => void) | null | undefined;
506
- }) | (Omit<React.SVGProps<SVGMaskElement>, "ref"> & {
507
- ref?: React.RefObject<SVGMaskElement> | ((instance: SVGMaskElement | null) => void) | null | undefined;
508
- }) | (Omit<React.SVGProps<SVGMetadataElement>, "ref"> & {
509
- ref?: React.RefObject<SVGMetadataElement> | ((instance: SVGMetadataElement | null) => void) | null | undefined;
510
- }) | (Omit<React.SVGProps<SVGPathElement>, "ref"> & {
511
- ref?: React.RefObject<SVGPathElement> | ((instance: SVGPathElement | null) => void) | null | undefined;
512
- }) | (Omit<React.SVGProps<SVGPatternElement>, "ref"> & {
513
- ref?: React.RefObject<SVGPatternElement> | ((instance: SVGPatternElement | null) => void) | null | undefined;
514
- }) | (Omit<React.SVGProps<SVGPolygonElement>, "ref"> & {
515
- ref?: React.RefObject<SVGPolygonElement> | ((instance: SVGPolygonElement | null) => void) | null | undefined;
516
- }) | (Omit<React.SVGProps<SVGPolylineElement>, "ref"> & {
517
- ref?: React.RefObject<SVGPolylineElement> | ((instance: SVGPolylineElement | null) => void) | null | undefined;
518
- }) | (Omit<React.SVGProps<SVGRadialGradientElement>, "ref"> & {
519
- ref?: React.RefObject<SVGRadialGradientElement> | ((instance: SVGRadialGradientElement | null) => void) | null | undefined;
520
- }) | (Omit<React.SVGProps<SVGRectElement>, "ref"> & {
521
- ref?: React.RefObject<SVGRectElement> | ((instance: SVGRectElement | null) => void) | null | undefined;
522
- }) | (Omit<React.SVGProps<SVGStopElement>, "ref"> & {
523
- ref?: React.RefObject<SVGStopElement> | ((instance: SVGStopElement | null) => void) | null | undefined;
524
- }) | (Omit<React.SVGProps<SVGSwitchElement>, "ref"> & {
525
- ref?: React.RefObject<SVGSwitchElement> | ((instance: SVGSwitchElement | null) => void) | null | undefined;
526
- }) | (Omit<React.SVGTextElementAttributes<SVGTextElement>, "ref"> & {
527
- ref?: React.RefObject<SVGTextElement> | ((instance: SVGTextElement | null) => void) | null | undefined;
528
- }) | (Omit<React.SVGProps<SVGTextPathElement>, "ref"> & {
529
- ref?: React.RefObject<SVGTextPathElement> | ((instance: SVGTextPathElement | null) => void) | null | undefined;
530
- }) | (Omit<React.SVGProps<SVGTSpanElement>, "ref"> & {
531
- ref?: React.RefObject<SVGTSpanElement> | ((instance: SVGTSpanElement | null) => void) | null | undefined;
532
- }) | (Omit<React.SVGProps<SVGUseElement>, "ref"> & {
533
- ref?: React.RefObject<SVGUseElement> | ((instance: SVGUseElement | null) => void) | null | undefined;
534
- }) | (Omit<React.SVGProps<SVGViewElement>, "ref"> & {
535
- ref?: React.RefObject<SVGViewElement> | ((instance: SVGViewElement | null) => void) | null | undefined;
536
- }), "as"> & {
537
- as: keyof JSX.IntrinsicElements;
538
- }, "children" | "href" | "as" | "disabled" | "onClick" | "className" | "darkMode" | "size" | "tabIndex" | "aria-label" | "aria-labelledby" | "active"> & Omit<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-label" | "aria-labelledby"> & Required<Pick<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-label">> & Partial<Pick<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-labelledby">>, "ref"> | Omit<Omit<Omit<(Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
539
- ref?: React.RefObject<HTMLAnchorElement> | ((instance: HTMLAnchorElement | null) => void) | null | undefined;
540
- }) | (Omit<React.SVGProps<SVGSymbolElement>, "ref"> & {
541
- ref?: React.RefObject<SVGSymbolElement> | ((instance: SVGSymbolElement | null) => void) | null | undefined;
542
- }) | (Omit<React.DetailedHTMLProps<React.ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>, "ref"> & {
543
- ref?: React.RefObject<HTMLObjectElement> | ((instance: HTMLObjectElement | null) => void) | null | undefined;
544
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, "ref"> & {
545
- ref?: React.RefObject<HTMLTitleElement> | ((instance: HTMLTitleElement | null) => void) | null | undefined;
546
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
547
- ref?: React.RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
548
- }) | (Omit<React.DetailedHTMLProps<React.AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>, "ref"> & {
549
- ref?: React.RefObject<HTMLAreaElement> | ((instance: HTMLAreaElement | null) => void) | null | undefined;
550
- }) | (Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "ref"> & {
551
- ref?: React.RefObject<HTMLAudioElement> | ((instance: HTMLAudioElement | null) => void) | null | undefined;
552
- }) | (Omit<React.DetailedHTMLProps<React.BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>, "ref"> & {
553
- ref?: React.RefObject<HTMLBaseElement> | ((instance: HTMLBaseElement | null) => void) | null | undefined;
554
- }) | (Omit<React.DetailedHTMLProps<React.BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "ref"> & {
555
- ref?: React.RefObject<HTMLQuoteElement> | ((instance: HTMLQuoteElement | null) => void) | null | undefined;
556
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>, "ref"> & {
557
- ref?: React.RefObject<HTMLBodyElement> | ((instance: HTMLBodyElement | null) => void) | null | undefined;
558
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLBRElement>, HTMLBRElement>, "ref"> & {
559
- ref?: React.RefObject<HTMLBRElement> | ((instance: HTMLBRElement | null) => void) | null | undefined;
560
- }) | (Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
561
- ref?: React.RefObject<HTMLButtonElement> | ((instance: HTMLButtonElement | null) => void) | null | undefined;
562
- }) | (Omit<React.DetailedHTMLProps<React.CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>, "ref"> & {
563
- ref?: React.RefObject<HTMLCanvasElement> | ((instance: HTMLCanvasElement | null) => void) | null | undefined;
564
- }) | (Omit<React.DetailedHTMLProps<React.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, "ref"> & {
565
- ref?: React.RefObject<HTMLTableColElement> | ((instance: HTMLTableColElement | null) => void) | null | undefined;
566
- }) | (Omit<React.DetailedHTMLProps<React.ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, "ref"> & {
567
- ref?: React.RefObject<HTMLTableColElement> | ((instance: HTMLTableColElement | null) => void) | null | undefined;
568
- }) | (Omit<React.DetailedHTMLProps<React.DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>, "ref"> & {
569
- ref?: React.RefObject<HTMLDataElement> | ((instance: HTMLDataElement | null) => void) | null | undefined;
570
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>, "ref"> & {
571
- ref?: React.RefObject<HTMLDataListElement> | ((instance: HTMLDataListElement | null) => void) | null | undefined;
572
- }) | (Omit<React.DetailedHTMLProps<React.DelHTMLAttributes<HTMLModElement>, HTMLModElement>, "ref"> & {
573
- ref?: React.RefObject<HTMLModElement> | ((instance: HTMLModElement | null) => void) | null | undefined;
574
- }) | (Omit<React.DetailedHTMLProps<React.DetailsHTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement>, "ref"> & {
575
- ref?: React.RefObject<HTMLDetailsElement> | ((instance: HTMLDetailsElement | null) => void) | null | undefined;
576
- }) | (Omit<React.DetailedHTMLProps<React.DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>, "ref"> & {
577
- ref?: React.RefObject<HTMLDialogElement> | ((instance: HTMLDialogElement | null) => void) | null | undefined;
578
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
579
- ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
580
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDListElement>, HTMLDListElement>, "ref"> & {
581
- ref?: React.RefObject<HTMLDListElement> | ((instance: HTMLDListElement | null) => void) | null | undefined;
582
- }) | (Omit<React.DetailedHTMLProps<React.EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>, "ref"> & {
583
- ref?: React.RefObject<HTMLEmbedElement> | ((instance: HTMLEmbedElement | null) => void) | null | undefined;
584
- }) | (Omit<React.DetailedHTMLProps<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "ref"> & {
585
- ref?: React.RefObject<HTMLFieldSetElement> | ((instance: HTMLFieldSetElement | null) => void) | null | undefined;
586
- }) | (Omit<React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & {
587
- ref?: React.RefObject<HTMLFormElement> | ((instance: HTMLFormElement | null) => void) | null | undefined;
588
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
589
- ref?: React.RefObject<HTMLHeadingElement> | ((instance: HTMLHeadingElement | null) => void) | null | undefined;
590
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>, "ref"> & {
591
- ref?: React.RefObject<HTMLHeadElement> | ((instance: HTMLHeadElement | null) => void) | null | undefined;
592
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
593
- ref?: React.RefObject<HTMLHRElement> | ((instance: HTMLHRElement | null) => void) | null | undefined;
594
- }) | (Omit<React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>, "ref"> & {
595
- ref?: React.RefObject<HTMLHtmlElement> | ((instance: HTMLHtmlElement | null) => void) | null | undefined;
596
- }) | (Omit<React.DetailedHTMLProps<React.IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>, "ref"> & {
597
- ref?: React.RefObject<HTMLIFrameElement> | ((instance: HTMLIFrameElement | null) => void) | null | undefined;
598
- }) | (Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
599
- ref?: React.RefObject<HTMLImageElement> | ((instance: HTMLImageElement | null) => void) | null | undefined;
600
- }) | (Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
601
- ref?: React.RefObject<HTMLInputElement> | ((instance: HTMLInputElement | null) => void) | null | undefined;
602
- }) | (Omit<React.DetailedHTMLProps<React.InsHTMLAttributes<HTMLModElement>, HTMLModElement>, "ref"> & {
603
- ref?: React.RefObject<HTMLModElement> | ((instance: HTMLModElement | null) => void) | null | undefined;
604
- }) | (Omit<React.DetailedHTMLProps<React.KeygenHTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
605
- ref?: React.RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
606
- }) | (Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
607
- ref?: React.RefObject<HTMLLabelElement> | ((instance: HTMLLabelElement | null) => void) | null | undefined;
608
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>, "ref"> & {
609
- ref?: React.RefObject<HTMLLegendElement> | ((instance: HTMLLegendElement | null) => void) | null | undefined;
610
- }) | (Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
611
- ref?: React.RefObject<HTMLLIElement> | ((instance: HTMLLIElement | null) => void) | null | undefined;
612
- }) | (Omit<React.DetailedHTMLProps<React.LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>, "ref"> & {
613
- ref?: React.RefObject<HTMLLinkElement> | ((instance: HTMLLinkElement | null) => void) | null | undefined;
614
- }) | (Omit<React.DetailedHTMLProps<React.MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>, "ref"> & {
615
- ref?: React.RefObject<HTMLMapElement> | ((instance: HTMLMapElement | null) => void) | null | undefined;
616
- }) | (Omit<React.DetailedHTMLProps<React.MenuHTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
617
- ref?: React.RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
618
- }) | (Omit<React.DetailedHTMLProps<React.MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>, "ref"> & {
619
- ref?: React.RefObject<HTMLMetaElement> | ((instance: HTMLMetaElement | null) => void) | null | undefined;
620
- }) | (Omit<React.DetailedHTMLProps<React.MeterHTMLAttributes<HTMLMeterElement>, HTMLMeterElement>, "ref"> & {
621
- ref?: React.RefObject<HTMLMeterElement> | ((instance: HTMLMeterElement | null) => void) | null | undefined;
622
- }) | (Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & {
623
- ref?: React.RefObject<HTMLOListElement> | ((instance: HTMLOListElement | null) => void) | null | undefined;
624
- }) | (Omit<React.DetailedHTMLProps<React.OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>, "ref"> & {
625
- ref?: React.RefObject<HTMLOptGroupElement> | ((instance: HTMLOptGroupElement | null) => void) | null | undefined;
626
- }) | (Omit<React.DetailedHTMLProps<React.OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>, "ref"> & {
627
- ref?: React.RefObject<HTMLOptionElement> | ((instance: HTMLOptionElement | null) => void) | null | undefined;
628
- }) | (Omit<React.DetailedHTMLProps<React.OutputHTMLAttributes<HTMLOutputElement>, HTMLOutputElement>, "ref"> & {
629
- ref?: React.RefObject<HTMLOutputElement> | ((instance: HTMLOutputElement | null) => void) | null | undefined;
630
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
631
- ref?: React.RefObject<HTMLParagraphElement> | ((instance: HTMLParagraphElement | null) => void) | null | undefined;
632
- }) | (Omit<React.DetailedHTMLProps<React.ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>, "ref"> & {
633
- ref?: React.RefObject<HTMLParamElement> | ((instance: HTMLParamElement | null) => void) | null | undefined;
634
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLPreElement>, HTMLPreElement>, "ref"> & {
635
- ref?: React.RefObject<HTMLPreElement> | ((instance: HTMLPreElement | null) => void) | null | undefined;
636
- }) | (Omit<React.DetailedHTMLProps<React.ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>, "ref"> & {
637
- ref?: React.RefObject<HTMLProgressElement> | ((instance: HTMLProgressElement | null) => void) | null | undefined;
638
- }) | (Omit<React.DetailedHTMLProps<React.QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "ref"> & {
639
- ref?: React.RefObject<HTMLQuoteElement> | ((instance: HTMLQuoteElement | null) => void) | null | undefined;
640
- }) | (Omit<React.DetailedHTMLProps<React.SlotHTMLAttributes<HTMLSlotElement>, HTMLSlotElement>, "ref"> & {
641
- ref?: React.RefObject<HTMLSlotElement> | ((instance: HTMLSlotElement | null) => void) | null | undefined;
642
- }) | (Omit<React.DetailedHTMLProps<React.ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>, "ref"> & {
643
- ref?: React.RefObject<HTMLScriptElement> | ((instance: HTMLScriptElement | null) => void) | null | undefined;
644
- }) | (Omit<React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref"> & {
645
- ref?: React.RefObject<HTMLSelectElement> | ((instance: HTMLSelectElement | null) => void) | null | undefined;
646
- }) | (Omit<React.DetailedHTMLProps<React.SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>, "ref"> & {
647
- ref?: React.RefObject<HTMLSourceElement> | ((instance: HTMLSourceElement | null) => void) | null | undefined;
648
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
649
- ref?: React.RefObject<HTMLSpanElement> | ((instance: HTMLSpanElement | null) => void) | null | undefined;
650
- }) | (Omit<React.DetailedHTMLProps<React.StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>, "ref"> & {
651
- ref?: React.RefObject<HTMLStyleElement> | ((instance: HTMLStyleElement | null) => void) | null | undefined;
652
- }) | (Omit<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & {
653
- ref?: React.RefObject<HTMLTableElement> | ((instance: HTMLTableElement | null) => void) | null | undefined;
654
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>, "ref"> & {
655
- ref?: React.RefObject<HTMLTemplateElement> | ((instance: HTMLTemplateElement | null) => void) | null | undefined;
656
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & {
657
- ref?: React.RefObject<HTMLTableSectionElement> | ((instance: HTMLTableSectionElement | null) => void) | null | undefined;
658
- }) | (Omit<React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & {
659
- ref?: React.RefObject<HTMLTableDataCellElement> | ((instance: HTMLTableDataCellElement | null) => void) | null | undefined;
660
- }) | (Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & {
661
- ref?: React.RefObject<HTMLTextAreaElement> | ((instance: HTMLTextAreaElement | null) => void) | null | undefined;
662
- }) | (Omit<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & {
663
- ref?: React.RefObject<HTMLTableHeaderCellElement> | ((instance: HTMLTableHeaderCellElement | null) => void) | null | undefined;
664
- }) | (Omit<React.DetailedHTMLProps<React.TimeHTMLAttributes<HTMLTimeElement>, HTMLTimeElement>, "ref"> & {
665
- ref?: React.RefObject<HTMLTimeElement> | ((instance: HTMLTimeElement | null) => void) | null | undefined;
666
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & {
667
- ref?: React.RefObject<HTMLTableRowElement> | ((instance: HTMLTableRowElement | null) => void) | null | undefined;
668
- }) | (Omit<React.DetailedHTMLProps<React.TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>, "ref"> & {
669
- ref?: React.RefObject<HTMLTrackElement> | ((instance: HTMLTrackElement | null) => void) | null | undefined;
670
- }) | (Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
671
- ref?: React.RefObject<HTMLUListElement> | ((instance: HTMLUListElement | null) => void) | null | undefined;
672
- }) | (Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "ref"> & {
673
- ref?: React.RefObject<HTMLVideoElement> | ((instance: HTMLVideoElement | null) => void) | null | undefined;
674
- }) | (Omit<React.DetailedHTMLProps<React.WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>, "ref"> & {
675
- ref?: React.RefObject<HTMLWebViewElement> | ((instance: HTMLWebViewElement | null) => void) | null | undefined;
676
- }) | (Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
677
- ref?: React.RefObject<SVGSVGElement> | ((instance: SVGSVGElement | null) => void) | null | undefined;
678
- }) | (Omit<React.SVGProps<SVGElement>, "ref"> & {
679
- ref?: React.RefObject<SVGElement> | ((instance: SVGElement | null) => void) | null | undefined;
680
- }) | (Omit<React.SVGProps<SVGCircleElement>, "ref"> & {
681
- ref?: React.RefObject<SVGCircleElement> | ((instance: SVGCircleElement | null) => void) | null | undefined;
682
- }) | (Omit<React.SVGProps<SVGClipPathElement>, "ref"> & {
683
- ref?: React.RefObject<SVGClipPathElement> | ((instance: SVGClipPathElement | null) => void) | null | undefined;
684
- }) | (Omit<React.SVGProps<SVGDefsElement>, "ref"> & {
685
- ref?: React.RefObject<SVGDefsElement> | ((instance: SVGDefsElement | null) => void) | null | undefined;
686
- }) | (Omit<React.SVGProps<SVGDescElement>, "ref"> & {
687
- ref?: React.RefObject<SVGDescElement> | ((instance: SVGDescElement | null) => void) | null | undefined;
688
- }) | (Omit<React.SVGProps<SVGEllipseElement>, "ref"> & {
689
- ref?: React.RefObject<SVGEllipseElement> | ((instance: SVGEllipseElement | null) => void) | null | undefined;
690
- }) | (Omit<React.SVGProps<SVGFEBlendElement>, "ref"> & {
691
- ref?: React.RefObject<SVGFEBlendElement> | ((instance: SVGFEBlendElement | null) => void) | null | undefined;
692
- }) | (Omit<React.SVGProps<SVGFEColorMatrixElement>, "ref"> & {
693
- ref?: React.RefObject<SVGFEColorMatrixElement> | ((instance: SVGFEColorMatrixElement | null) => void) | null | undefined;
694
- }) | (Omit<React.SVGProps<SVGFEComponentTransferElement>, "ref"> & {
695
- ref?: React.RefObject<SVGFEComponentTransferElement> | ((instance: SVGFEComponentTransferElement | null) => void) | null | undefined;
696
- }) | (Omit<React.SVGProps<SVGFECompositeElement>, "ref"> & {
697
- ref?: React.RefObject<SVGFECompositeElement> | ((instance: SVGFECompositeElement | null) => void) | null | undefined;
698
- }) | (Omit<React.SVGProps<SVGFEConvolveMatrixElement>, "ref"> & {
699
- ref?: React.RefObject<SVGFEConvolveMatrixElement> | ((instance: SVGFEConvolveMatrixElement | null) => void) | null | undefined;
700
- }) | (Omit<React.SVGProps<SVGFEDiffuseLightingElement>, "ref"> & {
701
- ref?: React.RefObject<SVGFEDiffuseLightingElement> | ((instance: SVGFEDiffuseLightingElement | null) => void) | null | undefined;
702
- }) | (Omit<React.SVGProps<SVGFEDisplacementMapElement>, "ref"> & {
703
- ref?: React.RefObject<SVGFEDisplacementMapElement> | ((instance: SVGFEDisplacementMapElement | null) => void) | null | undefined;
704
- }) | (Omit<React.SVGProps<SVGFEDistantLightElement>, "ref"> & {
705
- ref?: React.RefObject<SVGFEDistantLightElement> | ((instance: SVGFEDistantLightElement | null) => void) | null | undefined;
706
- }) | (Omit<React.SVGProps<SVGFEDropShadowElement>, "ref"> & {
707
- ref?: React.RefObject<SVGFEDropShadowElement> | ((instance: SVGFEDropShadowElement | null) => void) | null | undefined;
708
- }) | (Omit<React.SVGProps<SVGFEFloodElement>, "ref"> & {
709
- ref?: React.RefObject<SVGFEFloodElement> | ((instance: SVGFEFloodElement | null) => void) | null | undefined;
710
- }) | (Omit<React.SVGProps<SVGFEFuncAElement>, "ref"> & {
711
- ref?: React.RefObject<SVGFEFuncAElement> | ((instance: SVGFEFuncAElement | null) => void) | null | undefined;
712
- }) | (Omit<React.SVGProps<SVGFEFuncBElement>, "ref"> & {
713
- ref?: React.RefObject<SVGFEFuncBElement> | ((instance: SVGFEFuncBElement | null) => void) | null | undefined;
714
- }) | (Omit<React.SVGProps<SVGFEFuncGElement>, "ref"> & {
715
- ref?: React.RefObject<SVGFEFuncGElement> | ((instance: SVGFEFuncGElement | null) => void) | null | undefined;
716
- }) | (Omit<React.SVGProps<SVGFEFuncRElement>, "ref"> & {
717
- ref?: React.RefObject<SVGFEFuncRElement> | ((instance: SVGFEFuncRElement | null) => void) | null | undefined;
718
- }) | (Omit<React.SVGProps<SVGFEGaussianBlurElement>, "ref"> & {
719
- ref?: React.RefObject<SVGFEGaussianBlurElement> | ((instance: SVGFEGaussianBlurElement | null) => void) | null | undefined;
720
- }) | (Omit<React.SVGProps<SVGFEImageElement>, "ref"> & {
721
- ref?: React.RefObject<SVGFEImageElement> | ((instance: SVGFEImageElement | null) => void) | null | undefined;
722
- }) | (Omit<React.SVGProps<SVGFEMergeElement>, "ref"> & {
723
- ref?: React.RefObject<SVGFEMergeElement> | ((instance: SVGFEMergeElement | null) => void) | null | undefined;
724
- }) | (Omit<React.SVGProps<SVGFEMergeNodeElement>, "ref"> & {
725
- ref?: React.RefObject<SVGFEMergeNodeElement> | ((instance: SVGFEMergeNodeElement | null) => void) | null | undefined;
726
- }) | (Omit<React.SVGProps<SVGFEMorphologyElement>, "ref"> & {
727
- ref?: React.RefObject<SVGFEMorphologyElement> | ((instance: SVGFEMorphologyElement | null) => void) | null | undefined;
728
- }) | (Omit<React.SVGProps<SVGFEOffsetElement>, "ref"> & {
729
- ref?: React.RefObject<SVGFEOffsetElement> | ((instance: SVGFEOffsetElement | null) => void) | null | undefined;
730
- }) | (Omit<React.SVGProps<SVGFEPointLightElement>, "ref"> & {
731
- ref?: React.RefObject<SVGFEPointLightElement> | ((instance: SVGFEPointLightElement | null) => void) | null | undefined;
732
- }) | (Omit<React.SVGProps<SVGFESpecularLightingElement>, "ref"> & {
733
- ref?: React.RefObject<SVGFESpecularLightingElement> | ((instance: SVGFESpecularLightingElement | null) => void) | null | undefined;
734
- }) | (Omit<React.SVGProps<SVGFESpotLightElement>, "ref"> & {
735
- ref?: React.RefObject<SVGFESpotLightElement> | ((instance: SVGFESpotLightElement | null) => void) | null | undefined;
736
- }) | (Omit<React.SVGProps<SVGFETileElement>, "ref"> & {
737
- ref?: React.RefObject<SVGFETileElement> | ((instance: SVGFETileElement | null) => void) | null | undefined;
738
- }) | (Omit<React.SVGProps<SVGFETurbulenceElement>, "ref"> & {
739
- ref?: React.RefObject<SVGFETurbulenceElement> | ((instance: SVGFETurbulenceElement | null) => void) | null | undefined;
740
- }) | (Omit<React.SVGProps<SVGFilterElement>, "ref"> & {
741
- ref?: React.RefObject<SVGFilterElement> | ((instance: SVGFilterElement | null) => void) | null | undefined;
742
- }) | (Omit<React.SVGProps<SVGForeignObjectElement>, "ref"> & {
743
- ref?: React.RefObject<SVGForeignObjectElement> | ((instance: SVGForeignObjectElement | null) => void) | null | undefined;
744
- }) | (Omit<React.SVGProps<SVGGElement>, "ref"> & {
745
- ref?: React.RefObject<SVGGElement> | ((instance: SVGGElement | null) => void) | null | undefined;
746
- }) | (Omit<React.SVGProps<SVGImageElement>, "ref"> & {
747
- ref?: React.RefObject<SVGImageElement> | ((instance: SVGImageElement | null) => void) | null | undefined;
748
- }) | (Omit<React.SVGLineElementAttributes<SVGLineElement>, "ref"> & {
749
- ref?: React.RefObject<SVGLineElement> | ((instance: SVGLineElement | null) => void) | null | undefined;
750
- }) | (Omit<React.SVGProps<SVGLinearGradientElement>, "ref"> & {
751
- ref?: React.RefObject<SVGLinearGradientElement> | ((instance: SVGLinearGradientElement | null) => void) | null | undefined;
752
- }) | (Omit<React.SVGProps<SVGMarkerElement>, "ref"> & {
753
- ref?: React.RefObject<SVGMarkerElement> | ((instance: SVGMarkerElement | null) => void) | null | undefined;
754
- }) | (Omit<React.SVGProps<SVGMaskElement>, "ref"> & {
755
- ref?: React.RefObject<SVGMaskElement> | ((instance: SVGMaskElement | null) => void) | null | undefined;
756
- }) | (Omit<React.SVGProps<SVGMetadataElement>, "ref"> & {
757
- ref?: React.RefObject<SVGMetadataElement> | ((instance: SVGMetadataElement | null) => void) | null | undefined;
758
- }) | (Omit<React.SVGProps<SVGPathElement>, "ref"> & {
759
- ref?: React.RefObject<SVGPathElement> | ((instance: SVGPathElement | null) => void) | null | undefined;
760
- }) | (Omit<React.SVGProps<SVGPatternElement>, "ref"> & {
761
- ref?: React.RefObject<SVGPatternElement> | ((instance: SVGPatternElement | null) => void) | null | undefined;
762
- }) | (Omit<React.SVGProps<SVGPolygonElement>, "ref"> & {
763
- ref?: React.RefObject<SVGPolygonElement> | ((instance: SVGPolygonElement | null) => void) | null | undefined;
764
- }) | (Omit<React.SVGProps<SVGPolylineElement>, "ref"> & {
765
- ref?: React.RefObject<SVGPolylineElement> | ((instance: SVGPolylineElement | null) => void) | null | undefined;
766
- }) | (Omit<React.SVGProps<SVGRadialGradientElement>, "ref"> & {
767
- ref?: React.RefObject<SVGRadialGradientElement> | ((instance: SVGRadialGradientElement | null) => void) | null | undefined;
768
- }) | (Omit<React.SVGProps<SVGRectElement>, "ref"> & {
769
- ref?: React.RefObject<SVGRectElement> | ((instance: SVGRectElement | null) => void) | null | undefined;
770
- }) | (Omit<React.SVGProps<SVGStopElement>, "ref"> & {
771
- ref?: React.RefObject<SVGStopElement> | ((instance: SVGStopElement | null) => void) | null | undefined;
772
- }) | (Omit<React.SVGProps<SVGSwitchElement>, "ref"> & {
773
- ref?: React.RefObject<SVGSwitchElement> | ((instance: SVGSwitchElement | null) => void) | null | undefined;
774
- }) | (Omit<React.SVGTextElementAttributes<SVGTextElement>, "ref"> & {
775
- ref?: React.RefObject<SVGTextElement> | ((instance: SVGTextElement | null) => void) | null | undefined;
776
- }) | (Omit<React.SVGProps<SVGTextPathElement>, "ref"> & {
777
- ref?: React.RefObject<SVGTextPathElement> | ((instance: SVGTextPathElement | null) => void) | null | undefined;
778
- }) | (Omit<React.SVGProps<SVGTSpanElement>, "ref"> & {
779
- ref?: React.RefObject<SVGTSpanElement> | ((instance: SVGTSpanElement | null) => void) | null | undefined;
780
- }) | (Omit<React.SVGProps<SVGUseElement>, "ref"> & {
781
- ref?: React.RefObject<SVGUseElement> | ((instance: SVGUseElement | null) => void) | null | undefined;
782
- }) | (Omit<React.SVGProps<SVGViewElement>, "ref"> & {
783
- ref?: React.RefObject<SVGViewElement> | ((instance: SVGViewElement | null) => void) | null | undefined;
784
- }), "as"> & {
785
- as: keyof JSX.IntrinsicElements;
786
- }, "children" | "href" | "as" | "disabled" | "onClick" | "className" | "darkMode" | "size" | "tabIndex" | "aria-label" | "aria-labelledby" | "active"> & Omit<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-label" | "aria-labelledby"> & Required<Pick<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-labelledby">> & Partial<Pick<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-label">>, "ref"> | Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
787
- ref?: React.RefObject<HTMLButtonElement> | ((instance: HTMLButtonElement | null) => void) | null | undefined;
788
- }, "href" | "as"> & {
789
- as?: undefined;
790
- href?: undefined;
791
- }, "children" | "href" | "as" | "disabled" | "onClick" | "className" | "darkMode" | "size" | "tabIndex" | "aria-label" | "aria-labelledby" | "active"> & Omit<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-label" | "aria-labelledby"> & Required<Pick<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-label">> & Partial<Pick<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-labelledby">>, "ref"> | Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
792
- ref?: React.RefObject<HTMLButtonElement> | ((instance: HTMLButtonElement | null) => void) | null | undefined;
793
- }, "href" | "as"> & {
794
- as?: undefined;
795
- href?: undefined;
796
- }, "children" | "href" | "as" | "disabled" | "onClick" | "className" | "darkMode" | "size" | "tabIndex" | "aria-label" | "aria-labelledby" | "active"> & Omit<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-label" | "aria-labelledby"> & Required<Pick<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-labelledby">> & Partial<Pick<import("@leafygreen-ui/icon-button").BaseIconButtonProps, "aria-label">>, "ref">) & React.RefAttributes<any>>;
15
+ export declare const Link: typeof LGLink;
16
+ export declare const Button: typeof LGButton;
17
+ export declare const IconButton: typeof LGIconButton;
797
18
  export {};
798
19
  //# sourceMappingURL=link.d.ts.map