@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
@@ -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;
@@ -12,9 +12,9 @@ var _jsxRuntime = require("react/jsx-runtime");
12
12
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
13
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14
14
  /**
15
- * IconButtons are useful in situations where you are limited on space or the action is self-explanatory with just an icon.
15
+ * The `IconButton` component is used to trigger user actions (like "Add", "Close" or "Save"). It can only contain an icon.
16
16
  *
17
- * Please refer to the `Button` guidelines.
17
+ * See the [Icon Button documentation page](https://satellite.algolia.com/components/actions/icon-button) for more information.
18
18
  */
19
19
  var IconButton = exports.IconButton = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
20
20
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PolymorphicIconButton.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/cjs/Card/Card.js CHANGED
@@ -24,7 +24,11 @@ var ELEVATION_CLASSNAMES = {
24
24
  "400": (0, _satellitePrefixer["default"])(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["card-z400"]))),
25
25
  "500": (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["card-z500"])))
26
26
  };
27
- /** The `Card` is a useful component for containing content within a page. */
27
+ /**
28
+ * The `Card` component is a useful for containing content within a page.
29
+ *
30
+ * See the [Card documentation page](https://satellite.algolia.com/layouts/card) for more information.
31
+ */
28
32
  var Card = exports.Card = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
29
33
  var className = _ref.className,
30
34
  _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;
@@ -30,10 +30,9 @@ var STATUS_CLASSNAMES = {
30
30
  };
31
31
 
32
32
  /**
33
- * When users need to make a range of selections (none, one, or several), checkboxes are a good input control.
33
+ * The `Checkbox` component is a control that allows single or multiple selections from a set of options.
34
34
  *
35
- * - 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)
36
- * - Checkboxes require the use of a button to apply the settings once they are selected
35
+ * See the [Checkbox documentation page](https://satellite.algolia.com/components/controls/checkbox) for more information.
37
36
  */
38
37
  var Checkbox = exports.Checkbox = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
39
38
  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;
@@ -23,6 +23,11 @@ var _jsxRuntime = require("react/jsx-runtime");
23
23
  var _templateObject, _templateObject2, _templateObject3, _templateObject4;
24
24
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
25
25
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
26
+ /**
27
+ * The `DatePicker` component allows users to easily select a date, featuring a calendar view, month/year navigation, and custom options.
28
+ *
29
+ * See the [Date Picker documentation page](https://satellite.algolia.com/layouts/date-picker) for more information.
30
+ */
26
31
  var DatePicker = exports.DatePicker = function DatePicker(props) {
27
32
  var _props$initialValue, _props$validate, _props$calendarProps;
28
33
  var contextLocale = (0, _Satellite.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;
@@ -33,6 +33,12 @@ var defaultValidator = function defaultValidator(_ref) {
33
33
  var DEFAULT_DATE_RANGE_PICKER_LOCALE = _objectSpread(_objectSpread({}, _utils.DEFAULT_DATE_PICKER_LOCALE), {}, {
34
34
  openButton: "Enter a date period..."
35
35
  });
36
+
37
+ /**
38
+ * The `DateRangePicker` component allows selection of start and end dates using two calendars, ideal for planning and scheduling.
39
+ *
40
+ * See the [Date Range Picker documentation page](https://satellite.algolia.com/layouts/date-range-picker) for more information.
41
+ */
36
42
  var DateRangePicker = exports.DateRangePicker = function DateRangePicker(_ref2) {
37
43
  var _validate, _displayedRange$start, _initialRange$start;
38
44
  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;
@@ -37,14 +37,9 @@ var DEFAULT_DROPDOWN_POPPER_MODIFIERS = exports.DEFAULT_DROPDOWN_POPPER_MODIFIER
37
37
  }];
38
38
 
39
39
  /**
40
- * ## Best practices
41
- * - Sort list of options in a way that will make the most sense to the user. You can order:
42
- * - alphabetically
43
- * - numerically
44
- * - by most commonly selected option
45
- * - Write in sentence case (the first word capitalized, the rest lowercase) and avoid using commas or semicolons at the end of each option
46
- * - Clearly label options based on what each one will do
47
- * - Make sure the most common options are listed. These can be grouped into sub-categories under headings
40
+ * The `Dropdown` component helps users select an item from a list of available options.
41
+ *
42
+ * See the [Dropdown documentation page](https://satellite.algolia.com/components/actions/dropdown) for more information.
48
43
  */
49
44
  var Dropdown = exports.Dropdown = function Dropdown(_ref) {
50
45
  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;
@@ -48,6 +48,12 @@ var ValidatedIcon = function ValidatedIcon() {
48
48
  className: (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["mr-4 h-4 w-4 text-white bg-accent-600 p-px rounded-full"])))
49
49
  });
