@algolia/satellite 1.0.0-beta.171 → 1.0.0-beta.173

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 (223) hide show
  1. package/cjs/AnnouncementBadge/AnnouncementBadge.d.ts +5 -0
  2. package/cjs/AnnouncementBadge/AnnouncementBadge.js +6 -0
  3. package/cjs/AutoComplete/AutoComplete.d.ts +2 -13
  4. package/cjs/AutoComplete/AutoComplete.js +17 -30
  5. package/cjs/AutoComplete/utils.d.ts +1 -1
  6. package/cjs/Avatars/ApplicationAvatar.d.ts +5 -1
  7. package/cjs/Avatars/ApplicationAvatar.js +5 -1
  8. package/cjs/Avatars/UserAvatar.d.ts +5 -1
  9. package/cjs/Avatars/UserAvatar.js +5 -1
  10. package/cjs/Badge/Badge.d.ts +2 -12
  11. package/cjs/Badge/Badge.js +2 -12
  12. package/cjs/Banners/Alert/Alert.d.ts +3 -48
  13. package/cjs/Banners/Alert/Alert.js +3 -48
  14. package/cjs/Banners/BigBertha/BigBertha.d.ts +3 -31
  15. package/cjs/Banners/BigBertha/BigBertha.js +3 -31
  16. package/cjs/Banners/Promote/Promote.d.ts +3 -26
  17. package/cjs/Banners/Promote/Promote.js +3 -26
  18. package/cjs/Button/Button.d.ts +2 -11
  19. package/cjs/Button/Button.js +2 -11
  20. package/cjs/Button/ButtonGroup.d.ts +3 -3
  21. package/cjs/Button/ButtonGroup.js +3 -3
  22. package/cjs/Button/IconButton.d.ts +2 -2
  23. package/cjs/Button/IconButton.js +2 -2
  24. package/cjs/Card/Card.d.ts +5 -1
  25. package/cjs/Card/Card.js +5 -1
  26. package/cjs/Checkbox/Checkbox.d.ts +2 -3
  27. package/cjs/Checkbox/Checkbox.js +2 -3
  28. package/cjs/DatePicker/DatePicker/DatePicker.d.ts +5 -0
  29. package/cjs/DatePicker/DatePicker/DatePicker.js +5 -0
  30. package/cjs/DatePicker/DateRangePicker/DateRangePicker.d.ts +5 -0
  31. package/cjs/DatePicker/DateRangePicker/DateRangePicker.js +6 -0
  32. package/cjs/Dropdown/Dropdown.d.ts +3 -8
  33. package/cjs/Dropdown/Dropdown.js +3 -8
  34. package/cjs/Dropzone/Dropzone.d.ts +5 -0
  35. package/cjs/Dropzone/Dropzone.js +6 -0
  36. package/cjs/EmptyState/EmptyState.d.ts +2 -21
  37. package/cjs/EmptyState/EmptyState.js +2 -21
  38. package/cjs/Field/Field.d.ts +2 -31
  39. package/cjs/Field/Field.js +2 -31
  40. package/cjs/Flag/Flag.d.ts +5 -0
  41. package/cjs/Flag/Flag.js +6 -0
  42. package/cjs/FlexGrid/FlexGrid.d.ts +5 -0
  43. package/cjs/FlexGrid/FlexGrid.js +6 -0
  44. package/cjs/HelpUnderline/HelpUnderline.d.ts +5 -0
  45. package/cjs/HelpUnderline/HelpUnderline.js +5 -0
  46. package/cjs/Input/Input.d.ts +2 -4
  47. package/cjs/Input/Input.js +2 -4
  48. package/cjs/Insert/Insert.d.ts +3 -29
  49. package/cjs/Insert/Insert.js +3 -29
  50. package/cjs/KeyboardKey/KeyboardKey.d.ts +5 -0
  51. package/cjs/KeyboardKey/KeyboardKey.js +5 -0
  52. package/cjs/Link/ButtonLink.d.ts +5 -0
  53. package/cjs/Link/ButtonLink.js +5 -0
  54. package/cjs/Link/IconButtonLink.d.ts +5 -0
  55. package/cjs/Link/IconButtonLink.js +5 -0
  56. package/cjs/Link/Link.d.ts +5 -0
  57. package/cjs/Link/Link.js +5 -0
  58. package/cjs/Medallion/Medallion.d.ts +5 -0
  59. package/cjs/Medallion/Medallion.js +6 -0
  60. package/cjs/Modal/Modal.d.ts +5 -0
  61. package/cjs/Modal/Modal.js +6 -0
  62. package/cjs/Pagination/CompactPagination/CompactPagination.d.ts +5 -0
  63. package/cjs/Pagination/CompactPagination/CompactPagination.js +6 -0
  64. package/cjs/Pagination/DotPagination/DotPagination.d.ts +5 -0
  65. package/cjs/Pagination/DotPagination/DotPagination.js +5 -0
  66. package/cjs/Pagination/Pagination/Pagination.d.ts +2 -4
  67. package/cjs/Pagination/Pagination/Pagination.js +2 -4
  68. package/cjs/Popover/Popover.d.ts +5 -0
  69. package/cjs/Popover/Popover.js +6 -0
  70. package/cjs/ProgressBar/ProgressBar.d.ts +1 -1
  71. package/cjs/ProgressBar/ProgressBar.js +1 -1
  72. package/cjs/ProgressSpinner/ProgressSpinner.d.ts +5 -0
  73. package/cjs/ProgressSpinner/ProgressSpinner.js +27 -19
  74. package/cjs/RadioGroup/RadioGroup.d.ts +2 -12
  75. package/cjs/RadioGroup/RadioGroup.js +2 -12
  76. package/cjs/RangeSlider/RangeSlider.d.ts +2 -4
  77. package/cjs/RangeSlider/RangeSlider.js +2 -4
  78. package/cjs/ScrollIndicator/ScrollIndicator.d.ts +5 -0
  79. package/cjs/ScrollIndicator/ScrollIndicator.js +6 -0
  80. package/cjs/Select/Select.d.ts +2 -5
  81. package/cjs/Select/Select.js +2 -5
  82. package/cjs/Separator/Separator.d.ts +5 -0
  83. package/cjs/Separator/Separator.js +5 -0
  84. package/cjs/Sidebar/Sidebar.d.ts +5 -0
  85. package/cjs/Sidebar/Sidebar.js +6 -0
  86. package/cjs/Switch/Switch.d.ts +5 -0
  87. package/cjs/Switch/Switch.js +5 -0
  88. package/cjs/Tables/DataTable/DataTable.d.ts +2 -16
  89. package/cjs/Tables/DataTable/DataTable.js +2 -16
  90. package/cjs/Tables/Table/Table.d.ts +2 -16
  91. package/cjs/Tables/Table/Table.js +2 -16
  92. package/cjs/Tabs/LinkTabs.d.ts +2 -25
  93. package/cjs/Tabs/LinkTabs.js +2 -25
  94. package/cjs/Tag/Tag.d.ts +2 -19
  95. package/cjs/Tag/Tag.js +2 -19
  96. package/cjs/TextArea/TextArea.d.ts +5 -0
  97. package/cjs/TextArea/TextArea.js +5 -0
  98. package/cjs/TextWrap/TextWrap.d.ts +5 -0
  99. package/cjs/TextWrap/TextWrap.js +6 -0
  100. package/cjs/Toggle/Toggle.d.ts +2 -3
  101. package/cjs/Toggle/Toggle.js +2 -3
  102. package/cjs/Tooltip/OverflowTooltipWrapper.d.ts +5 -0
  103. package/cjs/Tooltip/OverflowTooltipWrapper.js +5 -0
  104. package/cjs/Tooltip/Tooltip.d.ts +2 -14
  105. package/cjs/Tooltip/Tooltip.js +2 -14
  106. package/cjs/Tooltip/TooltipWrapper.d.ts +5 -0
  107. package/cjs/Tooltip/TooltipWrapper.js +5 -0
  108. package/cjs/UserContent/UserContent.d.ts +5 -0
  109. package/cjs/UserContent/UserContent.js +5 -0
  110. package/cjs/index.d.ts +1 -0
  111. package/cjs/index.js +12 -0
  112. package/esm/AnnouncementBadge/AnnouncementBadge.d.ts +5 -0
  113. package/esm/AnnouncementBadge/AnnouncementBadge.js +6 -0
  114. package/esm/AutoComplete/AutoComplete.d.ts +2 -13
  115. package/esm/AutoComplete/AutoComplete.js +17 -30
  116. package/esm/AutoComplete/utils.d.ts +1 -1
  117. package/esm/Avatars/ApplicationAvatar.d.ts +5 -1
  118. package/esm/Avatars/ApplicationAvatar.js +5 -1
  119. package/esm/Avatars/UserAvatar.d.ts +5 -1
  120. package/esm/Avatars/UserAvatar.js +5 -1
  121. package/esm/Badge/Badge.d.ts +2 -12
  122. package/esm/Badge/Badge.js +2 -12
  123. package/esm/Banners/Alert/Alert.d.ts +3 -48
  124. package/esm/Banners/Alert/Alert.js +3 -48
  125. package/esm/Banners/BigBertha/BigBertha.d.ts +3 -31
  126. package/esm/Banners/BigBertha/BigBertha.js +3 -31
  127. package/esm/Banners/Promote/Promote.d.ts +3 -26
  128. package/esm/Banners/Promote/Promote.js +3 -26
  129. package/esm/Button/Button.d.ts +2 -11
  130. package/esm/Button/Button.js +2 -11
  131. package/esm/Button/ButtonGroup.d.ts +3 -3
  132. package/esm/Button/ButtonGroup.js +3 -3
  133. package/esm/Button/IconButton.d.ts +2 -2
  134. package/esm/Button/IconButton.js +2 -2
  135. package/esm/Card/Card.d.ts +5 -1
  136. package/esm/Card/Card.js +5 -1
  137. package/esm/Checkbox/Checkbox.d.ts +2 -3
  138. package/esm/Checkbox/Checkbox.js +2 -3
  139. package/esm/DatePicker/DatePicker/DatePicker.d.ts +5 -0
  140. package/esm/DatePicker/DatePicker/DatePicker.js +5 -0
  141. package/esm/DatePicker/DateRangePicker/DateRangePicker.d.ts +5 -0
  142. package/esm/DatePicker/DateRangePicker/DateRangePicker.js +6 -0
  143. package/esm/Dropdown/Dropdown.d.ts +3 -8
  144. package/esm/Dropdown/Dropdown.js +3 -8
  145. package/esm/Dropzone/Dropzone.d.ts +5 -0
  146. package/esm/Dropzone/Dropzone.js +6 -0
  147. package/esm/EmptyState/EmptyState.d.ts +2 -21
  148. package/esm/EmptyState/EmptyState.js +2 -21
  149. package/esm/Field/Field.d.ts +2 -31
  150. package/esm/Field/Field.js +2 -31
  151. package/esm/Flag/Flag.d.ts +5 -0
  152. package/esm/Flag/Flag.js +6 -0
  153. package/esm/FlexGrid/FlexGrid.d.ts +5 -0
  154. package/esm/FlexGrid/FlexGrid.js +6 -0
  155. package/esm/HelpUnderline/HelpUnderline.d.ts +5 -0
  156. package/esm/HelpUnderline/HelpUnderline.js +5 -0
  157. package/esm/Input/Input.d.ts +2 -4
  158. package/esm/Input/Input.js +2 -4
  159. package/esm/Insert/Insert.d.ts +3 -29
  160. package/esm/Insert/Insert.js +3 -29
  161. package/esm/KeyboardKey/KeyboardKey.d.ts +5 -0
  162. package/esm/KeyboardKey/KeyboardKey.js +5 -0
  163. package/esm/Link/ButtonLink.d.ts +5 -0
  164. package/esm/Link/ButtonLink.js +5 -0
  165. package/esm/Link/IconButtonLink.d.ts +5 -0
  166. package/esm/Link/IconButtonLink.js +5 -0
  167. package/esm/Link/Link.d.ts +5 -0
  168. package/esm/Link/Link.js +5 -0
  169. package/esm/Medallion/Medallion.d.ts +5 -0
  170. package/esm/Medallion/Medallion.js +6 -0
  171. package/esm/Modal/Modal.d.ts +5 -0
  172. package/esm/Modal/Modal.js +6 -0
  173. package/esm/Pagination/CompactPagination/CompactPagination.d.ts +5 -0
  174. package/esm/Pagination/CompactPagination/CompactPagination.js +6 -0
  175. package/esm/Pagination/DotPagination/DotPagination.d.ts +5 -0
  176. package/esm/Pagination/DotPagination/DotPagination.js +5 -0
  177. package/esm/Pagination/Pagination/Pagination.d.ts +2 -4
  178. package/esm/Pagination/Pagination/Pagination.js +2 -4
  179. package/esm/Popover/Popover.d.ts +5 -0
  180. package/esm/Popover/Popover.js +6 -0
  181. package/esm/ProgressBar/ProgressBar.d.ts +1 -1
  182. package/esm/ProgressBar/ProgressBar.js +1 -1
  183. package/esm/ProgressSpinner/ProgressSpinner.d.ts +5 -0
  184. package/esm/ProgressSpinner/ProgressSpinner.js +27 -19
  185. package/esm/RadioGroup/RadioGroup.d.ts +2 -12
  186. package/esm/RadioGroup/RadioGroup.js +2 -12
  187. package/esm/RangeSlider/RangeSlider.d.ts +2 -4
  188. package/esm/RangeSlider/RangeSlider.js +2 -4
  189. package/esm/ScrollIndicator/ScrollIndicator.d.ts +5 -0
  190. package/esm/ScrollIndicator/ScrollIndicator.js +6 -0
  191. package/esm/Select/Select.d.ts +2 -5
  192. package/esm/Select/Select.js +2 -5
  193. package/esm/Separator/Separator.d.ts +5 -0
  194. package/esm/Separator/Separator.js +5 -0
  195. package/esm/Sidebar/Sidebar.d.ts +5 -0
  196. package/esm/Sidebar/Sidebar.js +6 -0
  197. package/esm/Switch/Switch.d.ts +5 -0
  198. package/esm/Switch/Switch.js +5 -0
  199. package/esm/Tables/DataTable/DataTable.d.ts +2 -16
  200. package/esm/Tables/DataTable/DataTable.js +2 -16
  201. package/esm/Tables/Table/Table.d.ts +2 -16
  202. package/esm/Tables/Table/Table.js +2 -16
  203. package/esm/Tabs/LinkTabs.d.ts +2 -25
  204. package/esm/Tabs/LinkTabs.js +2 -25
  205. package/esm/Tag/Tag.d.ts +2 -19
  206. package/esm/Tag/Tag.js +2 -19
  207. package/esm/TextArea/TextArea.d.ts +5 -0
  208. package/esm/TextArea/TextArea.js +5 -0
  209. package/esm/TextWrap/TextWrap.d.ts +5 -0
  210. package/esm/TextWrap/TextWrap.js +6 -0
  211. package/esm/Toggle/Toggle.d.ts +2 -3
  212. package/esm/Toggle/Toggle.js +2 -3
  213. package/esm/Tooltip/OverflowTooltipWrapper.d.ts +5 -0
  214. package/esm/Tooltip/OverflowTooltipWrapper.js +5 -0
  215. package/esm/Tooltip/Tooltip.d.ts +2 -14
  216. package/esm/Tooltip/Tooltip.js +2 -14
  217. package/esm/Tooltip/TooltipWrapper.d.ts +5 -0
  218. package/esm/Tooltip/TooltipWrapper.js +5 -0
  219. package/esm/UserContent/UserContent.d.ts +5 -0
  220. package/esm/UserContent/UserContent.js +5 -0
  221. package/esm/index.d.ts +1 -0
  222. package/esm/index.js +1 -0
  223. package/package.json +2 -1
