@algolia/satellite 1.0.0-beta.160 → 1.0.0-beta.162

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 (230) hide show
  1. package/cjs/AnnouncementBadge/AnnouncementBadge.d.ts +2 -2
  2. package/cjs/AutoComplete/AutoComplete.tailwind.js +4 -1
  3. package/cjs/AutoComplete/components/AutoCompleteEmptyState.d.ts +2 -2
  4. package/cjs/AutoComplete/components/DefaultOptionItem.d.ts +2 -2
  5. package/cjs/Avatars/ApplicationAvatar.d.ts +2 -2
  6. package/cjs/Avatars/UserAvatar.d.ts +2 -2
  7. package/cjs/Badge/Badge.d.ts +3 -3
  8. package/cjs/Badge/Badge.js +6 -3
  9. package/cjs/Banners/Alert/Alert.d.ts +2 -2
  10. package/cjs/Banners/BigBertha/BigBertha.d.ts +2 -2
  11. package/cjs/Banners/Promote/Promote.d.ts +2 -2
  12. package/cjs/Button/ButtonGroup.d.ts +2 -2
  13. package/cjs/Button/PolymorphicIconButton.d.ts +1 -1
  14. package/cjs/Button/PolymorphicIconButton.js +4 -4
  15. package/cjs/Card/components/CardHeader.d.ts +2 -2
  16. package/cjs/Card/components/CardTitle.d.ts +2 -2
  17. package/cjs/Checkbox/Checkbox.js +3 -3
  18. package/cjs/Checkbox/Checkbox.tailwind.js +1 -1
  19. package/cjs/ClickAwayContainer/ClickAwayContainer.d.ts +2 -2
  20. package/cjs/DatePicker/DatePicker/DatePicker.d.ts +2 -2
  21. package/cjs/DatePicker/DateRangePicker/DateRangePicker.d.ts +2 -2
  22. package/cjs/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +2 -2
  23. package/cjs/DatePicker/components/Calendar.d.ts +2 -2
  24. package/cjs/DatePicker/components/Display.d.ts +2 -2
  25. package/cjs/DatePicker/components/Footer.d.ts +2 -2
  26. package/cjs/DatePicker/components/FooterActions.d.ts +2 -2
  27. package/cjs/DatePicker/components/Modal.d.ts +2 -2
  28. package/cjs/DatePicker/components/NavBar.d.ts +2 -2
  29. package/cjs/DatePicker/components/SidePanel.d.ts +2 -2
  30. package/cjs/Dropdown/Dropdown.d.ts +20 -34
  31. package/cjs/Dropdown/components/DropdownButtonItem.d.ts +2 -7
  32. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +2 -2
  33. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +2 -2
  34. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +2 -1
  35. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +2 -1
  36. package/cjs/Dropdown/components/DropdownFooterItem.d.ts +2 -2
  37. package/cjs/Dropdown/components/DropdownLinkItem.d.ts +2 -7
  38. package/cjs/Dropdown/components/DropdownRadioItem.d.ts +2 -7
  39. package/cjs/Dropdown/components/DropdownTitle.d.ts +2 -2
  40. package/cjs/Dropdown/components/DropdownToggleItem.d.ts +2 -7
  41. package/cjs/Dropzone/Dropzone.d.ts +2 -2
  42. package/cjs/EmptyState/EmptyState.d.ts +2 -2
  43. package/cjs/Field/Field.d.ts +2 -2
  44. package/cjs/Flag/Flag.d.ts +2 -2
  45. package/cjs/Flag/Flags.d.ts +2 -2
  46. package/cjs/FlexGrid/FlexGrid.d.ts +2 -2
  47. package/cjs/HelpUnderline/HelpUnderline.d.ts +5 -6
  48. package/cjs/HelpUnderline/HelpUnderline.js +13 -10
  49. package/cjs/Input/Input.tailwind.js +28 -4
  50. package/cjs/Insert/Insert.d.ts +2 -2
  51. package/cjs/KeyboardKey/KeyboardKey.d.ts +2 -2
  52. package/cjs/Medallion/Medallion.d.ts +2 -2
  53. package/cjs/Modal/Modal.d.ts +7 -5
  54. package/cjs/Modal/components/ModalFooter.d.ts +2 -2
  55. package/cjs/Modal/components/ModalSection.d.ts +2 -2
  56. package/cjs/Pagination/CompactPagination/CompactPagination.d.ts +2 -2
  57. package/cjs/Pagination/Pagination/Pagination.d.ts +2 -2
  58. package/cjs/ProgressBar/ProgressBar.d.ts +2 -2
  59. package/cjs/ProgressSpinner/ProgressSpinner.d.ts +2 -2
  60. package/cjs/RadioGroup/RadioButton.tailwind.js +4 -1
  61. package/cjs/RadioGroup/RadioGroup.d.ts +6 -6
  62. package/cjs/RangeSlider/RangeSlider.js +2 -2
  63. package/cjs/Satellite/Satellite.d.ts +2 -3
  64. package/cjs/Satellite/Satellite.js +27 -16
  65. package/cjs/Satellite/SatelliteContext.d.ts +1 -1
  66. package/cjs/Satellite/SatelliteContext.js +2 -1
  67. package/cjs/ScrollIndicator/ScrollIndicator.d.ts +2 -2
  68. package/cjs/Select/Select.tailwind.js +2 -2
  69. package/cjs/Separator/Separator.d.ts +8 -0
  70. package/cjs/Separator/Separator.js +29 -0
  71. package/cjs/Separator/Separator.tailwind.d.ts +5 -0
  72. package/cjs/Separator/Separator.tailwind.js +25 -0
  73. package/cjs/Separator/index.d.ts +2 -0
  74. package/cjs/Separator/index.js +27 -0
  75. package/cjs/Sidebar/Sidebar.d.ts +2 -2
  76. package/cjs/Sidebar/SidebarButtonLink.d.ts +2 -2
  77. package/cjs/Sidebar/SidebarButtonLink.js +8 -14
  78. package/cjs/Sidebar/SidebarHeader.d.ts +2 -2
  79. package/cjs/Sidebar/SidebarHeading.d.ts +2 -2
  80. package/cjs/Sidebar/SidebarLink.d.ts +2 -2
  81. package/cjs/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +2 -2
  82. package/cjs/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +2 -2
  83. package/cjs/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +2 -2
  84. package/cjs/Sidebar/SidebarNav.d.ts +2 -2
  85. package/cjs/Switch/Switch.d.ts +2 -2
  86. package/cjs/Switch/SwitchOption.d.ts +2 -2
  87. package/cjs/Tables/DataTable/DataTable.d.ts +4 -2
  88. package/cjs/Tables/DataTable/DataTable.js +9 -4
  89. package/cjs/Tables/DataTable/components/Footer.d.ts +2 -2
  90. package/cjs/Tables/DataTable/components/Loader.d.ts +2 -2
  91. package/cjs/Tables/Table/Table.d.ts +2 -2
  92. package/cjs/Tables/Table/components/TableFooter.d.ts +2 -2
  93. package/cjs/Tabs/ContentTabs.d.ts +2 -2
  94. package/cjs/Tabs/LinkTabs.d.ts +2 -2
  95. package/cjs/Tabs/components/LinkTab.d.ts +2 -2
  96. package/cjs/Tag/Tag.js +7 -7
  97. package/cjs/TextWrap/TextWrap.d.ts +2 -2
  98. package/cjs/Toggle/Toggle.js +3 -13
  99. package/cjs/Toggle/Toggle.tailwind.js +8 -2
  100. package/cjs/Tooltip/OverflowTooltipWrapper.d.ts +2 -5
  101. package/cjs/Tooltip/OverflowTooltipWrapper.js +20 -78
  102. package/cjs/Tooltip/Tooltip.d.ts +6 -6
  103. package/cjs/Tooltip/Tooltip.js +6 -6
  104. package/cjs/Tooltip/Tooltip.tailwind.js +85 -62
  105. package/cjs/Tooltip/TooltipWrapper.d.ts +8 -21
  106. package/cjs/Tooltip/TooltipWrapper.js +49 -158
  107. package/cjs/Tooltip/types.d.ts +57 -6
  108. package/cjs/Tooltip/utils.d.ts +1 -0
  109. package/cjs/Tooltip/utils.js +10 -0
  110. package/cjs/UserContent/UserContent.d.ts +2 -2
  111. package/cjs/index.d.ts +2 -1
  112. package/cjs/index.js +20 -8
  113. package/cjs/styles/tailwind.config.js +1 -1
  114. package/cjs/types.d.ts +6 -6
  115. package/esm/AnnouncementBadge/AnnouncementBadge.d.ts +2 -2
  116. package/esm/AutoComplete/AutoComplete.tailwind.js +4 -1
  117. package/esm/AutoComplete/components/AutoCompleteEmptyState.d.ts +2 -2
  118. package/esm/AutoComplete/components/DefaultOptionItem.d.ts +2 -2
  119. package/esm/Avatars/ApplicationAvatar.d.ts +2 -2
  120. package/esm/Avatars/UserAvatar.d.ts +2 -2
  121. package/esm/Badge/Badge.d.ts +3 -3
  122. package/esm/Badge/Badge.js +6 -3
  123. package/esm/Banners/Alert/Alert.d.ts +2 -2
  124. package/esm/Banners/BigBertha/BigBertha.d.ts +2 -2
  125. package/esm/Banners/Promote/Promote.d.ts +2 -2
  126. package/esm/Button/ButtonGroup.d.ts +2 -2
  127. package/esm/Button/PolymorphicIconButton.d.ts +1 -1
  128. package/esm/Button/PolymorphicIconButton.js +4 -4
  129. package/esm/Card/components/CardHeader.d.ts +2 -2
  130. package/esm/Card/components/CardTitle.d.ts +2 -2
  131. package/esm/Checkbox/Checkbox.js +3 -3
  132. package/esm/Checkbox/Checkbox.tailwind.js +1 -1
  133. package/esm/ClickAwayContainer/ClickAwayContainer.d.ts +2 -2
  134. package/esm/DatePicker/DatePicker/DatePicker.d.ts +2 -2
  135. package/esm/DatePicker/DateRangePicker/DateRangePicker.d.ts +2 -2
  136. package/esm/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +2 -2
  137. package/esm/DatePicker/components/Calendar.d.ts +2 -2
  138. package/esm/DatePicker/components/Display.d.ts +2 -2
  139. package/esm/DatePicker/components/Footer.d.ts +2 -2
  140. package/esm/DatePicker/components/FooterActions.d.ts +2 -2
  141. package/esm/DatePicker/components/Modal.d.ts +2 -2
  142. package/esm/DatePicker/components/NavBar.d.ts +2 -2
  143. package/esm/DatePicker/components/SidePanel.d.ts +2 -2
  144. package/esm/Dropdown/Dropdown.d.ts +20 -34
  145. package/esm/Dropdown/components/DropdownButtonItem.d.ts +2 -7
  146. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +2 -2
  147. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +2 -2
  148. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +2 -1
  149. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +2 -1
  150. package/esm/Dropdown/components/DropdownFooterItem.d.ts +2 -2
  151. package/esm/Dropdown/components/DropdownLinkItem.d.ts +2 -7
  152. package/esm/Dropdown/components/DropdownRadioItem.d.ts +2 -7
  153. package/esm/Dropdown/components/DropdownTitle.d.ts +2 -2
  154. package/esm/Dropdown/components/DropdownToggleItem.d.ts +2 -7
  155. package/esm/Dropzone/Dropzone.d.ts +2 -2
  156. package/esm/EmptyState/EmptyState.d.ts +2 -2
  157. package/esm/Field/Field.d.ts +2 -2
  158. package/esm/Flag/Flag.d.ts +2 -2
  159. package/esm/Flag/Flags.d.ts +2 -2
  160. package/esm/FlexGrid/FlexGrid.d.ts +2 -2
  161. package/esm/HelpUnderline/HelpUnderline.d.ts +5 -6
  162. package/esm/HelpUnderline/HelpUnderline.js +13 -10
  163. package/esm/Input/Input.tailwind.js +28 -4
  164. package/esm/Insert/Insert.d.ts +2 -2
  165. package/esm/KeyboardKey/KeyboardKey.d.ts +2 -2
  166. package/esm/Medallion/Medallion.d.ts +2 -2
  167. package/esm/Modal/Modal.d.ts +7 -5
  168. package/esm/Modal/components/ModalFooter.d.ts +2 -2
  169. package/esm/Modal/components/ModalSection.d.ts +2 -2
  170. package/esm/Pagination/CompactPagination/CompactPagination.d.ts +2 -2
  171. package/esm/Pagination/Pagination/Pagination.d.ts +2 -2
  172. package/esm/ProgressBar/ProgressBar.d.ts +2 -2
  173. package/esm/ProgressSpinner/ProgressSpinner.d.ts +2 -2
  174. package/esm/RadioGroup/RadioButton.tailwind.js +4 -1
  175. package/esm/RadioGroup/RadioGroup.d.ts +6 -6
  176. package/esm/RangeSlider/RangeSlider.js +2 -2
  177. package/esm/Satellite/Satellite.d.ts +2 -3
  178. package/esm/Satellite/Satellite.js +26 -14
  179. package/esm/Satellite/SatelliteContext.d.ts +1 -1
  180. package/esm/Satellite/SatelliteContext.js +2 -1
  181. package/esm/ScrollIndicator/ScrollIndicator.d.ts +2 -2
  182. package/esm/Select/Select.tailwind.js +2 -2
  183. package/esm/Separator/Separator.d.ts +8 -0
  184. package/esm/Separator/Separator.js +17 -0
  185. package/esm/Separator/Separator.tailwind.d.ts +5 -0
  186. package/esm/Separator/Separator.tailwind.js +24 -0
  187. package/esm/Separator/index.d.ts +2 -0
  188. package/esm/Separator/index.js +2 -0
  189. package/esm/Sidebar/Sidebar.d.ts +2 -2
  190. package/esm/Sidebar/SidebarButtonLink.d.ts +2 -2
  191. package/esm/Sidebar/SidebarButtonLink.js +8 -14
  192. package/esm/Sidebar/SidebarHeader.d.ts +2 -2
  193. package/esm/Sidebar/SidebarHeading.d.ts +2 -2
  194. package/esm/Sidebar/SidebarLink.d.ts +2 -2
  195. package/esm/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +2 -2
  196. package/esm/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +2 -2
  197. package/esm/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +2 -2
  198. package/esm/Sidebar/SidebarNav.d.ts +2 -2
  199. package/esm/Switch/Switch.d.ts +2 -2
  200. package/esm/Switch/SwitchOption.d.ts +2 -2
  201. package/esm/Tables/DataTable/DataTable.d.ts +4 -2
  202. package/esm/Tables/DataTable/DataTable.js +9 -4
  203. package/esm/Tables/DataTable/components/Footer.d.ts +2 -2
  204. package/esm/Tables/DataTable/components/Loader.d.ts +2 -2
  205. package/esm/Tables/Table/Table.d.ts +2 -2
  206. package/esm/Tables/Table/components/TableFooter.d.ts +2 -2
  207. package/esm/Tabs/ContentTabs.d.ts +2 -2
  208. package/esm/Tabs/LinkTabs.d.ts +2 -2
  209. package/esm/Tabs/components/LinkTab.d.ts +2 -2
  210. package/esm/Tag/Tag.js +7 -7
  211. package/esm/TextWrap/TextWrap.d.ts +2 -2
  212. package/esm/Toggle/Toggle.js +3 -13
  213. package/esm/Toggle/Toggle.tailwind.js +8 -2
  214. package/esm/Tooltip/OverflowTooltipWrapper.d.ts +2 -5
  215. package/esm/Tooltip/OverflowTooltipWrapper.js +20 -78
  216. package/esm/Tooltip/Tooltip.d.ts +6 -6
  217. package/esm/Tooltip/Tooltip.js +6 -6
  218. package/esm/Tooltip/Tooltip.tailwind.js +84 -62
  219. package/esm/Tooltip/TooltipWrapper.d.ts +8 -21
  220. package/esm/Tooltip/TooltipWrapper.js +47 -157
  221. package/esm/Tooltip/types.d.ts +57 -6
  222. package/esm/Tooltip/utils.d.ts +1 -0
  223. package/esm/Tooltip/utils.js +3 -0
  224. package/esm/UserContent/UserContent.d.ts +2 -2
  225. package/esm/index.d.ts +2 -1
  226. package/esm/index.js +2 -1
  227. package/esm/styles/tailwind.config.js +1 -1
  228. package/esm/types.d.ts +6 -6
  229. package/package.json +3 -1
  230. package/satellite.min.css +1 -1