50
50
  };
51
+
52
+ /**
53
+ * The `Dropzone` component is used to upload files.
54
+ *
55
+ * See the [Dropzone documentation page](https://satellite.algolia.com/components/forms/dropzone) for more information.
56
+ */
51
57
  var Dropzone = exports.Dropzone = function Dropzone(_ref2) {
52
58
  var id = _ref2.id,
53
59
  placeholder = _ref2.placeholder,
@@ -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;
@@ -94,28 +94,9 @@ var renderEmptyState = function renderEmptyState(_ref) {
94
94
  };
95
95
 
96
96
  /**
97
- * 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.
97
+ * 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.
98
98
  *
99
- * #### Features empty state
100
- * - 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
101
- *
102
- * #### Cards empty state
103
- * - 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
104
- *
105
- * #### Results/Data empty states
106
- * - 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
107
- *
108
- * ## Best practices
109
- *
110
- * Empty states should:
111
- *
112
- * - Orient users by clearly explaining the benefit and utility of a product or feature
113
- * - Simplify a complicated experience by focusing on a few key features and benefits
114
- * - Use simple and clear language that empowers users to move their business forward
115
- * - Be encouraging and never make users feel unsuccessful or guilty because they haven't used a product or feature
116
- * - Explain the steps users need to take to activate a product or feature
117
- * - Use illustrations thoughtfully
118
- * - Use only one primary call-to-action button
99
+ * See the [Empty State documentation page](https://satellite.algolia.com/layouts/empty-state) for more information.
119
100
  */
120
101
  var EmptyState = exports.EmptyState = function EmptyState(props) {
121
102
  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;
@@ -15,38 +15,9 @@ var _FieldContext = require("./FieldContext");
15
15
  var _jsxRuntime = require("react/jsx-runtime");
16
16
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9;
17
17
  /**
18
- * 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
18
+ * The `Field` component is a helper that wraps inputs to streamline labeling, validation, integration into a form.
19
19
  *
20
- * ## Structure
21
- * - **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
22
- * - **Placeholder text**: Use to provide additional, non-critical instructions around how they should use the field. Try using examples over instructions whenever possible
23
- * - **Helper text**: Use to give additional context or extra guidance. Only use this where clarification is required, and try not to overuse it
24
- * - 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
25
- *
26
- * ## Validation behavior
27
- * - **Validation icon**: helps indicate what state the field has. This can manifest as validation (error, success) or utility (show/hide password, clear)
28
- * - **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
29
- *
30
- * ## Content guidelines
31
- * #### Field label
32
- * - Place above the form field
33
- * - Keep it short and succinct (1–3 words)
34
- * - Write in sentence case (the first word capitalized, the rest lowercase)
35
- *
36
- * #### Field placeholder
37
- * - 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)
38
- * - Use examples instead of instructions whenever possible
39
- * - Include “E.g.:” before an example
40
- *
41
- * #### Help / error text
42
- * - Clearly explain what is expected (help) or what went wrong and how to fix it (error)
43
- * - Be short and concise, no more than a single sentence
44
- * - Use passive voice so users don't feel like they're being blamed for the error
45
- *
46
- * #### Designating optional fields
47
- * - Try to only ask for information that's required
48
- * - 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
49
- * - Don't mark required fields with asterisks
20
+ * See the [Field documentation page](https://satellite.algolia.com/components/forms/field) for more information.
50
21
  */
51
22
  var Field = exports.Field = function Field(_ref) {
52
23
  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/cjs/Flag/Flag.js CHANGED
@@ -40,6 +40,12 @@ var VARIANT_SPINNER_CLASSNAMES = {
40
40
  orange: (0, _satellitePrefixer["default"])(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2["default"])(["border-orange-500"]))),
41
41
  red: (0, _satellitePrefixer["default"])(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2["default"])(["border-red-500"])))
42
42
  };
