@algolia/satellite 1.0.0-beta.170 → 1.0.0-beta.172

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 (219) 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 +52 -67
  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/esm/AnnouncementBadge/AnnouncementBadge.d.ts +5 -0
  111. package/esm/AnnouncementBadge/AnnouncementBadge.js +6 -0
  112. package/esm/AutoComplete/AutoComplete.d.ts +2 -13
  113. package/esm/AutoComplete/AutoComplete.js +52 -68
  114. package/esm/AutoComplete/utils.d.ts +1 -1
  115. package/esm/Avatars/ApplicationAvatar.d.ts +5 -1
  116. package/esm/Avatars/ApplicationAvatar.js +5 -1
  117. package/esm/Avatars/UserAvatar.d.ts +5 -1
  118. package/esm/Avatars/UserAvatar.js +5 -1
  119. package/esm/Badge/Badge.d.ts +2 -12
  120. package/esm/Badge/Badge.js +2 -12
  121. package/esm/Banners/Alert/Alert.d.ts +3 -48
  122. package/esm/Banners/Alert/Alert.js +3 -48
  123. package/esm/Banners/BigBertha/BigBertha.d.ts +3 -31
  124. package/esm/Banners/BigBertha/BigBertha.js +3 -31
  125. package/esm/Banners/Promote/Promote.d.ts +3 -26
  126. package/esm/Banners/Promote/Promote.js +3 -26
  127. package/esm/Button/Button.d.ts +2 -11
  128. package/esm/Button/Button.js +2 -11
  129. package/esm/Button/ButtonGroup.d.ts +3 -3
  130. package/esm/Button/ButtonGroup.js +3 -3
  131. package/esm/Button/IconButton.d.ts +2 -2
  132. package/esm/Button/IconButton.js +2 -2
  133. package/esm/Card/Card.d.ts +5 -1
  134. package/esm/Card/Card.js +5 -1
  135. package/esm/Checkbox/Checkbox.d.ts +2 -3
  136. package/esm/Checkbox/Checkbox.js +2 -3
  137. package/esm/DatePicker/DatePicker/DatePicker.d.ts +5 -0
  138. package/esm/DatePicker/DatePicker/DatePicker.js +5 -0
  139. package/esm/DatePicker/DateRangePicker/DateRangePicker.d.ts +5 -0
  140. package/esm/DatePicker/DateRangePicker/DateRangePicker.js +6 -0
  141. package/esm/Dropdown/Dropdown.d.ts +3 -8
  142. package/esm/Dropdown/Dropdown.js +3 -8
  143. package/esm/Dropzone/Dropzone.d.ts +5 -0
  144. package/esm/Dropzone/Dropzone.js +6 -0
  145. package/esm/EmptyState/EmptyState.d.ts +2 -21
  146. package/esm/EmptyState/EmptyState.js +2 -21
  147. package/esm/Field/Field.d.ts +2 -31
  148. package/esm/Field/Field.js +2 -31
  149. package/esm/Flag/Flag.d.ts +5 -0
  150. package/esm/Flag/Flag.js +6 -0
  151. package/esm/FlexGrid/FlexGrid.d.ts +5 -0
  152. package/esm/FlexGrid/FlexGrid.js +6 -0
  153. package/esm/HelpUnderline/HelpUnderline.d.ts +5 -0
  154. package/esm/HelpUnderline/HelpUnderline.js +5 -0
  155. package/esm/Input/Input.d.ts +2 -4
  156. package/esm/Input/Input.js +2 -4
  157. package/esm/Insert/Insert.d.ts +3 -29
  158. package/esm/Insert/Insert.js +3 -29
  159. package/esm/KeyboardKey/KeyboardKey.d.ts +5 -0
  160. package/esm/KeyboardKey/KeyboardKey.js +5 -0
  161. package/esm/Link/ButtonLink.d.ts +5 -0
  162. package/esm/Link/ButtonLink.js +5 -0
  163. package/esm/Link/IconButtonLink.d.ts +5 -0
  164. package/esm/Link/IconButtonLink.js +5 -0
  165. package/esm/Link/Link.d.ts +5 -0
  166. package/esm/Link/Link.js +5 -0
  167. package/esm/Medallion/Medallion.d.ts +5 -0
  168. package/esm/Medallion/Medallion.js +6 -0
  169. package/esm/Modal/Modal.d.ts +5 -0
  170. package/esm/Modal/Modal.js +6 -0
  171. package/esm/Pagination/CompactPagination/CompactPagination.d.ts +5 -0
  172. package/esm/Pagination/CompactPagination/CompactPagination.js +6 -0
  173. package/esm/Pagination/DotPagination/DotPagination.d.ts +5 -0
  174. package/esm/Pagination/DotPagination/DotPagination.js +5 -0
  175. package/esm/Pagination/Pagination/Pagination.d.ts +2 -4
  176. package/esm/Pagination/Pagination/Pagination.js +2 -4
  177. package/esm/Popover/Popover.d.ts +5 -0
  178. package/esm/Popover/Popover.js +6 -0
  179. package/esm/ProgressBar/ProgressBar.d.ts +1 -1
  180. package/esm/ProgressBar/ProgressBar.js +1 -1
  181. package/esm/ProgressSpinner/ProgressSpinner.d.ts +5 -0
  182. package/esm/ProgressSpinner/ProgressSpinner.js +27 -19
  183. package/esm/RadioGroup/RadioGroup.d.ts +2 -12
  184. package/esm/RadioGroup/RadioGroup.js +2 -12
  185. package/esm/RangeSlider/RangeSlider.d.ts +2 -4
  186. package/esm/RangeSlider/RangeSlider.js +2 -4
  187. package/esm/ScrollIndicator/ScrollIndicator.d.ts +5 -0
  188. package/esm/ScrollIndicator/ScrollIndicator.js +6 -0
  189. package/esm/Select/Select.d.ts +2 -5
  190. package/esm/Select/Select.js +2 -5
  191. package/esm/Separator/Separator.d.ts +5 -0
  192. package/esm/Separator/Separator.js +5 -0
  193. package/esm/Sidebar/Sidebar.d.ts +5 -0
  194. package/esm/Sidebar/Sidebar.js +6 -0
  195. package/esm/Switch/Switch.d.ts +5 -0
  196. package/esm/Switch/Switch.js +5 -0
  197. package/esm/Tables/DataTable/DataTable.d.ts +2 -16
  198. package/esm/Tables/DataTable/DataTable.js +2 -16
  199. package/esm/Tables/Table/Table.d.ts +2 -16
  200. package/esm/Tables/Table/Table.js +2 -16
  201. package/esm/Tabs/LinkTabs.d.ts +2 -25
  202. package/esm/Tabs/LinkTabs.js +2 -25
  203. package/esm/Tag/Tag.d.ts +2 -19
  204. package/esm/Tag/Tag.js +2 -19
  205. package/esm/TextArea/TextArea.d.ts +5 -0
  206. package/esm/TextArea/TextArea.js +5 -0
  207. package/esm/TextWrap/TextWrap.d.ts +5 -0
  208. package/esm/TextWrap/TextWrap.js +6 -0
  209. package/esm/Toggle/Toggle.d.ts +2 -3
  210. package/esm/Toggle/Toggle.js +2 -3
  211. package/esm/Tooltip/OverflowTooltipWrapper.d.ts +5 -0
  212. package/esm/Tooltip/OverflowTooltipWrapper.js +5 -0
  213. package/esm/Tooltip/Tooltip.d.ts +2 -14
  214. package/esm/Tooltip/Tooltip.js +2 -14
  215. package/esm/Tooltip/TooltipWrapper.d.ts +5 -0
  216. package/esm/Tooltip/TooltipWrapper.js +5 -0
  217. package/esm/UserContent/UserContent.d.ts +5 -0
  218. package/esm/UserContent/UserContent.js +5 -0
  219. package/package.json +1 -1
