@muraldevkit/ui-toolkit 4.35.0 → 4.35.1-dev-yPbC.2

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 (480) hide show
  1. package/package.json +1 -1
  2. package/dist/components/avatar/MrlAvatar/MrlAvatar.d.ts +0 -31
  3. package/dist/components/avatar/MrlAvatar/index.d.ts +0 -1
  4. package/dist/components/avatar/MrlAvatarButton/MrlAvatarButton.d.ts +0 -62
  5. package/dist/components/avatar/MrlAvatarButton/index.d.ts +0 -1
  6. package/dist/components/avatar/index.d.ts +0 -2
  7. package/dist/components/badge/MrlBadge/MrlBadge.d.ts +0 -26
  8. package/dist/components/badge/MrlBadge/index.d.ts +0 -1
  9. package/dist/components/badge/MrlBadgeNotification/MrlBadgeNotification.d.ts +0 -25
  10. package/dist/components/badge/MrlBadgeNotification/index.d.ts +0 -1
  11. package/dist/components/badge/index.d.ts +0 -2
  12. package/dist/components/button/MrlAnimatedIconButton/MrlAnimatedIconButton.d.ts +0 -9
  13. package/dist/components/button/MrlAnimatedIconButton/index.d.ts +0 -1
  14. package/dist/components/button/MrlButton/MrlButton.d.ts +0 -105
  15. package/dist/components/button/MrlButton/index.d.ts +0 -1
  16. package/dist/components/button/MrlIconButton/MrlIconButton.d.ts +0 -107
  17. package/dist/components/button/MrlIconButton/index.d.ts +0 -1
  18. package/dist/components/button/constants.d.ts +0 -33
  19. package/dist/components/button/helpers.d.ts +0 -40
  20. package/dist/components/button/index.d.ts +0 -3
  21. package/dist/components/callout/MrlCallout/MrlCallout.d.ts +0 -34
  22. package/dist/components/callout/MrlCallout/index.d.ts +0 -1
  23. package/dist/components/callout/index.d.ts +0 -1
  24. package/dist/components/container/MrlContainer/MrlContainer.d.ts +0 -22
  25. package/dist/components/container/MrlContainer/index.d.ts +0 -1
  26. package/dist/components/container/constants.d.ts +0 -12
  27. package/dist/components/container/index.d.ts +0 -1
  28. package/dist/components/divider/MrlDivider/MrlDivider.d.ts +0 -45
  29. package/dist/components/divider/MrlDivider/index.d.ts +0 -1
  30. package/dist/components/divider/constants.d.ts +0 -18
  31. package/dist/components/divider/index.d.ts +0 -1
  32. package/dist/components/empty/default/MrlEmpty.d.ts +0 -15
  33. package/dist/components/empty/default/index.d.ts +0 -1
  34. package/dist/components/empty/index.d.ts +0 -2
  35. package/dist/components/empty/large/MrlEmptyLarge.d.ts +0 -15
  36. package/dist/components/empty/large/index.d.ts +0 -1
  37. package/dist/components/error-boundary/MrlErrorBoundary.d.ts +0 -62
  38. package/dist/components/error-boundary/index.d.ts +0 -1
  39. package/dist/components/filter/MrlFilter/MrlFilter.d.ts +0 -28
  40. package/dist/components/filter/MrlFilter/index.d.ts +0 -1
  41. package/dist/components/filter/MrlFilterContext/MrlFilterContext.d.ts +0 -34
  42. package/dist/components/filter/MrlFilterContext/index.d.ts +0 -1
  43. package/dist/components/filter/MrlFilterItem/MrlFilterItem.d.ts +0 -23
  44. package/dist/components/filter/MrlFilterItem/index.d.ts +0 -1
  45. package/dist/components/filter/index.d.ts +0 -3
  46. package/dist/components/focus-trap/MrlFocusTrap/MrlFocusTrap.d.ts +0 -30
  47. package/dist/components/focus-trap/MrlFocusTrap/index.d.ts +0 -1
  48. package/dist/components/focus-trap/index.d.ts +0 -1
  49. package/dist/components/form/checkbox/MrlCheckbox/MrlCheckbox.d.ts +0 -44
  50. package/dist/components/form/checkbox/MrlCheckbox/index.d.ts +0 -1
  51. package/dist/components/form/checkbox/MrlCheckboxStandalone/MrlCheckboxStandalone.d.ts +0 -22
  52. package/dist/components/form/checkbox/MrlCheckboxStandalone/index.d.ts +0 -1
  53. package/dist/components/form/constants.d.ts +0 -85
  54. package/dist/components/form/date-picker/MrlDatePicker.d.ts +0 -30
  55. package/dist/components/form/date-picker/index.d.ts +0 -1
  56. package/dist/components/form/fieldset/MrlFieldset/MrlFieldset.d.ts +0 -20
  57. package/dist/components/form/fieldset/MrlFieldset/index.d.ts +0 -1
  58. package/dist/components/form/hooks/useActiveColor.d.ts +0 -13
  59. package/dist/components/form/hooks/useIsEditable.d.ts +0 -30
  60. package/dist/components/form/index.d.ts +0 -18
  61. package/dist/components/form/label/MrlLabel/MrlLabel.d.ts +0 -32
  62. package/dist/components/form/label/MrlLabel/index.d.ts +0 -1
  63. package/dist/components/form/label/MrlLabelWithDescription/MrlLabelWithDescription.d.ts +0 -32
  64. package/dist/components/form/label/MrlLabelWithDescription/index.d.ts +0 -1
  65. package/dist/components/form/legacy-select/MrlLegacySelect/MrlLegacySelect.d.ts +0 -58
  66. package/dist/components/form/legacy-select/MrlLegacySelect/index.d.ts +0 -1
  67. package/dist/components/form/legacy-select/MrlLegacySelectItem/MrlLegacySelectItem.d.ts +0 -36
  68. package/dist/components/form/legacy-select/MrlLegacySelectItem/index.d.ts +0 -1
  69. package/dist/components/form/legacy-select/MrlLegacySelectMenu/MrlLegacySelectMenu.d.ts +0 -43
  70. package/dist/components/form/legacy-select/MrlLegacySelectMenu/index.d.ts +0 -1
  71. package/dist/components/form/legacy-select/context/SelectContext.d.ts +0 -68
  72. package/dist/components/form/legacy-select/index.d.ts +0 -9
  73. package/dist/components/form/legacy-select/stories.data.d.ts +0 -1
  74. package/dist/components/form/radio/MrlRadioButton/MrlRadioButton.d.ts +0 -48
  75. package/dist/components/form/radio/MrlRadioButton/index.d.ts +0 -1
  76. package/dist/components/form/radio/MrlRadioButtonStandalone/MrlRadioButtonStandalone.d.ts +0 -26
  77. package/dist/components/form/radio/MrlRadioButtonStandalone/index.d.ts +0 -1
  78. package/dist/components/form/radio/MrlRadioGroup/MrlRadioGroup.d.ts +0 -22
  79. package/dist/components/form/radio/MrlRadioGroup/index.d.ts +0 -1
  80. package/dist/components/form/select/MrlCreatableSelect/MrlCreatableSelect.d.ts +0 -27
  81. package/dist/components/form/select/MrlCreatableSelect/index.d.ts +0 -1
  82. package/dist/components/form/select/MrlMultiSelect/MrlMultiSelect.d.ts +0 -25
  83. package/dist/components/form/select/MrlMultiSelect/index.d.ts +0 -1
  84. package/dist/components/form/select/MrlSelect/MrlSelect.d.ts +0 -25
  85. package/dist/components/form/select/MrlSelect/index.d.ts +0 -1
  86. package/dist/components/form/select/components/MrlSelectClearIndicator.d.ts +0 -9
  87. package/dist/components/form/select/components/MrlSelectContainer.d.ts +0 -9
  88. package/dist/components/form/select/components/MrlSelectDropdownIndicator.d.ts +0 -9
  89. package/dist/components/form/select/components/MrlSelectMultiValue.d.ts +0 -10
  90. package/dist/components/form/select/components/MrlSelectMultiValueRemove.d.ts +0 -9
  91. package/dist/components/form/select/components/MrlSelectOption.d.ts +0 -9
  92. package/dist/components/form/select/components/MrlSelectValueContainer.d.ts +0 -9
  93. package/dist/components/form/select/components/index.d.ts +0 -7
  94. package/dist/components/form/select/index.d.ts +0 -5
  95. package/dist/components/form/select/styles/default.d.ts +0 -7
  96. package/dist/components/form/select/styles/index.d.ts +0 -9
  97. package/dist/components/form/select/styles/inline.d.ts +0 -7
  98. package/dist/components/form/select/styles/inlineNoLabel.d.ts +0 -7
  99. package/dist/components/form/select/styles/inlineStacked.d.ts +0 -7
  100. package/dist/components/form/select/types.d.ts +0 -5
  101. package/dist/components/form/select/utils/closeMenuOnScroll.d.ts +0 -10
  102. package/dist/components/form/select/utils/index.d.ts +0 -1
  103. package/dist/components/form/switch/MrlSwitch/MrlSwitch.d.ts +0 -15
  104. package/dist/components/form/switch/MrlSwitch/index.d.ts +0 -1
  105. package/dist/components/form/switch/MrlSwitchStandalone/MrlSwitchStandalone.d.ts +0 -10
  106. package/dist/components/form/switch/MrlSwitchStandalone/index.d.ts +0 -1
  107. package/dist/components/form/switch/index.d.ts +0 -2
  108. package/dist/components/form/text-input/MrlEditableTextInput/MrlEditableTextInput.d.ts +0 -36
  109. package/dist/components/form/text-input/MrlEditableTextInput/MrlEditableTextInputRightIcon.d.ts +0 -25
  110. package/dist/components/form/text-input/MrlEditableTextInput/index.d.ts +0 -1
  111. package/dist/components/form/text-input/MrlTextInput/MrlTextInput.d.ts +0 -44
  112. package/dist/components/form/text-input/MrlTextInput/MrlTextInputRightIcon.d.ts +0 -24
  113. package/dist/components/form/text-input/MrlTextInput/index.d.ts +0 -1
  114. package/dist/components/form/textarea/MrlEditableTextarea/MrlEditableTextarea.d.ts +0 -45
  115. package/dist/components/form/textarea/MrlEditableTextarea/MrlEditableTextareaRightButton.d.ts +0 -25
  116. package/dist/components/form/textarea/MrlEditableTextarea/index.d.ts +0 -1
  117. package/dist/components/form/textarea/MrlTextarea/MrlTextarea.d.ts +0 -39
  118. package/dist/components/form/textarea/MrlTextarea/index.d.ts +0 -1
  119. package/dist/components/form/utils.d.ts +0 -94
  120. package/dist/components/grid/MrlCol/MrlCol.d.ts +0 -12
  121. package/dist/components/grid/MrlCol/index.d.ts +0 -1
  122. package/dist/components/grid/MrlGrid/MrlGrid.d.ts +0 -11
  123. package/dist/components/grid/MrlGrid/index.d.ts +0 -1
  124. package/dist/components/grid/MrlRow/MrlRow.d.ts +0 -25
  125. package/dist/components/grid/MrlRow/index.d.ts +0 -1
  126. package/dist/components/grid/constants.d.ts +0 -50
  127. package/dist/components/grid/index.d.ts +0 -3
  128. package/dist/components/index.d.ts +0 -32
  129. package/dist/components/layout/MrlMain/MrlMain.d.ts +0 -9
  130. package/dist/components/layout/MrlMain/index.d.ts +0 -1
  131. package/dist/components/layout/MrlPage/MrlPage.d.ts +0 -11
  132. package/dist/components/layout/MrlPage/index.d.ts +0 -11
  133. package/dist/components/layout/MrlSidebar/MrlSidebar.d.ts +0 -22
  134. package/dist/components/layout/MrlSidebar/demo/MrlSidebarDemo.d.ts +0 -8
  135. package/dist/components/layout/MrlSidebar/index.d.ts +0 -1
  136. package/dist/components/layout/MrlTopbar/MrlTopbar.d.ts +0 -11
  137. package/dist/components/layout/MrlTopbar/index.d.ts +0 -1
  138. package/dist/components/layout/constants.d.ts +0 -16
  139. package/dist/components/layout/context/LayoutContext.d.ts +0 -24
  140. package/dist/components/layout/error-page/MrlBrandColors/MrlBrandColors.d.ts +0 -13
  141. package/dist/components/layout/error-page/MrlBrandColors/index.d.ts +0 -1
  142. package/dist/components/layout/error-page/MrlErrorPage/MrlErrorPage.d.ts +0 -28
  143. package/dist/components/layout/error-page/MrlErrorPage/index.d.ts +0 -1
  144. package/dist/components/layout/error-page/index.d.ts +0 -2
  145. package/dist/components/layout/index.d.ts +0 -5
  146. package/dist/components/layout/utils.d.ts +0 -15
  147. package/dist/components/link/MrlLink/MrlLink.d.ts +0 -49
  148. package/dist/components/link/MrlLink/index.d.ts +0 -1
  149. package/dist/components/link/MrlLinkButton/MrlLinkButton.d.ts +0 -54
  150. package/dist/components/link/MrlLinkButton/index.d.ts +0 -1
  151. package/dist/components/link/constants.d.ts +0 -24
  152. package/dist/components/link/index.d.ts +0 -2
  153. package/dist/components/live-region/MrlLiveRegion/MrlLiveRegion.d.ts +0 -19
  154. package/dist/components/live-region/MrlLiveRegion/index.d.ts +0 -1
  155. package/dist/components/live-region/demo/LiveRegionDemo.d.ts +0 -7
  156. package/dist/components/live-region/index.d.ts +0 -1
  157. package/dist/components/loader/MrlProgressBar/MrlProgressBar.d.ts +0 -10
  158. package/dist/components/loader/MrlProgressBar/index.d.ts +0 -1
  159. package/dist/components/loader/MrlSpinner/MrlSpinner.d.ts +0 -10
  160. package/dist/components/loader/MrlSpinner/index.d.ts +0 -1
  161. package/dist/components/loader/constants.d.ts +0 -88
  162. package/dist/components/loader/index.d.ts +0 -3
  163. package/dist/components/menu/MrlMenu/MrlMenu.d.ts +0 -119
  164. package/dist/components/menu/MrlMenu/index.d.ts +0 -1
  165. package/dist/components/menu/MrlMenu/utilities.d.ts +0 -29
  166. package/dist/components/menu/MrlMenuGroup/MrlMenuGroup.d.ts +0 -13
  167. package/dist/components/menu/MrlMenuGroup/index.d.ts +0 -1
  168. package/dist/components/menu/MrlMenuItem/MrlMenuItem.d.ts +0 -37
  169. package/dist/components/menu/MrlMenuItem/index.d.ts +0 -1
  170. package/dist/components/menu/MrlMenuItemLink/MrlMenuItemLink.d.ts +0 -37
  171. package/dist/components/menu/MrlMenuItemLink/index.d.ts +0 -1
  172. package/dist/components/menu/constants.d.ts +0 -38
  173. package/dist/components/menu/context/MrlMenuContext.d.ts +0 -20
  174. package/dist/components/menu/demo/MenuByConfig.d.ts +0 -7
  175. package/dist/components/menu/demo/MenuGroupWithTrigger.d.ts +0 -9
  176. package/dist/components/menu/demo/MenuWithActionState.d.ts +0 -19
  177. package/dist/components/menu/demo/MenuWithIconButtonTrigger.d.ts +0 -19
  178. package/dist/components/menu/demo/MenuWithLink.d.ts +0 -18
  179. package/dist/components/menu/demo/MenuWithPopover.d.ts +0 -18
  180. package/dist/components/menu/demo/MenuWithRTI.d.ts +0 -19
  181. package/dist/components/menu/demo/MenuWithSubmenu.d.ts +0 -18
  182. package/dist/components/menu/demo/MenuWithTrigger.d.ts +0 -19
  183. package/dist/components/menu/hooks/useBrowserEdgeScroll.d.ts +0 -22
  184. package/dist/components/menu/hooks/useSubMenuElementPosition.d.ts +0 -18
  185. package/dist/components/menu/index.d.ts +0 -5
  186. package/dist/components/modal/MrlModal/MrlModal.d.ts +0 -55
  187. package/dist/components/modal/MrlModal/index.d.ts +0 -1
  188. package/dist/components/modal/MrlModalContent/MrlModalContent.d.ts +0 -20
  189. package/dist/components/modal/MrlModalContent/index.d.ts +0 -1
  190. package/dist/components/modal/MrlModalContext/MrlModalContext.d.ts +0 -17
  191. package/dist/components/modal/MrlModalContext/index.d.ts +0 -1
  192. package/dist/components/modal/MrlModalFooter/MrlModalFooter.d.ts +0 -21
  193. package/dist/components/modal/MrlModalFooter/index.d.ts +0 -1
  194. package/dist/components/modal/MrlModalHeader/MrlModalHeader.d.ts +0 -25
  195. package/dist/components/modal/MrlModalHeader/index.d.ts +0 -1
  196. package/dist/components/modal/constants.d.ts +0 -18
  197. package/dist/components/modal/demo/ModalWithTriggerDemo.d.ts +0 -15
  198. package/dist/components/modal/index.d.ts +0 -5
  199. package/dist/components/navigation-sidebar/MrlSidebarNavGroup/MrlSidebarNavGroup.d.ts +0 -25
  200. package/dist/components/navigation-sidebar/MrlSidebarNavGroup/index.d.ts +0 -1
  201. package/dist/components/navigation-sidebar/MrlSidebarNavItem/MrlSidebarNavItem.d.ts +0 -33
  202. package/dist/components/navigation-sidebar/MrlSidebarNavItem/index.d.ts +0 -1
  203. package/dist/components/navigation-sidebar/index.d.ts +0 -2
  204. package/dist/components/notification/MrlBlockNotification/MrlBlockNotification.d.ts +0 -100
  205. package/dist/components/notification/MrlBlockNotification/index.d.ts +0 -1
  206. package/dist/components/notification/MrlInlineMessage/MrlInlineMessage.d.ts +0 -40
  207. package/dist/components/notification/MrlInlineMessage/index.d.ts +0 -1
  208. package/dist/components/notification/MrlToast/MrlToast.d.ts +0 -45
  209. package/dist/components/notification/MrlToast/index.d.ts +0 -1
  210. package/dist/components/notification/constants.d.ts +0 -26
  211. package/dist/components/notification/index.d.ts +0 -3
  212. package/dist/components/pagination/MrlPagination/MrlPagination.d.ts +0 -19
  213. package/dist/components/pagination/MrlPagination/index.d.ts +0 -1
  214. package/dist/components/pagination/MrlPaginationButton/MrlPaginationButton.d.ts +0 -30
  215. package/dist/components/pagination/MrlPaginationButton/index.d.ts +0 -1
  216. package/dist/components/pagination/MrlPaginationText/MrlPaginationText.d.ts +0 -23
  217. package/dist/components/pagination/MrlPaginationText/index.d.ts +0 -1
  218. package/dist/components/pagination/constants.d.ts +0 -1
  219. package/dist/components/pagination/index.d.ts +0 -3
  220. package/dist/components/panel/MrlPanel/MrlPanel.d.ts +0 -53
  221. package/dist/components/panel/MrlPanel/index.d.ts +0 -1
  222. package/dist/components/panel/MrlPanelContext/MrlPanelContext.d.ts +0 -16
  223. package/dist/components/panel/MrlPanelContext/index.d.ts +0 -1
  224. package/dist/components/panel/MrlPanelFooter/MrlPanelFooter.d.ts +0 -22
  225. package/dist/components/panel/MrlPanelFooter/index.d.ts +0 -1
  226. package/dist/components/panel/MrlPanelStickyHeader/MrlPanelStickyHeader.d.ts +0 -18
  227. package/dist/components/panel/MrlPanelStickyHeader/index.d.ts +0 -1
  228. package/dist/components/panel/index.d.ts +0 -3
  229. package/dist/components/popover/MrlPopover/MrlPopover.d.ts +0 -128
  230. package/dist/components/popover/MrlPopover/index.d.ts +0 -1
  231. package/dist/components/popover/demo/PopoverWithIconButton.d.ts +0 -21
  232. package/dist/components/popover/demo/PopoverWithSelect.d.ts +0 -24
  233. package/dist/components/popover/demo/PopoverWithTrigger.d.ts +0 -24
  234. package/dist/components/popover/index.d.ts +0 -1
  235. package/dist/components/portal/MrlPortal.d.ts +0 -20
  236. package/dist/components/portal/index.d.ts +0 -1
  237. package/dist/components/rovingTabindex/MrlRovingTabindex/MrlRovingTabindex.d.ts +0 -127
  238. package/dist/components/rovingTabindex/MrlRovingTabindex/index.d.ts +0 -1
  239. package/dist/components/rovingTabindex/index.d.ts +0 -1
  240. package/dist/components/skeleton/MrlSkeleton/MrlSkeleton.d.ts +0 -20
  241. package/dist/components/skeleton/MrlSkeleton/index.d.ts +0 -1
  242. package/dist/components/skeleton/MrlSkeletonText/MrlSkeletonText.d.ts +0 -22
  243. package/dist/components/skeleton/MrlSkeletonText/index.d.ts +0 -1
  244. package/dist/components/skeleton/index.d.ts +0 -2
  245. package/dist/components/svg/MrlSvg/MrlSvg.d.ts +0 -31
  246. package/dist/components/svg/MrlSvg/index.d.ts +0 -1
  247. package/dist/components/svg/MrlSvgAnimate/MrlSvgAnimate.d.ts +0 -51
  248. package/dist/components/svg/MrlSvgAnimate/index.d.ts +0 -1
  249. package/dist/components/svg/config.d.ts +0 -112
  250. package/dist/components/svg/constants.d.ts +0 -36
  251. package/dist/components/svg/index.d.ts +0 -3
  252. package/dist/components/table/MrlSmartTable/MrlSmartTable.d.ts +0 -201
  253. package/dist/components/table/MrlSmartTable/index.d.ts +0 -1
  254. package/dist/components/table/MrlTable/MrlTable.d.ts +0 -17
  255. package/dist/components/table/MrlTable/index.d.ts +0 -1
  256. package/dist/components/table/MrlTableBody/MrlTableBody.d.ts +0 -17
  257. package/dist/components/table/MrlTableBody/index.d.ts +0 -1
  258. package/dist/components/table/MrlTableCell/MrlTableCell.d.ts +0 -24
  259. package/dist/components/table/MrlTableCell/index.d.ts +0 -1
  260. package/dist/components/table/MrlTableColumn/MrlTableColumn.d.ts +0 -24
  261. package/dist/components/table/MrlTableColumn/index.d.ts +0 -1
  262. package/dist/components/table/MrlTableEmptyState/MrlTableEmptyState.d.ts +0 -15
  263. package/dist/components/table/MrlTableEmptyState/index.d.ts +0 -1
  264. package/dist/components/table/MrlTableHeader/MrlTableHeader.d.ts +0 -17
  265. package/dist/components/table/MrlTableHeader/index.d.ts +0 -1
  266. package/dist/components/table/MrlTableRow/MrlTableRow.d.ts +0 -26
  267. package/dist/components/table/MrlTableRow/index.d.ts +0 -1
  268. package/dist/components/table/constants.d.ts +0 -21
  269. package/dist/components/table/fixtures.d.ts +0 -89
  270. package/dist/components/table/index.d.ts +0 -9
  271. package/dist/components/table/utils.d.ts +0 -43
  272. package/dist/components/tabs/MrlTab/MrlTab.d.ts +0 -21
  273. package/dist/components/tabs/MrlTab/index.d.ts +0 -1
  274. package/dist/components/tabs/MrlTabContent/MrlTabContent.d.ts +0 -9
  275. package/dist/components/tabs/MrlTabContent/index.d.ts +0 -1
  276. package/dist/components/tabs/MrlTabGroup/MrlTabGroup.d.ts +0 -10
  277. package/dist/components/tabs/MrlTabGroup/index.d.ts +0 -1
  278. package/dist/components/tabs/MrlTabLink/MrlTabLink.d.ts +0 -22
  279. package/dist/components/tabs/MrlTabLink/index.d.ts +0 -1
  280. package/dist/components/tabs/MrlTabs/MrlTabs.d.ts +0 -21
  281. package/dist/components/tabs/MrlTabs/index.d.ts +0 -1
  282. package/dist/components/tabs/constants.d.ts +0 -1
  283. package/dist/components/tabs/index.d.ts +0 -5
  284. package/dist/components/text/MrlText/MrlText.d.ts +0 -26
  285. package/dist/components/text/MrlText/index.d.ts +0 -1
  286. package/dist/components/text/MrlTextHeading/MrlTextHeading.d.ts +0 -39
  287. package/dist/components/text/MrlTextHeading/index.d.ts +0 -1
  288. package/dist/components/text/constants.d.ts +0 -40
  289. package/dist/components/text/index.d.ts +0 -2
  290. package/dist/components/toast/index.d.ts +0 -1
  291. package/dist/components/toolbar/MrlToolbar/MrlToolbar.d.ts +0 -38
  292. package/dist/components/toolbar/MrlToolbar/index.d.ts +0 -1
  293. package/dist/components/toolbar/MrlToolbarButton/MrlToolbarButton.d.ts +0 -58
  294. package/dist/components/toolbar/MrlToolbarButton/index.d.ts +0 -1
  295. package/dist/components/toolbar/MrlToolbarItem/MrlToolbarItem.d.ts +0 -30
  296. package/dist/components/toolbar/MrlToolbarItem/index.d.ts +0 -1
  297. package/dist/components/toolbar/index.d.ts +0 -3
  298. package/dist/components/tooltip/MrlTooltip/MrlTooltip.d.ts +0 -58
  299. package/dist/components/tooltip/MrlTooltip/index.d.ts +0 -1
  300. package/dist/components/tooltip/MrlTooltip/utilities.d.ts +0 -8
  301. package/dist/components/tooltip/MrlTooltipContent/MrlTooltipContent.d.ts +0 -43
  302. package/dist/components/tooltip/MrlTooltipContent/index.d.ts +0 -1
  303. package/dist/components/tooltip/constants.d.ts +0 -25
  304. package/dist/components/tooltip/index.d.ts +0 -2
  305. package/dist/components/tooltip/utils.d.ts +0 -9
  306. package/dist/contexts/MrlTabContext/MrlTabContext.d.ts +0 -6
  307. package/dist/contexts/MrlTabContext/index.d.ts +0 -1
  308. package/dist/contexts/index.d.ts +0 -1
  309. package/dist/hooks/index.d.ts +0 -3
  310. package/dist/hooks/useAutoClose/index.d.ts +0 -1
  311. package/dist/hooks/useAutoClose/useAutoClose.d.ts +0 -11
  312. package/dist/hooks/useBreakpoint/index.d.ts +0 -15
  313. package/dist/hooks/useBreakpoint/useBreakpointDemo.d.ts +0 -7
  314. package/dist/hooks/useClickOutside/index.d.ts +0 -11
  315. package/dist/hooks/useCoordinate/index.d.ts +0 -18
  316. package/dist/hooks/useElementDimensions/index.d.ts +0 -16
  317. package/dist/hooks/useScrollbarInfo/index.d.ts +0 -13
  318. package/dist/hooks/useTriggerPosition/constants.d.ts +0 -10
  319. package/dist/hooks/useTriggerPosition/index.d.ts +0 -16
  320. package/dist/hooks/useTriggerPosition/utilities.d.ts +0 -11
  321. package/dist/index.d.ts +0 -4
  322. package/dist/index.js +0 -2
  323. package/dist/index.js.LICENSE.txt +0 -17
  324. package/dist/src/components/layout/error-page/MrlBrandColors/MrlBrandColors.functions.scss +0 -12
  325. package/dist/styles/MrlAvatar/module.scss +0 -97
  326. package/dist/styles/MrlAvatarButton/module.scss +0 -41
  327. package/dist/styles/MrlBadge/module.scss +0 -39
  328. package/dist/styles/MrlBadgeNotification/module.scss +0 -38
  329. package/dist/styles/MrlBlockNotification/global.scss +0 -19
  330. package/dist/styles/MrlBlockNotification/mixins.scss +0 -20
  331. package/dist/styles/MrlBlockNotification/module.scss +0 -79
  332. package/dist/styles/MrlBlockNotification/variables.scss +0 -66
  333. package/dist/styles/MrlBrandColors/mixins.scss +0 -9
  334. package/dist/styles/MrlBrandColors/module.scss +0 -24
  335. package/dist/styles/MrlBrandColors/variables.scss +0 -89
  336. package/dist/styles/MrlButton/global.scss +0 -69
  337. package/dist/styles/MrlCallout/module.scss +0 -47
  338. package/dist/styles/MrlCheckbox/global.scss +0 -18
  339. package/dist/styles/MrlCheckbox/module.scss +0 -16
  340. package/dist/styles/MrlCheckbox/variables.scss +0 -10
  341. package/dist/styles/MrlCheckboxStandalone/global.scss +0 -18
  342. package/dist/styles/MrlCheckboxStandalone/module.scss +0 -42
  343. package/dist/styles/MrlCheckboxStandalone/variables.scss +0 -27
  344. package/dist/styles/MrlContainer/module.scss +0 -32
  345. package/dist/styles/MrlDivider/module.scss +0 -22
  346. package/dist/styles/MrlEditableTextInput/module.scss +0 -99
  347. package/dist/styles/MrlEditableTextInput/variables.scss +0 -5
  348. package/dist/styles/MrlEditableTextarea/global.scss +0 -16
  349. package/dist/styles/MrlEditableTextarea/module.scss +0 -67
  350. package/dist/styles/MrlErrorPage/module.scss +0 -43
  351. package/dist/styles/MrlFieldset/module.scss +0 -2
  352. package/dist/styles/MrlFilter/module.scss +0 -5
  353. package/dist/styles/MrlFilterItem/module.scss +0 -54
  354. package/dist/styles/MrlInlineMessage/module.scss +0 -45
  355. package/dist/styles/MrlLabel/module.scss +0 -25
  356. package/dist/styles/MrlLabel/variables.scss +0 -17
  357. package/dist/styles/MrlLabelWithDescription/module.scss +0 -54
  358. package/dist/styles/MrlLabelWithDescription/variables.scss +0 -14
  359. package/dist/styles/MrlLegacySelect/module.scss +0 -80
  360. package/dist/styles/MrlLegacySelect/variables.scss +0 -10
  361. package/dist/styles/MrlLegacySelectItem/module.scss +0 -39
  362. package/dist/styles/MrlLegacySelectItem/variables.scss +0 -26
  363. package/dist/styles/MrlLegacySelectMenu/module.scss +0 -30
  364. package/dist/styles/MrlLegacySelectMenu/variables.scss +0 -4
  365. package/dist/styles/MrlLink/module.scss +0 -68
  366. package/dist/styles/MrlLinkButton/global.scss +0 -4
  367. package/dist/styles/MrlMain/module.scss +0 -26
  368. package/dist/styles/MrlMain/variables.scss +0 -5
  369. package/dist/styles/MrlMenu/module.scss +0 -45
  370. package/dist/styles/MrlMenuGroup/module.scss +0 -3
  371. package/dist/styles/MrlMenuItem/module.scss +0 -118
  372. package/dist/styles/MrlModal/global.scss +0 -37
  373. package/dist/styles/MrlModal/mixins.scss +0 -23
  374. package/dist/styles/MrlModal/module.scss +0 -55
  375. package/dist/styles/MrlModal/variables.scss +0 -26
  376. package/dist/styles/MrlModalContent/module.scss +0 -19
  377. package/dist/styles/MrlModalFooter/global.scss +0 -16
  378. package/dist/styles/MrlModalFooter/module.scss +0 -41
  379. package/dist/styles/MrlModalFooter/variables.scss +0 -5
  380. package/dist/styles/MrlModalHeader/module.scss +0 -21
  381. package/dist/styles/MrlPage/module.scss +0 -13
  382. package/dist/styles/MrlPagination/module.scss +0 -29
  383. package/dist/styles/MrlPanel/module.scss +0 -61
  384. package/dist/styles/MrlPanelFooter/module.scss +0 -12
  385. package/dist/styles/MrlPanelStickyHeader/module.scss +0 -14
  386. package/dist/styles/MrlPopover/module.scss +0 -115
  387. package/dist/styles/MrlPopover/variables.scss +0 -16
  388. package/dist/styles/MrlProgressBar/module.scss +0 -57
  389. package/dist/styles/MrlRadioButton/module.scss +0 -8
  390. package/dist/styles/MrlRadioButtonStandalone/global.scss +0 -16
  391. package/dist/styles/MrlRadioButtonStandalone/module.scss +0 -59
  392. package/dist/styles/MrlRadioButtonStandalone/variables.scss +0 -31
  393. package/dist/styles/MrlSidebar/module.scss +0 -65
  394. package/dist/styles/MrlSidebarNavGroup/module.scss +0 -8
  395. package/dist/styles/MrlSidebarNavItem/module.scss +0 -47
  396. package/dist/styles/MrlSkeleton/module.scss +0 -9
  397. package/dist/styles/MrlSkeletonText/module.scss +0 -24
  398. package/dist/styles/MrlSmartTable/module.scss +0 -27
  399. package/dist/styles/MrlSpinner/module.scss +0 -109
  400. package/dist/styles/MrlSvg/module.scss +0 -24
  401. package/dist/styles/MrlSvgAnimate/module.scss +0 -13
  402. package/dist/styles/MrlSwitch/module.scss +0 -9
  403. package/dist/styles/MrlSwitchStandalone/module.scss +0 -84
  404. package/dist/styles/MrlTab/module.scss +0 -117
  405. package/dist/styles/MrlTabContent/module.scss +0 -7
  406. package/dist/styles/MrlTabGroup/module.scss +0 -66
  407. package/dist/styles/MrlTable/module.scss +0 -5
  408. package/dist/styles/MrlTableBody/module.scss +0 -2
  409. package/dist/styles/MrlTableCell/module.scss +0 -7
  410. package/dist/styles/MrlTableColumn/module.scss +0 -24
  411. package/dist/styles/MrlTableEmptyState/module.scss +0 -14
  412. package/dist/styles/MrlTableHeader/module.scss +0 -7
  413. package/dist/styles/MrlTableRow/module.scss +0 -17
  414. package/dist/styles/MrlText/module.scss +0 -8
  415. package/dist/styles/MrlText/variables.scss +0 -14
  416. package/dist/styles/MrlTextHeading/module.scss +0 -24
  417. package/dist/styles/MrlTextHeading/variables.scss +0 -40
  418. package/dist/styles/MrlTextInput/module.scss +0 -70
  419. package/dist/styles/MrlTextInput/variables.scss +0 -5
  420. package/dist/styles/MrlTextarea/global.scss +0 -12
  421. package/dist/styles/MrlTextarea/module.scss +0 -18
  422. package/dist/styles/MrlToast/module.scss +0 -114
  423. package/dist/styles/MrlToolbar/module.scss +0 -53
  424. package/dist/styles/MrlToolbarButton/module.scss +0 -3
  425. package/dist/styles/MrlTooltipContent/global.scss +0 -146
  426. package/dist/styles/MrlTooltipContent/variables.scss +0 -17
  427. package/dist/styles/MrlTopbar/module.scss +0 -12
  428. package/dist/styles/a11y-helpers/global.scss +0 -5
  429. package/dist/styles/a11y-helpers/mixins.scss +0 -11
  430. package/dist/styles/button/global.scss +0 -38
  431. package/dist/styles/button/mixins.scss +0 -42
  432. package/dist/styles/button/variables.scss +0 -164
  433. package/dist/styles/components/module.scss +0 -6
  434. package/dist/styles/container/variables.scss +0 -10
  435. package/dist/styles/date-picker/module.scss +0 -38
  436. package/dist/styles/demo/module.scss +0 -11
  437. package/dist/styles/divider/mixins.scss +0 -32
  438. package/dist/styles/divider/variables.scss +0 -22
  439. package/dist/styles/empty/module.scss +0 -18
  440. package/dist/styles/form/global.scss +0 -89
  441. package/dist/styles/form/variables.scss +0 -58
  442. package/dist/styles/grid/global.scss +0 -6
  443. package/dist/styles/grid/variables.scss +0 -26
  444. package/dist/styles/layout/variables.scss +0 -3
  445. package/dist/styles/modal/variables.scss +0 -32
  446. package/dist/styles/skeleton/mixins.scss +0 -44
  447. package/dist/styles/skeleton/variables.scss +0 -2
  448. package/dist/styles/svg/variables.scss +0 -17
  449. package/dist/styles/table/global.scss +0 -78
  450. package/dist/styles/table/variables.scss +0 -30
  451. package/dist/styles/tooltip/mixins.scss +0 -8
  452. package/dist/styles.css +0 -97
  453. package/dist/utils/checkInvalidAttributes/index.d.ts +0 -7
  454. package/dist/utils/commonProps/index.d.ts +0 -20
  455. package/dist/utils/dataQa/index.d.ts +0 -6
  456. package/dist/utils/findAdjacentInteractiveElement/findAdjacentInteractiveElement.d.ts +0 -8
  457. package/dist/utils/findAdjacentInteractiveElement/index.d.ts +0 -1
  458. package/dist/utils/frameDebounce/index.d.ts +0 -22
  459. package/dist/utils/getCamelCase/getCamelCase.d.ts +0 -7
  460. package/dist/utils/getCamelCase/getCamelCase.test.d.ts +0 -1
  461. package/dist/utils/getCamelCase/index.d.ts +0 -2
  462. package/dist/utils/getScrollableContainer/getScrollableContainer.d.ts +0 -7
  463. package/dist/utils/hasHorizontalScroll/hasHorizontalScroll.d.ts +0 -11
  464. package/dist/utils/hasScrollContent/hasScrollContent.d.ts +0 -11
  465. package/dist/utils/index.d.ts +0 -11
  466. package/dist/utils/isElementScrollable/index.d.ts +0 -7
  467. package/dist/utils/isImagePath/index.d.ts +0 -7
  468. package/dist/utils/isImageUri/index.d.ts +0 -7
  469. package/dist/utils/isObject/index.d.ts +0 -2
  470. package/dist/utils/isObject/isObject.d.ts +0 -14
  471. package/dist/utils/isObject/isObject.test.d.ts +0 -1
  472. package/dist/utils/isTouch/index.d.ts +0 -6
  473. package/dist/utils/layers/index.d.ts +0 -48
  474. package/dist/utils/noop/index.d.ts +0 -7
  475. package/dist/utils/preventDefault/index.d.ts +0 -1
  476. package/dist/utils/preventDefault/preventDefault.d.ts +0 -6
  477. package/dist/utils/setAttributes/index.d.ts +0 -2
  478. package/dist/utils/setAttributes/setAttributes.d.ts +0 -35
  479. package/dist/utils/setAttributes/setAttributes.test.d.ts +0 -1
  480. package/dist/utils/trapFocus/index.d.ts +0 -24
