@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
@@ -13,7 +13,11 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
13
13
  var DEFAULT_LOCALE = {
14
14
  fallbackText: "User's avatar"
15
15
  };
16
- /** The `UserAvatar` is used as a visual representation of a user. */
16
+ /**
17
+ * The `UserAvatar` component is used as a visual representation of a user.
18
+ *
19
+ * See the [User Avatar documentation page](https://satellite.algolia.com/components/images/user-avatar) for more information.
20
+ */
17
21
  export var UserAvatar = function UserAvatar(_ref) {
18
22
  var _user$email;
19
23
  var className = _ref.className,
@@ -15,19 +15,9 @@ declare type BadgeContentProps = {
15
15
  };
16
16
  export declare type BadgeProps = BaseBadgeProps & AtLeastOne<BadgeContentProps>;
17
17
  /**
18
- * Badges are used to inform a user about a status of an item or a process. They can also contain a numeric value. Badges come with a set of colours that are easily identified. Green colour implies success or completion, while orange suggests a warning, on hold, or a problem. Red coloured badges mean error or failure.
18
+ * The `Badge` component is a visual marker highlighting information or status. It enhances UI, indicates progress, and classifies data.
19
19
  *
20
- * - Stay consistent with badge content (text), don't vary your vocabulary
21
- * - Bages usually come after a textual information or explanation
22
- * - Don't use badges where traditional error messages (such as form validation) can be used instead
23
- * - Don't use badges with combination of buttons
24
- * - Badges are not interactive
25
- *
26
- * Do use
27
- *
28
- * - To indicate progress of an A/B test
29
- * - To indicate problem with an index
30
- * - To display numeric values for multiple items (similar to a "tag cloud")
20
+ * See the [Badge documentation page](https://satellite.algolia.com/components/feedback/badge) for more information.
31
21
  */
32
22
  export declare const Badge: import("react").ForwardRefExoticComponent<BadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
33
23
  export default Badge;
@@ -28,19 +28,9 @@ var SIZE_CLASSNAMES = {
28
28
  };
29
29
 
30
30
  /**
31
- * Badges are used to inform a user about a status of an item or a process. They can also contain a numeric value. Badges come with a set of colours that are easily identified. Green colour implies success or completion, while orange suggests a warning, on hold, or a problem. Red coloured badges mean error or failure.
31
+ * The `Badge` component is a visual marker highlighting information or status. It enhances UI, indicates progress, and classifies data.
32
32
  *
33
- * - Stay consistent with badge content (text), don't vary your vocabulary
34
- * - Bages usually come after a textual information or explanation
35
- * - Don't use badges where traditional error messages (such as form validation) can be used instead
36
- * - Don't use badges with combination of buttons
37
- * - Badges are not interactive
38
- *
39
- * Do use
40
- *
41
- * - To indicate progress of an A/B test
42
- * - To indicate problem with an index
43
- * - To display numeric values for multiple items (similar to a "tag cloud")
33
+ * See the [Badge documentation page](https://satellite.algolia.com/components/feedback/badge) for more information.
44
34
  */
45
35
  export var Badge = /*#__PURE__*/forwardRef(function (_ref, ref) {
46
36
  var children = _ref.children,
@@ -25,54 +25,9 @@ export interface AlertProps {
25
25
  children: ReactNode;
26
26
  }
27
27
  /**
28
- * Alerts inform users about important changes or temporally conditions. Use this component if you need to communicate something to users in a prominent way.
29
-
30
- * ## Examples
31
- * [See the component in Figma](https://www.figma.com/file/99l59il97k2n5y4n6Jucal/%5BSatellite%5D-Components?node-id=2912%3A262266)
32
-
33
- * ## Current Status
34
- * - [x] Figma
35
- * - [x] React
36
- * - [ ] Documentation
37
-
38
- * ## Component structure
39
- * This component uses a common banner structure. It uses an icon that should match the intent of the message, an optional title _(Highly recommended)_, a short paragraph of text and optional buttons for follow up actions. The `Alert` is dismissible by default, to do so a cross icon is displayed on the top-right corner.
40
-
41
- * ## Guidelines
42
- * ### How to use it?
43
- * Use the `Alert` if you want to inform the user about a specific action they need to do after something happened.
44
-
45
- * ### How to NOT use it?
46
- * Do not use the component to give higher visibility to trivial information, use the [Insert](https://algolia-satellite.netlify.app/?path=/docs/indicators-banners-insert--basic) component instead.
47
- * Make sure that alerts are not stacking, We highly recommend to have only one per page if possible, though we understand that sometimes this is not possible.
48
- * Do not use a product wide `Alert` to display features information.
49
-
50
- * ### Variants
51
- * This component comes with two sets of Variants:
52
-
53
- * #### Color
54
- * - `Grey` `Default`
55
- * Use this as your default Alert if no other color matches your use-case.
56
- * - `Accent` `Primary`
57
- * Use this to represent something that is currently happening with no level of severity.
58
- * - `Green` `Success`
59
- * Use this to inform the user that an action has been completed in the background while the user wasn't on that page and/or needs further exploration from the user. For smaller and quick processes use the [Flag](https://algolia-satellite.netlify.app/?path=/docs/indicators-flag--basic) instead.
60
- * - `Orange` `Warning`
61
- * Use this to show the user that something important requires their attention. The warning should be used for low to medium errors.
62
- * - `Red` `Failure`
63
- * Use this to show the user that something requires their full attention and actions. Only use red for critical warnings that will result in a loss of data of production down time.
64
-
65
- * #### Usage Context
66
- * - `Page`
67
- * This is for global and product wide alerts, use that with extreme caution as it's will impact every page and every feature.
68
- * - `Section`
69
- * This alert should be inside the frame of a section and linked to the content it impacts
70
-
71
- * ### Do's and Don't
72
- * TODO
73
-
74
- * ## Accessibility
75
- * TODO
28
+ * The `Alert` component give users suggestions, tips, warnings, and error information without stopping them from completing the tasks they're doing.
29
+ *
30
+ * See the [Alert documentation page](https://satellite.algolia.com/components/feedback/alert) for more information.
76
31
  */
77
32
  export declare const Alert: VFC<AlertProps>;
78
33
  export default Alert;
@@ -37,54 +37,9 @@ var ICON_CLASSNAME_VARIANTS = {
37
37
  };
38
38
 
39
39
  /**
40
- * Alerts inform users about important changes or temporally conditions. Use this component if you need to communicate something to users in a prominent way.
41
-
42
- * ## Examples
43
- * [See the component in Figma](https://www.figma.com/file/99l59il97k2n5y4n6Jucal/%5BSatellite%5D-Components?node-id=2912%3A262266)
44
-
45
- * ## Current Status
46
- * - [x] Figma
47
- * - [x] React
48
- * - [ ] Documentation
49
-
50
- * ## Component structure
51
- * This component uses a common banner structure. It uses an icon that should match the intent of the message, an optional title _(Highly recommended)_, a short paragraph of text and optional buttons for follow up actions. The `Alert` is dismissible by default, to do so a cross icon is displayed on the top-right corner.
52
-
53
- * ## Guidelines
54
- * ### How to use it?
55
- * Use the `Alert` if you want to inform the user about a specific action they need to do after something happened.
56
-
57
- * ### How to NOT use it?
58
- * Do not use the component to give higher visibility to trivial information, use the [Insert](https://algolia-satellite.netlify.app/?path=/docs/indicators-banners-insert--basic) component instead.
59
- * Make sure that alerts are not stacking, We highly recommend to have only one per page if possible, though we understand that sometimes this is not possible.
60
- * Do not use a product wide `Alert` to display features information.
61
-
62
- * ### Variants
63
- * This component comes with two sets of Variants:
64
-
65
- * #### Color
66
- * - `Grey` `Default`
67
- * Use this as your default Alert if no other color matches your use-case.
68
- * - `Accent` `Primary`
69
- * Use this to represent something that is currently happening with no level of severity.
70
- * - `Green` `Success`
71
- * Use this to inform the user that an action has been completed in the background while the user wasn't on that page and/or needs further exploration from the user. For smaller and quick processes use the [Flag](https://algolia-satellite.netlify.app/?path=/docs/indicators-flag--basic) instead.
72
- * - `Orange` `Warning`
73
- * Use this to show the user that something important requires their attention. The warning should be used for low to medium errors.
74
- * - `Red` `Failure`
75
- * Use this to show the user that something requires their full attention and actions. Only use red for critical warnings that will result in a loss of data of production down time.
76
-
77
- * #### Usage Context
78
- * - `Page`
79
- * This is for global and product wide alerts, use that with extreme caution as it's will impact every page and every feature.
80
- * - `Section`
81
- * This alert should be inside the frame of a section and linked to the content it impacts
82
-
83
- * ### Do's and Don't
84
- * TODO
85
-
86
- * ## Accessibility
87
- * TODO
40
+ * The `Alert` component give users suggestions, tips, warnings, and error information without stopping them from completing the tasks they're doing.
41
+ *
42
+ * See the [Alert documentation page](https://satellite.algolia.com/components/feedback/alert) for more information.
88
43
  */
89
44
  export var Alert = function Alert(_ref) {
90
45
  var title = _ref.title,
@@ -5,37 +5,9 @@ export interface BigBerthaProps {
5
5
  children: ReactNode;
6
6
  }
7
7
  /**
8
- * Major product wide announcement from Algolia to the users.
9
-
10
- * ## Examples
11
- * [See the component in Figma](https://www.figma.com/file/99l59il97k2n5y4n6Jucal/%5BSatellite%5D-Components?node-id=2912%3A279476)
12
-
13
- * ## Current Status
14
- * - [x] Figma
15
- * - [x] React
16
- * - [ ] Documentation
17
-
18
- * ## Component structure
19
- * This is a simple high contrast banner. It use an icon that should match the content of the message, a short text that describe the situation and can contain "Learn more" links.
20
-
21
- * ## Guidelines
22
-
23
- * ### How to use it?
24
- * This component should only be used to inform the user about an on-going situation at Algolia that will impact the users' or end-users' experience with our products. The content of the message should be concise and explicit. Make sure that the tone used in the text does not generate stress.
25
-
26
- * ### How to NOT use it?
27
- * - Do not use this banner for any non critical announcement or any non product wide announcement.
28
- * - If you want to inform the user about something in your features, please use the [Alert](https://algolia-satellite.netlify.app/?path=/docs/indicators-banners-alert--variants) component.
29
- * - If you want to promote a specific feature, please use the [Promote Banner](https://algolia-satellite.netlify.app/?path=/docs/indicators-banners-promote--basic) component.
30
-
31
- * ### Variants
32
- * - Blue banner : Default state of this component
33
-
34
- * ### Do's and Don't
35
- * TODO
36
-
37
- * ## Accessibility
38
- * TODO
8
+ * The `BigBertha` component is a top-of-page alert for critical system messages, updates, and urgent warnings.
9
+ *
10
+ * See the [Big Bertha documentation page](https://satellite.algolia.com/components/feedback/big-bertha) for more information.
39
11
  */
40
12
  export declare const BigBertha: VFC<BigBerthaProps>;
41
13
  export default BigBertha;
@@ -5,37 +5,9 @@ import stl from "../../styles/helpers/satellitePrefixer";
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  import { jsxs as _jsxs } from "react/jsx-runtime";
7
7
  /**
8
- * Major product wide announcement from Algolia to the users.
9
-
10
- * ## Examples
11
- * [See the component in Figma](https://www.figma.com/file/99l59il97k2n5y4n6Jucal/%5BSatellite%5D-Components?node-id=2912%3A279476)
12
-
13
- * ## Current Status
14
- * - [x] Figma
15
- * - [x] React
16
- * - [ ] Documentation
17
-
18
- * ## Component structure
19
- * This is a simple high contrast banner. It use an icon that should match the content of the message, a short text that describe the situation and can contain "Learn more" links.
20
-
21
- * ## Guidelines
22
-
23
- * ### How to use it?
24
- * This component should only be used to inform the user about an on-going situation at Algolia that will impact the users' or end-users' experience with our products. The content of the message should be concise and explicit. Make sure that the tone used in the text does not generate stress.
25
-
26
- * ### How to NOT use it?
27
- * - Do not use this banner for any non critical announcement or any non product wide announcement.
28
- * - If you want to inform the user about something in your features, please use the [Alert](https://algolia-satellite.netlify.app/?path=/docs/indicators-banners-alert--variants) component.
29
- * - If you want to promote a specific feature, please use the [Promote Banner](https://algolia-satellite.netlify.app/?path=/docs/indicators-banners-promote--basic) component.
30
-
31
- * ### Variants
32
- * - Blue banner : Default state of this component
33
-
34
- * ### Do's and Don't
35
- * TODO
36
-
37
- * ## Accessibility
38
- * TODO
8
+ * The `BigBertha` component is a top-of-page alert for critical system messages, updates, and urgent warnings.
9
+ *
10
+ * See the [Big Bertha documentation page](https://satellite.algolia.com/components/feedback/big-bertha) for more information.
39
11
  */
40
12
  export var BigBertha = function BigBertha(_ref) {
41
13
  var icon = _ref.icon,
@@ -20,32 +20,9 @@ export declare type PromoteProps = {
20
20
  children: ReactNode;
21
21
  } & (CompactPromoteProps | WidePromoteProps);
22
22
  /**
23
- * A contextual way of showing our user that a new feature / product is available to them on a higher plan or as an option.
24
-
25
- * ## Examples
26
- * [See the component in Figma](https://www.figma.com/file/99l59il97k2n5y4n6Jucal/%5BSatellite%5D-Components?node-id=2912%3A279945)
27
-
28
- * ## Current Status
29
- * - [x] Figma
30
- * - [x] React
31
- * - [ ] Documentation
32
-
33
- * ## Component structure
34
- * This component is a bigger banner. It include an optional image, an optional product context, a title, a short text (2 lines maximum without an image and 3 lines maximum with an image), optional CTAs (one primary and one secondary). It comes in two different variants: `large` and `compact`.
35
-
36
- * ## Guidelines
37
- * ### How to use it?
38
- * You should use this component to display to the users that a new features/product is now available for them in the current context they are in. This feature can be automatically available or locked behind higher plan tier, please make sure you adapt the content to not give false impression of availability to the user.
39
-
40
- * This component is permanently dismissible by default.
41
-
42
- * ### How to NOT use it?
43
- * - Do not use this banner as a regular [Alert](https://algolia-satellite.netlify.app/?path=/docs/indicators-banners-alert--variants).
44
- * - You can only use one `large` promotion banner per context and two/four compact per context.
45
-
46
- * ### Variants
47
- * - `large`
48
- * - `compact`
23
+ * The `Promote` component is a contextual way of showing a user that a new feature or product is available to them on a higher plan or as an option.
24
+ *
25
+ * See the [Promote documentation page](https://satellite.algolia.com/components/feedback/promote-banner) for more information.
49
26
  */
50
27
  export declare const Promote: VFC<PromoteProps>;
51
28
  export default Promote;
@@ -21,32 +21,9 @@ var ACTIONS_VARIANT_CLASSNAMES = {
21
21
  };
22
22
 
23
23
  /**
24
- * A contextual way of showing our user that a new feature / product is available to them on a higher plan or as an option.
25
-
26
- * ## Examples
27
- * [See the component in Figma](https://www.figma.com/file/99l59il97k2n5y4n6Jucal/%5BSatellite%5D-Components?node-id=2912%3A279945)
28
-
29
- * ## Current Status
30
- * - [x] Figma
31
- * - [x] React
32
- * - [ ] Documentation
33
-
34
- * ## Component structure
35
- * This component is a bigger banner. It include an optional image, an optional product context, a title, a short text (2 lines maximum without an image and 3 lines maximum with an image), optional CTAs (one primary and one secondary). It comes in two different variants: `large` and `compact`.
36
-
37
- * ## Guidelines
38
- * ### How to use it?
39
- * You should use this component to display to the users that a new features/product is now available for them in the current context they are in. This feature can be automatically available or locked behind higher plan tier, please make sure you adapt the content to not give false impression of availability to the user.
40
-
41
- * This component is permanently dismissible by default.
42
-
43
- * ### How to NOT use it?
44
- * - Do not use this banner as a regular [Alert](https://algolia-satellite.netlify.app/?path=/docs/indicators-banners-alert--variants).
45
- * - You can only use one `large` promotion banner per context and two/four compact per context.
46
-
47
- * ### Variants
48
- * - `large`
49
- * - `compact`
24
+ * The `Promote` component is a contextual way of showing a user that a new feature or product is available to them on a higher plan or as an option.
25
+ *
26
+ * See the [Promote documentation page](https://satellite.algolia.com/components/feedback/promote-banner) for more information.
50
27
  */
51
28
  export var Promote = function Promote(_ref) {
52
29
  var context = _ref.context,
@@ -2,18 +2,9 @@
2
2
  import { type PolymorphicButtonProps } from "./PolymorphicButton";
3
3
  export declare type ButtonProps = Omit<PolymorphicButtonProps<"button">, "as" | "ref">;
4
4
  /**
5
- * Buttons are used to trigger user actions (like "Add", "Close" or "Save") or navigate users elsewhere through the links. Buttons can contain a combination of a clear label and an icon while links are always text.
5
+ * The `Button` component is used to trigger user actions (like "Add", "Close" or "Save") or navigate users elsewhere through the links. It can contain a combination of a clear label and an icon while links are always text.
6
6
  *
7
- * ## Variations
8
- * - **Primary**: to highlight the strongest action on a page. Should only appear once per screen. Not every screen requires a primary button
9
- * - **Neutral (default)**: the standard button for most use cases
10
- * - **Destructive**: appears as a final confirmation for a destructive action (e.g. deleting an index). Should be used with care, primarily in confirmation modals
11
- * - **Subtle-neutral**: user with a primary button or for actionals that are less crucial (e.g. Cancel)
12
- *
13
- * ## Styles
14
- * - Use icons before the label in any button type to draw more attention to it, or help convey more meaning
15
- * - Use icon-only button for an action that is less critical and doesn't have to drag too much of user attention
16
- * - Buttons can take the full width to fill the parent container
7
+ * See the [Button documentation page](https://satellite.algolia.com/components/actions/button) for more information.
17
8
  */
18
9
  export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
19
10
  export default Button;
@@ -5,18 +5,9 @@ import { forwardRef } from "react";
5
5
  import { PolymorphicButton } from "./PolymorphicButton";
6
6
  import { jsx as _jsx } from "react/jsx-runtime";
7
7
  /**
8
- * Buttons are used to trigger user actions (like "Add", "Close" or "Save") or navigate users elsewhere through the links. Buttons can contain a combination of a clear label and an icon while links are always text.
8
+ * The `Button` component is used to trigger user actions (like "Add", "Close" or "Save") or navigate users elsewhere through the links. It can contain a combination of a clear label and an icon while links are always text.
9
9
  *
10
- * ## Variations
11
- * - **Primary**: to highlight the strongest action on a page. Should only appear once per screen. Not every screen requires a primary button
12
- * - **Neutral (default)**: the standard button for most use cases
13
- * - **Destructive**: appears as a final confirmation for a destructive action (e.g. deleting an index). Should be used with care, primarily in confirmation modals
14
- * - **Subtle-neutral**: user with a primary button or for actionals that are less crucial (e.g. Cancel)
15
- *
16
- * ## Styles
17
- * - Use icons before the label in any button type to draw more attention to it, or help convey more meaning
18
- * - Use icon-only button for an action that is less critical and doesn't have to drag too much of user attention
19
- * - Buttons can take the full width to fill the parent container
10
+ * See the [Button documentation page](https://satellite.algolia.com/components/actions/button) for more information.
20
11
  */
21
12
  export var Button = /*#__PURE__*/forwardRef(function (props, ref) {
22
13
  return /*#__PURE__*/_jsx(PolymorphicButton, _objectSpread(_objectSpread({}, props), {}, {
@@ -10,9 +10,9 @@ export interface ButtonGroupProps {
10
10
  children: ReactNode;
11
11
  }
12
12
  /**
13
- * - Use grouped buttons when there is a close relationship between a number of buttons.
14
- * - Group buttons logically into sets based on usage and importance.
15
- * - Common placement of grouped buttons is the view switch (e.g. list vs grid view)
13
+ * The `ButtonGroup` component is used to group buttons together.
14
+ *
15
+ * See the [Button Group documentation page](https://satellite.algolia.com/components/actions/button-group) for more information.
16
16
  */
17
17
  export declare const ButtonGroup: VFC<ButtonGroupProps>;
18
18
  export default ButtonGroup;
@@ -4,9 +4,9 @@ import cx from "clsx";
4
4
  import stl from "../styles/helpers/satellitePrefixer";
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  /**
7
- * - Use grouped buttons when there is a close relationship between a number of buttons.
8
- * - Group buttons logically into sets based on usage and importance.
9
- * - Common placement of grouped buttons is the view switch (e.g. list vs grid view)
7
+ * The `ButtonGroup` component is used to group buttons together.
8
+ *
9
+ * See the [Button Group documentation page](https://satellite.algolia.com/components/actions/button-group) for more information.
10
10
  */
11
11
  export var ButtonGroup = function ButtonGroup(_ref) {
12
12
  var className = _ref.className,
@@ -2,9 +2,9 @@
2
2
  import { type PolymorphicIconButtonProps } from "./PolymorphicIconButton";
3
3
  export declare type IconButtonProps = Omit<PolymorphicIconButtonProps<"button">, "as" | "ref">;
4
4
  /**
5
- * IconButtons are useful in situations where you are limited on space or the action is self-explanatory with just an icon.
5
+ * The `IconButton` component is used to trigger user actions (like "Add", "Close" or "Save"). It can only contain an icon.
6
6
  *
7
- * Please refer to the `Button` guidelines.
7
+ * See the [Icon Button documentation page](https://satellite.algolia.com/components/actions/icon-button) for more information.
8
8
  */
9
9
  export declare const IconButton: import("react").ForwardRefExoticComponent<IconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
10
10
  export default IconButton;
@@ -5,9 +5,9 @@ import { forwardRef } from "react";
5
5
  import { PolymorphicIconButton } from "./PolymorphicIconButton";
6
6
  import { jsx as _jsx } from "react/jsx-runtime";
7
7
  /**
8
- * IconButtons are useful in situations where you are limited on space or the action is self-explanatory with just an icon.
8
+ * The `IconButton` component is used to trigger user actions (like "Add", "Close" or "Save"). It can only contain an icon.
9
9
  *
10
- * Please refer to the `Button` guidelines.
10
+ * See the [Icon Button documentation page](https://satellite.algolia.com/components/actions/icon-button) for more information.
11
11
  */
12
12
  export var IconButton = /*#__PURE__*/forwardRef(function (props, ref) {
13
13
  return /*#__PURE__*/_jsx(PolymorphicIconButton, _objectSpread(_objectSpread({}, props), {}, {
@@ -27,6 +27,10 @@ export interface CardType extends ForwardRefExoticComponent<PropsWithoutRef<Card
27
27
  Header: typeof CardHeader;
28
28
  Title: typeof CardTitle;
29
29
  }
30
- /** The `Card` is a useful component for containing content within a page. */
30
+ /**
31
+ * The `Card` component is a useful for containing content within a page.
32
+ *
33
+ * See the [Card documentation page](https://satellite.algolia.com/layouts/card) for more information.
34
+ */
31
35
  export declare const Card: CardType;
32
36
  export default Card;
package/esm/Card/Card.js CHANGED
@@ -17,7 +17,11 @@ var ELEVATION_CLASSNAMES = {
17
17
  "400": stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["card-z400"]))),
18
18
  "500": stl(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["card-z500"])))
19
19
  };
20
- /** The `Card` is a useful component for containing content within a page. */
20
+ /**
21
+ * The `Card` component is a useful for containing content within a page.
22
+ *
23
+ * See the [Card documentation page](https://satellite.algolia.com/layouts/card) for more information.
24
+ */
21
25
  export var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
22
26
  var className = _ref.className,
23
27
  _ref$as = _ref.as,
@@ -15,10 +15,9 @@ declare type CheckboxCustomProps = {
15
15
  declare type CheckboxInputProps = Omit<HTMLAttributes<HTMLInputElement>, "onChange"> & Pick<InputHTMLAttributes<HTMLInputElement>, "onChange" | "required" | "autoFocus" | "disabled" | "checked" | "defaultChecked">;
16
16
  export declare type CheckboxProps = CheckboxInputProps & CheckboxCustomProps;
17
17
  /**
18
- * When users need to make a range of selections (none, one, or several), checkboxes are a good input control.
18
+ * The `Checkbox` component is a control that allows single or multiple selections from a set of options.
19
19
  *
20
- * - A checkbox control has two primary states: selected and unselected. If required, there's an additional visual state for indeterminate (usually for a parent checkbox, when some children checkboxes are selected, but not all of them)
21
- * - Checkboxes require the use of a button to apply the settings once they are selected
20
+ * See the [Checkbox documentation page](https://satellite.algolia.com/components/controls/checkbox) for more information.
22
21
  */
23
22
  export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLInputElement>, "onChange"> & Pick<InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "onChange" | "autoFocus" | "disabled" | "checked" | "required"> & CheckboxCustomProps & import("react").RefAttributes<HTMLInputElement>>;
24
23
  export default Checkbox;
@@ -24,10 +24,9 @@ var STATUS_CLASSNAMES = {
24
24
  };
25
25
 
26
26
  /**
27
- * When users need to make a range of selections (none, one, or several), checkboxes are a good input control.
27
+ * The `Checkbox` component is a control that allows single or multiple selections from a set of options.
28
28
  *
29
- * - A checkbox control has two primary states: selected and unselected. If required, there's an additional visual state for indeterminate (usually for a parent checkbox, when some children checkboxes are selected, but not all of them)
30
- * - Checkboxes require the use of a button to apply the settings once they are selected
29
+ * See the [Checkbox documentation page](https://satellite.algolia.com/components/controls/checkbox) for more information.
31
30
  */
32
31
  export var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
33
32
  var children = _ref.children,
@@ -30,5 +30,10 @@ export declare type DatePickerProps = {
30
30
  initialValue?: Date | null;
31
31
  buttonSize?: DisplayProps["size"];
32
32
  } & SharedDatePickerProps;
33
+ /**
34
+ * The `DatePicker` component allows users to easily select a date, featuring a calendar view, month/year navigation, and custom options.
35
+ *
36
+ * See the [Date Picker documentation page](https://satellite.algolia.com/layouts/date-picker) for more information.
37
+ */
33
38
  export declare const DatePicker: VFC<DatePickerProps>;
34
39
  export default DatePicker;
@@ -18,6 +18,11 @@ import { DatePickerActionTypes, datePickerReducer, initDatePickerReducer } from
18
18
  import { jsx as _jsx } from "react/jsx-runtime";
19
19
  import { jsxs as _jsxs } from "react/jsx-runtime";
20
20
  import { Fragment as _Fragment } from "react/jsx-runtime";
21
+ /**
22
+ * The `DatePicker` component allows users to easily select a date, featuring a calendar view, month/year navigation, and custom options.
23
+ *
24
+ * See the [Date Picker documentation page](https://satellite.algolia.com/layouts/date-picker) for more information.
25
+ */
21
26
  export var DatePicker = function DatePicker(props) {
22
27
  var _props$initialValue, _props$validate, _props$calendarProps;
23
28
  var contextLocale = useLocale("datePicker");
@@ -31,5 +31,10 @@ export declare type DateRangePickerProps = {
31
31
  renderRightPanel?: (args: RightSidePanelComponentArgs) => ReactNode;
32
32
  buttonSize?: DateRangePickerDisplayProps["buttonSize"];
33
33
  } & SharedDatePickerProps;
34
+ /**
35
+ * The `DateRangePicker` component allows selection of start and end dates using two calendars, ideal for planning and scheduling.
36
+ *
37
+ * See the [Date Range Picker documentation page](https://satellite.algolia.com/layouts/date-range-picker) for more information.
38
+ */
34
39
  export declare const DateRangePicker: VFC<DateRangePickerProps>;
35
40
  export default DateRangePicker;
@@ -28,6 +28,12 @@ var defaultValidator = function defaultValidator(_ref) {
28
28
  var DEFAULT_DATE_RANGE_PICKER_LOCALE = _objectSpread(_objectSpread({}, DEFAULT_DATE_PICKER_LOCALE), {}, {
29
29
  openButton: "Enter a date period..."
30
30
  });
31
+
32
+ /**
33
+ * The `DateRangePicker` component allows selection of start and end dates using two calendars, ideal for planning and scheduling.
34
+ *
35
+ * See the [Date Range Picker documentation page](https://satellite.algolia.com/layouts/date-range-picker) for more information.
36
+ */
31
37
  export var DateRangePicker = function DateRangePicker(_ref2) {
32
38
  var _validate, _displayedRange$start, _initialRange$start;
33
39
  var id = _ref2.id,
@@ -36,14 +36,9 @@ declare type DropdownSubComponents = {
36
36
  };
37
37
  export declare const DEFAULT_DROPDOWN_POPPER_MODIFIERS: StrictModifier[];
38
38
  /**
39
- * ## Best practices
40
- * - Sort list of options in a way that will make the most sense to the user. You can order:
41
- * - alphabetically
42
- * - numerically
43
- * - by most commonly selected option
44
- * - Write in sentence case (the first word capitalized, the rest lowercase) and avoid using commas or semicolons at the end of each option
45
- * - Clearly label options based on what each one will do
46
- * - Make sure the most common options are listed. These can be grouped into sub-categories under headings
39
+ * The `Dropdown` component helps users select an item from a list of available options.
40
+ *
41
+ * See the [Dropdown documentation page](https://satellite.algolia.com/components/actions/dropdown) for more information.
47
42
  */
48
43
  export declare const Dropdown: VFC<DropdownProps> & DropdownSubComponents;
49
44
  export default Dropdown;
@@ -31,14 +31,9 @@ export var DEFAULT_DROPDOWN_POPPER_MODIFIERS = [{
31
31
  }];
32
32
 
33
33
  /**
34
- * ## Best practices
35
- * - Sort list of options in a way that will make the most sense to the user. You can order:
36
- * - alphabetically
37
- * - numerically
38
- * - by most commonly selected option
39
- * - Write in sentence case (the first word capitalized, the rest lowercase) and avoid using commas or semicolons at the end of each option
40
- * - Clearly label options based on what each one will do
41
- * - Make sure the most common options are listed. These can be grouped into sub-categories under headings
34
+ * The `Dropdown` component helps users select an item from a list of available options.
35
+ *
36
+ * See the [Dropdown documentation page](https://satellite.algolia.com/components/actions/dropdown) for more information.
42
37
  */
43
38
  export var Dropdown = function Dropdown(_ref) {
44
39
  var _renderFooter;
@@ -17,5 +17,10 @@ export interface DropzoneBaseProps {
17
17
  locale?: DropzoneLocale;
18
18
  }
19
19
  export declare type DropzoneProps = DropzoneBaseProps & Omit<ReactDropZoneProps, "onDrop" | "onDropAccepted" | "onDropRejected" | "multiple">;
20
+ /**
21
+ * The `Dropzone` component is used to upload files.
22
+ *
23
+ * See the [Dropzone documentation page](https://satellite.algolia.com/components/forms/dropzone) for more information.
24
+ */
20
25
  export declare const Dropzone: VFC<DropzoneProps>;
21
26
  export default Dropzone;
@@ -42,6 +42,12 @@ var ValidatedIcon = function ValidatedIcon() {
42
42
  className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["mr-4 h-4 w-4 text-white bg-accent-600 p-px rounded-full"])))
43
43
  });
44
44
  };
45
+
46
+ /**
47
+ * The `Dropzone` component is used to upload files.
48
+ *
49
+ * See the [Dropzone documentation page](https://satellite.algolia.com/components/forms/dropzone) for more information.
50
+ */
45
51
  export var Dropzone = function Dropzone(_ref2) {
46
52
  var id = _ref2.id,
47
53
  placeholder = _ref2.placeholder,