@@ -2,32 +2,9 @@ import type { VFC } from "react";
2
2
  import type { LinkTabsProps, UrlMatcher } from "./types";
3
3
  export declare const defaultUrlMatcher: UrlMatcher;
4
4
  /**
5
- * Tabs are an easy way to organize content by grouping similar information on the same page. Use them to help users navigate between related views within the same context, especially when the number of views may be more than 3.
5
+ * The `Tabs` component is an easy way to organize content by grouping similar information on the same page. Use it to help users navigate between related views within the same context, especially when the number of views may be more than 3.
6
6
  *
7
- * #### 3 core elements
8
- * - **Selected**: currently active tab
9
- * - **Unselected**: other available tabs
10
- * - **Divider**: separates the tab navigation and content
11
- *
12
- * #### With badges
13
- * Use when you have to indicate the number of performed actions or operations as well as their status, e.g. success, error, failure
14
- *
15
- * ## Content guidelines
16
- * - Make them clear to help differentiate the sections beneath
17
- * - Write short tab labels and use plain language, rather than made-up terms. Tab labels should usually be 1–2 words
18
- * - Do not use ALL CAPS for tab labels. ALL CAPS is rarely a good idea because it's harder to read
19
- *
20
- * ## Usability best practices
21
- * #### Do
22
- * - Use tabs to alternate between views within the same context
23
- * - Logically chunk the content behind the tabs so users can easily predict what they'll find when they select a given tab
24
- * - Use tabs only when users don't need to see content from multiple tabs simultaneously or compare the info behind different tabs
25
- *
26
- * #### Do not
27
- * - Use tabs to navigate to different context areas
28
- * - Use tabs for primary navigation
29
- * - Use more than one row of tabs. Multiple rows create jumping UI elements, which make it impossible for users to remember which tabs they've already visited
30
- * - Place the tab on the sides or bottom of the page, where users often overlook them
7
+ * See the [Tabs documentation page](https://satellite.algolia.com/components/navigation/tabs) for more information.
31
8
  */
