@pexip/components 19.1.3 → 19.3.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 (335) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/api-docs/README.mdx +333 -0
  3. package/api-docs/enumerations/AvatarType.mdx +8 -0
  4. package/api-docs/enumerations/Color.mdx +65 -0
  5. package/api-docs/enumerations/FontVariant.mdx +20 -0
  6. package/api-docs/enumerations/LockStyle.mdx +7 -0
  7. package/api-docs/enumerations/ModalType.mdx +6 -0
  8. package/api-docs/enumerations/ProgressBarColor.mdx +8 -0
  9. package/api-docs/enumerations/RgbColor.mdx +64 -0
  10. package/api-docs/enumerations/StatCardVariant.mdx +7 -0
  11. package/api-docs/enumerations/TestId.mdx +45 -0
  12. package/api-docs/functions/announce.mdx +21 -0
  13. package/api-docs/functions/isBackgroundImageSrcEmpty.mdx +13 -0
  14. package/api-docs/functions/isImageSrcEmpty.mdx +13 -0
  15. package/api-docs/functions/isImageSrcString.mdx +13 -0
  16. package/api-docs/functions/isValidIconName.mdx +13 -0
  17. package/api-docs/functions/onEnter.mdx +32 -0
  18. package/api-docs/functions/sizeToPadding.mdx +22 -0
  19. package/api-docs/functions/useBelow360.mdx +7 -0
  20. package/api-docs/functions/useBreakpointChange.mdx +7 -0
  21. package/api-docs/functions/useFocusFrom.mdx +24 -0
  22. package/api-docs/functions/useFocusFromOpened.mdx +20 -0
  23. package/api-docs/functions/useGroupedPagesNav.mdx +16 -0
  24. package/api-docs/functions/useInput.mdx +13 -0
  25. package/api-docs/functions/useLandscape.mdx +7 -0
  26. package/api-docs/functions/useLg.mdx +7 -0
  27. package/api-docs/functions/useLgDown.mdx +7 -0
  28. package/api-docs/functions/useLgUp.mdx +7 -0
  29. package/api-docs/functions/useMd.mdx +7 -0
  30. package/api-docs/functions/useMdDown.mdx +7 -0
  31. package/api-docs/functions/useMdToXl.mdx +7 -0
  32. package/api-docs/functions/useMdUp.mdx +7 -0
  33. package/api-docs/functions/useMobileDevice.mdx +7 -0
  34. package/api-docs/functions/useMobileDeviceLandscape.mdx +7 -0
  35. package/api-docs/functions/useMobileDevicePortrait.mdx +7 -0
  36. package/api-docs/functions/useModal.mdx +18 -0
  37. package/api-docs/functions/useModalHandle.mdx +12 -0
  38. package/api-docs/functions/useMultistepIndicator.mdx +45 -0
  39. package/api-docs/functions/useOutOfViewNavigation.mdx +25 -0
  40. package/api-docs/functions/usePortrait.mdx +7 -0
  41. package/api-docs/functions/useScrollIntoView.mdx +22 -0
  42. package/api-docs/functions/useSm.mdx +7 -0
  43. package/api-docs/functions/useSmDown.mdx +7 -0
  44. package/api-docs/functions/useSmToLg.mdx +7 -0
  45. package/api-docs/functions/useSmToXl.mdx +7 -0
  46. package/api-docs/functions/useSmUp.mdx +7 -0
  47. package/api-docs/functions/useTabletDevice.mdx +7 -0
  48. package/api-docs/functions/useTabs.mdx +18 -0
  49. package/api-docs/functions/useTouchDevice.mdx +7 -0
  50. package/api-docs/functions/useXl.mdx +7 -0
  51. package/api-docs/functions/useXlDown.mdx +7 -0
  52. package/api-docs/functions/useXlUp.mdx +7 -0
  53. package/api-docs/functions/useXs.mdx +7 -0
  54. package/api-docs/functions/withColorScheme.mdx +32 -0
  55. package/api-docs/functions/withTabName.mdx +32 -0
  56. package/api-docs/functions/withTransition.mdx +36 -0
  57. package/api-docs/interfaces/EnhancerProps.mdx +10 -0
  58. package/api-docs/interfaces/FloatRootOverflow.mdx +9 -0
  59. package/api-docs/interfaces/FullSizeWindowCommonProps.mdx +8 -0
  60. package/api-docs/interfaces/IconCollection.mdx +146 -0
  61. package/api-docs/interfaces/IconSource.mdx +7 -0
  62. package/api-docs/interfaces/LoadingBoxProps.mdx +12 -0
  63. package/api-docs/interfaces/ModalHandle.mdx +5 -0
  64. package/api-docs/interfaces/MultistepItem.mdx +13 -0
  65. package/api-docs/interfaces/StatCardRowData.mdx +15 -0
  66. package/api-docs/interfaces/ToastProps.mdx +14 -0
  67. package/api-docs/interfaces/VideoHandle.mdx +6 -0
  68. package/api-docs/interfaces/WithTransitionProps.mdx +5 -0
  69. package/api-docs/type-aliases/ActivityCardAction.mdx +10 -0
  70. package/api-docs/type-aliases/AlignWithFloatRootTrigger.mdx +3 -0
  71. package/api-docs/type-aliases/AllSize.mdx +3 -0
  72. package/api-docs/type-aliases/AriaMenuItem.mdx +21 -0
  73. package/api-docs/type-aliases/AriaMenuProps.mdx +18 -0
  74. package/api-docs/type-aliases/BackgroundImageSrc.mdx +3 -0
  75. package/api-docs/type-aliases/BadgeCounterProps.mdx +3 -0
  76. package/api-docs/type-aliases/BadgeCounterVariant.mdx +3 -0
  77. package/api-docs/type-aliases/BaseSizeModifier.mdx +3 -0
  78. package/api-docs/type-aliases/BreadcrumbItem.mdx +11 -0
  79. package/api-docs/type-aliases/Breakpoint.mdx +3 -0
  80. package/api-docs/type-aliases/ButtonHTMLTag.mdx +3 -0
  81. package/api-docs/type-aliases/ButtonModifiersValues.mdx +3 -0
  82. package/api-docs/type-aliases/ButtonProps.mdx +3 -0
  83. package/api-docs/type-aliases/ButtonTextProps.mdx +3 -0
  84. package/api-docs/type-aliases/ButtonVariant.mdx +3 -0
  85. package/api-docs/type-aliases/ClickEventHandler.mdx +20 -0
  86. package/api-docs/type-aliases/ColorScheme.mdx +3 -0
  87. package/api-docs/type-aliases/DropContentPosition.mdx +3 -0
  88. package/api-docs/type-aliases/DropContentType.mdx +3 -0
  89. package/api-docs/type-aliases/ExtendedSizeModifier.mdx +3 -0
  90. package/api-docs/type-aliases/ExtendedTooltipPosition.mdx +13 -0
  91. package/api-docs/type-aliases/FullSizeWindowBackgroundVariant.mdx +3 -0
  92. package/api-docs/type-aliases/FullSizeWindowColorBackgroundProps.mdx +13 -0
  93. package/api-docs/type-aliases/FullSizeWindowImageBackgroundProps.mdx +13 -0
  94. package/api-docs/type-aliases/GroupProps.mdx +3 -0
  95. package/api-docs/type-aliases/HeadingElement.mdx +3 -0
  96. package/api-docs/type-aliases/HeadingFontVariant.mdx +3 -0
  97. package/api-docs/type-aliases/IScrollbars.mdx +3 -0
  98. package/api-docs/type-aliases/ImageSrc.mdx +3 -0
  99. package/api-docs/type-aliases/InlineElement.mdx +3 -0
  100. package/api-docs/type-aliases/InputVariant.mdx +3 -0
  101. package/api-docs/type-aliases/InteractiveElementHTMLTag.mdx +3 -0
  102. package/api-docs/type-aliases/InteractiveElementProps.mdx +3 -0
  103. package/api-docs/type-aliases/LabelModifier.mdx +3 -0
  104. package/api-docs/type-aliases/LinkTarget.mdx +3 -0
  105. package/api-docs/type-aliases/LogoSizeModifier.mdx +3 -0
  106. package/api-docs/type-aliases/MenuAction.mdx +17 -0
  107. package/api-docs/type-aliases/MenuContent.mdx +3 -0
  108. package/api-docs/type-aliases/MenuItem.mdx +31 -0
  109. package/api-docs/type-aliases/ModalProps.mdx +3 -0
  110. package/api-docs/type-aliases/ModalSizeModifier.mdx +3 -0
  111. package/api-docs/type-aliases/MultiselectOption.mdx +16 -0
  112. package/api-docs/type-aliases/MultistepIndicatorProps.mdx +3 -0
  113. package/api-docs/type-aliases/NotificationToastMessage.mdx +18 -0
  114. package/api-docs/type-aliases/NotificationToastSignal.mdx +3 -0
  115. package/api-docs/type-aliases/NotificationTooltipPosition.mdx +13 -0
  116. package/api-docs/type-aliases/Option.mdx +17 -0
  117. package/api-docs/type-aliases/OverlayOpacity.mdx +3 -0
  118. package/api-docs/type-aliases/PanelProps.mdx +3 -0
  119. package/api-docs/type-aliases/SelectProps.mdx +29 -0
  120. package/api-docs/type-aliases/ShadowModifier.mdx +3 -0
  121. package/api-docs/type-aliases/SimpleButtonProps.mdx +3 -0
  122. package/api-docs/type-aliases/SizeModifier.mdx +3 -0
  123. package/api-docs/type-aliases/StandardSizeModifier.mdx +3 -0
  124. package/api-docs/type-aliases/StatIndicatorVariant.mdx +3 -0
  125. package/api-docs/type-aliases/StatusItem.mdx +10 -0
  126. package/api-docs/type-aliases/TableResultsCountProps.mdx +12 -0
  127. package/api-docs/type-aliases/TagItem.mdx +17 -0
  128. package/api-docs/type-aliases/TextLinkProps.mdx +3 -0
  129. package/api-docs/type-aliases/TextProps.mdx +3 -0
  130. package/api-docs/type-aliases/TextVariant.mdx +3 -0
  131. package/api-docs/type-aliases/Theme.mdx +3 -0
  132. package/api-docs/type-aliases/ToastPosition.mdx +3 -0
  133. package/api-docs/type-aliases/TooltipPosition.mdx +3 -0
  134. package/api-docs/type-aliases/VideoWrapperSizeModifier.mdx +3 -0
  135. package/api-docs/type-aliases/VideoWrapperVariant.mdx +3 -0
  136. package/api-docs/variables/AboutModal.mdx +3 -0
  137. package/api-docs/variables/AboutText.mdx +3 -0
  138. package/api-docs/variables/Accordion.mdx +16 -0
  139. package/api-docs/variables/ActionsRow.mdx +3 -0
  140. package/api-docs/variables/ActivityCard.mdx +11 -0
  141. package/api-docs/variables/Announcer.mdx +12 -0
  142. package/api-docs/variables/AriaMenu.mdx +5 -0
  143. package/api-docs/variables/AspectRatio.mdx +6 -0
  144. package/api-docs/variables/Audio.mdx +3 -0
  145. package/api-docs/variables/Avatar.mdx +3 -0
  146. package/api-docs/variables/BadgeCounter.mdx +3 -0
  147. package/api-docs/variables/Bar.mdx +3 -0
  148. package/api-docs/variables/Box.mdx +3 -0
  149. package/api-docs/variables/BoxHeader.mdx +3 -0
  150. package/api-docs/variables/Breadcrumbs.mdx +9 -0
  151. package/api-docs/variables/Button.mdx +3 -0
  152. package/api-docs/variables/ButtonText.mdx +3 -0
  153. package/api-docs/variables/CakeTimer.mdx +3 -0
  154. package/api-docs/variables/CallToAction.mdx +3 -0
  155. package/api-docs/variables/Captions.mdx +3 -0
  156. package/api-docs/variables/CardLayout.mdx +10 -0
  157. package/api-docs/variables/Cell.mdx +3 -0
  158. package/api-docs/variables/CenterLayout.mdx +3 -0
  159. package/api-docs/variables/Checkbox.mdx +3 -0
  160. package/api-docs/variables/CircleCountDown.mdx +7 -0
  161. package/api-docs/variables/CollapsableContainer.mdx +15 -0
  162. package/api-docs/variables/ColorPickerPreviewButton.mdx +3 -0
  163. package/api-docs/variables/ColorPreviewButton.mdx +3 -0
  164. package/api-docs/variables/CondensedTabs.mdx +3 -0
  165. package/api-docs/variables/ConfirmableMultiselect.mdx +3 -0
  166. package/api-docs/variables/ConfirmationModal.mdx +3 -0
  167. package/api-docs/variables/ContextMenu.mdx +12 -0
  168. package/api-docs/variables/CoreHeader.mdx +3 -0
  169. package/api-docs/variables/CustomTooltip.mdx +3 -0
  170. package/api-docs/variables/Details.mdx +3 -0
  171. package/api-docs/variables/Divider.mdx +3 -0
  172. package/api-docs/variables/DragAndDrop.mdx +10 -0
  173. package/api-docs/variables/DragAndUploadFiles.mdx +3 -0
  174. package/api-docs/variables/Draggable.mdx +3 -0
  175. package/api-docs/variables/DropContent.mdx +3 -0
  176. package/api-docs/variables/Enhancers.mdx +3 -0
  177. package/api-docs/variables/ExpanderCell.mdx +3 -0
  178. package/api-docs/variables/FileUpload.mdx +3 -0
  179. package/api-docs/variables/Form.mdx +3 -0
  180. package/api-docs/variables/FullSizeWindow.mdx +5 -0
  181. package/api-docs/variables/FullscreenLayout.mdx +3 -0
  182. package/api-docs/variables/FullscreenOverlay.mdx +3 -0
  183. package/api-docs/variables/FullscreenSpinner.mdx +3 -0
  184. package/api-docs/variables/Grid.mdx +3 -0
  185. package/api-docs/variables/Group.mdx +3 -0
  186. package/api-docs/variables/Heading.mdx +11 -0
  187. package/api-docs/variables/HotKey.mdx +6 -0
  188. package/api-docs/variables/HotkeysTooltip.mdx +3 -0
  189. package/api-docs/variables/Icon.mdx +3 -0
  190. package/api-docs/variables/IconTypes.mdx +3 -0
  191. package/api-docs/variables/ImagePreviewButton.mdx +3 -0
  192. package/api-docs/variables/InfoHeadCell.mdx +7 -0
  193. package/api-docs/variables/InfoMessage.mdx +6 -0
  194. package/api-docs/variables/Input.mdx +3 -0
  195. package/api-docs/variables/InputLabel.mdx +3 -0
  196. package/api-docs/variables/InteractiveElement.mdx +3 -0
  197. package/api-docs/variables/KebabMenuButton.mdx +3 -0
  198. package/api-docs/variables/LineHeading.mdx +5 -0
  199. package/api-docs/variables/List.mdx +3 -0
  200. package/api-docs/variables/ListBoxLink.mdx +3 -0
  201. package/api-docs/variables/ListLink.mdx +3 -0
  202. package/api-docs/variables/LoadingBox.mdx +3 -0
  203. package/api-docs/variables/Logo.mdx +3 -0
  204. package/api-docs/variables/Menu.mdx +14 -0
  205. package/api-docs/variables/MenuEntry.mdx +5 -0
  206. package/api-docs/variables/Modal.mdx +8 -0
  207. package/api-docs/variables/ModalCloseButton.mdx +9 -0
  208. package/api-docs/variables/ModalCloseButtonWithTooltip.mdx +3 -0
  209. package/api-docs/variables/Multiselect.mdx +3 -0
  210. package/api-docs/variables/MultistepIndicator.mdx +13 -0
  211. package/api-docs/variables/NotificationToast.mdx +13 -0
  212. package/api-docs/variables/NotificationTooltip.mdx +3 -0
  213. package/api-docs/variables/NumberStepInput.mdx +21 -0
  214. package/api-docs/variables/Panel.mdx +3 -0
  215. package/api-docs/variables/PasswordInput.mdx +6 -0
  216. package/api-docs/variables/PexipLogo.mdx +3 -0
  217. package/api-docs/variables/Pill.mdx +3 -0
  218. package/api-docs/variables/PlainMenuEntry.mdx +3 -0
  219. package/api-docs/variables/PopOutWindow.mdx +8 -0
  220. package/api-docs/variables/PreferenceInput.mdx +26 -0
  221. package/api-docs/variables/PreferenceMultiselect.mdx +21 -0
  222. package/api-docs/variables/PreferenceRow.mdx +12 -0
  223. package/api-docs/variables/PreferenceWrapper.mdx +3 -0
  224. package/api-docs/variables/ProgressBar.mdx +3 -0
  225. package/api-docs/variables/RadioButton.mdx +3 -0
  226. package/api-docs/variables/RangeSlider.mdx +11 -0
  227. package/api-docs/variables/RefButton.mdx +3 -0
  228. package/api-docs/variables/RefInteractiveElement.mdx +3 -0
  229. package/api-docs/variables/RefSimpleButton.mdx +3 -0
  230. package/api-docs/variables/Row.mdx +3 -0
  231. package/api-docs/variables/Scrim.mdx +3 -0
  232. package/api-docs/variables/Scrollbars.mdx +3 -0
  233. package/api-docs/variables/SearchInput.mdx +12 -0
  234. package/api-docs/variables/Section.mdx +3 -0
  235. package/api-docs/variables/SectionAccordion.mdx +15 -0
  236. package/api-docs/variables/Select.mdx +19 -0
  237. package/api-docs/variables/Sheet.mdx +3 -0
  238. package/api-docs/variables/SimpleButton.mdx +7 -0
  239. package/api-docs/variables/SortingIndicator.mdx +6 -0
  240. package/api-docs/variables/Spinner.mdx +3 -0
  241. package/api-docs/variables/StatCard.mdx +12 -0
  242. package/api-docs/variables/StatCardBox.mdx +3 -0
  243. package/api-docs/variables/StatCardRow.mdx +3 -0
  244. package/api-docs/variables/StatIndicator.mdx +3 -0
  245. package/api-docs/variables/StepNumber.mdx +3 -0
  246. package/api-docs/variables/SvgImage.mdx +3 -0
  247. package/api-docs/variables/Tab.mdx +3 -0
  248. package/api-docs/variables/Table.mdx +3 -0
  249. package/api-docs/variables/TableBody.mdx +3 -0
  250. package/api-docs/variables/TableCell.mdx +3 -0
  251. package/api-docs/variables/TableContent.mdx +3 -0
  252. package/api-docs/variables/TableHead.mdx +3 -0
  253. package/api-docs/variables/TableHeadCell.mdx +3 -0
  254. package/api-docs/variables/TablePagination.mdx +23 -0
  255. package/api-docs/variables/TableRow.mdx +3 -0
  256. package/api-docs/variables/TableRowWrapper.mdx +9 -0
  257. package/api-docs/variables/TableSection.mdx +3 -0
  258. package/api-docs/variables/Tabs.mdx +3 -0
  259. package/api-docs/variables/Tag.mdx +3 -0
  260. package/api-docs/variables/TagList.mdx +9 -0
  261. package/api-docs/variables/Text.mdx +3 -0
  262. package/api-docs/variables/TextArea.mdx +5 -0
  263. package/api-docs/variables/TextHeading.mdx +3 -0
  264. package/api-docs/variables/TextLink.mdx +3 -0
  265. package/api-docs/variables/ThemeConsumer.mdx +3 -0
  266. package/api-docs/variables/ThemeContext.mdx +3 -0
  267. package/api-docs/variables/ThemeProvider.mdx +3 -0
  268. package/api-docs/variables/ThreeColumnSelector.mdx +3 -0
  269. package/api-docs/variables/Toast.mdx +13 -0
  270. package/api-docs/variables/ToggleSwitch.mdx +3 -0
  271. package/api-docs/variables/Tooltip.mdx +13 -0
  272. package/api-docs/variables/TooltipPositionValue.mdx +3 -0
  273. package/api-docs/variables/URLToLink.mdx +5 -0
  274. package/api-docs/variables/User.mdx +14 -0
  275. package/api-docs/variables/UserMenuButton.mdx +11 -0
  276. package/api-docs/variables/UserMenuDropContent.mdx +3 -0
  277. package/api-docs/variables/Video.mdx +3 -0
  278. package/api-docs/variables/VideoWrapper.mdx +3 -0
  279. package/api-docs/variables/Wrapper.mdx +3 -0
  280. package/api-docs/variables/ariaMenuOpenStateSignal.mdx +3 -0
  281. package/api-docs/variables/breakpoints.mdx +13 -0
  282. package/api-docs/variables/notificationToastSignal.mdx +3 -0
  283. package/api-docs/variables/themeValues.mdx +3 -0
  284. package/api-docs/variables/variables.mdx +324 -0
  285. package/design-tokens/build-scripts/download-icons.mjs +15 -0
  286. package/design-tokens/generated/Icons.ts +10 -1
  287. package/design-tokens/generated/icons/background-blur-16.json +2 -2
  288. package/design-tokens/generated/icons/background-blur-16.svg +4 -33
  289. package/design-tokens/generated/icons/background-blur-24.json +2 -2
  290. package/design-tokens/generated/icons/background-blur-24.svg +4 -33
  291. package/design-tokens/generated/icons/background-blur-32.json +7 -0
  292. package/design-tokens/generated/icons/background-blur-32.svg +14 -0
  293. package/design-tokens/generated/icons/background-blur-32.svg.d.ts +5 -0
  294. package/design-tokens/generated/icons/background-replace-16.json +7 -0
  295. package/design-tokens/generated/icons/background-replace-16.svg +43 -0
  296. package/design-tokens/generated/icons/background-replace-16.svg.d.ts +5 -0
  297. package/design-tokens/generated/icons/background-replace-24.json +7 -0
  298. package/design-tokens/generated/icons/background-replace-24.svg +43 -0
  299. package/design-tokens/generated/icons/background-replace-24.svg.d.ts +5 -0
  300. package/dist/components-no-global-styles.css +1 -0
  301. package/dist/components.cjs +2 -2
  302. package/dist/components.css +1 -1
  303. package/dist/components.js +4285 -4082
  304. package/dist/types/design-tokens/generated/Icons.d.ts +1 -0
  305. package/dist/types/design-tokens/generated/Icons.d.ts.map +1 -1
  306. package/dist/types/src/components/elements/Checkbox/Checkbox.d.ts +3 -1
  307. package/dist/types/src/components/elements/Checkbox/Checkbox.d.ts.map +1 -1
  308. package/dist/types/src/components/elements/Draggable/Draggable.view.d.ts.map +1 -1
  309. package/dist/types/src/components/elements/FileUpload/FileUpload.view.d.ts +1 -0
  310. package/dist/types/src/components/elements/FileUpload/FileUpload.view.d.ts.map +1 -1
  311. package/dist/types/src/components/modules/Captions/Captions.view.d.ts +5 -4
  312. package/dist/types/src/components/modules/Captions/Captions.view.d.ts.map +1 -1
  313. package/dist/types/src/components/modules/ConfirmationModal/ConfirmationModal.d.ts +2 -2
  314. package/dist/types/src/components/modules/ConfirmationModal/ConfirmationModal.d.ts.map +1 -1
  315. package/dist/types/src/components/modules/Details/Details.d.ts +16 -0
  316. package/dist/types/src/components/modules/Details/Details.d.ts.map +1 -0
  317. package/dist/types/src/components/modules/Menu/Menu.d.ts +8 -2
  318. package/dist/types/src/components/modules/Menu/Menu.d.ts.map +1 -1
  319. package/dist/types/src/components/modules/Menu/types.d.ts +2 -1
  320. package/dist/types/src/components/modules/Menu/types.d.ts.map +1 -1
  321. package/dist/types/src/components/modules/Multiselect/ConfirmableMultiselect.d.ts +4 -1
  322. package/dist/types/src/components/modules/Multiselect/ConfirmableMultiselect.d.ts.map +1 -1
  323. package/dist/types/src/components/modules/Multiselect/Multiselect.d.ts +9 -1
  324. package/dist/types/src/components/modules/Multiselect/Multiselect.d.ts.map +1 -1
  325. package/dist/types/src/components/modules/Multiselect/MultiselectCore.d.ts +1 -1
  326. package/dist/types/src/components/modules/Multiselect/MultiselectCore.d.ts.map +1 -1
  327. package/dist/types/src/exports.d.ts +183 -0
  328. package/dist/types/src/exports.d.ts.map +1 -0
  329. package/dist/types/src/hooks/useOutOfViewNavigation.d.ts +14 -0
  330. package/dist/types/src/hooks/useOutOfViewNavigation.d.ts.map +1 -0
  331. package/dist/types/src/index.d.ts +1 -180
  332. package/dist/types/src/index.d.ts.map +1 -1
  333. package/dist/types/src/types/elements.d.ts +1 -0
  334. package/dist/types/src/types/elements.d.ts.map +1 -1
  335. package/package.json +24 -17