43
+
44
+ /**
45
+ * The `Toast` component is a brief notification that providing timely feedback to users before vanishing after a short duration.
46
+ *
47
+ * See the [Toast documentation page](https://satellite.algolia.com/components/feedback/toast) for more information.
48
+ */
43
49
  var Flag = exports.Flag = function Flag(_ref) {
44
50
  var onDismiss = _ref.onDismiss,
45
51
  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;
@@ -38,6 +38,12 @@ var DISTRIBUTION_CLASSNAMES = {
38
38
  fill: (0, _satellitePrefixer["default"])(_templateObject16 || (_templateObject16 = (0, _taggedTemplateLiteral2["default"])(["flex-grid-d-fill"]))),
39
39
  fillEvenly: (0, _satellitePrefixer["default"])(_templateObject17 || (_templateObject17 = (0, _taggedTemplateLiteral2["default"])(["flex-grid-d-fill-even"])))
40
40
  };
41
+
42
+ /**
43
+ * The `FlexGrid` component is a wrapper component that allows you to easily create a flexbox layout.
44
+ *
45
+ * See the [Flex Grid documentation page](https://satellite.algolia.com/layouts/flex-grid) for more information.
46
+ */
41
47
  var FlexGrid = exports.FlexGrid = function FlexGrid(_ref) {
42
48
  var className = _ref.className,
43
49
  _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;
@@ -16,6 +16,11 @@ var _templateObject, _templateObject2;
16
16
  var _excluded = ["className", "children", "tooltipClassName", "tooltipContent"];
17
17
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18
18
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19
+ /**
20
+ * The `HelpUnderline` component is used to display a help underline with a tooltip.
21
+ *
22
+ * See the [Help Underline documentation page](https://satellite.algolia.com/components/misc/help-underline) for more information.
23
+ */
19
24
  var HelpUnderline = exports.HelpUnderline = function HelpUnderline(_ref) {
20
25
  var className = _ref.className,
21
26
  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;
@@ -57,11 +57,9 @@ var ValidatedIcon = function ValidatedIcon() {
57
57
  };
58
58
 
59
59
  /**
60
- * 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
60
+ * The `Input` component is a flexible, user-friendly component for efficient text and number entry across forms and applications.
61
61
  *
62
- * ## Variations
63
- * #### Number input
64
- * - **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
62
+ * See the [Input documentation page](https://satellite.algolia.com/components/forms/input) for more information.
65
63
  */
66
64
  var Input = exports.Input = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, externalRef) {
67
65
  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;
@@ -12,35 +12,9 @@ var _onlyText = _interopRequireDefault(require("../utils/onlyText"));
12
12
  var _jsxRuntime = require("react/jsx-runtime");
13
13
  var _templateObject, _templateObject2, _templateObject3, _templateObject4;
14
14
  /**
15
- * Put more emphasis on side content.
16
-
17
- * ## Examples
18
- * [See the component in Figma](https://www.figma.com/file/99l59il97k2n5y4n6Jucal/%5BSatellite%5D-Components?node-id=2912%3A279499)
19
-
20
- * ## Current Status
21
- * - [x] Figma
22
- * - [x] React
23
- * - [ ] Documentation
24
-
25
- * ## Component structure
26
- * 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.
27
-
28
- * ## Guidelines
29
-
30
- * ### How to use it?
31
- * 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.
32
-
33
- * ### How to NOT use it?
34
- * - Don't use this component to display temporary and/or critical information, use an Alert instead.
35
-
36
- * ### Variants
37
- * - Grey background
38
-
39
- * ### Do's and Don't
40
- * TODO
41
-
42
- * ## Accessibility
43
- * TODO
15
+ * 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.
16
+ *
17
+ * See the [Insert documentation page](https://satellite.algolia.com/layouts/insert) for more information.
44
18
  */
45
19
  var Insert = exports.Insert = function Insert(_ref) {
46
20
  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>;
@@ -20,6 +20,11 @@ var KEY_MAPPINGS = {
20
20
  enter: _reactFeather.CornerDownLeft,
21
21
  escape: "esc"
22
22
  };
23
+ /**
24
+ * The `KeyboardKey` component is used to display a keyboard key.
25
+ *
26
+ * See the [Keyboard Key documentation page](https://satellite.algolia.com/components/misc/keyboard-key) for more information.
27
+ */
23
28
  var KeyboardKey = exports.KeyboardKey = function KeyboardKey(_ref) {
24
29
  var className = _ref.className,
25
30
  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>>;
@@ -15,6 +15,11 @@ var _jsxRuntime = require("react/jsx-runtime");
15
15
  var _excluded = ["endIcon", "href", "onClick"];
16
16
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17
17
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18
+ /**
19
+ * The `ButtonLink` component is used to display a link as a button.
20
+ *
21
+ * See the [Link documentation page](https://satellite.algolia.com/components/navigation/link) for more information.
22
+ */
18
23
  var ButtonLink = exports.ButtonLink = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
19
24
  var EndIcon = _ref.endIcon,
20
25
  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>>;
@@ -14,6 +14,11 @@ var _jsxRuntime = require("react/jsx-runtime");
14
14
  var _excluded = ["href", "onClick"];
15
15
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16
16
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17
+ /**
18
+ * The `ButtonLink` component is used to display a link as an icon button.
19
+ *
20
+ * See the [Link documentation page](https://satellite.algolia.com/components/navigation/link) for more information.
21
+ */
17
22
  var IconButtonLink = exports.IconButtonLink = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
18
23
  var href = _ref.href,
19
24
  onClick = _ref.onClick,