32
9
  export declare const LinkTabs: VFC<LinkTabsProps>;
33
10
  export default LinkTabs;
@@ -13,32 +13,9 @@ export var defaultUrlMatcher = function defaultUrlMatcher(tab, location) {
13
13
  };
14
14
 
15
15
  /**
16
- * Tabs are an easy way to organize content by grouping similar information on the same page. Use them to help users navigate between related views within the same context, especially when the number of views may be more than 3.
16
+ * The `Tabs` component is an easy way to organize content by grouping similar information on the same page. Use it to help users navigate between related views within the same context, especially when the number of views may be more than 3.
17
17
  *
18
- * #### 3 core elements
19
- * - **Selected**: currently active tab
20
- * - **Unselected**: other available tabs
21
- * - **Divider**: separates the tab navigation and content
22
- *
23
- * #### With badges
24
- * Use when you have to indicate the number of performed actions or operations as well as their status, e.g. success, error, failure
25
- *
26
- * ## Content guidelines
27
- * - Make them clear to help differentiate the sections beneath
28
- * - Write short tab labels and use plain language, rather than made-up terms. Tab labels should usually be 1–2 words
29
- * - Do not use ALL CAPS for tab labels. ALL CAPS is rarely a good idea because it's harder to read
30
- *
31
- * ## Usability best practices
32
- * #### Do
33
- * - Use tabs to alternate between views within the same context
34
- * - Logically chunk the content behind the tabs so users can easily predict what they'll find when they select a given tab
35
- * - Use tabs only when users don't need to see content from multiple tabs simultaneously or compare the info behind different tabs
36
- *
37
- * #### Do not
38
- * - Use tabs to navigate to different context areas
39
- * - Use tabs for primary navigation
40
- * - Use more than one row of tabs. Multiple rows create jumping UI elements, which make it impossible for users to remember which tabs they've already visited
41
- * - Place the tab on the sides or bottom of the page, where users often overlook them
18
+ * See the [Tabs documentation page](https://satellite.algolia.com/components/navigation/tabs) for more information.
42
19
  */
43
20
  export var LinkTabs = function LinkTabs(_ref) {
44
21
  var className = _ref.className,
package/esm/Tag/Tag.d.ts CHANGED
@@ -23,26 +23,9 @@ export interface TagProps extends DetailedHTMLProps<HTMLAttributes<HTMLSpanEleme
23
23
  locale?: TagLocale;
24
24
  }
25
25
  /**
26
- * Use tags to visually label UI objects for quick recognition and navigation. (!) **Tags can be added or removed from an object by users**.
27
- * Keep in mind that tags increase the amount of visual noise, particularly when combined with other visual labelling elements, so use them in moderation. Tags can be added or removed from an object by users.
26
+ * The `Tag` component is an interactive and customizable text label with varied color options.
28
27
  *
29
- * - For status information, use badges instead
30
- * - For tallies or counts, use badges
31
- *
32
- * ## Variations
33
- * Consider the context and implied severity to choose from the following range:
34
- *
35
- * - **Accent**: `variant="accent"`
36
- * - **Informational**: `variant="grey"` & `variant="blue"`
37
- * - **Success**: `variant="green"`
38
- * - **Warning**: `variant="orange"`
39
- * - **Error**: `variant="red"`
40
- * - **Admin**: `variant="pink"`
41
- *
42
- * ## Usability best practices
43
- * - Present tags close to or within the input control to allow users to add and remove tags
44
- * - When writing tags, avoid line-wrapping
45
- * - Define the max width of text within a tag. Once the text reaches the max, truncate with ellipses
28
+ * See the [Tag documentation page](https://satellite.algolia.com/components/forms/tag) for more information.
46
29
  */
