hrm_ui_lib 3.4.2 → 4.0.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/components/Alert/Alert.js +2 -2
- package/components/Alert/types.d.ts +1 -0
- package/components/Avatar/Avatar.d.ts +1 -1
- package/components/Avatar/Avatar.js +2 -2
- package/components/Avatar/AvatarGroup.d.ts +1 -1
- package/components/Avatar/AvatarGroup.js +2 -2
- package/components/Avatar/types.d.ts +1 -0
- package/components/Badge/Badge.js +2 -2
- package/components/Badge/types.d.ts +1 -0
- package/components/BadgeV2/BadgeV2.js +3 -3
- package/components/BadgeV2/types.d.ts +1 -1
- package/components/Breadcrumb/Breadcrumb.js +3 -3
- package/components/Breadcrumb/types.d.ts +1 -0
- package/components/Button/Button.js +2 -2
- package/components/Button/types.d.ts +1 -1
- package/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/components/ButtonGroup/ButtonGroup.js +3 -3
- package/components/ButtonGroup/ButtonGroupItem.d.ts +1 -1
- package/components/ButtonGroup/ButtonGroupItem.js +2 -2
- package/components/ButtonGroup/types.d.ts +1 -1
- package/components/Card/CardComponent/Card.js +2 -2
- package/components/Card/types.d.ts +1 -0
- package/components/CardGroup/CardGroupComponent/CardGroup.js +2 -2
- package/components/CardGroup/types.d.ts +1 -0
- package/components/Checkbox/Checkbox.js +5 -5
- package/components/Checkbox/types.d.ts +1 -0
- package/components/Chips/Chips.js +2 -2
- package/components/Chips/types.d.ts +1 -1
- package/components/Collapse/Collapse/Collapse.js +2 -2
- package/components/Collapse/Collapse/Title.d.ts +2 -2
- package/components/Collapse/Collapse/Title.js +2 -2
- package/components/Collapse/CollapseGroup/CollapseGroup.js +2 -2
- package/components/Collapse/CollapseItem/CollapseItem.js +3 -3
- package/components/Collapse/types.d.ts +1 -0
- package/components/Container/Container.js +2 -2
- package/components/Container/types.d.ts +1 -0
- package/components/Copy/Copy.d.ts +1 -1
- package/components/Copy/Copy.js +2 -2
- package/components/Copy/types.d.ts +1 -0
- package/components/Counter/Counter.js +2 -2
- package/components/Counter/types.d.ts +1 -0
- package/components/DarkModeSwitcher/DarkModeSwitcher.d.ts +1 -0
- package/components/DarkModeSwitcher/DarkModeSwitcher.js +2 -2
- package/components/DarkModeSwitcher/types.d.ts +1 -0
- package/components/DatePicker/CustomHeader/CustomHeader.js +1 -1
- package/components/DatePicker/RangeDatePicker/RangeDatePickerDesktop.js +2 -2
- package/components/DatePicker/RangeDatePicker/RangeDatePickerMobile.js +3 -3
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerDesktop.js +2 -2
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerMobile.js +2 -2
- package/components/DatePicker/TimePicker/TimePickerDesktop.js +2 -2
- package/components/DatePicker/TimePicker/TimePickerMobile.js +2 -2
- package/components/DatePicker/types.d.ts +3 -2
- package/components/Divider/Divider.js +2 -2
- package/components/Divider/types.d.ts +1 -0
- package/components/Empty/Empty.js +2 -2
- package/components/Empty/types.d.ts +1 -0
- package/components/FileUpload/DropzoneFileUpload/DropzoneFileUpload.js +5 -5
- package/components/FileUpload/DropzoneFileUpload/ErrorItem.d.ts +2 -2
- package/components/FileUpload/DropzoneFileUpload/ErrorItem.js +2 -2
- package/components/FileUpload/DropzoneFileUpload/PreviewItem.d.ts +2 -2
- package/components/FileUpload/DropzoneFileUpload/PreviewItem.js +2 -2
- package/components/FileUpload/FileUpload.js +2 -2
- package/components/FileUpload/UploadItems.js +3 -3
- package/components/FileUpload/types.d.ts +1 -1
- package/components/FormContainer/FormContainer.js +4 -4
- package/components/FormContainer/types.d.ts +1 -0
- package/components/FormField/FormField.js +3 -3
- package/components/FormField/types.d.ts +1 -0
- package/components/Heading/Heading.js +2 -2
- package/components/Heading/types.d.ts +1 -0
- package/components/Image/Image.js +3 -3
- package/components/Image/types.d.ts +1 -0
- package/components/Input/Input.js +5 -5
- package/components/Input/types.d.ts +2 -1
- package/components/LineChart/LineChart.d.ts +1 -1
- package/components/LineChart/LineChart.js +4 -4
- package/components/LineChart/types.d.ts +1 -0
- package/components/Link/Link.js +3 -3
- package/components/Link/types.d.ts +1 -0
- package/components/Menu/Menu.js +2 -2
- package/components/Menu/NestedMenu.js +2 -2
- package/components/Menu/types.d.ts +1 -0
- package/components/Modal/ModalConfirmation.d.ts +1 -1
- package/components/Modal/ModalConfirmation.js +2 -2
- package/components/Modal/ModalContent.d.ts +2 -2
- package/components/Modal/ModalContent.js +2 -2
- package/components/Modal/types.d.ts +2 -2
- package/components/More/More.js +2 -2
- package/components/More/types.d.ts +1 -0
- package/components/Pagination/Pagination.js +4 -4
- package/components/Pagination/types.d.ts +1 -0
- package/components/Popover/PopoverDesktop.js +2 -2
- package/components/Popover/PopoverMobile.js +2 -2
- package/components/Popover/types.d.ts +1 -0
- package/components/Progress/Progress.js +3 -3
- package/components/Progress/types.d.ts +1 -0
- package/components/ProgressStep/ProgressStep.js +3 -3
- package/components/ProgressStep/Step.js +6 -6
- package/components/ProgressStep/types.d.ts +1 -0
- package/components/Radio/Radio.js +2 -2
- package/components/Radio/RadioGroup.js +1 -1
- package/components/Radio/types.d.ts +2 -1
- package/components/SVGIcons/IconAdd.d.ts +1 -1
- package/components/SVGIcons/IconAdd.js +2 -2
- package/components/SVGIcons/IconAddCircle.d.ts +1 -1
- package/components/SVGIcons/IconAddCircle.js +2 -2
- package/components/SVGIcons/IconAddCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconAddCircleFilled.js +2 -2
- package/components/SVGIcons/IconAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconAddFilled.js +2 -2
- package/components/SVGIcons/IconAirplaneTakeOff.d.ts +1 -1
- package/components/SVGIcons/IconAirplaneTakeOff.js +2 -2
- package/components/SVGIcons/IconAirplaneTakeOffFilled.d.ts +1 -1
- package/components/SVGIcons/IconAirplaneTakeOffFilled.js +2 -2
- package/components/SVGIcons/IconAlert.d.ts +1 -1
- package/components/SVGIcons/IconAlert.js +2 -2
- package/components/SVGIcons/IconAlertBadge.d.ts +1 -1
- package/components/SVGIcons/IconAlertBadge.js +2 -2
- package/components/SVGIcons/IconAlertBadgeFilled.d.ts +1 -1
- package/components/SVGIcons/IconAlertBadgeFilled.js +2 -2
- package/components/SVGIcons/IconAlertFilled.d.ts +1 -1
- package/components/SVGIcons/IconAlertFilled.js +2 -2
- package/components/SVGIcons/IconAm.d.ts +1 -1
- package/components/SVGIcons/IconAm.js +2 -2
- package/components/SVGIcons/IconAmd.d.ts +1 -1
- package/components/SVGIcons/IconAmd.js +2 -2
- package/components/SVGIcons/IconAmdFilled.d.ts +1 -1
- package/components/SVGIcons/IconAmdFilled.js +2 -2
- package/components/SVGIcons/IconApple.d.ts +1 -1
- package/components/SVGIcons/IconApple.js +2 -2
- package/components/SVGIcons/IconArrowDown.d.ts +1 -1
- package/components/SVGIcons/IconArrowDown.js +2 -2
- package/components/SVGIcons/IconArrowDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownFilled.js +2 -2
- package/components/SVGIcons/IconArrowDownLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownLeft.js +2 -2
- package/components/SVGIcons/IconArrowDownLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownLeftFilled.js +2 -2
- package/components/SVGIcons/IconArrowDownload.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownload.js +2 -2
- package/components/SVGIcons/IconArrowDownloadFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownloadFilled.js +2 -2
- package/components/SVGIcons/IconArrowEnter.d.ts +1 -1
- package/components/SVGIcons/IconArrowEnter.js +2 -2
- package/components/SVGIcons/IconArrowEnterFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowEnterFilled.js +2 -2
- package/components/SVGIcons/IconArrowExit.d.ts +1 -1
- package/components/SVGIcons/IconArrowExit.js +2 -2
- package/components/SVGIcons/IconArrowExitFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExitFilled.js +2 -2
- package/components/SVGIcons/IconArrowExportLeftToRight.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportLeftToRight.js +2 -2
- package/components/SVGIcons/IconArrowExportLeftToRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportLeftToRightFilled.js +2 -2
- package/components/SVGIcons/IconArrowExportRightToLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportRightToLeft.js +2 -2
- package/components/SVGIcons/IconArrowExportRightToLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportRightToLeftFilled.js +2 -2
- package/components/SVGIcons/IconArrowExportUp.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportUp.js +2 -2
- package/components/SVGIcons/IconArrowExportUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportUpFilled.js +2 -2
- package/components/SVGIcons/IconArrowImport.d.ts +1 -1
- package/components/SVGIcons/IconArrowImport.js +2 -2
- package/components/SVGIcons/IconArrowImportFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowImportFilled.js +2 -2
- package/components/SVGIcons/IconArrowLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowLeft.js +2 -2
- package/components/SVGIcons/IconArrowLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowLeftFilled.js +2 -2
- package/components/SVGIcons/IconArrowRepeatAll.d.ts +1 -1
- package/components/SVGIcons/IconArrowRepeatAll.js +2 -2
- package/components/SVGIcons/IconArrowRepeatAllFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowRepeatAllFilled.js +2 -2
- package/components/SVGIcons/IconArrowReset.d.ts +1 -1
- package/components/SVGIcons/IconArrowReset.js +2 -2
- package/components/SVGIcons/IconArrowResetFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowResetFilled.js +2 -2
- package/components/SVGIcons/IconArrowRight.d.ts +1 -1
- package/components/SVGIcons/IconArrowRight.js +2 -2
- package/components/SVGIcons/IconArrowRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowRightFilled.js +2 -2
- package/components/SVGIcons/IconArrowSort.d.ts +1 -1
- package/components/SVGIcons/IconArrowSort.js +2 -2
- package/components/SVGIcons/IconArrowSortFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowSortFilled.js +2 -2
- package/components/SVGIcons/IconArrowSync.d.ts +1 -1
- package/components/SVGIcons/IconArrowSync.js +2 -2
- package/components/SVGIcons/IconArrowSyncFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowSyncFilled.js +2 -2
- package/components/SVGIcons/IconArrowUp.d.ts +1 -1
- package/components/SVGIcons/IconArrowUp.js +2 -2
- package/components/SVGIcons/IconArrowUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpFilled.js +2 -2
- package/components/SVGIcons/IconArrowUpLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpLeft.js +2 -2
- package/components/SVGIcons/IconArrowUpLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpLeftFilled.js +2 -2
- package/components/SVGIcons/IconArrowUpRight.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpRight.js +2 -2
- package/components/SVGIcons/IconArrowUpRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpRightFilled.js +2 -2
- package/components/SVGIcons/IconAttach.d.ts +1 -1
- package/components/SVGIcons/IconAttach.js +2 -2
- package/components/SVGIcons/IconAttachFilled.d.ts +1 -1
- package/components/SVGIcons/IconAttachFilled.js +2 -2
- package/components/SVGIcons/IconBeach.d.ts +1 -1
- package/components/SVGIcons/IconBeach.js +2 -2
- package/components/SVGIcons/IconBeachFilled.d.ts +1 -1
- package/components/SVGIcons/IconBeachFilled.js +2 -2
- package/components/SVGIcons/IconBook.d.ts +1 -1
- package/components/SVGIcons/IconBook.js +2 -2
- package/components/SVGIcons/IconBookFilled.d.ts +1 -1
- package/components/SVGIcons/IconBookFilled.js +2 -2
- package/components/SVGIcons/IconBookmark.d.ts +1 -1
- package/components/SVGIcons/IconBookmark.js +2 -2
- package/components/SVGIcons/IconBookmarkFilled.d.ts +1 -1
- package/components/SVGIcons/IconBookmarkFilled.js +2 -2
- package/components/SVGIcons/IconBriefcase.d.ts +1 -1
- package/components/SVGIcons/IconBriefcase.js +2 -2
- package/components/SVGIcons/IconBriefcaseFilled.d.ts +1 -1
- package/components/SVGIcons/IconBriefcaseFilled.js +2 -2
- package/components/SVGIcons/IconBudgetTransfer.d.ts +1 -1
- package/components/SVGIcons/IconBudgetTransfer.js +2 -2
- package/components/SVGIcons/IconBuilding.d.ts +1 -1
- package/components/SVGIcons/IconBuilding.js +2 -2
- package/components/SVGIcons/IconBuildingBank.d.ts +1 -1
- package/components/SVGIcons/IconBuildingBank.js +2 -2
- package/components/SVGIcons/IconBuildingBankFilled.d.ts +1 -1
- package/components/SVGIcons/IconBuildingBankFilled.js +2 -2
- package/components/SVGIcons/IconBuildingFilled.d.ts +1 -1
- package/components/SVGIcons/IconBuildingFilled.js +2 -2
- package/components/SVGIcons/IconBulletListAdd.d.ts +1 -1
- package/components/SVGIcons/IconBulletListAdd.js +2 -2
- package/components/SVGIcons/IconBulletListAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconBulletListAddFilled.js +2 -2
- package/components/SVGIcons/IconCalculator.d.ts +1 -1
- package/components/SVGIcons/IconCalculator.js +2 -2
- package/components/SVGIcons/IconCalculatorFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalculatorFilled.js +2 -2
- package/components/SVGIcons/IconCalendarClock.d.ts +1 -1
- package/components/SVGIcons/IconCalendarClock.js +2 -2
- package/components/SVGIcons/IconCalendarClockFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarClockFilled.js +2 -2
- package/components/SVGIcons/IconCalendarDay.d.ts +1 -1
- package/components/SVGIcons/IconCalendarDay.js +2 -2
- package/components/SVGIcons/IconCalendarDayFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarDayFilled.js +2 -2
- package/components/SVGIcons/IconCalendarEmpty.d.ts +1 -1
- package/components/SVGIcons/IconCalendarEmpty.js +2 -2
- package/components/SVGIcons/IconCalendarLeft.d.ts +1 -1
- package/components/SVGIcons/IconCalendarLeft.js +2 -2
- package/components/SVGIcons/IconCalendarLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarLeftFilled.js +2 -2
- package/components/SVGIcons/IconCalendarRight.d.ts +1 -1
- package/components/SVGIcons/IconCalendarRight.js +2 -2
- package/components/SVGIcons/IconCalendarRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarRightFilled.js +2 -2
- package/components/SVGIcons/IconCall.d.ts +1 -1
- package/components/SVGIcons/IconCall.js +2 -2
- package/components/SVGIcons/IconCallFilled.d.ts +1 -1
- package/components/SVGIcons/IconCallFilled.js +2 -2
- package/components/SVGIcons/IconCard.d.ts +1 -1
- package/components/SVGIcons/IconCard.js +2 -2
- package/components/SVGIcons/IconCardFilled.d.ts +1 -1
- package/components/SVGIcons/IconCardFilled.js +2 -2
- package/components/SVGIcons/IconCaretDown.d.ts +1 -1
- package/components/SVGIcons/IconCaretDown.js +2 -2
- package/components/SVGIcons/IconCaretDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretDownFilled.js +2 -2
- package/components/SVGIcons/IconCaretDownRight.d.ts +1 -1
- package/components/SVGIcons/IconCaretDownRight.js +2 -2
- package/components/SVGIcons/IconCaretDownRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretDownRightFilled.js +2 -2
- package/components/SVGIcons/IconCaretLeft.d.ts +1 -1
- package/components/SVGIcons/IconCaretLeft.js +2 -2
- package/components/SVGIcons/IconCaretLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretLeftFilled.js +2 -2
- package/components/SVGIcons/IconCaretRight.d.ts +1 -1
- package/components/SVGIcons/IconCaretRight.js +2 -2
- package/components/SVGIcons/IconCaretRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretRightFilled.js +2 -2
- package/components/SVGIcons/IconCaretUp.d.ts +1 -1
- package/components/SVGIcons/IconCaretUp.js +2 -2
- package/components/SVGIcons/IconCaretUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretUpFilled.js +2 -2
- package/components/SVGIcons/IconChartPerson.d.ts +1 -1
- package/components/SVGIcons/IconChartPerson.js +2 -2
- package/components/SVGIcons/IconChartPersonFilled.d.ts +1 -1
- package/components/SVGIcons/IconChartPersonFilled.js +2 -2
- package/components/SVGIcons/IconChat.d.ts +1 -1
- package/components/SVGIcons/IconChat.js +2 -2
- package/components/SVGIcons/IconChatFilled.d.ts +1 -1
- package/components/SVGIcons/IconChatFilled.js +2 -2
- package/components/SVGIcons/IconChatMultiple.d.ts +1 -1
- package/components/SVGIcons/IconChatMultiple.js +2 -2
- package/components/SVGIcons/IconChatMultipleFilled.d.ts +1 -1
- package/components/SVGIcons/IconChatMultipleFilled.js +2 -2
- package/components/SVGIcons/IconCheckboxArrowRight.d.ts +1 -1
- package/components/SVGIcons/IconCheckboxArrowRight.js +2 -2
- package/components/SVGIcons/IconCheckboxArrowRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCheckboxArrowRightFilled.js +2 -2
- package/components/SVGIcons/IconCheckmark.d.ts +1 -1
- package/components/SVGIcons/IconCheckmark.js +2 -2
- package/components/SVGIcons/IconCheckmarkCircle.d.ts +1 -1
- package/components/SVGIcons/IconCheckmarkCircle.js +2 -2
- package/components/SVGIcons/IconCheckmarkCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconCheckmarkCircleFilled.js +2 -2
- package/components/SVGIcons/IconCheckmarkFilled.d.ts +1 -1
- package/components/SVGIcons/IconCheckmarkFilled.js +2 -2
- package/components/SVGIcons/IconChevronDoubleLeft.d.ts +1 -1
- package/components/SVGIcons/IconChevronDoubleLeft.js +2 -2
- package/components/SVGIcons/IconChevronDoubleRight.d.ts +1 -1
- package/components/SVGIcons/IconChevronDoubleRight.js +2 -2
- package/components/SVGIcons/IconChevronDown.d.ts +1 -1
- package/components/SVGIcons/IconChevronDown.js +2 -2
- package/components/SVGIcons/IconChevronDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronDownFilled.js +2 -2
- package/components/SVGIcons/IconChevronLeft.d.ts +1 -1
- package/components/SVGIcons/IconChevronLeft.js +2 -2
- package/components/SVGIcons/IconChevronLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronLeftFilled.js +2 -2
- package/components/SVGIcons/IconChevronRight.d.ts +1 -1
- package/components/SVGIcons/IconChevronRight.js +2 -2
- package/components/SVGIcons/IconChevronRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronRightFilled.js +2 -2
- package/components/SVGIcons/IconChevronUp.d.ts +1 -1
- package/components/SVGIcons/IconChevronUp.js +2 -2
- package/components/SVGIcons/IconChevronUpDown.d.ts +1 -1
- package/components/SVGIcons/IconChevronUpDown.js +2 -2
- package/components/SVGIcons/IconChevronUpDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronUpDownFilled.js +2 -2
- package/components/SVGIcons/IconChevronUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronUpFilled.js +2 -2
- package/components/SVGIcons/IconClipboardDay.d.ts +1 -1
- package/components/SVGIcons/IconClipboardDay.js +2 -2
- package/components/SVGIcons/IconClock.d.ts +1 -1
- package/components/SVGIcons/IconClock.js +2 -2
- package/components/SVGIcons/IconClockDismiss.d.ts +1 -1
- package/components/SVGIcons/IconClockDismiss.js +2 -2
- package/components/SVGIcons/IconClockDismissFilled.d.ts +1 -1
- package/components/SVGIcons/IconClockDismissFilled.js +2 -2
- package/components/SVGIcons/IconClockFilled.d.ts +1 -1
- package/components/SVGIcons/IconClockFilled.js +2 -2
- package/components/SVGIcons/IconCode.d.ts +1 -1
- package/components/SVGIcons/IconCode.js +2 -2
- package/components/SVGIcons/IconCoins.d.ts +1 -1
- package/components/SVGIcons/IconCoins.js +2 -2
- package/components/SVGIcons/IconComment.d.ts +1 -1
- package/components/SVGIcons/IconComment.js +2 -2
- package/components/SVGIcons/IconCommentFilled.d.ts +1 -1
- package/components/SVGIcons/IconCommentFilled.js +2 -2
- package/components/SVGIcons/IconContractCard.d.ts +1 -1
- package/components/SVGIcons/IconContractCard.js +2 -2
- package/components/SVGIcons/IconContractCardFilled.d.ts +1 -1
- package/components/SVGIcons/IconContractCardFilled.js +2 -2
- package/components/SVGIcons/IconCopy.d.ts +1 -1
- package/components/SVGIcons/IconCopy.js +2 -2
- package/components/SVGIcons/IconCopyFilled.d.ts +1 -1
- package/components/SVGIcons/IconCopyFilled.js +2 -2
- package/components/SVGIcons/IconCubeTree.d.ts +1 -1
- package/components/SVGIcons/IconCubeTree.js +2 -2
- package/components/SVGIcons/IconCubeTreeFilled.d.ts +1 -1
- package/components/SVGIcons/IconCubeTreeFilled.js +2 -2
- package/components/SVGIcons/IconDatabase.d.ts +1 -1
- package/components/SVGIcons/IconDatabase.js +2 -2
- package/components/SVGIcons/IconDatabaseFilled.d.ts +1 -1
- package/components/SVGIcons/IconDatabaseFilled.js +2 -2
- package/components/SVGIcons/IconDelete.d.ts +1 -1
- package/components/SVGIcons/IconDelete.js +2 -2
- package/components/SVGIcons/IconDeleteFilled.d.ts +1 -1
- package/components/SVGIcons/IconDeleteFilled.js +2 -2
- package/components/SVGIcons/IconDeviceMeetingRoom.d.ts +1 -1
- package/components/SVGIcons/IconDeviceMeetingRoom.js +2 -2
- package/components/SVGIcons/IconDeviceMeetingRoomFilled.d.ts +1 -1
- package/components/SVGIcons/IconDeviceMeetingRoomFilled.js +2 -2
- package/components/SVGIcons/IconDismiss.d.ts +1 -1
- package/components/SVGIcons/IconDismiss.js +2 -2
- package/components/SVGIcons/IconDismissCircle.d.ts +1 -1
- package/components/SVGIcons/IconDismissCircle.js +2 -2
- package/components/SVGIcons/IconDismissCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconDismissCircleFilled.js +2 -2
- package/components/SVGIcons/IconDismissFilled.d.ts +1 -1
- package/components/SVGIcons/IconDismissFilled.js +2 -2
- package/components/SVGIcons/IconDocument.d.ts +1 -1
- package/components/SVGIcons/IconDocument.js +2 -2
- package/components/SVGIcons/IconDocumentBulletList.d.ts +1 -1
- package/components/SVGIcons/IconDocumentBulletList.js +2 -2
- package/components/SVGIcons/IconDocumentBulletListFilled.d.ts +1 -1
- package/components/SVGIcons/IconDocumentBulletListFilled.js +2 -2
- package/components/SVGIcons/IconDocumentEdit.d.ts +1 -1
- package/components/SVGIcons/IconDocumentEdit.js +2 -2
- package/components/SVGIcons/IconDocumentEditFilled.d.ts +1 -1
- package/components/SVGIcons/IconDocumentEditFilled.js +2 -2
- package/components/SVGIcons/IconDocumentFilled.d.ts +1 -1
- package/components/SVGIcons/IconDocumentFilled.js +2 -2
- package/components/SVGIcons/IconDocumentPerson.d.ts +1 -1
- package/components/SVGIcons/IconDocumentPerson.js +2 -2
- package/components/SVGIcons/IconEdit.d.ts +1 -1
- package/components/SVGIcons/IconEdit.js +2 -2
- package/components/SVGIcons/IconEditFilled.d.ts +1 -1
- package/components/SVGIcons/IconEditFilled.js +2 -2
- package/components/SVGIcons/IconErrorCircle.d.ts +1 -1
- package/components/SVGIcons/IconErrorCircle.js +2 -2
- package/components/SVGIcons/IconErrorCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconErrorCircleFilled.js +2 -2
- package/components/SVGIcons/IconEur.d.ts +1 -1
- package/components/SVGIcons/IconEur.js +2 -2
- package/components/SVGIcons/IconEurFilled.d.ts +1 -1
- package/components/SVGIcons/IconEurFilled.js +2 -2
- package/components/SVGIcons/IconExpandUpLeft.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpLeft.js +2 -2
- package/components/SVGIcons/IconExpandUpLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpLeftFilled.js +2 -2
- package/components/SVGIcons/IconExpandUpRight.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpRight.js +2 -2
- package/components/SVGIcons/IconExpandUpRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpRightFilled.js +2 -2
- package/components/SVGIcons/IconEyeOff.d.ts +1 -1
- package/components/SVGIcons/IconEyeOff.js +2 -2
- package/components/SVGIcons/IconEyeOffFilled.d.ts +1 -1
- package/components/SVGIcons/IconEyeOffFilled.js +2 -2
- package/components/SVGIcons/IconEyeOn.d.ts +1 -1
- package/components/SVGIcons/IconEyeOn.js +2 -2
- package/components/SVGIcons/IconEyeOnFilled.d.ts +1 -1
- package/components/SVGIcons/IconEyeOnFilled.js +2 -2
- package/components/SVGIcons/IconFacebook.d.ts +1 -1
- package/components/SVGIcons/IconFacebook.js +2 -2
- package/components/SVGIcons/IconFastAcceleration.d.ts +1 -1
- package/components/SVGIcons/IconFastAcceleration.js +2 -2
- package/components/SVGIcons/IconFastAccelerationFilled.d.ts +1 -1
- package/components/SVGIcons/IconFastAccelerationFilled.js +2 -2
- package/components/SVGIcons/IconFeed.d.ts +1 -1
- package/components/SVGIcons/IconFeed.js +2 -2
- package/components/SVGIcons/IconFeedFilled.d.ts +1 -1
- package/components/SVGIcons/IconFeedFilled.js +2 -2
- package/components/SVGIcons/IconFilter.d.ts +1 -1
- package/components/SVGIcons/IconFilter.js +2 -2
- package/components/SVGIcons/IconFilterFilled.d.ts +1 -1
- package/components/SVGIcons/IconFilterFilled.js +2 -2
- package/components/SVGIcons/IconFlag.d.ts +1 -1
- package/components/SVGIcons/IconFlag.js +2 -2
- package/components/SVGIcons/IconFlagFilled.d.ts +1 -1
- package/components/SVGIcons/IconFlagFilled.js +2 -2
- package/components/SVGIcons/IconFolderLink.d.ts +1 -1
- package/components/SVGIcons/IconFolderLink.js +2 -2
- package/components/SVGIcons/IconFolderLinkFilled.d.ts +1 -1
- package/components/SVGIcons/IconFolderLinkFilled.js +2 -2
- package/components/SVGIcons/IconFood.d.ts +1 -1
- package/components/SVGIcons/IconFood.js +2 -2
- package/components/SVGIcons/IconFoodFilled.d.ts +1 -1
- package/components/SVGIcons/IconFoodFilled.js +2 -2
- package/components/SVGIcons/IconGb.d.ts +1 -1
- package/components/SVGIcons/IconGb.js +2 -2
- package/components/SVGIcons/IconGlobe.d.ts +1 -1
- package/components/SVGIcons/IconGlobe.js +2 -2
- package/components/SVGIcons/IconGlobeFilled.d.ts +1 -1
- package/components/SVGIcons/IconGlobeFilled.js +2 -2
- package/components/SVGIcons/IconGoogle.d.ts +1 -1
- package/components/SVGIcons/IconGoogle.js +2 -2
- package/components/SVGIcons/IconHandOpenHeart.d.ts +1 -1
- package/components/SVGIcons/IconHandOpenHeart.js +2 -2
- package/components/SVGIcons/IconHandOpenHeartFilled.d.ts +1 -1
- package/components/SVGIcons/IconHandOpenHeartFilled.js +2 -2
- package/components/SVGIcons/IconHeart.d.ts +1 -1
- package/components/SVGIcons/IconHeart.js +2 -2
- package/components/SVGIcons/IconHeartFilled.d.ts +1 -1
- package/components/SVGIcons/IconHeartFilled.js +2 -2
- package/components/SVGIcons/IconHistory.d.ts +1 -1
- package/components/SVGIcons/IconHistory.js +2 -2
- package/components/SVGIcons/IconHistoryFilled.d.ts +1 -1
- package/components/SVGIcons/IconHistoryFilled.js +2 -2
- package/components/SVGIcons/IconHome.d.ts +1 -1
- package/components/SVGIcons/IconHome.js +2 -2
- package/components/SVGIcons/IconHomeFilled.d.ts +1 -1
- package/components/SVGIcons/IconHomeFilled.js +2 -2
- package/components/SVGIcons/IconImage.d.ts +1 -1
- package/components/SVGIcons/IconImage.js +2 -2
- package/components/SVGIcons/IconImageFilled.d.ts +1 -1
- package/components/SVGIcons/IconImageFilled.js +2 -2
- package/components/SVGIcons/IconInfo.d.ts +1 -1
- package/components/SVGIcons/IconInfo.js +2 -2
- package/components/SVGIcons/IconInfoFilled.d.ts +1 -1
- package/components/SVGIcons/IconInfoFilled.js +2 -2
- package/components/SVGIcons/IconInstagram.d.ts +1 -1
- package/components/SVGIcons/IconInstagram.js +2 -2
- package/components/SVGIcons/IconKeyReset.d.ts +1 -1
- package/components/SVGIcons/IconKeyReset.js +2 -2
- package/components/SVGIcons/IconKeyResetFilled.d.ts +1 -1
- package/components/SVGIcons/IconKeyResetFilled.js +2 -2
- package/components/SVGIcons/IconLayers.d.ts +1 -1
- package/components/SVGIcons/IconLayers.js +2 -2
- package/components/SVGIcons/IconLibrary.d.ts +1 -1
- package/components/SVGIcons/IconLibrary.js +2 -2
- package/components/SVGIcons/IconLibraryFilled.d.ts +1 -1
- package/components/SVGIcons/IconLibraryFilled.js +2 -2
- package/components/SVGIcons/IconLink.d.ts +1 -1
- package/components/SVGIcons/IconLink.js +2 -2
- package/components/SVGIcons/IconLinkFilled.d.ts +1 -1
- package/components/SVGIcons/IconLinkFilled.js +2 -2
- package/components/SVGIcons/IconLinkedin.d.ts +1 -1
- package/components/SVGIcons/IconLinkedin.js +2 -2
- package/components/SVGIcons/IconList.d.ts +1 -1
- package/components/SVGIcons/IconList.js +2 -2
- package/components/SVGIcons/IconListFilled.d.ts +1 -1
- package/components/SVGIcons/IconListFilled.js +2 -2
- package/components/SVGIcons/IconLocation.d.ts +1 -1
- package/components/SVGIcons/IconLocation.js +2 -2
- package/components/SVGIcons/IconLocationFilled.d.ts +1 -1
- package/components/SVGIcons/IconLocationFilled.js +2 -2
- package/components/SVGIcons/IconLockClosed.d.ts +1 -1
- package/components/SVGIcons/IconLockClosed.js +2 -2
- package/components/SVGIcons/IconLockClosedFilled.d.ts +1 -1
- package/components/SVGIcons/IconLockClosedFilled.js +2 -2
- package/components/SVGIcons/IconLockOpen.d.ts +1 -1
- package/components/SVGIcons/IconLockOpen.js +2 -2
- package/components/SVGIcons/IconLockOpenFilled.d.ts +1 -1
- package/components/SVGIcons/IconLockOpenFilled.js +2 -2
- package/components/SVGIcons/IconMail.d.ts +1 -1
- package/components/SVGIcons/IconMail.js +2 -2
- package/components/SVGIcons/IconMailAdd.d.ts +1 -1
- package/components/SVGIcons/IconMailAdd.js +2 -2
- package/components/SVGIcons/IconMailAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailAddFilled.js +2 -2
- package/components/SVGIcons/IconMailArrowForward.d.ts +1 -1
- package/components/SVGIcons/IconMailArrowForward.js +2 -2
- package/components/SVGIcons/IconMailArrowForwardFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailArrowForwardFilled.js +2 -2
- package/components/SVGIcons/IconMailFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailFilled.js +2 -2
- package/components/SVGIcons/IconMailLink.d.ts +1 -1
- package/components/SVGIcons/IconMailLink.js +2 -2
- package/components/SVGIcons/IconMailLinkFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailLinkFilled.js +2 -2
- package/components/SVGIcons/IconMedium.d.ts +1 -1
- package/components/SVGIcons/IconMedium.js +2 -2
- package/components/SVGIcons/IconMoon.d.ts +1 -1
- package/components/SVGIcons/IconMoon.js +2 -2
- package/components/SVGIcons/IconMore.d.ts +1 -1
- package/components/SVGIcons/IconMore.js +2 -2
- package/components/SVGIcons/IconMoreFilled.d.ts +1 -1
- package/components/SVGIcons/IconMoreFilled.js +2 -2
- package/components/SVGIcons/IconMoreVertical.d.ts +1 -1
- package/components/SVGIcons/IconMoreVertical.js +2 -2
- package/components/SVGIcons/IconMoreVerticalFilled.d.ts +1 -1
- package/components/SVGIcons/IconMoreVerticalFilled.js +2 -2
- package/components/SVGIcons/IconNavigation.d.ts +1 -1
- package/components/SVGIcons/IconNavigation.js +2 -2
- package/components/SVGIcons/IconNavigationFilled.d.ts +1 -1
- package/components/SVGIcons/IconNavigationFilled.js +2 -2
- package/components/SVGIcons/IconNotebook.d.ts +1 -1
- package/components/SVGIcons/IconNotebook.js +2 -2
- package/components/SVGIcons/IconNotebookAdd.d.ts +1 -1
- package/components/SVGIcons/IconNotebookAdd.js +2 -2
- package/components/SVGIcons/IconNotebookAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconNotebookAddFilled.js +2 -2
- package/components/SVGIcons/IconNotebookFilled.d.ts +1 -1
- package/components/SVGIcons/IconNotebookFilled.js +2 -2
- package/components/SVGIcons/IconOnlyEmployee.d.ts +1 -1
- package/components/SVGIcons/IconOnlyEmployee.js +2 -2
- package/components/SVGIcons/IconOpen.d.ts +1 -1
- package/components/SVGIcons/IconOpen.js +2 -2
- package/components/SVGIcons/IconOpenFilled.d.ts +1 -1
- package/components/SVGIcons/IconOpenFilled.js +2 -2
- package/components/SVGIcons/IconPatient.d.ts +1 -1
- package/components/SVGIcons/IconPatient.js +2 -2
- package/components/SVGIcons/IconPatientFilled.d.ts +1 -1
- package/components/SVGIcons/IconPatientFilled.js +2 -2
- package/components/SVGIcons/IconPeople.d.ts +1 -1
- package/components/SVGIcons/IconPeople.js +2 -2
- package/components/SVGIcons/IconPeopleAdd.d.ts +1 -1
- package/components/SVGIcons/IconPeopleAdd.js +2 -2
- package/components/SVGIcons/IconPeopleAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleAddFilled.js +2 -2
- package/components/SVGIcons/IconPeopleFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleFilled.js +2 -2
- package/components/SVGIcons/IconPeopleList.d.ts +1 -1
- package/components/SVGIcons/IconPeopleList.js +2 -2
- package/components/SVGIcons/IconPeopleListFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleListFilled.js +2 -2
- package/components/SVGIcons/IconPeopleTeam.d.ts +1 -1
- package/components/SVGIcons/IconPeopleTeam.js +2 -2
- package/components/SVGIcons/IconPeopleTeamFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleTeamFilled.js +2 -2
- package/components/SVGIcons/IconPercent.d.ts +1 -1
- package/components/SVGIcons/IconPercent.js +2 -2
- package/components/SVGIcons/IconPerson.d.ts +1 -1
- package/components/SVGIcons/IconPerson.js +2 -2
- package/components/SVGIcons/IconPersonAccount.d.ts +1 -1
- package/components/SVGIcons/IconPersonAccount.js +2 -2
- package/components/SVGIcons/IconPersonAccountFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonAccountFilled.js +2 -2
- package/components/SVGIcons/IconPersonAdd.d.ts +1 -1
- package/components/SVGIcons/IconPersonAdd.js +2 -2
- package/components/SVGIcons/IconPersonAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonAddFilled.js +2 -2
- package/components/SVGIcons/IconPersonArrowLeft.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowLeft.js +2 -2
- package/components/SVGIcons/IconPersonArrowLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowLeftFilled.js +2 -2
- package/components/SVGIcons/IconPersonArrowRight.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowRight.js +2 -2
- package/components/SVGIcons/IconPersonArrowRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowRightFilled.js +2 -2
- package/components/SVGIcons/IconPersonBoard.d.ts +1 -1
- package/components/SVGIcons/IconPersonBoard.js +2 -2
- package/components/SVGIcons/IconPersonFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonFilled.js +2 -2
- package/components/SVGIcons/IconPersonMinus.d.ts +1 -1
- package/components/SVGIcons/IconPersonMinus.js +2 -2
- package/components/SVGIcons/IconPersonStar.d.ts +1 -1
- package/components/SVGIcons/IconPersonStar.js +2 -2
- package/components/SVGIcons/IconPersonStarFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonStarFilled.js +2 -2
- package/components/SVGIcons/IconPersonSubtract.d.ts +1 -1
- package/components/SVGIcons/IconPersonSubtract.js +2 -2
- package/components/SVGIcons/IconPersonSubtractFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonSubtractFilled.js +2 -2
- package/components/SVGIcons/IconPhone.d.ts +1 -1
- package/components/SVGIcons/IconPhone.js +2 -2
- package/components/SVGIcons/IconPhoneFilled.d.ts +1 -1
- package/components/SVGIcons/IconPhoneFilled.js +2 -2
- package/components/SVGIcons/IconPlugConnected.d.ts +1 -1
- package/components/SVGIcons/IconPlugConnected.js +2 -2
- package/components/SVGIcons/IconPos.d.ts +1 -1
- package/components/SVGIcons/IconPos.js +2 -2
- package/components/SVGIcons/IconPosFilled.d.ts +1 -1
- package/components/SVGIcons/IconPosFilled.js +2 -2
- package/components/SVGIcons/IconProhibited.d.ts +1 -1
- package/components/SVGIcons/IconProhibited.js +2 -2
- package/components/SVGIcons/IconProhibitedFilled.d.ts +1 -1
- package/components/SVGIcons/IconProhibitedFilled.js +2 -2
- package/components/SVGIcons/IconProjectProduct.d.ts +1 -1
- package/components/SVGIcons/IconProjectProduct.js +2 -2
- package/components/SVGIcons/IconQuestion.d.ts +1 -1
- package/components/SVGIcons/IconQuestion.js +2 -2
- package/components/SVGIcons/IconQuestionFilled.d.ts +1 -1
- package/components/SVGIcons/IconQuestionFilled.js +2 -2
- package/components/SVGIcons/IconRedo.d.ts +1 -1
- package/components/SVGIcons/IconRedo.js +2 -2
- package/components/SVGIcons/IconRedoFilled.d.ts +1 -1
- package/components/SVGIcons/IconRedoFilled.js +2 -2
- package/components/SVGIcons/IconRibbon.d.ts +1 -1
- package/components/SVGIcons/IconRibbon.js +2 -2
- package/components/SVGIcons/IconRu.d.ts +1 -1
- package/components/SVGIcons/IconRu.js +2 -2
- package/components/SVGIcons/IconRub.d.ts +1 -1
- package/components/SVGIcons/IconRub.js +2 -2
- package/components/SVGIcons/IconRubFilled.d.ts +1 -1
- package/components/SVGIcons/IconRubFilled.js +2 -2
- package/components/SVGIcons/IconSave.d.ts +1 -1
- package/components/SVGIcons/IconSave.js +2 -2
- package/components/SVGIcons/IconSaveFilled.d.ts +1 -1
- package/components/SVGIcons/IconSaveFilled.js +2 -2
- package/components/SVGIcons/IconSavings.d.ts +1 -1
- package/components/SVGIcons/IconSavings.js +2 -2
- package/components/SVGIcons/IconSavingsFilled.d.ts +1 -1
- package/components/SVGIcons/IconSavingsFilled.js +2 -2
- package/components/SVGIcons/IconSearch.d.ts +1 -1
- package/components/SVGIcons/IconSearch.js +2 -2
- package/components/SVGIcons/IconSearchFilled.d.ts +1 -1
- package/components/SVGIcons/IconSearchFilled.js +2 -2
- package/components/SVGIcons/IconSelectAllOff.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOff.js +2 -2
- package/components/SVGIcons/IconSelectAllOffFilled.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOffFilled.js +2 -2
- package/components/SVGIcons/IconSelectAllOn.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOn.js +2 -2
- package/components/SVGIcons/IconSelectAllOnFilled.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOnFilled.js +2 -2
- package/components/SVGIcons/IconSend.d.ts +1 -1
- package/components/SVGIcons/IconSend.js +2 -2
- package/components/SVGIcons/IconSendFilled.d.ts +1 -1
- package/components/SVGIcons/IconSendFilled.js +2 -2
- package/components/SVGIcons/IconSettings.d.ts +1 -1
- package/components/SVGIcons/IconSettings.js +2 -2
- package/components/SVGIcons/IconSettingsFilled.d.ts +1 -1
- package/components/SVGIcons/IconSettingsFilled.js +2 -2
- package/components/SVGIcons/IconShare.d.ts +1 -1
- package/components/SVGIcons/IconShare.js +2 -2
- package/components/SVGIcons/IconShareAndroid.d.ts +1 -1
- package/components/SVGIcons/IconShareAndroid.js +2 -2
- package/components/SVGIcons/IconShareAndroidFilled.d.ts +1 -1
- package/components/SVGIcons/IconShareAndroidFilled.js +2 -2
- package/components/SVGIcons/IconShareFilled.d.ts +1 -1
- package/components/SVGIcons/IconShareFilled.js +2 -2
- package/components/SVGIcons/IconSignOut.d.ts +1 -1
- package/components/SVGIcons/IconSignOut.js +2 -2
- package/components/SVGIcons/IconSignOutFilled.d.ts +1 -1
- package/components/SVGIcons/IconSignOutFilled.js +2 -2
- package/components/SVGIcons/IconSpinner.d.ts +1 -1
- package/components/SVGIcons/IconSpinner.js +2 -2
- package/components/SVGIcons/IconSpinnerFilled.d.ts +1 -1
- package/components/SVGIcons/IconSpinnerFilled.js +2 -2
- package/components/SVGIcons/IconStatus.d.ts +1 -1
- package/components/SVGIcons/IconStatus.js +2 -2
- package/components/SVGIcons/IconStatusFilled.d.ts +1 -1
- package/components/SVGIcons/IconStatusFilled.js +2 -2
- package/components/SVGIcons/IconSubtract.d.ts +1 -1
- package/components/SVGIcons/IconSubtract.js +2 -2
- package/components/SVGIcons/IconSubtractCircle.d.ts +1 -1
- package/components/SVGIcons/IconSubtractCircle.js +2 -2
- package/components/SVGIcons/IconSubtractCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconSubtractCircleFilled.js +2 -2
- package/components/SVGIcons/IconSubtractFilled.d.ts +1 -1
- package/components/SVGIcons/IconSubtractFilled.js +2 -2
- package/components/SVGIcons/IconSun.d.ts +1 -1
- package/components/SVGIcons/IconSun.js +2 -2
- package/components/SVGIcons/IconTableCellEdit.d.ts +1 -1
- package/components/SVGIcons/IconTableCellEdit.js +2 -2
- package/components/SVGIcons/IconTableCellEditFilled.d.ts +1 -1
- package/components/SVGIcons/IconTableCellEditFilled.js +2 -2
- package/components/SVGIcons/IconTelegram.d.ts +1 -1
- package/components/SVGIcons/IconTelegram.js +2 -2
- package/components/SVGIcons/IconTimer.d.ts +1 -1
- package/components/SVGIcons/IconTimer.js +2 -2
- package/components/SVGIcons/IconTimerFilled.d.ts +1 -1
- package/components/SVGIcons/IconTimerFilled.js +2 -2
- package/components/SVGIcons/IconTrophy.d.ts +1 -1
- package/components/SVGIcons/IconTrophy.js +2 -2
- package/components/SVGIcons/IconTrophyFilled.d.ts +1 -1
- package/components/SVGIcons/IconTrophyFilled.js +2 -2
- package/components/SVGIcons/IconTwitter.d.ts +1 -1
- package/components/SVGIcons/IconTwitter.js +2 -2
- package/components/SVGIcons/IconUndo.d.ts +1 -1
- package/components/SVGIcons/IconUndo.js +2 -2
- package/components/SVGIcons/IconUndoFilled.d.ts +1 -1
- package/components/SVGIcons/IconUndoFilled.js +2 -2
- package/components/SVGIcons/IconUnitsEmployee.d.ts +1 -1
- package/components/SVGIcons/IconUnitsEmployee.js +2 -2
- package/components/SVGIcons/IconUpload.d.ts +1 -1
- package/components/SVGIcons/IconUpload.js +2 -2
- package/components/SVGIcons/IconUs.d.ts +1 -1
- package/components/SVGIcons/IconUs.js +2 -2
- package/components/SVGIcons/IconUsd.d.ts +1 -1
- package/components/SVGIcons/IconUsd.js +2 -2
- package/components/SVGIcons/IconUsdFilled.d.ts +1 -1
- package/components/SVGIcons/IconUsdFilled.js +2 -2
- package/components/SVGIcons/IconUserMinus.d.ts +1 -1
- package/components/SVGIcons/IconUserMinus.js +2 -2
- package/components/SVGIcons/IconVacation.d.ts +1 -1
- package/components/SVGIcons/IconVacation.js +2 -2
- package/components/SVGIcons/IconVideo.d.ts +1 -1
- package/components/SVGIcons/IconVideo.js +2 -2
- package/components/SVGIcons/IconVideoFilled.d.ts +1 -1
- package/components/SVGIcons/IconVideoFilled.js +2 -2
- package/components/SVGIcons/IconWallet.d.ts +1 -1
- package/components/SVGIcons/IconWallet.js +2 -2
- package/components/SVGIcons/IconWalletFilled.d.ts +1 -1
- package/components/SVGIcons/IconWalletFilled.js +2 -2
- package/components/SVGIcons/IconWarning.d.ts +1 -1
- package/components/SVGIcons/IconWarning.js +2 -2
- package/components/SVGIcons/IconWarningFilled.d.ts +1 -1
- package/components/SVGIcons/IconWarningFilled.js +2 -2
- package/components/SVGIcons/IconYoutube.d.ts +1 -1
- package/components/SVGIcons/IconYoutube.js +2 -2
- package/components/Select/ButtonSelect/ButtonSelect.js +4 -4
- package/components/Select/FilterSelect/FilterDropdown.js +3 -3
- package/components/Select/FilterSelect/FilterSelect.js +3 -3
- package/components/Select/MultiSelect/DesktopWrapper.d.ts +1 -1
- package/components/Select/MultiSelect/DesktopWrapper.js +2 -2
- package/components/Select/MultiSelect/MobileWrapper.d.ts +1 -1
- package/components/Select/MultiSelect/MobileWrapper.js +2 -2
- package/components/Select/MultiSelect/MultiBase/MultiBase.js +4 -4
- package/components/Select/MultiSelect/MultiSelect.js +3 -3
- package/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js +4 -4
- package/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js +4 -4
- package/components/Select/MultiSelect/OptionsWrapper.d.ts +1 -1
- package/components/Select/NestedSelect/NestedSelect.js +5 -5
- package/components/Select/ProfileDropdown/index.js +2 -2
- package/components/Select/Select/Select.js +4 -4
- package/components/Select/Select/SelectDesktop/index.js +4 -4
- package/components/Select/Select/SelectMobile/MobileTopContent.d.ts +2 -2
- package/components/Select/Select/SelectMobile/MobileTopContent.js +2 -2
- package/components/Select/Select/SelectMobile/index.js +4 -4
- package/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.d.ts +1 -1
- package/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.js +2 -2
- package/components/Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js +2 -2
- package/components/Select/SharedComponents/ContentTop.d.ts +2 -2
- package/components/Select/SharedComponents/ContentTop.js +6 -6
- package/components/Select/SharedComponents/Footer.js +2 -2
- package/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js +3 -3
- package/components/Select/helper.d.ts +1 -1
- package/components/Select/helper.js +3 -3
- package/components/Select/types.d.ts +5 -4
- package/components/SideSheet/Footer/Footer.d.ts +2 -2
- package/components/SideSheet/Footer/Footer.js +2 -2
- package/components/SideSheet/SideSheet.js +3 -3
- package/components/SideSheet/types.d.ts +1 -0
- package/components/Skeleton/Skeleton.js +4 -4
- package/components/Skeleton/types.d.ts +1 -0
- package/components/Snackbar/Snackbar.js +1 -1
- package/components/Snackbar/types.d.ts +1 -0
- package/components/Status/Status.js +3 -3
- package/components/Status/types.d.ts +1 -1
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/types.d.ts +1 -0
- package/components/Switcher/Switcher.js +2 -2
- package/components/Switcher/types.d.ts +1 -0
- package/components/Tab/Tab.js +3 -3
- package/components/Tab/TabItem.js +2 -2
- package/components/Tab/types.d.ts +1 -0
- package/components/Table/Header.d.ts +2 -1
- package/components/Table/Header.js +2 -2
- package/components/Table/IndeterminateCheckbox.d.ts +1 -0
- package/components/Table/IndeterminateCheckbox.js +2 -2
- package/components/Table/Row.d.ts +2 -1
- package/components/Table/Row.js +3 -3
- package/components/Table/Table.d.ts +1 -1
- package/components/Table/Table.js +5 -5
- package/components/Table/types.d.ts +1 -0
- package/components/Table/utils.d.ts +1 -1
- package/components/Table/utils.js +3 -3
- package/components/TableV2/AdvancedPagination.d.ts +2 -1
- package/components/TableV2/AdvancedPagination.js +3 -3
- package/components/TableV2/ColumnHeader.d.ts +2 -1
- package/components/TableV2/ColumnHeader.js +3 -3
- package/components/TableV2/IndeterminateCheckbox.d.ts +1 -0
- package/components/TableV2/IndeterminateCheckbox.js +2 -2
- package/components/TableV2/Table.d.ts +1 -1
- package/components/TableV2/Table.js +14 -14
- package/components/TableV2/hooks/useTableControl.d.ts +1 -1
- package/components/TableV2/hooks/useTableControl.js +4 -4
- package/components/TableV2/types.d.ts +1 -0
- package/components/Text/Text.js +2 -2
- package/components/Text/types.d.ts +1 -0
- package/components/Textarea/Textarea.js +2 -2
- package/components/Textarea/types.d.ts +1 -0
- package/components/Tooltip/Tooltip.js +2 -2
- package/components/Tooltip/types.d.ts +1 -0
- package/components/UnderConstruction/UnderConstruction.js +2 -2
- package/components/UnderConstruction/types.d.ts +1 -0
- package/helperComponents/ErrorMessage/ErrorMessage.d.ts +1 -1
- package/helperComponents/ErrorMessage/ErrorMessage.js +2 -2
- package/helperComponents/ErrorMessage/types.d.ts +1 -1
- package/helperComponents/Label/types.d.ts +1 -1
- package/helperComponents/OptionItem/OptionItem.js +3 -3
- package/helperComponents/OptionItem/types.d.ts +1 -1
- package/package.json +1 -1
- package/type/base.d.ts +14 -0
- package/type/base.js +1 -0
- package/type/index.d.ts +1 -0
- package/type/index.js +1 -0
- package/type/svg-icons.d.ts +1 -1
- package/utils/helpers.d.ts +1 -1
- package/utils/helpers.js +3 -3
|
@@ -11,7 +11,7 @@ import { Footer } from './Footer/Footer';
|
|
|
11
11
|
import IconCaretUp from '../SVGIcons/IconCaretUp';
|
|
12
12
|
import IconDismissFilled from '../SVGIcons/IconDismissFilled';
|
|
13
13
|
export const SideSheet = (props) => {
|
|
14
|
-
const { size = 'small', isLoading, isOpen, onClose, onSubmit, title, position = 'right', shouldRemoveCallback, className = '', headerButtons, footerButtons, scrollToTopOptions, children, closeOnOutsideClick = true, checkboxInfo,
|
|
14
|
+
const { size = 'small', isLoading, isOpen, onClose, onSubmit, title, position = 'right', shouldRemoveCallback, className = '', headerButtons, footerButtons, scrollToTopOptions, children, closeOnOutsideClick = true, checkboxInfo, dataTestId = '' } = props;
|
|
15
15
|
const [containerRef, setContainerRef] = useState(null);
|
|
16
16
|
const [isShownScrollIcon, setIsShownScrollIcon] = useState(false);
|
|
17
17
|
const scrollbarContainerRef = useRef(null);
|
|
@@ -42,7 +42,7 @@ export const SideSheet = (props) => {
|
|
|
42
42
|
});
|
|
43
43
|
}, []);
|
|
44
44
|
const isFromLeft = position === 'left';
|
|
45
|
-
return (_jsx(AnimatePresenceWrapper, { children: isOpen ? (_jsx(motion.div, { className: "side-sheet", "data-id":
|
|
45
|
+
return (_jsx(AnimatePresenceWrapper, { children: isOpen ? (_jsx(motion.div, { className: "side-sheet", "data-test-id": dataTestId, initial: {
|
|
46
46
|
opacity: 0
|
|
47
47
|
}, animate: {
|
|
48
48
|
opacity: 1
|
|
@@ -54,5 +54,5 @@ export const SideSheet = (props) => {
|
|
|
54
54
|
}
|
|
55
55
|
}, transition: { duration: 0.2 }, children: _jsxs(motion.div, { initial: isFromLeft ? { left: '-100%' } : { right: '-100%' }, animate: isFromLeft ? { left: 0 } : { right: 0 }, exit: Object.assign(Object.assign({}, (isFromLeft ? { left: '-100%' } : { right: '-100%' })), { transition: {
|
|
56
56
|
duration: 0.5
|
|
57
|
-
} }), transition: { duration: 0.5 }, className: classnames('side-sheet__container', `side-sheet__${position}`, `side-sheet__container--${size}`, className), "data-id":
|
|
57
|
+
} }), transition: { duration: 0.5 }, className: classnames('side-sheet__container', `side-sheet__${position}`, `side-sheet__container--${size}`, className), "data-test-id": dataTestId ? `${dataTestId}-container` : '', ref: setContainerRef, children: [_jsxs("div", { className: "side-sheet__header", children: [_jsxs("div", { className: "side-sheet__header__left pr-16", children: [(headerButtons === null || headerButtons === void 0 ? void 0 : headerButtons.back) ? (_jsx(Button, Object.assign({ size: "small", type: "tertiary" }, headerButtons.back, { className: "mr-8", dataTestId: dataTestId ? `${dataTestId}-back` : '' }))) : null, _jsx(Text, { className: "side-sheet__title", weight: "bolder", lineHeight: "large", size: "medium", dataTestId: dataTestId ? `${dataTestId}-title` : '', children: title })] }), _jsxs("div", { className: "side-sheet__header__right", children: [(headerButtons === null || headerButtons === void 0 ? void 0 : headerButtons.pin) ? (_jsx(Button, Object.assign({ size: "small", type: "tertiary" }, headerButtons.pin, { className: "mr-8", dataTestId: dataTestId ? `${dataTestId}-pin` : '' }))) : null, (headerButtons === null || headerButtons === void 0 ? void 0 : headerButtons.close) ? (_jsx(Button, Object.assign({ size: "small", type: "tertiary" }, headerButtons.close, { onClick: onClose, dataTestId: dataTestId ? `${dataTestId}-close` : '' }))) : (_jsx(Button, { size: "small", type: "tertiary", iconProps: { Component: IconDismissFilled }, onClick: onClose, dataTestId: dataTestId ? `${dataTestId}-close` : '' }))] }), isShownScrollIcon && (_jsx(Button, { size: "large", type: "secondary", iconProps: { Component: IconCaretUp }, className: `side-sheet__header__scroll-top side-sheet__header__scroll-top__${size}`, dataTestId: dataTestId ? `${dataTestId}-scroll-top` : '', onClick: handleScrollToTop }))] }), _jsx("div", { className: "side-sheet__content scrollbar scrollbar--vertical", "data-test-id": dataTestId ? `${dataTestId}-content` : '', ref: scrollbarContainerRef, children: children }), _jsx(Footer, { footerButtons: footerButtons, isLoading: isLoading, onClose: onClose, onSubmit: onSubmit, checkboxInfo: checkboxInfo, dataTestId: dataTestId })] }) })) : null }));
|
|
58
58
|
};
|
|
@@ -8,7 +8,7 @@ const toCSSSize = (value) => {
|
|
|
8
8
|
return typeof value === 'number' ? `${value}px` : value;
|
|
9
9
|
};
|
|
10
10
|
export const Skeleton = (props) => {
|
|
11
|
-
const { variant = DEFAULT_VARIANT, animation = DEFAULT_ANIMATION, width, height, count = 1, children, style, className = '',
|
|
11
|
+
const { variant = DEFAULT_VARIANT, animation = DEFAULT_ANIMATION, width, height, count = 1, children, style, className = '', dataTestId = '' } = props;
|
|
12
12
|
const hasChildren = children !== undefined && children !== null;
|
|
13
13
|
const safeCount = count > 1 ? count : 1;
|
|
14
14
|
const inlineStyle = Object.assign(Object.assign(Object.assign({}, (width !== undefined ? { width: toCSSSize(width) } : null)), (height !== undefined ? { height: toCSSSize(height) } : null)), style);
|
|
@@ -18,14 +18,14 @@ export const Skeleton = (props) => {
|
|
|
18
18
|
'skeleton--auto-width': hasChildren && width === undefined
|
|
19
19
|
}, className);
|
|
20
20
|
if (hasChildren) {
|
|
21
|
-
return (_jsx("span", { className: rootClassName, style: inlineStyle, "data-id":
|
|
21
|
+
return (_jsx("span", { className: rootClassName, style: inlineStyle, "data-test-id": dataTestId, children: _jsx("span", { className: "skeleton__children", "aria-hidden": "true", children: children }) }));
|
|
22
22
|
}
|
|
23
23
|
if (safeCount === 1) {
|
|
24
|
-
return (_jsx("span", { className: rootClassName, style: inlineStyle, "data-id":
|
|
24
|
+
return (_jsx("span", { className: rootClassName, style: inlineStyle, "data-test-id": dataTestId, role: "status", "aria-label": "Loading" }));
|
|
25
25
|
}
|
|
26
26
|
const items = [];
|
|
27
27
|
for (let i = 0; i < safeCount; i += 1) {
|
|
28
|
-
items.push(_jsx("span", { className: rootClassName, style: inlineStyle, "data-id":
|
|
28
|
+
items.push(_jsx("span", { className: rootClassName, style: inlineStyle, "data-test-id": dataTestId ? `${dataTestId}-${i}` : '', "aria-hidden": i === 0 ? undefined : true, role: i === 0 ? 'status' : undefined, "aria-label": i === 0 ? 'Loading' : undefined }, i));
|
|
29
29
|
}
|
|
30
30
|
return _jsx("span", { className: "skeleton-group", children: items });
|
|
31
31
|
};
|
|
@@ -5,7 +5,7 @@ import { Button } from '../Button';
|
|
|
5
5
|
import { DEFAULT_DURATION, ICONS_MAPPING, TYPE_MAPPING } from './consts';
|
|
6
6
|
import { IconDynamicComponent } from '../../helperComponents/IconDynamicComponent';
|
|
7
7
|
const CustomToast = ({ actionProps, toastId, type = 'information', text }) => {
|
|
8
|
-
return (_jsxs("div", { "data-id": `${type}-toast-message`, className: "snackbar", children: [_jsxs("div", { className: "snackbar__content", children: [_jsx(IconDynamicComponent, { Component: ICONS_MAPPING[type], type: TYPE_MAPPING[type], size: "medium" }), _jsx(Text, { className: "snackbar__text pl-16 pr-8", type: "primary", size: "standard", weight: "regular", lineHeight: "large", children: text })] }), actionProps ? (_jsx(Button, Object.assign({ size: "small", type: "tertiary" }, actionProps, { onClick: (e) => {
|
|
8
|
+
return (_jsxs("div", { "data-test-id": `${type}-toast-message`, className: "snackbar", children: [_jsxs("div", { className: "snackbar__content", children: [_jsx(IconDynamicComponent, { Component: ICONS_MAPPING[type], type: TYPE_MAPPING[type], size: "medium" }), _jsx(Text, { className: "snackbar__text pl-16 pr-8", type: "primary", size: "standard", weight: "regular", lineHeight: "large", children: text })] }), actionProps ? (_jsx(Button, Object.assign({ size: "small", type: "tertiary" }, actionProps, { onClick: (e) => {
|
|
9
9
|
var _a;
|
|
10
10
|
toast.dismiss(toastId);
|
|
11
11
|
(_a = actionProps === null || actionProps === void 0 ? void 0 : actionProps.onClick) === null || _a === void 0 ? void 0 : _a.call(actionProps, e);
|
|
@@ -8,11 +8,11 @@ var StatusTextSize;
|
|
|
8
8
|
StatusTextSize["small"] = "xsmall";
|
|
9
9
|
})(StatusTextSize || (StatusTextSize = {}));
|
|
10
10
|
export const Status = (props) => {
|
|
11
|
-
const { type = 'primary', size = 'large', text = '', children, className = '', leftIconProps, rightIconProps, withCircle = true, withBackground = false,
|
|
12
|
-
return (_jsxs("div", { "data-id":
|
|
11
|
+
const { type = 'primary', size = 'large', text = '', children, className = '', leftIconProps, rightIconProps, withCircle = true, withBackground = false, dataTestId = '' } = props;
|
|
12
|
+
return (_jsxs("div", { "data-test-id": dataTestId, className: classNames(`status status--${size}`, className, {
|
|
13
13
|
status__withBackground: withBackground,
|
|
14
14
|
[`status__withBackground--${type}`]: withBackground
|
|
15
15
|
}), children: [withCircle ? (_jsx("span", { className: classNames('status__circle', 'mr-6', {
|
|
16
16
|
[`status__circle--${type}`]: true
|
|
17
|
-
}) })) : null, (leftIconProps === null || leftIconProps === void 0 ? void 0 : leftIconProps.Component) ? (_jsx(leftIconProps.Component, Object.assign({ size: "xsmall", type: type, className: "mr-6" }, leftIconProps))) : null, _jsxs("div", { className: "status__label", children: [_jsx(Text, { className: "status__label-text",
|
|
17
|
+
}) })) : null, (leftIconProps === null || leftIconProps === void 0 ? void 0 : leftIconProps.Component) ? (_jsx(leftIconProps.Component, Object.assign({ size: "xsmall", type: type, className: "mr-6" }, leftIconProps))) : null, _jsxs("div", { className: "status__label", children: [_jsx(Text, { className: "status__label-text", dataTestId: dataTestId ? `${dataTestId}-text` : '', weight: withBackground ? 'semibold' : 'regular', type: !withCircle || withBackground ? type : 'primary', size: StatusTextSize[size], children: text }), children] }), rightIconProps] }));
|
|
18
18
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { ISVGIconProps } from '../../type';
|
|
2
|
+
import { ISVGIconProps, IFormCompProps } from '../../type';
|
|
3
3
|
export type TStatusTypes = 'primary' | 'disabled' | 'brand' | 'danger' | 'warning' | 'success' | 'information' | 'discovery';
|
|
4
4
|
export interface TStatusProps extends IFormCompProps {
|
|
5
5
|
text?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, useState } from 'react';
|
|
3
3
|
export const Stepper = (props) => {
|
|
4
|
-
const { list, activeStep = 0, setActiveStep,
|
|
4
|
+
const { list, activeStep = 0, setActiveStep, dataTestId = '' } = props;
|
|
5
5
|
const [activeStepIndex, setActiveStepIndex] = useState(activeStep);
|
|
6
6
|
const decreaseStepIndex = () => {
|
|
7
7
|
let newIndex = activeStepIndex;
|
|
@@ -25,5 +25,5 @@ export const Stepper = (props) => {
|
|
|
25
25
|
}
|
|
26
26
|
}, [activeStep, activeStepIndex]);
|
|
27
27
|
const Content = list[activeStepIndex];
|
|
28
|
-
return (_jsx(Content, { activeStepIndex: activeStepIndex, isNextDisabled: activeStepIndex === list.length - 1, isPrevDisabled: activeStepIndex === 0, prevHandler: decreaseStepIndex, nextHandler: increaseStepIndex, stepCount: list.length,
|
|
28
|
+
return (_jsx(Content, { activeStepIndex: activeStepIndex, isNextDisabled: activeStepIndex === list.length - 1, isPrevDisabled: activeStepIndex === 0, prevHandler: decreaseStepIndex, nextHandler: increaseStepIndex, stepCount: list.length, dataTestId: dataTestId ? `${dataTestId}-step-${activeStepIndex}` : '' }));
|
|
29
29
|
};
|
|
@@ -3,7 +3,7 @@ import { forwardRef, useMemo } from 'react';
|
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { Label } from '../../helperComponents/Label';
|
|
5
5
|
export const Switcher = forwardRef((props, ref) => {
|
|
6
|
-
const { onClick, id = '', name, value, disabled, label, inlineType = false,
|
|
6
|
+
const { onClick, id = '', name, value, disabled, label, inlineType = false, dataTestId, size = 'large', setFieldValue, selectedValue, className = '', labelAddons, orientation = 'right', hasSpaceBetween = true } = props;
|
|
7
7
|
const isChecked = !!value || !!selectedValue;
|
|
8
8
|
const changeHandler = () => {
|
|
9
9
|
if (name && setFieldValue) {
|
|
@@ -17,6 +17,6 @@ export const Switcher = forwardRef((props, ref) => {
|
|
|
17
17
|
return (_jsxs("div", { className: classnames('switcher', {
|
|
18
18
|
'switcher--inline': inlineType,
|
|
19
19
|
'switcher--space-between': hasSpaceBetween
|
|
20
|
-
}), children: [label && orientation === 'right' && labelComponent, _jsxs("label", { id: id, className: classnames('controller', 'controller--switch', `controller--switch-${size}`, className, { 'controller--disabled': disabled }), children: [_jsx("input", { "data-id":
|
|
20
|
+
}), children: [label && orientation === 'right' && labelComponent, _jsxs("label", { id: id, className: classnames('controller', 'controller--switch', `controller--switch-${size}`, className, { 'controller--disabled': disabled }), children: [_jsx("input", { "data-test-id": dataTestId, type: "checkbox", tabIndex: 0, onChange: changeHandler, checked: isChecked, disabled: disabled }), _jsx("span", { className: "controller__icon", children: _jsx("span", { className: "controller__icon__inner", children: _jsx("span", { className: "controller__mark" }) }) })] }), label && orientation === 'left' && labelComponent] }));
|
|
21
21
|
});
|
|
22
22
|
Switcher.displayName = 'Switcher';
|
package/components/Tab/Tab.js
CHANGED
|
@@ -13,8 +13,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import { TabItem } from './TabItem';
|
|
14
14
|
import classNames from 'classnames';
|
|
15
15
|
export const Tab = (props) => {
|
|
16
|
-
const { selectedValue, tabItems, onSelect, className,
|
|
17
|
-
return (_jsx("div", { className: "tabs-container", "data-id":
|
|
18
|
-
return (_jsx(TabItem, Object.assign({ label: tabInfo.label, badgeProps: tabInfo.badgeProps, onClick: () => onSelect(tabInfo.value), val: tabInfo.value, isSelected: selectedValue === tabInfo.value,
|
|
16
|
+
const { selectedValue, tabItems, onSelect, className, dataTestId = '' } = props, rest = __rest(props, ["selectedValue", "tabItems", "onSelect", "className", "dataTestId"]);
|
|
17
|
+
return (_jsx("div", { className: "tabs-container", "data-test-id": dataTestId, children: _jsx("div", { className: classNames('tabs-header-container', className), children: tabItems.map((tabInfo, index) => {
|
|
18
|
+
return (_jsx(TabItem, Object.assign({ label: tabInfo.label, badgeProps: tabInfo.badgeProps, onClick: () => onSelect(tabInfo.value), val: tabInfo.value, isSelected: selectedValue === tabInfo.value, dataTestId: (tabInfo === null || tabInfo === void 0 ? void 0 : tabInfo.dataTestId) || (dataTestId ? `${dataTestId}-item-${index}` : ''), disabled: tabInfo.disabled }, rest), tabInfo.value));
|
|
19
19
|
}) }) }));
|
|
20
20
|
};
|
|
@@ -3,8 +3,8 @@ import { Badge } from '../Badge';
|
|
|
3
3
|
import { noop } from '../../utils/helpers';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
export const TabItem = (props) => {
|
|
6
|
-
const { size = 'large', iconProps, badgeProps, label, className = '', disabled = false, isSelected, rightIconProps, val, onClick,
|
|
7
|
-
return (_jsxs("div", { "data-id":
|
|
6
|
+
const { size = 'large', iconProps, badgeProps, label, className = '', disabled = false, isSelected, rightIconProps, val, onClick, dataTestId } = props;
|
|
7
|
+
return (_jsxs("div", { "data-test-id": dataTestId, onClick: disabled ? noop : onClick, className: classNames('tab', { [`tab--${size}`]: size }, { 'tab--disabled': disabled }, { 'tab--selected': isSelected }, className), children: [(iconProps === null || iconProps === void 0 ? void 0 : iconProps.Component) ? (_jsx(iconProps.Component, Object.assign({ className: "tab__icon mr-8", size: `${size == 'small' ? 'xsmall' : 'small'}` }, iconProps))) : null, _jsx("span", { className: "tab__label", "data-test-id": dataTestId ? `${dataTestId}-label` : '', children: label }), (rightIconProps === null || rightIconProps === void 0 ? void 0 : rightIconProps.Component) ? (_jsx(rightIconProps.Component, Object.assign({ onClick: (e) => {
|
|
8
8
|
if (rightIconProps === null || rightIconProps === void 0 ? void 0 : rightIconProps.action) {
|
|
9
9
|
e.stopPropagation();
|
|
10
10
|
rightIconProps === null || rightIconProps === void 0 ? void 0 : rightIconProps.action(val);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
1
2
|
import { ReactElement } from 'react';
|
|
2
3
|
import { HeaderGroup } from 'react-table';
|
|
3
4
|
type Props = IBaseProps & {
|
|
@@ -7,5 +8,5 @@ type Props = IBaseProps & {
|
|
|
7
8
|
headerGroup: HeaderGroup;
|
|
8
9
|
uniqueKey: string;
|
|
9
10
|
};
|
|
10
|
-
export declare function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHeader,
|
|
11
|
+
export declare function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHeader, dataTestId }: Props): ReactElement;
|
|
11
12
|
export {};
|
|
@@ -15,7 +15,7 @@ import { calcColumnWidth, CHECKBOX_DEFAULT_WIDTH, CHECKBOX_HEADER_ID } from './u
|
|
|
15
15
|
import { Text } from '../Text';
|
|
16
16
|
import IconArrowDown from '../SVGIcons/IconArrowDown';
|
|
17
17
|
import IconArrowUp from '../SVGIcons/IconArrowUp';
|
|
18
|
-
export function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHeader = false,
|
|
18
|
+
export function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHeader = false, dataTestId = '' }) {
|
|
19
19
|
const _a = headerGroup.getHeaderGroupProps(), { key: keyheaderGroup } = _a, headerGroupProps = __rest(_a, ["key"]);
|
|
20
20
|
return (_jsx("tr", Object.assign({}, headerGroupProps, { className: classNames({ fixed_header: fixedHeader }), children: headerGroup.headers.map(({ id, minWidth, maxWidth, width, widthInPercent, getHeaderProps, fixed, columnProps, render, isSorted, isSortedDesc, getSortByToggleProps }, i, arr) => {
|
|
21
21
|
var _a;
|
|
@@ -24,7 +24,7 @@ export function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHe
|
|
|
24
24
|
? CHECKBOX_DEFAULT_WIDTH
|
|
25
25
|
: calcColumnWidth(widthInPercent, tableWidth), left: !isSelection && withSelect && fixed === 'left' ? CHECKBOX_DEFAULT_WIDTH : 0 }, (!isSelection && minWidth ? { minWidth } : {})), (!isSelection && maxWidth ? { maxWidth } : {})), (!isSelection && width ? { width } : {}));
|
|
26
26
|
const _b = getHeaderProps((columnProps === null || columnProps === void 0 ? void 0 : columnProps.sortable) ? getSortByToggleProps() : undefined), { key: keyHead } = _b, headProps = __rest(_b, ["key"]);
|
|
27
|
-
return (_jsx("th", Object.assign({}, headProps, { "data-id":
|
|
27
|
+
return (_jsx("th", Object.assign({}, headProps, { "data-test-id": dataTestId ? `${dataTestId}-header-${id !== null && id !== void 0 ? id : i}` : '', className: classNames({
|
|
28
28
|
fixed_column_left: fixed === 'left',
|
|
29
29
|
fixed_column_right: fixed === 'right',
|
|
30
30
|
fixed_checkbox: isSelection && ((_a = arr[i + 1]) === null || _a === void 0 ? void 0 : _a.fixed) === 'left',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useEffect, useRef } from 'react';
|
|
3
3
|
import { Checkbox } from '../Checkbox';
|
|
4
|
-
export const IndeterminateCheckbox = forwardRef(({ indeterminate, checked, onChange, disabled = false,
|
|
4
|
+
export const IndeterminateCheckbox = forwardRef(({ indeterminate, checked, onChange, disabled = false, dataTestId = '' }, ref) => {
|
|
5
5
|
const defaultRef = useRef(null);
|
|
6
6
|
const resolvedRef = ref || defaultRef;
|
|
7
7
|
useEffect(() => {
|
|
@@ -10,6 +10,6 @@ export const IndeterminateCheckbox = forwardRef(({ indeterminate, checked, onCha
|
|
|
10
10
|
const handleChange = (v) => {
|
|
11
11
|
onChange({ target: { checked: v } });
|
|
12
12
|
};
|
|
13
|
-
return (_jsx(Checkbox, { disabled: disabled, value: checked, onClick: handleChange, ref: resolvedRef,
|
|
13
|
+
return (_jsx(Checkbox, { disabled: disabled, value: checked, onClick: handleChange, ref: resolvedRef, dataTestId: dataTestId, stopPropagation: true }));
|
|
14
14
|
});
|
|
15
15
|
IndeterminateCheckbox.displayName = 'IndeterminateCheckbox';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
1
2
|
import { ReactElement } from 'react';
|
|
2
3
|
import { Row as RowType } from 'react-table';
|
|
3
4
|
type Props = IBaseProps & {
|
|
@@ -7,5 +8,5 @@ type Props = IBaseProps & {
|
|
|
7
8
|
selectedFlatRows: RowType[];
|
|
8
9
|
uniqueKey: string;
|
|
9
10
|
};
|
|
10
|
-
export declare function Row({ row, selectedFlatRows, withSelect, uniqueKey, handleRowClick,
|
|
11
|
+
export declare function Row({ row, selectedFlatRows, withSelect, uniqueKey, handleRowClick, dataTestId }: Props): ReactElement;
|
|
11
12
|
export {};
|
package/components/Table/Row.js
CHANGED
|
@@ -13,14 +13,14 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import { useMemo } from 'react';
|
|
14
14
|
import classNames from 'classnames';
|
|
15
15
|
import { CHECKBOX_DEFAULT_WIDTH, CHECKBOX_HEADER_ID } from './utils';
|
|
16
|
-
export function Row({ row, selectedFlatRows, withSelect, uniqueKey, handleRowClick,
|
|
16
|
+
export function Row({ row, selectedFlatRows, withSelect, uniqueKey, handleRowClick, dataTestId = '' }) {
|
|
17
17
|
const isRowSelected = useMemo(() => selectedFlatRows.find((r) => r.id === row.id), [selectedFlatRows]);
|
|
18
18
|
const _a = row.getRowProps(), { key: keyRow } = _a, rowProps = __rest(_a, ["key"]);
|
|
19
|
-
return (_jsx("tr", Object.assign({}, rowProps, { "data-id":
|
|
19
|
+
return (_jsx("tr", Object.assign({}, rowProps, { "data-test-id": dataTestId ? `${dataTestId}-row-${row.index}` : '', className: classNames({ selected: Boolean(isRowSelected) }), onClick: () => handleRowClick === null || handleRowClick === void 0 ? void 0 : handleRowClick(row.original), children: row.cells.map(({ getCellProps, column, render }, i, arr) => {
|
|
20
20
|
var _a, _b;
|
|
21
21
|
const isSelection = column.id === CHECKBOX_HEADER_ID;
|
|
22
22
|
const _c = getCellProps(), { key: keycell } = _c, cellProps = __rest(_c, ["key"]);
|
|
23
|
-
return (_jsx("td", Object.assign({}, cellProps, { "data-id":
|
|
23
|
+
return (_jsx("td", Object.assign({}, cellProps, { "data-test-id": dataTestId ? `${dataTestId}-row-${row.index}-cell-${(_a = column.id) !== null && _a !== void 0 ? _a : i}` : '', style: {
|
|
24
24
|
left: !isSelection && withSelect && (column === null || column === void 0 ? void 0 : column.fixed) === 'left' ? CHECKBOX_DEFAULT_WIDTH : 0
|
|
25
25
|
}, className: classNames({
|
|
26
26
|
fixed_column_left: (column === null || column === void 0 ? void 0 : column.fixed) === 'left',
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { TTableProps } from './types';
|
|
3
|
-
export declare function Table({ columns, data, onChange, fixedHeader, withSelect, handleRowClick, className, language, containerRefHandler, submitButtons,
|
|
3
|
+
export declare function Table({ columns, data, onChange, fixedHeader, withSelect, handleRowClick, className, language, containerRefHandler, submitButtons, dataTestId }: TTableProps): ReactElement;
|
|
@@ -11,7 +11,7 @@ import { TABLE_LOCALIZATION } from './localization';
|
|
|
11
11
|
import { setTranslationValue } from '../../utils/helpers';
|
|
12
12
|
import IconCheckmark from '../SVGIcons/IconCheckmark';
|
|
13
13
|
import IconDismiss from '../SVGIcons/IconDismiss';
|
|
14
|
-
export function Table({ columns, data, onChange, fixedHeader, withSelect = false, handleRowClick, className, language = 'en', containerRefHandler, submitButtons,
|
|
14
|
+
export function Table({ columns, data, onChange, fixedHeader, withSelect = false, handleRowClick, className, language = 'en', containerRefHandler, submitButtons, dataTestId = '' }) {
|
|
15
15
|
const tableRef = useRef(null);
|
|
16
16
|
const [tableWidth, setTableWidth] = useState(400);
|
|
17
17
|
const uniqueKey = useId();
|
|
@@ -42,7 +42,7 @@ export function Table({ columns, data, onChange, fixedHeader, withSelect = false
|
|
|
42
42
|
const { getTableProps, getTableBodyProps, selectedFlatRows, headerGroups, rows, prepareRow, toggleAllRowsSelected, state } = useTable({
|
|
43
43
|
columns: sortedColumns,
|
|
44
44
|
data
|
|
45
|
-
}, useSortBy, useRowSelect, (hooks) => setSelectedRows(hooks, withSelect,
|
|
45
|
+
}, useSortBy, useRowSelect, (hooks) => setSelectedRows(hooks, withSelect, dataTestId));
|
|
46
46
|
const handleResize = useCallback(() => {
|
|
47
47
|
var _a;
|
|
48
48
|
if (tableRef.current) {
|
|
@@ -65,10 +65,10 @@ export function Table({ columns, data, onChange, fixedHeader, withSelect = false
|
|
|
65
65
|
const onClearSelectedRows = useCallback(() => {
|
|
66
66
|
toggleAllRowsSelected(false);
|
|
67
67
|
}, []);
|
|
68
|
-
return (_jsxs("div", { ref: containerRefHandler, "data-id":
|
|
68
|
+
return (_jsxs("div", { ref: containerRefHandler, "data-test-id": dataTestId, children: [withSelect && selectedFlatRows.length > 0 && (_jsxs("div", { className: "table-wrapper__selected-rows", children: [_jsx(Button, { buttonText: setTranslationValue(TABLE_LOCALIZATION[language].n_selected || '', selectedFlatRows.length), onClick: onClearSelectedRows, type: "tertiary", size: "medium", iconProps: { alignment: 'left', Component: IconDismiss }, dataTestId: dataTestId ? `${dataTestId}-clear-selected` : '' }), submitButtons === null || submitButtons === void 0 ? void 0 : submitButtons.map(({ buttonText, isLoading, onClick, iconProps }, i) => (_jsx(Button, { iconProps: iconProps || { alignment: 'left', Component: IconCheckmark }, onClick: (event) => {
|
|
69
69
|
onClick(event, state, onClearSelectedRows);
|
|
70
|
-
}, buttonText: buttonText || 'Submit', type: "secondary", size: "medium", className: "mr-8", isLoading: isLoading,
|
|
70
|
+
}, buttonText: buttonText || 'Submit', type: "secondary", size: "medium", className: "mr-8", isLoading: isLoading, dataTestId: dataTestId ? `${dataTestId}-submit-${i}` : '' })))] })), _jsx("div", { onScroll: dispatchScrollEvent, className: classNames('table-wrapper scrollbar scrollbar--horizontal scrollbar--vertical', className, { 'table-row-clickable': !!handleRowClick }), style: { maxHeight: fixedHeader === null || fixedHeader === void 0 ? void 0 : fixedHeader.y }, children: _jsxs("table", Object.assign({}, getTableProps(), { ref: tableRef, children: [_jsx("thead", { children: headerGroups.map((headerGroup, i) => (_jsx(Header, { withSelect: withSelect, fixedHeader: Boolean(fixedHeader), headerGroup: headerGroup, tableWidth: tableWidth, uniqueKey: uniqueKey, dataTestId: dataTestId }, `table_head_${uniqueKey}_${i}`))) }), _jsx("tbody", Object.assign({}, getTableBodyProps(), { children: rows.map((row) => {
|
|
71
71
|
prepareRow(row);
|
|
72
|
-
return (_jsx(Row, { handleRowClick: handleRowClick, withSelect: withSelect, selectedFlatRows: selectedFlatRows, row: row, uniqueKey: uniqueKey,
|
|
72
|
+
return (_jsx(Row, { handleRowClick: handleRowClick, withSelect: withSelect, selectedFlatRows: selectedFlatRows, row: row, uniqueKey: uniqueKey, dataTestId: dataTestId }, `table_row_${uniqueKey}_${row.id}`));
|
|
73
73
|
}) }))] })) })] }));
|
|
74
74
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
1
2
|
import { Column, TableState } from 'react-table';
|
|
2
3
|
import { TButtonPropTypes } from '../Button/types';
|
|
3
4
|
type Enumerate<N extends number, Acc extends number[] = []> = Acc['length'] extends N ? Acc[number] : Enumerate<N, [...Acc, Acc['length']]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Hooks } from 'react-table';
|
|
2
2
|
export declare const CHECKBOX_HEADER_ID = "selection";
|
|
3
3
|
export declare const CHECKBOX_DEFAULT_WIDTH = 48;
|
|
4
|
-
export declare function setSelectedRows(hooks: Hooks, withSelect: boolean,
|
|
4
|
+
export declare function setSelectedRows(hooks: Hooks, withSelect: boolean, dataTestId?: string): void;
|
|
5
5
|
export declare function calcColumnWidth(percent: number, tableWidth: number): number;
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { IndeterminateCheckbox } from './IndeterminateCheckbox';
|
|
3
3
|
export const CHECKBOX_HEADER_ID = 'selection';
|
|
4
4
|
export const CHECKBOX_DEFAULT_WIDTH = 48;
|
|
5
|
-
export function setSelectedRows(hooks, withSelect,
|
|
5
|
+
export function setSelectedRows(hooks, withSelect, dataTestId = '') {
|
|
6
6
|
if (withSelect) {
|
|
7
7
|
hooks.visibleColumns.push((columns) => [
|
|
8
8
|
{
|
|
@@ -15,7 +15,7 @@ export function setSelectedRows(hooks, withSelect, dataId = '') {
|
|
|
15
15
|
checked: allSelected,
|
|
16
16
|
indeterminate: !allSelected && someSelected,
|
|
17
17
|
disabled: allEnabledRows.length === 0
|
|
18
|
-
}), {
|
|
18
|
+
}), { dataTestId: dataTestId ? `${dataTestId}-select-all` : '', onChange: (e) => {
|
|
19
19
|
const checked = e.target.checked;
|
|
20
20
|
allEnabledRows.forEach((row) => {
|
|
21
21
|
toggleRowSelected(row.id, checked);
|
|
@@ -26,7 +26,7 @@ export function setSelectedRows(hooks, withSelect, dataId = '') {
|
|
|
26
26
|
const disabled = 'enableSelection' in row.original ? !row.original.enableSelection : false;
|
|
27
27
|
return (_jsx(IndeterminateCheckbox, Object.assign({}, row.getToggleRowSelectedProps({
|
|
28
28
|
disabled
|
|
29
|
-
}), {
|
|
29
|
+
}), { dataTestId: dataTestId ? `${dataTestId}-row-${row.index}-select` : '' })));
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
...columns
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
1
2
|
import type { Table } from '@tanstack/react-table';
|
|
2
3
|
interface PaginationProps<T> extends IBaseProps {
|
|
3
4
|
table: Table<T>;
|
|
4
5
|
totalCount: number;
|
|
5
6
|
buttonText?: string;
|
|
6
7
|
}
|
|
7
|
-
export declare function AdvancedPagination<TData>({ table, totalCount, buttonText,
|
|
8
|
+
export declare function AdvancedPagination<TData>({ table, totalCount, buttonText, dataTestId }: PaginationProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -11,7 +11,7 @@ import IconChevronRight from '../SVGIcons/IconChevronRight';
|
|
|
11
11
|
import IconChevronDoubleLeft from '../SVGIcons/IconChevronDoubleLeft';
|
|
12
12
|
import IconChevronDoubleRight from '../SVGIcons/IconChevronDoubleRight';
|
|
13
13
|
import IconMore from '../SVGIcons/IconMore';
|
|
14
|
-
export function AdvancedPagination({ table, totalCount, buttonText,
|
|
14
|
+
export function AdvancedPagination({ table, totalCount, buttonText, dataTestId = '' }) {
|
|
15
15
|
const [navigatePage, setNavigatePage] = useState('1');
|
|
16
16
|
const pageIndex = table.getState().pagination.pageIndex;
|
|
17
17
|
const pageSize = table.getState().pagination.pageSize;
|
|
@@ -56,7 +56,7 @@ export function AdvancedPagination({ table, totalCount, buttonText, dataId = ''
|
|
|
56
56
|
setNavigatePage('1');
|
|
57
57
|
}
|
|
58
58
|
}, [table.getPageCount(), table.getState().pagination]);
|
|
59
|
-
return (_jsxs("div", { className: "advanced-table__pagination", "data-id":
|
|
59
|
+
return (_jsxs("div", { className: "advanced-table__pagination", "data-test-id": dataTestId, children: [_jsx(Select, { setSelectedItem: (value) => onRowCountChange(value), selectedItem: `${pageSize}`, className: 'no-border', options: OPTIONS, dataTestId: dataTestId ? `${dataTestId}-page-size` : '' }), _jsxs("div", { className: 'advanced-table__pagination__right', children: [_jsxs(Text, { type: 'tertiary', children: [pageIndex * pageSize + 1, " - ", (pageIndex + 1) * pageSize, " / ", totalCount] }), _jsxs("div", { className: "flexbox align-items--center", children: [_jsx(Input, { currentValue: navigatePage, size: "small", onChange: (e) => onNavigateToPage(e.target.value), className: "advanced-table__pagination__right__input mr-8", dataTestId: dataTestId ? `${dataTestId}-page-input` : '' }), _jsx(Button, { onClick: onGoToPage, type: "secondary", size: "medium", buttonText: buttonText !== null && buttonText !== void 0 ? buttonText : 'Go to page', dataTestId: dataTestId ? `${dataTestId}-goto` : '' })] }), _jsxs("ul", { className: "pagination", "data-test-id": dataTestId ? `${dataTestId}-pagination` : '', children: [_jsx("li", { className: `previous ${!table.getCanPreviousPage() ? 'disabled' : ''}`, children: _jsx("a", { rel: 'prev', role: 'button', onClick: () => table.firstPage(), "data-test-id": dataTestId ? `${dataTestId}-first` : '', children: _jsx(IconChevronDoubleLeft, { size: 'small' }) }) }), _jsx("li", { className: `previous ${!table.getCanPreviousPage() ? 'disabled' : ''}`, children: _jsx("a", { rel: 'prev', role: 'button', onClick: () => table.previousPage(), "data-test-id": dataTestId ? `${dataTestId}-prev` : '', children: _jsx(IconChevronLeft, { size: 'small' }) }) }), getVisiblePageNumbers().map((pageNumber, index) => pageNumber === '---' ? (_jsx("li", { className: 'pagination__more', children: _jsx("a", { role: 'button', onClick: () => table.setPageIndex(+pageIndex - 3), "data-test-id": dataTestId ? `${dataTestId}-ellipsis-prev` : '', children: _jsx(IconMore, { size: 'small' }) }) }, `ellipsis-${index}`)) : pageNumber === '+++' ? (_jsx("li", { className: 'pagination__more', children: _jsx("a", { role: 'button', onClick: () => table.setPageIndex(+pageIndex + 3), "data-test-id": dataTestId ? `${dataTestId}-ellipsis-next` : '', children: _jsx(IconMore, { size: 'small' }) }) }, `ellipsis-${index}`)) : (_jsx("li", { className: classnames({
|
|
60
60
|
['active']: pageNumber === pageIndex + 1
|
|
61
|
-
}), children: _jsx("a", { role: 'button', onClick: () => table.setPageIndex(+pageNumber - 1), "data-id":
|
|
61
|
+
}), children: _jsx("a", { role: 'button', onClick: () => table.setPageIndex(+pageNumber - 1), "data-test-id": dataTestId ? `${dataTestId}-page-${pageNumber}` : '', children: pageNumber }) }, pageNumber))), _jsx("li", { className: `next ${!table.getCanNextPage() ? 'disabled' : ''}`, children: _jsx("a", { rel: 'next', role: 'button', onClick: () => table.nextPage(), "data-test-id": dataTestId ? `${dataTestId}-next` : '', children: _jsx(IconChevronRight, { size: 'small' }) }) }), _jsx("li", { className: `next ${!table.getCanNextPage() ? 'disabled' : ''}`, children: _jsx("a", { rel: 'next', role: 'button', onClick: () => table.lastPage(), "data-test-id": dataTestId ? `${dataTestId}-last` : '', children: _jsx(IconChevronDoubleRight, { size: 'small' }) }) })] })] })] }));
|
|
62
62
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
1
2
|
import type { CSSProperties } from 'react';
|
|
2
3
|
import type { Header } from '@tanstack/react-table';
|
|
3
4
|
interface DraggableColumnHeaderProps<TData> extends IBaseProps {
|
|
@@ -5,5 +6,5 @@ interface DraggableColumnHeaderProps<TData> extends IBaseProps {
|
|
|
5
6
|
isPinned?: boolean;
|
|
6
7
|
pinnedStyles: CSSProperties;
|
|
7
8
|
}
|
|
8
|
-
export declare function ColumnHeader<TData>({ header, pinnedStyles,
|
|
9
|
+
export declare function ColumnHeader<TData>({ header, pinnedStyles, dataTestId }: DraggableColumnHeaderProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -6,7 +6,7 @@ import IconArrowSort from '../SVGIcons/IconArrowSort';
|
|
|
6
6
|
import IconArrowUp from '../SVGIcons/IconArrowUp';
|
|
7
7
|
import { Text } from '../Text';
|
|
8
8
|
import classnames from 'classnames';
|
|
9
|
-
export function ColumnHeader({ header, pinnedStyles,
|
|
9
|
+
export function ColumnHeader({ header, pinnedStyles, dataTestId = '' }) {
|
|
10
10
|
const { attributes, listeners, setNodeRef, transform, transition, isDragging } = useSortable({
|
|
11
11
|
id: header.id
|
|
12
12
|
});
|
|
@@ -23,10 +23,10 @@ export function ColumnHeader({ header, pinnedStyles, dataId = '' }) {
|
|
|
23
23
|
position: 'relative',
|
|
24
24
|
zIndex: isDragging ? 1 : 0
|
|
25
25
|
};
|
|
26
|
-
return (_jsxs("th", Object.assign({ ref: setNodeRef, "data-id":
|
|
26
|
+
return (_jsxs("th", Object.assign({ ref: setNodeRef, "data-test-id": dataTestId ? `${dataTestId}-header-${header.column.id}` : '', style: Object.assign(Object.assign({}, style), pinnedStyles), className: classnames('select-none', {
|
|
27
27
|
['with-checkbox']: header.column.id === 'select',
|
|
28
28
|
['actions-header']: header.column.id === 'actions',
|
|
29
29
|
['cursor-pointer']: header.column.getCanSort()
|
|
30
|
-
}) }, attributes, { children: [_jsxs("div", { onClick: header.column.getToggleSortingHandler(), "data-id":
|
|
30
|
+
}) }, attributes, { children: [_jsxs("div", { onClick: header.column.getToggleSortingHandler(), "data-test-id": dataTestId ? `${dataTestId}-sort-${header.column.id}` : '', className: "flexbox align-items--center", children: [_jsx("div", Object.assign({}, listeners, { children: _jsx(Text, { className: "text-left", weight: 'bold', children: flexRender(header.column.columnDef.header, header.getContext()) }) })), _jsx("span", { className: "ml-4", children: header.column.getCanSort() &&
|
|
31
31
|
(header.column.getIsSorted() === 'asc' ? (_jsx(IconArrowUp, { size: "xsmall" })) : header.column.getIsSorted() === 'desc' ? (_jsx(IconArrowDown, { size: "xsmall" })) : (_jsx(IconArrowSort, { size: "xsmall" }))) })] }), _jsx("div", { onMouseDown: header.getResizeHandler(), onTouchStart: header.getResizeHandler(), className: "resize-icon select-none touch-none" })] })));
|
|
32
32
|
}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef, useEffect, useRef } from 'react';
|
|
3
3
|
import { Checkbox } from '../Checkbox';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
|
-
export const IndeterminateCheckbox = forwardRef(({ indeterminate, checked, onChange, disabled,
|
|
5
|
+
export const IndeterminateCheckbox = forwardRef(({ indeterminate, checked, onChange, disabled, dataTestId = '' }, ref) => {
|
|
6
6
|
const defaultRef = useRef(null);
|
|
7
7
|
const resolvedRef = ref !== null && ref !== void 0 ? ref : defaultRef;
|
|
8
8
|
useEffect(() => {
|
|
@@ -11,6 +11,6 @@ export const IndeterminateCheckbox = forwardRef(({ indeterminate, checked, onCha
|
|
|
11
11
|
const handleChange = (v) => {
|
|
12
12
|
onChange({ target: { checked: v } });
|
|
13
13
|
};
|
|
14
|
-
return (_jsx("div", { className: 'actions-list', children: _jsx(Checkbox, { className: classNames('actions-list__checkbox', { 'active-checkbox': checked }), value: checked, disabled: disabled, onClick: handleChange, ref: resolvedRef,
|
|
14
|
+
return (_jsx("div", { className: 'actions-list', children: _jsx(Checkbox, { className: classNames('actions-list__checkbox', { 'active-checkbox': checked }), value: checked, disabled: disabled, onClick: handleChange, ref: resolvedRef, dataTestId: dataTestId }) }));
|
|
15
15
|
});
|
|
16
16
|
IndeterminateCheckbox.displayName = 'IndeterminateCheckbox';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { TTableProps } from './types';
|
|
2
2
|
import 'react-loading-skeleton/dist/skeleton.css';
|
|
3
|
-
export declare function Table<TData>({ data,
|
|
3
|
+
export declare function Table<TData>({ data, dataTestId, columns, isLoading, hasError, isActionsVisible, totalCount, emptyTitle, emptySubTitle, emptyIllustration, withSelect, withBorder, defaultPageIndex, defaultPageSize, defaultHiddenColumns, collapsibleRows, renderExpandedContent, renderHeader, renderFooter, onSortChange, onRowClick, tableSettings, onRowSelection, onColumnSizing, onPaginationChange }: TTableProps<TData>): import("react/jsx-runtime").JSX.Element;
|