@@ -1,28 +1,9 @@
1
1
  import type { VFC } from "react";
2
2
  import type { EmptyStateProps } from "./types";
3
3
  /**
4
- * Empty states are used when a list, table, chart or page has no items or data to show. This is an opportunity to provide explanation or guidance to help users progress. This can also be shown when a features hasn't been enable.
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
- * #### Features empty state
7
- * - Use when the CTA will unlock a key feature in the dashboard. The copy and the illustration need to sell the feature and be clear on the value for the user
8
- *
9
- * #### Cards empty state
10
- * - Use when the CTA will unlock a new set of features inside an already activated feature. Use the context of the interface to help users understand the value of these features and the copy to give further informations
11
- *
12
- * #### Results/Data empty states
13
- * - Use when the query lead to no result or when there is no data to show based on the user filters. Always make sure to give the user suggestions to fix it in the copy
14
- *
15
- * ## Best practices
16
- *
17
- * Empty states should:
18
- *
19
- * - Orient users by clearly explaining the benefit and utility of a product or feature
20
- * - Simplify a complicated experience by focusing on a few key features and benefits
21
- * - Use simple and clear language that empowers users to move their business forward
22
- * - Be encouraging and never make users feel unsuccessful or guilty because they haven't used a product or feature
23
- * - Explain the steps users need to take to activate a product or feature
24
- * - Use illustrations thoughtfully
25
- * - Use only one primary call-to-action button
6
+ * See the [Empty State documentation page](https://satellite.algolia.com/layouts/empty-state) for more information.
26
7
  */
