@strapi/design-system 0.0.0-typescript.2 → 0.0.0-typescript.3

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 (212) hide show
  1. package/package.json +3 -3
  2. package/dist/CarouselInput/Carousel.d.ts +0 -41
  3. package/dist/CarouselInput/CarouselActions.d.ts +0 -1
  4. package/dist/CarouselInput/CarouselImage.d.ts +0 -14
  5. package/dist/CarouselInput/CarouselInput.d.ts +0 -52
  6. package/dist/CarouselInput/CarouselSlide.d.ts +0 -18
  7. package/dist/CarouselInput/index.d.ts +0 -5
  8. package/dist/Checkbox/Checkbox.d.ts +0 -28
  9. package/dist/Checkbox/index.d.ts +0 -1
  10. package/dist/Combobox/Combobox.d.ts +0 -99
  11. package/dist/Combobox/ComboboxList.d.ts +0 -13
  12. package/dist/Combobox/ComboboxOption.d.ts +0 -2
  13. package/dist/Combobox/components.d.ts +0 -8
  14. package/dist/Combobox/index.d.ts +0 -2
  15. package/dist/Combobox/utils.d.ts +0 -35
  16. package/dist/DatePicker/DatePicker.d.ts +0 -56
  17. package/dist/DatePicker/DatePickerCalendar.d.ts +0 -35
  18. package/dist/DatePicker/DatePickerTd.d.ts +0 -22
  19. package/dist/DatePicker/DatePickerTh.d.ts +0 -10
  20. package/dist/DatePicker/compareDates.d.ts +0 -1
  21. package/dist/DatePicker/components.d.ts +0 -26
  22. package/dist/DatePicker/index.d.ts +0 -1
  23. package/dist/DatePicker/utils/formatDate.d.ts +0 -1
  24. package/dist/DatePicker/utils/generateWeeks.d.ts +0 -1
  25. package/dist/DatePicker/utils/getDayOfWeek.d.ts +0 -9
  26. package/dist/DatePicker/utils/getMonths.d.ts +0 -1
  27. package/dist/DatePicker/utils/getYears.d.ts +0 -1
  28. package/dist/DatePicker/utils/index.d.ts +0 -5
  29. package/dist/DateTimePicker/DateTimePicker.d.ts +0 -24
  30. package/dist/DateTimePicker/DateTimePickerProps.d.ts +0 -51
  31. package/dist/DateTimePicker/__tests__/parseDate.test.d.ts +0 -1
  32. package/dist/DateTimePicker/index.d.ts +0 -1
  33. package/dist/DateTimePicker/parseDate.d.ts +0 -1
  34. package/dist/Dialog/Dialog.d.ts +0 -25
  35. package/dist/Dialog/DialogBody.d.ts +0 -16
  36. package/dist/Dialog/DialogFooter.d.ts +0 -18
  37. package/dist/Dialog/index.d.ts +0 -3
  38. package/dist/DismissibleLayer/DismissibleLayer.d.ts +0 -19
  39. package/dist/DismissibleLayer/index.d.ts +0 -1
  40. package/dist/Divider/Divider.d.ts +0 -17
  41. package/dist/Divider/index.d.ts +0 -1
  42. package/dist/EmptyStateLayout/EmptyStateLayout.d.ts +0 -25
  43. package/dist/EmptyStateLayout/index.d.ts +0 -1
  44. package/dist/EmptyStateLayout/story-assets/Illo.d.ts +0 -1
  45. package/dist/Field/Field.d.ts +0 -28
  46. package/dist/Field/FieldAction.d.ts +0 -12
  47. package/dist/Field/FieldContext.d.ts +0 -12
  48. package/dist/Field/FieldError.d.ts +0 -1
  49. package/dist/Field/FieldHint.d.ts +0 -1
  50. package/dist/Field/FieldInput.d.ts +0 -6
  51. package/dist/Field/FieldLabel.d.ts +0 -20
  52. package/dist/Field/index.d.ts +0 -7
  53. package/dist/FocusTrap/ExampleComponent.d.ts +0 -1
  54. package/dist/FocusTrap/FocusTrap.d.ts +0 -18
  55. package/dist/FocusTrap/index.d.ts +0 -1
  56. package/dist/Grid/Grid.d.ts +0 -18
  57. package/dist/Grid/GridContext.d.ts +0 -8
  58. package/dist/Grid/GridItem.d.ts +0 -22
  59. package/dist/Grid/index.d.ts +0 -2
  60. package/dist/IconButton/IconButton.d.ts +0 -3
  61. package/dist/IconButton/index.d.ts +0 -1
  62. package/dist/Layout/ActionLayout.d.ts +0 -17
  63. package/dist/Layout/ContentLayout.d.ts +0 -9
  64. package/dist/Layout/GridLayout.d.ts +0 -1
  65. package/dist/Layout/HeaderLayout.d.ts +0 -24
  66. package/dist/Layout/Layout.d.ts +0 -15
  67. package/dist/Layout/TwoColsLayout.d.ts +0 -11
  68. package/dist/Layout/index.d.ts +0 -6
  69. package/dist/Link/Link.d.ts +0 -31
  70. package/dist/Link/index.d.ts +0 -1
  71. package/dist/LinkButton/LinkButton.d.ts +0 -2
  72. package/dist/LinkButton/index.d.ts +0 -1
  73. package/dist/Loader/Loader.d.ts +0 -2
  74. package/dist/Loader/index.d.ts +0 -1
  75. package/dist/Main/Main.d.ts +0 -14
  76. package/dist/Main/SkipToContent.d.ts +0 -9
  77. package/dist/Main/index.d.ts +0 -2
  78. package/dist/MainNav/MainNav.d.ts +0 -14
  79. package/dist/MainNav/MainNavContext.d.ts +0 -2
  80. package/dist/MainNav/NavBrand.d.ts +0 -19
  81. package/dist/MainNav/NavCondense.d.ts +0 -10
  82. package/dist/MainNav/NavLink.d.ts +0 -23
  83. package/dist/MainNav/NavSection.d.ts +0 -12
  84. package/dist/MainNav/NavSections.d.ts +0 -10
  85. package/dist/MainNav/NavUser.d.ts +0 -2
  86. package/dist/MainNav/index.d.ts +0 -7
  87. package/dist/ModalLayout/ModalBody.d.ts +0 -1
  88. package/dist/ModalLayout/ModalContext.d.ts +0 -2
  89. package/dist/ModalLayout/ModalFooter.d.ts +0 -17
  90. package/dist/ModalLayout/ModalHeader.d.ts +0 -15
  91. package/dist/ModalLayout/ModalLayout.d.ts +0 -12
  92. package/dist/ModalLayout/index.d.ts +0 -4
  93. package/dist/NumberInput/NumberInput.d.ts +0 -2
  94. package/dist/NumberInput/index.d.ts +0 -1
  95. package/dist/Pagination/Pagination.d.ts +0 -19
  96. package/dist/Pagination/PaginationContext.d.ts +0 -8
  97. package/dist/Pagination/components.d.ts +0 -50
  98. package/dist/Pagination/index.d.ts +0 -2
  99. package/dist/Popover/Popover.d.ts +0 -34
  100. package/dist/Popover/index.d.ts +0 -1
  101. package/dist/Portal/Portal.d.ts +0 -9
  102. package/dist/Portal/index.d.ts +0 -1
  103. package/dist/ProgressBar/ProgressBar.d.ts +0 -28
  104. package/dist/ProgressBar/index.d.ts +0 -1
  105. package/dist/Radio/Radio.d.ts +0 -11
  106. package/dist/Radio/index.d.ts +0 -2
  107. package/dist/RawTable/RawCell.d.ts +0 -47
  108. package/dist/RawTable/RawTable.d.ts +0 -26
  109. package/dist/RawTable/RawTableContext.d.ts +0 -10
  110. package/dist/RawTable/RawTbody.d.ts +0 -10
  111. package/dist/RawTable/RawThead.d.ts +0 -10
  112. package/dist/RawTable/RawTr.d.ts +0 -11
  113. package/dist/RawTable/focusFocusable.d.ts +0 -1
  114. package/dist/RawTable/index.d.ts +0 -5
  115. package/dist/Searchbar/SearchForm.d.ts +0 -1
  116. package/dist/Searchbar/Searchbar.d.ts +0 -2
  117. package/dist/Searchbar/index.d.ts +0 -2
  118. package/dist/Select/MultiSelectNested.d.ts +0 -10
  119. package/dist/Select/OptGroup.d.ts +0 -13
  120. package/dist/Select/Option.d.ts +0 -35
  121. package/dist/Select/Select.d.ts +0 -72
  122. package/dist/Select/SelectButton.d.ts +0 -2
  123. package/dist/Select/SelectList.d.ts +0 -25
  124. package/dist/Select/SelectTags.d.ts +0 -22
  125. package/dist/Select/components.d.ts +0 -3
  126. package/dist/Select/constants.d.ts +0 -10
  127. package/dist/Select/hooks/useButtonRef.d.ts +0 -1
  128. package/dist/Select/hooks/useListRef.d.ts +0 -1
  129. package/dist/Select/index.d.ts +0 -5
  130. package/dist/Select/utils.d.ts +0 -2
  131. package/dist/SimpleMenu/SimpleMenu.d.ts +0 -73
  132. package/dist/SimpleMenu/index.d.ts +0 -1
  133. package/dist/SimpleMenu/utils.d.ts +0 -3
  134. package/dist/Status/Status.d.ts +0 -24
  135. package/dist/Status/index.d.ts +0 -1
  136. package/dist/SubNav/SubNav.d.ts +0 -11
  137. package/dist/SubNav/SubNavHeader.d.ts +0 -40
  138. package/dist/SubNav/SubNavLink.d.ts +0 -25
  139. package/dist/SubNav/SubNavLinkSection.d.ts +0 -19
  140. package/dist/SubNav/SubNavSection.d.ts +0 -27
  141. package/dist/SubNav/SubNavSectionLabel.d.ts +0 -26
  142. package/dist/SubNav/SubNavSections.d.ts +0 -10
  143. package/dist/SubNav/index.d.ts +0 -6
  144. package/dist/Switch/Switch.d.ts +0 -2
  145. package/dist/Switch/index.d.ts +0 -1
  146. package/dist/Table/Cell.d.ts +0 -17
  147. package/dist/Table/TFooter.d.ts +0 -12
  148. package/dist/Table/Table.d.ts +0 -18
  149. package/dist/Table/Tbody.d.ts +0 -1
  150. package/dist/Table/Thead.d.ts +0 -1
  151. package/dist/Table/Tr.d.ts +0 -1
  152. package/dist/Table/index.d.ts +0 -6
  153. package/dist/Tabs/TabGroup.d.ts +0 -2
  154. package/dist/Tabs/TabPanels.d.ts +0 -24
  155. package/dist/Tabs/Tabs.d.ts +0 -51
  156. package/dist/Tabs/TabsContext.d.ts +0 -2
  157. package/dist/Tabs/components.d.ts +0 -6
  158. package/dist/Tabs/index.d.ts +0 -3
  159. package/dist/Tabs/useTabsFocus.d.ts +0 -1
  160. package/dist/Tag/Tag.d.ts +0 -23
  161. package/dist/Tag/index.d.ts +0 -1
  162. package/dist/TextInput/TextInput.d.ts +0 -2
  163. package/dist/TextInput/index.d.ts +0 -1
  164. package/dist/Textarea/Textarea.d.ts +0 -2
  165. package/dist/Textarea/TextareaInput.d.ts +0 -2
  166. package/dist/Textarea/index.d.ts +0 -1
  167. package/dist/TimePicker/TimePicker.d.ts +0 -54
  168. package/dist/TimePicker/index.d.ts +0 -1
  169. package/dist/ToggleCheckbox/ToggleCheckbox.d.ts +0 -2
  170. package/dist/ToggleCheckbox/index.d.ts +0 -1
  171. package/dist/ToggleInput/ToggleInput.d.ts +0 -59
  172. package/dist/ToggleInput/index.d.ts +0 -1
  173. package/dist/Tooltip/Tooltip.d.ts +0 -32
  174. package/dist/Tooltip/hooks/useTooltipHandlers.d.ts +0 -7
  175. package/dist/Tooltip/hooks/useTooltipLayout.d.ts +0 -4
  176. package/dist/Tooltip/index.d.ts +0 -1
  177. package/dist/Tooltip/utils/positionTooltip.d.ts +0 -7
  178. package/dist/v2/Breadcrumbs/Breadcrumbs.d.ts +0 -13
  179. package/dist/v2/Breadcrumbs/Crumb.d.ts +0 -17
  180. package/dist/v2/Breadcrumbs/CrumbLink.d.ts +0 -16
  181. package/dist/v2/Breadcrumbs/CrumbSimpleMenu.d.ts +0 -12
  182. package/dist/v2/Breadcrumbs/Divider.d.ts +0 -4
  183. package/dist/v2/Breadcrumbs/index.d.ts +0 -4
  184. package/dist/v2/Link/Link.d.ts +0 -2
  185. package/dist/v2/Link/index.d.ts +0 -1
  186. package/dist/v2/LinkButton/LinkButton.d.ts +0 -2
  187. package/dist/v2/LinkButton/index.d.ts +0 -1
  188. package/dist/v2/MainNav/MainNav.d.ts +0 -14
  189. package/dist/v2/MainNav/MainNavContext.d.ts +0 -2
  190. package/dist/v2/MainNav/NavBrand.d.ts +0 -2
  191. package/dist/v2/MainNav/NavCondense.d.ts +0 -10
  192. package/dist/v2/MainNav/NavLink.d.ts +0 -2
  193. package/dist/v2/MainNav/NavSection.d.ts +0 -12
  194. package/dist/v2/MainNav/NavSections.d.ts +0 -10
  195. package/dist/v2/MainNav/NavUser.d.ts +0 -2
  196. package/dist/v2/MainNav/index.d.ts +0 -7
  197. package/dist/v2/Pagination/Pagination.d.ts +0 -19
  198. package/dist/v2/Pagination/PaginationContext.d.ts +0 -8
  199. package/dist/v2/Pagination/components.d.ts +0 -14
  200. package/dist/v2/Pagination/index.d.ts +0 -2
  201. package/dist/v2/SimpleMenu/SimpleMenu.d.ts +0 -70
  202. package/dist/v2/SimpleMenu/index.d.ts +0 -1
  203. package/dist/v2/SimpleMenu/utils.d.ts +0 -3
  204. package/dist/v2/SubNav/SubNav.d.ts +0 -11
  205. package/dist/v2/SubNav/SubNavHeader.d.ts +0 -40
  206. package/dist/v2/SubNav/SubNavLink.d.ts +0 -2
  207. package/dist/v2/SubNav/SubNavLinkSection.d.ts +0 -17
  208. package/dist/v2/SubNav/SubNavSection.d.ts +0 -25
  209. package/dist/v2/SubNav/SubNavSectionLabel.d.ts +0 -26
  210. package/dist/v2/SubNav/SubNavSections.d.ts +0 -10
  211. package/dist/v2/SubNav/index.d.ts +0 -6
  212. package/dist/v2/index.d.ts +0 -7
