@muraldevkit/ui-toolkit 4.35.1-dev-yPbC.1 → 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.
- package/package.json +1 -1
- package/dist/components/avatar/MrlAvatar/MrlAvatar.d.ts +0 -31
- package/dist/components/avatar/MrlAvatar/index.d.ts +0 -1
- package/dist/components/avatar/MrlAvatarButton/MrlAvatarButton.d.ts +0 -62
- package/dist/components/avatar/MrlAvatarButton/index.d.ts +0 -1
- package/dist/components/avatar/index.d.ts +0 -2
- package/dist/components/badge/MrlBadge/MrlBadge.d.ts +0 -26
- package/dist/components/badge/MrlBadge/index.d.ts +0 -1
- package/dist/components/badge/MrlBadgeNotification/MrlBadgeNotification.d.ts +0 -25
- package/dist/components/badge/MrlBadgeNotification/index.d.ts +0 -1
- package/dist/components/badge/index.d.ts +0 -2
- package/dist/components/button/MrlAnimatedIconButton/MrlAnimatedIconButton.d.ts +0 -9
- package/dist/components/button/MrlAnimatedIconButton/index.d.ts +0 -1
- package/dist/components/button/MrlButton/MrlButton.d.ts +0 -105
- package/dist/components/button/MrlButton/index.d.ts +0 -1
- package/dist/components/button/MrlIconButton/MrlIconButton.d.ts +0 -107
- package/dist/components/button/MrlIconButton/index.d.ts +0 -1
- package/dist/components/button/constants.d.ts +0 -33
- package/dist/components/button/helpers.d.ts +0 -40
- package/dist/components/button/index.d.ts +0 -3
- package/dist/components/callout/MrlCallout/MrlCallout.d.ts +0 -34
- package/dist/components/callout/MrlCallout/index.d.ts +0 -1
- package/dist/components/callout/index.d.ts +0 -1
- package/dist/components/container/MrlContainer/MrlContainer.d.ts +0 -22
- package/dist/components/container/MrlContainer/index.d.ts +0 -1
- package/dist/components/container/constants.d.ts +0 -12
- package/dist/components/container/index.d.ts +0 -1
- package/dist/components/divider/MrlDivider/MrlDivider.d.ts +0 -45
- package/dist/components/divider/MrlDivider/index.d.ts +0 -1
- package/dist/components/divider/constants.d.ts +0 -18
- package/dist/components/divider/index.d.ts +0 -1
- package/dist/components/empty/default/MrlEmpty.d.ts +0 -15
- package/dist/components/empty/default/index.d.ts +0 -1
- package/dist/components/empty/index.d.ts +0 -2
- package/dist/components/empty/large/MrlEmptyLarge.d.ts +0 -15
- package/dist/components/empty/large/index.d.ts +0 -1
- package/dist/components/error-boundary/MrlErrorBoundary.d.ts +0 -62
- package/dist/components/error-boundary/index.d.ts +0 -1
- package/dist/components/filter/MrlFilter/MrlFilter.d.ts +0 -28
- package/dist/components/filter/MrlFilter/index.d.ts +0 -1
- package/dist/components/filter/MrlFilterContext/MrlFilterContext.d.ts +0 -34
- package/dist/components/filter/MrlFilterContext/index.d.ts +0 -1
- package/dist/components/filter/MrlFilterItem/MrlFilterItem.d.ts +0 -23
- package/dist/components/filter/MrlFilterItem/index.d.ts +0 -1
- package/dist/components/filter/index.d.ts +0 -3
- package/dist/components/focus-trap/MrlFocusTrap/MrlFocusTrap.d.ts +0 -30
- package/dist/components/focus-trap/MrlFocusTrap/index.d.ts +0 -1
- package/dist/components/focus-trap/index.d.ts +0 -1
- package/dist/components/form/checkbox/MrlCheckbox/MrlCheckbox.d.ts +0 -44
- package/dist/components/form/checkbox/MrlCheckbox/index.d.ts +0 -1
- package/dist/components/form/checkbox/MrlCheckboxStandalone/MrlCheckboxStandalone.d.ts +0 -22
- package/dist/components/form/checkbox/MrlCheckboxStandalone/index.d.ts +0 -1
- package/dist/components/form/constants.d.ts +0 -85
- package/dist/components/form/date-picker/MrlDatePicker.d.ts +0 -30
- package/dist/components/form/date-picker/index.d.ts +0 -1
- package/dist/components/form/fieldset/MrlFieldset/MrlFieldset.d.ts +0 -20
- package/dist/components/form/fieldset/MrlFieldset/index.d.ts +0 -1
- package/dist/components/form/hooks/useActiveColor.d.ts +0 -13
- package/dist/components/form/hooks/useIsEditable.d.ts +0 -30
- package/dist/components/form/index.d.ts +0 -18
- package/dist/components/form/label/MrlLabel/MrlLabel.d.ts +0 -32
- package/dist/components/form/label/MrlLabel/index.d.ts +0 -1
- package/dist/components/form/label/MrlLabelWithDescription/MrlLabelWithDescription.d.ts +0 -32
- package/dist/components/form/label/MrlLabelWithDescription/index.d.ts +0 -1
- package/dist/components/form/legacy-select/MrlLegacySelect/MrlLegacySelect.d.ts +0 -58
- package/dist/components/form/legacy-select/MrlLegacySelect/index.d.ts +0 -1
- package/dist/components/form/legacy-select/MrlLegacySelectItem/MrlLegacySelectItem.d.ts +0 -36
- package/dist/components/form/legacy-select/MrlLegacySelectItem/index.d.ts +0 -1
- package/dist/components/form/legacy-select/MrlLegacySelectMenu/MrlLegacySelectMenu.d.ts +0 -43
- package/dist/components/form/legacy-select/MrlLegacySelectMenu/index.d.ts +0 -1
- package/dist/components/form/legacy-select/context/SelectContext.d.ts +0 -68
- package/dist/components/form/legacy-select/index.d.ts +0 -9
- package/dist/components/form/legacy-select/stories.data.d.ts +0 -1
- package/dist/components/form/radio/MrlRadioButton/MrlRadioButton.d.ts +0 -48
- package/dist/components/form/radio/MrlRadioButton/index.d.ts +0 -1
- package/dist/components/form/radio/MrlRadioButtonStandalone/MrlRadioButtonStandalone.d.ts +0 -26
- package/dist/components/form/radio/MrlRadioButtonStandalone/index.d.ts +0 -1
- package/dist/components/form/radio/MrlRadioGroup/MrlRadioGroup.d.ts +0 -22
- package/dist/components/form/radio/MrlRadioGroup/index.d.ts +0 -1
- package/dist/components/form/select/MrlCreatableSelect/MrlCreatableSelect.d.ts +0 -27
- package/dist/components/form/select/MrlCreatableSelect/index.d.ts +0 -1
- package/dist/components/form/select/MrlMultiSelect/MrlMultiSelect.d.ts +0 -25
- package/dist/components/form/select/MrlMultiSelect/index.d.ts +0 -1
- package/dist/components/form/select/MrlSelect/MrlSelect.d.ts +0 -25
- package/dist/components/form/select/MrlSelect/index.d.ts +0 -1
- package/dist/components/form/select/components/MrlSelectClearIndicator.d.ts +0 -9
- package/dist/components/form/select/components/MrlSelectContainer.d.ts +0 -9
- package/dist/components/form/select/components/MrlSelectDropdownIndicator.d.ts +0 -9
- package/dist/components/form/select/components/MrlSelectMultiValue.d.ts +0 -10
- package/dist/components/form/select/components/MrlSelectMultiValueRemove.d.ts +0 -9
- package/dist/components/form/select/components/MrlSelectOption.d.ts +0 -9
- package/dist/components/form/select/components/MrlSelectValueContainer.d.ts +0 -9
- package/dist/components/form/select/components/index.d.ts +0 -7
- package/dist/components/form/select/index.d.ts +0 -5
- package/dist/components/form/select/styles/default.d.ts +0 -7
- package/dist/components/form/select/styles/index.d.ts +0 -9
- package/dist/components/form/select/styles/inline.d.ts +0 -7
- package/dist/components/form/select/styles/inlineNoLabel.d.ts +0 -7
- package/dist/components/form/select/styles/inlineStacked.d.ts +0 -7
- package/dist/components/form/select/types.d.ts +0 -5
- package/dist/components/form/select/utils/closeMenuOnScroll.d.ts +0 -10
- package/dist/components/form/select/utils/index.d.ts +0 -1
- package/dist/components/form/switch/MrlSwitch/MrlSwitch.d.ts +0 -15
- package/dist/components/form/switch/MrlSwitch/index.d.ts +0 -1
- package/dist/components/form/switch/MrlSwitchStandalone/MrlSwitchStandalone.d.ts +0 -10
- package/dist/components/form/switch/MrlSwitchStandalone/index.d.ts +0 -1
- package/dist/components/form/switch/index.d.ts +0 -2
- package/dist/components/form/text-input/MrlEditableTextInput/MrlEditableTextInput.d.ts +0 -36
- package/dist/components/form/text-input/MrlEditableTextInput/MrlEditableTextInputRightIcon.d.ts +0 -25
- package/dist/components/form/text-input/MrlEditableTextInput/index.d.ts +0 -1
- package/dist/components/form/text-input/MrlTextInput/MrlTextInput.d.ts +0 -44
- package/dist/components/form/text-input/MrlTextInput/MrlTextInputRightIcon.d.ts +0 -24
- package/dist/components/form/text-input/MrlTextInput/index.d.ts +0 -1
- package/dist/components/form/textarea/MrlEditableTextarea/MrlEditableTextarea.d.ts +0 -45
- package/dist/components/form/textarea/MrlEditableTextarea/MrlEditableTextareaRightButton.d.ts +0 -25
- package/dist/components/form/textarea/MrlEditableTextarea/index.d.ts +0 -1
- package/dist/components/form/textarea/MrlTextarea/MrlTextarea.d.ts +0 -39
- package/dist/components/form/textarea/MrlTextarea/index.d.ts +0 -1
- package/dist/components/form/utils.d.ts +0 -94
- package/dist/components/grid/MrlCol/MrlCol.d.ts +0 -12
- package/dist/components/grid/MrlCol/index.d.ts +0 -1
- package/dist/components/grid/MrlGrid/MrlGrid.d.ts +0 -11
- package/dist/components/grid/MrlGrid/index.d.ts +0 -1
- package/dist/components/grid/MrlRow/MrlRow.d.ts +0 -25
- package/dist/components/grid/MrlRow/index.d.ts +0 -1
- package/dist/components/grid/constants.d.ts +0 -50
- package/dist/components/grid/index.d.ts +0 -3
- package/dist/components/index.d.ts +0 -32
- package/dist/components/layout/MrlMain/MrlMain.d.ts +0 -9
- package/dist/components/layout/MrlMain/index.d.ts +0 -1
- package/dist/components/layout/MrlPage/MrlPage.d.ts +0 -11
- package/dist/components/layout/MrlPage/index.d.ts +0 -11
- package/dist/components/layout/MrlSidebar/MrlSidebar.d.ts +0 -22
- package/dist/components/layout/MrlSidebar/demo/MrlSidebarDemo.d.ts +0 -8
- package/dist/components/layout/MrlSidebar/index.d.ts +0 -1
- package/dist/components/layout/MrlTopbar/MrlTopbar.d.ts +0 -11
- package/dist/components/layout/MrlTopbar/index.d.ts +0 -1
- package/dist/components/layout/constants.d.ts +0 -16
- package/dist/components/layout/context/LayoutContext.d.ts +0 -24
- package/dist/components/layout/error-page/MrlBrandColors/MrlBrandColors.d.ts +0 -13
- package/dist/components/layout/error-page/MrlBrandColors/index.d.ts +0 -1
- package/dist/components/layout/error-page/MrlErrorPage/MrlErrorPage.d.ts +0 -28
- package/dist/components/layout/error-page/MrlErrorPage/index.d.ts +0 -1
- package/dist/components/layout/error-page/index.d.ts +0 -2
- package/dist/components/layout/index.d.ts +0 -5
- package/dist/components/layout/utils.d.ts +0 -15
- package/dist/components/link/MrlLink/MrlLink.d.ts +0 -49
- package/dist/components/link/MrlLink/index.d.ts +0 -1
- package/dist/components/link/MrlLinkButton/MrlLinkButton.d.ts +0 -54
- package/dist/components/link/MrlLinkButton/index.d.ts +0 -1
- package/dist/components/link/constants.d.ts +0 -24
- package/dist/components/link/index.d.ts +0 -2
- package/dist/components/live-region/MrlLiveRegion/MrlLiveRegion.d.ts +0 -19
- package/dist/components/live-region/MrlLiveRegion/index.d.ts +0 -1
- package/dist/components/live-region/demo/LiveRegionDemo.d.ts +0 -7
- package/dist/components/live-region/index.d.ts +0 -1
- package/dist/components/loader/MrlProgressBar/MrlProgressBar.d.ts +0 -10
- package/dist/components/loader/MrlProgressBar/index.d.ts +0 -1
- package/dist/components/loader/MrlSpinner/MrlSpinner.d.ts +0 -10
- package/dist/components/loader/MrlSpinner/index.d.ts +0 -1
- package/dist/components/loader/constants.d.ts +0 -88
- package/dist/components/loader/index.d.ts +0 -3
- package/dist/components/menu/MrlMenu/MrlMenu.d.ts +0 -119
- package/dist/components/menu/MrlMenu/index.d.ts +0 -1
- package/dist/components/menu/MrlMenu/utilities.d.ts +0 -29
- package/dist/components/menu/MrlMenuGroup/MrlMenuGroup.d.ts +0 -13
- package/dist/components/menu/MrlMenuGroup/index.d.ts +0 -1
- package/dist/components/menu/MrlMenuItem/MrlMenuItem.d.ts +0 -37
- package/dist/components/menu/MrlMenuItem/index.d.ts +0 -1
- package/dist/components/menu/MrlMenuItemLink/MrlMenuItemLink.d.ts +0 -37
- package/dist/components/menu/MrlMenuItemLink/index.d.ts +0 -1
- package/dist/components/menu/constants.d.ts +0 -38
- package/dist/components/menu/context/MrlMenuContext.d.ts +0 -20
- package/dist/components/menu/demo/MenuByConfig.d.ts +0 -7
- package/dist/components/menu/demo/MenuGroupWithTrigger.d.ts +0 -9
- package/dist/components/menu/demo/MenuWithActionState.d.ts +0 -19
- package/dist/components/menu/demo/MenuWithIconButtonTrigger.d.ts +0 -19
- package/dist/components/menu/demo/MenuWithLink.d.ts +0 -18
- package/dist/components/menu/demo/MenuWithPopover.d.ts +0 -18
- package/dist/components/menu/demo/MenuWithRTI.d.ts +0 -19
- package/dist/components/menu/demo/MenuWithSubmenu.d.ts +0 -18
- package/dist/components/menu/demo/MenuWithTrigger.d.ts +0 -19
- package/dist/components/menu/hooks/useBrowserEdgeScroll.d.ts +0 -22
- package/dist/components/menu/hooks/useSubMenuElementPosition.d.ts +0 -18
- package/dist/components/menu/index.d.ts +0 -5
- package/dist/components/modal/MrlModal/MrlModal.d.ts +0 -55
- package/dist/components/modal/MrlModal/index.d.ts +0 -1
- package/dist/components/modal/MrlModalContent/MrlModalContent.d.ts +0 -20
- package/dist/components/modal/MrlModalContent/index.d.ts +0 -1
- package/dist/components/modal/MrlModalContext/MrlModalContext.d.ts +0 -17
- package/dist/components/modal/MrlModalContext/index.d.ts +0 -1
- package/dist/components/modal/MrlModalFooter/MrlModalFooter.d.ts +0 -21
- package/dist/components/modal/MrlModalFooter/index.d.ts +0 -1
- package/dist/components/modal/MrlModalHeader/MrlModalHeader.d.ts +0 -25
- package/dist/components/modal/MrlModalHeader/index.d.ts +0 -1
- package/dist/components/modal/constants.d.ts +0 -18
- package/dist/components/modal/demo/ModalWithTriggerDemo.d.ts +0 -15
- package/dist/components/modal/index.d.ts +0 -5
- package/dist/components/navigation-sidebar/MrlSidebarNavGroup/MrlSidebarNavGroup.d.ts +0 -25
- package/dist/components/navigation-sidebar/MrlSidebarNavGroup/index.d.ts +0 -1
- package/dist/components/navigation-sidebar/MrlSidebarNavItem/MrlSidebarNavItem.d.ts +0 -33
- package/dist/components/navigation-sidebar/MrlSidebarNavItem/index.d.ts +0 -1
- package/dist/components/navigation-sidebar/index.d.ts +0 -2
- package/dist/components/notification/MrlBlockNotification/MrlBlockNotification.d.ts +0 -100
- package/dist/components/notification/MrlBlockNotification/index.d.ts +0 -1
- package/dist/components/notification/MrlInlineMessage/MrlInlineMessage.d.ts +0 -40
- package/dist/components/notification/MrlInlineMessage/index.d.ts +0 -1
- package/dist/components/notification/MrlToast/MrlToast.d.ts +0 -45
- package/dist/components/notification/MrlToast/index.d.ts +0 -1
- package/dist/components/notification/constants.d.ts +0 -26
- package/dist/components/notification/index.d.ts +0 -3
- package/dist/components/pagination/MrlPagination/MrlPagination.d.ts +0 -19
- package/dist/components/pagination/MrlPagination/index.d.ts +0 -1
- package/dist/components/pagination/MrlPaginationButton/MrlPaginationButton.d.ts +0 -30
- package/dist/components/pagination/MrlPaginationButton/index.d.ts +0 -1
- package/dist/components/pagination/MrlPaginationText/MrlPaginationText.d.ts +0 -23
- package/dist/components/pagination/MrlPaginationText/index.d.ts +0 -1
- package/dist/components/pagination/constants.d.ts +0 -1
- package/dist/components/pagination/index.d.ts +0 -3
- package/dist/components/panel/MrlPanel/MrlPanel.d.ts +0 -53
- package/dist/components/panel/MrlPanel/index.d.ts +0 -1
- package/dist/components/panel/MrlPanelContext/MrlPanelContext.d.ts +0 -16
- package/dist/components/panel/MrlPanelContext/index.d.ts +0 -1
- package/dist/components/panel/MrlPanelFooter/MrlPanelFooter.d.ts +0 -22
- package/dist/components/panel/MrlPanelFooter/index.d.ts +0 -1
- package/dist/components/panel/MrlPanelStickyHeader/MrlPanelStickyHeader.d.ts +0 -18
- package/dist/components/panel/MrlPanelStickyHeader/index.d.ts +0 -1
- package/dist/components/panel/index.d.ts +0 -3
- package/dist/components/popover/MrlPopover/MrlPopover.d.ts +0 -128
- package/dist/components/popover/MrlPopover/index.d.ts +0 -1
- package/dist/components/popover/demo/PopoverWithIconButton.d.ts +0 -21
- package/dist/components/popover/demo/PopoverWithSelect.d.ts +0 -24
- package/dist/components/popover/demo/PopoverWithTrigger.d.ts +0 -24
- package/dist/components/popover/index.d.ts +0 -1
- package/dist/components/portal/MrlPortal.d.ts +0 -20
- package/dist/components/portal/index.d.ts +0 -1
- package/dist/components/rovingTabindex/MrlRovingTabindex/MrlRovingTabindex.d.ts +0 -127
- package/dist/components/rovingTabindex/MrlRovingTabindex/index.d.ts +0 -1
- package/dist/components/rovingTabindex/index.d.ts +0 -1
- package/dist/components/skeleton/MrlSkeleton/MrlSkeleton.d.ts +0 -20
- package/dist/components/skeleton/MrlSkeleton/index.d.ts +0 -1
- package/dist/components/skeleton/MrlSkeletonText/MrlSkeletonText.d.ts +0 -22
- package/dist/components/skeleton/MrlSkeletonText/index.d.ts +0 -1
- package/dist/components/skeleton/index.d.ts +0 -2
- package/dist/components/svg/MrlSvg/MrlSvg.d.ts +0 -31
- package/dist/components/svg/MrlSvg/index.d.ts +0 -1
- package/dist/components/svg/MrlSvgAnimate/MrlSvgAnimate.d.ts +0 -51
- package/dist/components/svg/MrlSvgAnimate/index.d.ts +0 -1
- package/dist/components/svg/config.d.ts +0 -112
- package/dist/components/svg/constants.d.ts +0 -36
- package/dist/components/svg/index.d.ts +0 -3
- package/dist/components/table/MrlSmartTable/MrlSmartTable.d.ts +0 -201
- package/dist/components/table/MrlSmartTable/index.d.ts +0 -1
- package/dist/components/table/MrlTable/MrlTable.d.ts +0 -17
- package/dist/components/table/MrlTable/index.d.ts +0 -1
- package/dist/components/table/MrlTableBody/MrlTableBody.d.ts +0 -17
- package/dist/components/table/MrlTableBody/index.d.ts +0 -1
- package/dist/components/table/MrlTableCell/MrlTableCell.d.ts +0 -24
- package/dist/components/table/MrlTableCell/index.d.ts +0 -1
- package/dist/components/table/MrlTableColumn/MrlTableColumn.d.ts +0 -24
- package/dist/components/table/MrlTableColumn/index.d.ts +0 -1
- package/dist/components/table/MrlTableEmptyState/MrlTableEmptyState.d.ts +0 -15
- package/dist/components/table/MrlTableEmptyState/index.d.ts +0 -1
- package/dist/components/table/MrlTableHeader/MrlTableHeader.d.ts +0 -17
- package/dist/components/table/MrlTableHeader/index.d.ts +0 -1
- package/dist/components/table/MrlTableRow/MrlTableRow.d.ts +0 -26
- package/dist/components/table/MrlTableRow/index.d.ts +0 -1
- package/dist/components/table/constants.d.ts +0 -21
- package/dist/components/table/fixtures.d.ts +0 -89
- package/dist/components/table/index.d.ts +0 -9
- package/dist/components/table/utils.d.ts +0 -43
- package/dist/components/tabs/MrlTab/MrlTab.d.ts +0 -21
- package/dist/components/tabs/MrlTab/index.d.ts +0 -1
- package/dist/components/tabs/MrlTabContent/MrlTabContent.d.ts +0 -9
- package/dist/components/tabs/MrlTabContent/index.d.ts +0 -1
- package/dist/components/tabs/MrlTabGroup/MrlTabGroup.d.ts +0 -10
- package/dist/components/tabs/MrlTabGroup/index.d.ts +0 -1
- package/dist/components/tabs/MrlTabLink/MrlTabLink.d.ts +0 -22
- package/dist/components/tabs/MrlTabLink/index.d.ts +0 -1
- package/dist/components/tabs/MrlTabs/MrlTabs.d.ts +0 -21
- package/dist/components/tabs/MrlTabs/index.d.ts +0 -1
- package/dist/components/tabs/constants.d.ts +0 -1
- package/dist/components/tabs/index.d.ts +0 -5
- package/dist/components/text/MrlText/MrlText.d.ts +0 -26
- package/dist/components/text/MrlText/index.d.ts +0 -1
- package/dist/components/text/MrlTextHeading/MrlTextHeading.d.ts +0 -39
- package/dist/components/text/MrlTextHeading/index.d.ts +0 -1
- package/dist/components/text/constants.d.ts +0 -40
- package/dist/components/text/index.d.ts +0 -2
- package/dist/components/toast/index.d.ts +0 -1
- package/dist/components/toolbar/MrlToolbar/MrlToolbar.d.ts +0 -38
- package/dist/components/toolbar/MrlToolbar/index.d.ts +0 -1
- package/dist/components/toolbar/MrlToolbarButton/MrlToolbarButton.d.ts +0 -58
- package/dist/components/toolbar/MrlToolbarButton/index.d.ts +0 -1
- package/dist/components/toolbar/MrlToolbarItem/MrlToolbarItem.d.ts +0 -30
- package/dist/components/toolbar/MrlToolbarItem/index.d.ts +0 -1
- package/dist/components/toolbar/index.d.ts +0 -3
- package/dist/components/tooltip/MrlTooltip/MrlTooltip.d.ts +0 -58
- package/dist/components/tooltip/MrlTooltip/index.d.ts +0 -1
- package/dist/components/tooltip/MrlTooltip/utilities.d.ts +0 -8
- package/dist/components/tooltip/MrlTooltipContent/MrlTooltipContent.d.ts +0 -43
- package/dist/components/tooltip/MrlTooltipContent/index.d.ts +0 -1
- package/dist/components/tooltip/constants.d.ts +0 -25
- package/dist/components/tooltip/index.d.ts +0 -2
- package/dist/components/tooltip/utils.d.ts +0 -9
- package/dist/contexts/MrlTabContext/MrlTabContext.d.ts +0 -6
- package/dist/contexts/MrlTabContext/index.d.ts +0 -1
- package/dist/contexts/index.d.ts +0 -1
- package/dist/hooks/index.d.ts +0 -3
- package/dist/hooks/useAutoClose/index.d.ts +0 -1
- package/dist/hooks/useAutoClose/useAutoClose.d.ts +0 -11
- package/dist/hooks/useBreakpoint/index.d.ts +0 -15
- package/dist/hooks/useBreakpoint/useBreakpointDemo.d.ts +0 -7
- package/dist/hooks/useClickOutside/index.d.ts +0 -11
- package/dist/hooks/useCoordinate/index.d.ts +0 -18
- package/dist/hooks/useElementDimensions/index.d.ts +0 -16
- package/dist/hooks/useScrollbarInfo/index.d.ts +0 -13
- package/dist/hooks/useTriggerPosition/constants.d.ts +0 -10
- package/dist/hooks/useTriggerPosition/index.d.ts +0 -16
- package/dist/hooks/useTriggerPosition/utilities.d.ts +0 -11
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -2
- package/dist/index.js.LICENSE.txt +0 -17
- package/dist/src/components/layout/error-page/MrlBrandColors/MrlBrandColors.functions.scss +0 -12
- package/dist/styles/MrlAvatar/module.scss +0 -97
- package/dist/styles/MrlAvatarButton/module.scss +0 -41
- package/dist/styles/MrlBadge/module.scss +0 -39
- package/dist/styles/MrlBadgeNotification/module.scss +0 -38
- package/dist/styles/MrlBlockNotification/global.scss +0 -19
- package/dist/styles/MrlBlockNotification/mixins.scss +0 -20
- package/dist/styles/MrlBlockNotification/module.scss +0 -79
- package/dist/styles/MrlBlockNotification/variables.scss +0 -66
- package/dist/styles/MrlBrandColors/mixins.scss +0 -9
- package/dist/styles/MrlBrandColors/module.scss +0 -24
- package/dist/styles/MrlBrandColors/variables.scss +0 -89
- package/dist/styles/MrlButton/global.scss +0 -69
- package/dist/styles/MrlCallout/module.scss +0 -47
- package/dist/styles/MrlCheckbox/global.scss +0 -18
- package/dist/styles/MrlCheckbox/module.scss +0 -16
- package/dist/styles/MrlCheckbox/variables.scss +0 -10
- package/dist/styles/MrlCheckboxStandalone/global.scss +0 -18
- package/dist/styles/MrlCheckboxStandalone/module.scss +0 -42
- package/dist/styles/MrlCheckboxStandalone/variables.scss +0 -27
- package/dist/styles/MrlContainer/module.scss +0 -32
- package/dist/styles/MrlDivider/module.scss +0 -22
- package/dist/styles/MrlEditableTextInput/module.scss +0 -99
- package/dist/styles/MrlEditableTextInput/variables.scss +0 -5
- package/dist/styles/MrlEditableTextarea/global.scss +0 -16
- package/dist/styles/MrlEditableTextarea/module.scss +0 -67
- package/dist/styles/MrlErrorPage/module.scss +0 -43
- package/dist/styles/MrlFieldset/module.scss +0 -2
- package/dist/styles/MrlFilter/module.scss +0 -5
- package/dist/styles/MrlFilterItem/module.scss +0 -54
- package/dist/styles/MrlInlineMessage/module.scss +0 -45
- package/dist/styles/MrlLabel/module.scss +0 -25
- package/dist/styles/MrlLabel/variables.scss +0 -17
- package/dist/styles/MrlLabelWithDescription/module.scss +0 -54
- package/dist/styles/MrlLabelWithDescription/variables.scss +0 -14
- package/dist/styles/MrlLegacySelect/module.scss +0 -80
- package/dist/styles/MrlLegacySelect/variables.scss +0 -10
- package/dist/styles/MrlLegacySelectItem/module.scss +0 -39
- package/dist/styles/MrlLegacySelectItem/variables.scss +0 -26
- package/dist/styles/MrlLegacySelectMenu/module.scss +0 -30
- package/dist/styles/MrlLegacySelectMenu/variables.scss +0 -4
- package/dist/styles/MrlLink/module.scss +0 -68
- package/dist/styles/MrlLinkButton/global.scss +0 -4
- package/dist/styles/MrlMain/module.scss +0 -26
- package/dist/styles/MrlMain/variables.scss +0 -5
- package/dist/styles/MrlMenu/module.scss +0 -45
- package/dist/styles/MrlMenuGroup/module.scss +0 -3
- package/dist/styles/MrlMenuItem/module.scss +0 -117
- package/dist/styles/MrlModal/global.scss +0 -37
- package/dist/styles/MrlModal/mixins.scss +0 -23
- package/dist/styles/MrlModal/module.scss +0 -55
- package/dist/styles/MrlModal/variables.scss +0 -26
- package/dist/styles/MrlModalContent/module.scss +0 -19
- package/dist/styles/MrlModalFooter/global.scss +0 -16
- package/dist/styles/MrlModalFooter/module.scss +0 -41
- package/dist/styles/MrlModalFooter/variables.scss +0 -5
- package/dist/styles/MrlModalHeader/module.scss +0 -21
- package/dist/styles/MrlPage/module.scss +0 -13
- package/dist/styles/MrlPagination/module.scss +0 -29
- package/dist/styles/MrlPanel/module.scss +0 -61
- package/dist/styles/MrlPanelFooter/module.scss +0 -12
- package/dist/styles/MrlPanelStickyHeader/module.scss +0 -14
- package/dist/styles/MrlPopover/module.scss +0 -115
- package/dist/styles/MrlPopover/variables.scss +0 -16
- package/dist/styles/MrlProgressBar/module.scss +0 -57
- package/dist/styles/MrlRadioButton/module.scss +0 -8
- package/dist/styles/MrlRadioButtonStandalone/global.scss +0 -16
- package/dist/styles/MrlRadioButtonStandalone/module.scss +0 -59
- package/dist/styles/MrlRadioButtonStandalone/variables.scss +0 -31
- package/dist/styles/MrlSidebar/module.scss +0 -65
- package/dist/styles/MrlSidebarNavGroup/module.scss +0 -8
- package/dist/styles/MrlSidebarNavItem/module.scss +0 -47
- package/dist/styles/MrlSkeleton/module.scss +0 -9
- package/dist/styles/MrlSkeletonText/module.scss +0 -24
- package/dist/styles/MrlSmartTable/module.scss +0 -27
- package/dist/styles/MrlSpinner/module.scss +0 -109
- package/dist/styles/MrlSvg/module.scss +0 -24
- package/dist/styles/MrlSvgAnimate/module.scss +0 -13
- package/dist/styles/MrlSwitch/module.scss +0 -9
- package/dist/styles/MrlSwitchStandalone/module.scss +0 -84
- package/dist/styles/MrlTab/module.scss +0 -117
- package/dist/styles/MrlTabContent/module.scss +0 -7
- package/dist/styles/MrlTabGroup/module.scss +0 -66
- package/dist/styles/MrlTable/module.scss +0 -5
- package/dist/styles/MrlTableBody/module.scss +0 -2
- package/dist/styles/MrlTableCell/module.scss +0 -7
- package/dist/styles/MrlTableColumn/module.scss +0 -24
- package/dist/styles/MrlTableEmptyState/module.scss +0 -14
- package/dist/styles/MrlTableHeader/module.scss +0 -7
- package/dist/styles/MrlTableRow/module.scss +0 -17
- package/dist/styles/MrlText/module.scss +0 -8
- package/dist/styles/MrlText/variables.scss +0 -14
- package/dist/styles/MrlTextHeading/module.scss +0 -24
- package/dist/styles/MrlTextHeading/variables.scss +0 -40
- package/dist/styles/MrlTextInput/module.scss +0 -70
- package/dist/styles/MrlTextInput/variables.scss +0 -5
- package/dist/styles/MrlTextarea/global.scss +0 -12
- package/dist/styles/MrlTextarea/module.scss +0 -18
- package/dist/styles/MrlToast/module.scss +0 -114
- package/dist/styles/MrlToolbar/module.scss +0 -53
- package/dist/styles/MrlToolbarButton/module.scss +0 -3
- package/dist/styles/MrlTooltipContent/global.scss +0 -146
- package/dist/styles/MrlTooltipContent/variables.scss +0 -17
- package/dist/styles/MrlTopbar/module.scss +0 -12
- package/dist/styles/a11y-helpers/global.scss +0 -5
- package/dist/styles/a11y-helpers/mixins.scss +0 -11
- package/dist/styles/button/global.scss +0 -38
- package/dist/styles/button/mixins.scss +0 -42
- package/dist/styles/button/variables.scss +0 -164
- package/dist/styles/components/module.scss +0 -6
- package/dist/styles/container/variables.scss +0 -10
- package/dist/styles/date-picker/module.scss +0 -38
- package/dist/styles/demo/module.scss +0 -11
- package/dist/styles/divider/mixins.scss +0 -32
- package/dist/styles/divider/variables.scss +0 -22
- package/dist/styles/empty/module.scss +0 -18
- package/dist/styles/form/global.scss +0 -89
- package/dist/styles/form/variables.scss +0 -58
- package/dist/styles/grid/global.scss +0 -6
- package/dist/styles/grid/variables.scss +0 -26
- package/dist/styles/layout/variables.scss +0 -3
- package/dist/styles/modal/variables.scss +0 -32
- package/dist/styles/skeleton/mixins.scss +0 -44
- package/dist/styles/skeleton/variables.scss +0 -2
- package/dist/styles/svg/variables.scss +0 -17
- package/dist/styles/table/global.scss +0 -78
- package/dist/styles/table/variables.scss +0 -30
- package/dist/styles/tooltip/mixins.scss +0 -8
- package/dist/styles.css +0 -529
- package/dist/utils/checkInvalidAttributes/index.d.ts +0 -7
- package/dist/utils/commonProps/index.d.ts +0 -20
- package/dist/utils/dataQa/index.d.ts +0 -6
- package/dist/utils/findAdjacentInteractiveElement/findAdjacentInteractiveElement.d.ts +0 -8
- package/dist/utils/findAdjacentInteractiveElement/index.d.ts +0 -1
- package/dist/utils/frameDebounce/index.d.ts +0 -22
- package/dist/utils/getCamelCase/getCamelCase.d.ts +0 -7
- package/dist/utils/getCamelCase/getCamelCase.test.d.ts +0 -1
- package/dist/utils/getCamelCase/index.d.ts +0 -2
- package/dist/utils/getScrollableContainer/getScrollableContainer.d.ts +0 -7
- package/dist/utils/hasHorizontalScroll/hasHorizontalScroll.d.ts +0 -11
- package/dist/utils/hasScrollContent/hasScrollContent.d.ts +0 -11
- package/dist/utils/index.d.ts +0 -11
- package/dist/utils/isElementScrollable/index.d.ts +0 -7
- package/dist/utils/isImagePath/index.d.ts +0 -7
- package/dist/utils/isImageUri/index.d.ts +0 -7
- package/dist/utils/isObject/index.d.ts +0 -2
- package/dist/utils/isObject/isObject.d.ts +0 -14
- package/dist/utils/isObject/isObject.test.d.ts +0 -1
- package/dist/utils/isTouch/index.d.ts +0 -6
- package/dist/utils/layers/index.d.ts +0 -48
- package/dist/utils/noop/index.d.ts +0 -7
- package/dist/utils/preventDefault/index.d.ts +0 -1
- package/dist/utils/preventDefault/preventDefault.d.ts +0 -6
- package/dist/utils/setAttributes/index.d.ts +0 -2
- package/dist/utils/setAttributes/setAttributes.d.ts +0 -35
- package/dist/utils/setAttributes/setAttributes.test.d.ts +0 -1
- 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,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 +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,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;
|