47
30
  export declare const Tag: import("react").ForwardRefExoticComponent<Pick<TagProps, "dir" | "slot" | "style" | "title" | "children" | "id" | "variant" | "locale" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "onAdd" | "addTooltip" | "onRemove" | "removeTooltip"> & import("react").RefAttributes<HTMLSpanElement>>;
48
31
  export default Tag;
package/esm/Tag/Tag.js CHANGED
@@ -42,26 +42,9 @@ var BUTTON_VARIANT_CLASSNAMES = {
42
42
  };
43
43
 
44
44
  /**
45
- * Use tags to visually label UI objects for quick recognition and navigation. (!) **Tags can be added or removed from an object by users**.
46
- * Keep in mind that tags increase the amount of visual noise, particularly when combined with other visual labelling elements, so use them in moderation. Tags can be added or removed from an object by users.
45
+ * The `Tag` component is an interactive and customizable text label with varied color options.
47
46
  *
48
- * - For status information, use badges instead
49
- * - For tallies or counts, use badges
50
- *
51
- * ## Variations
52
- * Consider the context and implied severity to choose from the following range:
53
- *
54
- * - **Accent**: `variant="accent"`
55
- * - **Informational**: `variant="grey"` & `variant="blue"`
56
- * - **Success**: `variant="green"`
57
- * - **Warning**: `variant="orange"`
58
- * - **Error**: `variant="red"`
59
- * - **Admin**: `variant="pink"`
60
- *
61
- * ## Usability best practices
62
- * - Present tags close to or within the input control to allow users to add and remove tags
63
- * - When writing tags, avoid line-wrapping
64
- * - Define the max width of text within a tag. Once the text reaches the max, truncate with ellipses
47
+ * See the [Tag documentation page](https://satellite.algolia.com/components/forms/tag) for more information.
65
48
  */
66
49
  export var Tag = /*#__PURE__*/forwardRef(function (_ref, ref) {
67
50
  var children = _ref.children,
@@ -1,5 +1,10 @@
1
1
  import type { TextareaHTMLAttributes } from "react";
2
2
  export interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
3
3
  }
4
+ /**
5
+ * The `TextArea` component is a multiline input field for extensive text, ideal for detailed feedback, descriptions, or comments.
6
+ *
7
+ * See the [Text Area documentation page](https://satellite.algolia.com/components/forms/text-area) for more information.
8
+ */
4
9
  export declare const TextArea: import("react").ForwardRefExoticComponent<TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
5
10
  export default TextArea;
@@ -9,6 +9,11 @@ import cx from "clsx";
9
9
  import { forwardRef } from "react";
10
10
  import stl from "../styles/helpers/satellitePrefixer";
11
11
  import { jsx as _jsx } from "react/jsx-runtime";
12
+ /**
13
+ * The `TextArea` component is a multiline input field for extensive text, ideal for detailed feedback, descriptions, or comments.
14
+ *
15
+ * See the [Text Area documentation page](https://satellite.algolia.com/components/forms/text-area) for more information.
16
+ */
12
17
  export var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
13
18
  var className = _ref.className,
14
19
  otherProps = _objectWithoutProperties(_ref, _excluded);
@@ -4,5 +4,10 @@ export interface TextWrapProps extends Omit<JSX.IntrinsicElements["span"], "chil
4
4
  maxLines?: number;
5
5
  children: string;
6
6
  }
7
+ /**
8
+ * The `TextWrap` component is used to wrap text and truncate it with an ellipsis if it overflows.
9
+ *
10
+ * See the [Text Wrap documentation page](https://satellite.algolia.com/components/misc/text-wrap) for more information.
11
+ */
7
12
  export declare const TextWrap: VFC<TextWrapProps>;
8
13
  export default TextWrap;
@@ -20,6 +20,12 @@ var SEPARATOR_ELEMENT = /*#__PURE__*/_jsx("span", {
20
20
  "aria-hidden": "true",
21
21
  children: "\u200B"
22
22
  });
23
+
24
+ /**
25
+ * The `TextWrap` component is used to wrap text and truncate it with an ellipsis if it overflows.
26
+ *
27
+ * See the [Text Wrap documentation page](https://satellite.algolia.com/components/misc/text-wrap) for more information.
28
+ */
23
29
  export var TextWrap = function TextWrap(_ref) {
24
30
  var text = _ref.children,
25
31
  maxLines = _ref.maxLines,
@@ -3,10 +3,9 @@ export declare type ToggleProps = Omit<HTMLAttributes<HTMLInputElement>, "childr
3
3
  decorative?: boolean;
4
4
  };
