@algolia/satellite 2.3.0 → 2.5.0

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 (466) hide show
  1. package/dist/cjs/Actions/Accordion/Accordion.d.ts +16 -8
  2. package/dist/cjs/Actions/Accordion/Accordion.js +104 -57
  3. package/dist/cjs/Actions/Accordion/Accordion.styles.d.ts +170 -0
  4. package/dist/cjs/Actions/Accordion/Accordion.styles.js +57 -0
  5. package/dist/cjs/Actions/Accordion/Accordion.tailwind.d.ts +1 -1
  6. package/dist/cjs/Actions/Button/Button.d.ts +1 -2
  7. package/dist/cjs/Actions/Button/Button.tailwind.d.ts +1 -1
  8. package/dist/cjs/Actions/Button/PolymorphicButton.d.ts +2 -2
  9. package/dist/cjs/Actions/Button/PolymorphicIconButton.d.ts +2 -3
  10. package/dist/cjs/Actions/Button/types.d.ts +7 -7
  11. package/dist/cjs/Actions/ButtonLink/ButtonLink.d.ts +2 -3
  12. package/dist/cjs/Actions/IconButton/IconButton.d.ts +1 -2
  13. package/dist/cjs/Actions/IconButtonLink/IconButtonLink.d.ts +1 -2
  14. package/dist/cjs/Actions/IconButtonWithFeedback/IconButtonWithFeedback.d.ts +2 -2
  15. package/dist/cjs/Actions/SegmentedControl/SegmentedControl.tailwind.d.ts +1 -1
  16. package/dist/cjs/Actions/SegmentedControl/types.d.ts +1 -1
  17. package/dist/cjs/Actions/ToggleButton/ToggleButton.d.ts +1 -1
  18. package/dist/cjs/Actions/ToggleButton/ToggleButtonBase.d.ts +3 -3
  19. package/dist/cjs/Actions/ToggleGroup/ToggleGroup.d.ts +6 -6
  20. package/dist/cjs/Actions/ToggleGroup/ToggleGroup.tailwind.d.ts +1 -1
  21. package/dist/cjs/Chat/ChatContextAccordion/ChatContextAccordion.d.ts +1 -1
  22. package/dist/cjs/Chat/ChatContextAccordion/ChatContextAccordion.styles.d.ts +4 -4
  23. package/dist/cjs/Chat/ChatContextContainer/ChatContextContainer.d.ts +23 -0
  24. package/dist/cjs/Chat/ChatContextContainer/ChatContextContainer.js +72 -0
  25. package/dist/cjs/Chat/ChatContextContainer/ChatContextContainer.styles.d.ts +65 -0
  26. package/dist/cjs/Chat/ChatContextContainer/ChatContextContainer.styles.js +22 -0
  27. package/dist/cjs/Chat/ChatContextContainer/index.d.ts +1 -0
  28. package/dist/cjs/Chat/ChatContextContainer/index.js +16 -0
  29. package/dist/cjs/Chat/ChatContextContainer/theme.d.ts +57 -0
  30. package/dist/cjs/Chat/ChatContextContainer/theme.js +73 -0
  31. package/dist/cjs/Chat/ChatMessage/ChatMessage.d.ts +5 -54
  32. package/dist/cjs/Chat/ChatMessage/ChatMessage.styles.d.ts +1 -1
  33. package/dist/cjs/Chat/ChatMessageError/ChatMessageError.d.ts +6 -6
  34. package/dist/cjs/Chat/ChatMessageError/ChatMessageError.styles.d.ts +2 -2
  35. package/dist/cjs/Chat/ChatMessageLoader/ChatMessageLoader.d.ts +2 -2
  36. package/dist/cjs/Chat/ChatMessageLoader/ChatMessageLoader.styles.d.ts +2 -2
  37. package/dist/cjs/Chat/ChatMessages/ChatMessages.d.ts +5 -66
  38. package/dist/cjs/Chat/ChatMessages/ChatMessages.js +0 -1
  39. package/dist/cjs/Chat/ChatPrompt/ChatPrompt.d.ts +9 -9
  40. package/dist/cjs/Chat/ChatPrompt/useFocusTyping.d.ts +1 -2
  41. package/dist/cjs/Chat/helpers.d.ts +28 -0
  42. package/dist/cjs/Chat/helpers.js +68 -0
  43. package/dist/cjs/Chat/index.d.ts +4 -1
  44. package/dist/cjs/Chat/index.js +33 -1
  45. package/dist/cjs/Chat/types.d.ts +22 -3
  46. package/dist/cjs/Fields/AutoComplete/AutoComplete.d.ts +1 -2
  47. package/dist/cjs/Fields/AutoComplete/AutoComplete.tailwind.d.ts +1 -1
  48. package/dist/cjs/Fields/AutoComplete/components/AutoCompleteContext.d.ts +2 -2
  49. package/dist/cjs/Fields/AutoComplete/components/DefaultOptionItem.d.ts +1 -1
  50. package/dist/cjs/Fields/AutoComplete/types.d.ts +8 -8
  51. package/dist/cjs/Fields/Checkbox/Checkbox.d.ts +3 -3
  52. package/dist/cjs/Fields/Checkbox/Checkbox.tailwind.d.ts +1 -1
  53. package/dist/cjs/Fields/DateInput/DateInput.d.ts +2 -3
  54. package/dist/cjs/Fields/DatePicker/DatePicker/DatePicker.d.ts +1 -1
  55. package/dist/cjs/Fields/DatePicker/DatePicker/datePickerReducer.d.ts +1 -1
  56. package/dist/cjs/Fields/DatePicker/DatePicker.tailwind.d.ts +1 -1
  57. package/dist/cjs/Fields/DatePicker/DateRangePicker/DateRangePicker.d.ts +1 -1
  58. package/dist/cjs/Fields/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +0 -1
  59. package/dist/cjs/Fields/DatePicker/DateRangePicker/dateRangePickerReducer.d.ts +1 -1
  60. package/dist/cjs/Fields/DatePicker/DateRangePicker/dateRangePickerTimeRange.d.ts +1 -1
  61. package/dist/cjs/Fields/DatePicker/components/Calendar.d.ts +3 -3
  62. package/dist/cjs/Fields/DatePicker/components/Footer.d.ts +1 -1
  63. package/dist/cjs/Fields/DatePicker/components/FooterActions.d.ts +0 -1
  64. package/dist/cjs/Fields/DatePicker/components/NavBar.d.ts +1 -1
  65. package/dist/cjs/Fields/DatePicker/components/SidePanel.d.ts +1 -1
  66. package/dist/cjs/Fields/DatePicker/types.d.ts +2 -2
  67. package/dist/cjs/Fields/DateRangeInput/DateRangeInput.d.ts +2 -3
  68. package/dist/cjs/Fields/Dropzone/Dropzone.d.ts +2 -3
  69. package/dist/cjs/Fields/Field/FieldContext.d.ts +2 -3
  70. package/dist/cjs/Fields/Field/useField.d.ts +1 -1
  71. package/dist/cjs/Fields/FilePicker/FilePicker.d.ts +4 -5
  72. package/dist/cjs/Fields/Form/Form.d.ts +1 -1
  73. package/dist/cjs/Fields/Form/FormContext.d.ts +2 -3
  74. package/dist/cjs/Fields/Input/Input.d.ts +3 -3
  75. package/dist/cjs/Fields/Input/Input.tailwind.d.ts +1 -1
  76. package/dist/cjs/Fields/RadioGroup/RadioButton.d.ts +1 -1
  77. package/dist/cjs/Fields/RadioGroup/RadioButton.tailwind.d.ts +1 -1
  78. package/dist/cjs/Fields/RadioGroup/RadioGroup.d.ts +5 -5
  79. package/dist/cjs/Fields/RadioGroup/RadioGroupItem.d.ts +4 -4
  80. package/dist/cjs/Fields/RangeSlider/RangeSlider.d.ts +5 -5
  81. package/dist/cjs/Fields/Select/Select.d.ts +1 -1
  82. package/dist/cjs/Fields/Select/Select.tailwind.d.ts +1 -1
  83. package/dist/cjs/Fields/SelectableCard/SelectableCard.d.ts +2 -2
  84. package/dist/cjs/Fields/SelectableCard/SelectableCardGroup.d.ts +2 -2
  85. package/dist/cjs/Fields/Switch/Switch.d.ts +7 -7
  86. package/dist/cjs/Fields/Switch/Switch.tailwind.d.ts +1 -1
  87. package/dist/cjs/Fields/TextArea/TextArea.d.ts +1 -1
  88. package/dist/cjs/Fields/TextArea/TextArea.tailwind.d.ts +1 -1
  89. package/dist/cjs/Fields/TextArea/TextArea.tailwind.js +3 -3
  90. package/dist/cjs/Fields/TextAreaAutoSize/TextAreaAutoSize.d.ts +3 -4
  91. package/dist/cjs/Helpers/ClickAwayContainer/ClickAwayContainer.d.ts +1 -1
  92. package/dist/cjs/Helpers/CodeEditor/CodeEditor.d.ts +1 -1
  93. package/dist/cjs/Helpers/HelpUnderline/HelpUnderline.d.ts +1 -1
  94. package/dist/cjs/Helpers/HelpUnderline/HelpUnderline.tailwind.d.ts +1 -1
  95. package/dist/cjs/Helpers/InstantSearch/InstantSearch.tailwind.d.ts +1 -1
  96. package/dist/cjs/Helpers/MarkdownContent/MarkdownContent.d.ts +7 -0
  97. package/dist/cjs/Helpers/MarkdownContent/MarkdownContent.js +11 -5
  98. package/dist/cjs/Helpers/MarkdownContent/MarkdownContent.tailwind.d.ts +1 -1
  99. package/dist/cjs/Helpers/MarkdownContent/MarkdownContent.tailwind.js +2 -2
  100. package/dist/cjs/Helpers/ShimmerText/ShimmerText.d.ts +1 -1
  101. package/dist/cjs/Helpers/ShimmerText/ShimmerText.tailwind.d.ts +1 -1
  102. package/dist/cjs/Helpers/UserContent/UserContent.tailwind.d.ts +1 -1
  103. package/dist/cjs/Helpers/UserContent/UserContent.tailwind.js +1 -3
  104. package/dist/cjs/Helpers/utilities/focusable.tailwind.d.ts +1 -1
  105. package/dist/cjs/Helpers/utilities/overlay.tailwind.d.ts +1 -1
  106. package/dist/cjs/Helpers/utilities/utilities.tailwind.d.ts +1 -1
  107. package/dist/cjs/Icons/AlgoliaRecommendIcon.d.ts +0 -1
  108. package/dist/cjs/Icons/AlgoliaSearchIcon.d.ts +0 -1
  109. package/dist/cjs/Icons/BulbIcon.d.ts +0 -1
  110. package/dist/cjs/Icons/ContextIcon.d.ts +0 -1
  111. package/dist/cjs/Icons/CrawlerIcon.d.ts +0 -1
  112. package/dist/cjs/Icons/DragHandleIcon.d.ts +0 -1
  113. package/dist/cjs/Icons/NeuralSearchIcon.d.ts +0 -1
  114. package/dist/cjs/Icons/NoFiltersIcon.d.ts +0 -1
  115. package/dist/cjs/Icons/PinIcon.d.ts +0 -1
  116. package/dist/cjs/Icons/QueryBreakdownIcon.d.ts +0 -1
  117. package/dist/cjs/Icons/RocketIcon.d.ts +0 -1
  118. package/dist/cjs/Icons/SettingsCategoryPagesIcon.d.ts +0 -1
  119. package/dist/cjs/Icons/SettingsConsequencesIcon.d.ts +0 -1
  120. package/dist/cjs/Icons/TestingIcon.d.ts +0 -1
  121. package/dist/cjs/Icons/UnpinIcon.d.ts +0 -1
  122. package/dist/cjs/Icons/WorkspaceSwitcherIcon.d.ts +0 -1
  123. package/dist/cjs/Icons/index.d.ts +2 -2
  124. package/dist/cjs/Illustrations/index.d.ts +7 -0
  125. package/dist/cjs/Illustrations/index.js +1254 -0
  126. package/dist/cjs/Indicators/AnnouncementBadge/AnnouncementBadge.d.ts +3 -3
  127. package/dist/cjs/Indicators/Avatars/ApplicationAvatar/ApplicationAvatar.d.ts +1 -1
  128. package/dist/cjs/Indicators/Avatars/UserAvatar/UserAvatar.d.ts +2 -2
  129. package/dist/cjs/Indicators/Avatars/types.d.ts +5 -5
  130. package/dist/cjs/Indicators/Badge/Badge.d.ts +4 -4
  131. package/dist/cjs/Indicators/Banners/Alert/Alert.d.ts +2 -2
  132. package/dist/cjs/Indicators/Banners/Promote/Promote.d.ts +2 -2
  133. package/dist/cjs/Indicators/EmptyState/EmptyState.js +35 -2
  134. package/dist/cjs/Indicators/EmptyState/types.d.ts +7 -6
  135. package/dist/cjs/Indicators/KeyboardKey/KeyboardKey.tailwind.d.ts +1 -1
  136. package/dist/cjs/Indicators/Medallion/Medallion.tailwind.d.ts +1 -1
  137. package/dist/cjs/Indicators/Medallion/types.d.ts +2 -2
  138. package/dist/cjs/Indicators/ProgressBar/ProgressBar.tailwind.d.ts +1 -1
  139. package/dist/cjs/Indicators/ProgressSpinner/ProgressSpinner.d.ts +1 -1
  140. package/dist/cjs/Indicators/ProgressSpinner/ProgressSpinner.tailwind.d.ts +1 -1
  141. package/dist/cjs/Indicators/ScrollIndicator/ScrollIndicator.d.ts +1 -1
  142. package/dist/cjs/Indicators/ScrollIndicator/ScrollIndicator.tailwind.d.ts +1 -1
  143. package/dist/cjs/Indicators/Separator/Separator.tailwind.d.ts +1 -1
  144. package/dist/cjs/Indicators/Tag/Tag.d.ts +2 -2
  145. package/dist/cjs/Indicators/Tag/Tag.tailwind.d.ts +1 -1
  146. package/dist/cjs/Indicators/Toast/Toast.d.ts +2 -2
  147. package/dist/cjs/Indicators/Toast/Toast.tailwind.d.ts +1 -1
  148. package/dist/cjs/Indicators/Toast/Toasts.d.ts +1 -1
  149. package/dist/cjs/Indicators/Toast/types.d.ts +1 -1
  150. package/dist/cjs/Layout/Card/Card.d.ts +2 -2
  151. package/dist/cjs/Layout/Card/Card.tailwind.d.ts +1 -1
  152. package/dist/cjs/Layout/Card/components/CardHeader.d.ts +1 -1
  153. package/dist/cjs/Layout/Card/components/CardTitle.d.ts +2 -2
  154. package/dist/cjs/Layout/CollapsibleCard/CollapsibleCard.d.ts +6 -6
  155. package/dist/cjs/Layout/CollapsibleCard/CollapsibleCard.tailwind.d.ts +1 -1
  156. package/dist/cjs/Layout/FlexGrid/FlexGrid.d.ts +4 -4
  157. package/dist/cjs/Layout/FlexGrid/FlexGrid.tailwind.d.ts +1 -1
  158. package/dist/cjs/Layout/Insert/Insert.d.ts +1 -1
  159. package/dist/cjs/Layout/Sidebar/Sidebar.d.ts +1 -1
  160. package/dist/cjs/Layout/Sidebar/SidebarButtonLink.d.ts +1 -1
  161. package/dist/cjs/Layout/Sidebar/SidebarContext.d.ts +1 -2
  162. package/dist/cjs/Layout/Sidebar/SidebarHeader.d.ts +1 -1
  163. package/dist/cjs/Layout/Sidebar/SidebarHeading.d.ts +1 -1
  164. package/dist/cjs/Layout/Sidebar/SidebarLink.d.ts +1 -1
  165. package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +1 -1
  166. package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +1 -1
  167. package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +4 -4
  168. package/dist/cjs/Layout/Sidebar/SidebarLinksGroup/types.d.ts +1 -1
  169. package/dist/cjs/Layout/Sidebar/SidebarNav.d.ts +2 -2
  170. package/dist/cjs/Layout/Sidebar/types.d.ts +3 -3
  171. package/dist/cjs/Layout/Tables/DataTable/DataTable.d.ts +7 -7
  172. package/dist/cjs/Layout/Tables/DataTable/DataTable.tailwind.d.ts +1 -1
  173. package/dist/cjs/Layout/Tables/DataTable/types.d.ts +7 -7
  174. package/dist/cjs/Layout/Tables/Table/Table.d.ts +1 -1
  175. package/dist/cjs/Layout/Tables/Table/Table.tailwind.d.ts +1 -1
  176. package/dist/cjs/Layout/Tables/Table/components/TableFooter.d.ts +2 -2
  177. package/dist/cjs/Navigation/Link/BaseLink.d.ts +1 -1
  178. package/dist/cjs/Navigation/Link/Link.d.ts +4 -4
  179. package/dist/cjs/Navigation/Pagination/CompactPagination/CompactPagination.d.ts +6 -6
  180. package/dist/cjs/Navigation/Pagination/DotPagination/DotPagination.d.ts +3 -3
  181. package/dist/cjs/Navigation/Pagination/Pagination/Pagination.d.ts +1 -1
  182. package/dist/cjs/Navigation/Stepper/Step.d.ts +1 -1
  183. package/dist/cjs/Navigation/Stepper/Stepper.d.ts +3 -3
  184. package/dist/cjs/Navigation/Stepper/StepperContext.d.ts +1 -2
  185. package/dist/cjs/Navigation/Stepper/types.d.ts +1 -1
  186. package/dist/cjs/Navigation/Tabs/Tabs.tailwind.d.ts +1 -1
  187. package/dist/cjs/Navigation/Tabs/types.d.ts +1 -1
  188. package/dist/cjs/Overlay/MenuButton/MenuButton.d.ts +16 -17
  189. package/dist/cjs/Overlay/MenuButton/components/Content.d.ts +1 -2
  190. package/dist/cjs/Overlay/MenuButton/components/CustomTrigger.d.ts +1 -2
  191. package/dist/cjs/Overlay/MenuButton/components/DefaultTrigger.d.ts +1 -2
  192. package/dist/cjs/Overlay/MenuButton/components/Divider.d.ts +0 -1
  193. package/dist/cjs/Overlay/MenuButton/components/Label.d.ts +1 -1
  194. package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItem.d.ts +1 -1
  195. package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItemsGroup.d.ts +1 -1
  196. package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItemsGroupContext.d.ts +0 -1
  197. package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItemsMultipleGroup.d.ts +1 -1
  198. package/dist/cjs/Overlay/MenuButton/components/collapsible/CollapsibleItemsSingleGroup.d.ts +1 -1
  199. package/dist/cjs/Overlay/MenuButton/components/items/Item.d.ts +4 -5
  200. package/dist/cjs/Overlay/MenuButton/components/items/LinkItem.d.ts +2 -2
  201. package/dist/cjs/Overlay/MenuButton/components/items/RadioItem.d.ts +2 -2
  202. package/dist/cjs/Overlay/Modal/Modal.d.ts +4 -4
  203. package/dist/cjs/Overlay/Modal/Modal.tailwind.d.ts +1 -1
  204. package/dist/cjs/Overlay/Modal/components/ModalFooter.d.ts +1 -1
  205. package/dist/cjs/Overlay/Modal/components/ModalFooter.js +2 -7
  206. package/dist/cjs/Overlay/Modal/components/ModalSection.d.ts +1 -1
  207. package/dist/cjs/Overlay/Popover/types.d.ts +4 -4
  208. package/dist/cjs/Overlay/Tooltip/Tooltip.d.ts +1 -1
  209. package/dist/cjs/Overlay/Tooltip/Tooltip.tailwind.d.ts +1 -1
  210. package/dist/cjs/Satellite/SatelliteContext.d.ts +0 -1
  211. package/dist/cjs/Satellite/locale.d.ts +1 -1
  212. package/dist/cjs/Satellite/useCreatePortal.d.ts +1 -1
  213. package/dist/cjs/Typography/Typography.tailwind.d.ts +1 -1
  214. package/dist/cjs/index.d.ts +1 -0
  215. package/dist/cjs/index.js +12 -0
  216. package/dist/cjs/styles/base.tailwind.d.ts +1 -1
  217. package/dist/cjs/styles/brandColors.d.ts +6 -6
  218. package/dist/cjs/styles/colors.d.ts +11 -11
  219. package/dist/cjs/styles/helpers/satellitePrefixer.d.ts +1 -1
  220. package/dist/cjs/styles/tailwind.config.d.ts +1 -1
  221. package/dist/cjs/styles/tailwind.config.js +1 -1
  222. package/dist/cjs/styles/zIndexes.d.ts +8 -8
  223. package/dist/cjs/types.d.ts +11 -5
  224. package/dist/cjs/utils/NumberUnion.d.ts +3 -3
  225. package/dist/cjs/utils/genericChangeHandler.d.ts +2 -2
  226. package/dist/cjs/utils/isCssPropertySupported.d.ts +1 -1
  227. package/dist/cjs/utils/isRenderedChild.d.ts +1 -1
  228. package/dist/cjs/utils/matchLocation.d.ts +1 -1
  229. package/dist/cjs/utils/parseUrl.d.ts +1 -1
  230. package/dist/cjs/utils/useLinkProps.d.ts +2 -2
  231. package/dist/cjs/utils/useTimeoutFn.d.ts +1 -1
  232. package/dist/cjs/utils/useTriggerInputChange.d.ts +1 -1
  233. package/dist/esm/Actions/Accordion/Accordion.d.ts +16 -8
  234. package/dist/esm/Actions/Accordion/Accordion.js +105 -58
  235. package/dist/esm/Actions/Accordion/Accordion.styles.d.ts +170 -0
  236. package/dist/esm/Actions/Accordion/Accordion.styles.js +50 -0
  237. package/dist/esm/Actions/Accordion/Accordion.tailwind.d.ts +1 -1
  238. package/dist/esm/Actions/Button/Button.d.ts +1 -2
  239. package/dist/esm/Actions/Button/Button.tailwind.d.ts +1 -1
  240. package/dist/esm/Actions/Button/PolymorphicButton.d.ts +2 -2
  241. package/dist/esm/Actions/Button/PolymorphicIconButton.d.ts +2 -3
  242. package/dist/esm/Actions/Button/types.d.ts +7 -7
  243. package/dist/esm/Actions/ButtonLink/ButtonLink.d.ts +2 -3
  244. package/dist/esm/Actions/IconButton/IconButton.d.ts +1 -2
  245. package/dist/esm/Actions/IconButtonLink/IconButtonLink.d.ts +1 -2
  246. package/dist/esm/Actions/IconButtonWithFeedback/IconButtonWithFeedback.d.ts +2 -2
  247. package/dist/esm/Actions/SegmentedControl/SegmentedControl.tailwind.d.ts +1 -1
  248. package/dist/esm/Actions/SegmentedControl/types.d.ts +1 -1
  249. package/dist/esm/Actions/ToggleButton/ToggleButton.d.ts +1 -1
  250. package/dist/esm/Actions/ToggleButton/ToggleButtonBase.d.ts +3 -3
  251. package/dist/esm/Actions/ToggleGroup/ToggleGroup.d.ts +6 -6
  252. package/dist/esm/Actions/ToggleGroup/ToggleGroup.tailwind.d.ts +1 -1
  253. package/dist/esm/Chat/ChatContextAccordion/ChatContextAccordion.d.ts +1 -1
  254. package/dist/esm/Chat/ChatContextAccordion/ChatContextAccordion.styles.d.ts +4 -4
  255. package/dist/esm/Chat/ChatContextContainer/ChatContextContainer.d.ts +23 -0
  256. package/dist/esm/Chat/ChatContextContainer/ChatContextContainer.js +66 -0
  257. package/dist/esm/Chat/ChatContextContainer/ChatContextContainer.styles.d.ts +65 -0
  258. package/dist/esm/Chat/ChatContextContainer/ChatContextContainer.styles.js +15 -0
  259. package/dist/esm/Chat/ChatContextContainer/index.d.ts +1 -0
  260. package/dist/esm/Chat/ChatContextContainer/index.js +1 -0
  261. package/dist/esm/Chat/ChatContextContainer/theme.d.ts +57 -0
  262. package/dist/esm/Chat/ChatContextContainer/theme.js +67 -0
  263. package/dist/esm/Chat/ChatMessage/ChatMessage.d.ts +5 -54
  264. package/dist/esm/Chat/ChatMessage/ChatMessage.styles.d.ts +1 -1
  265. package/dist/esm/Chat/ChatMessageError/ChatMessageError.d.ts +6 -6
  266. package/dist/esm/Chat/ChatMessageError/ChatMessageError.styles.d.ts +2 -2
  267. package/dist/esm/Chat/ChatMessageLoader/ChatMessageLoader.d.ts +2 -2
  268. package/dist/esm/Chat/ChatMessageLoader/ChatMessageLoader.styles.d.ts +2 -2
  269. package/dist/esm/Chat/ChatMessages/ChatMessages.d.ts +5 -66
  270. package/dist/esm/Chat/ChatMessages/ChatMessages.js +0 -1
  271. package/dist/esm/Chat/ChatPrompt/ChatPrompt.d.ts +9 -9
  272. package/dist/esm/Chat/ChatPrompt/useFocusTyping.d.ts +1 -2
  273. package/dist/esm/Chat/helpers.d.ts +28 -0
  274. package/dist/esm/Chat/helpers.js +60 -0
  275. package/dist/esm/Chat/index.d.ts +4 -1
  276. package/dist/esm/Chat/index.js +3 -1
  277. package/dist/esm/Chat/types.d.ts +22 -3
  278. package/dist/esm/Fields/AutoComplete/AutoComplete.d.ts +1 -2
  279. package/dist/esm/Fields/AutoComplete/AutoComplete.tailwind.d.ts +1 -1
  280. package/dist/esm/Fields/AutoComplete/components/AutoCompleteContext.d.ts +2 -2
  281. package/dist/esm/Fields/AutoComplete/components/DefaultOptionItem.d.ts +1 -1
  282. package/dist/esm/Fields/AutoComplete/types.d.ts +8 -8
  283. package/dist/esm/Fields/Checkbox/Checkbox.d.ts +3 -3
  284. package/dist/esm/Fields/Checkbox/Checkbox.tailwind.d.ts +1 -1
  285. package/dist/esm/Fields/DateInput/DateInput.d.ts +2 -3
  286. package/dist/esm/Fields/DatePicker/DatePicker/DatePicker.d.ts +1 -1
  287. package/dist/esm/Fields/DatePicker/DatePicker/datePickerReducer.d.ts +1 -1
  288. package/dist/esm/Fields/DatePicker/DatePicker.tailwind.d.ts +1 -1
  289. package/dist/esm/Fields/DatePicker/DateRangePicker/DateRangePicker.d.ts +1 -1
  290. package/dist/esm/Fields/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +0 -1
  291. package/dist/esm/Fields/DatePicker/DateRangePicker/dateRangePickerReducer.d.ts +1 -1
  292. package/dist/esm/Fields/DatePicker/DateRangePicker/dateRangePickerTimeRange.d.ts +1 -1
  293. package/dist/esm/Fields/DatePicker/components/Calendar.d.ts +3 -3
  294. package/dist/esm/Fields/DatePicker/components/Footer.d.ts +1 -1
  295. package/dist/esm/Fields/DatePicker/components/FooterActions.d.ts +0 -1
  296. package/dist/esm/Fields/DatePicker/components/NavBar.d.ts +1 -1
  297. package/dist/esm/Fields/DatePicker/components/SidePanel.d.ts +1 -1
  298. package/dist/esm/Fields/DatePicker/types.d.ts +2 -2
  299. package/dist/esm/Fields/DateRangeInput/DateRangeInput.d.ts +2 -3
  300. package/dist/esm/Fields/Dropzone/Dropzone.d.ts +2 -3
  301. package/dist/esm/Fields/Field/FieldContext.d.ts +2 -3
  302. package/dist/esm/Fields/Field/useField.d.ts +1 -1
  303. package/dist/esm/Fields/FilePicker/FilePicker.d.ts +4 -5
  304. package/dist/esm/Fields/Form/Form.d.ts +1 -1
  305. package/dist/esm/Fields/Form/FormContext.d.ts +2 -3
  306. package/dist/esm/Fields/Input/Input.d.ts +3 -3
  307. package/dist/esm/Fields/Input/Input.tailwind.d.ts +1 -1
  308. package/dist/esm/Fields/RadioGroup/RadioButton.d.ts +1 -1
  309. package/dist/esm/Fields/RadioGroup/RadioButton.tailwind.d.ts +1 -1
  310. package/dist/esm/Fields/RadioGroup/RadioGroup.d.ts +5 -5
  311. package/dist/esm/Fields/RadioGroup/RadioGroupItem.d.ts +4 -4
  312. package/dist/esm/Fields/RangeSlider/RangeSlider.d.ts +5 -5
  313. package/dist/esm/Fields/Select/Select.d.ts +1 -1
  314. package/dist/esm/Fields/Select/Select.tailwind.d.ts +1 -1
  315. package/dist/esm/Fields/SelectableCard/SelectableCard.d.ts +2 -2
  316. package/dist/esm/Fields/SelectableCard/SelectableCardGroup.d.ts +2 -2
  317. package/dist/esm/Fields/Switch/Switch.d.ts +7 -7
  318. package/dist/esm/Fields/Switch/Switch.tailwind.d.ts +1 -1
  319. package/dist/esm/Fields/TextArea/TextArea.d.ts +1 -1
  320. package/dist/esm/Fields/TextArea/TextArea.tailwind.d.ts +1 -1
  321. package/dist/esm/Fields/TextArea/TextArea.tailwind.js +3 -3
  322. package/dist/esm/Fields/TextAreaAutoSize/TextAreaAutoSize.d.ts +3 -4
  323. package/dist/esm/Helpers/ClickAwayContainer/ClickAwayContainer.d.ts +1 -1
  324. package/dist/esm/Helpers/CodeEditor/CodeEditor.d.ts +1 -1
  325. package/dist/esm/Helpers/HelpUnderline/HelpUnderline.d.ts +1 -1
  326. package/dist/esm/Helpers/HelpUnderline/HelpUnderline.tailwind.d.ts +1 -1
  327. package/dist/esm/Helpers/InstantSearch/InstantSearch.tailwind.d.ts +1 -1
  328. package/dist/esm/Helpers/MarkdownContent/MarkdownContent.d.ts +7 -0
  329. package/dist/esm/Helpers/MarkdownContent/MarkdownContent.js +11 -5
  330. package/dist/esm/Helpers/MarkdownContent/MarkdownContent.tailwind.d.ts +1 -1
  331. package/dist/esm/Helpers/MarkdownContent/MarkdownContent.tailwind.js +2 -2
  332. package/dist/esm/Helpers/ShimmerText/ShimmerText.d.ts +1 -1
  333. package/dist/esm/Helpers/ShimmerText/ShimmerText.tailwind.d.ts +1 -1
  334. package/dist/esm/Helpers/UserContent/UserContent.tailwind.d.ts +1 -1
  335. package/dist/esm/Helpers/UserContent/UserContent.tailwind.js +1 -3
  336. package/dist/esm/Helpers/utilities/focusable.tailwind.d.ts +1 -1
  337. package/dist/esm/Helpers/utilities/overlay.tailwind.d.ts +1 -1
  338. package/dist/esm/Helpers/utilities/utilities.tailwind.d.ts +1 -1
  339. package/dist/esm/Icons/AlgoliaRecommendIcon.d.ts +0 -1
  340. package/dist/esm/Icons/AlgoliaSearchIcon.d.ts +0 -1
  341. package/dist/esm/Icons/BulbIcon.d.ts +0 -1
  342. package/dist/esm/Icons/ContextIcon.d.ts +0 -1
  343. package/dist/esm/Icons/CrawlerIcon.d.ts +0 -1
  344. package/dist/esm/Icons/DragHandleIcon.d.ts +0 -1
  345. package/dist/esm/Icons/NeuralSearchIcon.d.ts +0 -1
  346. package/dist/esm/Icons/NoFiltersIcon.d.ts +0 -1
  347. package/dist/esm/Icons/PinIcon.d.ts +0 -1
  348. package/dist/esm/Icons/QueryBreakdownIcon.d.ts +0 -1
  349. package/dist/esm/Icons/RocketIcon.d.ts +0 -1
  350. package/dist/esm/Icons/SettingsCategoryPagesIcon.d.ts +0 -1
  351. package/dist/esm/Icons/SettingsConsequencesIcon.d.ts +0 -1
  352. package/dist/esm/Icons/TestingIcon.d.ts +0 -1
  353. package/dist/esm/Icons/UnpinIcon.d.ts +0 -1
  354. package/dist/esm/Icons/WorkspaceSwitcherIcon.d.ts +0 -1
  355. package/dist/esm/Icons/index.d.ts +2 -2
  356. package/dist/esm/Illustrations/index.d.ts +7 -0
  357. package/dist/esm/Illustrations/index.js +1248 -0
  358. package/dist/esm/Indicators/AnnouncementBadge/AnnouncementBadge.d.ts +3 -3
  359. package/dist/esm/Indicators/Avatars/ApplicationAvatar/ApplicationAvatar.d.ts +1 -1
  360. package/dist/esm/Indicators/Avatars/UserAvatar/UserAvatar.d.ts +2 -2
  361. package/dist/esm/Indicators/Avatars/types.d.ts +5 -5
  362. package/dist/esm/Indicators/Badge/Badge.d.ts +4 -4
  363. package/dist/esm/Indicators/Banners/Alert/Alert.d.ts +2 -2
  364. package/dist/esm/Indicators/Banners/Promote/Promote.d.ts +2 -2
  365. package/dist/esm/Indicators/EmptyState/EmptyState.js +35 -2
  366. package/dist/esm/Indicators/EmptyState/types.d.ts +7 -6
  367. package/dist/esm/Indicators/KeyboardKey/KeyboardKey.tailwind.d.ts +1 -1
  368. package/dist/esm/Indicators/Medallion/Medallion.tailwind.d.ts +1 -1
  369. package/dist/esm/Indicators/Medallion/types.d.ts +2 -2
  370. package/dist/esm/Indicators/ProgressBar/ProgressBar.tailwind.d.ts +1 -1
  371. package/dist/esm/Indicators/ProgressSpinner/ProgressSpinner.d.ts +1 -1
  372. package/dist/esm/Indicators/ProgressSpinner/ProgressSpinner.tailwind.d.ts +1 -1
  373. package/dist/esm/Indicators/ScrollIndicator/ScrollIndicator.d.ts +1 -1
  374. package/dist/esm/Indicators/ScrollIndicator/ScrollIndicator.tailwind.d.ts +1 -1
  375. package/dist/esm/Indicators/Separator/Separator.tailwind.d.ts +1 -1
  376. package/dist/esm/Indicators/Tag/Tag.d.ts +2 -2
  377. package/dist/esm/Indicators/Tag/Tag.tailwind.d.ts +1 -1
  378. package/dist/esm/Indicators/Toast/Toast.d.ts +2 -2
  379. package/dist/esm/Indicators/Toast/Toast.tailwind.d.ts +1 -1
  380. package/dist/esm/Indicators/Toast/Toasts.d.ts +1 -1
  381. package/dist/esm/Indicators/Toast/types.d.ts +1 -1
  382. package/dist/esm/Layout/Card/Card.d.ts +2 -2
  383. package/dist/esm/Layout/Card/Card.tailwind.d.ts +1 -1
  384. package/dist/esm/Layout/Card/components/CardHeader.d.ts +1 -1
  385. package/dist/esm/Layout/Card/components/CardTitle.d.ts +2 -2
  386. package/dist/esm/Layout/CollapsibleCard/CollapsibleCard.d.ts +6 -6
  387. package/dist/esm/Layout/CollapsibleCard/CollapsibleCard.tailwind.d.ts +1 -1
  388. package/dist/esm/Layout/FlexGrid/FlexGrid.d.ts +4 -4
  389. package/dist/esm/Layout/FlexGrid/FlexGrid.tailwind.d.ts +1 -1
  390. package/dist/esm/Layout/Insert/Insert.d.ts +1 -1
  391. package/dist/esm/Layout/Sidebar/Sidebar.d.ts +1 -1
  392. package/dist/esm/Layout/Sidebar/SidebarButtonLink.d.ts +1 -1
  393. package/dist/esm/Layout/Sidebar/SidebarContext.d.ts +1 -2
  394. package/dist/esm/Layout/Sidebar/SidebarHeader.d.ts +1 -1
  395. package/dist/esm/Layout/Sidebar/SidebarHeading.d.ts +1 -1
  396. package/dist/esm/Layout/Sidebar/SidebarLink.d.ts +1 -1
  397. package/dist/esm/Layout/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +1 -1
  398. package/dist/esm/Layout/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +1 -1
  399. package/dist/esm/Layout/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +4 -4
  400. package/dist/esm/Layout/Sidebar/SidebarLinksGroup/types.d.ts +1 -1
  401. package/dist/esm/Layout/Sidebar/SidebarNav.d.ts +2 -2
  402. package/dist/esm/Layout/Sidebar/types.d.ts +3 -3
  403. package/dist/esm/Layout/Tables/DataTable/DataTable.d.ts +7 -7
  404. package/dist/esm/Layout/Tables/DataTable/DataTable.tailwind.d.ts +1 -1
  405. package/dist/esm/Layout/Tables/DataTable/types.d.ts +7 -7
  406. package/dist/esm/Layout/Tables/Table/Table.d.ts +1 -1
  407. package/dist/esm/Layout/Tables/Table/Table.tailwind.d.ts +1 -1
  408. package/dist/esm/Layout/Tables/Table/components/TableFooter.d.ts +2 -2
  409. package/dist/esm/Navigation/Link/BaseLink.d.ts +1 -1
  410. package/dist/esm/Navigation/Link/Link.d.ts +4 -4
  411. package/dist/esm/Navigation/Pagination/CompactPagination/CompactPagination.d.ts +6 -6
  412. package/dist/esm/Navigation/Pagination/DotPagination/DotPagination.d.ts +3 -3
  413. package/dist/esm/Navigation/Pagination/Pagination/Pagination.d.ts +1 -1
  414. package/dist/esm/Navigation/Stepper/Step.d.ts +1 -1
  415. package/dist/esm/Navigation/Stepper/Stepper.d.ts +3 -3
  416. package/dist/esm/Navigation/Stepper/StepperContext.d.ts +1 -2
  417. package/dist/esm/Navigation/Stepper/types.d.ts +1 -1
  418. package/dist/esm/Navigation/Tabs/Tabs.tailwind.d.ts +1 -1
  419. package/dist/esm/Navigation/Tabs/types.d.ts +1 -1
  420. package/dist/esm/Overlay/MenuButton/MenuButton.d.ts +16 -17
  421. package/dist/esm/Overlay/MenuButton/components/Content.d.ts +1 -2
  422. package/dist/esm/Overlay/MenuButton/components/CustomTrigger.d.ts +1 -2
  423. package/dist/esm/Overlay/MenuButton/components/DefaultTrigger.d.ts +1 -2
  424. package/dist/esm/Overlay/MenuButton/components/Divider.d.ts +0 -1
  425. package/dist/esm/Overlay/MenuButton/components/Label.d.ts +1 -1
  426. package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItem.d.ts +1 -1
  427. package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItemsGroup.d.ts +1 -1
  428. package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItemsGroupContext.d.ts +0 -1
  429. package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItemsMultipleGroup.d.ts +1 -1
  430. package/dist/esm/Overlay/MenuButton/components/collapsible/CollapsibleItemsSingleGroup.d.ts +1 -1
  431. package/dist/esm/Overlay/MenuButton/components/items/Item.d.ts +4 -5
  432. package/dist/esm/Overlay/MenuButton/components/items/LinkItem.d.ts +2 -2
  433. package/dist/esm/Overlay/MenuButton/components/items/RadioItem.d.ts +2 -2
  434. package/dist/esm/Overlay/Modal/Modal.d.ts +4 -4
  435. package/dist/esm/Overlay/Modal/Modal.tailwind.d.ts +1 -1
  436. package/dist/esm/Overlay/Modal/components/ModalFooter.d.ts +1 -1
  437. package/dist/esm/Overlay/Modal/components/ModalFooter.js +2 -7
  438. package/dist/esm/Overlay/Modal/components/ModalSection.d.ts +1 -1
  439. package/dist/esm/Overlay/Popover/types.d.ts +4 -4
  440. package/dist/esm/Overlay/Tooltip/Tooltip.d.ts +1 -1
  441. package/dist/esm/Overlay/Tooltip/Tooltip.tailwind.d.ts +1 -1
  442. package/dist/esm/Satellite/SatelliteContext.d.ts +0 -1
  443. package/dist/esm/Satellite/locale.d.ts +1 -1
  444. package/dist/esm/Satellite/useCreatePortal.d.ts +1 -1
  445. package/dist/esm/Typography/Typography.tailwind.d.ts +1 -1
  446. package/dist/esm/index.d.ts +1 -0
  447. package/dist/esm/index.js +1 -0
  448. package/dist/esm/styles/base.tailwind.d.ts +1 -1
  449. package/dist/esm/styles/brandColors.d.ts +6 -6
  450. package/dist/esm/styles/colors.d.ts +11 -11
  451. package/dist/esm/styles/helpers/satellitePrefixer.d.ts +1 -1
  452. package/dist/esm/styles/tailwind.config.d.ts +1 -1
  453. package/dist/esm/styles/tailwind.config.js +1 -1
  454. package/dist/esm/styles/zIndexes.d.ts +8 -8
  455. package/dist/esm/types.d.ts +11 -5
  456. package/dist/esm/utils/NumberUnion.d.ts +3 -3
  457. package/dist/esm/utils/genericChangeHandler.d.ts +2 -2
  458. package/dist/esm/utils/isCssPropertySupported.d.ts +1 -1
  459. package/dist/esm/utils/isRenderedChild.d.ts +1 -1
  460. package/dist/esm/utils/matchLocation.d.ts +1 -1
  461. package/dist/esm/utils/parseUrl.d.ts +1 -1
  462. package/dist/esm/utils/useLinkProps.d.ts +2 -2
  463. package/dist/esm/utils/useTimeoutFn.d.ts +1 -1
  464. package/dist/esm/utils/useTriggerInputChange.d.ts +1 -1
  465. package/dist/satellite.min.css +1 -1
  466. package/package.json +10 -10
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  import type { DropzoneProps } from "../../Fields/Dropzone";
3
- export declare type FilePickerLocale = {
2
+ export type FilePickerLocale = {
4
3
  removeFile?: string;
5
4
  };
6
- export declare type FilePickerProps = DropzoneProps & {
5
+ export type FilePickerProps = DropzoneProps & {
7
6
  locale?: FilePickerLocale;
8
7
  /**
9
8
  * Whether the picked files can be cleared.
@@ -17,10 +16,10 @@ export declare type FilePickerProps = DropzoneProps & {
17
16
  * See the [FilePicker documentation page](https://satellite.algolia.com/8261d6576/p/56d52c-file-picker) for more information.
18
17
  */
19
18
  export declare const FilePicker: import("react").ForwardRefExoticComponent<import("../../Fields/Dropzone").DropzoneBaseProps & Omit<import("react-dropzone").DropzoneProps, "multiple" | "onDropAccepted" | "onDropRejected"> & {
20
- locale?: FilePickerLocale | undefined;
19
+ locale?: FilePickerLocale;
21
20
  /**
22
21
  * Whether the picked files can be cleared.
23
22
  * @default true
24
23
  */
25
- clearable?: boolean | undefined;
24
+ clearable?: boolean;
26
25
  } & import("react").RefAttributes<HTMLElement>>;
@@ -4,7 +4,7 @@ import type { ButtonProps } from "../../Actions";
4
4
  import type { AlertProps } from "../../Indicators";
5
5
  export interface FormProps extends HTMLAttributes<HTMLFormElement> {
6
6
  }
7
- export declare type FormLocale = {
7
+ export type FormLocale = {
8
8
  errorTitle?: (invalidFields: FormContextField[], extraErrors?: string[]) => ReactNode;
9
9
  errorText?: (invalidFields: FormContextField[], extraErrors?: string[]) => ReactNode;
10
10
  };
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  import type { FieldState } from "../../Fields/Field";
3
- export declare type FormContextField = {
2
+ export type FormContextField = {
4
3
  state: FieldState;
5
4
  label: string;
6
5
  labelFor: string;
7
6
  };
8
- export declare type FormContextValue = {
7
+ export type FormContextValue = {
9
8
  fields: Record<string, FormContextField>;
10
9
  addField: (field: FormContextField) => void;
11
10
  removeField: (field: FormContextField) => void;
@@ -1,8 +1,8 @@
1
1
  import type { InputHTMLAttributes, ReactNode } from "react";
2
2
  import type { IconComponentType } from "../../Icons";
3
- export declare type InputVariant = "small" | "medium" | "large";
4
- export declare type InputStatus = "default" | "validated" | "invalid";
5
- export declare type InputPropsLocale = {
3
+ export type InputVariant = "small" | "medium" | "large";
4
+ export type InputStatus = "default" | "validated" | "invalid";
5
+ export type InputPropsLocale = {
6
6
  clearInput?: string;
7
7
  increment?: string;
8
8
  decrement?: string;
@@ -1,5 +1,5 @@
1
1
  export = inputPlugin;
2
2
  declare const inputPlugin: {
3
3
  handler: import("tailwindcss/types/config").PluginCreator;
4
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
4
+ config?: Partial<import("tailwindcss/types/config").Config>;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import type { HTMLAttributes, InputHTMLAttributes } from "react";
2
- export declare type RadioButtonProps = HTMLAttributes<HTMLInputElement> & {
2
+ export type RadioButtonProps = HTMLAttributes<HTMLInputElement> & {
3
3
  /**
4
4
  * The value of the `RadioButton`.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  export = radioButtonPlugin;
2
2
  declare const radioButtonPlugin: {
3
3
  handler: import("tailwindcss/types/config").PluginCreator;
4
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
4
+ config?: Partial<import("tailwindcss/types/config").Config>;
5
5
  };
@@ -1,6 +1,6 @@
1
1
  import type { ForwardRefExoticComponent, ReactNode, RefAttributes } from "react";
2
2
  import { RadioGroupItem } from "./RadioGroupItem";
3
- export interface RadioGroupProps {
3
+ export interface RadioGroupProps<T extends string = string> {
4
4
  /**
5
5
  * The id of the `RadioGroup`.
6
6
  */
@@ -16,7 +16,7 @@ export interface RadioGroupProps {
16
16
  /**
17
17
  * The value of the `RadioGroup`.
18
18
  */
19
- value: string;
19
+ value: T;
20
20
  /**
21
21
  * Whether the `RadioGroup` is disabled.
22
22
  */
@@ -33,14 +33,14 @@ export interface RadioGroupProps {
33
33
  /**
34
34
  * Event handler for when the `RadioGroup`'s value changes.
35
35
  */
36
- onChange: (newValue: string) => void;
36
+ onChange: (newValue: T) => void;
37
37
  /**
38
38
  * The children of the `RadioGroup`.
39
39
  */
40
40
  children?: ReactNode;
41
41
  }
42
- export declare type RadioGroupComponent = ForwardRefExoticComponent<RadioGroupProps & RefAttributes<HTMLFieldSetElement>> & {
43
- Item: typeof RadioGroupItem;
42
+ export type RadioGroupComponent<T extends string = string> = ForwardRefExoticComponent<RadioGroupProps<T> & RefAttributes<HTMLFieldSetElement>> & {
43
+ Item: typeof RadioGroupItem<T>;
44
44
  };
45
45
  /**
46
46
  * The `RadioGroup` component presents mutually exclusive options, allowing users to make a single selection from a list.
@@ -1,9 +1,9 @@
1
- import type { FC, PropsWithChildren } from "react";
2
- export declare type RadioGroupItemProps = PropsWithChildren<{
1
+ import type { PropsWithChildren } from "react";
2
+ export type RadioGroupItemProps<T extends string = string> = PropsWithChildren<{
3
3
  /**
4
4
  * The value of the `RadioGroupItem`.
5
5
  */
6
- value: string;
6
+ value: T;
7
7
  /**
8
8
  * Whether the `RadioGroupItem` is disabled.
9
9
  */
@@ -13,4 +13,4 @@ export declare type RadioGroupItemProps = PropsWithChildren<{
13
13
  */
14
14
  required?: boolean;
15
15
  }>;
16
- export declare const RadioGroupItem: FC<RadioGroupItemProps>;
16
+ export declare const RadioGroupItem: <T extends string = string>({ value, disabled, required, children, ...props }: RadioGroupItemProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import type { ForwardedRef } from "react";
2
- declare type RangeSliderValue = number | [number, number];
3
- declare type WidenNumber<T> = T extends number ? number : T;
2
+ type RangeSliderValue = number | [number, number];
3
+ type WidenNumber<T> = T extends number ? number : T;
4
4
  export interface RangeSliderProps<Value extends RangeSliderValue = number> {
5
5
  /**
6
6
  * The value of the `RangeSlider`.
@@ -63,7 +63,7 @@ export interface RangeSliderProps<Value extends RangeSliderValue = number> {
63
63
  */
64
64
  track2Color?: string;
65
65
  }
66
- declare const RangeSliderInternal: <Value extends RangeSliderValue = number>({ id, className, value, defaultValue, onChange, onCommit, disabled, required, min, max, track1Color, track2Color, ...otherProps }: RangeSliderProps<Value>, ref: ForwardedRef<HTMLSpanElement>) => import("react/jsx-runtime").JSX.Element;
66
+ declare const RangeSliderInternal: <Value extends RangeSliderValue = number>({ id: idProp, className, value, defaultValue, onChange, onCommit, disabled, required, min, max, track1Color, track2Color, ...otherProps }: RangeSliderProps<Value>, ref: ForwardedRef<HTMLSpanElement>) => import("react/jsx-runtime").JSX.Element;
67
67
  /**
68
68
  * The `RangeSlider` component is an input field where users select one or two numeric values within a given range (minimum and maximum values).
69
69
  *
@@ -73,8 +73,8 @@ export declare const RangeSlider: (<Value extends RangeSliderValue>(props: Range
73
73
  /**
74
74
  * The ref of the `RangeSlider`.
75
75
  */
76
- ref?: ForwardedRef<HTMLSpanElement> | undefined;
76
+ ref?: ForwardedRef<HTMLSpanElement>;
77
77
  }) => ReturnType<typeof RangeSliderInternal>) & {
78
- displayName?: string | undefined;
78
+ displayName?: string;
79
79
  };
80
80
  export {};
@@ -1,5 +1,5 @@
1
1
  import type { SelectHTMLAttributes } from "react";
2
- export declare type SelectVariants = "small" | "medium" | "large";
2
+ export type SelectVariants = "small" | "medium" | "large";
3
3
  export interface SelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
4
4
  /**
5
5
  * The variant of the `Select`.
@@ -1,5 +1,5 @@
1
1
  export = selectPlugin;
2
2
  declare const selectPlugin: {
3
3
  handler: import("tailwindcss/types/config").PluginCreator;
4
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
4
+ config?: Partial<import("tailwindcss/types/config").Config>;
5
5
  };
@@ -1,13 +1,13 @@
1
1
  import type { ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from "react";
2
2
  import type { CardProps } from "../../Layout";
3
3
  import { Card } from "../../Layout";
4
- declare type SelectableCardBaseProps = Omit<CardProps, "elevation"> & {
4
+ type SelectableCardBaseProps = Omit<CardProps, "elevation"> & {
5
5
  /**
6
6
  * The color of the selected card.
7
7
  */
8
8
  selectedColor?: keyof typeof SELECTED_COLOR_CLASSNAMES;
9
9
  };
10
- export declare type SelectableCardProps = SelectableCardBaseProps & {
10
+ export type SelectableCardProps = SelectableCardBaseProps & {
11
11
  /**
12
12
  * Whether the `SelectableCard` is disabled.
13
13
  */
@@ -1,6 +1,6 @@
1
1
  import { type FC, type PropsWithChildren } from "react";
2
- export declare type SelectionTypes = "multiple" | "single";
3
- export declare type SelectableCardGroupProps = {
2
+ export type SelectionTypes = "multiple" | "single";
3
+ export type SelectableCardGroupProps = {
4
4
  disabled?: boolean;
5
5
  name?: string;
6
6
  value?: string[];
@@ -1,5 +1,5 @@
1
1
  import type { ChangeEvent, HTMLAttributes, InputHTMLAttributes } from "react";
2
- export declare type SwitchProps = Omit<HTMLAttributes<HTMLInputElement>, "children" | "onChange" | "defaultChecked"> & Pick<InputHTMLAttributes<HTMLInputElement>, "autoFocus"> & {
2
+ export type SwitchProps = Omit<HTMLAttributes<HTMLInputElement>, "children" | "onChange" | "defaultChecked"> & Pick<InputHTMLAttributes<HTMLInputElement>, "autoFocus"> & {
3
3
  /**
4
4
  * Whether the `Toggle` is decorative.
5
5
  * Decorative toggles are not using an input element.
@@ -36,25 +36,25 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<HTML
36
36
  * Whether the `Toggle` is decorative.
37
37
  * Decorative toggles are not using an input element.
38
38
  */
39
- decorative?: boolean | undefined;
39
+ decorative?: boolean;
40
40
  /**
41
41
  * The callback function that is triggered when the `Toggle` is clicked.
42
42
  */
43
- onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
43
+ onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
44
44
  /**
45
45
  * Whether the `Toggle` is required.
46
46
  */
47
- required?: boolean | undefined;
47
+ required?: boolean;
48
48
  /**
49
49
  * Whether the `Toggle` is disabled.
50
50
  */
51
- disabled?: boolean | undefined;
51
+ disabled?: boolean;
52
52
  /**
53
53
  * Whether the `Toggle` is default checked.
54
54
  */
55
- defaultChecked?: boolean | undefined;
55
+ defaultChecked?: boolean;
56
56
  /**
57
57
  * Whether the `Toggle` is checked.
58
58
  */
59
- checked?: boolean | undefined;
59
+ checked?: boolean;
60
60
  } & import("react").RefAttributes<HTMLInputElement>>;
@@ -1,5 +1,5 @@
1
1
  export = switchPlugin;
2
2
  declare const switchPlugin: {
3
3
  handler: import("tailwindcss/types/config").PluginCreator;
4
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
4
+ config?: Partial<import("tailwindcss/types/config").Config>;
5
5
  };
@@ -21,7 +21,7 @@ export interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElemen
21
21
  */
22
22
  disabled?: boolean;
23
23
  }
24
- export declare type TextareaStatus = "default" | "validated" | "invalid";
24
+ export type TextareaStatus = "default" | "validated" | "invalid";
25
25
  /**
26
26
  * The `TextArea` component is a multiline input field for extensive text, ideal for detailed feedback, descriptions, or comments.
27
27
  *
@@ -1,5 +1,5 @@
1
1
  export = textAreaPlugin;
2
2
  declare const textAreaPlugin: {
3
3
  handler: import("tailwindcss/types/config").PluginCreator;
4
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
4
+ config?: Partial<import("tailwindcss/types/config").Config>;
5
5
  };
@@ -15,9 +15,6 @@ var textAreaPlugin = plugin(function (_ref) {
15
15
  transition: "all 100ms ease-in-out",
16
16
  fontSize: theme("fontSize.base"),
17
17
  lineHeight: theme("lineHeight.base"),
18
- "&::placeholder": {
19
- color: theme("colors.grey.600")
20
- },
21
18
  "&:hover": {
22
19
  borderColor: theme("colors.grey.600")
23
20
  },
@@ -49,6 +46,9 @@ var textAreaPlugin = plugin(function (_ref) {
49
46
  color: theme("colors.grey.900"),
50
47
  background: "transparent",
51
48
  padding: theme("spacing.4"),
49
+ "&::placeholder": {
50
+ color: theme("colors.grey.600")
51
+ },
52
52
  "&:focus": {
53
53
  outline: "none"
54
54
  },
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import type { TextAreaProps } from "../../Fields/TextArea";
3
- export declare type TextAreaAutoSizeProps = TextAreaProps & {
2
+ export type TextAreaAutoSizeProps = TextAreaProps & {
4
3
  /**
5
4
  * The maximum number of rows the `TextAreaAutoSize` can expand to when `autoResize` is enabled.
6
5
  * If set to 0, the `TextAreaAutoSize` will expand indefinitely.
@@ -18,9 +17,9 @@ export declare const TextAreaAutoSize: import("react").ForwardRefExoticComponent
18
17
  * If set to 0, the `TextAreaAutoSize` will expand indefinitely.
19
18
  * @default 0
20
19
  */
21
- maxRows?: number | undefined;
20
+ maxRows?: number;
22
21
  /**
23
22
  * The number of rows the `TextAreaAutoSize` should start with.
24
23
  */
25
- rows?: number | undefined;
24
+ rows?: number;
26
25
  } & import("react").RefAttributes<HTMLTextAreaElement>>;
@@ -4,7 +4,7 @@ interface ClickAwayContextType {
4
4
  unregisterElement(element: HTMLElement): void;
5
5
  }
6
6
  export declare const useClickAwayContext: () => ClickAwayContextType | null;
7
- export declare type ClickAwayContainerProps = PropsWithChildren<{
7
+ export type ClickAwayContainerProps = PropsWithChildren<{
8
8
  /**
9
9
  * The element that should be registered in the ClickAway tree.
10
10
  * To ensure proper tracking, the element should be tracked in a way that triggers a rerender (use callback refs!)
@@ -18,7 +18,7 @@ export declare const CODE_EDITOR_DEFAULT_OPTIONS: {
18
18
  suggest: {};
19
19
  wordWrapColumn: number;
20
20
  };
21
- declare type EditorProps = Omit<MonacoEditorProps, "theme">;
21
+ type EditorProps = Omit<MonacoEditorProps, "theme">;
22
22
  /**
23
23
  * The `CodeEditor` component is used to display and edit code snippets.
24
24
  *
@@ -1,7 +1,7 @@
1
1
  import type { FC } from "react";
2
2
  import type { TooltipWrapperProps } from "../../Overlay";
3
3
  import type { TooltipWrapperBaseProps } from "../../Overlay/TooltipWrapper/types";
4
- export declare type HelpUnderlineProps = {
4
+ export type HelpUnderlineProps = {
5
5
  /**
6
6
  * The class name of the `HelpUnderline`.
7
7
  */
@@ -1,5 +1,5 @@
1
1
  export = helpUnderlinePlugin;
2
2
  declare const helpUnderlinePlugin: {
3
3
  handler: import("tailwindcss/types/config").PluginCreator;
4
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
4
+ config?: Partial<import("tailwindcss/types/config").Config>;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  declare const _exports: {
2
2
  handler: import("tailwindcss/types/config").PluginCreator;
3
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
3
+ config?: Partial<import("tailwindcss/types/config").Config>;
4
4
  };
5
5
  export = _exports;
@@ -1,4 +1,5 @@
1
1
  import type { FC } from "react";
2
+ import type { Components } from "react-markdown";
2
3
  export interface MarkdownContentProps {
3
4
  /**
4
5
  * Additional classes to apply to the `MarkdownContent`.
@@ -8,8 +9,14 @@ export interface MarkdownContentProps {
8
9
  * The content of the `MarkdownContent`.
9
10
  */
10
11
  content?: string;
12
+ /**
13
+ * Custom components to override the default rendering of markdown elements.
14
+ */
15
+ components?: Partial<Components>;
11
16
  }
12
17
  /**
13
18
  * The `MarkdownContent` component is used to style user generated content that comes as Markdown.
19
+ *
20
+ * See the [Markdown Content documentation page](https://satellite.algolia.com/8261d6576/p/784293-markdown-content) for more information.
14
21
  */
15
22
  export declare const MarkdownContent: FC<MarkdownContentProps>;
@@ -1,22 +1,28 @@
1
1
  import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
2
  var _templateObject;
3
3
  import cx from "clsx";
4
- import { marked } from "marked";
4
+ import ReactMarkdown from "react-markdown";
5
+ import remarkGfm from "remark-gfm";
5
6
  import stl from "./../../styles/helpers/satellitePrefixer";
6
7
  import { jsx as _jsx } from "react/jsx-runtime";
7
8
  /**
8
9
  * The `MarkdownContent` component is used to style user generated content that comes as Markdown.
10
+ *
11
+ * See the [Markdown Content documentation page](https://satellite.algolia.com/8261d6576/p/784293-markdown-content) for more information.
9
12
  */
10
13
  export var MarkdownContent = function MarkdownContent(_ref) {
11
14
  var className = _ref.className,
12
- content = _ref.content;
15
+ content = _ref.content,
16
+ components = _ref.components;
13
17
  if (!content) {
14
18
  return null;
15
19
  }
16
20
  return /*#__PURE__*/_jsx("div", {
17
21
  className: cx(stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["markdown-content"]))), className),
18
- dangerouslySetInnerHTML: {
19
- __html: marked.parse(content)
20
- }
22
+ children: /*#__PURE__*/_jsx(ReactMarkdown, {
23
+ components: components,
24
+ remarkPlugins: [remarkGfm],
25
+ children: content
26
+ })
21
27
  });
22
28
  };
@@ -1,5 +1,5 @@
1
1
  declare const _exports: {
2
2
  handler: import("tailwindcss/types/config").PluginCreator;
3
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
3
+ config?: Partial<import("tailwindcss/types/config").Config>;
4
4
  };
5
5
  export = _exports;
@@ -50,8 +50,8 @@ export default plugin(function (_ref) {
50
50
  listStyleType: "disc"
51
51
  },
52
52
  ol: {
53
- paddingLeft: theme("spacing.5"),
54
- listStyleType: "decimal"
53
+ listStyleType: "decimal",
54
+ listStylePosition: "inside"
55
55
  },
56
56
  a: {
57
57
  color: theme("colors.accent.600"),
@@ -1,3 +1,3 @@
1
1
  import type { HTMLAttributes } from "react";
2
- export declare type ShimmerTextProps = HTMLAttributes<HTMLDivElement>;
2
+ export type ShimmerTextProps = HTMLAttributes<HTMLDivElement>;
3
3
  export declare const ShimmerText: import("react").ForwardRefExoticComponent<ShimmerTextProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
1
  export = shimmerTextPlugin;
2
2
  declare const shimmerTextPlugin: {
3
3
  handler: import("tailwindcss/types/config").PluginCreator;
4
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
4
+ config?: Partial<import("tailwindcss/types/config").Config>;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  declare const _exports: {
2
2
  handler: import("tailwindcss/types/config").PluginCreator;
3
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
3
+ config?: Partial<import("tailwindcss/types/config").Config>;
4
4
  };
5
5
  export = _exports;
@@ -27,9 +27,7 @@ export default plugin(function (_ref) {
27
27
  }
28
28
  },
29
29
  h1: mobile["display-xlarge"],
30
- h2: _objectSpread(_objectSpread({}, mobile["display-large"]), {}, {
31
- color: theme("colors.grey.600")
32
- }),
30
+ h2: mobile["display-large"],
33
31
  h3: mobile["display-medium"],
34
32
  h4: mobile["display-small"],
35
33
  h5: mobile["display-heading"],
@@ -1,5 +1,5 @@
1
1
  declare const _exports: {
2
2
  handler: import("tailwindcss/types/config").PluginCreator;
3
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
3
+ config?: Partial<import("tailwindcss/types/config").Config>;
4
4
  };
5
5
  export = _exports;
@@ -1,5 +1,5 @@
1
1
  declare const _exports: {
2
2
  handler: import("tailwindcss/types/config").PluginCreator;
3
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
3
+ config?: Partial<import("tailwindcss/types/config").Config>;
4
4
  };
5
5
  export = _exports;
@@ -1,5 +1,5 @@
1
1
  declare const _exports: {
2
2
  handler: import("tailwindcss/types/config").PluginCreator;
3
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
3
+ config?: Partial<import("tailwindcss/types/config").Config>;
4
4
  };
5
5
  export = _exports;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const AlgoliaRecommendIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const AlgoliaSearchIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const BulbIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const ContextIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const CrawlerIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const DragHandleIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const NeuralSearchIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const NoFiltersIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const PinIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const QueryBreakdownIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const RocketIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const SettingsCategoryPagesIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const SettingsConsequencesIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const TestingIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const UnpinIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from ".";
3
2
  export declare const WorkspaceSwitcherIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -1,6 +1,6 @@
1
1
  import type { ComponentClass, SVGAttributes, VoidFunctionComponent } from "react";
2
- export declare type IconProps = SVGAttributes<SVGElement>;
3
- export declare type IconComponentType = VoidFunctionComponent<IconProps> | ComponentClass<IconProps>;
2
+ export type IconProps = SVGAttributes<SVGElement>;
3
+ export type IconComponentType = VoidFunctionComponent<IconProps> | ComponentClass<IconProps>;
4
4
  export { DragHandleIcon } from "./DragHandleIcon";
5
5
  export { NoFiltersIcon } from "./NoFiltersIcon";
6
6
  export { CrawlerIcon } from "./CrawlerIcon";
@@ -0,0 +1,7 @@
1
+ import type { SvgComponent } from "../types";
2
+ declare const FailIllustration: SvgComponent;
3
+ declare const FilterResultsIllustration: SvgComponent;
4
+ declare const GenericIllustration: SvgComponent;
5
+ declare const NoPermissionIllustration: SvgComponent;
6
+ declare const SuccessIllustration: SvgComponent;
7
+ export { FailIllustration, FilterResultsIllustration, GenericIllustration, NoPermissionIllustration, SuccessIllustration, };