@@ -1 +0,0 @@
1
- export * from './MrlTableRow';
@@ -1,21 +0,0 @@
1
- export type MrlTableItemId = string;
2
- export type MrlTableColumnId = string;
3
- export declare enum MrlSortDirection {
4
- ASC = 1,
5
- DESC = -1
6
- }
7
- export interface MrlTableColumnSortDescriptor {
8
- /**
9
- * The key of the column to sort by.
10
- */
11
- column: MrlTableColumnId;
12
- /**
13
- * The direction to sort by.
14
- */
15
- direction: MrlSortDirection;
16
- /**
17
- * The name of the column to sort by.
18
- */
19
- name: string;
20
- }
21
- export type MrlTableSelectionMode = 'single' | 'multiple';
@@ -1,89 +0,0 @@
1
- declare enum STICKY_VALUES {
2
- LEFT = "left",
3
- RIGHT = "right"
4
- }
5
- export declare const SAMPLE_COLUMNS: ({
6
- allowsSorting: boolean;
7
- id: string;
8
- name: string;
9
- tooltip?: undefined;
10
- } | {
11
- allowsSorting: boolean;
12
- id: string;
13
- name: string;
14
- tooltip: string;
15
- } | {
16
- id: string;
17
- name: string;
18
- allowsSorting?: undefined;
19
- tooltip?: undefined;
20
- })[];
21
- export declare const SAMPLE_ITEMS: {
22
- dateModified: string;
23
- id: string;
24
- name: string;
25
- type: string;
26
- }[];
27
- export declare const SAMPLE_ITEMS_WITH_NON_SELECTABLE_ITEM: ({
28
- dateModified: string;
29
- id: string;
30
- name: string;
31
- type: string;
32
- isSelectable?: undefined;
33
- } | {
34
- dateModified: string;
35
- id: string;
36
- isSelectable: boolean;
37
- name: string;
38
- type: string;
39
- })[];
40
- export declare const SAMPLE_ITEMS_WITH_DISABLED_ITEM: ({
41
- dateModified: string;
42
- id: string;
43
- name: string;
44
- type: string;
45
- isDisabled?: undefined;
46
- } | {
47
- dateModified: string;
48
- id: string;
49
- isDisabled: boolean;
50
- name: string;
51
- type: string;
52
- })[];
53
- export declare const SAMPLE_STICKY_COLUMNS: ({
54
- allowsSorting: boolean;
55
- id: string;
56
- name: string;
57
- sticky: STICKY_VALUES;
58
- } | {
59
- allowsSorting: boolean;
60
- id: string;
61
- name: string;
62
- sticky?: undefined;
63
- } | {
64
- id: string;
65
- name: string;
66
- sticky: STICKY_VALUES;
67
- allowsSorting?: undefined;
68
- })[];
69
- export declare const SAMPLE_STICKY_ITEMS: {
70
- dateModified: string;
71
- foobars: string;
72
- id: string;
73
- name: string;
74
- type: string;
75
- widgets: string;
76
- }[];
77
- export declare const SAMPLE_ITEMS_WITH_LONG_CONTENT: {
78
- dateModified: string;
79
- id: string;
80
- name: string;
81
- type: string;
82
- }[];
83
- export declare const SAMPLE_ITEMS_500: {
84
- id: string;
85
- dateModified: string;
86
- name: string;
87
- type: string;
88
- }[];
89
- export {};
@@ -1,9 +0,0 @@
1
- export * from './MrlTable';
2
- export * from './MrlTableBody';
3
- export * from './MrlTableCell';
4
- export * from './MrlTableColumn';
5
- export * from './MrlTableHeader';
6
- export * from './MrlTableRow';
7
- export * from './MrlSmartTable';
8
- export * from './MrlTableEmptyState';
9
- export * from './constants';
@@ -1,43 +0,0 @@
1
- import { sortAsc, sortDes } from '@muraldevkit/ds-icons';
2
- import { MrlSortDirection } from './constants';
3
- /**
4
- * Used as a generic sort comparator for unknown types by coercing each value
5
- * to a string and sorting alphabetically. It will likely produce unexpected and/or
6
- * undesirable results for anything other than the most basic text or numeric data.
7
- *
8
- * @param {unknown} a first of two values
9
- * @param {unknown} b second of two values
10
- * @returns {number} A negative number if a occurs before b; positive if the
11
- * a occurs after b; 0 if they are equivalent.
12
- */
13
- export declare const sortAlphabeticallyAsCoercedStrings: (a: unknown, b: unknown) => number;
14
- /**
15
- * Used to generate consistent keys for the entire structure of MrlSmartTable
16
- *
17
- * @param {string} prefix the unique structure prefix
18
- * @param {string} elementType the element type to generate a key for
19
- * @param {string[]} keys a set of properties to uniquely identify the element
20
- * @returns {string} the generated key
21
- */
22
- export declare const keyFor: (prefix: string, elementType: 'header' | 'column' | 'body' | 'row' | 'row-cell', ...keys: string[]) => string;
23
- /**
24
- * Provides sort icon based on direction.
25
- *
26
- * @param {MrlSortDirection} direction the sort direction
27
- * @returns {typeof sortAsc | typeof sortDes} the icon
28
- */
29
- export declare const sortIcon: (direction: MrlSortDirection) => typeof sortAsc | typeof sortDes;
30
- /**
31
- * Provides text label based on sort direction.
32
- *
33
- * @param {MrlSortDirection} direction the sort direction
34
- * @returns {string} the text label
35
- */
36
- export declare const sortText: (direction: MrlSortDirection) => string;
37
- /**
38
- * Provides next sort direction based on current direction.
39
- *
40
- * @param {MrlSortDirection} current sort direction
41
- * @returns {MrlSortDirection} next sort direction
42
- */
43
- export declare const nextSortDirection: (current?: MrlSortDirection) => MrlSortDirection;
@@ -1,21 +0,0 @@
1
- import * as React from 'react';
2
- export interface MrlTabProps extends React.ComponentProps<'button'> {
3
- /** Class to be applied to the button element of the MrlTab */
4
- className?: string;
5
- icon?: React.ReactElement;
6
- /**
7
- * The id that will be passed to the MrlTabContext to set the active state.
8
- * NOTE: This must match the `tabId` set on `MrlTabContent`!
9
- */
10
- id: string;
11
- /** An addition function to call when clicking on a tab */
12
- hookClick?: () => void;
13
- text: string;
14
- }
15
- /**
16
- * Renders a tab component
17
- *
18
- * @param {MrlTabProps} props the props for your MrlTab
19
- * @returns {React.ReactElement} an a element containing the text you pass
20
- */
21
- export declare const MrlTab: ({ className, icon, id, hookClick, text }: MrlTabProps) => React.ReactElement;
@@ -1 +0,0 @@
1
- export * from './MrlTab';
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- export interface MrlTabContentPropTypes {
3
- children: React.ReactNode;
4
- /** Class to be applied to the container element of the MrlTabContent */
5
- className?: string;
6
- /** The id of the tab button associated to this content */
7
- tabId: string;
8
- }
9
- export declare const MrlTabContent: React.FC<MrlTabContentPropTypes>;
@@ -1 +0,0 @@
1
- export * from './MrlTabContent';
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- export interface MrlTabGroupPropTypes {
3
- children: React.ReactNode;
4
- /** Class to be applied to the container element of the MrlTabGroup */
5
- className?: string;
6
- disablePageControls?: boolean;
7
- /** A hidden label for the tab group for accessiblity purposes */
8
- label?: string;
9
- }
10
- export declare const MrlTabGroup: React.FC<MrlTabGroupPropTypes>;
@@ -1 +0,0 @@
1
- export * from './MrlTabGroup';
@@ -1,22 +0,0 @@
1
- import * as React from 'react';
2
- import { NavLinkProps } from 'react-router-dom';
3
- export interface MrlTabLinkProps extends NavLinkProps {
4
- /** Class to be applied to the NavLink element of the MrlTabLink */
5
- className?: string;
6
- icon?: React.ReactElement;
7
- /**
8
- * The id that will be passed to the MrlTabContext to set the active state.
9
- * NOTE: This must match the `tabId` set on `MrlTabContent`!
10
- */
11
- id: string;
12
- /** An addition function to call when clicking on a tab */
13
- hookClick?: () => void;
14
- text: string;
15
- }
16
- /**
17
- * Renders a tab component
18
- *
19
- * @param {MrlTabLinkProps} props the props for your MrlTabLink
20
- * @returns {React.ReactElement} an a element containing the text you pass
21
- */
22
- export declare const MrlTabLink: ({ className, icon, id, hookClick, text, to, ...remainingProps }: MrlTabLinkProps) => React.ReactElement;
@@ -1 +0,0 @@
1
- export * from './MrlTabLink';
@@ -1,21 +0,0 @@
1
- import * as React from 'react';
2
- import { MrlTabContextProps } from '../../../';
3
- export type MrlTabSize = 'small' | 'large';
4
- export interface MrlTabsPropTypes {
5
- /** Sets the tabs to be styled with capital case */
6
- capitalizeTabTitles?: boolean;
7
- children: React.ReactNode;
8
- /** Class to be applied to the container element of the MrlTabs */
9
- className?: string;
10
- /** Sets the default active tab by id */
11
- selectedTab?: string;
12
- size?: MrlTabSize;
13
- spaceTabsEvenly?: boolean;
14
- }
15
- export declare const MrlTabs: React.FC<MrlTabsPropTypes>;
16
- /**
17
- * Tab context to prevent us from having to do any prop drilling.
18
- *
19
- * @returns {MrlTabContextProps} the context of the tabs
20
- */
21
- export declare function useMrlTabContext(): MrlTabContextProps;
@@ -1 +0,0 @@
1
- export * from './MrlTabs';
@@ -1 +0,0 @@
1
- export type TabActionType = 'ArrowUp' | 'ArrowDown' | 'ArrowLeft' | 'ArrowRight' | 'Home' | 'End' | null;
@@ -1,5 +0,0 @@
1
- export * from './MrlTab';
2
- export * from './MrlTabContent';
3
- export * from './MrlTabGroup';
4
- export * from './MrlTabLink';
5
- export * from './MrlTabs';
@@ -1,26 +0,0 @@
1
- import * as React from 'react';
2
- import { AttrsObject } from '../../../utils';
3
- import { TextSizes } from '../constants';
4
- import { DataQa } from '../../../utils/dataQa';
5
- interface MrlTextProps extends React.ComponentPropsWithoutRef<'p'>, DataQa {
6
- /**
7
- * Applies additional HTML attributes to the text element
8
- *
9
- * @deprecated - use the regular HTML attributes instead.
10
- */
11
- attrs?: AttrsObject;
12
- /** Children to be rendered within the text component */
13
- children?: React.ReactNode;
14
- /** Visual size of the text element */
15
- size?: TextSizes;
16
- /** Textual content when it's a static string; if you have nested elements, use children to provide content */
17
- text?: string;
18
- }
19
- /**
20
- * MrlText Component
21
- *
22
- * @param {MrlTextProps} props - MrlText component props
23
- * @returns a paragraph element
24
- */
25
- export declare function MrlText(props: MrlTextProps): JSX.Element;
26
- export {};
@@ -1 +0,0 @@
1
- export * from './MrlText';
@@ -1,39 +0,0 @@
1
- import * as React from 'react';
2
- import { AttrsObject } from '../../../utils';
3
- import { LevelType, HeadingHierarchies, HeadingSizes, TextSizes, HeadingKinds } from '../constants';
4
- import { DataQa } from '../../../utils/dataQa';
5
- interface MrlTextHeadingProps extends React.ComponentPropsWithRef<'h1'>, DataQa {
6
- /**
7
- * Applies additional HTML attributes to the text element
8
- *
9
- * @deprecated - use the regular HTML attributes instead.
10
- */
11
- attrs?: AttrsObject;
12
- /** Children to be rendered within the text heading component */
13
- children?: React.ReactNode;
14
- /** Set the semantic level of the heading based on its usage in the page hierarchy */
15
- level?: LevelType;
16
- /** Visual styling use case for the heading */
17
- kind?: HeadingKinds;
18
- /**
19
- * Visual size of the heading
20
- * xsmall and xxsmall are only supported when kind="title"
21
- */
22
- size?: HeadingSizes | TextSizes;
23
- /**
24
- * Clear and concise description of the content that the heading describes
25
- *
26
- * Note: hierarchy only impacts MrlTextHeading components with `kind="title"`
27
- */
28
- hierarchy?: HeadingHierarchies;
29
- text?: string;
30
- }
31
- /**
32
- * MuralTextHeading component
33
- * Used for creating semantic headings within a page
34
- *
35
- * @param {MrlTextHeadingProps} props - MrlTextHeading component props
36
- * @returns a heading element
37
- */
38
- export declare function MrlTextHeading(props: MrlTextHeadingProps): JSX.Element;
39
- export {};
@@ -1 +0,0 @@
1
- export * from './MrlTextHeading';
@@ -1,40 +0,0 @@
1
- import { AttrsObject } from '../../utils';
2
- export type TextSizes = 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large';
3
- export interface TextDefaults {
4
- attrs: AttrsObject;
5
- size: TextSizes;
6
- }
7
- export declare const textAllowedValues: {
8
- sizes: string[];
9
- };
10
- /**
11
- * Default values for props on the Text component;
12
- * Shared between the component and Storybook
13
- */
14
- export declare const textDefaults: TextDefaults;
15
- export type LevelType = '1' | '2' | '3' | '4' | '5' | '6';
16
- export type HeadingKinds = 'display' | 'headline' | 'title';
17
- export type HeadingSizes = 'small' | 'medium' | 'large';
18
- export type HeadingHierarchies = 'primary' | 'secondary';
19
- export interface HeadingDefaults {
20
- attrs: AttrsObject;
21
- hierarchy: HeadingHierarchies;
22
- kind: HeadingKinds;
23
- level: LevelType;
24
- size: HeadingSizes | TextSizes;
25
- }
26
- /**
27
- * Defines all of classes allowed for the type attribute;
28
- * used for Storybook and testing
29
- */
30
- export declare const headingAllowedValues: {
31
- hierarchy: string[];
32
- kinds: string[];
33
- level: string[];
34
- sizes: string[];
35
- };
36
- /**
37
- * Default values for props on the Text component;
38
- * Shared between the component and Storybook
39
- */
40
- export declare const headingDefaults: HeadingDefaults;
@@ -1,2 +0,0 @@
1
- export * from './MrlText';
2
- export * from './MrlTextHeading';
@@ -1 +0,0 @@
1
- export * from '../notification/MrlToast';
@@ -1,38 +0,0 @@
1
- import * as React from 'react';
2
- import { MrlIconButtonProps, MrlMenuProps } from '../../../';
3
- /**
4
- * Props for the MrlToolbar component.
5
- */
6
- export interface MrlToolbarProps extends React.ComponentPropsWithRef<'div'> {
7
- children?: React.ReactNode;
8
- kind?: 'default' | 'inverse' | 'skeleton';
9
- /**
10
- * An optional prop to apply an aria-label to the MrlToobar
11
- */
12
- label?: string;
13
- lastToolbarInRow?: boolean;
14
- /**
15
- * An optional prop to set the maximum number of visible items in a toolbar.
16
- * Additional items will appear in a menu.
17
- */
18
- maxVisibleItems?: number;
19
- menuButtonProps?: MrlIconButtonProps;
20
- menuProps?: MrlMenuProps;
21
- orientation?: 'horizontal' | 'vertical';
22
- /**
23
- * A boolean prop that sets RovingTabindex in the MrlToolbar
24
- */
25
- shouldUseRti?: boolean;
26
- /**
27
- * Sets the size of the toolbar - defaults to 'small'
28
- */
29
- size?: 'xsmall' | 'small' | 'medium';
30
- spaced?: boolean;
31
- }
32
- /**
33
- * MrlToolbar component.
34
- *
35
- * @param props The MrlToolbar component properties.
36
- * @returns The MrlToolbar component.
37
- */
38
- export declare const MrlToolbar: (props: MrlToolbarProps) => React.ReactElement;
@@ -1 +0,0 @@
1
- export * from './MrlToolbar';
@@ -1,58 +0,0 @@
1
- import * as React from 'react';
2
- import { MrlIconButtonProps, MrlMenuItemProps } from '../../../';
3
- /**
4
- * Props for the MrlToolbarButton component.
5
- */
6
- export interface MrlToolbarButtonProps {
7
- /** Additional class to add to the Toolbar button */
8
- className?: string;
9
- /**
10
- * The icon that will be rendered.
11
- */
12
- icon: React.ReactElement;
13
- includeInRoving?: boolean;
14
- /**
15
- * A prop used to set a toolbar button to never move into the menu.
16
- */
17
- lockedInToolbar?: boolean;
18
- /**
19
- * onClick event for the button.
20
- */
21
- onClick?: (e?: React.MouseEvent<HTMLButtonElement>) => void;
22
- /**
23
- * Props used to control the display of the button in the menu.
24
- */
25
- menuItemProps?: Omit<MrlMenuItemProps, 'onClick'>;
26
- qa?: string;
27
- /**
28
- * A prop used to render the item in the menu instead of the toolbar.
29
- */
30
- renderInMenu?: boolean;
31
- text: string;
32
- /**
33
- * Props used to control the display of the button in the toolbar.
34
- */
35
- toolbarButtonProps?: {
36
- badge?: MrlIconButtonProps['badge'];
37
- disableEvents?: MrlIconButtonProps['disableEvents'];
38
- kind?: MrlIconButtonProps['kind'];
39
- loading?: MrlIconButtonProps['loading'];
40
- loadingText?: MrlIconButtonProps['loadingText'];
41
- onKeyUp?: MrlIconButtonProps['onKeyUp'];
42
- onMouseUp?: MrlIconButtonProps['onMouseUp'];
43
- position?: MrlIconButtonProps['position'];
44
- size?: MrlIconButtonProps['size'];
45
- state?: MrlIconButtonProps['state'];
46
- tipAnchor?: MrlIconButtonProps['tipAnchor'];
47
- toggleAria?: MrlIconButtonProps['toggleAria'];
48
- toggleStyle?: MrlIconButtonProps['toggleStyle'];
49
- tooltipKind?: MrlIconButtonProps['tooltipKind'];
50
- };
51
- }
52
- /**
53
- * MrlToolbarButton component.
54
- *
55
- * @param props The MrlToolbarButton component properties.
56
- * @returns The MrlToolbarButton component.
57
- */
58
- export declare const MrlToolbarButton: React.ForwardRefExoticComponent<MrlToolbarButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1 +0,0 @@
1
- export * from './MrlToolbarButton';
@@ -1,30 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * Props for the MrlToolbarItem component.
4
- */
5
- export interface MrlToolbarItemProps {
6
- /**
7
- * A prop used to set a toolbar button to never move into the menu.
8
- */
9
- lockedInToolbar?: boolean;
10
- /**
11
- * The rendered component in the overflow menu.
12
- * If nothing is passed, the toolbarItem will be rendered in the menu.
13
- */
14
- menuItem?: JSX.Element;
15
- /**
16
- * A prop used to render the item in the menu instead of the toolbar.
17
- */
18
- renderInMenu?: boolean;
19
- /**
20
- * The rendered markup in the toolbar.
21
- */
22
- toolbarItem: JSX.Element;
23
- }
24
- /**
25
- * MrlToolbarItem component.
26
- *
27
- * @param props The MrlToolbarItem component properties.
28
- * @returns The MrlToolbarItem component.
29
- */
30
- export declare const MrlToolbarItem: (props: MrlToolbarItemProps) => JSX.Element | null;
@@ -1 +0,0 @@
1
- export * from './MrlToolbarItem';
@@ -1,3 +0,0 @@
1
- export * from './MrlToolbar';
2
- export * from './MrlToolbarButton';
3
- export * from './MrlToolbarItem';
@@ -1,58 +0,0 @@
1
- import * as React from 'react';
2
- import { AttrsObject } from '../../../utils';
3
- import { MrlTooltipAnchor, MrlTooltipPosition, MrlTooltipState, MrlTooltipVariant } from '../constants';
4
- import '../../../styles/shared/a11y-helpers/a11y.global.scss';
5
- interface MrlTooltipProps {
6
- /** The arrow position of the tooltip in relation to its trigger's content */
7
- anchor?: MrlTooltipAnchor;
8
- /**
9
- * Attributes that are applied to the component during the initial render.
10
- *
11
- * Example usage: html attributes, custom data attributes (data-qa), aria
12
- *
13
- * @deprecated please use props for component instead
14
- */
15
- attrs?: AttrsObject;
16
- /**
17
- * Children to be rendered within the tooltip. The first child is used as the trigger.
18
- *
19
- * Warning: The tooltip is only setup to work with a single trigger. If multiple children
20
- * are passed in the component will not have event handling for the additional child elements.
21
- */
22
- children: React.ReactElement;
23
- /** Whether the tooltip should close when clicked */
24
- clickToClose?: boolean;
25
- /** The data-qa attribute for the tooltip */
26
- dataQa?: string;
27
- /** The state value to determine if the tooltip should be displayed */
28
- display?: MrlTooltipState;
29
- /**
30
- * Whether to disable the screen reader text
31
- *
32
- * !!! only use this prop if you are sure that the tooltip content is not needed for screen reader users !!!
33
- */
34
- disableScreenReaderText?: boolean;
35
- /** Whether to disable the tooltip hover action that keeps it open */
36
- disableTooltipHover?: boolean;
37
- /** The kind of tooltip to be rendered */
38
- kind?: MrlTooltipVariant;
39
- /** The placement of the tooltip in relation to its trigger */
40
- position?: MrlTooltipPosition;
41
- /** The textual label of tooltip */
42
- text: string;
43
- /** A custom class selector to be applied to the tooltip wrapper */
44
- tooltipClass?: string;
45
- /** A class to be applied ot the tooltip content */
46
- tooltipContentClass?: string;
47
- }
48
- /**
49
- * MrlTooltip Component
50
- *
51
- * This component is not displayed when rendering this component if the primary pointing device can’t hover. Examples include touchscreens and screens that use a basic drawing stylus.
52
- Pointing devices that can hover, but for which doing so is inconvenient and not part of the normal way they are used, also match this criteria. For example, a touchscreen where a long press is treated as hovering.
53
- *
54
- * @param {MrlTooltipProps} props - The props of the component
55
- * @returns {HTMLElement} a configured Tooltip component
56
- */
57
- export declare const MrlTooltip: React.MemoExoticComponent<(props: MrlTooltipProps) => React.ReactElement>;
58
- export {};
@@ -1 +0,0 @@
1
- export { MrlTooltip } from './MrlTooltip';
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * Function to recursively extract all text content from children
4
- *
5
- * @param children - the children of the component
6
- * @returns the combined text content of the children
7
- */
8
- export declare const extractTextContent: (children: React.ReactNode) => string;