@@ -17,11 +17,17 @@ var inputPlugin = plugin(function (_ref) {
17
17
  fontSize: theme("fontSize.base"),
18
18
  lineHeight: theme("lineHeight.base"),
19
19
  backgroundColor: theme("colors.white"),
20
- border: "1px solid ".concat(theme("colors.grey.200")),
20
+ border: "1px solid ".concat(theme("colors.grey.500")),
21
21
  borderRadius: theme("borderRadius.DEFAULT"),
22
22
  boxShadow: "inset 0px 1px 4px 0px ".concat(rgba(theme("colors.grey.500"), 0.3)),
23
23
  overflow: "hidden",
24
24
  transition: "all 100ms ease-in-out",
25
+ "&:not(.input-disabled):hover": {
26
+ borderColor: theme("colors.grey.600"),
27
+ ".input-spinner-button": {
28
+ borderColor: theme("colors.grey.600")
29
+ }
30
+ },
25
31
  input: {
26
32
  flex: "1",
27
33
  minWidth: "0px",
@@ -45,7 +51,10 @@ var inputPlugin = plugin(function (_ref) {
45
51
  },
46
52
  ".input-focused, .input:focus-within": {
47
53
  borderColor: theme("colors.accent.600"),
48
- boxShadow: "0px 1px 0px 0px ".concat(theme("colors.shadow.5"))
54
+ boxShadow: "0px 1px 0px 0px ".concat(theme("colors.shadow.5")),
55
+ ".input-spinner-button": {
56
+ borderColor: theme("colors.accent.600")
57
+ }
49
58
  },
50
59
  ".input-disabled": {
51
60
  cursor: "not-allowed",
@@ -68,7 +77,17 @@ var inputPlugin = plugin(function (_ref) {
68
77
  },
69
78
  ".input-invalid:not(.input-disabled)": {
70
79
  backgroundColor: theme("colors.red.100"),
71
- borderColor: theme("colors.red.700")
80
+ borderColor: theme("colors.red.700"),
81
+ ".input-spinner-button": {
82
+ background: theme("colors.red.100"),
83
+ borderColor: theme("colors.red.700")
84
+ },
85
+ "&:hover": {
86
+ borderColor: theme("colors.red.800"),
87
+ ".input-spinner-button": {
88
+ borderColor: theme("colors.red.800")
89
+ }
90
+ }
72
91
  }
73
92
  });
74
93
  addComponents({
@@ -81,7 +100,7 @@ var inputPlugin = plugin(function (_ref) {
81
100
  },
82
101
  ".input-spinner-button": {
83
102
  background: "linear-gradient(-180deg, ".concat(theme("colors.white"), " 0%, ").concat(theme("colors.grey.50"), " 100%)"),
84
- borderColor: theme("colors.grey.200"),
103
+ borderColor: theme("colors.grey.500"),
85
104
  borderStyle: "solid",
86
105
  borderLeftWidth: "1px",
87
106
  flex: "1",
@@ -93,6 +112,11 @@ var inputPlugin = plugin(function (_ref) {
93
112
  },
94
113
  "&:not(:last-child)": {
95
114
  borderBottomWidth: "1px"
115
+ },
116
+ // This is to counterbalance the width of the first button's bottom border
117
+ // so that the two buttons have the same height.
118
+ "&:last-child": {
119
+ paddingTop: "1px"
96
120
  }
97
121
  }
98
122
  });
@@ -1,4 +1,4 @@
1
- import type { FC, ReactNode } from "react";
1
+ import type { ReactNode, VFC } from "react";
2
2
  import { BadgeVariants } from "../Badge";
3
3
  declare type InsertContext = {
4
4
  label: string;
@@ -41,5 +41,5 @@ export interface InsertProps {
41
41
  * ## Accessibility
42
42
  * TODO
43
43
  */
44
- export declare const Insert: FC<InsertProps>;
44
+ export declare const Insert: VFC<InsertProps>;
45
45
  export default Insert;
@@ -1,7 +1,7 @@
1
- import type { FC } from "react";
1
+ import type { VFC } from "react";
2
2
  export interface KeyboardKeyProps {
3
3
  /** @ignore */
4
4
  className?: string;
5
5
  value: string;
6
6
  }
7
- export declare const KeyboardKey: FC<KeyboardKeyProps>;
7
+ export declare const KeyboardKey: VFC<KeyboardKeyProps>;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import type { VFC } from "react";
2
2
  import type { IconComponentType } from "../types";
3
3
  import type { MedallionSize, MedallionVariant } from "./types";
4
4
  export interface MedallionProps {
@@ -7,5 +7,5 @@ export interface MedallionProps {
7
7
  size?: MedallionSize;
8
8
  className?: string;
9
9
  }
10
- export declare const Medallion: ({ icon: Icon, variant, size, className }: MedallionProps) => JSX.Element;
10
+ export declare const Medallion: VFC<MedallionProps>;
11
11
  export default Medallion;
@@ -1,5 +1,7 @@
1
- import type { ReactNode } from "react";
1
+ import type { ReactNode, VFC } from "react";
2
2
  import type { XOR } from "../types";
3
+ import ModalFooter from "./components/ModalFooter";
4
+ import ModalSection from "./components/ModalSection";
3
5
  export declare type ModalSizeVariant = "medium" | "large";
4
6
  export declare type ModalLocale = {
5
7
  dismissText?: string;
@@ -46,9 +48,9 @@ export declare type ModalProps = XOR<ModalControlledProps, ModalUncontrolledProp
46
48
  autoFocusOnOpenElement?: HTMLElement | null | false;
47
49
  children: ReactNode;
48
50
  };
49
- export declare const Modal: {
50
- ({ title, className, children, open, onDismiss, fullBleed, animate, hideCloseIcon, size, centerY, autoFocusOnOpenElement, autoFocusOnCloseElement, triggerButton, locale: propsLocale, }: ModalProps): JSX.Element;
51
- Footer: import("react").FunctionComponent<import("./components/ModalFooter").ModalFooterProps>;
52
- Section: ({ children, className, fullBleed }: import("./components/ModalSection").ModalSectionProps) => JSX.Element;
51
+ declare type ModalSubComponents = {
52
+ Footer: typeof ModalFooter;
53
+ Section: typeof ModalSection;
53
54
  };
55
+ export declare const Modal: VFC<ModalProps> & ModalSubComponents;
54
56
  export default Modal;
@@ -1,6 +1,6 @@
1
- import type { FunctionComponent, HTMLAttributes, ReactNode } from "react";
1
+ import type { HTMLAttributes, ReactNode, VFC } from "react";
2
2
  export declare type ModalFooterProps = HTMLAttributes<HTMLElement> & {
3
3
  children: ReactNode;
4
4
  };
5
- export declare const ModalFooter: FunctionComponent<ModalFooterProps>;
5
+ export declare const ModalFooter: VFC<ModalFooterProps>;
6
6
  export default ModalFooter;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import type { ReactNode, VFC } from "react";
2
2
  export declare type ModalSectionProps = {
3
3
  children: ReactNode;
4
4
  /** @ignore */
@@ -6,5 +6,5 @@ export declare type ModalSectionProps = {
6
6
  /** Negates the modal default horizontal padding when true */
7
7
  fullBleed?: boolean;
8
8
  };
9
- export declare const ModalSection: ({ children, className, fullBleed }: ModalSectionProps) => JSX.Element;
9
+ export declare const ModalSection: VFC<ModalSectionProps>;
10
10
  export default ModalSection;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import type { VFC } from "react";
2
2
  export declare type CompactPaginationLabel = "complete" | "compact" | "none";
3
3
  export declare type CompactPaginationLocale = {
4
4
  goToFirstPage?: string;
@@ -27,5 +27,5 @@ export declare type CompactPaginationProps = DeterminateCompactPaginationProps |
27
27
  export declare const isDeterminateCompactPaginationProps: (props: CompactPaginationProps) => props is DeterminateCompactPaginationProps;
28
28
  /** @ignore */
29
29
  export declare const isIndeterminateCompactPaginationProps: (props: CompactPaginationProps) => props is IndeterminateCompactPaginationProps;
30
- export declare const CompactPagination: (props: CompactPaginationProps) => JSX.Element;
30
+ export declare const CompactPagination: VFC<CompactPaginationProps>;
31
31
  export default CompactPagination;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import type { VFC } from "react";
2
2
  export declare type PaginationLocale = {
3
3
  goToPage?(page: number): string;
4
4
  goToNextPage?: string;
@@ -18,5 +18,5 @@ export interface PaginationProps {
18
18
  * - Don't use on list with less than 20 items
19
19
  * - Place the pagination at the bottom of the split item
20
20
  */
21
- export declare const Pagination: ({ currentPage, nbPages, onChange, maxButtons: maxButtonsParam, locale: propsLocale, }: PaginationProps) => JSX.Element;
21
+ export declare const Pagination: VFC<PaginationProps>;
22
22
  export default Pagination;
@@ -1,4 +1,4 @@
1
- import type { HTMLAttributes } from "react";
1
+ import type { HTMLAttributes, VFC } from "react";
2
2
  export interface ProgressBarProps extends HTMLAttributes<HTMLDivElement> {
3
3
  barClassName?: string;
4
4
  value: number;
@@ -9,5 +9,5 @@ export interface ProgressBarProps extends HTMLAttributes<HTMLDivElement> {
9
9
  * - Progress bars show an indication of how much of the task has been completed and how much is still left.
10
10
  * - You should indicate either a percentage or other numeric values (such as - 234/4092 queries processed)
11
11
  */
12
- export declare const ProgressBar: ({ value, className, barClassName, ...props }: ProgressBarProps) => JSX.Element;
12
+ export declare const ProgressBar: VFC<ProgressBarProps>;
13
13
  export default ProgressBar;
@@ -1,9 +1,9 @@
1
- import type { SVGAttributes } from "react";
1
+ import type { SVGAttributes, VFC } from "react";
2
2
  export declare type ProgressSpinnerAlign = "left" | "center" | "right";
3
3
  export interface ProgressSpinnerProps extends SVGAttributes<SVGSVGElement> {
4
4
  size?: number;
5
5
  thickness?: number;
6
6
  align?: ProgressSpinnerAlign;
7
7
  }
8
- export declare const ProgressSpinner: ({ className, size, thickness, align, ...svgProps }: ProgressSpinnerProps) => JSX.Element;
8
+ export declare const ProgressSpinner: VFC<ProgressSpinnerProps>;
9
9
  export default ProgressSpinner;
@@ -16,9 +16,12 @@ var radioButtonPlugin = plugin(function (_ref) {
16
16
  appearance: "none",
17
17
  outline: "0px",
18
18
  background: theme("colors.white"),
19
- border: "1px solid ".concat(theme("colors.grey.200")),
19
+ border: "1px solid ".concat(theme("colors.grey.500")),
20
20
  borderRadius: "50%",
21
21
  boxShadow: "inset 0 1px 4px 0 ".concat(rgba(theme("colors.grey.500"), 0.3)),
22
+ "&:hover": {
23
+ borderColor: theme("colors.grey.600")
24
+ },
22
25
  "&:focus": {
23
26
  borderColor: theme("colors.accent.600"),
24
27
  boxShadow: "0 1px 0 0 ".concat(theme("colors.shadow.5"))
@@ -1,4 +1,4 @@
1
- import type { FunctionComponent, ReactNode } from "react";
1
+ import type { ReactNode, VFC } from "react";
2
2
  export interface RadioGroupProps {
3
3
  className?: string;
4
4
  name?: string;
@@ -17,7 +17,10 @@ export interface RadioGroupItemProps {
17
17
  disabled?: boolean;
18
18
  children?: ReactNode;
19
19
  }
20
- export declare const RadioGroupItem: FunctionComponent<RadioGroupItemProps>;
20
+ declare type RadioGroupSubComponents = {
21
+ Item: VFC<RadioGroupItemProps>;
22
+ };
23
+ export declare const RadioGroupItem: VFC<RadioGroupItemProps>;
21
24
  /**
22
25
  * Use radio buttons when users have to make a single selection from a list of options.
23
26
  *
@@ -33,8 +36,5 @@ export declare const RadioGroupItem: FunctionComponent<RadioGroupItemProps>;
33
36
  * - If you need to have an unselected state, just add a radio button with a *None* option.
34
37
  * - Sometimes, you might want to include an *Other* option (Usually followed by a text input if a user needs to provide a specific answer)
35
38
  */
36
- export declare const RadioGroup: {
37
- ({ className, name, value, disabled, textPosition, children, onChange }: RadioGroupProps): JSX.Element;
38
- Item: FunctionComponent<RadioGroupItemProps>;
39
- };
39
+ export declare const RadioGroup: VFC<RadioGroupProps> & RadioGroupSubComponents;
40
40
  export default RadioGroup;
@@ -23,7 +23,7 @@ var getThumbCount = function getThumbCount(value) {
23
23
  var ThumbGroove = function ThumbGroove(_ref) {
24
24
  var className = _ref.className;
25
25
  return /*#__PURE__*/_jsx("span", {
26
- className: cx(stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["h-3 w-px bg-grey-200"]))), className)
26
+ className: cx(stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["h-3 w-px bg-grey-500 group-hover:bg-grey-600"]))), className)
27
27
  });
28
28
  };
29
29
 
@@ -83,7 +83,7 @@ export var RangeSlider = function RangeSlider(_ref2) {
83
83
  })
84
84
  }), Array(thumbsCount).fill(undefined).map(function (_, idx) {
85
85
  return /*#__PURE__*/_jsxs(SliderThumb, {
86
- className: stl(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n absolute -translate-x-1.5 -translate-y-3\n w-3 h-6 rounded-[2px] border border-grey-200\n bg-white bg-gradient-to-b from-white to-grey-50 shadow-[0_1px_0_0_rgb(35_38_59_/_5%)]\n "]))),
86
+ className: stl(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["group absolute -translate-x-1.5 -translate-y-3\n w-3 h-6 rounded-[2px] border border-grey-500\n bg-white bg-gradient-to-b from-white to-grey-50 shadow-[0_1px_0_0_rgb(35_38_59_/_5%)]\n hover:border-grey-600\n "]))),
87
87
  children: [/*#__PURE__*/_jsx(ThumbGroove, {
88
88
  className: stl(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["absolute top-1.5 right-1.5"])))
89
89
  }), /*#__PURE__*/_jsx(ThumbGroove, {
@@ -1,4 +1,4 @@
1
- import { type FunctionComponent, type ReactNode } from "react";
1
+ import { type ReactNode, type VFC } from "react";
2
2
  import type { ComponentsLocales } from "./locale";
3
3
  import type { SatelliteRouter } from "./SatelliteRouter";
4
4
  export interface SatelliteProps {
@@ -7,6 +7,5 @@ export interface SatelliteProps {
7
7
  portalTarget?: HTMLElement;
8
8
  children: ReactNode;
9
9
  }
10
- export declare const DEFAULT_PORTAL_TARGET_ID = "satellite-portal";
11
- export declare const Satellite: FunctionComponent<SatelliteProps>;
10
+ export declare const Satellite: VFC<SatelliteProps>;
12
11
  export default Satellite;
@@ -2,32 +2,44 @@ import { useEffect } from "react";
2
2
  import SatelliteContext from "./SatelliteContext";
3
3
  import { router as defaultRouter } from "./SatelliteRouter";
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
- export var DEFAULT_PORTAL_TARGET_ID = "satellite-portal";
6
- var portalElement;
7
- var getPortalElement = function getPortalElement() {
8
- if (typeof document === "undefined") return;
9
- if (!portalElement) {
10
- var element = document.createElement("div");
11
- element.setAttribute("id", DEFAULT_PORTAL_TARGET_ID);
12
- document.body.appendChild(element);
13
- portalElement = element;
5
+ var DEFAULT_PORTAL_ID = "satellite-portal";
6
+ var createDefaultPortalTarget = function createDefaultPortalTarget() {
7
+ if (typeof document === "undefined") {
8
+ return null;
14
9
  }
15
- return portalElement;
10
+ var div = document.createElement("div");
11
+ div.setAttribute("id", DEFAULT_PORTAL_ID);
12
+ div.setAttribute("data-testid", DEFAULT_PORTAL_ID);
13
+ return div;
14
+ };
15
+ var isDefaultPortalTarget = function isDefaultPortalTarget(el) {
16
+ return el.getAttribute("id") === DEFAULT_PORTAL_ID;
16
17
  };
17
18
  export var Satellite = function Satellite(_ref) {
19
+ var _ref2;
18
20
  var _ref$router = _ref.router,
19
21
  router = _ref$router === void 0 ? defaultRouter : _ref$router,
20
22
  locales = _ref.locales,
21
23
  _ref$portalTarget = _ref.portalTarget,
22
- portalTarget = _ref$portalTarget === void 0 ? getPortalElement() : _ref$portalTarget,
24
+ customPortalTarget = _ref$portalTarget === void 0 ? null : _ref$portalTarget,
23
25
  children = _ref.children;
26
+ var portalTarget = (_ref2 = customPortalTarget !== null && customPortalTarget !== void 0 ? customPortalTarget : document.getElementById(DEFAULT_PORTAL_ID)) !== null && _ref2 !== void 0 ? _ref2 : createDefaultPortalTarget();
27
+
28
+ // Auto append / remove default target as necessary
29
+ useEffect(function () {
30
+ if (!portalTarget || !isDefaultPortalTarget(portalTarget)) return;
31
+ document.body.appendChild(portalTarget);
32
+ return function () {
33
+ return portalTarget.remove();
34
+ };
35
+ }, [portalTarget]);
36
+
37
+ // Radix adds pointer-events: none; on the body for its modal, so we need to reenable it for other portaled elements (tooltips, menus, autocomplete)
24
38
  useEffect(function () {
25
- if (!portalTarget) return;
39
+ if (!portalTarget || typeof document === "undefined") return;
26
40
  if (portalTarget === document.body) {
27
41
  console.warn("Avoid using the document body as a portal target.");
28
42
  }
29
-
30
- // Radix adds pointer-events: none; on the body for its modal, so we need to reenable it for other portaled elements (tooltips, menus, autocomplete)
31
43
  portalTarget.style.pointerEvents = "auto";
32
44
  }, [portalTarget]);
33
45
  return /*#__PURE__*/_jsx(SatelliteContext.Provider, {
@@ -3,8 +3,8 @@ import type { ComponentsLocales } from "./locale";
3
3
  import { SatelliteRouter } from "./SatelliteRouter";
4
4
  export interface SatelliteContextType {
5
5
  router: SatelliteRouter;
6
+ portalTarget: HTMLElement | null;
6
7
  locales?: ComponentsLocales;
7
- portalTarget?: HTMLElement;
8
8
  }
9
9
  export declare const SatelliteContext: import("react").Context<SatelliteContextType>;
10
10
  export declare const useSatelliteContext: () => SatelliteContextType;
@@ -5,7 +5,8 @@ import { createContext, useContext } from "react";
5
5
  import { router } from "./SatelliteRouter";
6
6
  var DEFAULT_CONTEXT = {
7
7
  router: router,
8
- locales: {}
8
+ locales: {},
9
+ portalTarget: null
9
10
  };
10
11
  export var SatelliteContext = /*#__PURE__*/createContext(DEFAULT_CONTEXT);
11
12
  export var useSatelliteContext = function useSatelliteContext() {
@@ -1,4 +1,4 @@
1
- import type { CSSProperties, FunctionComponent, ReactHTML, ReactNode } from "react";
1
+ import type { CSSProperties, ReactHTML, ReactNode, VFC } from "react";
2
2
  export declare type ScrollIndicatorVariant = "light" | "dark";
3
3
  export interface ScrollIndicatorProps {
4
4
  wrapperClassName?: string;
@@ -10,5 +10,5 @@ export interface ScrollIndicatorProps {
10
10
  variant?: ScrollIndicatorVariant;
11
11
  children: ReactNode;
12
12
  }
13
- export declare const ScrollIndicator: FunctionComponent<ScrollIndicatorProps>;
13
+ export declare const ScrollIndicator: VFC<ScrollIndicatorProps>;
14
14
  export default ScrollIndicator;
@@ -24,7 +24,7 @@ var selectPlugin = plugin(function (_ref) {
24
24
  backgroundPosition: "right ".concat(theme("spacing.4"), " center, 0 0"),
25
25
  backgroundRepeat: "no-repeat",
26
26
  borderRadius: theme("borderRadius.DEFAULT"),
27
- border: "1px solid ".concat(theme("colors.grey.200")),
27
+ border: "1px solid ".concat(theme("colors.grey.500")),
28
28
  boxShadow: "0 1px 0 0 ".concat(theme("colors.shadow.5")),
29
29
  "&::-moz-focus-inner, &:-moz-focusring": {
30
30
  outline: "none",
@@ -45,7 +45,7 @@ var selectPlugin = plugin(function (_ref) {
45
45
  },
46
46
  "&:hover": {
47
47
  backgroundImage: "\n ".concat(selectIconBG(theme("colors.grey.500")), ",\n linear-gradient(-180deg, ").concat(theme("colors.grey.50"), " 0%, ").concat(theme("colors.grey.100"), " 100%)\n "),
48
- borderColor: theme("colors.grey.200")
48
+ borderColor: theme("colors.grey.600")
49
49
  },
50
50
  "&:focus": {
51
51
  backgroundImage: "\n ".concat(selectIconBG(theme("colors.grey.500")), ",\n linear-gradient(-180deg, ").concat(theme("colors.white"), " 0%, ").concat(theme("colors.grey.100"), " 100%)\n "),
@@ -0,0 +1,8 @@
1
+ import * as RadixSeparator from "@radix-ui/react-separator";
2
+ import type { VFC } from "react";
3
+ export interface SeparatorProps {
4
+ className?: string;
5
+ orientation?: RadixSeparator.SeparatorProps["orientation"];
6
+ }
7
+ export declare const Separator: VFC<SeparatorProps>;
8
+ export default Separator;
@@ -0,0 +1,17 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
+ var _templateObject;
3
+ import * as RadixSeparator from "@radix-ui/react-separator";
4
+ import cx from "clsx";
5
+ import stl from "../styles/helpers/satellitePrefixer";
6
+ import { jsx as _jsx } from "react/jsx-runtime";
7
+ export var Separator = function Separator(_ref) {
8
+ var className = _ref.className,
9
+ _ref$orientation = _ref.orientation,
10
+ orientation = _ref$orientation === void 0 ? "horizontal" : _ref$orientation;
11
+ return /*#__PURE__*/_jsx(RadixSeparator.Root, {
12
+ decorative: true,
13
+ className: cx(stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["separator"]))), className),
14
+ orientation: orientation
15
+ });
16
+ };
17
+ export default Separator;
@@ -0,0 +1,5 @@
1
+ export = separatorPlugin;
2
+ declare const separatorPlugin: {
3
+ handler: import("tailwindcss/types/config").PluginCreator;
4
+ config?: Partial<import("tailwindcss").Config> | undefined;
5
+ };
@@ -0,0 +1,24 @@
1
+ import _plugin from "tailwindcss/plugin";
2
+ // @ts-check
3
+ var plugin = _plugin;
4
+ var separatorPlugin = plugin(function (_ref) {
5
+ var addComponents = _ref.addComponents,
6
+ theme = _ref.theme;
7
+ var margin = theme("spacing.4");
8
+ addComponents({
9
+ ".separator": {
10
+ backgroundColor: theme("colors.grey.200"),
11
+ '&[data-orientation="horizontal"]': {
12
+ height: "1px",
13
+ width: "100%",
14
+ margin: "".concat(margin, " 0")
15
+ },
16
+ '&[data-orientation="vertical"]': {
17
+ height: "100%",
18
+ width: "1px",
19
+ margin: "0 ".concat(margin)
20
+ }
21
+ }
22
+ });
23
+ });
24
+ export default separatorPlugin;
@@ -0,0 +1,2 @@
1
+ export * from "./Separator";
2
+ export { default } from "./Separator";
@@ -0,0 +1,2 @@
1
+ export * from "./Separator";
2
+ export { default } from "./Separator";
@@ -1,4 +1,4 @@
1
- import type { FC, ReactNode } from "react";
1
+ import type { ReactNode, VFC } from "react";
2
2
  import type { SidebarLocale, SidebarLocation, SidebarVariant } from "./types";
3
3
  export interface SidebarProps {
4
4
  id?: string;
@@ -32,4 +32,4 @@ export interface SidebarProps {
32
32
  location: SidebarLocation;
33
33
  children?: ReactNode;
34
34
  }
35
- export declare const Sidebar: FC<SidebarProps>;
35
+ export declare const Sidebar: VFC<SidebarProps>;
@@ -1,4 +1,4 @@
1
- import type { FC, MouseEventHandler, ReactNode } from "react";
1
+ import type { MouseEventHandler, ReactNode, VFC } from "react";
2
2
  import type { IconComponentType } from "../types";
3
3
  export declare type SidebarButtonLinkIcon = IconComponentType | {
4
4
  active: IconComponentType;
@@ -17,4 +17,4 @@ export interface SidebarButtonLinkProps {
17
17
  tooltipContent?: ReactNode;
18
18
  children: ReactNode;
19
19
  }
20
- export declare const SidebarButtonLink: FC<SidebarButtonLinkProps>;
20
+ export declare const SidebarButtonLink: VFC<SidebarButtonLinkProps>;
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
2
  import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
4
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
3
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4;
5
5
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6
6
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7
7
  import { useState } from "react";
@@ -16,17 +16,11 @@ var Tooltip = function Tooltip(_ref) {
16
16
  var content = _ref.content,
17
17
  children = _ref.children;
18
18
  return /*#__PURE__*/_jsx(TooltipWrapper, {
19
- placement: "right",
19
+ side: "right",
20
+ sideOffset: 24,
20
21
  delay: 0,
21
22
  hideDelay: 0,
22
- modifiers: [{
23
- name: "offset",
24
- options: {
25
- offset: [0, 32]
26
- }
27
- }],
28
23
  content: content,
29
- wrapperClassName: stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["block"]))),
30
24
  interactive: false,
31
25
  children: children
32
26
  });
@@ -66,17 +60,17 @@ export var SidebarButtonLink = function SidebarButtonLink(props) {
66
60
  onBlur: function onBlur() {
67
61
  return setIsInteractedWith(false);
68
62
  },
69
- className: stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n h-8 min-w-8 w-full rounded\n flex items-center space-x-3\n border border-transparent\n display-body\n hover:no-underline focus:no-underline\n ", "\n ", "\n ", "\n ", "\n "])), disabled ? "cursor-not-allowed opacity-70" : "focus:border-grey-500", isActive ? "shadow-z100" : !disabled && "hover:border-grey-200", isActive && "bg-gradient-to-b from-white to-grey-50", collapsed ? "pl-2" : "px-2"),
63
+ className: stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n h-8 min-w-8 w-full rounded\n flex items-center space-x-3\n border border-transparent\n display-body\n hover:no-underline focus:no-underline\n ", "\n ", "\n ", "\n ", "\n "])), disabled ? "cursor-not-allowed opacity-70" : "focus:border-grey-500", isActive ? "shadow-z100" : !disabled && "hover:border-grey-200", isActive && "bg-gradient-to-b from-white to-grey-50", collapsed ? "pl-2" : "px-2"),
70
64
  "aria-current": isActive,
71
65
  children: [/*#__PURE__*/_jsx(Icon, {
72
- className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["", " ml-[-3px]"])), showColors ? "text-accent-600" : "text-grey-400"),
66
+ className: stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["", " ml-[-3px]"])), showColors ? "text-accent-600" : "text-grey-400"),
73
67
  height: 20,
74
68
  width: 20
75
69
  }), /*#__PURE__*/_jsx("span", {
76
- className: stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), collapsed && "sr-only", showColors ? "text-accent-600" : "typo-subdued", isActive && "font-bold"),
70
+ className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), collapsed && "sr-only", showColors ? "text-accent-600" : "typo-subdued", isActive && "font-bold"),
77
71
  children: children
78
72
  }), isExternalLink && !collapsed && /*#__PURE__*/_jsx(ExternalLink, {
79
- className: stl(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["", " !ml-1 shrink-0"])), showColors ? "text-accent-600" : "typo-subdued"),
73
+ className: stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["", " !ml-1 shrink-0"])), showColors ? "text-accent-600" : "typo-subdued"),
80
74
  size: "1em"
81
75
  })]
82
76
  }))
@@ -1,6 +1,6 @@
1
- import type { FC, ReactNode } from "react";
1
+ import type { ReactNode, VFC } from "react";
2
2
  export declare type SidebarHeaderProps = {
3
3
  className?: string;
4
4
  children?: ReactNode;
5
5
  };
6
- export declare const SidebarHeader: FC<SidebarHeaderProps>;
6
+ export declare const SidebarHeader: VFC<SidebarHeaderProps>;
@@ -1,7 +1,7 @@
1
- import type { FC, ReactNode } from "react";
1
+ import type { ReactNode, VFC } from "react";
2
2
  export declare type SidebarHeadingProps = {
3
3
  id?: string;
4
4
  className?: string;
5
5
  children: ReactNode;
6
6
  };
7
- export declare const SidebarHeading: FC<SidebarHeadingProps>;
7
+ export declare const SidebarHeading: VFC<SidebarHeadingProps>;
@@ -1,4 +1,4 @@
1
- import type { FC, ReactNode } from "react";
1
+ import type { ReactNode, VFC } from "react";
2
2
  import type { IconComponentType } from "../types";
3
3
  export declare type SidebarLinkProps = {
4
4
  icon: IconComponentType;
@@ -6,4 +6,4 @@ export declare type SidebarLinkProps = {
6
6
  disabled?: boolean;
7
7
  children: ReactNode;
8
8
  } & Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "id" | "className" | "target" | "rel" | "aria-label" | "onClick">;
9
- export declare const SidebarLink: FC<SidebarLinkProps>;
9
+ export declare const SidebarLink: VFC<SidebarLinkProps>;
@@ -1,8 +1,8 @@
1
- import type { FC } from "react";
1
+ import type { VFC } from "react";
2
2
  declare type ActiveLinkIndicatorProps = {
3
3
  className?: string;
4
4
  activeIndex?: number;
5
5
  linksCount: number;
6
6
  };
7
- export declare const ActiveLinkIndicator: FC<ActiveLinkIndicatorProps>;
7
+ export declare const ActiveLinkIndicator: VFC<ActiveLinkIndicatorProps>;
8
8
  export {};
@@ -1,7 +1,7 @@
1
- import type { FC } from "react";
1
+ import type { VFC } from "react";
2
2
  import type { SidebarLinksGroupLink } from "./types";
3
3
  declare type LinkProps = SidebarLinksGroupLink & {
4
4
  active: boolean;
5
5
  };
6
- export declare const SidebarGroupLink: FC<LinkProps>;
6
+ export declare const SidebarGroupLink: VFC<LinkProps>;
7
7
  export {};
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import type { ReactNode, VFC } from "react";
2
2
  import type { IconComponentType } from "../../types";
3
3
  import type { SidebarLinksGroupLink } from "./types";
4
4
  declare type SidebarLinksGroupBaseProps = {
@@ -19,5 +19,5 @@ export declare type CollapsibleSidebarLinksGroupProps = SidebarLinksGroupBasePro
19
19
  onGroupToggle?: (open: boolean) => void;
20
20
  };
21
21
  export declare type SidebarLinksGroupProps = StaticSidebarLinksGroupProps | CollapsibleSidebarLinksGroupProps;
22
- export declare const SidebarLinksGroup: (props: SidebarLinksGroupProps) => JSX.Element;
22
+ export declare const SidebarLinksGroup: VFC<SidebarLinksGroupProps>;
23
23
  export {};