27
8
  export declare const EmptyState: VFC<EmptyStateProps>;
28
9
  export default EmptyState;
@@ -88,28 +88,9 @@ var renderEmptyState = function renderEmptyState(_ref) {
88
88
  };
89
89
 
90
90
  /**
91
- * Empty states are used when a list, table, chart or page has no items or data to show. This is an opportunity to provide explanation or guidance to help users progress. This can also be shown when a features hasn't been enable.
91
+ * 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.
92
92
  *
93
- * #### Features empty state
94
- * - Use when the CTA will unlock a key feature in the dashboard. The copy and the illustration need to sell the feature and be clear on the value for the user
95
- *
96
- * #### Cards empty state
97
- * - Use when the CTA will unlock a new set of features inside an already activated feature. Use the context of the interface to help users understand the value of these features and the copy to give further informations
98
- *
99
- * #### Results/Data empty states
100
- * - Use when the query lead to no result or when there is no data to show based on the user filters. Always make sure to give the user suggestions to fix it in the copy
101
- *
102
- * ## Best practices
103
- *
104
- * Empty states should:
105
- *
106
- * - Orient users by clearly explaining the benefit and utility of a product or feature
107
- * - Simplify a complicated experience by focusing on a few key features and benefits
108
- * - Use simple and clear language that empowers users to move their business forward
109
- * - Be encouraging and never make users feel unsuccessful or guilty because they haven't used a product or feature
110
- * - Explain the steps users need to take to activate a product or feature
111
- * - Use illustrations thoughtfully
112
- * - Use only one primary call-to-action button
93
+ * See the [Empty State documentation page](https://satellite.algolia.com/layouts/empty-state) for more information.
113
94
  */