5
5
  /**
6
- * Toggles are a quick way to view and switch between enabled or disabled states. Use toggles to turn something on or off instantly.
6
+ * The `Toggle` component is used to view or switch between enabled or disabled states.
7
7
  *
8
- * - Toggles should not require a Save button to apply the changes
9
- * - If a Save button is needed, try using Radio groups or Checkboxes instead
8
+ * See the [Toggle documentation page](https://satellite.algolia.com/components/controls/toggle) for more information.
10
9
  */
11
10
  export declare const Toggle: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLInputElement>, "children" | "onChange"> & Pick<InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "onChange" | "autoFocus" | "disabled" | "checked" | "required"> & {
12
11
  decorative?: boolean | undefined;
@@ -12,10 +12,9 @@ import stl from "../styles/helpers/satellitePrefixer";
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { jsxs as _jsxs } from "react/jsx-runtime";
14
14
  /**
15
- * Toggles are a quick way to view and switch between enabled or disabled states. Use toggles to turn something on or off instantly.
15
+ * The `Toggle` component is used to view or switch between enabled or disabled states.
16
16
  *
17
- * - Toggles should not require a Save button to apply the changes
18
- * - If a Save button is needed, try using Radio groups or Checkboxes instead
17
+ * See the [Toggle documentation page](https://satellite.algolia.com/components/controls/toggle) for more information.
19
18
  */
20
19
  export var Toggle = /*#__PURE__*/forwardRef(function (_ref, ref) {
21
20
  var className = _ref.className,
@@ -2,4 +2,9 @@ import type { VFC } from "react";
2
2
  import type { TooltipWrapperBaseProps } from "./types";
3
3
  export interface OverflowTooltipWrapperProps extends TooltipWrapperBaseProps {
4
4
  }
5
+ /**
6
+ * The `OverflowTooltipWrapper` component is used to wrap text that may overflow its container and display a tooltip with the full text on hover.
7
+ *
8
+ * See the [Tooltip documentation page](https://satellite.algolia.com/components/overlay/tooltip) for more information.
9
+ */
5
10
  export declare const OverflowTooltipWrapper: VFC<OverflowTooltipWrapperProps>;
@@ -14,6 +14,11 @@ import { isReactText } from "../utils/isReactText";
14
14
  import { TooltipWrapper } from "./TooltipWrapper";
15
15
  import { isOverflowing } from "./utils";
16
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
+ /**
18
+ * The `OverflowTooltipWrapper` component is used to wrap text that may overflow its container and display a tooltip with the full text on hover.
19
+ *
20
+ * See the [Tooltip documentation page](https://satellite.algolia.com/components/overlay/tooltip) for more information.
21
+ */
17
22
  export var OverflowTooltipWrapper = function OverflowTooltipWrapper(_ref) {
18
23
  var children = _ref.children,
19
24
  props = _objectWithoutProperties(_ref, _excluded);
@@ -4,21 +4,9 @@ export interface TooltipProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivEl
4
4
  variant?: TooltipVariant;
5
5
  }
6
6
  /**
7
- * Tooltips are floating labels that briefly explain the function of a user interface element. They can be triggered when merchants hover, focus, tap, or click.
7
+ * The `Tooltip` component displays additional information when hovering/focusing on an element. It is used to provide clarification or identify the purpose of UI elements.
8
8
  *
9
- * Use tooltips to identify or add a small amount of information to an element. Typically, tooltips are used to help users understand the meaning or purpose of icons, showing the full version of truncated text, or displaying the alt text for an image. Tooltips do not receive input focus.
10
- * When writing tooltips, be short and concise. When you need to add more than a single line of extra information, consider using inline dialogs instead.
11
- *
12
- * The position of tooltips is flexible and will change depending on how close the element is to the edge of the screen.
13
- *
14
- * ## Best practices
15
- * Tooltips should:
16
- *
17
- * - Provide useful, additional information or clarification.
18
- * - Succinctly describe or expand on the element they point to.
19
- * - Not be used to communicate critical information, including errors in forms or other interaction feedback.
20
- * - Not contain any links, inputs, or buttons.
21
- * - Be used sparingly. If you're building something that requires a lot of tooltips, work on clarifying the design and the language in the experience.
9
+ * See the [Tooltip documentation page](https://satellite.algolia.com/components/overlay/tooltip) for more information.
22
10
  */
23
11
  export declare const Tooltip: import("react").ForwardRefExoticComponent<Pick<TooltipProps, "dir" | "slot" | "style" | "title" | "children" | "id" | "variant" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & import("react").RefAttributes<HTMLDivElement>>;
24
12
  export default Tooltip;
@@ -15,21 +15,9 @@ var VARIANT_CLASSNAMES = {
15
15
  };
16
16
 
17
17
  /**
18
- * Tooltips are floating labels that briefly explain the function of a user interface element. They can be triggered when merchants hover, focus, tap, or click.
18
+ * The `Tooltip` component displays additional information when hovering/focusing on an element. It is used to provide clarification or identify the purpose of UI elements.
19
19
  *
20
- * Use tooltips to identify or add a small amount of information to an element. Typically, tooltips are used to help users understand the meaning or purpose of icons, showing the full version of truncated text, or displaying the alt text for an image. Tooltips do not receive input focus.
21
- * When writing tooltips, be short and concise. When you need to add more than a single line of extra information, consider using inline dialogs instead.
22
- *
23
- * The position of tooltips is flexible and will change depending on how close the element is to the edge of the screen.
24
- *
25
- * ## Best practices
26
- * Tooltips should:
27
- *
28
- * - Provide useful, additional information or clarification.
29
- * - Succinctly describe or expand on the element they point to.
30
- * - Not be used to communicate critical information, including errors in forms or other interaction feedback.
31
- * - Not contain any links, inputs, or buttons.
32
- * - Be used sparingly. If you're building something that requires a lot of tooltips, work on clarifying the design and the language in the experience.
20
+ * See the [Tooltip documentation page](https://satellite.algolia.com/components/overlay/tooltip) for more information.
33
21
  */
34
22
  export var Tooltip = /*#__PURE__*/forwardRef(function (_ref, ref) {
35
23
  var className = _ref.className,
@@ -11,4 +11,9 @@ export interface TooltipWrapperProps extends TooltipWrapperBaseProps {
11
11
  */
12
12
  content: ReactNode;
13
13
  }
14
+ /**
15
+ * The `TooltipWrapper` component is used to wrap content and display a tooltip on hover.
16
+ *
17
+ * See the [Tooltip documentation page](https://satellite.algolia.com/components/overlay/tooltip) for more information.
18
+ */
14
19
  export declare const TooltipWrapper: VFC<TooltipWrapperProps>;
@@ -10,6 +10,11 @@ import TooltipInternal from "./Tooltip";
10
10
  import { Fragment as _Fragment } from "react/jsx-runtime";
11
11
  import { jsx as _jsx } from "react/jsx-runtime";
12
12
  import { jsxs as _jsxs } from "react/jsx-runtime";
13
+ /**
14
+ * The `TooltipWrapper` component is used to wrap content and display a tooltip on hover.
15
+ *
16
+ * See the [Tooltip documentation page](https://satellite.algolia.com/components/overlay/tooltip) for more information.
17
+ */
13
18
  export var TooltipWrapper = function TooltipWrapper(_ref) {
14
19
  var show = _ref.show,
15
20
  _ref$delay = _ref.delay,
@@ -5,5 +5,10 @@ export interface UserContentProps {
5
5
  className?: string;
6
6
  content?: string;
7
7
  }
8
+ /**
9
+ * The `UserContent` component is used to style user generated content that comes as HTML, often from a markdown source.
10
+ *
11
+ * See the [User Content documentation page](https://satellite.algolia.com/layouts/user-content) for more information.
12
+ */
8
13
  export declare const UserContent: VFC<UserContentProps>;
9
14
  export default UserContent;
@@ -3,6 +3,11 @@ var _templateObject;
3
3
  import cx from "clsx";
4
4
  import stl from "../styles/helpers/satellitePrefixer";
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
+ /**
7
+ * The `UserContent` component is used to style user generated content that comes as HTML, often from a markdown source.
8
+ *
9
+ * See the [User Content documentation page](https://satellite.algolia.com/layouts/user-content) for more information.
10
+ */
6
11
  export var UserContent = function UserContent(_ref) {
7
12
  var className = _ref.className,
8
13
  content = _ref.content,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/satellite",
3
- "version": "1.0.0-beta.170",
3
+ "version": "1.0.0-beta.172",
4
4
  "description": "Algolia design system React components",
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",