@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,73 +0,0 @@
1
- export function MenuItem({ children, onClick, to, isFocused, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- onClick: any;
5
- to: any;
6
- isFocused: any;
7
- }): JSX.Element;
8
- export namespace MenuItem {
9
- namespace defaultProps {
10
- const as: undefined;
11
- function onClick(): void;
12
- const isFocused: boolean;
13
- const to: undefined;
14
- }
15
- namespace propTypes {
16
- const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
17
- export { as_1 as as };
18
- export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
19
- const isFocused_1: PropTypes.Requireable<boolean>;
20
- export { isFocused_1 as isFocused };
21
- export const onClick: PropTypes.Requireable<(...args: any[]) => any>;
22
- const to_1: PropTypes.Requireable<string>;
23
- export { to_1 as to };
24
- }
25
- }
26
- export function SimpleMenu({ label, children, id, as: asComp, onOpen, onClose, size, popoverPlacement, onReachEnd, ...props }: {
27
- [x: string]: any;
28
- label: any;
29
- children: any;
30
- id: any;
31
- as: any;
32
- onOpen?: (() => void) | undefined;
33
- onClose?: (() => void) | undefined;
34
- size: any;
35
- popoverPlacement: any;
36
- onReachEnd: any;
37
- }): JSX.Element;
38
- export namespace SimpleMenu {
39
- const defaultProps_1: {
40
- as: undefined;
41
- id?: undefined;
42
- onOpen?: undefined;
43
- onClose?: undefined;
44
- onReachEnd?: undefined;
45
- popoverPlacement?: undefined;
46
- size?: undefined;
47
- } | {
48
- id: undefined;
49
- onOpen: undefined;
50
- onClose: undefined;
51
- onReachEnd: undefined;
52
- popoverPlacement: string;
53
- size: string;
54
- as?: undefined;
55
- };
56
- export { defaultProps_1 as defaultProps };
57
- export const displayName: string;
58
- export namespace propTypes_1 {
59
- const as_2: PropTypes.Requireable<any>;
60
- export { as_2 as as };
61
- const children_1: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
62
- export { children_1 as children };
63
- export const id: PropTypes.Requireable<string>;
64
- export const label: PropTypes.Validator<NonNullable<NonNullable<string | number | PropTypes.ReactElementLike | null | undefined>>>;
65
- export const onClose: PropTypes.Requireable<(...args: any[]) => any>;
66
- export const onOpen: PropTypes.Requireable<(...args: any[]) => any>;
67
- export const onReachEnd: PropTypes.Requireable<(...args: any[]) => any>;
68
- export const popoverPlacement: PropTypes.Requireable<string>;
69
- export const size: PropTypes.Requireable<string>;
70
- }
71
- export { propTypes_1 as propTypes };
72
- }
73
- import PropTypes from "prop-types";
@@ -1 +0,0 @@
1
- export * from "./SimpleMenu";
@@ -1,3 +0,0 @@
1
- export function getOptionStyle({ theme }: {
2
- theme: any;
3
- }): string;
@@ -1,24 +0,0 @@
1
- export function Status({ variant, showBullet, size, children, ...props }: {
2
- [x: string]: any;
3
- variant: any;
4
- showBullet: any;
5
- size: any;
6
- children: any;
7
- }): JSX.Element;
8
- export namespace Status {
9
- namespace defaultProps {
10
- const showBullet: boolean;
11
- const size: string;
12
- const variant: string;
13
- }
14
- namespace propTypes {
15
- export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
16
- const showBullet_1: PropTypes.Requireable<boolean>;
17
- export { showBullet_1 as showBullet };
18
- const size_1: PropTypes.Requireable<string>;
19
- export { size_1 as size };
20
- const variant_1: PropTypes.Requireable<string>;
21
- export { variant_1 as variant };
22
- }
23
- }
24
- import PropTypes from "prop-types";
@@ -1 +0,0 @@
1
- export * from "./Status";
@@ -1,11 +0,0 @@
1
- export const subNavWidth: string;
2
- export function SubNav({ ariaLabel, ...props }: {
3
- [x: string]: any;
4
- ariaLabel: any;
5
- }): JSX.Element;
6
- export namespace SubNav {
7
- namespace propTypes {
8
- const ariaLabel: PropTypes.Validator<string>;
9
- }
10
- }
11
- import PropTypes from "prop-types";
@@ -1,40 +0,0 @@
1
- export function SubNavHeader({ as, label, searchLabel, searchable, onChange, value, onClear, onSubmit, id }: {
2
- as: any;
3
- label: any;
4
- searchLabel: any;
5
- searchable: any;
6
- onChange: any;
7
- value: any;
8
- onClear: any;
9
- onSubmit: any;
10
- id: any;
11
- }): JSX.Element;
12
- export namespace SubNavHeader {
13
- namespace defaultProps {
14
- const as: string;
15
- const searchable: boolean;
16
- function onChange(): void;
17
- function onClear(): void;
18
- function onSubmit(): void;
19
- const value: string;
20
- const searchLabel: string;
21
- const id: undefined;
22
- }
23
- namespace propTypes {
24
- const as_1: PropTypes.Requireable<string>;
25
- export { as_1 as as };
26
- const id_1: PropTypes.Requireable<string>;
27
- export { id_1 as id };
28
- export const label: PropTypes.Validator<string>;
29
- export const onChange: PropTypes.Requireable<(...args: any[]) => any>;
30
- export const onClear: PropTypes.Requireable<(...args: any[]) => any>;
31
- export const onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
32
- const searchLabel_1: PropTypes.Requireable<string>;
33
- export { searchLabel_1 as searchLabel };
34
- const searchable_1: PropTypes.Requireable<boolean>;
35
- export { searchable_1 as searchable };
36
- const value_1: PropTypes.Requireable<string>;
37
- export { value_1 as value };
38
- }
39
- }
40
- import PropTypes from "prop-types";
@@ -1,25 +0,0 @@
1
- export function SubNavLink({ children, icon, withBullet, isSubSectionChild, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- icon: any;
5
- withBullet: any;
6
- isSubSectionChild: any;
7
- }): JSX.Element;
8
- export namespace SubNavLink {
9
- const displayName: string;
10
- namespace defaultProps {
11
- const icon: null;
12
- const isSubSectionChild: boolean;
13
- const withBullet: boolean;
14
- }
15
- namespace propTypes {
16
- export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
17
- const icon_1: PropTypes.Requireable<PropTypes.ReactElementLike>;
18
- export { icon_1 as icon };
19
- const isSubSectionChild_1: PropTypes.Requireable<boolean>;
20
- export { isSubSectionChild_1 as isSubSectionChild };
21
- const withBullet_1: PropTypes.Requireable<boolean>;
22
- export { withBullet_1 as withBullet };
23
- }
24
- }
25
- import PropTypes from "prop-types";
@@ -1,19 +0,0 @@
1
- export function SubNavLinkSection({ label, children, id }: {
2
- label: any;
3
- children: any;
4
- id: any;
5
- }): JSX.Element;
6
- export namespace SubNavLinkSection {
7
- namespace defaultProps {
8
- const children: undefined;
9
- const id: undefined;
10
- }
11
- namespace propTypes {
12
- const children_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
- export { children_1 as children };
14
- const id_1: PropTypes.Requireable<string>;
15
- export { id_1 as id };
16
- export const label: PropTypes.Validator<string>;
17
- }
18
- }
19
- import PropTypes from "prop-types";
@@ -1,27 +0,0 @@
1
- export function SubNavSection({ collapsable, label, badgeLabel, children, id }: {
2
- collapsable: any;
3
- label: any;
4
- badgeLabel: any;
5
- children: any;
6
- id: any;
7
- }): JSX.Element;
8
- export namespace SubNavSection {
9
- namespace defaultProps {
10
- const badgeLabel: null;
11
- const children: undefined;
12
- const collapsable: boolean;
13
- const id: undefined;
14
- }
15
- namespace propTypes {
16
- const badgeLabel_1: PropTypes.Requireable<string>;
17
- export { badgeLabel_1 as badgeLabel };
18
- const children_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
19
- export { children_1 as children };
20
- const collapsable_1: PropTypes.Requireable<boolean>;
21
- export { collapsable_1 as collapsable };
22
- const id_1: PropTypes.Requireable<string>;
23
- export { id_1 as id };
24
- export const label: PropTypes.Validator<string>;
25
- }
26
- }
27
- import PropTypes from "prop-types";
@@ -1,26 +0,0 @@
1
- export function SubNavSectionLabel({ collapsable, label, onClick, ariaExpanded, ariaControls }: {
2
- collapsable: any;
3
- label: any;
4
- onClick: any;
5
- ariaExpanded: any;
6
- ariaControls: any;
7
- }): JSX.Element;
8
- export namespace SubNavSectionLabel {
9
- namespace defaultProps {
10
- const ariaControls: null;
11
- const ariaExpanded: null;
12
- const collapsable: boolean;
13
- function onClick(): void;
14
- }
15
- namespace propTypes {
16
- const ariaControls_1: PropTypes.Requireable<string>;
17
- export { ariaControls_1 as ariaControls };
18
- const ariaExpanded_1: PropTypes.Requireable<boolean>;
19
- export { ariaExpanded_1 as ariaExpanded };
20
- const collapsable_1: PropTypes.Requireable<boolean>;
21
- export { collapsable_1 as collapsable };
22
- export const label: PropTypes.Validator<string>;
23
- export const onClick: PropTypes.Requireable<(...args: any[]) => any>;
24
- }
25
- }
26
- import PropTypes from "prop-types";
@@ -1,10 +0,0 @@
1
- export function SubNavSections({ children, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- }): JSX.Element;
5
- export namespace SubNavSections {
6
- namespace propTypes {
7
- const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
8
- }
9
- }
10
- import PropTypes from "prop-types";
@@ -1,6 +0,0 @@
1
- export * from "./SubNav";
2
- export * from "./SubNavHeader";
3
- export * from "./SubNavLink";
4
- export * from "./SubNavLinkSection";
5
- export * from "./SubNavSection";
6
- export * from "./SubNavSections";
@@ -1,2 +0,0 @@
1
- export const Switch: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
- import React from "react";
@@ -1 +0,0 @@
1
- export * from "./Switch";
@@ -1,17 +0,0 @@
1
- export function Th({ children, action, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- action: any;
5
- }): JSX.Element;
6
- export namespace Th {
7
- namespace defaultProps {
8
- const action: undefined;
9
- }
10
- namespace propTypes {
11
- const action_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
12
- export { action_1 as action };
13
- export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
14
- }
15
- }
16
- export function Td(props: any): JSX.Element;
17
- import PropTypes from "prop-types";
@@ -1,12 +0,0 @@
1
- export function TFooter({ children, icon, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- icon: any;
5
- }): JSX.Element;
6
- export namespace TFooter {
7
- namespace propTypes {
8
- const children: PropTypes.Validator<string>;
9
- const icon: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
10
- }
11
- }
12
- import PropTypes from "prop-types";
@@ -1,18 +0,0 @@
1
- export function Table({ colCount, rowCount, footer, ...props }: {
2
- [x: string]: any;
3
- colCount: any;
4
- rowCount: any;
5
- footer: any;
6
- }): JSX.Element;
7
- export namespace Table {
8
- namespace defaultProps {
9
- const footer: undefined;
10
- }
11
- namespace propTypes {
12
- export const colCount: PropTypes.Validator<number>;
13
- const footer_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
14
- export { footer_1 as footer };
15
- export const rowCount: PropTypes.Validator<number>;
16
- }
17
- }
18
- import PropTypes from "prop-types";
@@ -1 +0,0 @@
1
- export function Tbody(props: any): JSX.Element;
@@ -1 +0,0 @@
1
- export function Thead(props: any): JSX.Element;
@@ -1 +0,0 @@
1
- export function Tr(props: any): JSX.Element;
@@ -1,6 +0,0 @@
1
- export * from "./Table";
2
- export * from "./Tbody";
3
- export * from "./Thead";
4
- export * from "./Tr";
5
- export * from "./Cell";
6
- export * from "./TFooter";
@@ -1,2 +0,0 @@
1
- export const TabGroup: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
- import React from "react";
@@ -1,24 +0,0 @@
1
- export function TabPanels({ children, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- }): JSX.Element;
5
- export namespace TabPanels {
6
- namespace propTypes {
7
- const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
8
- }
9
- }
10
- export function TabPanel({ id, ...props }: {
11
- [x: string]: any;
12
- id: any;
13
- }): JSX.Element;
14
- export namespace TabPanel {
15
- export namespace defaultProps {
16
- const id: undefined;
17
- }
18
- export namespace propTypes_1 {
19
- const id_1: PropTypes.Requireable<string>;
20
- export { id_1 as id };
21
- }
22
- export { propTypes_1 as propTypes };
23
- }
24
- import PropTypes from "prop-types";
@@ -1,51 +0,0 @@
1
- export function Tabs({ children, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- }): JSX.Element;
5
- export namespace Tabs {
6
- namespace propTypes {
7
- const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
8
- }
9
- }
10
- export function Tab({ disabled, id, children, variant, hasError, index, selectedTabIndex, onTabClick, ...props }: {
11
- [x: string]: any;
12
- disabled: any;
13
- id: any;
14
- children: any;
15
- variant: any;
16
- hasError: any;
17
- index: any;
18
- selectedTabIndex: any;
19
- onTabClick: any;
20
- }): JSX.Element;
21
- export namespace Tab {
22
- export namespace defaultProps {
23
- const disabled: boolean;
24
- const hasError: boolean;
25
- const id: undefined;
26
- const index: undefined;
27
- const onTabClick: undefined;
28
- const selectedTabIndex: undefined;
29
- const variant: undefined;
30
- }
31
- export namespace propTypes_1 {
32
- const children_1: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
33
- export { children_1 as children };
34
- const disabled_1: PropTypes.Requireable<boolean>;
35
- export { disabled_1 as disabled };
36
- const hasError_1: PropTypes.Requireable<boolean>;
37
- export { hasError_1 as hasError };
38
- const id_1: PropTypes.Requireable<string>;
39
- export { id_1 as id };
40
- const index_1: PropTypes.Requireable<number>;
41
- export { index_1 as index };
42
- const onTabClick_1: PropTypes.Requireable<(...args: any[]) => any>;
43
- export { onTabClick_1 as onTabClick };
44
- const selectedTabIndex_1: PropTypes.Requireable<number>;
45
- export { selectedTabIndex_1 as selectedTabIndex };
46
- const variant_1: PropTypes.Requireable<string>;
47
- export { variant_1 as variant };
48
- }
49
- export { propTypes_1 as propTypes };
50
- }
51
- import PropTypes from "prop-types";
@@ -1,2 +0,0 @@
1
- export const TabsContext: import("react").Context<any>;
2
- export function useTabs(): any;
@@ -1,6 +0,0 @@
1
- /** Simple variant */
2
- export const SimpleTabBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Box").BoxProps<HTMLDivElement>, never>;
3
- /** Default variant */
4
- export const DefaultTabBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Box").BoxProps<HTMLDivElement>, never>;
5
- export const DefaultTabButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
6
- export const DefaultTabsRow: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Flex").FlexProps<HTMLDivElement>, never>;
@@ -1,3 +0,0 @@
1
- export * from "./Tabs";
2
- export * from "./TabPanels";
3
- export * from "./TabGroup";
@@ -1 +0,0 @@
1
- export function useTabsFocus(selectedTabIndex: any, onTabChange: any): import("react").MutableRefObject<null>;
package/dist/Tag/Tag.d.ts DELETED
@@ -1,23 +0,0 @@
1
- export function Tag({ children, icon, disabled, onClick, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- icon: any;
5
- disabled: any;
6
- onClick: any;
7
- }): JSX.Element;
8
- export namespace Tag {
9
- const displayName: string;
10
- namespace defaultProps {
11
- const disabled: boolean;
12
- const onClick: undefined;
13
- }
14
- namespace propTypes {
15
- export const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
16
- const disabled_1: PropTypes.Requireable<boolean>;
17
- export { disabled_1 as disabled };
18
- export const icon: PropTypes.Validator<PropTypes.ReactElementLike>;
19
- const onClick_1: PropTypes.Requireable<(...args: any[]) => any>;
20
- export { onClick_1 as onClick };
21
- }
22
- }
23
- import PropTypes from "prop-types";
@@ -1 +0,0 @@
1
- export * from "./Tag";
@@ -1,2 +0,0 @@
1
- export const TextInput: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
- import React from "react";
@@ -1 +0,0 @@
1
- export * from "./TextInput";
@@ -1,2 +0,0 @@
1
- export const Textarea: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
- import React from "react";
@@ -1,2 +0,0 @@
1
- export const TextareaInput: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
- import React from "react";
@@ -1 +0,0 @@
1
- export * from "./Textarea";
@@ -1,54 +0,0 @@
1
- export function TimePicker({ disabled, error, hint, id, onClear, onChange, value, clearLabel, label, selectButtonTitle, step, size, ...props }: {
2
- [x: string]: any;
3
- disabled: any;
4
- error: any;
5
- hint: any;
6
- id: any;
7
- onClear: any;
8
- onChange: any;
9
- value: any;
10
- clearLabel: any;
11
- label: any;
12
- selectButtonTitle: any;
13
- step: any;
14
- size: any;
15
- }): JSX.Element;
16
- export namespace TimePicker {
17
- namespace defaultProps {
18
- const disabled: boolean;
19
- const error: undefined;
20
- const hint: undefined;
21
- const id: undefined;
22
- const label: undefined;
23
- const onClear: undefined;
24
- const size: string;
25
- const selectButtonTitle: undefined;
26
- const step: number;
27
- const value: undefined;
28
- }
29
- namespace propTypes {
30
- export const clearLabel: PropTypes.Validator<string>;
31
- const disabled_1: PropTypes.Requireable<boolean>;
32
- export { disabled_1 as disabled };
33
- const error_1: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
34
- export { error_1 as error };
35
- const hint_1: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
36
- export { hint_1 as hint };
37
- const id_1: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
38
- export { id_1 as id };
39
- const label_1: PropTypes.Requireable<string>;
40
- export { label_1 as label };
41
- export const onChange: PropTypes.Validator<(...args: any[]) => any>;
42
- const onClear_1: PropTypes.Requireable<(...args: any[]) => any>;
43
- export { onClear_1 as onClear };
44
- const selectButtonTitle_1: PropTypes.Requireable<string>;
45
- export { selectButtonTitle_1 as selectButtonTitle };
46
- const size_1: PropTypes.Requireable<string>;
47
- export { size_1 as size };
48
- const step_1: PropTypes.Requireable<number>;
49
- export { step_1 as step };
50
- const value_1: PropTypes.Requireable<NonNullable<string | number | (NonNullable<string | number | null | undefined> | null | undefined)[] | null | undefined>>;
51
- export { value_1 as value };
52
- }
53
- }
54
- import PropTypes from "prop-types";
@@ -1 +0,0 @@
1
- export * from "./TimePicker";
@@ -1,2 +0,0 @@
1
- export const ToggleCheckbox: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
- import React from "react";
@@ -1 +0,0 @@
1
- export * from "./ToggleCheckbox";
@@ -1,59 +0,0 @@
1
- export function ToggleInput({ disabled, size, error, hint, label, name, labelAction, required, id, onClear, clearLabel, checked, ...props }: {
2
- [x: string]: any;
3
- disabled: any;
4
- size: any;
5
- error: any;
6
- hint: any;
7
- label: any;
8
- name: any;
9
- labelAction: any;
10
- required: any;
11
- id: any;
12
- onClear: any;
13
- clearLabel: any;
14
- checked: any;
15
- }): JSX.Element;
16
- export namespace ToggleInput {
17
- const displayName: string;
18
- namespace defaultProps {
19
- const checked: boolean;
20
- const clearLabel: undefined;
21
- const disabled: boolean;
22
- const error: undefined;
23
- const hint: undefined;
24
- const id: undefined;
25
- const label: string;
26
- const labelAction: undefined;
27
- const name: string;
28
- const onClear: undefined;
29
- const required: boolean;
30
- const size: string;
31
- }
32
- namespace propTypes {
33
- const checked_1: PropTypes.Requireable<boolean>;
34
- export { checked_1 as checked };
35
- const clearLabel_1: PropTypes.Requireable<string>;
36
- export { clearLabel_1 as clearLabel };
37
- const disabled_1: PropTypes.Requireable<boolean>;
38
- export { disabled_1 as disabled };
39
- const error_1: PropTypes.Requireable<string>;
40
- export { error_1 as error };
41
- const hint_1: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
42
- export { hint_1 as hint };
43
- const id_1: PropTypes.Requireable<string>;
44
- export { id_1 as id };
45
- const label_1: PropTypes.Requireable<string>;
46
- export { label_1 as label };
47
- const labelAction_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
48
- export { labelAction_1 as labelAction };
49
- const name_1: PropTypes.Requireable<string>;
50
- export { name_1 as name };
51
- const onClear_1: PropTypes.Requireable<(...args: any[]) => any>;
52
- export { onClear_1 as onClear };
53
- const required_1: PropTypes.Requireable<boolean>;
54
- export { required_1 as required };
55
- const size_1: PropTypes.Requireable<string>;
56
- export { size_1 as size };
57
- }
58
- }
59
- import PropTypes from "prop-types";
@@ -1 +0,0 @@
1
- export * from "./ToggleInput";