@algolia/satellite 1.11.0 → 2.0.0-rc.1

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 (205) hide show
  1. package/dist/cjs/Actions/Accordion/Accordion.d.ts +2 -2
  2. package/dist/cjs/Actions/Button/types.d.ts +2 -2
  3. package/dist/cjs/Actions/ButtonGroup/ButtonGroup.d.ts +2 -2
  4. package/dist/cjs/Actions/Switch/Switch.d.ts +2 -2
  5. package/dist/cjs/Actions/Switch/SwitchOption.d.ts +2 -2
  6. package/dist/cjs/Actions/ToggleButton/ToggleButton.d.ts +3 -3
  7. package/dist/cjs/Actions/ToggleButton/ToggleButton.js +3 -1
  8. package/dist/cjs/Actions/ToggleButton/ToggleButtonBase.d.ts +3 -1
  9. package/dist/cjs/Actions/ToggleButton/ToggleButtonBase.js +11 -10
  10. package/dist/cjs/Actions/ToggleGroup/ToggleGroup.d.ts +8 -10
  11. package/dist/cjs/Avatars/ApplicationAvatar/ApplicationAvatar.d.ts +2 -2
  12. package/dist/cjs/Avatars/UserAvatar/UserAvatar.d.ts +2 -2
  13. package/dist/cjs/Fields/AutoComplete/components/AutoCompleteContext.d.ts +2 -2
  14. package/dist/cjs/Fields/AutoComplete/components/AutoCompleteEmptyState.d.ts +2 -2
  15. package/dist/cjs/Fields/AutoComplete/components/DefaultOptionItem.d.ts +2 -2
  16. package/dist/cjs/Fields/AutoComplete/types.d.ts +2 -2
  17. package/dist/cjs/Fields/DatePicker/DateRangePicker/DateRangePicker.d.ts +2 -2
  18. package/dist/cjs/Fields/DatePicker/components/Calendar.d.ts +2 -2
  19. package/dist/cjs/Fields/DatePicker/components/Footer.d.ts +2 -2
  20. package/dist/cjs/Fields/DatePicker/components/Modal.d.ts +0 -0
  21. package/dist/cjs/Fields/DatePicker/components/Modal.js +1 -0
  22. package/dist/cjs/Fields/DatePicker/components/NavBar.d.ts +2 -2
  23. package/dist/cjs/Fields/DatePicker/components/SidePanel.d.ts +2 -2
  24. package/dist/cjs/Fields/Field/Field.d.ts +2 -2
  25. package/dist/cjs/Fields/Form/Form.d.ts +5 -5
  26. package/dist/cjs/Fields/RadioGroup/RadioGroupItem.d.ts +4 -8
  27. package/dist/cjs/Helpers/ClickAwayContainer/ClickAwayContainer.d.ts +4 -5
  28. package/dist/cjs/Helpers/HelpUnderline/HelpUnderline.d.ts +2 -2
  29. package/dist/cjs/Helpers/Medallion/Medallion.d.ts +2 -2
  30. package/dist/cjs/Helpers/Separator/Separator.d.ts +2 -2
  31. package/dist/cjs/Helpers/TextWrap/TextWrap.d.ts +2 -2
  32. package/dist/cjs/Helpers/UserContent/UserContent.d.ts +2 -2
  33. package/dist/cjs/Indicators/Banners/Alert/Alert.d.ts +2 -2
  34. package/dist/cjs/Indicators/Banners/Promote/Promote.d.ts +2 -2
  35. package/dist/cjs/Indicators/Banners/SystemNotification/SystemNotification.d.ts +2 -2
  36. package/dist/cjs/Indicators/EmptyState/EmptyState.d.ts +2 -2
  37. package/dist/cjs/Indicators/KeyboardKey/KeyboardKey.d.ts +2 -2
  38. package/dist/cjs/Indicators/ProgressSpinner/ProgressSpinner.d.ts +2 -2
  39. package/dist/cjs/Indicators/ScrollIndicator/ScrollIndicator.d.ts +2 -2
  40. package/dist/cjs/Indicators/Skeleton/Skeleton.d.ts +2 -2
  41. package/dist/cjs/Indicators/Toast/Toast.d.ts +2 -2
  42. package/dist/cjs/Indicators/Toast/Toasts.d.ts +2 -2
  43. package/dist/cjs/Layout/Card/components/CardHeader.d.ts +2 -2
  44. package/dist/cjs/Layout/Card/components/CardTitle.d.ts +2 -2
  45. package/dist/cjs/Layout/FlexGrid/FlexGrid.d.ts +2 -2
  46. package/dist/cjs/Layout/Insert/Insert.d.ts +2 -2
  47. package/dist/cjs/Layout/Sidebar/Sidebar.d.ts +4 -5
  48. package/dist/cjs/Layout/Sidebar/SidebarButtonLink.d.ts +2 -2
  49. package/dist/cjs/Layout/Sidebar/SidebarHeader.d.ts +4 -5
  50. package/dist/cjs/Layout/Sidebar/SidebarHeading.d.ts +2 -2
  51. package/dist/cjs/Layout/Sidebar/SidebarLink.d.ts +2 -2
  52. package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +2 -2
  53. package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +2 -2
  54. package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +2 -2
  55. package/dist/cjs/Layout/Sidebar/SidebarNav.d.ts +2 -2
  56. package/dist/cjs/Layout/Tables/DataTable/components/Footer.d.ts +2 -2
  57. package/dist/cjs/Layout/Tables/DataTable/components/Loader.d.ts +2 -2
  58. package/dist/cjs/Layout/Tables/DataTable/types.d.ts +3 -3
  59. package/dist/cjs/Layout/Tables/Table/Table.d.ts +2 -2
  60. package/dist/cjs/Layout/Tables/Table/components/TableFooter.d.ts +4 -5
  61. package/dist/cjs/Navigation/Pagination/CompactPagination/CompactPagination.d.ts +2 -2
  62. package/dist/cjs/Navigation/Pagination/Pagination/Pagination.d.ts +2 -2
  63. package/dist/cjs/Navigation/Stepper/Step.d.ts +2 -2
  64. package/dist/cjs/Navigation/Stepper/Stepper.d.ts +2 -2
  65. package/dist/cjs/Navigation/Tabs/ContentTabs/ContentTabs.d.ts +2 -2
  66. package/dist/cjs/Navigation/Tabs/LinkTabs/LinkTabs.d.ts +2 -2
  67. package/dist/cjs/Navigation/Tabs/components/LinkTab.d.ts +2 -2
  68. package/dist/cjs/Overlay/Dropdown/Dropdown.d.ts +4 -5
  69. package/dist/cjs/Overlay/Dropdown/components/DropdownButtonItem.d.ts +2 -2
  70. package/dist/cjs/Overlay/Dropdown/components/DropdownButtonItem.js +10 -9
  71. package/dist/cjs/Overlay/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +2 -2
  72. package/dist/cjs/Overlay/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +2 -2
  73. package/dist/cjs/Overlay/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +2 -2
  74. package/dist/cjs/Overlay/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +2 -2
  75. package/dist/cjs/Overlay/Dropdown/components/DropdownFooterItem.d.ts +2 -2
  76. package/dist/cjs/Overlay/Dropdown/components/DropdownLinkItem.d.ts +2 -2
  77. package/dist/cjs/Overlay/Dropdown/components/DropdownLinkItem.js +11 -9
  78. package/dist/cjs/Overlay/Dropdown/components/DropdownRadioItem.d.ts +3 -5
  79. package/dist/cjs/Overlay/Dropdown/components/DropdownRadioItem.js +0 -3
  80. package/dist/cjs/Overlay/Dropdown/components/DropdownTitle.d.ts +2 -2
  81. package/dist/cjs/Overlay/Dropdown/components/DropdownToggleItem.d.ts +4 -5
  82. package/dist/cjs/Overlay/Dropdown/components/DropdownToggleItem.js +0 -3
  83. package/dist/cjs/Overlay/MenuButton/MenuButton.d.ts +9 -9
  84. package/dist/cjs/Overlay/MenuButton/components/CustomTrigger.d.ts +2 -2
  85. package/dist/cjs/Overlay/MenuButton/components/Label.d.ts +2 -2
  86. package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItem.d.ts +2 -2
  87. package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItemsGroup.d.ts +2 -2
  88. package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItemsMultipleGroup.d.ts +2 -2
  89. package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItemsSingleGroup.d.ts +2 -2
  90. package/dist/cjs/Overlay/MenuButton/components/items/Item.d.ts +2 -2
  91. package/dist/cjs/Overlay/MenuButton/components/items/LinkItem.d.ts +2 -2
  92. package/dist/cjs/Overlay/MenuButton/components/items/RadioItem.d.ts +2 -2
  93. package/dist/cjs/Overlay/MenuButton/components/items/ToggleItem.d.ts +2 -2
  94. package/dist/cjs/Overlay/Modal/Modal.d.ts +2 -2
  95. package/dist/cjs/Overlay/Modal/components/ModalFooter.d.ts +2 -2
  96. package/dist/cjs/Overlay/Modal/components/ModalSection.d.ts +2 -2
  97. package/dist/cjs/Overlay/Popover/Popover.d.ts +2 -2
  98. package/dist/cjs/Overlay/Tooltip/OverflowTooltipWrapper.d.ts +2 -2
  99. package/dist/cjs/Overlay/Tooltip/TooltipWrapper.d.ts +2 -2
  100. package/dist/cjs/Overlay/Tooltip/types.d.ts +2 -2
  101. package/dist/cjs/Satellite/Satellite.d.ts +2 -2
  102. package/dist/cjs/utils/isCssPropertySupported.d.ts +1 -1
  103. package/dist/esm/Actions/Accordion/Accordion.d.ts +2 -2
  104. package/dist/esm/Actions/Button/types.d.ts +2 -2
  105. package/dist/esm/Actions/ButtonGroup/ButtonGroup.d.ts +2 -2
  106. package/dist/esm/Actions/Switch/Switch.d.ts +2 -2
  107. package/dist/esm/Actions/Switch/SwitchOption.d.ts +2 -2
  108. package/dist/esm/Actions/ToggleButton/ToggleButton.d.ts +3 -3
  109. package/dist/esm/Actions/ToggleButton/ToggleButton.js +3 -1
  110. package/dist/esm/Actions/ToggleButton/ToggleButtonBase.d.ts +3 -1
  111. package/dist/esm/Actions/ToggleButton/ToggleButtonBase.js +11 -10
  112. package/dist/esm/Actions/ToggleGroup/ToggleGroup.d.ts +8 -10
  113. package/dist/esm/Avatars/ApplicationAvatar/ApplicationAvatar.d.ts +2 -2
  114. package/dist/esm/Avatars/UserAvatar/UserAvatar.d.ts +2 -2
  115. package/dist/esm/Fields/AutoComplete/components/AutoCompleteContext.d.ts +2 -2
  116. package/dist/esm/Fields/AutoComplete/components/AutoCompleteEmptyState.d.ts +2 -2
  117. package/dist/esm/Fields/AutoComplete/components/DefaultOptionItem.d.ts +2 -2
  118. package/dist/esm/Fields/AutoComplete/types.d.ts +2 -2
  119. package/dist/esm/Fields/DatePicker/DateRangePicker/DateRangePicker.d.ts +2 -2
  120. package/dist/esm/Fields/DatePicker/components/Calendar.d.ts +2 -2
  121. package/dist/esm/Fields/DatePicker/components/Footer.d.ts +2 -2
  122. package/dist/esm/Fields/DatePicker/components/Modal.d.ts +0 -0
  123. package/dist/esm/Fields/DatePicker/components/Modal.js +0 -0
  124. package/dist/esm/Fields/DatePicker/components/NavBar.d.ts +2 -2
  125. package/dist/esm/Fields/DatePicker/components/SidePanel.d.ts +2 -2
  126. package/dist/esm/Fields/Field/Field.d.ts +2 -2
  127. package/dist/esm/Fields/Form/Form.d.ts +5 -5
  128. package/dist/esm/Fields/RadioGroup/RadioGroupItem.d.ts +4 -8
  129. package/dist/esm/Helpers/ClickAwayContainer/ClickAwayContainer.d.ts +4 -5
  130. package/dist/esm/Helpers/HelpUnderline/HelpUnderline.d.ts +2 -2
  131. package/dist/esm/Helpers/Medallion/Medallion.d.ts +2 -2
  132. package/dist/esm/Helpers/Separator/Separator.d.ts +2 -2
  133. package/dist/esm/Helpers/TextWrap/TextWrap.d.ts +2 -2
  134. package/dist/esm/Helpers/UserContent/UserContent.d.ts +2 -2
  135. package/dist/esm/Indicators/Banners/Alert/Alert.d.ts +2 -2
  136. package/dist/esm/Indicators/Banners/Promote/Promote.d.ts +2 -2
  137. package/dist/esm/Indicators/Banners/SystemNotification/SystemNotification.d.ts +2 -2
  138. package/dist/esm/Indicators/EmptyState/EmptyState.d.ts +2 -2
  139. package/dist/esm/Indicators/KeyboardKey/KeyboardKey.d.ts +2 -2
  140. package/dist/esm/Indicators/ProgressSpinner/ProgressSpinner.d.ts +2 -2
  141. package/dist/esm/Indicators/ScrollIndicator/ScrollIndicator.d.ts +2 -2
  142. package/dist/esm/Indicators/Skeleton/Skeleton.d.ts +2 -2
  143. package/dist/esm/Indicators/Toast/Toast.d.ts +2 -2
  144. package/dist/esm/Indicators/Toast/Toasts.d.ts +2 -2
  145. package/dist/esm/Layout/Card/components/CardHeader.d.ts +2 -2
  146. package/dist/esm/Layout/Card/components/CardTitle.d.ts +2 -2
  147. package/dist/esm/Layout/FlexGrid/FlexGrid.d.ts +2 -2
  148. package/dist/esm/Layout/Insert/Insert.d.ts +2 -2
  149. package/dist/esm/Layout/Sidebar/Sidebar.d.ts +4 -5
  150. package/dist/esm/Layout/Sidebar/SidebarButtonLink.d.ts +2 -2
  151. package/dist/esm/Layout/Sidebar/SidebarHeader.d.ts +4 -5
  152. package/dist/esm/Layout/Sidebar/SidebarHeading.d.ts +2 -2
  153. package/dist/esm/Layout/Sidebar/SidebarLink.d.ts +2 -2
  154. package/dist/esm/Layout/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +2 -2
  155. package/dist/esm/Layout/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +2 -2
  156. package/dist/esm/Layout/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +2 -2
  157. package/dist/esm/Layout/Sidebar/SidebarNav.d.ts +2 -2
  158. package/dist/esm/Layout/Tables/DataTable/components/Footer.d.ts +2 -2
  159. package/dist/esm/Layout/Tables/DataTable/components/Loader.d.ts +2 -2
  160. package/dist/esm/Layout/Tables/DataTable/types.d.ts +3 -3
  161. package/dist/esm/Layout/Tables/Table/Table.d.ts +2 -2
  162. package/dist/esm/Layout/Tables/Table/components/TableFooter.d.ts +4 -5
  163. package/dist/esm/Navigation/Pagination/CompactPagination/CompactPagination.d.ts +2 -2
  164. package/dist/esm/Navigation/Pagination/Pagination/Pagination.d.ts +2 -2
  165. package/dist/esm/Navigation/Stepper/Step.d.ts +2 -2
  166. package/dist/esm/Navigation/Stepper/Stepper.d.ts +2 -2
  167. package/dist/esm/Navigation/Tabs/ContentTabs/ContentTabs.d.ts +2 -2
  168. package/dist/esm/Navigation/Tabs/LinkTabs/LinkTabs.d.ts +2 -2
  169. package/dist/esm/Navigation/Tabs/components/LinkTab.d.ts +2 -2
  170. package/dist/esm/Overlay/Dropdown/Dropdown.d.ts +4 -5
  171. package/dist/esm/Overlay/Dropdown/components/DropdownButtonItem.d.ts +2 -2
  172. package/dist/esm/Overlay/Dropdown/components/DropdownButtonItem.js +10 -9
  173. package/dist/esm/Overlay/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +2 -2
  174. package/dist/esm/Overlay/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +2 -2
  175. package/dist/esm/Overlay/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +2 -2
  176. package/dist/esm/Overlay/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +2 -2
  177. package/dist/esm/Overlay/Dropdown/components/DropdownFooterItem.d.ts +2 -2
  178. package/dist/esm/Overlay/Dropdown/components/DropdownLinkItem.d.ts +2 -2
  179. package/dist/esm/Overlay/Dropdown/components/DropdownLinkItem.js +11 -9
  180. package/dist/esm/Overlay/Dropdown/components/DropdownRadioItem.d.ts +3 -5
  181. package/dist/esm/Overlay/Dropdown/components/DropdownRadioItem.js +0 -3
  182. package/dist/esm/Overlay/Dropdown/components/DropdownTitle.d.ts +2 -2
  183. package/dist/esm/Overlay/Dropdown/components/DropdownToggleItem.d.ts +4 -5
  184. package/dist/esm/Overlay/Dropdown/components/DropdownToggleItem.js +0 -3
  185. package/dist/esm/Overlay/MenuButton/MenuButton.d.ts +9 -9
  186. package/dist/esm/Overlay/MenuButton/components/CustomTrigger.d.ts +2 -2
  187. package/dist/esm/Overlay/MenuButton/components/Label.d.ts +2 -2
  188. package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItem.d.ts +2 -2
  189. package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItemsGroup.d.ts +2 -2
  190. package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItemsMultipleGroup.d.ts +2 -2
  191. package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItemsSingleGroup.d.ts +2 -2
  192. package/dist/esm/Overlay/MenuButton/components/items/Item.d.ts +2 -2
  193. package/dist/esm/Overlay/MenuButton/components/items/LinkItem.d.ts +2 -2
  194. package/dist/esm/Overlay/MenuButton/components/items/RadioItem.d.ts +2 -2
  195. package/dist/esm/Overlay/MenuButton/components/items/ToggleItem.d.ts +2 -2
  196. package/dist/esm/Overlay/Modal/Modal.d.ts +2 -2
  197. package/dist/esm/Overlay/Modal/components/ModalFooter.d.ts +2 -2
  198. package/dist/esm/Overlay/Modal/components/ModalSection.d.ts +2 -2
  199. package/dist/esm/Overlay/Popover/Popover.d.ts +2 -2
  200. package/dist/esm/Overlay/Tooltip/OverflowTooltipWrapper.d.ts +2 -2
  201. package/dist/esm/Overlay/Tooltip/TooltipWrapper.d.ts +2 -2
  202. package/dist/esm/Overlay/Tooltip/types.d.ts +2 -2
  203. package/dist/esm/Satellite/Satellite.d.ts +2 -2
  204. package/dist/esm/utils/isCssPropertySupported.d.ts +1 -1
  205. package/package.json +23 -22