114
95
  export var EmptyState = function EmptyState(props) {
115
96
  return renderEmptyState(props);
@@ -17,38 +17,9 @@ export interface FieldProps {
17
17
  children: ReactNode;
18
18
  }
19
19
  /**
20
- * Use text fields to help users enter, select, and search for text. Text fields are normally found within a form but can also be part of a modal, search, or card
20
+ * The `Field` component is a helper that wraps inputs to streamline labeling, validation, integration into a form.
21
21
  *
22
- * ## Structure
23
- * - **Label**: Use the label to provide instructions critical to using the text field. Labels should indicate what sort of information the field requires, be concise and actionable. Consider starting with action verbs (e.g. enter; fill; select). Put labels directly above their input and align them to the left
24
- * - **Placeholder text**: Use to provide additional, non-critical instructions around how they should use the field. Try using examples over instructions whenever possible
25
- * - **Helper text**: Use to give additional context or extra guidance. Only use this where clarification is required, and try not to overuse it
26
- * - When you provide help text via the helpText prop or an inline error message via the error prop, the help or error content is conveyed to screen reader users with the aria-describedby attribute. This attribute causes the content to be read along with the label, either immediately or after a short delay
27
- *
28
- * ## Validation behavior
29
- * - **Validation icon**: helps indicate what state the field has. This can manifest as validation (error, success) or utility (show/hide password, clear)
30
- * - **Error text**: is activated after the input is deselected and communicates more information signified by the input icon. This typically displays an error message related to the field. Keep this text as short as possible and make sure it helps the user to recover from an error
31
- *
32
- * ## Content guidelines
33
- * #### Field label
34
- * - Place above the form field
35
- * - Keep it short and succinct (1–3 words)
36
- * - Write in sentence case (the first word capitalized, the rest lowercase)
37
- *
38
- * #### Field placeholder
39
- * - Mandatory to use, however is supplementary in terms of information importance (because the text has low contrast and is not visible when text is entered)
40
- * - Use examples instead of instructions whenever possible
41
- * - Include “E.g.:” before an example
42
- *
43
- * #### Help / error text
44
- * - Clearly explain what is expected (help) or what went wrong and how to fix it (error)
45
- * - Be short and concise, no more than a single sentence
46
- * - Use passive voice so users don't feel like they're being blamed for the error
47
- *
48
- * #### Designating optional fields
49
- * - Try to only ask for information that's required
50
- * - If you need to ask users to provide optional information, mark the field optional by placing the text “(optional)” at the end of the field's label
51
- * - Don't mark required fields with asterisks
22
+ * See the [Field documentation page](https://satellite.algolia.com/components/forms/field) for more information.
52
23
  */
53
24
  export declare const Field: VFC<FieldProps>;
54
25
  export default Field;
@@ -9,38 +9,9 @@ import { DEFAULT_FIELD_STATE, FieldContext } from "./FieldContext";
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
10
  import { jsxs as _jsxs } from "react/jsx-runtime";
11
11
  /**
12
- * Use text fields to help users enter, select, and search for text. Text fields are normally found within a form but can also be part of a modal, search, or card
12
+ * The `Field` component is a helper that wraps inputs to streamline labeling, validation, integration into a form.
13
13
  *
14
- * ## Structure
15
- * - **Label**: Use the label to provide instructions critical to using the text field. Labels should indicate what sort of information the field requires, be concise and actionable. Consider starting with action verbs (e.g. enter; fill; select). Put labels directly above their input and align them to the left
16
- * - **Placeholder text**: Use to provide additional, non-critical instructions around how they should use the field. Try using examples over instructions whenever possible
17
- * - **Helper text**: Use to give additional context or extra guidance. Only use this where clarification is required, and try not to overuse it
18
- * - When you provide help text via the helpText prop or an inline error message via the error prop, the help or error content is conveyed to screen reader users with the aria-describedby attribute. This attribute causes the content to be read along with the label, either immediately or after a short delay
19
- *
20
- * ## Validation behavior
21
- * - **Validation icon**: helps indicate what state the field has. This can manifest as validation (error, success) or utility (show/hide password, clear)
22
- * - **Error text**: is activated after the input is deselected and communicates more information signified by the input icon. This typically displays an error message related to the field. Keep this text as short as possible and make sure it helps the user to recover from an error
23
- *
24
- * ## Content guidelines
25
- * #### Field label
26
- * - Place above the form field
27
- * - Keep it short and succinct (1–3 words)
28
- * - Write in sentence case (the first word capitalized, the rest lowercase)
29
- *
30
- * #### Field placeholder
31
- * - Mandatory to use, however is supplementary in terms of information importance (because the text has low contrast and is not visible when text is entered)
32
- * - Use examples instead of instructions whenever possible
33
- * - Include “E.g.:” before an example
34
- *
35
- * #### Help / error text
36
- * - Clearly explain what is expected (help) or what went wrong and how to fix it (error)
37
- * - Be short and concise, no more than a single sentence
38
- * - Use passive voice so users don't feel like they're being blamed for the error
39
- *
40
- * #### Designating optional fields
41
- * - Try to only ask for information that's required
42
- * - If you need to ask users to provide optional information, mark the field optional by placing the text “(optional)” at the end of the field's label
43
- * - Don't mark required fields with asterisks
14
+ * See the [Field documentation page](https://satellite.algolia.com/components/forms/field) for more information.
44
15
  */
45
16
  export var Field = function Field(_ref) {
46
17
  var className = _ref.className,
@@ -2,5 +2,10 @@ import type { VFC } from "react";
2
2
  import type { Notification } from "./types";
3
3
  export declare type FlagLocale = Notification["locale"];
4
4
  export declare type FlagProps = Omit<Notification, "id" | "content">;
5
+ /**
6
+ * The `Toast` component is a brief notification that providing timely feedback to users before vanishing after a short duration.
7
+ *
8
+ * See the [Toast documentation page](https://satellite.algolia.com/components/feedback/toast) for more information.
9
+ */
5
10
  export declare const Flag: VFC<FlagProps>;
6
11
  export default Flag;
package/esm/Flag/Flag.js CHANGED
@@ -34,6 +34,12 @@ var VARIANT_SPINNER_CLASSNAMES = {
34
34
  orange: stl(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["border-orange-500"]))),
35
35
  red: stl(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["border-red-500"])))