@@ -0,0 +1,21 @@
1
+ ```ts
2
+ function announce(
3
+ message,
4
+ politeness,
5
+ timeout): void;
6
+ ```
7
+
8
+ Announce a message to screen readers.
9
+ Announcer needs to be mounted in the application for this to work.
10
+
11
+ ## Parameters
12
+
13
+ | Parameter | Type | Default value | Description |
14
+ | ------ | ------ | ------ | ------ |
15
+ | `message` | `ReactNode` | `undefined` | The message to announce. |
16
+ | `politeness` | `"assertive"` \| `"polite"` | `'polite'` | The politeness level of the announcement. |
17
+ | `timeout` | `number` | `5000` | The time in milliseconds util the message is removed from area-live region. |
18
+
19
+ ## Returns
20
+
21
+ `void`
@@ -0,0 +1,13 @@
1
+ ```ts
2
+ function isBackgroundImageSrcEmpty(backgroundImageSrc): boolean;
3
+ ```
4
+
5
+ ## Parameters
6
+
7
+ | Parameter | Type |
8
+ | ------ | ------ |
9
+ | `backgroundImageSrc` | \| [`BackgroundImageSrc`](../type-aliases/BackgroundImageSrc.mdx) \| `undefined` |
10
+
11
+ ## Returns
12
+
13
+ `boolean`
@@ -0,0 +1,13 @@
1
+ ```ts
2
+ function isImageSrcEmpty(imageSrc): boolean;
3
+ ```
4
+
5
+ ## Parameters
6
+
7
+ | Parameter | Type |
8
+ | ------ | ------ |
9
+ | `imageSrc` | [`ImageSrc`](../type-aliases/ImageSrc.mdx) \| `undefined` |
10
+
11
+ ## Returns
12
+
13
+ `boolean`
@@ -0,0 +1,13 @@
1
+ ```ts
2
+ function isImageSrcString(imageSrc): imageSrc is string;
3
+ ```
4
+
5
+ ## Parameters
6
+
7
+ | Parameter | Type |
8
+ | ------ | ------ |
9
+ | `imageSrc` | [`ImageSrc`](../type-aliases/ImageSrc.mdx) \| `undefined` |
10
+
11
+ ## Returns
12
+
13
+ `imageSrc is string`
@@ -0,0 +1,13 @@
1
+ ```ts
2
+ function isValidIconName(iconName): iconName is keyof IconCollection;
3
+ ```
4
+
5
+ ## Parameters
6
+
7
+ | Parameter | Type |
8
+ | ------ | ------ |
9
+ | `iconName` | `string` |
10
+
11
+ ## Returns
12
+
13
+ `iconName is keyof IconCollection`
@@ -0,0 +1,32 @@
1
+ ```ts
2
+ function onEnter<E, T>(callback): (e) => void;
3
+ ```
4
+
5
+ ## Type Parameters
6
+
7
+ | Type Parameter |
8
+ | ------ |
9
+ | `E` *extends* `HTMLElement` |
10
+ | `T` *extends* (`e`) => `void` |
11
+
12
+ ## Parameters
13
+
14
+ | Parameter | Type |
15
+ | ------ | ------ |
16
+ | `callback` | `T` |
17
+
18
+ ## Returns
19
+
20
+ ```ts
21
+ (e): void;
22
+ ```
23
+
24
+ ### Parameters
25
+
26
+ | Parameter | Type |
27
+ | ------ | ------ |
28
+ | `e` | `KeyboardEvent`\<`E`\> |
29
+
30
+ ### Returns
31
+
32
+ `void`
@@ -0,0 +1,22 @@
1
+ ```ts
2
+ function sizeToPadding(t):
3
+ | "compactPadding"
4
+ | "largePadding"
5
+ | "mediumPadding"
6
+ | "nonePadding"
7
+ | "smallPadding";
8
+ ```
9
+
10
+ ## Parameters
11
+
12
+ | Parameter | Type |
13
+ | ------ | ------ |
14
+ | `t` | `"small"` \| `"medium"` \| `"compact"` \| `"large"` \| `"none"` |
15
+
16
+ ## Returns
17
+
18
+ \| `"compactPadding"`
19
+ \| `"largePadding"`
20
+ \| `"mediumPadding"`
21
+ \| `"nonePadding"`
22
+ \| `"smallPadding"`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useBelow360(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useBreakpointChange(): Signal<undefined, undefined>;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `Signal`\<`undefined`, `undefined`\>
@@ -0,0 +1,24 @@
1
+ ```ts
2
+ function useFocusFrom(element): object;
3
+ ```
4
+
5
+ This hook gives the ability to set the focus on an element
6
+ which is then blurred right away, thereby effectively resetting
7
+ the focus order. The next focusable element that comes after this element
8
+ will be focused on the next tab.
9
+
10
+ ## Parameters
11
+
12
+ | Parameter | Type | Description |
13
+ | ------ | ------ | ------ |
14
+ | `element` | `HTMLElement` \| `null` | element which focus point should start from |
15
+
16
+ ## Returns
17
+
18
+ `object`
19
+
20
+ focusFrom function, when called sets the focus point to the given element
21
+
22
+ | Name | Type |
23
+ | ------ | ------ |
24
+ | `focusFrom()` | () => `void` |
@@ -0,0 +1,20 @@
1
+ ```ts
2
+ function useFocusFromOpened(element, isOpen): void;
3
+ ```
4
+
5
+ Use this hook to set the focus point on an element when something
6
+ becomes opened, e.g. set focus on a panel container or menu container
7
+ when it becomes visible so that the next time the user hits on the
8
+ tab key the element that becomes focused on is potentially a tabbable
9
+ element inside the container element.
10
+
11
+ ## Parameters
12
+
13
+ | Parameter | Type | Description |
14
+ | ------ | ------ | ------ |
15
+ | `element` | `HTMLElement` \| `null` | element which focus point should start from |
16
+ | `isOpen` | `boolean` | when isOpen is true the element will get the focus point |
17
+
18
+ ## Returns
19
+
20
+ `void`
@@ -0,0 +1,16 @@
1
+ ```ts
2
+ function useGroupedPagesNav(__namedParameters): GroupedPageNav[];
3
+ ```
4
+
5
+ ## Parameters
6
+
7
+ | Parameter | Type |
8
+ | ------ | ------ |
9
+ | `__namedParameters` | \{ `groupChunkSize?`: `number`; `pageIndex`: `number`; `totalPagesCount`: `number`; \} |
10
+ | `__namedParameters.groupChunkSize?` | `number` |
11
+ | `__namedParameters.pageIndex` | `number` |
12
+ | `__namedParameters.totalPagesCount` | `number` |
13
+
14
+ ## Returns
15
+
16
+ `GroupedPageNav`[]
@@ -0,0 +1,13 @@
1
+ ```ts
2
+ function useInput(props): [string, Omit<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "disabled"> & object, "ref"> & RefAttributes<Pick<HTMLInputElement, "focus">>];
3
+ ```
4
+
5
+ ## Parameters
6
+
7
+ | Parameter | Type |
8
+ | ------ | ------ |
9
+ | `props` | `Omit`\<`Omit`\<`DetailedHTMLProps`\<`InputHTMLAttributes`\<`HTMLInputElement`\>, `HTMLInputElement`\>, `"disabled"`\> & `object`, `"ref"`\> & `RefAttributes`\<`Pick`\<`HTMLInputElement`, `"focus"`\>\> |
10
+
11
+ ## Returns
12
+
13
+ \[`string`, `Omit`\<`Omit`\<`DetailedHTMLProps`\<`InputHTMLAttributes`\<`HTMLInputElement`\>, `HTMLInputElement`\>, `"disabled"`\> & `object`, `"ref"`\> & `RefAttributes`\<`Pick`\<`HTMLInputElement`, `"focus"`\>\>\]
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useLandscape(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useLg(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useLgDown(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useLgUp(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useMd(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useMdDown(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useMdToXl(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useMdUp(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useMobileDevice(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useMobileDeviceLandscape(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useMobileDevicePortrait(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,18 @@
1
+ ```ts
2
+ function useModal(isOpen): object;
3
+ ```
4
+
5
+ ## Parameters
6
+
7
+ | Parameter | Type |
8
+ | ------ | ------ |
9
+ | `isOpen` | `boolean` |
10
+
11
+ ## Returns
12
+
13
+ `object`
14
+
15
+ | Name | Type |
16
+ | ------ | ------ |
17
+ | `ref` | `RefObject`\<`HTMLDivElement` \| `null`\> |
18
+ | `modalProps` | `DOMAttributes`\<`FocusableElement`\> |
@@ -0,0 +1,12 @@
1
+ ```ts
2
+ function useModalHandle(): object;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `object`
8
+
9
+ | Name | Type |
10
+ | ------ | ------ |
11
+ | `modalHandleRef` | `RefObject`\<[`ModalHandle`](../interfaces/ModalHandle.mdx) \| `null`\> |
12
+ | `focusModal()` | () => `void` |
@@ -0,0 +1,45 @@
1
+ ```ts
2
+ function useMultistepIndicator(__namedParameters): readonly [{
3
+ allStepsCompleted: boolean;
4
+ currentStepIndex: number;
5
+ prevStepsCompleted: boolean;
6
+ steps: MultistepItem[];
7
+ }, {
8
+ moveToStep: (stepIndex, __namedParameters) => void;
9
+ resetAllSteps: () => void;
10
+ resetStep: (stepIndex) => void;
11
+ updateStepActive: (stepIndex, isActive) => void;
12
+ updateStepCompleted: (stepIndex, __namedParameters) => void;
13
+ updateStepFailed: (stepIndex, __namedParameters) => void;
14
+ updateStepDisabled: (stepIndex, isDisabled) => void;
15
+ updateStepLeave: (stepIndex, __namedParameters) => void;
16
+ }];
17
+ ```
18
+
19
+ Convenience hook for using steps in MultistepIndicator
20
+
21
+ ## Parameters
22
+
23
+ | Parameter | Type |
24
+ | ------ | ------ |
25
+ | `__namedParameters` | \{ `initialSteps`: [`MultistepItem`](../interfaces/MultistepItem.mdx)[]; `currentStepIndex?`: `number`; \} |
26
+ | `__namedParameters.initialSteps` | [`MultistepItem`](../interfaces/MultistepItem.mdx)[] |
27
+ | `__namedParameters.currentStepIndex?` | `number` |
28
+
29
+ ## Returns
30
+
31
+ readonly \[\{
32
+ `allStepsCompleted`: `boolean`;
33
+ `currentStepIndex`: `number`;
34
+ `prevStepsCompleted`: `boolean`;
35
+ `steps`: [`MultistepItem`](../interfaces/MultistepItem.mdx)[];
36
+ \}, \{
37
+ `moveToStep`: (`stepIndex`, `__namedParameters`) => `void`;
38
+ `resetAllSteps`: () => `void`;
39
+ `resetStep`: (`stepIndex`) => `void`;
40
+ `updateStepActive`: (`stepIndex`, `isActive`) => `void`;
41
+ `updateStepCompleted`: (`stepIndex`, `__namedParameters`) => `void`;
42
+ `updateStepFailed`: (`stepIndex`, `__namedParameters`) => `void`;
43
+ `updateStepDisabled`: (`stepIndex`, `isDisabled`) => `void`;
44
+ `updateStepLeave`: (`stepIndex`, `__namedParameters`) => `void`;
45
+ \}\]
@@ -0,0 +1,25 @@
1
+ ```ts
2
+ function useOutOfViewNavigation(__namedParameters): object;
3
+ ```
4
+
5
+ ## Parameters
6
+
7
+ | Parameter | Type |
8
+ | ------ | ------ |
9
+ | `__namedParameters` | \{ `isDisabled?`: `boolean`; `content`: `ReactElement`; `root`: `HTMLElement` \| `null`; `moveBy?`: `number`; `containerClassName?`: `string`; \} |
10
+ | `__namedParameters.isDisabled?` | `boolean` |
11
+ | `__namedParameters.content` | `ReactElement` |
12
+ | `__namedParameters.root` | `HTMLElement` \| `null` |
13
+ | `__namedParameters.moveBy?` | `number` |
14
+ | `__namedParameters.containerClassName?` | `string` |
15
+
16
+ ## Returns
17
+
18
+ `object`
19
+
20
+ | Name | Type |
21
+ | ------ | ------ |
22
+ | `navigationView` | `Element` |
23
+ | `moveLeft` | () => `void` \| `undefined` |
24
+ | `moveRight` | () => `void` \| `undefined` |
25
+ | `hasOverflowingContent` | `boolean` |
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function usePortrait(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,22 @@
1
+ ```ts
2
+ function useScrollIntoView(element, options): () => void;
3
+ ```
4
+
5
+ ## Parameters
6
+
7
+ | Parameter | Type |
8
+ | ------ | ------ |
9
+ | `element` | `RefObject`\<`HTMLElement` \| `null`\> |
10
+ | `options` | \{ `delay?`: `number`; `scrollIntoViewOptions?`: `Partial`\<`ScrollIntoViewOptions`\>; \} |
11
+ | `options.delay?` | `number` |
12
+ | `options.scrollIntoViewOptions?` | `Partial`\<`ScrollIntoViewOptions`\> |
13
+
14
+ ## Returns
15
+
16
+ ```ts
17
+ (): void;
18
+ ```
19
+
20
+ ### Returns
21
+
22
+ `void`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useSm(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useSmDown(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useSmToLg(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useSmToXl(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useSmUp(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useTabletDevice(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,18 @@
1
+ ```ts
2
+ function useTabs(activeTabIndex): object;
3
+ ```
4
+
5
+ ## Parameters
6
+
7
+ | Parameter | Type |
8
+ | ------ | ------ |
9
+ | `activeTabIndex` | `number` |
10
+
11
+ ## Returns
12
+
13
+ `object`
14
+
15
+ | Name | Type |
16
+ | ------ | ------ |
17
+ | `activeTab` | `number` |
18
+ | `setActiveTab` | `Dispatch`\<`SetStateAction`\<`number`\>\> |
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useTouchDevice(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useXl(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useXlDown(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useXlUp(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,7 @@
1
+ ```ts
2
+ function useXs(): boolean;
3
+ ```
4
+
5
+ ## Returns
6
+
7
+ `boolean`
@@ -0,0 +1,32 @@
1
+ ```ts
2
+ function withColorScheme<P>(Component, colorScheme): (props) => Element;
3
+ ```
4
+
5
+ ## Type Parameters
6
+
7
+ | Type Parameter |
8
+ | ------ |
9
+ | `P` *extends* `object` |
10
+
11
+ ## Parameters
12
+
13
+ | Parameter | Type |
14
+ | ------ | ------ |
15
+ | `Component` | `ComponentType`\<`P`\> |
16
+ | `colorScheme` | `"dark"` \| `"light"` |
17
+
18
+ ## Returns
19
+
20
+ ```ts
21
+ (props): Element;
22
+ ```
23
+
24
+ ### Parameters
25
+
26
+ | Parameter | Type |
27
+ | ------ | ------ |
28
+ | `props` | `P` |
29
+
30
+ ### Returns
31
+
32
+ `Element`
@@ -0,0 +1,32 @@
1
+ ```ts
2
+ function withTabName<P>(Component, componentProps?): (props) => Element;
3
+ ```
4
+
5
+ ## Type Parameters
6
+
7
+ | Type Parameter |
8
+ | ------ |
9
+ | `P` |
10
+
11
+ ## Parameters
12
+
13
+ | Parameter | Type |
14
+ | ------ | ------ |
15
+ | `Component` | `ComponentType`\<`P`\> |
16
+ | `componentProps?` | `P` |
17
+
18
+ ## Returns
19
+
20
+ ```ts
21
+ (props): Element;
22
+ ```
23
+
24
+ ### Parameters
25
+
26
+ | Parameter | Type |
27
+ | ------ | ------ |
28
+ | `props` | `P` & `ClassAttributes`\<`HTMLButtonElement`\> & `ButtonHTMLAttributes`\<`HTMLButtonElement`\> |
29
+
30
+ ### Returns
31
+
32
+ `Element`