@@ -1,17 +0,0 @@
1
- export function ModalFooter({ startActions, endActions }: {
2
- startActions: any;
3
- endActions: any;
4
- }): JSX.Element;
5
- export namespace ModalFooter {
6
- namespace defaultProps {
7
- const endActions: undefined;
8
- const startActions: undefined;
9
- }
10
- namespace propTypes {
11
- const endActions_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
12
- export { endActions_1 as endActions };
13
- const startActions_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
14
- export { startActions_1 as startActions };
15
- }
16
- }
17
- import PropTypes from "prop-types";
@@ -1,15 +0,0 @@
1
- export function ModalHeader({ children, closeLabel }: {
2
- children: any;
3
- closeLabel: any;
4
- }): JSX.Element;
5
- export namespace ModalHeader {
6
- namespace defaultProps {
7
- const closeLabel: string;
8
- }
9
- namespace propTypes {
10
- export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
11
- const closeLabel_1: PropTypes.Requireable<string>;
12
- export { closeLabel_1 as closeLabel };
13
- }
14
- }
15
- import PropTypes from "prop-types";
@@ -1,12 +0,0 @@
1
- export function ModalLayout({ onClose, labelledBy, ...props }: {
2
- [x: string]: any;
3
- onClose: any;
4
- labelledBy: any;
5
- }): JSX.Element;
6
- export namespace ModalLayout {
7
- namespace propTypes {
8
- const labelledBy: PropTypes.Validator<string>;
9
- const onClose: PropTypes.Validator<(...args: any[]) => any>;
10
- }
11
- }
12
- import PropTypes from "prop-types";
@@ -1,4 +0,0 @@
1
- export * from "./ModalLayout";
2
- export * from "./ModalHeader";
3
- export * from "./ModalFooter";
4
- export * from "./ModalBody";
@@ -1,2 +0,0 @@
1
- export const NumberInput: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
- import React from "react";
@@ -1 +0,0 @@
1
- export * from "./NumberInput";
@@ -1,19 +0,0 @@
1
- export function Pagination({ children, label, activePage, pageCount }: {
2
- children: any;
3
- label: any;
4
- activePage: any;
5
- pageCount: any;
6
- }): JSX.Element;
7
- export namespace Pagination {
8
- namespace defaultProps {
9
- const label: string;
10
- }
11
- namespace propTypes {
12
- export const activePage: PropTypes.Validator<number>;
13
- export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
14
- const label_1: PropTypes.Requireable<string>;
15
- export { label_1 as label };
16
- export const pageCount: PropTypes.Validator<number>;
17
- }
18
- }
19
- import PropTypes from "prop-types";
@@ -1,8 +0,0 @@
1
- export const PaginationContext: import("react").Context<{
2
- activePage: number;
3
- pageCount: number;
4
- }>;
5
- export function usePagination(): {
6
- activePage: number;
7
- pageCount: number;
8
- };
@@ -1,50 +0,0 @@
1
- export function PreviousLink({ children, to, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- to: any;
5
- }): JSX.Element;
6
- export namespace PreviousLink {
7
- export const displayName: string;
8
- export { sharedPropTypes as propTypes };
9
- }
10
- export function NextLink({ children, to, ...props }: {
11
- [x: string]: any;
12
- children: any;
13
- to: any;
14
- }): JSX.Element;
15
- export namespace NextLink {
16
- const displayName_1: string;
17
- export { displayName_1 as displayName };
18
- export { sharedPropTypes as propTypes };
19
- }
20
- export function PageLink({ number, children, ...props }: {
21
- [x: string]: any;
22
- number: any;
23
- children: any;
24
- }): JSX.Element;
25
- export namespace PageLink {
26
- const displayName_2: string;
27
- export { displayName_2 as displayName };
28
- export namespace propTypes {
29
- const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
30
- const number: PropTypes.Validator<number>;
31
- }
32
- }
33
- export function Dots({ children, ...props }: {
34
- [x: string]: any;
35
- children: any;
36
- }): JSX.Element;
37
- export namespace Dots {
38
- export namespace propTypes_1 {
39
- const children_1: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
40
- export { children_1 as children };
41
- }
42
- export { propTypes_1 as propTypes };
43
- }
44
- declare namespace sharedPropTypes {
45
- const children_2: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
46
- export { children_2 as children };
47
- export const to: PropTypes.Validator<string>;
48
- }
49
- import PropTypes from "prop-types";
50
- export {};
@@ -1,2 +0,0 @@
1
- export * from "./Pagination";
2
- export * from "./components";
@@ -1,34 +0,0 @@
1
- export const POPOVER_PLACEMENTS: string[];
2
- export function Popover(props: any): JSX.Element;
3
- export namespace Popover {
4
- export { popoverProps as propTypes };
5
- export { popoverDefaultProps as defaultProps };
6
- }
7
- declare namespace popoverProps {
8
- const centered: PropTypes.Requireable<boolean>;
9
- const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
10
- const fullWidth: PropTypes.Requireable<boolean>;
11
- const intersectionId: PropTypes.Requireable<string>;
12
- const onReachEnd: PropTypes.Requireable<(...args: any[]) => any>;
13
- const placement: PropTypes.Requireable<string>;
14
- const source: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
15
- current: PropTypes.Validator<any>;
16
- }>>>;
17
- const spacing: PropTypes.Requireable<number>;
18
- }
19
- declare namespace popoverDefaultProps {
20
- const fullWidth_1: boolean;
21
- export { fullWidth_1 as fullWidth };
22
- const intersectionId_1: undefined;
23
- export { intersectionId_1 as intersectionId };
24
- const onReachEnd_1: undefined;
25
- export { onReachEnd_1 as onReachEnd };
26
- const centered_1: boolean;
27
- export { centered_1 as centered };
28
- const placement_1: string;
29
- export { placement_1 as placement };
30
- const spacing_1: number;
31
- export { spacing_1 as spacing };
32
- }
33
- import PropTypes from "prop-types";
34
- export {};
@@ -1 +0,0 @@
1
- export * from "./Popover";
@@ -1,9 +0,0 @@
1
- export function Portal({ children }: {
2
- children: any;
3
- }): import("react").ReactPortal | null;
4
- export namespace Portal {
5
- namespace propTypes {
6
- const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
7
- }
8
- }
9
- import PropTypes from "prop-types";
@@ -1 +0,0 @@
1
- export * from "./Portal";
@@ -1,28 +0,0 @@
1
- export function ProgressBar({ min, max, value, children, size, ...props }: {
2
- [x: string]: any;
3
- min: any;
4
- max: any;
5
- value: any;
6
- children: any;
7
- size: any;
8
- }): JSX.Element;
9
- export namespace ProgressBar {
10
- namespace defaultProps {
11
- const min: number;
12
- const max: number;
13
- const value: number;
14
- const size: string;
15
- }
16
- namespace propTypes {
17
- export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
18
- const max_1: PropTypes.Requireable<number>;
19
- export { max_1 as max };
20
- const min_1: PropTypes.Requireable<number>;
21
- export { min_1 as min };
22
- const size_1: PropTypes.Requireable<string>;
23
- export { size_1 as size };
24
- const value_1: PropTypes.Requireable<number>;
25
- export { value_1 as value };
26
- }
27
- }
28
- import PropTypes from "prop-types";
@@ -1 +0,0 @@
1
- export * from "./ProgressBar";
@@ -1,11 +0,0 @@
1
- export function Radio({ children, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- }): JSX.Element;
5
- export namespace Radio {
6
- namespace propTypes {
7
- const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
8
- const value: PropTypes.Validator<any>;
9
- }
10
- }
11
- import PropTypes from "prop-types";
@@ -1,2 +0,0 @@
1
- export * from "./Radio";
2
- export { RadioGroup } from "../BaseRadio/RadioGroup";
@@ -1,47 +0,0 @@
1
- export function RawTh(props: any): JSX.Element;
2
- export namespace RawTh {
3
- namespace defaultProps {
4
- const children: undefined;
5
- const coords: {};
6
- }
7
- const propTypes: {
8
- 'aria-colindex': PropTypes.Validator<number>;
9
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
10
- /**
11
- * Position of the cell in the table
12
- */
13
- coords: PropTypes.Requireable<PropTypes.InferProps<{
14
- col: PropTypes.Requireable<number>;
15
- row: PropTypes.Requireable<number>;
16
- }>>;
17
- };
18
- }
19
- export function RawTd({ coords, as, ...props }: {
20
- [x: string]: any;
21
- coords: any;
22
- as: any;
23
- }): JSX.Element;
24
- export namespace RawTd {
25
- export namespace defaultProps_1 {
26
- export const as: string;
27
- const children_1: undefined;
28
- export { children_1 as children };
29
- const coords_1: {};
30
- export { coords_1 as coords };
31
- }
32
- export { defaultProps_1 as defaultProps };
33
- const propTypes_1: {
34
- 'aria-colindex': PropTypes.Validator<number>;
35
- as: PropTypes.Requireable<string>;
36
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
37
- /**
38
- * Position of the cell in the table
39
- */
40
- coords: PropTypes.Requireable<PropTypes.InferProps<{
41
- col: PropTypes.Requireable<number>;
42
- row: PropTypes.Requireable<number>;
43
- }>>;
44
- };
45
- export { propTypes_1 as propTypes };
46
- }
47
- import PropTypes from "prop-types";
@@ -1,26 +0,0 @@
1
- export function RawTable({ colCount, rowCount, jumpStep, initialCol, initialRow, ...props }: {
2
- [x: string]: any;
3
- colCount: any;
4
- rowCount: any;
5
- jumpStep: any;
6
- initialCol: any;
7
- initialRow: any;
8
- }): JSX.Element;
9
- export namespace RawTable {
10
- namespace defaultProps {
11
- const jumpStep: number;
12
- const initialCol: number;
13
- const initialRow: number;
14
- }
15
- namespace propTypes {
16
- export const colCount: PropTypes.Validator<number>;
17
- const initialCol_1: PropTypes.Requireable<number>;
18
- export { initialCol_1 as initialCol };
19
- const initialRow_1: PropTypes.Requireable<number>;
20
- export { initialRow_1 as initialRow };
21
- const jumpStep_1: PropTypes.Requireable<number>;
22
- export { jumpStep_1 as jumpStep };
23
- export const rowCount: PropTypes.Validator<number>;
24
- }
25
- }
26
- import PropTypes from "prop-types";
@@ -1,10 +0,0 @@
1
- export const RawTableContext: import("react").Context<{
2
- rowIndex: number;
3
- colIndex: number;
4
- setTableValues(): never;
5
- }>;
6
- export function useTable(): {
7
- rowIndex: number;
8
- colIndex: number;
9
- setTableValues(): never;
10
- };
@@ -1,10 +0,0 @@
1
- export function RawTbody({ children, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- }): JSX.Element;
5
- export namespace RawTbody {
6
- namespace propTypes {
7
- const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
8
- }
9
- }
10
- import PropTypes from "prop-types";
@@ -1,10 +0,0 @@
1
- export function RawThead({ children, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- }): JSX.Element;
5
- export namespace RawThead {
6
- namespace propTypes {
7
- const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
8
- }
9
- }
10
- import PropTypes from "prop-types";
@@ -1,11 +0,0 @@
1
- export function RawTr({ children, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- }): JSX.Element;
5
- export namespace RawTr {
6
- const propTypes: {
7
- 'aria-rowindex': PropTypes.Validator<number>;
8
- children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
9
- };
10
- }
11
- import PropTypes from "prop-types";
@@ -1 +0,0 @@
1
- export function focusFocusable(node: any): void;
@@ -1,5 +0,0 @@
1
- export * from "./RawTable";
2
- export * from "./RawCell";
3
- export * from "./RawThead";
4
- export * from "./RawTbody";
5
- export * from "./RawTr";
@@ -1 +0,0 @@
1
- export function SearchForm(props: any): JSX.Element;
@@ -1,2 +0,0 @@
1
- export const Searchbar: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
- import React from "react";
@@ -1,2 +0,0 @@
1
- export * from "./Searchbar";
2
- export * from "./SearchForm";
@@ -1,10 +0,0 @@
1
- export function MultiSelectNested({ options, ...props }: {
2
- [x: string]: any;
3
- options: any;
4
- }): JSX.Element;
5
- export namespace MultiSelectNested {
6
- namespace propTypes {
7
- const options: PropTypes.Validator<(object | null | undefined)[]>;
8
- }
9
- }
10
- import PropTypes from "prop-types";
@@ -1,13 +0,0 @@
1
- export function OptGroup({ children, label, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- label: any;
5
- }): JSX.Element;
6
- export namespace OptGroup {
7
- namespace propTypes {
8
- const children: PropTypes.Validator<PropTypes.ReactNodeLike[]>;
9
- const label: PropTypes.Validator<string>;
10
- }
11
- const displayName: string;
12
- }
13
- import PropTypes from "prop-types";
@@ -1,35 +0,0 @@
1
- export function Option({ selected, indeterminate, children, value, multi, isChild, startIcon, ...props }: {
2
- [x: string]: any;
3
- selected: any;
4
- indeterminate: any;
5
- children: any;
6
- value: any;
7
- multi: any;
8
- isChild: any;
9
- startIcon: any;
10
- }): JSX.Element;
11
- export namespace Option {
12
- namespace defaultProps {
13
- const isChild: boolean;
14
- const multi: boolean;
15
- const selected: boolean;
16
- const startIcon: undefined;
17
- const indeterminate: boolean;
18
- }
19
- namespace propTypes {
20
- export const children: PropTypes.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
21
- const indeterminate_1: PropTypes.Requireable<boolean>;
22
- export { indeterminate_1 as indeterminate };
23
- const isChild_1: PropTypes.Requireable<boolean>;
24
- export { isChild_1 as isChild };
25
- const multi_1: PropTypes.Requireable<boolean>;
26
- export { multi_1 as multi };
27
- const selected_1: PropTypes.Requireable<boolean>;
28
- export { selected_1 as selected };
29
- const startIcon_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
30
- export { startIcon_1 as startIcon };
31
- export const value: PropTypes.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
32
- }
33
- const displayName: string;
34
- }
35
- import PropTypes from "prop-types";
@@ -1,72 +0,0 @@
1
- export function Select({ label, labelAction, id, children, customizeContent, placeholder, onChange, value, hint, error, disabled, clearLabel, onClear, onReachEnd, multi, required, selectButtonTitle, size, startIcon, withTags, ...props }: {
2
- [x: string]: any;
3
- label: any;
4
- labelAction: any;
5
- id: any;
6
- children: any;
7
- customizeContent: any;
8
- placeholder: any;
9
- onChange: any;
10
- value: any;
11
- hint: any;
12
- error: any;
13
- disabled: any;
14
- clearLabel: any;
15
- onClear: any;
16
- onReachEnd: any;
17
- multi: any;
18
- required: any;
19
- selectButtonTitle: any;
20
- size: any;
21
- startIcon: any;
22
- withTags: any;
23
- }): JSX.Element;
24
- export namespace Select {
25
- const defaultProps: {
26
- 'aria-label': undefined;
27
- children: never[];
28
- clearLabel: string;
29
- customizeContent: undefined;
30
- disabled: boolean;
31
- id: undefined;
32
- label: undefined;
33
- labelAction: undefined;
34
- multi: boolean;
35
- onChange(): void;
36
- onClear: undefined;
37
- onReachEnd: undefined;
38
- value: undefined;
39
- hint: undefined;
40
- error: undefined;
41
- placeholder: string;
42
- required: boolean;
43
- selectButtonTitle: string;
44
- size: string;
45
- startIcon: undefined;
46
- withTags: boolean;
47
- };
48
- const propTypes: {
49
- 'aria-label': PropTypes.Requireable<string>;
50
- children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
51
- clearLabel: PropTypes.Requireable<string>;
52
- customizeContent: PropTypes.Requireable<(...args: any[]) => any>;
53
- disabled: PropTypes.Requireable<boolean>;
54
- error: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
55
- hint: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
56
- id: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
57
- label: PropTypes.Requireable<string>;
58
- labelAction: PropTypes.Requireable<PropTypes.ReactElementLike>;
59
- multi: PropTypes.Requireable<boolean>;
60
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
61
- onClear: PropTypes.Requireable<(...args: any[]) => any>;
62
- onReachEnd: PropTypes.Requireable<(...args: any[]) => any>;
63
- placeholder: PropTypes.Requireable<string>;
64
- required: PropTypes.Requireable<boolean>;
65
- selectButtonTitle: PropTypes.Requireable<string>;
66
- size: PropTypes.Requireable<string>;
67
- startIcon: PropTypes.Requireable<PropTypes.ReactElementLike>;
68
- value: PropTypes.Requireable<NonNullable<string | number | (NonNullable<string | number | null | undefined> | null | undefined)[] | null | undefined>>;
69
- withTags: PropTypes.Requireable<boolean>;
70
- };
71
- }
72
- import PropTypes from "prop-types";
@@ -1,2 +0,0 @@
1
- export const SelectButton: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
- import React from "react";
@@ -1,25 +0,0 @@
1
- export function SelectList({ labelledBy, onSelectItem, children, multi, onEscape, expanded }: {
2
- labelledBy: any;
3
- onSelectItem: any;
4
- children: any;
5
- multi: any;
6
- onEscape: any;
7
- expanded: any;
8
- }): JSX.Element;
9
- export namespace SelectList {
10
- namespace defaultProps {
11
- const labelledBy: undefined;
12
- const multi: boolean;
13
- }
14
- namespace propTypes {
15
- export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
16
- export const expanded: PropTypes.Validator<string>;
17
- const labelledBy_1: PropTypes.Requireable<string>;
18
- export { labelledBy_1 as labelledBy };
19
- const multi_1: PropTypes.Requireable<boolean>;
20
- export { multi_1 as multi };
21
- export const onEscape: PropTypes.Validator<(...args: any[]) => any>;
22
- export const onSelectItem: PropTypes.Validator<(...args: any[]) => any>;
23
- }
24
- }
25
- import PropTypes from "prop-types";
@@ -1,22 +0,0 @@
1
- export function SelectTags({ tags, onRemoveTag, disabled }: {
2
- tags: any;
3
- onRemoveTag: any;
4
- disabled: any;
5
- }): JSX.Element;
6
- export namespace SelectTags {
7
- namespace defaultProps {
8
- const disabled: boolean;
9
- const tags: never[];
10
- }
11
- namespace propTypes {
12
- const disabled_1: PropTypes.Requireable<boolean>;
13
- export { disabled_1 as disabled };
14
- export const onRemoveTag: PropTypes.Validator<(...args: any[]) => any>;
15
- const tags_1: PropTypes.Requireable<(PropTypes.InferProps<{
16
- label: PropTypes.Requireable<string>;
17
- value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
18
- }> | null | undefined)[]>;
19
- export { tags_1 as tags };
20
- }
21
- }
22
- import PropTypes from "prop-types";
@@ -1,3 +0,0 @@
1
- export const SelectButtonWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Flex").FlexProps<HTMLDivElement>, never>;
2
- export const IconBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Box").BoxProps<HTMLDivElement>, never>;
3
- export const CaretBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Box").BoxProps<HTMLDivElement>, never>;
@@ -1,10 +0,0 @@
1
- export namespace DownState {
2
- const Keyboard: string;
3
- const Mouse: string;
4
- }
5
- export namespace UpState {
6
- const Keyboard_1: string;
7
- export { Keyboard_1 as Keyboard };
8
- const Mouse_1: string;
9
- export { Mouse_1 as Mouse };
10
- }
@@ -1 +0,0 @@
1
- export function useButtonRef(expanded: any): import("react").MutableRefObject<null>;
@@ -1 +0,0 @@
1
- export function useListRef(expanded: any): import("react").MutableRefObject<null>;
@@ -1,5 +0,0 @@
1
- export * from "./Select";
2
- export * from "./Option";
3
- export * from "./OptGroup";
4
- export * from "./MultiSelectNested";
5
- export * from "./SelectList";
@@ -1,2 +0,0 @@
1
- export function changeDescendant(list: any, option: any): void;
2
- export function getActiveDescendant(list: any): any;