36
36
  };
37
+
38
+ /**
39
+ * The `Toast` component is a brief notification that providing timely feedback to users before vanishing after a short duration.
40
+ *
41
+ * See the [Toast documentation page](https://satellite.algolia.com/components/feedback/toast) for more information.
42
+ */
37
43
  export var Flag = function Flag(_ref) {
38
44
  var onDismiss = _ref.onDismiss,
39
45
  title = _ref.title,
@@ -36,5 +36,10 @@ export interface FlexGridProps {
36
36
  spacing?: FlexGridSpacing;
37
37
  children: ReactNode;
38
38
  }
39
+ /**
40
+ * The `FlexGrid` component is a wrapper component that allows you to easily create a flexbox layout.
41
+ *
42
+ * See the [Flex Grid documentation page](https://satellite.algolia.com/layouts/flex-grid) for more information.
43
+ */
39
44
  export declare const FlexGrid: VFC<FlexGridProps>;
40
45
  export default FlexGrid;
@@ -32,6 +32,12 @@ var DISTRIBUTION_CLASSNAMES = {
32
32
  fill: stl(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["flex-grid-d-fill"]))),
33
33
  fillEvenly: stl(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["flex-grid-d-fill-even"])))
34
34
  };
35
+
36
+ /**
37
+ * The `FlexGrid` component is a wrapper component that allows you to easily create a flexbox layout.
38
+ *
39
+ * See the [Flex Grid documentation page](https://satellite.algolia.com/layouts/flex-grid) for more information.
40
+ */
35
41
  export var FlexGrid = function FlexGrid(_ref) {
36
42
  var className = _ref.className,
37
43
  _ref$direction = _ref.direction,
@@ -7,5 +7,10 @@ export declare type HelpUnderlineProps = {
7
7
  tooltipContent: TooltipWrapperProps["content"];
8
8
  children: string;
9
9
  } & Omit<TooltipWrapperBaseProps, "children">;
10
+ /**
11
+ * The `HelpUnderline` component is used to display a help underline with a tooltip.
12
+ *
13
+ * See the [Help Underline documentation page](https://satellite.algolia.com/components/misc/help-underline) for more information.
14
+ */
10
15
  export declare const HelpUnderline: VFC<HelpUnderlineProps>;
11
16
  export default HelpUnderline;
@@ -9,6 +9,11 @@ import cx from "clsx";
9
9
  import stl from "../styles/helpers/satellitePrefixer";
10
10
  import { TooltipWrapper } from "../Tooltip";
11
11
  import { jsx as _jsx } from "react/jsx-runtime";
12
+ /**
13
+ * The `HelpUnderline` component is used to display a help underline with a tooltip.
14
+ *
15
+ * See the [Help Underline documentation page](https://satellite.algolia.com/components/misc/help-underline) for more information.
16
+ */
12
17
  export var HelpUnderline = function HelpUnderline(_ref) {
13
18
  var className = _ref.className,
14
19
  children = _ref.children,
@@ -20,11 +20,9 @@ export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>,
20
20
  locale?: InputPropsLocale;
21
21
  }
22
22
  /**
23
- * Use text fields to help users enter, select, and search for text. Text fields are normally found within a form but can also be part of a modal, search, or card
23
+ * The `Input` component is a flexible, user-friendly component for efficient text and number entry across forms and applications.
24
24
  *
25
- * ## Variations
26
- * #### Number input
27
- * - **Stepper (optional)**: consider using a stepper (number control) to let users increase or decrease the value of the input. This is an optional part of the number field so only use based on what you think will help the user
25
+ * See the [Input documentation page](https://satellite.algolia.com/components/forms/input) for more information.
28
26
  */
29
27
  export declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
30
28
  export default Input;
@@ -51,11 +51,9 @@ var ValidatedIcon = function ValidatedIcon() {
51
51
  };
52
52
 
53
53
  /**
54
- * Use text fields to help users enter, select, and search for text. Text fields are normally found within a form but can also be part of a modal, search, or card
54
+ * The `Input` component is a flexible, user-friendly component for efficient text and number entry across forms and applications.
55
55
  *
56
- * ## Variations
57
- * #### Number input
58
- * - **Stepper (optional)**: consider using a stepper (number control) to let users increase or decrease the value of the input. This is an optional part of the number field so only use based on what you think will help the user
56
+ * See the [Input documentation page](https://satellite.algolia.com/components/forms/input) for more information.
59
57
  */
60
58
  export var Input = /*#__PURE__*/forwardRef(function (_ref, externalRef) {
61
59
  var className = _ref.className,
@@ -11,35 +11,9 @@ export interface InsertProps {
11
11
  children: ReactNode;
12
12
  }
13
13
  /**
14
- * Put more emphasis on side content.
15
-
16
- * ## Examples
17
- * [See the component in Figma](https://www.figma.com/file/99l59il97k2n5y4n6Jucal/%5BSatellite%5D-Components?node-id=2912%3A279499)
18
-
19
- * ## Current Status
20
- * - [x] Figma
21
- * - [x] React
22
- * - [ ] Documentation
23
-
24
- * ## Component structure
25
- * The component is a simple and flexible container. It should include a Title and a short text. To give more context you can use optional badges and an optional link to forward users in the right direction.
26
-
27
- * ## Guidelines
28
-
29
- * ### How to use it?
30
- * Use the `Insert` if you want to give extra information to the user about the flow they are in or to highlight and define some terms used. This component can be use on the side of existing content or as a block.
31
-
32
- * ### How to NOT use it?
33
- * - Don't use this component to display temporary and/or critical information, use an Alert instead.
34
-
35
- * ### Variants
36
- * - Grey background
37
-
38
- * ### Do's and Don't
39
- * TODO
40
-
41
- * ## Accessibility
42
- * TODO
14
+ * The `Insert` component is used to give extra information to the user about the flow they are in or to highlight and define some terms used.
15
+ *
16
+ * See the [Insert documentation page](https://satellite.algolia.com/layouts/insert) for more information.
43
17
  */
44
18
  export declare const Insert: VFC<InsertProps>;
45
19
  export default Insert;
@@ -6,35 +6,9 @@ import onlyText from "../utils/onlyText";
6
6
  import { jsx as _jsx } from "react/jsx-runtime";
7
7
  import { jsxs as _jsxs } from "react/jsx-runtime";
8
8
  /**
9
- * Put more emphasis on side content.
10
-
11
- * ## Examples
12
- * [See the component in Figma](https://www.figma.com/file/99l59il97k2n5y4n6Jucal/%5BSatellite%5D-Components?node-id=2912%3A279499)
13
-
14
- * ## Current Status
15
- * - [x] Figma
16
- * - [x] React
17
- * - [ ] Documentation
18
-
19
- * ## Component structure
20
- * The component is a simple and flexible container. It should include a Title and a short text. To give more context you can use optional badges and an optional link to forward users in the right direction.
21
-
22
- * ## Guidelines
23
-
24
- * ### How to use it?
25
- * Use the `Insert` if you want to give extra information to the user about the flow they are in or to highlight and define some terms used. This component can be use on the side of existing content or as a block.
26
-
27
- * ### How to NOT use it?
28
- * - Don't use this component to display temporary and/or critical information, use an Alert instead.
29
-
30
- * ### Variants
31
- * - Grey background
32
-
33
- * ### Do's and Don't
34
- * TODO
35
-
36
- * ## Accessibility
37
- * TODO
9
+ * The `Insert` component is used to give extra information to the user about the flow they are in or to highlight and define some terms used.
10
+ *
11
+ * See the [Insert documentation page](https://satellite.algolia.com/layouts/insert) for more information.
38
12
  */
39
13
  export var Insert = function Insert(_ref) {
40
14
  var title = _ref.title,
@@ -4,4 +4,9 @@ export interface KeyboardKeyProps {
4
4
  className?: string;
5
5
  value: string;
6
6
  }
7
+ /**
8
+ * The `KeyboardKey` component is used to display a keyboard key.
9
+ *
10
+ * See the [Keyboard Key documentation page](https://satellite.algolia.com/components/misc/keyboard-key) for more information.
11
+ */
7
12
  export declare const KeyboardKey: VFC<KeyboardKeyProps>;
@@ -13,6 +13,11 @@ var KEY_MAPPINGS = {
13
13
  enter: CornerDownLeft,
14
14
  escape: "esc"
15
15
  };
16
+ /**
17
+ * The `KeyboardKey` component is used to display a keyboard key.
18
+ *
19
+ * See the [Keyboard Key documentation page](https://satellite.algolia.com/components/misc/keyboard-key) for more information.
20
+ */
16
21
  export var KeyboardKey = function KeyboardKey(_ref) {
17
22
  var className = _ref.className,
18
23
  value = _ref.value;
@@ -3,6 +3,11 @@ import { type PolymorphicButtonProps } from "../Button/PolymorphicButton";
3
3
  export declare type ButtonLinkProps = Omit<PolymorphicButtonProps<"a">, "as" | "ref"> & {
4
4
  href: string;
5
5
  };
6
+ /**
7
+ * The `ButtonLink` component is used to display a link as a button.
8
+ *
9
+ * See the [Link documentation page](https://satellite.algolia.com/components/navigation/link) for more information.
10
+ */
6
11
  export declare const ButtonLink: import("react").ForwardRefExoticComponent<Omit<PolymorphicButtonProps<"a">, "ref" | "as"> & {
7
12
  href: string;
8
13
  } & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -8,6 +8,11 @@ import { ExternalLink } from "react-feather";
8
8
  import { PolymorphicButton } from "../Button/PolymorphicButton";
9
9
  import useLinkProps from "../utils/useLinkProps";
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
+ /**
12
+ * The `ButtonLink` component is used to display a link as a button.
13
+ *
14
+ * See the [Link documentation page](https://satellite.algolia.com/components/navigation/link) for more information.
15
+ */
11
16
  export var ButtonLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
12
17
  var EndIcon = _ref.endIcon,
13
18
  href = _ref.href,
@@ -3,6 +3,11 @@ import { type PolymorphicIconButtonProps } from "../Button/PolymorphicIconButton
3
3
  export declare type IconButtonLinkProps = Omit<PolymorphicIconButtonProps<"a">, "as" | "ref"> & {
4
4
  href: string;
5
5
  };
6
+ /**
7
+ * The `ButtonLink` component is used to display a link as an icon button.
8
+ *
9
+ * See the [Link documentation page](https://satellite.algolia.com/components/navigation/link) for more information.
10
+ */
6
11
  export declare const IconButtonLink: import("react").ForwardRefExoticComponent<Omit<PolymorphicIconButtonProps<"a">, "ref" | "as"> & {
7
12
  href: string;
8
13
  } & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -7,6 +7,11 @@ import { forwardRef } from "react";
7
7
  import { PolymorphicIconButton } from "../Button/PolymorphicIconButton";
8
8
  import useLinkProps from "../utils/useLinkProps";
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
+ /**
11
+ * The `ButtonLink` component is used to display a link as an icon button.
12
+ *
13
+ * See the [Link documentation page](https://satellite.algolia.com/components/navigation/link) for more information.
14
+ */
10
15
  export var IconButtonLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
11
16
  var href = _ref.href,
12
17
  onClick = _ref.onClick,
@@ -5,6 +5,11 @@ export declare type LinkProps = {
5
5
  startIcon?: IconComponentType;
6
6
  endIcon?: IconComponentType;
7
7
  } & AnchorHTMLAttributes<HTMLAnchorElement>;
8
+ /**
9
+ * The `Link` component is used to display a link.
10
+ *
11
+ * See the [Link documentation page](https://satellite.algolia.com/components/navigation/link) for more information.
12
+ */
8
13
  export declare const Link: import("react").ForwardRefExoticComponent<{
9
14
  href: string;
10
15
  startIcon?: IconComponentType | undefined;
package/esm/Link/Link.js CHANGED
@@ -12,6 +12,11 @@ import stl from "../styles/helpers/satellitePrefixer";
12
12
  import useLinkProps from "../utils/useLinkProps";
13
13
  import { jsx as _jsx } from "react/jsx-runtime";
14
14
  import { jsxs as _jsxs } from "react/jsx-runtime";
15
+ /**
16
+ * The `Link` component is used to display a link.
17
+ *
18
+ * See the [Link documentation page](https://satellite.algolia.com/components/navigation/link) for more information.
19
+ */
15
20
  export var Link = /*#__PURE__*/forwardRef(function (_ref, ref) {
16
21
  var className = _ref.className,
17
22
  children = _ref.children,
@@ -8,5 +8,10 @@ export interface MedallionProps {
8
8
  /** @ignore */
9
9
  className?: string;
10
10
  }
11
+ /**
12
+ * The `Medallion` component is used to display a medallion.
13
+ *
14
+ * See the [Medallion documentation page](https://satellite.algolia.com/components/images/medallion) for more information.
15
+ */
11
16
  export declare const Medallion: VFC<MedallionProps>;
12
17
  export default Medallion;
@@ -14,6 +14,12 @@ var VARIANT_CLASSNAMES = {
14
14
  // eslint-disable-next-line @algolia/satellite/prefer-accent -- here we're definitely refering to the color itself
15
15
  white: stl(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["medallion-white text-nebula-500"])))
16
16
  };
17
+
18
+ /**
19
+ * The `Medallion` component is used to display a medallion.
20
+ *
21
+ * See the [Medallion documentation page](https://satellite.algolia.com/components/images/medallion) for more information.
22
+ */
17
23
  export var Medallion = function Medallion(_ref) {
18
24
  var Icon = _ref.icon,
19
25
  _ref$variant = _ref.variant,
@@ -52,5 +52,10 @@ declare type ModalSubComponents = {
52
52
  Footer: typeof ModalFooter;
53
53
  Section: typeof ModalSection;
54
54
  };
55
+ /**
56
+ * The `Modal` component is a dialog window that is used to display content on top of an application.
57
+ *
58
+ * See the [Modal documentation page](https://satellite.algolia.com/components/overlay/modal) for more information.
59
+ */
55
60
  export declare const Modal: VFC<ModalProps> & ModalSubComponents;
56
61
  export default Modal;
@@ -24,6 +24,12 @@ var SIZE_CLASSNAMES = {
24
24
  medium: stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["modal-dialog-medium"]))),
25
25
  large: stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["modal-dialog-large"])))
26
26
  };
27
+
28
+ /**
29
+ * The `Modal` component is a dialog window that is used to display content on top of an application.
30
+ *
31
+ * See the [Modal documentation page](https://satellite.algolia.com/components/overlay/modal) for more information.
32
+ */
27
33
  export var Modal = function Modal(_ref) {
28
34
  var title = _ref.title,
29
35
  className = _ref.className,
@@ -27,5 +27,10 @@ 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
+ /**
31
+ * The `CompactPagination` component is used to help our users to move through an ordered collection of items represented by a page number and arrows.
32
+ *
33
+ * See the [Compact Pagination documentation page](https://satellite.algolia.com/components/navigation/compact-pagination) for more information.
34
+ */
30
35
  export declare const CompactPagination: VFC<CompactPaginationProps>;
31
36
  export default CompactPagination;
@@ -27,6 +27,12 @@ export var isDeterminateCompactPaginationProps = function isDeterminateCompactPa
27
27
  export var isIndeterminateCompactPaginationProps = function isIndeterminateCompactPaginationProps(props) {
28
28
  return !isDeterminateCompactPaginationProps(props);
29
29
  };
30
+
31
+ /**
32
+ * The `CompactPagination` component is used to help our users to move through an ordered collection of items represented by a page number and arrows.
33
+ *
34
+ * See the [Compact Pagination documentation page](https://satellite.algolia.com/components/navigation/compact-pagination) for more information.
35
+ */
30
36
  export var CompactPagination = function CompactPagination(props) {
31
37
  var _props$label;
32
38
  var contextLocale = useLocale("compactPagination");
@@ -11,5 +11,10 @@ export declare type DotPaginationProps<T extends number> = {
11
11
  size?: "small" | "medium";
12
12
  locale?: DotPaginationLocale;
13
13
  };
14
+ /**
15
+ * The `DotPagination` component is used to help our users to move through an ordered collection of items represented by dots.
16
+ *
17
+ * See the [Dot Pagination documentation page](https://satellite.algolia.com/components/navigation/dot-pagination) for more information.
18
+ */
14
19
  export declare const DotPagination: <T extends number>({ currentPage, onChange, nbPages, size, locale: propsLocale, }: DotPaginationProps<T>) => JSX.Element;
15
20
  export default DotPagination;
@@ -11,6 +11,11 @@ var DEFAULT_DOT_PAGINATION_LOCALE = {
11
11
  return "Go to page ".concat(pageIdx);
12
12
  }
13
13
  };
14
+ /**
15
+ * The `DotPagination` component is used to help our users to move through an ordered collection of items represented by dots.
16
+ *
17
+ * See the [Dot Pagination documentation page](https://satellite.algolia.com/components/navigation/dot-pagination) for more information.
18
+ */
14
19
  export var DotPagination = function DotPagination(_ref) {
15
20
  var currentPage = _ref.currentPage,
16
21
  onChange = _ref.onChange,
@@ -12,11 +12,9 @@ export interface PaginationProps {
12
12
  locale?: PaginationLocale;
13
13
  }
14
14
  /**
15
- * Use pagination to help our users to move through an ordered collection of items.
15
+ * The `Pagination` component is used to help our users to move through an ordered collection of items.
16
16
  *
17
- * ## Best practices
18
- * - Don't use on list with less than 20 items
19
- * - Place the pagination at the bottom of the split item
17
+ * See the [Pagination documentation page](https://satellite.algolia.com/components/navigation/pagination) for more information.
20
18
  */
21
19
  export declare const Pagination: VFC<PaginationProps>;
22
20
  export default Pagination;
@@ -47,11 +47,9 @@ var Group = function Group(_ref) {
47
47
  };
48
48
 
49
49
  /**
50
- * Use pagination to help our users to move through an ordered collection of items.
50
+ * The `Pagination` component is used to help our users to move through an ordered collection of items.
51
51
  *
52
- * ## Best practices
53
- * - Don't use on list with less than 20 items
54
- * - Place the pagination at the bottom of the split item
52
+ * See the [Pagination documentation page](https://satellite.algolia.com/components/navigation/pagination) for more information.
55
53
  */
56
54
  export var Pagination = function Pagination(_ref2) {
57
55
  var currentPage = _ref2.currentPage,
@@ -1,5 +1,10 @@
1
1
  import type { VFC } from "react";
2
2
  import type { PopoverProps } from "./types";
3
3
  export declare const POPOVER_ARROW_TEST_ID = "arrow";
4
+ /**
5
+ * The `Popover` component is an interactive contextual overlay that provides additional content or actions.
6
+ *
7
+ * See the [Popover documentation page](https://satellite.algolia.com/components/overlay/popover) for more information.
8
+ */
4
9
  export declare const Popover: VFC<PopoverProps>;
5
10
  export default Popover;
@@ -20,6 +20,12 @@ var DEFAULT_POPOVER_LOCALE = {
20
20
  dismissText: "Dismiss"
21
21
  };
22
22
  export var POPOVER_ARROW_TEST_ID = "arrow";
23
+
24
+ /**
25
+ * The `Popover` component is an interactive contextual overlay that provides additional content or actions.
26
+ *
27
+ * See the [Popover documentation page](https://satellite.algolia.com/components/overlay/popover) for more information.
28
+ */
23
29
  export var Popover = function Popover(_ref) {
24
30
  var children = _ref.children,
25
31
  title = _ref.title,
@@ -8,7 +8,7 @@ export interface ProgressBarProps extends HTMLAttributes<HTMLDivElement> {
8
8
  barClassName?: string;
9
9
  }
10
10
  /**
11
- * A progress bar visually indicates the completion status of a task, updating in real-time to guide users.
11
+ * The `ProgressBar` component visually indicates the completion status of a task, updating in real-time to guide users.
12
12
  *
13
13
  * See the [Progress Bar documentation page](https://satellite.algolia.com/components/feedback/progress-bar) for more information.
14
14
  */
@@ -13,7 +13,7 @@ import { clamp } from "../utils/clamp";
13
13
  import { prefersReducedMotion } from "../utils/prefersReducedMotion";
14
14
  import { jsx as _jsx } from "react/jsx-runtime";
15
15
  /**
16
- * A progress bar visually indicates the completion status of a task, updating in real-time to guide users.
16
+ * The `ProgressBar` component visually indicates the completion status of a task, updating in real-time to guide users.
17
17
  *
18
18
  * See the [Progress Bar documentation page](https://satellite.algolia.com/components/feedback/progress-bar) for more information.
19
19
  */