@muraldevkit/ui-toolkit 4.45.1-dev-bdtT.1 → 4.45.2-dev-jOrv.1
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 -30
- 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/breadcrumb/MrlBreadcrumbItem/MrlBreadcrumbItem.d.ts +0 -44
- package/dist/components/breadcrumb/MrlBreadcrumbItem/index.d.ts +0 -1
- package/dist/components/breadcrumb/MrlBreadcrumbSeparator/MrlBreadcrumbSeparator.d.ts +0 -7
- package/dist/components/breadcrumb/MrlBreadcrumbSeparator/index.d.ts +0 -1
- package/dist/components/breadcrumb/MrlBreadcrumbs/MrlBreadcrumbs.d.ts +0 -29
- package/dist/components/breadcrumb/MrlBreadcrumbs/index.d.ts +0 -1
- package/dist/components/breadcrumb/index.d.ts +0 -3
- 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 -28
- package/dist/components/form/index.d.ts +0 -19
- 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/MrlMultiCreatableSelect/MrlMultiCreatableSelect.d.ts +0 -26
- package/dist/components/form/select/MrlMultiCreatableSelect/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 -8
- 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 -6
- 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 -35
- 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 -44
- 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 -33
- 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 -130
- 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/MenuWithPopover.d.ts +0 -18
- 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/menu/utilities/flip-position.d.ts +0 -8
- package/dist/components/menu/utilities/get-scrollable-parent.d.ts +0 -7
- package/dist/components/modal/MrlModal/MrlModal.d.ts +0 -50
- 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 -131
- package/dist/components/popover/MrlPopover/context/MrlPopoverContext.d.ts +0 -20
- package/dist/components/popover/MrlPopover/hooks/use-mrl-popover-event-handlers.d.ts +0 -32
- package/dist/components/popover/MrlPopover/index.d.ts +0 -2
- package/dist/components/popover/MrlPopover/utilities/get-data-point.d.ts +0 -9
- package/dist/components/popover/MrlPopover/utilities/get-offset.d.ts +0 -9
- package/dist/components/popover/MrlPopover/utilities/index.d.ts +0 -2
- 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 -216
- 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 -26
- package/dist/components/table/MrlTableCell/index.d.ts +0 -1
- package/dist/components/table/MrlTableColumn/MrlTableColumn.d.ts +0 -26
- 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 -22
- package/dist/components/table/fixtures.d.ts +0 -94
- 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 -28
- 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 -27
- package/dist/components/tooltip/index.d.ts +0 -2
- package/dist/components/tooltip/useTooltipPosition/constants.d.ts +0 -9
- package/dist/components/tooltip/useTooltipPosition/index.d.ts +0 -14
- package/dist/components/tooltip/useTooltipPosition/utilities.d.ts +0 -19
- 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 -4
- 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 -11
- package/dist/hooks/useTriggerPosition/index.d.ts +0 -17
- package/dist/hooks/useTriggerPosition/utilities.d.ts +0 -12
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -2
- package/dist/index.js.LICENSE.txt +0 -8
- 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/MrlBreadcrumbItem/module.scss +0 -41
- package/dist/styles/MrlBreadcrumbs/module.scss +0 -7
- package/dist/styles/MrlButton/global.scss +0 -69
- package/dist/styles/MrlCallout/module.scss +0 -50
- 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 -105
- package/dist/styles/MrlEditableTextInput/variables.scss +0 -5
- package/dist/styles/MrlEditableTextarea/global.scss +0 -24
- package/dist/styles/MrlEditableTextarea/module.scss +0 -78
- 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 -53
- 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 -118
- 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 -112
- 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 -40
- 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 -10
- 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 -10
- package/dist/styles/MrlTableColumn/module.scss +0 -27
- 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 -99
- 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,127 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type RefType = HTMLElement | HTMLDivElement | null;
|
|
3
|
-
/**
|
|
4
|
-
* Gets tabbable elements in a given bit of the DOM
|
|
5
|
-
*
|
|
6
|
-
* @param {RefType} ref - the ref of the container
|
|
7
|
-
* @param {string} selector - the selector to query
|
|
8
|
-
* @returns {HTMLElement[]} - an array of tabbable HTML elements
|
|
9
|
-
*/
|
|
10
|
-
export declare const getTabbableElements: (ref: RefType, selector: string) => HTMLElement[];
|
|
11
|
-
export type FocusOnInitPosition = 'first' | 'last';
|
|
12
|
-
export interface RovingPropTypes {
|
|
13
|
-
activeSelector?: string;
|
|
14
|
-
children: React.ReactNode;
|
|
15
|
-
/**
|
|
16
|
-
* delayMount is used to apply a delay to the mounting
|
|
17
|
-
* of the RovingTabindex component. This can be helpful in
|
|
18
|
-
* the event that a component's children have not been fully
|
|
19
|
-
* rendered by the time the componentDidMount function is triggered
|
|
20
|
-
*/
|
|
21
|
-
delayMount?: number;
|
|
22
|
-
focusOnInit?: FocusOnInitPosition;
|
|
23
|
-
focusWithShortcut?: boolean;
|
|
24
|
-
forceUpdate?: boolean;
|
|
25
|
-
hasChildRoving?: boolean;
|
|
26
|
-
ignoreElements?: string;
|
|
27
|
-
isFocused?: boolean;
|
|
28
|
-
onBlur?: () => void;
|
|
29
|
-
onRefocus?: (shouldRefocus: boolean) => void;
|
|
30
|
-
orientation?: RovingOrientation;
|
|
31
|
-
qa?: string;
|
|
32
|
-
}
|
|
33
|
-
type RovingOrientation = 'horizontal' | 'vertical';
|
|
34
|
-
type NavigationDirection = 'forward' | 'back';
|
|
35
|
-
/**
|
|
36
|
-
* Component to create a Roving Tabindex in the DOM
|
|
37
|
-
*
|
|
38
|
-
* @returns {HTMLDivElement}
|
|
39
|
-
*/
|
|
40
|
-
declare class MrlRovingTabindex extends React.Component<RovingPropTypes> {
|
|
41
|
-
elements: Array<Element | null>;
|
|
42
|
-
orientation: RovingOrientation;
|
|
43
|
-
ref: HTMLDivElement | null;
|
|
44
|
-
selector: string;
|
|
45
|
-
/**
|
|
46
|
-
* MrlRovingTabindex class constructor
|
|
47
|
-
*
|
|
48
|
-
* @param props - the MrlRovingTabindex props
|
|
49
|
-
* @returns new instance
|
|
50
|
-
*/
|
|
51
|
-
constructor(props: RovingPropTypes);
|
|
52
|
-
/**
|
|
53
|
-
* Runs when the MrlRovingTabindex component mounts
|
|
54
|
-
*/
|
|
55
|
-
componentDidMount(): void;
|
|
56
|
-
/**
|
|
57
|
-
* Runs when the MrlRovingTabindex component updates
|
|
58
|
-
*
|
|
59
|
-
* @param {RovingPropTypes} prevProps - the props before the component updated
|
|
60
|
-
*/
|
|
61
|
-
componentDidUpdate(prevProps: RovingPropTypes): void;
|
|
62
|
-
handleRef: (ref: HTMLDivElement) => HTMLDivElement;
|
|
63
|
-
/**
|
|
64
|
-
* Sets component array of elements
|
|
65
|
-
*
|
|
66
|
-
* @returns {void}
|
|
67
|
-
*/
|
|
68
|
-
setElements: () => void;
|
|
69
|
-
/**
|
|
70
|
-
* Gets the components active element based on priority order.
|
|
71
|
-
*
|
|
72
|
-
* @returns {HTMLElement | undefined} - the active HTML element
|
|
73
|
-
*/
|
|
74
|
-
getActiveElement: () => HTMLElement | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* Sets an element to `tabindex=0` and sets all other elements to `tabindex=-1`
|
|
77
|
-
*
|
|
78
|
-
* @param {HTMLElement | undefined} el - the element to set as active
|
|
79
|
-
* @returns {void}
|
|
80
|
-
*/
|
|
81
|
-
setActiveElement: (el: HTMLElement | undefined) => void;
|
|
82
|
-
/**
|
|
83
|
-
* Sets focus to a specific element
|
|
84
|
-
*
|
|
85
|
-
* @param {HTMLElement | undefined} el - the element to set in focus
|
|
86
|
-
* @returns {void}
|
|
87
|
-
*/
|
|
88
|
-
setElementFocus: (el: HTMLElement | undefined) => void;
|
|
89
|
-
/**
|
|
90
|
-
* Sets focus to an element based on a direction (`forward` or `back`)
|
|
91
|
-
*
|
|
92
|
-
* @param {NavigationDirection} direction 'forward' | 'back'
|
|
93
|
-
* @returns {void}
|
|
94
|
-
*/
|
|
95
|
-
setFocusByDirection: (direction: NavigationDirection) => void;
|
|
96
|
-
/**
|
|
97
|
-
* Sets all tabindex for elements of this component to -1
|
|
98
|
-
*
|
|
99
|
-
* @returns {void}
|
|
100
|
-
*/
|
|
101
|
-
unsetTabbableElements: () => void;
|
|
102
|
-
/**
|
|
103
|
-
* Will return `false` if the orientation param matches the
|
|
104
|
-
* orientation of the component and the actively focused element has a menu or select
|
|
105
|
-
*
|
|
106
|
-
* @param orientation : 'horizontal' | 'vertical'
|
|
107
|
-
* @returns boolean
|
|
108
|
-
*/
|
|
109
|
-
canUseArrows: (orientation: RovingOrientation) => boolean;
|
|
110
|
-
handleKeyUp: (e: React.KeyboardEvent) => void;
|
|
111
|
-
handleFocusedFirst: () => void;
|
|
112
|
-
handleFocusedLast: () => void;
|
|
113
|
-
handleRefocus: () => void;
|
|
114
|
-
/**
|
|
115
|
-
* Mounts the MrlRovingTabindex component
|
|
116
|
-
*
|
|
117
|
-
* @returns {void}
|
|
118
|
-
*/
|
|
119
|
-
mount(): void;
|
|
120
|
-
/**
|
|
121
|
-
* Renders the MrlRovingTabindex component
|
|
122
|
-
*
|
|
123
|
-
* @returns {HTMLDivElement} - the rendered MrlRovingTabindex component
|
|
124
|
-
*/
|
|
125
|
-
render(): JSX.Element;
|
|
126
|
-
}
|
|
127
|
-
export { MrlRovingTabindex };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './MrlRovingTabindex';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './MrlRovingTabindex';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface MrlSkeletonProps extends React.ComponentProps<'div'> {
|
|
3
|
-
/** An object with CSS properties */
|
|
4
|
-
style?: React.CSSProperties;
|
|
5
|
-
/** MrlSkeleton wrapper class */
|
|
6
|
-
className?: string;
|
|
7
|
-
/** The height of the MrlSkeleton component */
|
|
8
|
-
height?: React.CSSProperties['height'];
|
|
9
|
-
/** The width of the MrlSkeleton component */
|
|
10
|
-
width?: React.CSSProperties['width'];
|
|
11
|
-
/** The shape of the Skeleton component */
|
|
12
|
-
shape?: 'circle' | 'default';
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* MrlSkeleton React component.
|
|
16
|
-
*
|
|
17
|
-
* @param props {MrlSkeletonProps} - component props
|
|
18
|
-
* @returns a MrlSkeleton React component.
|
|
19
|
-
*/
|
|
20
|
-
export declare function MrlSkeleton({ height, shape, style, width, className, ...rest }: MrlSkeletonProps): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './MrlSkeleton';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { TextSizes } from '../../text/constants';
|
|
3
|
-
export interface MrlSkeletonTextProps extends React.ComponentProps<'div'> {
|
|
4
|
-
/** An object of CSS properties */
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
/** MrlSkeletonText wrapper class */
|
|
7
|
-
className?: string;
|
|
8
|
-
/** The width of the MrlSkeletonText component */
|
|
9
|
-
width?: React.CSSProperties['width'];
|
|
10
|
-
/** Number of lines to render */
|
|
11
|
-
lines?: number;
|
|
12
|
-
/** Size of the text which is the same as MrlText component */
|
|
13
|
-
size?: TextSizes;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* MrlSkeletonText React component. Used to create skeleton elements as placeholders
|
|
17
|
-
* for the MrlText component. It supports the same text sizes as the MrlText component.
|
|
18
|
-
*
|
|
19
|
-
* @param props {MrlSkeletonTextProps} - component props
|
|
20
|
-
* @returns a MrlSkeleton React component.
|
|
21
|
-
*/
|
|
22
|
-
export declare function MrlSkeletonText({ className, style, width, lines, size, ...rest }: MrlSkeletonTextProps): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './MrlSkeletonText';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { MrlComponentProps } from '../../../utils';
|
|
3
|
-
import { SVGSize } from '../constants';
|
|
4
|
-
export type DSIcons = typeof import('@muraldevkit/ds-icons');
|
|
5
|
-
export type DSPictograms = typeof import('@muraldevkit/ds-pictograms');
|
|
6
|
-
export type DSIconType = DSIcons[keyof DSIcons] | DSPictograms[keyof DSPictograms];
|
|
7
|
-
export interface SvgPropTypes extends Omit<MrlComponentProps, 'style'>, Omit<React.ComponentProps<'svg'>, 'ref'> {
|
|
8
|
-
/** Any additional classes to style the SVG's container */
|
|
9
|
-
className?: string;
|
|
10
|
-
/**
|
|
11
|
-
* @todo: Add optional path prop to point to a static SVG url
|
|
12
|
-
* @todo: Make SVG prop optional and must pass one of path or SVG
|
|
13
|
-
*/
|
|
14
|
-
isClone?: boolean;
|
|
15
|
-
/** The size of an SVG Component */
|
|
16
|
-
size?: SVGSize;
|
|
17
|
-
/**
|
|
18
|
-
* A object of CSS properties. Please use style sparingly, and only in cases where your
|
|
19
|
-
* needs can not be met by passing a class to the component.
|
|
20
|
-
*/
|
|
21
|
-
style?: Record<string, unknown>;
|
|
22
|
-
/** The SVG object to parse into an HTML SVG element */
|
|
23
|
-
svg: DSIconType;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Creating and exporting component class for Mural SVG
|
|
27
|
-
*
|
|
28
|
-
* @param {SvgPropTypes} props the props for your MrlSvg
|
|
29
|
-
* @returns {React.ReactElement} a rendered SVG
|
|
30
|
-
*/
|
|
31
|
-
export declare const MrlSvg: React.MemoExoticComponent<(props: SvgPropTypes) => React.ReactElement>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { MrlSvg, type SvgPropTypes } from './MrlSvg';
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AnimatedState } from '../constants';
|
|
3
|
-
/**
|
|
4
|
-
* Props for MrlSvgAnimate component
|
|
5
|
-
*/
|
|
6
|
-
export interface MrlSvgAnimateProps {
|
|
7
|
-
/** Any additional classes to style the SVG's container */
|
|
8
|
-
className?: string;
|
|
9
|
-
/**
|
|
10
|
-
* JSON file contents used by Lottie to generate an animated SVG to render.
|
|
11
|
-
* This attribute is mutually exclusive with fullPath and cdnFile.
|
|
12
|
-
* Note: When dynamically changing the svgData, if a configuration change
|
|
13
|
-
* is required be sure to set any new values before changing the svgData.
|
|
14
|
-
*/
|
|
15
|
-
svgData?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Path to a JSON file used by Lottie to generate an animated SVG to render.
|
|
18
|
-
* This attribute is mutually exclusive with svgData and cdnFile.
|
|
19
|
-
* Note: When dynamically changing the fullPath, if a configuration change
|
|
20
|
-
* is required be sure to set any new values before changing the fullPath.
|
|
21
|
-
*/
|
|
22
|
-
fullPath?: string;
|
|
23
|
-
/**
|
|
24
|
-
* File name of an animation hosted on Mural's CDN used by Lottie to generate
|
|
25
|
-
* an animated SVG to render. This is the preferred usage of this component
|
|
26
|
-
* in terms of performance. It supports any file located at `static/animations`.
|
|
27
|
-
* This attribute is mutually exclusive with fullPath and svgData.
|
|
28
|
-
* Note: When dynamically changing the cdnFile, if a configuration change
|
|
29
|
-
* is required be sure to set any new values before changing the cdnFile.
|
|
30
|
-
*/
|
|
31
|
-
cdnFile?: string;
|
|
32
|
-
/** Icon animation state. */
|
|
33
|
-
state?: AnimatedState;
|
|
34
|
-
/** Delay (in ms) before animation begins. */
|
|
35
|
-
delay?: number;
|
|
36
|
-
/**
|
|
37
|
-
* Optional [Lottie configuration object](http://airbnb.io/lottie/#/web) for the
|
|
38
|
-
* loadAnimation method
|
|
39
|
-
*/
|
|
40
|
-
config?: string;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* MrlSvgAnimate
|
|
44
|
-
*
|
|
45
|
-
* This is a React functional component used for SVGs with robust After Effects animations.
|
|
46
|
-
*
|
|
47
|
-
* @param {MrlSvgAnimateProps} props - The properties for the MrlSvgAnimate component.
|
|
48
|
-
* @returns {React.ReactElement} - The rendered MrlSvgAnimate component.
|
|
49
|
-
*/
|
|
50
|
-
export declare const MrlSvgAnimate: React.FC<MrlSvgAnimateProps>;
|
|
51
|
-
export default MrlSvgAnimate;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { MrlSvgAnimate, type MrlSvgAnimateProps } from './MrlSvgAnimate';
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
/** Storybook configurations allowed for the SVG component. */
|
|
2
|
-
export interface SvgArgs {
|
|
3
|
-
color: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const storyData: {
|
|
6
|
-
args: {
|
|
7
|
-
color: string;
|
|
8
|
-
size: import("./constants").SVGSize;
|
|
9
|
-
};
|
|
10
|
-
argTypes: {
|
|
11
|
-
color: {
|
|
12
|
-
control: {
|
|
13
|
-
type: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
size: {
|
|
17
|
-
control: {
|
|
18
|
-
options: string[];
|
|
19
|
-
type: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
manifest: {
|
|
24
|
-
scans: {
|
|
25
|
-
size: string[];
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
title: string;
|
|
29
|
-
};
|
|
30
|
-
export declare const iconStoryData: {
|
|
31
|
-
manifest: {
|
|
32
|
-
exclude: {
|
|
33
|
-
default: string[];
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
title: string;
|
|
37
|
-
};
|
|
38
|
-
export declare const pictogramStoryData: {
|
|
39
|
-
manifest: {
|
|
40
|
-
exclude: {
|
|
41
|
-
default: string[];
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
title: string;
|
|
45
|
-
};
|
|
46
|
-
export declare const visualThinkingContainerStyles: {
|
|
47
|
-
display: string;
|
|
48
|
-
flexDirection: string;
|
|
49
|
-
};
|
|
50
|
-
export declare const brandContainerStyles: {
|
|
51
|
-
background: string;
|
|
52
|
-
width: string;
|
|
53
|
-
};
|
|
54
|
-
export declare const headingStyles: {
|
|
55
|
-
marginTop: string;
|
|
56
|
-
};
|
|
57
|
-
export declare const colorPictoStoryData: {
|
|
58
|
-
args: {
|
|
59
|
-
state: string;
|
|
60
|
-
};
|
|
61
|
-
argTypes: {
|
|
62
|
-
state: {
|
|
63
|
-
control: {
|
|
64
|
-
options: string[];
|
|
65
|
-
type: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
manifest: {
|
|
70
|
-
exclude: {
|
|
71
|
-
default: string[];
|
|
72
|
-
};
|
|
73
|
-
scans: {
|
|
74
|
-
state: string[];
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
name: string;
|
|
78
|
-
title: string;
|
|
79
|
-
};
|
|
80
|
-
export declare const animateStoryData: {
|
|
81
|
-
args: {
|
|
82
|
-
delay: number;
|
|
83
|
-
state: "play" | "stop";
|
|
84
|
-
};
|
|
85
|
-
argTypes: {
|
|
86
|
-
delay: {
|
|
87
|
-
max: number;
|
|
88
|
-
min: number;
|
|
89
|
-
name: string;
|
|
90
|
-
step: number;
|
|
91
|
-
type: string;
|
|
92
|
-
};
|
|
93
|
-
state: {
|
|
94
|
-
control: {
|
|
95
|
-
options: readonly ["stop", "play"];
|
|
96
|
-
type: string;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
manifest: {
|
|
101
|
-
exclude: {
|
|
102
|
-
default: string[];
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
name: string;
|
|
106
|
-
title: string;
|
|
107
|
-
};
|
|
108
|
-
export declare const animateContainerStyles: {
|
|
109
|
-
backgroundColor: string;
|
|
110
|
-
height: string;
|
|
111
|
-
width: string;
|
|
112
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { AttrsObject } from '../../utils';
|
|
2
|
-
import { AnimationConfigWithData } from 'lottie-web';
|
|
3
|
-
export type SVGSize = 'small' | 'medium' | 'large' | 'auto';
|
|
4
|
-
export interface SVGDefaults {
|
|
5
|
-
attrs: AttrsObject;
|
|
6
|
-
size: SVGSize;
|
|
7
|
-
}
|
|
8
|
-
interface AllowedValues {
|
|
9
|
-
sizes: Array<string>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Defines all of values allowed for attributes with limited values;
|
|
13
|
-
* used for Storybook and testing
|
|
14
|
-
*/
|
|
15
|
-
export declare const allowedSvgValues: AllowedValues;
|
|
16
|
-
/**
|
|
17
|
-
* Default values for props on the SVG component;
|
|
18
|
-
* Shared between the component and Storybook
|
|
19
|
-
*/
|
|
20
|
-
export declare const svgDefaults: SVGDefaults;
|
|
21
|
-
export type SVGObject = Record<string, any>;
|
|
22
|
-
export type LottieConfig = Omit<AnimationConfigWithPath, 'container'>;
|
|
23
|
-
export declare const baseLottieConfig: LottieConfig;
|
|
24
|
-
interface AnimationConfigWithPath extends AnimationConfigWithData<'svg'> {
|
|
25
|
-
path?: string;
|
|
26
|
-
}
|
|
27
|
-
export declare const allowedAnimatedValues: {
|
|
28
|
-
states: readonly ["stop", "play"];
|
|
29
|
-
};
|
|
30
|
-
export type AnimatedState = (typeof allowedAnimatedValues.states)[number];
|
|
31
|
-
export interface AnimatedDefaults {
|
|
32
|
-
delay: number;
|
|
33
|
-
state: AnimatedState;
|
|
34
|
-
}
|
|
35
|
-
export declare const animatedDefaults: AnimatedDefaults;
|
|
36
|
-
export {};
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { MrlTableProps } from '../MrlTable';
|
|
3
|
-
import { MrlSortDirection, MrlTableCellHorizontalAlign, MrlTableColumnId, MrlTableColumnSortDescriptor, MrlTableItemId, MrlTableSelectionMode } from '../constants';
|
|
4
|
-
export interface MrlSmartColumnRendererProps {
|
|
5
|
-
/**
|
|
6
|
-
* The column being rendered.
|
|
7
|
-
*/
|
|
8
|
-
column: MrlSmartTableColumn;
|
|
9
|
-
/**
|
|
10
|
-
* A function to change current sort descriptor.
|
|
11
|
-
*/
|
|
12
|
-
handleSortClick: ({ column, direction, name }: {
|
|
13
|
-
column: MrlSmartTableColumn['id'];
|
|
14
|
-
direction: MrlSortDirection;
|
|
15
|
-
name: string;
|
|
16
|
-
}) => void;
|
|
17
|
-
/**
|
|
18
|
-
* The element id of the table.
|
|
19
|
-
*/
|
|
20
|
-
tableElementId: string;
|
|
21
|
-
/**
|
|
22
|
-
* The data-qa prefix of the table.
|
|
23
|
-
*/
|
|
24
|
-
dataQaPrefix: string;
|
|
25
|
-
/**
|
|
26
|
-
* The current sort descriptor.
|
|
27
|
-
*/
|
|
28
|
-
sortDescriptor?: MrlTableColumnSortDescriptor;
|
|
29
|
-
hasScrollShadowLeft: boolean;
|
|
30
|
-
hasScrollShadowRight: boolean;
|
|
31
|
-
horizontalAlign?: MrlTableCellHorizontalAlign;
|
|
32
|
-
}
|
|
33
|
-
export interface MrlSmartCellRendererProps {
|
|
34
|
-
/**
|
|
35
|
-
* The item for the cell being rendered.
|
|
36
|
-
*/
|
|
37
|
-
item: MrlTableItem;
|
|
38
|
-
/**
|
|
39
|
-
* The column for the cell being rendered.
|
|
40
|
-
*/
|
|
41
|
-
column: MrlSmartTableColumn;
|
|
42
|
-
/**
|
|
43
|
-
* The element id of the table.
|
|
44
|
-
*/
|
|
45
|
-
tableElementId: string;
|
|
46
|
-
/**
|
|
47
|
-
* The data-qa prefix of the table.
|
|
48
|
-
*/
|
|
49
|
-
dataQaPrefix: string;
|
|
50
|
-
hasScrollShadowLeft: boolean;
|
|
51
|
-
hasScrollShadowRight: boolean;
|
|
52
|
-
}
|
|
53
|
-
export interface MrlTableItem extends Record<string, unknown> {
|
|
54
|
-
/**
|
|
55
|
-
* A unique identifier for the row item.
|
|
56
|
-
*/
|
|
57
|
-
id: MrlTableItemId;
|
|
58
|
-
/**
|
|
59
|
-
* This makes the row item not selectable.
|
|
60
|
-
*/
|
|
61
|
-
isSelectable?: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* This makes the row item visually disabled.
|
|
64
|
-
*/
|
|
65
|
-
isDisabled?: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* A ref to the table row element
|
|
68
|
-
* The ref is an object where the key is the item id and the value is the table row element
|
|
69
|
-
*/
|
|
70
|
-
rowRef?: React.MutableRefObject<Record<MrlTableItemId, HTMLTableRowElement>>;
|
|
71
|
-
}
|
|
72
|
-
export type MrlTableColumnSticky = 'left' | 'right';
|
|
73
|
-
export interface MrlSmartTableColumn {
|
|
74
|
-
/**
|
|
75
|
-
* The key used to retrieve the cell value from the item object,
|
|
76
|
-
* e.g. `item[key]`.
|
|
77
|
-
*/
|
|
78
|
-
id: MrlTableColumnId;
|
|
79
|
-
/**
|
|
80
|
-
* The display name of the column.
|
|
81
|
-
*/
|
|
82
|
-
name: string;
|
|
83
|
-
/**
|
|
84
|
-
* The horizontal alignment of the column content.
|
|
85
|
-
* If not provided, the default alignment is left.
|
|
86
|
-
*/
|
|
87
|
-
horizontalAlign?: MrlTableCellHorizontalAlign;
|
|
88
|
-
/**
|
|
89
|
-
* A component used to override rendering for each column cell. The
|
|
90
|
-
* component is expected to render a MrlTableColumn.
|
|
91
|
-
*/
|
|
92
|
-
renderColumn?: (props: MrlSmartColumnRendererProps) => JSX.Element;
|
|
93
|
-
/**
|
|
94
|
-
* A component used to override rendering for each row cell. The
|
|
95
|
-
* component is expected to render a MrlTableCell.
|
|
96
|
-
*/
|
|
97
|
-
renderCell?: (props: MrlSmartCellRendererProps) => JSX.Element;
|
|
98
|
-
/**
|
|
99
|
-
* Whether the column allows sorting.
|
|
100
|
-
*/
|
|
101
|
-
allowsSorting?: boolean;
|
|
102
|
-
/**
|
|
103
|
-
* A sort comparator function for the column.
|
|
104
|
-
*
|
|
105
|
-
* @default sortAlphabeticallyAsCoercedStrings
|
|
106
|
-
*/
|
|
107
|
-
sortBy?: (aValue: unknown, bValue: unknown) => number;
|
|
108
|
-
/**
|
|
109
|
-
* A sort comparator function for the column that receives the entire
|
|
110
|
-
* row context. Will override the `sortBy` function (if provided).
|
|
111
|
-
*
|
|
112
|
-
* @param aValue
|
|
113
|
-
* @param bValue
|
|
114
|
-
* @returns number
|
|
115
|
-
*/
|
|
116
|
-
sortByRowContext?: (aValue: unknown, bValue: unknown) => number;
|
|
117
|
-
/**
|
|
118
|
-
* Whether the column is sticky
|
|
119
|
-
* the sticky effect will only work on the first or last column.
|
|
120
|
-
* Set to 'left' for the first column and 'right' for the last column
|
|
121
|
-
*
|
|
122
|
-
* @example The container of the table will need overflow:scroll/auto
|
|
123
|
-
* and the width will need to be constrained in order for
|
|
124
|
-
* the columns to be 'sticky'
|
|
125
|
-
*/
|
|
126
|
-
sticky?: MrlTableColumnSticky;
|
|
127
|
-
/**
|
|
128
|
-
* A tooltip to display on the column header.
|
|
129
|
-
*/
|
|
130
|
-
tooltip?: string;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* A set of item ids.
|
|
134
|
-
*/
|
|
135
|
-
export type MrlTableSelection = Set<MrlTableItemId>;
|
|
136
|
-
export interface MrlSmartTableSelectionOptions {
|
|
137
|
-
/**
|
|
138
|
-
* The type of selection that is allowed in the collection.
|
|
139
|
-
*
|
|
140
|
-
* @default none
|
|
141
|
-
*/
|
|
142
|
-
mode: MrlTableSelectionMode;
|
|
143
|
-
/**
|
|
144
|
-
* The currently selected keys in the collection (controlled).
|
|
145
|
-
*/
|
|
146
|
-
selectedKeys: MrlTableSelection;
|
|
147
|
-
/**
|
|
148
|
-
* Handler that is called when the selection changes.
|
|
149
|
-
*/
|
|
150
|
-
onSelectionChange: (keys: MrlTableSelection) => void;
|
|
151
|
-
}
|
|
152
|
-
export interface MrlTableColumnSortOptions {
|
|
153
|
-
/**
|
|
154
|
-
* The column to sort by.
|
|
155
|
-
*/
|
|
156
|
-
sortColumn: MrlSmartTableColumn;
|
|
157
|
-
/**
|
|
158
|
-
* The details of the sort.
|
|
159
|
-
*/
|
|
160
|
-
sortDescriptor: MrlTableColumnSortDescriptor;
|
|
161
|
-
}
|
|
162
|
-
export interface MrlSmartTableProps extends Partial<Pick<MrlTableProps, 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-details'>> {
|
|
163
|
-
/**
|
|
164
|
-
* A list of table columns.
|
|
165
|
-
*/
|
|
166
|
-
columns: MrlSmartTableColumn[];
|
|
167
|
-
/**
|
|
168
|
-
* A list of items to populate the table.
|
|
169
|
-
*/
|
|
170
|
-
items: MrlTableItem[];
|
|
171
|
-
/**
|
|
172
|
-
* When provided, enables and controls table selection.
|
|
173
|
-
*/
|
|
174
|
-
selectionOptions?: MrlSmartTableSelectionOptions;
|
|
175
|
-
/**
|
|
176
|
-
* A prefix applied to each data-qa element within the table.
|
|
177
|
-
*
|
|
178
|
-
* @default "mrl-smart-table"
|
|
179
|
-
*/
|
|
180
|
-
dataQaPrefix?: string;
|
|
181
|
-
/**
|
|
182
|
-
* Text to be displayed when there are no rows in the table.
|
|
183
|
-
* Will be ignored if `emptyState` is provided.
|
|
184
|
-
*
|
|
185
|
-
* @default "There's no data available to be displayed in this table."
|
|
186
|
-
*/
|
|
187
|
-
emptyStateText?: string;
|
|
188
|
-
/**
|
|
189
|
-
* Provides content to display when there are no rows in the table.
|
|
190
|
-
*
|
|
191
|
-
* @default MrlTableEmptyState
|
|
192
|
-
*/
|
|
193
|
-
emptyState?: JSX.Element;
|
|
194
|
-
/**
|
|
195
|
-
* An element id (and if not provided, a unique value decorated
|
|
196
|
-
* to prevent conflict with aria controls will be generated).
|
|
197
|
-
*
|
|
198
|
-
* @default ${id}-mrl-smart-table
|
|
199
|
-
*/
|
|
200
|
-
id?: string;
|
|
201
|
-
/**
|
|
202
|
-
* A function to override the default sort items when a sort descriptor is set.
|
|
203
|
-
*/
|
|
204
|
-
customSortItems?: ({ sortColumn, sortDescriptor }: MrlTableColumnSortOptions) => void;
|
|
205
|
-
/**
|
|
206
|
-
* Provides information on how the table should be sorted on initialization.
|
|
207
|
-
*/
|
|
208
|
-
defaultSortDescriptor?: MrlTableColumnSortDescriptor;
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* MrlSmartTable Component
|
|
212
|
-
*
|
|
213
|
-
* @param {MrlSmartTableProps} props - MrlSmartTable component props
|
|
214
|
-
* @returns a table
|
|
215
|
-
*/
|
|
216
|
-
export declare function MrlSmartTable(props: MrlSmartTableProps): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './MrlSmartTable';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface MrlTableProps extends React.ComponentPropsWithoutRef<'table'> {
|
|
3
|
-
/**
|
|
4
|
-
* An element id (and if not provided, a unique value decorated
|
|
5
|
-
* to prevent conflict with aria controls will be generated).
|
|
6
|
-
*
|
|
7
|
-
* @default `${id}-mrl-table`
|
|
8
|
-
*/
|
|
9
|
-
id?: string;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* MrlTable Component
|
|
13
|
-
*
|
|
14
|
-
* @param {MrlTable} props - MrlTable component props
|
|
15
|
-
* @returns a table element
|
|
16
|
-
*/
|
|
17
|
-
export declare const MrlTable: React.ForwardRefExoticComponent<MrlTableProps & React.RefAttributes<HTMLTableElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './MrlTable';
|