@@ -1,5 +1,5 @@
1
1
  import * as RadixAccordion from "@radix-ui/react-accordion";
2
- import type { ReactNode, VFC } from "react";
2
+ import type { FC, ReactNode } from "react";
3
3
  import type { IconComponentType } from "../../Icons";
4
4
  declare type AccordionSharedProps = {
5
5
  /**
@@ -134,7 +134,7 @@ export declare type AccordionContentProps = {
134
134
  */
135
135
  className?: string;
136
136
  };
137
- declare type AccordionComponent = VFC<AccordionProps> & {
137
+ declare type AccordionComponent = FC<AccordionProps> & {
138
138
  Item: typeof AccordionItem;
139
139
  Header: typeof AccordionHeader;
140
140
  Content: typeof AccordionContent;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import type { PropsWithChildren, ReactNode } from "react";
2
2
  import type { IconComponentType } from "../../Icons";
3
3
  export declare type ButtonVariant = "subtle" | "neutral" | "primary" | "destructive";
4
4
  export declare const buttonSizes: readonly ["small", "medium", "large"];
@@ -46,7 +46,7 @@ declare type AsProp<C extends React.ElementType> = {
46
46
  as?: C;
47
47
  };
48
48
  declare type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
49
- declare type PolymorphicComponentProp<C extends React.ElementType, Props = object> = React.PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
49
+ declare type PolymorphicComponentProp<C extends React.ElementType, Props = object> = PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
50
50
  export declare type PolymorphicComponentPropWithRef<C extends React.ElementType, Props = object> = PolymorphicComponentProp<C, Props> & {
51
51
  ref?: PolymorphicRef<C>;
52
52
  };
@@ -1,4 +1,4 @@
1
- import type { ReactNode, VFC } from "react";
1
+ import type { FC, ReactNode } from "react";
2
2
  export interface ButtonGroupProps {
3
3
  /**
4
4
  * Specify HTML element `ButtonGroup` should be presented as.
@@ -19,4 +19,4 @@ export interface ButtonGroupProps {
19
19
  *
20
20
  * See the [Button Group documentation page](https://satellite.algolia.com/components/actions/button-group) for more information.
21
21
  */
22
- export declare const ButtonGroup: VFC<ButtonGroupProps>;
22
+ export declare const ButtonGroup: FC<ButtonGroupProps>;
@@ -1,4 +1,4 @@
1
- import type { ReactNode, VFC } from "react";
1
+ import type { FC, ReactNode } from "react";
2
2
  import type { SwitchSize } from "./types";
3
3
  export interface SwitchProps {
4
4
  /**
@@ -35,4 +35,4 @@ export interface SwitchProps {
35
35
  *
36
36
  * See the [Switch documentation page](https://satellite.algolia.com/components/controls/switch) for more information.
37
37
  */
38
- export declare const Switch: VFC<SwitchProps>;
38
+ export declare const Switch: FC<SwitchProps>;
@@ -1,4 +1,4 @@
1
- import type { ReactNode, VFC } from "react";
1
+ import type { FC, ReactNode } from "react";
2
2
  export interface SwitchOptionProps {
3
3
  /**
4
4
  * The value associated with this `SwitchOption`.
@@ -13,4 +13,4 @@ export interface SwitchOptionProps {
13
13
  */
14
14
  children: ReactNode;
15
15
  }
16
- export declare const SwitchOption: VFC<SwitchOptionProps>;
16
+ export declare const SwitchOption: FC<SwitchOptionProps>;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
1
  import type { ToggleProps } from "@radix-ui/react-toggle";
2
+ import type { PropsWithChildren } from "react";
3
3
  import type { ToggleButtonBaseProps } from "./ToggleButtonBase";
4
- export declare type ToggleButtonProps = {
4
+ export declare type ToggleButtonProps = PropsWithChildren<{
5
5
  /**
6
6
  * The pressed state of the `ToggleButton`.
7
7
  */
@@ -14,7 +14,7 @@ export declare type ToggleButtonProps = {
14
14
  * The callback function that is called when the pressed state changes.
15
15
  */
16
16
  onPressedChange?: ToggleProps["onPressedChange"];
17
- } & ToggleButtonBaseProps;
17
+ } & ToggleButtonBaseProps>;
18
18
  /**
19
19
  * The `ToggleButton` component is a button that toggles between two states.
20
20
  *
@@ -11,7 +11,7 @@ var _reactToggle = require("@radix-ui/react-toggle");
11
11
  var _react = require("react");
12
12
  var _ToggleButtonBase = require("./ToggleButtonBase");
13
13
  var _jsxRuntime = require("react/jsx-runtime");
14
- var _excluded = ["size", "icon", "children", "label"];
14
+ var _excluded = ["size", "icon", "children", "label", "style"];
15
15
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16
16
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17
17
  /**
@@ -27,11 +27,13 @@ var ToggleButton = exports.ToggleButton = /*#__PURE__*/(0, _react.forwardRef)(fu
27
27
  icon = _label$props.icon,
28
28
  children = _label$props.children,
29
29
  label = _label$props.label,
30
+ style = _label$props.style,
30
31
  rest = (0, _objectWithoutProperties2["default"])(_label$props, _excluded);
31
32
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactToggle.Toggle, _objectSpread(_objectSpread({
32
33
  asChild: true
33
34
  }, rest), {}, {
34
35
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ToggleButtonBase.ToggleButtonBase, {
36
+ style: style,
35
37
  ref: ref,
36
38
  size: size,
37
39
  icon: icon,
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import type { CSSProperties, ReactNode } from "react";
2
2
  import type { IconComponentType } from "../../Icons";
3
3
  import type { ButtonSize } from "../Button/types";
4
4
  declare type IconOnlyToggleButtonBaseProps = {
@@ -33,6 +33,8 @@ export declare type ToggleButtonBaseProps = {
33
33
  /**
34
34
  * Whether the `ToggleButton` should be auto focused.
35
35
  */
36
+ style?: CSSProperties;
37
+ /** Whether the `ToggleButton` should be auto focused. */
36
38
  autoFocus?: boolean;
37
39
  /**
38
40
  * Whether the `ToggleButton` should be disabled.
@@ -24,17 +24,18 @@ var ICON_ONLY_CLASSNAMES = {
24
24
  large: (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["h-10 w-10"])))
25
25
  };
26
26
  var ToggleButtonBase = exports.ToggleButtonBase = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
27
- var isIconOnly = !props.children;
28
- var _label$props = _objectSpread({
29
- label: undefined
27
+ var _label$children$props = _objectSpread({
28
+ label: undefined,
29
+ children: undefined
30
30
  }, props),
31
- className = _label$props.className,
32
- _label$props$size = _label$props.size,
33
- size = _label$props$size === void 0 ? "medium" : _label$props$size,
34
- Icon = _label$props.icon,
35
- children = _label$props.children,
36
- label = _label$props.label,
37
- rest = (0, _objectWithoutProperties2["default"])(_label$props, _excluded);
31
+ className = _label$children$props.className,
32
+ _label$children$props2 = _label$children$props.size,
33
+ size = _label$children$props2 === void 0 ? "medium" : _label$children$props2,
34
+ Icon = _label$children$props.icon,
35
+ children = _label$children$props.children,
36
+ label = _label$children$props.label,
37
+ rest = (0, _objectWithoutProperties2["default"])(_label$children$props, _excluded);
38
+ var isIconOnly = children === undefined;
38
39
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Overlay.TooltipWrapper, {
39
40
  content: label,
40
41
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
@@ -1,5 +1,5 @@
1
- import type { ToggleGroupItemProps as RadixToggleGroupItemProps, ToggleGroupMultipleProps as RadixToggleGroupMultipleProps, ToggleGroupImplProps as RadixToggleGroupSharedProps, ToggleGroupSingleProps as RadixToggleGroupSingleProps } from "@radix-ui/react-toggle-group";
2
- import type { FC } from "react";
1
+ import type { ToggleGroupItemProps as RadixToggleGroupItemProps, ToggleGroupMultipleProps as RadixToggleGroupMultipleProps, ToggleGroupSingleProps as RadixToggleGroupSingleProps } from "@radix-ui/react-toggle-group";
2
+ import type { FC, PropsWithChildren } from "react";
3
3
  import type { ToggleButtonBaseProps } from "../ToggleButton/ToggleButtonBase";
4
4
  declare type ToggleGroupSharedProps = {
5
5
  /**
@@ -10,7 +10,7 @@ declare type ToggleGroupSharedProps = {
10
10
  * Defines whether the `ToggleGroup` is disabled,
11
11
  * preventing the user from interacting with the toggle group and all its items.
12
12
  */
13
- disabled?: RadixToggleGroupSharedProps["disabled"];
13
+ disabled?: boolean;
14
14
  };
15
15
  declare type ToggleGroupSingleProps = {
16
16
  /**
@@ -53,20 +53,18 @@ declare type ToggleGroupMultipleProps = {
53
53
  onChange?: RadixToggleGroupMultipleProps["onValueChange"];
54
54
  };
55
55
  export declare type ToggleGroupProps = ToggleGroupSharedProps & (ToggleGroupSingleProps | ToggleGroupMultipleProps);
56
- declare type ToggleGroupComponent = FC<ToggleGroupProps> & {
57
- Item: FC<ToggleGroupItemProps>;
56
+ declare type ToggleGroupComponent = FC<PropsWithChildren<ToggleGroupProps>> & {
57
+ Item: FC<PropsWithChildren<ToggleGroupItemProps>>;
58
58
  };
59
59
  /**
60
60
  * The `ToggleGroupItem` component is a toggle group item that allows users to select one or more options.
61
61
  *
62
62
  * See the [ToggleGroupItem documentation page](https://satellite.algolia.com/components/actions/toggle-group) for more information.
63
63
  */
64
- export declare type ToggleGroupItemProps = ToggleButtonBaseProps & {
65
- /**
66
- * Defines a unique value for the item.
67
- */
64
+ export declare type ToggleGroupItemProps = PropsWithChildren<ToggleButtonBaseProps & {
65
+ /** Defines a unique value for the item. */
68
66
  value: RadixToggleGroupItemProps["value"];
69
- };
67
+ }>;
70
68
  /**
71
69
  * The `ToggleGroup` component is a toggle group that allows users to select one or more options.
72
70
  *
@@ -1,4 +1,4 @@
1
- import type { VFC } from "react";
1
+ import type { FC } from "react";
2
2
  import type { ApplicationAvatarSize, MinimalApplication } from "../types";
3
3
  export interface ApplicationAvatarProps {
4
4
  /**
@@ -20,4 +20,4 @@ export interface ApplicationAvatarProps {
20
20
  *
21
21
  * See the [Application Avatar documentation page](https://satellite.algolia.com/components/images/application-avatar) for more information.
22
22
  */
23
- export declare const ApplicationAvatar: VFC<ApplicationAvatarProps>;
23
+ export declare const ApplicationAvatar: FC<ApplicationAvatarProps>;
@@ -1,4 +1,4 @@
1
- import type { VFC } from "react";
1
+ import type { FC } from "react";
2
2
  import type { MinimalUser } from "../types";
3
3
  export declare type UserAvatarLocale = {
4
4
  fallbackText?: string;
@@ -28,4 +28,4 @@ export interface UserAvatarProps {
28
28
  *
29
29
  * See the [User Avatar documentation page](https://satellite.algolia.com/components/images/user-avatar) for more information.
30
30
  */
31
- export declare const UserAvatar: VFC<UserAvatarProps>;
31
+ export declare const UserAvatar: FC<UserAvatarProps>;
@@ -1,10 +1,10 @@
1
- import type { PropsWithChildren, VFC } from "react";
1
+ import type { FC, PropsWithChildren } from "react";
2
2
  import type { AutoCompleteLocale } from "../types";
3
3
  declare type AutoCompleteContextType = {
4
4
  locale: Required<AutoCompleteLocale>;
5
5
  };
6
6
  declare type AutoCompleteProviderProps = PropsWithChildren<AutoCompleteContextType>;
7
- export declare const AutoCompleteProvider: VFC<AutoCompleteProviderProps>;
7
+ export declare const AutoCompleteProvider: FC<AutoCompleteProviderProps>;
8
8
  export declare const useIsInsideAutoComplete: () => boolean;
9
9
  export declare const useAutoCompleteLocale: () => Required<AutoCompleteLocale>;
10
10
  export {};
@@ -1,4 +1,4 @@
1
- import type { ReactNode, VFC } from "react";
1
+ import type { FC, ReactNode } from "react";
2
2
  import type { MedallionVariant } from "../../../Helpers";
3
3
  import { type IconComponentType } from "../../../Icons";
4
4
  export interface AutoCompleteEmptyStateProps {
@@ -13,4 +13,4 @@ export interface AutoCompleteEmptyStateProps {
13
13
  */
14
14
  description?: ReactNode;
15
15
  }
16
- export declare const AutoCompleteEmptyState: VFC<AutoCompleteEmptyStateProps>;
16
+ export declare const AutoCompleteEmptyState: FC<AutoCompleteEmptyStateProps>;
@@ -1,6 +1,6 @@
1
- import type { VFC } from "react";
1
+ import type { FC } from "react";
2
2
  import type { AutoCompleteLocale, OptionItemProps } from "../types";
3
3
  export declare type DefaultOptionItemProps = OptionItemProps & {
4
4
  locale?: AutoCompleteLocale;
5
5
  };
6
- export declare const DefaultOptionItem: VFC<DefaultOptionItemProps>;
6
+ export declare const DefaultOptionItem: FC<DefaultOptionItemProps>;
@@ -1,4 +1,4 @@
1
- import type { ComponentType, FocusEventHandler, ForwardedRef, ReactNode, RefObject } from "react";
1
+ import type { ComponentType, FocusEventHandler, ForwardedRef, PropsWithChildren, ReactNode, RefObject } from "react";
2
2
  import type { IconComponentType } from "../../Icons";
3
3
  export declare type AutoCompleteVariant = "medium" | "large";
4
4
  export declare type AutoCompleteLocale = {
@@ -221,7 +221,7 @@ export interface OptionItemProps<T extends Option = Option> {
221
221
  inputValue: string;
222
222
  highlighted: boolean;
223
223
  }
224
- export declare type OptionItemComponentType<T extends Option = Option> = ComponentType<OptionItemProps<T>>;
224
+ export declare type OptionItemComponentType<T extends Option = Option> = ComponentType<PropsWithChildren<OptionItemProps<T>>>;
225
225
  export interface OptionRendererParams {
226
226
  multiple: boolean;
227
227
  inputValue: string;
@@ -1,4 +1,4 @@
1
- import type { Dispatch, ReactNode, VFC } from "react";
1
+ import type { Dispatch, FC, ReactNode } from "react";
2
2
  import type { DatePickerCalendarProps } from "../components/Calendar";
3
3
  import type { SharedDatePickerProps } from "../types";
4
4
  import type { DateRangePickerDisplayProps } from "./DateRangePickerDisplay";
@@ -72,5 +72,5 @@ export declare type DateRangePickerProps = {
72
72
  *
73
73
  * See the [Date Range Picker documentation page](https://satellite.algolia.com/layouts/date-range-picker) for more information.
74
74
  */
75
- export declare const DateRangePicker: VFC<DateRangePickerProps>;
75
+ export declare const DateRangePicker: FC<DateRangePickerProps>;
76
76
  export {};
@@ -1,4 +1,4 @@
1
- import type { VFC } from "react";
1
+ import type { FC } from "react";
2
2
  import type { DayPickerDefaultProps, DayPickerRangeProps, DayPickerSingleProps } from "react-day-picker";
3
3
  import type { WithRequiredProperty } from "../../../types";
4
4
  import type { DatePickerLocale } from "../types";
@@ -13,5 +13,5 @@ export declare type EditableYearProps = {
13
13
  export declare type DatePickerCalendarProps = Omit<Omit<DayPickerSingleProps | DayPickerRangeProps | DayPickerDefaultProps, "locale">, ExcludedDayPickerProps> & EditableYearProps & {
14
14
  locale: WithRequiredProperty<DatePickerLocale, "nextMonth" | "previousMonth">;
15
15
  };
16
- export declare const DatePickerCalendar: VFC<DatePickerCalendarProps>;
16
+ export declare const DatePickerCalendar: FC<DatePickerCalendarProps>;
17
17
  export {};
@@ -1,5 +1,5 @@
1
- import type { ReactNode, VFC } from "react";
1
+ import type { FC, ReactNode } from "react";
2
2
  export declare type DatePickerFooterProps = {
3
3
  children: ReactNode;
4
4
  };
5
- export declare const DatePickerFooter: VFC<DatePickerFooterProps>;
5
+ export declare const DatePickerFooter: FC<DatePickerFooterProps>;
@@ -0,0 +1 @@
1
+ "use strict";
@@ -1,4 +1,4 @@
1
- import type { VFC } from "react";
1
+ import type { FC } from "react";
2
2
  import type { CaptionProps } from "react-day-picker";
3
3
  import type { WithRequiredProperty } from "../../../types";
4
4
  import type { DatePickerLocale } from "../types";
@@ -6,4 +6,4 @@ import type { EditableYearProps } from "./Calendar";
6
6
  export declare type NavBarProps = CaptionProps & EditableYearProps & {
7
7
  locale: WithRequiredProperty<DatePickerLocale, "nextMonth" | "previousMonth">;
8
8
  };
9
- export declare const NavBar: VFC<NavBarProps>;
9
+ export declare const NavBar: FC<NavBarProps>;
@@ -1,5 +1,5 @@
1
- import type { ReactNode, VFC } from "react";
1
+ import type { FC, ReactNode } from "react";
2
2
  export declare type DatePickerSidePanelProps = {
3
3
  children: ReactNode;
4
4
  };
5
- export declare const DatePickerSidePanel: VFC<DatePickerSidePanelProps>;
5
+ export declare const DatePickerSidePanel: FC<DatePickerSidePanelProps>;
@@ -1,4 +1,4 @@
1
- import { type ReactChild, type ReactNode, type VFC } from "react";
1
+ import { type FC, type ReactChild, type ReactNode } from "react";
2
2
  import type { FieldState } from "./FieldContext";
3
3
  export interface FieldProps {
4
4
  /**
@@ -49,4 +49,4 @@ export interface FieldProps {
49
49
  *
50
50
  * See the [Field documentation page](https://satellite.algolia.com/components/forms/field) for more information.
51
51
  */
52
- export declare const Field: VFC<FieldProps>;
52
+ export declare const Field: FC<FieldProps>;
@@ -1,4 +1,4 @@
1
- import type { FC, HTMLAttributes, ReactNode, VFC } from "react";
1
+ import type { FC, HTMLAttributes, PropsWithChildren, ReactNode } from "react";
2
2
  import type { ButtonProps } from "../../Actions";
3
3
  import type { AlertProps } from "../../Indicators";
4
4
  import type { FormContextField } from "./FormContext";
@@ -12,7 +12,7 @@ export interface FormErrorMessageProps extends Omit<AlertProps, "children"> {
12
12
  locale?: FormLocale;
13
13
  extraErrors?: string[];
14
14
  }
15
- export declare const FormErrorMessage: VFC<FormErrorMessageProps>;
16
- export declare const Form: FC<FormProps>;
17
- export declare const FormSubmit: FC<ButtonProps>;
18
- export declare const FormReset: FC<ButtonProps>;
15
+ export declare const FormErrorMessage: FC<FormErrorMessageProps>;
16
+ export declare const Form: FC<PropsWithChildren<FormProps>>;
17
+ export declare const FormSubmit: FC<PropsWithChildren<ButtonProps>>;
18
+ export declare const FormReset: FC<PropsWithChildren<ButtonProps>>;
@@ -1,5 +1,5 @@
1
- import type { ReactNode, VFC } from "react";
2
- export interface RadioGroupItemProps {
1
+ import type { FC, PropsWithChildren } from "react";
2
+ export declare type RadioGroupItemProps = PropsWithChildren<{
3
3
  /**
4
4
  * The value of the `RadioGroupItem`.
5
5
  */
@@ -12,9 +12,5 @@ export interface RadioGroupItemProps {
12
12
  * Whether the `RadioGroupItem` is required.
13
13
  */
14
14
  required?: boolean;
15
- /**
16
- * The children of the `RadioGroupItem`.
17
- */
18
- children?: ReactNode;
19
- }
20
- export declare const RadioGroupItem: VFC<RadioGroupItemProps>;
15
+ }>;
16
+ export declare const RadioGroupItem: FC<RadioGroupItemProps>;
@@ -1,10 +1,10 @@
1
- import type { ReactNode, VFC } from "react";
1
+ import type { FC, PropsWithChildren } from "react";
2
2
  interface ClickAwayContextType {
3
3
  registerElement(element: HTMLElement): void;
4
4
  unregisterElement(element: HTMLElement): void;
5
5
  }
6
6
  export declare const useClickAwayContext: () => ClickAwayContextType | null;
7
- export interface ClickAwayContainerProps {
7
+ export declare type ClickAwayContainerProps = PropsWithChildren<{
8
8
  /**
9
9
  * The element that should be registered in the ClickAway tree.
10
10
  * To ensure proper tracking, the element should be tracked in a way that triggers a rerender (use callback refs!)
@@ -15,8 +15,7 @@ export interface ClickAwayContainerProps {
15
15
  * happens outside of the subtree tracked by this component instance
16
16
  */
17
17
  onClickAway?(evt: Event): void;
18
- children?: ReactNode;
19
- }
18
+ }>;
20
19
  /**
21
20
  * ClickAwayContainer is a low-level, compound component. It doesn't render anything apart from its children.
22
21
  * Its goal is to construct a tree of ClickAway-able React components (e.g. nested dropdown).
@@ -28,5 +27,5 @@ export interface ClickAwayContainerProps {
28
27
  * @deprecated This component is deprecated and will be removed in a future version.
29
28
  * Please use the Popover component, which provides built-in click-away behavior and is more accessible.
30
29
  */
31
- export declare const ClickAwayContainer: VFC<ClickAwayContainerProps>;
30
+ export declare const ClickAwayContainer: FC<ClickAwayContainerProps>;
32
31
  export {};
@@ -1,4 +1,4 @@
1
- import type { VFC } from "react";
1
+ import type { FC } from "react";
2
2
  import type { TooltipWrapperProps } from "../../Overlay";
3
3
  import type { TooltipWrapperBaseProps } from "../../Overlay/Tooltip/types";
4
4
  export declare type HelpUnderlineProps = {
@@ -20,4 +20,4 @@ export declare type HelpUnderlineProps = {
20
20
  *
21
21
  * See the [Help Underline documentation page](https://satellite.algolia.com/components/misc/help-underline) for more information.
22
22
  */
23
- export declare const HelpUnderline: VFC<HelpUnderlineProps>;
23
+ export declare const HelpUnderline: FC<HelpUnderlineProps>;
@@ -1,4 +1,4 @@
1
- import type { VFC } from "react";
1
+ import type { FC } from "react";
2
2
  import type { IconComponentType } from "../../Icons";
3
3
  import type { MedallionSize, MedallionVariant } from "./types";
4
4
  export interface MedallionProps {
@@ -26,4 +26,4 @@ export interface MedallionProps {
26
26
  *
27
27
  * See the [Medallion documentation page](https://satellite.algolia.com/components/images/medallion) for more information.
28
28
  */
29
- export declare const Medallion: VFC<MedallionProps>;
29
+ export declare const Medallion: FC<MedallionProps>;
@@ -1,5 +1,5 @@
1
1
  import * as RadixSeparator from "@radix-ui/react-separator";
2
- import type { VFC } from "react";
2
+ import type { FC } from "react";
3
3
  export interface SeparatorProps {
4
4
  /**
5
5
  * The class name of the `Separator`.
@@ -20,4 +20,4 @@ export interface SeparatorProps {
20
20
  *
21
21
  * See the [Separator documentation page](https://satellite.algolia.com/components/misc/separator) for more information.
22
22
  */
23
- export declare const Separator: VFC<SeparatorProps>;
23
+ export declare const Separator: FC<SeparatorProps>;
@@ -1,4 +1,4 @@
1
- import type { HTMLAttributes, ReactNode, VFC } from "react";
1
+ import type { FC, HTMLAttributes, ReactNode } from "react";
2
2
  export interface TextWrapProps extends HTMLAttributes<HTMLSpanElement> {
3
3
  /**
4
4
  * The content of the `TextWrap`.
@@ -14,4 +14,4 @@ export interface TextWrapProps extends HTMLAttributes<HTMLSpanElement> {
14
14
  *
15
15
  * See the [Text Wrap documentation page](https://satellite.algolia.com/components/misc/text-wrap) for more information.
16
16
  */
17
- export declare const TextWrap: VFC<TextWrapProps>;
17
+ export declare const TextWrap: FC<TextWrapProps>;
@@ -1,4 +1,4 @@
1
- import type { VFC } from "react";
1
+ import type { FC } from "react";
2
2
  export interface UserContentProps {
3
3
  /**
4
4
  * Whether to apply the styled content class to the `UserContent`.
@@ -19,4 +19,4 @@ export interface UserContentProps {
19
19
  *
20
20
  * See the [User Content documentation page](https://satellite.algolia.com/layouts/user-content) for more information.
21
21
  */
22
- export declare const UserContent: VFC<UserContentProps>;
22
+ export declare const UserContent: FC<UserContentProps>;
@@ -1,4 +1,4 @@
1
- import type { CSSProperties, ReactNode, VFC } from "react";
1
+ import type { CSSProperties, FC, ReactNode } from "react";
2
2
  import type { IconComponentType } from "../../../Icons";
3
3
  import type { ColorVariant } from "../../../types";
4
4
  export declare type AlertContextType = "page" | "section";
@@ -30,4 +30,4 @@ export interface AlertProps {
30
30
  *
31
31
  * See the [Alert documentation page](https://satellite.algolia.com/components/feedback/alert) for more information.
32
32
  */
33
- export declare const Alert: VFC<AlertProps>;
33
+ export declare const Alert: FC<AlertProps>;
@@ -1,4 +1,4 @@
1
- import type { ReactNode, VFC } from "react";
1
+ import type { FC, ReactNode } from "react";
2
2
  declare type PromoteVariants = "large" | "compact";
3
3
  interface CompactPromoteProps {
4
4
  variant?: Extract<PromoteVariants, "compact">;
@@ -24,5 +24,5 @@ export declare type PromoteProps = {
24
24
  *
25
25
  * See the [Promote documentation page](https://satellite.algolia.com/components/feedback/promote-banner) for more information.
26
26
  */
27
- export declare const Promote: VFC<PromoteProps>;
27
+ export declare const Promote: FC<PromoteProps>;
28
28
  export {};
@@ -1,4 +1,4 @@
1
- import type { ReactNode, VFC } from "react";
1
+ import type { FC, ReactNode } from "react";
2
2
  import type { IconComponentType } from "../../../Icons";
3
3
  export interface SystemNotificationProps {
4
4
  icon?: IconComponentType;
@@ -9,4 +9,4 @@ export interface SystemNotificationProps {
9
9
  *
10
10
  * See the [System Notification documentation page](https://satellite.algolia.com/components/feedback/system-notification) for more information.
11
11
  */
12
- export declare const SystemNotification: VFC<SystemNotificationProps>;
12
+ export declare const SystemNotification: FC<SystemNotificationProps>;
@@ -1,8 +1,8 @@
1
- import type { VFC } from "react";
1
+ import type { FC } from "react";
2
2
  import type { EmptyStateProps } from "./types";
3
3
  /**
4
4
  * The `EmptyState` component informs users when there's no content or data, providing clear actions and guidance to help them proceed or populate the area.
5
5
  *
6
6
  * See the [Empty State documentation page](https://satellite.algolia.com/layouts/empty-state) for more information.
7
7
  */
8
- export declare const EmptyState: VFC<EmptyStateProps>;
8
+ export declare const EmptyState: FC<EmptyStateProps>;
@@ -1,4 +1,4 @@
1
- import type { VFC } from "react";
1
+ import type { FC } from "react";
2
2
  export interface KeyboardKeyProps {
3
3
  /** @ignore */
4
4
  className?: string;
@@ -9,4 +9,4 @@ export interface KeyboardKeyProps {
9
9
  *
10
10
  * See the [Keyboard Key documentation page](https://satellite.algolia.com/components/misc/keyboard-key) for more information.
11
11
  */
12
- export declare const KeyboardKey: VFC<KeyboardKeyProps>;
12
+ export declare const KeyboardKey: FC<KeyboardKeyProps>;
@@ -1,4 +1,4 @@
1
- import type { SVGAttributes, VFC } from "react";
1
+ import type { FC, SVGAttributes } from "react";
2
2
  export declare type ProgressSpinnerAlign = "left" | "center" | "right";
3
3
  export interface ProgressSpinnerProps extends SVGAttributes<SVGSVGElement> {
4
4
  size?: number;
@@ -10,4 +10,4 @@ export interface ProgressSpinnerProps extends SVGAttributes<SVGSVGElement> {
10
10
  *
11
11
  * See the [Progress Spinner documentation page](https://satellite.algolia.com/components/feedback/progress-spinner) for more information.
12
12
  */
13
- export declare const ProgressSpinner: VFC<ProgressSpinnerProps>;
13
+ export declare const ProgressSpinner: FC<ProgressSpinnerProps>;
@@ -1,4 +1,4 @@
1
- import type { CSSProperties, ReactHTML, ReactNode, VFC } from "react";
1
+ import type { CSSProperties, FC, ReactHTML, ReactNode } from "react";
2
2
  export declare type ScrollIndicatorVariant = "light" | "dark";
3
3
  export interface ScrollIndicatorProps {
4
4
  wrapperClassName?: string;
@@ -15,4 +15,4 @@ export interface ScrollIndicatorProps {
15
15
  *
16
16
  * See the [Scroll Indicator documentation page](https://satellite.algolia.com/layouts/scroll-indicator) for more information.
17
17
  */
18
- export declare const ScrollIndicator: VFC<ScrollIndicatorProps>;
18
+ export declare const ScrollIndicator: FC<ScrollIndicatorProps>;
@@ -1,4 +1,4 @@
1
- import type { FC } from "react";
1
+ import type { FC, PropsWithChildren } from "react";
2
2
  export interface SkeletonProps {
3
3
  className?: string;
4
4
  size?: keyof typeof DEFAULT_SKELETON_SIZES;
@@ -15,5 +15,5 @@ declare const DEFAULT_SKELETON_SIZES: {
15
15
  *
16
16
  * See the [Skeleton documentation page](https://satellite.algolia.com/layouts/skeleton) for more information.
17
17
  */
18
- export declare const Skeleton: FC<SkeletonProps>;
18
+ export declare const Skeleton: FC<PropsWithChildren<SkeletonProps>>;
19
19
  export {};
@@ -1,5 +1,5 @@
1
- import type { FC, HTMLAttributes } from "react";
1
+ import type { FC, HTMLAttributes, PropsWithChildren } from "react";
2
2
  import type { Notification } from "./types";
3
3
  export declare type ToastLocale = Notification["locale"];
4
4
  export declare type ToastProps = Omit<Notification, "id" | "content" | "autoDismissAfter"> & Omit<HTMLAttributes<HTMLElement>, "title">;
5
- export declare const Toast: FC<ToastProps>;
5
+ export declare const Toast: FC<PropsWithChildren<ToastProps>>;
@@ -1,4 +1,4 @@
1
- import type { VFC } from "react";
1
+ import type { FC } from "react";
2
2
  import type { Notification } from "./types";
3
3
  export declare type ToastsLocale = {
4
4
  hotkeyLabel?: string;
@@ -17,4 +17,4 @@ export interface ToastsProps {
17
17
  *
18
18
  * See the [Toast documentation page](https://satellite.algolia.com/components/feedback/toast) for more information.
19
19
  */
20
- export declare const Toasts: VFC<ToastsProps>;
20
+ export declare const Toasts: FC<ToastsProps>;