hrm_ui_lib 2.1.0-alpha.19 → 2.1.0-alpha.21
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/assets/styles/styles.css +1 -1
- package/components/Alert/Alert.js +6 -6
- package/components/Alert/types.d.ts +1 -0
- package/components/Avatar/Avatar.d.ts +1 -1
- package/components/Avatar/Avatar.js +1 -1
- package/components/Avatar/AvatarGroup.d.ts +1 -1
- package/components/Avatar/AvatarGroup.js +2 -2
- package/components/Avatar/types.d.ts +2 -3
- package/components/Badge/Badge.js +2 -2
- package/components/Badge/types.d.ts +1 -0
- package/components/BadgeV2/BadgeV2.js +1 -1
- package/components/BadgeV2/types.d.ts +1 -1
- package/components/Breadcrumb/Breadcrumb.js +2 -2
- package/components/Breadcrumb/types.d.ts +1 -0
- package/components/Button/Button.js +2 -2
- package/components/Button/types.d.ts +2 -3
- package/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/components/ButtonGroup/ButtonGroup.js +2 -2
- package/components/ButtonGroup/ButtonGroupItem.d.ts +1 -1
- package/components/ButtonGroup/ButtonGroupItem.js +3 -3
- package/components/ButtonGroup/types.d.ts +2 -2
- package/components/Card/CardComponent/Card.js +3 -3
- package/components/Card/types.d.ts +2 -2
- package/components/CardGroup/CardGroupComponent/CardGroup.js +2 -2
- package/components/CardGroup/types.d.ts +2 -2
- package/components/Checkbox/Checkbox.js +6 -6
- package/components/Checkbox/types.d.ts +1 -0
- package/components/Chips/Chips.js +2 -2
- package/components/Chips/types.d.ts +1 -2
- package/components/Collapse/Collapse/Collapse.js +4 -4
- package/components/Collapse/Collapse/Title.d.ts +2 -2
- package/components/Collapse/Collapse/Title.js +1 -1
- package/components/Collapse/CollapseGroup/CollapseGroup.js +2 -2
- package/components/Collapse/CollapseItem/CollapseItem.js +3 -3
- package/components/Collapse/types.d.ts +4 -6
- package/components/Container/Container.js +2 -2
- package/components/Container/types.d.ts +2 -1
- package/components/Copy/Copy.d.ts +1 -1
- package/components/Copy/Copy.js +2 -2
- package/components/Copy/types.d.ts +2 -2
- package/components/Counter/Counter.js +2 -2
- package/components/Counter/types.d.ts +1 -0
- package/components/DarkModeSwitcher/DarkModeSwitcher.d.ts +3 -4
- package/components/DarkModeSwitcher/DarkModeSwitcher.js +5 -5
- package/components/DarkModeSwitcher/types.d.ts +1 -0
- package/components/DatePicker/CustomHeader/CustomHeader.js +5 -5
- package/components/DatePicker/RangeDatePicker/RangeDatePickerDesktop.js +2 -2
- package/components/DatePicker/RangeDatePicker/RangeDatePickerMobile.js +5 -5
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerDesktop.js +3 -3
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerMobile.js +4 -4
- package/components/DatePicker/TimePicker/TimePickerDesktop.js +3 -3
- package/components/DatePicker/TimePicker/TimePickerMobile.js +3 -3
- package/components/DatePicker/types.d.ts +3 -3
- package/components/Divider/Divider.js +2 -2
- package/components/Divider/types.d.ts +2 -1
- package/components/Empty/Empty.js +4 -4
- package/components/Empty/types.d.ts +2 -1
- package/components/FileUpload/DropzoneFileUpload/DropzoneFileUpload.js +7 -7
- package/components/FileUpload/DropzoneFileUpload/ErrorItem.d.ts +2 -1
- package/components/FileUpload/DropzoneFileUpload/ErrorItem.js +1 -1
- package/components/FileUpload/DropzoneFileUpload/PreviewItem.d.ts +2 -1
- package/components/FileUpload/DropzoneFileUpload/PreviewItem.js +7 -7
- package/components/FileUpload/FileUpload.js +6 -6
- package/components/FileUpload/UploadItems.js +5 -5
- package/components/FileUpload/types.d.ts +5 -2
- package/components/FormContainer/FormContainer.js +1 -1
- package/components/FormContainer/types.d.ts +2 -1
- package/components/FormField/FormField.js +3 -3
- package/components/FormField/types.d.ts +2 -2
- package/components/Heading/Heading.js +2 -2
- package/components/Heading/types.d.ts +2 -2
- package/components/Image/Image.js +1 -1
- package/components/Image/types.d.ts +2 -1
- package/components/Input/Input.js +8 -8
- package/components/Input/types.d.ts +2 -1
- package/components/LineChart/LineChart.d.ts +3 -0
- package/components/LineChart/LineChart.js +9 -0
- package/components/LineChart/helper.d.ts +3 -0
- package/components/LineChart/helper.js +1 -0
- package/components/LineChart/index.d.ts +2 -0
- package/components/LineChart/index.js +1 -0
- package/components/LineChart/types.d.ts +15 -0
- package/components/Link/Link.js +2 -2
- package/components/Link/types.d.ts +2 -2
- package/components/Menu/Menu.js +1 -1
- package/components/Menu/NestedMenu.js +1 -1
- package/components/Menu/types.d.ts +2 -2
- package/components/Modal/ModalConfirmation.d.ts +1 -1
- package/components/Modal/ModalConfirmation.js +4 -4
- package/components/Modal/ModalContent.d.ts +7 -4
- package/components/Modal/ModalContent.js +7 -5
- package/components/Modal/types.d.ts +5 -2
- package/components/More/More.js +3 -3
- package/components/More/types.d.ts +2 -1
- package/components/MultiSelectV2/MultiSelectV2.d.ts +3 -0
- package/components/MultiSelectV2/MultiSelectV2.js +11 -0
- package/components/MultiSelectV2/index.d.ts +1 -0
- package/components/MultiSelectV2/index.js +1 -0
- package/components/MultiSelectV2/types.d.ts +30 -0
- package/components/MultiSelectV2/types.js +0 -0
- package/components/Pagination/Pagination.js +2 -2
- package/components/Pagination/types.d.ts +2 -1
- package/components/Popover/PopoverDesktop.js +1 -1
- package/components/Popover/PopoverMobile.js +2 -2
- package/components/Popover/types.d.ts +1 -0
- package/components/Progress/Progress.js +4 -4
- package/components/Progress/types.d.ts +2 -1
- package/components/ProgressStep/ProgressStep.js +2 -2
- package/components/ProgressStep/Step.js +9 -9
- package/components/ProgressStep/types.d.ts +3 -2
- package/components/Radio/Radio.js +4 -4
- package/components/Radio/RadioGroup.js +1 -1
- package/components/Radio/types.d.ts +3 -3
- package/components/SVGIcons/IconAdd.d.ts +1 -1
- package/components/SVGIcons/IconAdd.js +1 -1
- package/components/SVGIcons/IconAddCircle.d.ts +1 -1
- package/components/SVGIcons/IconAddCircle.js +1 -1
- package/components/SVGIcons/IconAddCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconAddCircleFilled.js +1 -1
- package/components/SVGIcons/IconAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconAddFilled.js +1 -1
- package/components/SVGIcons/IconAirplaneTakeOff.d.ts +1 -1
- package/components/SVGIcons/IconAirplaneTakeOff.js +1 -1
- package/components/SVGIcons/IconAirplaneTakeOffFilled.d.ts +1 -1
- package/components/SVGIcons/IconAirplaneTakeOffFilled.js +1 -1
- package/components/SVGIcons/IconAlert.d.ts +1 -1
- package/components/SVGIcons/IconAlert.js +1 -1
- package/components/SVGIcons/IconAlertBadge.d.ts +1 -1
- package/components/SVGIcons/IconAlertBadge.js +1 -1
- package/components/SVGIcons/IconAlertBadgeFilled.d.ts +1 -1
- package/components/SVGIcons/IconAlertBadgeFilled.js +1 -1
- package/components/SVGIcons/IconAlertFilled.d.ts +1 -1
- package/components/SVGIcons/IconAlertFilled.js +1 -1
- package/components/SVGIcons/IconAm.d.ts +1 -1
- package/components/SVGIcons/IconAm.js +1 -1
- package/components/SVGIcons/IconAmd.d.ts +1 -1
- package/components/SVGIcons/IconAmd.js +1 -1
- package/components/SVGIcons/IconAmdFilled.d.ts +1 -1
- package/components/SVGIcons/IconAmdFilled.js +1 -1
- package/components/SVGIcons/IconApple.d.ts +1 -1
- package/components/SVGIcons/IconApple.js +1 -1
- package/components/SVGIcons/IconArrowDown.d.ts +1 -1
- package/components/SVGIcons/IconArrowDown.js +1 -1
- package/components/SVGIcons/IconArrowDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownFilled.js +1 -1
- package/components/SVGIcons/IconArrowDownLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownLeft.js +1 -1
- package/components/SVGIcons/IconArrowDownLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownLeftFilled.js +1 -1
- package/components/SVGIcons/IconArrowDownload.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownload.js +1 -1
- package/components/SVGIcons/IconArrowDownloadFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownloadFilled.js +1 -1
- package/components/SVGIcons/IconArrowEnter.d.ts +1 -1
- package/components/SVGIcons/IconArrowEnter.js +1 -1
- package/components/SVGIcons/IconArrowEnterFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowEnterFilled.js +1 -1
- package/components/SVGIcons/IconArrowExit.d.ts +1 -1
- package/components/SVGIcons/IconArrowExit.js +1 -1
- package/components/SVGIcons/IconArrowExitFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExitFilled.js +1 -1
- package/components/SVGIcons/IconArrowExportLeftToRight.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportLeftToRight.js +1 -1
- package/components/SVGIcons/IconArrowExportLeftToRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportLeftToRightFilled.js +1 -1
- package/components/SVGIcons/IconArrowExportRightToLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportRightToLeft.js +1 -1
- package/components/SVGIcons/IconArrowExportRightToLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportRightToLeftFilled.js +1 -1
- package/components/SVGIcons/IconArrowExportUp.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportUp.js +1 -1
- package/components/SVGIcons/IconArrowExportUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportUpFilled.js +1 -1
- package/components/SVGIcons/IconArrowImport.d.ts +1 -1
- package/components/SVGIcons/IconArrowImport.js +1 -1
- package/components/SVGIcons/IconArrowImportFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowImportFilled.js +1 -1
- package/components/SVGIcons/IconArrowLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowLeft.js +1 -1
- package/components/SVGIcons/IconArrowLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowLeftFilled.js +1 -1
- package/components/SVGIcons/IconArrowRepeatAll.d.ts +1 -1
- package/components/SVGIcons/IconArrowRepeatAll.js +1 -1
- package/components/SVGIcons/IconArrowRepeatAllFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowRepeatAllFilled.js +1 -1
- package/components/SVGIcons/IconArrowReset.d.ts +1 -1
- package/components/SVGIcons/IconArrowReset.js +1 -1
- package/components/SVGIcons/IconArrowResetFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowResetFilled.js +1 -1
- package/components/SVGIcons/IconArrowRight.d.ts +1 -1
- package/components/SVGIcons/IconArrowRight.js +1 -1
- package/components/SVGIcons/IconArrowRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowRightFilled.js +1 -1
- package/components/SVGIcons/IconArrowSort.d.ts +1 -1
- package/components/SVGIcons/IconArrowSort.js +1 -1
- package/components/SVGIcons/IconArrowSortFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowSortFilled.js +1 -1
- package/components/SVGIcons/IconArrowSync.d.ts +1 -1
- package/components/SVGIcons/IconArrowSync.js +1 -1
- package/components/SVGIcons/IconArrowSyncFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowSyncFilled.js +1 -1
- package/components/SVGIcons/IconArrowUp.d.ts +1 -1
- package/components/SVGIcons/IconArrowUp.js +1 -1
- package/components/SVGIcons/IconArrowUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpFilled.js +1 -1
- package/components/SVGIcons/IconArrowUpLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpLeft.js +1 -1
- package/components/SVGIcons/IconArrowUpLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpLeftFilled.js +1 -1
- package/components/SVGIcons/IconArrowUpRight.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpRight.js +1 -1
- package/components/SVGIcons/IconArrowUpRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpRightFilled.js +1 -1
- package/components/SVGIcons/IconAttach.d.ts +1 -1
- package/components/SVGIcons/IconAttach.js +1 -1
- package/components/SVGIcons/IconAttachFilled.d.ts +1 -1
- package/components/SVGIcons/IconAttachFilled.js +1 -1
- package/components/SVGIcons/IconBeach.d.ts +1 -1
- package/components/SVGIcons/IconBeach.js +1 -1
- package/components/SVGIcons/IconBeachFilled.d.ts +1 -1
- package/components/SVGIcons/IconBeachFilled.js +1 -1
- package/components/SVGIcons/IconBedDouble.d.ts +4 -0
- package/components/SVGIcons/IconBedDouble.js +5 -0
- package/components/SVGIcons/IconBook.d.ts +1 -1
- package/components/SVGIcons/IconBook.js +1 -1
- package/components/SVGIcons/IconBookFilled.d.ts +1 -1
- package/components/SVGIcons/IconBookFilled.js +1 -1
- package/components/SVGIcons/IconBookmark.d.ts +1 -1
- package/components/SVGIcons/IconBookmark.js +1 -1
- package/components/SVGIcons/IconBookmarkFilled.d.ts +1 -1
- package/components/SVGIcons/IconBookmarkFilled.js +1 -1
- package/components/SVGIcons/IconBriefcase.d.ts +1 -1
- package/components/SVGIcons/IconBriefcase.js +1 -1
- package/components/SVGIcons/IconBriefcaseFilled.d.ts +1 -1
- package/components/SVGIcons/IconBriefcaseFilled.js +1 -1
- package/components/SVGIcons/IconBudgetTransfer.d.ts +1 -1
- package/components/SVGIcons/IconBudgetTransfer.js +1 -1
- package/components/SVGIcons/IconBuilding.d.ts +1 -1
- package/components/SVGIcons/IconBuilding.js +1 -1
- package/components/SVGIcons/IconBuildingBank.d.ts +1 -1
- package/components/SVGIcons/IconBuildingBank.js +1 -1
- package/components/SVGIcons/IconBuildingBankFilled.d.ts +1 -1
- package/components/SVGIcons/IconBuildingBankFilled.js +1 -1
- package/components/SVGIcons/IconBuildingFilled.d.ts +1 -1
- package/components/SVGIcons/IconBuildingFilled.js +1 -1
- package/components/SVGIcons/IconBulletListAdd.d.ts +1 -1
- package/components/SVGIcons/IconBulletListAdd.js +1 -1
- package/components/SVGIcons/IconBulletListAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconBulletListAddFilled.js +1 -1
- package/components/SVGIcons/IconCalculator.d.ts +1 -1
- package/components/SVGIcons/IconCalculator.js +1 -1
- package/components/SVGIcons/IconCalculatorFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalculatorFilled.js +1 -1
- package/components/SVGIcons/IconCalendarClock.d.ts +1 -1
- package/components/SVGIcons/IconCalendarClock.js +1 -1
- package/components/SVGIcons/IconCalendarClockFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarClockFilled.js +1 -1
- package/components/SVGIcons/IconCalendarDay.d.ts +1 -1
- package/components/SVGIcons/IconCalendarDay.js +1 -1
- package/components/SVGIcons/IconCalendarDayFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarDayFilled.js +1 -1
- package/components/SVGIcons/IconCalendarDays.d.ts +4 -0
- package/components/SVGIcons/IconCalendarDays.js +11 -0
- package/components/SVGIcons/IconCalendarEmpty.d.ts +1 -1
- package/components/SVGIcons/IconCalendarEmpty.js +1 -1
- package/components/SVGIcons/IconCalendarLeft.d.ts +1 -1
- package/components/SVGIcons/IconCalendarLeft.js +1 -1
- package/components/SVGIcons/IconCalendarLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarLeftFilled.js +1 -1
- package/components/SVGIcons/IconCalendarRight.d.ts +1 -1
- package/components/SVGIcons/IconCalendarRight.js +1 -1
- package/components/SVGIcons/IconCalendarRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarRightFilled.js +1 -1
- package/components/SVGIcons/IconCall.d.ts +1 -1
- package/components/SVGIcons/IconCall.js +1 -1
- package/components/SVGIcons/IconCallFilled.d.ts +1 -1
- package/components/SVGIcons/IconCallFilled.js +1 -1
- package/components/SVGIcons/IconCar.d.ts +4 -0
- package/components/SVGIcons/IconCar.js +5 -0
- package/components/SVGIcons/IconCard.d.ts +1 -1
- package/components/SVGIcons/IconCard.js +1 -1
- package/components/SVGIcons/IconCardFilled.d.ts +1 -1
- package/components/SVGIcons/IconCardFilled.js +1 -1
- package/components/SVGIcons/IconCaretDown.d.ts +1 -1
- package/components/SVGIcons/IconCaretDown.js +1 -1
- package/components/SVGIcons/IconCaretDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretDownFilled.js +1 -1
- package/components/SVGIcons/IconCaretDownRight.d.ts +1 -1
- package/components/SVGIcons/IconCaretDownRight.js +1 -1
- package/components/SVGIcons/IconCaretDownRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretDownRightFilled.js +1 -1
- package/components/SVGIcons/IconCaretLeft.d.ts +1 -1
- package/components/SVGIcons/IconCaretLeft.js +1 -1
- package/components/SVGIcons/IconCaretLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretLeftFilled.js +1 -1
- package/components/SVGIcons/IconCaretRight.d.ts +1 -1
- package/components/SVGIcons/IconCaretRight.js +1 -1
- package/components/SVGIcons/IconCaretRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretRightFilled.js +1 -1
- package/components/SVGIcons/IconCaretUp.d.ts +1 -1
- package/components/SVGIcons/IconCaretUp.js +1 -1
- package/components/SVGIcons/IconCaretUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretUpFilled.js +1 -1
- package/components/SVGIcons/IconChartPerson.d.ts +1 -1
- package/components/SVGIcons/IconChartPerson.js +1 -1
- package/components/SVGIcons/IconChartPersonFilled.d.ts +1 -1
- package/components/SVGIcons/IconChartPersonFilled.js +1 -1
- package/components/SVGIcons/IconChat.d.ts +1 -1
- package/components/SVGIcons/IconChat.js +1 -1
- package/components/SVGIcons/IconChatFilled.d.ts +1 -1
- package/components/SVGIcons/IconChatFilled.js +1 -1
- package/components/SVGIcons/IconChatMultiple.d.ts +1 -1
- package/components/SVGIcons/IconChatMultiple.js +1 -1
- package/components/SVGIcons/IconChatMultipleFilled.d.ts +1 -1
- package/components/SVGIcons/IconChatMultipleFilled.js +1 -1
- package/components/SVGIcons/IconCheckboxArrowRight.d.ts +1 -1
- package/components/SVGIcons/IconCheckboxArrowRight.js +1 -1
- package/components/SVGIcons/IconCheckboxArrowRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCheckboxArrowRightFilled.js +1 -1
- package/components/SVGIcons/IconCheckmark.d.ts +1 -1
- package/components/SVGIcons/IconCheckmark.js +1 -1
- package/components/SVGIcons/IconCheckmarkCircle.d.ts +1 -1
- package/components/SVGIcons/IconCheckmarkCircle.js +1 -1
- package/components/SVGIcons/IconCheckmarkCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconCheckmarkCircleFilled.js +1 -1
- package/components/SVGIcons/IconCheckmarkFilled.d.ts +1 -1
- package/components/SVGIcons/IconCheckmarkFilled.js +1 -1
- package/components/SVGIcons/IconChevronDoubleLeft.d.ts +1 -1
- package/components/SVGIcons/IconChevronDoubleLeft.js +1 -1
- package/components/SVGIcons/IconChevronDoubleRight.d.ts +1 -1
- package/components/SVGIcons/IconChevronDoubleRight.js +1 -1
- package/components/SVGIcons/IconChevronDown.d.ts +1 -1
- package/components/SVGIcons/IconChevronDown.js +1 -1
- package/components/SVGIcons/IconChevronDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronDownFilled.js +1 -1
- package/components/SVGIcons/IconChevronLeft.d.ts +1 -1
- package/components/SVGIcons/IconChevronLeft.js +1 -1
- package/components/SVGIcons/IconChevronLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronLeftFilled.js +1 -1
- package/components/SVGIcons/IconChevronRight.d.ts +1 -1
- package/components/SVGIcons/IconChevronRight.js +1 -1
- package/components/SVGIcons/IconChevronRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronRightFilled.js +1 -1
- package/components/SVGIcons/IconChevronUp.d.ts +1 -1
- package/components/SVGIcons/IconChevronUp.js +1 -1
- package/components/SVGIcons/IconChevronUpDown.d.ts +1 -1
- package/components/SVGIcons/IconChevronUpDown.js +1 -1
- package/components/SVGIcons/IconChevronUpDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronUpDownFilled.js +1 -1
- package/components/SVGIcons/IconChevronUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronUpFilled.js +1 -1
- package/components/SVGIcons/IconClipboardDay.d.ts +1 -1
- package/components/SVGIcons/IconClipboardDay.js +1 -1
- package/components/SVGIcons/IconClock.d.ts +1 -1
- package/components/SVGIcons/IconClock.js +1 -1
- package/components/SVGIcons/IconClockDismiss.d.ts +1 -1
- package/components/SVGIcons/IconClockDismiss.js +1 -1
- package/components/SVGIcons/IconClockDismissFilled.d.ts +1 -1
- package/components/SVGIcons/IconClockDismissFilled.js +1 -1
- package/components/SVGIcons/IconClockFilled.d.ts +1 -1
- package/components/SVGIcons/IconClockFilled.js +1 -1
- package/components/SVGIcons/IconCode.d.ts +4 -0
- package/components/SVGIcons/IconCode.js +4 -0
- package/components/SVGIcons/IconCoins.d.ts +4 -0
- package/components/SVGIcons/IconCoins.js +5 -0
- package/components/SVGIcons/IconComment.d.ts +1 -1
- package/components/SVGIcons/IconComment.js +1 -1
- package/components/SVGIcons/IconCommentFilled.d.ts +1 -1
- package/components/SVGIcons/IconCommentFilled.js +1 -1
- package/components/SVGIcons/IconContractCard.d.ts +1 -1
- package/components/SVGIcons/IconContractCard.js +1 -1
- package/components/SVGIcons/IconContractCardFilled.d.ts +1 -1
- package/components/SVGIcons/IconContractCardFilled.js +1 -1
- package/components/SVGIcons/IconCopy.d.ts +1 -1
- package/components/SVGIcons/IconCopy.js +1 -1
- package/components/SVGIcons/IconCopyFilled.d.ts +1 -1
- package/components/SVGIcons/IconCopyFilled.js +1 -1
- package/components/SVGIcons/IconCubeTree.d.ts +1 -1
- package/components/SVGIcons/IconCubeTree.js +1 -1
- package/components/SVGIcons/IconCubeTreeFilled.d.ts +1 -1
- package/components/SVGIcons/IconCubeTreeFilled.js +1 -1
- package/components/SVGIcons/IconDatabase.d.ts +1 -1
- package/components/SVGIcons/IconDatabase.js +1 -1
- package/components/SVGIcons/IconDatabaseFilled.d.ts +1 -1
- package/components/SVGIcons/IconDatabaseFilled.js +1 -1
- package/components/SVGIcons/IconDelete.d.ts +1 -1
- package/components/SVGIcons/IconDelete.js +1 -1
- package/components/SVGIcons/IconDeleteFilled.d.ts +1 -1
- package/components/SVGIcons/IconDeleteFilled.js +1 -1
- package/components/SVGIcons/IconDeviceMeetingRoom.d.ts +1 -1
- package/components/SVGIcons/IconDeviceMeetingRoom.js +1 -1
- package/components/SVGIcons/IconDeviceMeetingRoomFilled.d.ts +1 -1
- package/components/SVGIcons/IconDeviceMeetingRoomFilled.js +1 -1
- package/components/SVGIcons/IconDismiss.d.ts +1 -1
- package/components/SVGIcons/IconDismiss.js +1 -1
- package/components/SVGIcons/IconDismissCircle.d.ts +1 -1
- package/components/SVGIcons/IconDismissCircle.js +1 -1
- package/components/SVGIcons/IconDismissCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconDismissCircleFilled.js +1 -1
- package/components/SVGIcons/IconDismissFilled.d.ts +1 -1
- package/components/SVGIcons/IconDismissFilled.js +1 -1
- package/components/SVGIcons/IconDocument.d.ts +1 -1
- package/components/SVGIcons/IconDocument.js +1 -1
- package/components/SVGIcons/IconDocumentBulletList.d.ts +1 -1
- package/components/SVGIcons/IconDocumentBulletList.js +1 -1
- package/components/SVGIcons/IconDocumentBulletListFilled.d.ts +1 -1
- package/components/SVGIcons/IconDocumentBulletListFilled.js +1 -1
- package/components/SVGIcons/IconDocumentEdit.d.ts +1 -1
- package/components/SVGIcons/IconDocumentEdit.js +1 -1
- package/components/SVGIcons/IconDocumentEditFilled.d.ts +1 -1
- package/components/SVGIcons/IconDocumentEditFilled.js +1 -1
- package/components/SVGIcons/IconDocumentFilled.d.ts +1 -1
- package/components/SVGIcons/IconDocumentFilled.js +1 -1
- package/components/SVGIcons/IconDocumentPerson.d.ts +1 -1
- package/components/SVGIcons/IconDocumentPerson.js +1 -1
- package/components/SVGIcons/IconDownload.d.ts +4 -0
- package/components/SVGIcons/IconDownload.js +4 -0
- package/components/SVGIcons/IconEdit.d.ts +1 -1
- package/components/SVGIcons/IconEdit.js +1 -1
- package/components/SVGIcons/IconEditFilled.d.ts +1 -1
- package/components/SVGIcons/IconEditFilled.js +1 -1
- package/components/SVGIcons/IconErrorCircle.d.ts +1 -1
- package/components/SVGIcons/IconErrorCircle.js +1 -1
- package/components/SVGIcons/IconErrorCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconErrorCircleFilled.js +1 -1
- package/components/SVGIcons/IconEur.d.ts +1 -1
- package/components/SVGIcons/IconEur.js +1 -1
- package/components/SVGIcons/IconEurFilled.d.ts +1 -1
- package/components/SVGIcons/IconEurFilled.js +1 -1
- package/components/SVGIcons/IconExpandUpLeft.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpLeft.js +1 -1
- package/components/SVGIcons/IconExpandUpLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpLeftFilled.js +1 -1
- package/components/SVGIcons/IconExpandUpRight.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpRight.js +1 -1
- package/components/SVGIcons/IconExpandUpRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpRightFilled.js +1 -1
- package/components/SVGIcons/IconEyeOff.d.ts +1 -1
- package/components/SVGIcons/IconEyeOff.js +1 -1
- package/components/SVGIcons/IconEyeOffFilled.d.ts +1 -1
- package/components/SVGIcons/IconEyeOffFilled.js +1 -1
- package/components/SVGIcons/IconEyeOn.d.ts +1 -1
- package/components/SVGIcons/IconEyeOn.js +1 -1
- package/components/SVGIcons/IconEyeOnFilled.d.ts +1 -1
- package/components/SVGIcons/IconEyeOnFilled.js +1 -1
- package/components/SVGIcons/IconFacebook.d.ts +1 -1
- package/components/SVGIcons/IconFacebook.js +1 -1
- package/components/SVGIcons/IconFastAcceleration.d.ts +1 -1
- package/components/SVGIcons/IconFastAcceleration.js +1 -1
- package/components/SVGIcons/IconFastAccelerationFilled.d.ts +1 -1
- package/components/SVGIcons/IconFastAccelerationFilled.js +1 -1
- package/components/SVGIcons/IconFeed.d.ts +1 -1
- package/components/SVGIcons/IconFeed.js +1 -1
- package/components/SVGIcons/IconFeedFilled.d.ts +1 -1
- package/components/SVGIcons/IconFeedFilled.js +1 -1
- package/components/SVGIcons/IconFilter.d.ts +1 -1
- package/components/SVGIcons/IconFilter.js +1 -1
- package/components/SVGIcons/IconFilterFilled.d.ts +1 -1
- package/components/SVGIcons/IconFilterFilled.js +1 -1
- package/components/SVGIcons/IconFlag.d.ts +1 -1
- package/components/SVGIcons/IconFlag.js +1 -1
- package/components/SVGIcons/IconFlagFilled.d.ts +1 -1
- package/components/SVGIcons/IconFlagFilled.js +1 -1
- package/components/SVGIcons/IconFolderLink.d.ts +1 -1
- package/components/SVGIcons/IconFolderLink.js +1 -1
- package/components/SVGIcons/IconFolderLinkFilled.d.ts +1 -1
- package/components/SVGIcons/IconFolderLinkFilled.js +1 -1
- package/components/SVGIcons/IconFood.d.ts +1 -1
- package/components/SVGIcons/IconFood.js +1 -1
- package/components/SVGIcons/IconFoodFilled.d.ts +1 -1
- package/components/SVGIcons/IconFoodFilled.js +1 -1
- package/components/SVGIcons/IconGb.d.ts +1 -1
- package/components/SVGIcons/IconGb.js +1 -1
- package/components/SVGIcons/IconGlobe.d.ts +1 -1
- package/components/SVGIcons/IconGlobe.js +1 -1
- package/components/SVGIcons/IconGlobeFilled.d.ts +1 -1
- package/components/SVGIcons/IconGlobeFilled.js +1 -1
- package/components/SVGIcons/IconGoogle.d.ts +1 -1
- package/components/SVGIcons/IconGoogle.js +1 -1
- package/components/SVGIcons/IconHandOpenHeart.d.ts +1 -1
- package/components/SVGIcons/IconHandOpenHeart.js +1 -1
- package/components/SVGIcons/IconHandOpenHeartFilled.d.ts +1 -1
- package/components/SVGIcons/IconHandOpenHeartFilled.js +1 -1
- package/components/SVGIcons/IconHeart.d.ts +1 -1
- package/components/SVGIcons/IconHeart.js +1 -1
- package/components/SVGIcons/IconHeartFilled.d.ts +1 -1
- package/components/SVGIcons/IconHeartFilled.js +1 -1
- package/components/SVGIcons/IconHistory.d.ts +1 -1
- package/components/SVGIcons/IconHistory.js +1 -1
- package/components/SVGIcons/IconHistoryFilled.d.ts +1 -1
- package/components/SVGIcons/IconHistoryFilled.js +1 -1
- package/components/SVGIcons/IconHome.d.ts +1 -1
- package/components/SVGIcons/IconHome.js +1 -1
- package/components/SVGIcons/IconHomeFilled.d.ts +1 -1
- package/components/SVGIcons/IconHomeFilled.js +1 -1
- package/components/SVGIcons/IconImage.d.ts +1 -1
- package/components/SVGIcons/IconImage.js +1 -1
- package/components/SVGIcons/IconImageFilled.d.ts +1 -1
- package/components/SVGIcons/IconImageFilled.js +1 -1
- package/components/SVGIcons/IconInfo.d.ts +1 -1
- package/components/SVGIcons/IconInfo.js +1 -1
- package/components/SVGIcons/IconInfoFilled.d.ts +1 -1
- package/components/SVGIcons/IconInfoFilled.js +1 -1
- package/components/SVGIcons/IconInstagram.d.ts +1 -1
- package/components/SVGIcons/IconInstagram.js +1 -1
- package/components/SVGIcons/IconKeyReset.d.ts +1 -1
- package/components/SVGIcons/IconKeyReset.js +1 -1
- package/components/SVGIcons/IconKeyResetFilled.d.ts +1 -1
- package/components/SVGIcons/IconKeyResetFilled.js +1 -1
- package/components/SVGIcons/IconLayers.d.ts +4 -0
- package/components/SVGIcons/IconLayers.js +4 -0
- package/components/SVGIcons/IconLayoutGrid.d.ts +4 -0
- package/components/SVGIcons/IconLayoutGrid.js +5 -0
- package/components/SVGIcons/IconLayoutList.d.ts +4 -0
- package/components/SVGIcons/IconLayoutList.js +3 -0
- package/components/SVGIcons/IconLibrary.d.ts +1 -1
- package/components/SVGIcons/IconLibrary.js +1 -1
- package/components/SVGIcons/IconLibraryFilled.d.ts +1 -1
- package/components/SVGIcons/IconLibraryFilled.js +1 -1
- package/components/SVGIcons/IconLink.d.ts +1 -1
- package/components/SVGIcons/IconLink.js +1 -1
- package/components/SVGIcons/IconLinkFilled.d.ts +1 -1
- package/components/SVGIcons/IconLinkFilled.js +1 -1
- package/components/SVGIcons/IconLinkedin.d.ts +1 -1
- package/components/SVGIcons/IconLinkedin.js +1 -1
- package/components/SVGIcons/IconList.d.ts +1 -1
- package/components/SVGIcons/IconList.js +1 -1
- package/components/SVGIcons/IconListFilled.d.ts +1 -1
- package/components/SVGIcons/IconListFilled.js +1 -1
- package/components/SVGIcons/IconLocation.d.ts +1 -1
- package/components/SVGIcons/IconLocation.js +1 -1
- package/components/SVGIcons/IconLocationFilled.d.ts +1 -1
- package/components/SVGIcons/IconLocationFilled.js +1 -1
- package/components/SVGIcons/IconLockClosed.d.ts +1 -1
- package/components/SVGIcons/IconLockClosed.js +1 -1
- package/components/SVGIcons/IconLockClosedFilled.d.ts +1 -1
- package/components/SVGIcons/IconLockClosedFilled.js +1 -1
- package/components/SVGIcons/IconLockOpen.d.ts +1 -1
- package/components/SVGIcons/IconLockOpen.js +1 -1
- package/components/SVGIcons/IconLockOpenFilled.d.ts +1 -1
- package/components/SVGIcons/IconLockOpenFilled.js +1 -1
- package/components/SVGIcons/IconMail.d.ts +1 -1
- package/components/SVGIcons/IconMail.js +1 -1
- package/components/SVGIcons/IconMailAdd.d.ts +1 -1
- package/components/SVGIcons/IconMailAdd.js +1 -1
- package/components/SVGIcons/IconMailAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailAddFilled.js +1 -1
- package/components/SVGIcons/IconMailArrowForward.d.ts +1 -1
- package/components/SVGIcons/IconMailArrowForward.js +1 -1
- package/components/SVGIcons/IconMailArrowForwardFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailArrowForwardFilled.js +1 -1
- package/components/SVGIcons/IconMailFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailFilled.js +1 -1
- package/components/SVGIcons/IconMailLink.d.ts +1 -1
- package/components/SVGIcons/IconMailLink.js +1 -1
- package/components/SVGIcons/IconMailLinkFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailLinkFilled.js +1 -1
- package/components/SVGIcons/IconMedium.d.ts +1 -1
- package/components/SVGIcons/IconMedium.js +1 -1
- package/components/SVGIcons/IconMoon.d.ts +1 -1
- package/components/SVGIcons/IconMoon.js +1 -1
- package/components/SVGIcons/IconMore.d.ts +1 -1
- package/components/SVGIcons/IconMore.js +1 -1
- package/components/SVGIcons/IconMoreFilled.d.ts +1 -1
- package/components/SVGIcons/IconMoreFilled.js +1 -1
- package/components/SVGIcons/IconMoreVertical.d.ts +1 -1
- package/components/SVGIcons/IconMoreVertical.js +1 -1
- package/components/SVGIcons/IconMoreVerticalFilled.d.ts +1 -1
- package/components/SVGIcons/IconMoreVerticalFilled.js +1 -1
- package/components/SVGIcons/IconNavigation.d.ts +1 -1
- package/components/SVGIcons/IconNavigation.js +1 -1
- package/components/SVGIcons/IconNavigationFilled.d.ts +1 -1
- package/components/SVGIcons/IconNavigationFilled.js +1 -1
- package/components/SVGIcons/IconNotebook.d.ts +1 -1
- package/components/SVGIcons/IconNotebook.js +1 -1
- package/components/SVGIcons/IconNotebookAdd.d.ts +1 -1
- package/components/SVGIcons/IconNotebookAdd.js +1 -1
- package/components/SVGIcons/IconNotebookAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconNotebookAddFilled.js +1 -1
- package/components/SVGIcons/IconNotebookFilled.d.ts +1 -1
- package/components/SVGIcons/IconNotebookFilled.js +1 -1
- package/components/SVGIcons/IconOnlyEmployee.d.ts +1 -1
- package/components/SVGIcons/IconOnlyEmployee.js +1 -1
- package/components/SVGIcons/IconOpen.d.ts +1 -1
- package/components/SVGIcons/IconOpen.js +1 -1
- package/components/SVGIcons/IconOpenFilled.d.ts +1 -1
- package/components/SVGIcons/IconOpenFilled.js +1 -1
- package/components/SVGIcons/IconPatient.d.ts +1 -1
- package/components/SVGIcons/IconPatient.js +1 -1
- package/components/SVGIcons/IconPatientFilled.d.ts +1 -1
- package/components/SVGIcons/IconPatientFilled.js +1 -1
- package/components/SVGIcons/IconPeople.d.ts +1 -1
- package/components/SVGIcons/IconPeople.js +1 -1
- package/components/SVGIcons/IconPeopleAdd.d.ts +1 -1
- package/components/SVGIcons/IconPeopleAdd.js +1 -1
- package/components/SVGIcons/IconPeopleAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleAddFilled.js +1 -1
- package/components/SVGIcons/IconPeopleFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleFilled.js +1 -1
- package/components/SVGIcons/IconPeopleList.d.ts +1 -1
- package/components/SVGIcons/IconPeopleList.js +1 -1
- package/components/SVGIcons/IconPeopleListFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleListFilled.js +1 -1
- package/components/SVGIcons/IconPeopleTeam.d.ts +1 -1
- package/components/SVGIcons/IconPeopleTeam.js +1 -1
- package/components/SVGIcons/IconPeopleTeamFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleTeamFilled.js +1 -1
- package/components/SVGIcons/IconPercent.d.ts +1 -1
- package/components/SVGIcons/IconPercent.js +1 -1
- package/components/SVGIcons/IconPerson.d.ts +1 -1
- package/components/SVGIcons/IconPerson.js +1 -1
- package/components/SVGIcons/IconPersonAccount.d.ts +1 -1
- package/components/SVGIcons/IconPersonAccount.js +1 -1
- package/components/SVGIcons/IconPersonAccountFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonAccountFilled.js +1 -1
- package/components/SVGIcons/IconPersonAdd.d.ts +1 -1
- package/components/SVGIcons/IconPersonAdd.js +1 -1
- package/components/SVGIcons/IconPersonAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonAddFilled.js +1 -1
- package/components/SVGIcons/IconPersonArrowLeft.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowLeft.js +1 -1
- package/components/SVGIcons/IconPersonArrowLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowLeftFilled.js +1 -1
- package/components/SVGIcons/IconPersonArrowRight.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowRight.js +1 -1
- package/components/SVGIcons/IconPersonArrowRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowRightFilled.js +1 -1
- package/components/SVGIcons/IconPersonBoard.d.ts +1 -1
- package/components/SVGIcons/IconPersonBoard.js +1 -1
- package/components/SVGIcons/IconPersonFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonFilled.js +1 -1
- package/components/SVGIcons/IconPersonMinus.d.ts +1 -1
- package/components/SVGIcons/IconPersonMinus.js +1 -1
- package/components/SVGIcons/IconPersonStar.d.ts +1 -1
- package/components/SVGIcons/IconPersonStar.js +1 -1
- package/components/SVGIcons/IconPersonStarFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonStarFilled.js +1 -1
- package/components/SVGIcons/IconPersonSubtract.d.ts +1 -1
- package/components/SVGIcons/IconPersonSubtract.js +1 -1
- package/components/SVGIcons/IconPersonSubtractFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonSubtractFilled.js +1 -1
- package/components/SVGIcons/IconPhone.d.ts +1 -1
- package/components/SVGIcons/IconPhone.js +1 -1
- package/components/SVGIcons/IconPhoneFilled.d.ts +1 -1
- package/components/SVGIcons/IconPhoneFilled.js +1 -1
- package/components/SVGIcons/IconPlane.d.ts +4 -0
- package/components/SVGIcons/IconPlane.js +1 -0
- package/components/SVGIcons/IconPlugConnected.d.ts +1 -1
- package/components/SVGIcons/IconPlugConnected.js +1 -1
- package/components/SVGIcons/IconPos.d.ts +1 -1
- package/components/SVGIcons/IconPos.js +1 -1
- package/components/SVGIcons/IconPosFilled.d.ts +1 -1
- package/components/SVGIcons/IconPosFilled.js +1 -1
- package/components/SVGIcons/IconProhibited.d.ts +1 -1
- package/components/SVGIcons/IconProhibited.js +1 -1
- package/components/SVGIcons/IconProhibitedFilled.d.ts +1 -1
- package/components/SVGIcons/IconProhibitedFilled.js +1 -1
- package/components/SVGIcons/IconProjectProduct.d.ts +1 -1
- package/components/SVGIcons/IconProjectProduct.js +1 -1
- package/components/SVGIcons/IconQuestion.d.ts +1 -1
- package/components/SVGIcons/IconQuestion.js +1 -1
- package/components/SVGIcons/IconQuestionFilled.d.ts +1 -1
- package/components/SVGIcons/IconQuestionFilled.js +1 -1
- package/components/SVGIcons/IconRedo.d.ts +1 -1
- package/components/SVGIcons/IconRedo.js +1 -1
- package/components/SVGIcons/IconRedoFilled.d.ts +1 -1
- package/components/SVGIcons/IconRedoFilled.js +1 -1
- package/components/SVGIcons/IconRibbon.d.ts +1 -1
- package/components/SVGIcons/IconRibbon.js +1 -1
- package/components/SVGIcons/IconRu.d.ts +1 -1
- package/components/SVGIcons/IconRu.js +1 -1
- package/components/SVGIcons/IconRub.d.ts +1 -1
- package/components/SVGIcons/IconRub.js +1 -1
- package/components/SVGIcons/IconRubFilled.d.ts +1 -1
- package/components/SVGIcons/IconRubFilled.js +1 -1
- package/components/SVGIcons/IconSave.d.ts +1 -1
- package/components/SVGIcons/IconSave.js +1 -1
- package/components/SVGIcons/IconSaveFilled.d.ts +1 -1
- package/components/SVGIcons/IconSaveFilled.js +1 -1
- package/components/SVGIcons/IconSavings.d.ts +1 -1
- package/components/SVGIcons/IconSavings.js +1 -1
- package/components/SVGIcons/IconSavingsFilled.d.ts +1 -1
- package/components/SVGIcons/IconSavingsFilled.js +1 -1
- package/components/SVGIcons/IconSearch.d.ts +1 -1
- package/components/SVGIcons/IconSearch.js +1 -1
- package/components/SVGIcons/IconSearchFilled.d.ts +1 -1
- package/components/SVGIcons/IconSearchFilled.js +1 -1
- package/components/SVGIcons/IconSelectAllOff.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOff.js +1 -1
- package/components/SVGIcons/IconSelectAllOffFilled.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOffFilled.js +1 -1
- package/components/SVGIcons/IconSelectAllOn.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOn.js +1 -1
- package/components/SVGIcons/IconSelectAllOnFilled.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOnFilled.js +1 -1
- package/components/SVGIcons/IconSend.d.ts +1 -1
- package/components/SVGIcons/IconSend.js +1 -1
- package/components/SVGIcons/IconSendFilled.d.ts +1 -1
- package/components/SVGIcons/IconSendFilled.js +1 -1
- package/components/SVGIcons/IconSettings.d.ts +1 -1
- package/components/SVGIcons/IconSettings.js +1 -1
- package/components/SVGIcons/IconSettingsFilled.d.ts +1 -1
- package/components/SVGIcons/IconSettingsFilled.js +1 -1
- package/components/SVGIcons/IconShare.d.ts +1 -1
- package/components/SVGIcons/IconShare.js +1 -1
- package/components/SVGIcons/IconShareAndroid.d.ts +1 -1
- package/components/SVGIcons/IconShareAndroid.js +1 -1
- package/components/SVGIcons/IconShareAndroidFilled.d.ts +1 -1
- package/components/SVGIcons/IconShareAndroidFilled.js +1 -1
- package/components/SVGIcons/IconShareFilled.d.ts +1 -1
- package/components/SVGIcons/IconShareFilled.js +1 -1
- package/components/SVGIcons/IconSignOut.d.ts +1 -1
- package/components/SVGIcons/IconSignOut.js +1 -1
- package/components/SVGIcons/IconSignOutFilled.d.ts +1 -1
- package/components/SVGIcons/IconSignOutFilled.js +1 -1
- package/components/SVGIcons/IconSpinner.d.ts +1 -1
- package/components/SVGIcons/IconSpinner.js +1 -1
- package/components/SVGIcons/IconSpinnerFilled.d.ts +1 -1
- package/components/SVGIcons/IconSpinnerFilled.js +1 -1
- package/components/SVGIcons/IconStatus.d.ts +1 -1
- package/components/SVGIcons/IconStatus.js +1 -1
- package/components/SVGIcons/IconStatusFilled.d.ts +1 -1
- package/components/SVGIcons/IconStatusFilled.js +1 -1
- package/components/SVGIcons/IconSubtract.d.ts +1 -1
- package/components/SVGIcons/IconSubtract.js +1 -1
- package/components/SVGIcons/IconSubtractCircle.d.ts +1 -1
- package/components/SVGIcons/IconSubtractCircle.js +1 -1
- package/components/SVGIcons/IconSubtractCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconSubtractCircleFilled.js +1 -1
- package/components/SVGIcons/IconSubtractFilled.d.ts +1 -1
- package/components/SVGIcons/IconSubtractFilled.js +1 -1
- package/components/SVGIcons/IconSun.d.ts +1 -1
- package/components/SVGIcons/IconSun.js +10 -10
- package/components/SVGIcons/IconTableCellEdit.d.ts +1 -1
- package/components/SVGIcons/IconTableCellEdit.js +1 -1
- package/components/SVGIcons/IconTableCellEditFilled.d.ts +1 -1
- package/components/SVGIcons/IconTableCellEditFilled.js +1 -1
- package/components/SVGIcons/IconTelegram.d.ts +1 -1
- package/components/SVGIcons/IconTelegram.js +1 -1
- package/components/SVGIcons/IconTimer.d.ts +1 -1
- package/components/SVGIcons/IconTimer.js +1 -1
- package/components/SVGIcons/IconTimerFilled.d.ts +1 -1
- package/components/SVGIcons/IconTimerFilled.js +1 -1
- package/components/SVGIcons/IconTrophy.d.ts +1 -1
- package/components/SVGIcons/IconTrophy.js +1 -1
- package/components/SVGIcons/IconTrophyFilled.d.ts +1 -1
- package/components/SVGIcons/IconTrophyFilled.js +1 -1
- package/components/SVGIcons/IconTwitter.d.ts +1 -1
- package/components/SVGIcons/IconTwitter.js +1 -1
- package/components/SVGIcons/IconUndo.d.ts +1 -1
- package/components/SVGIcons/IconUndo.js +1 -1
- package/components/SVGIcons/IconUndoFilled.d.ts +1 -1
- package/components/SVGIcons/IconUndoFilled.js +1 -1
- package/components/SVGIcons/IconUnitsEmployee.d.ts +1 -1
- package/components/SVGIcons/IconUnitsEmployee.js +1 -1
- package/components/SVGIcons/IconUpload.d.ts +1 -1
- package/components/SVGIcons/IconUpload.js +1 -1
- package/components/SVGIcons/IconUpload2.d.ts +4 -0
- package/components/SVGIcons/IconUpload2.js +4 -0
- package/components/SVGIcons/IconUs.d.ts +1 -1
- package/components/SVGIcons/IconUs.js +1 -1
- package/components/SVGIcons/IconUsd.d.ts +1 -1
- package/components/SVGIcons/IconUsd.js +1 -1
- package/components/SVGIcons/IconUsdFilled.d.ts +1 -1
- package/components/SVGIcons/IconUsdFilled.js +1 -1
- package/components/SVGIcons/IconUserMinus.d.ts +1 -1
- package/components/SVGIcons/IconUserMinus.js +1 -1
- package/components/SVGIcons/IconUsers.d.ts +4 -0
- package/components/SVGIcons/IconUsers.js +4 -0
- package/components/SVGIcons/IconVacation.d.ts +1 -1
- package/components/SVGIcons/IconVacation.js +1 -1
- package/components/SVGIcons/IconVideo.d.ts +1 -1
- package/components/SVGIcons/IconVideo.js +1 -1
- package/components/SVGIcons/IconVideoFilled.d.ts +1 -1
- package/components/SVGIcons/IconVideoFilled.js +1 -1
- package/components/SVGIcons/IconWallet.d.ts +1 -1
- package/components/SVGIcons/IconWallet.js +1 -1
- package/components/SVGIcons/IconWalletFilled.d.ts +1 -1
- package/components/SVGIcons/IconWalletFilled.js +1 -1
- package/components/SVGIcons/IconWarning.d.ts +1 -1
- package/components/SVGIcons/IconWarning.js +1 -1
- package/components/SVGIcons/IconWarningFilled.d.ts +1 -1
- package/components/SVGIcons/IconWarningFilled.js +1 -1
- package/components/SVGIcons/IconYoutube.d.ts +1 -1
- package/components/SVGIcons/IconYoutube.js +1 -1
- package/components/Select/ButtonSelect/ButtonSelect.js +3 -3
- package/components/Select/FilterSelect/FilterDropdown.js +3 -3
- package/components/Select/FilterSelect/FilterSelect.js +4 -4
- package/components/Select/MultiSelect/DesktopWrapper.d.ts +1 -0
- package/components/Select/MultiSelect/DesktopWrapper.js +1 -1
- package/components/Select/MultiSelect/MobileWrapper.d.ts +1 -0
- package/components/Select/MultiSelect/MobileWrapper.js +2 -2
- package/components/Select/MultiSelect/MultiBase/MultiBase.js +5 -5
- package/components/Select/MultiSelect/MultiSelect.js +3 -3
- package/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js +6 -6
- package/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js +7 -7
- package/components/Select/MultiSelect/OptionsWrapper.d.ts +1 -0
- package/components/Select/NestedSelect/NestedSelect.js +4 -4
- package/components/Select/ProfileDropdown/index.js +10 -10
- package/components/Select/Select/Select.js +1 -1
- package/components/Select/Select/SelectDesktop/index.js +2 -2
- package/components/Select/Select/SelectMobile/MobileTopContent.d.ts +2 -1
- package/components/Select/Select/SelectMobile/MobileTopContent.js +2 -2
- package/components/Select/Select/SelectMobile/index.js +5 -5
- 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 +3 -3
- package/components/Select/SharedComponents/ContentTop.d.ts +2 -1
- package/components/Select/SharedComponents/ContentTop.js +3 -3
- package/components/Select/SharedComponents/Footer.js +6 -6
- package/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js +3 -3
- package/components/Select/helper.d.ts +1 -0
- package/components/Select/helper.js +1 -0
- package/components/Select/types.d.ts +7 -6
- package/components/SideSheet/Footer/Footer.d.ts +2 -1
- package/components/SideSheet/Footer/Footer.js +5 -5
- package/components/SideSheet/SideSheet.js +8 -8
- package/components/SideSheet/types.d.ts +2 -1
- package/components/Skeleton/Skeleton.d.ts +3 -0
- package/components/Skeleton/Skeleton.js +5 -0
- package/components/Skeleton/consts.d.ts +5 -0
- package/components/Skeleton/consts.js +1 -0
- package/components/Skeleton/index.d.ts +2 -0
- package/components/Skeleton/index.js +1 -0
- package/components/Skeleton/types.d.ts +24 -0
- package/components/Skeleton/types.js +0 -0
- package/components/Snackbar/Snackbar.js +1 -1
- package/components/Snackbar/types.d.ts +1 -0
- package/components/Status/Status.js +4 -4
- package/components/Status/types.d.ts +1 -2
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/types.d.ts +3 -2
- package/components/Switcher/Switcher.js +2 -2
- package/components/Switcher/types.d.ts +1 -0
- package/components/Tab/Tab.js +2 -2
- package/components/Tab/TabItem.js +3 -3
- package/components/Tab/types.d.ts +3 -4
- package/components/Table/Header.d.ts +3 -2
- package/components/Table/Header.js +4 -4
- package/components/Table/IndeterminateCheckbox.d.ts +3 -4
- package/components/Table/IndeterminateCheckbox.js +1 -1
- package/components/Table/Row.d.ts +3 -2
- package/components/Table/Row.js +3 -3
- package/components/Table/Table.d.ts +1 -1
- package/components/Table/Table.js +6 -6
- package/components/Table/types.d.ts +2 -1
- package/components/Table/utils.d.ts +1 -1
- package/components/Table/utils.js +3 -3
- package/components/TableV2/AdvancedPagination.d.ts +3 -2
- package/components/TableV2/AdvancedPagination.js +12 -12
- package/components/TableV2/ColumnHeader.d.ts +3 -2
- package/components/TableV2/ColumnHeader.js +6 -6
- package/components/TableV2/IndeterminateCheckbox.d.ts +3 -4
- package/components/TableV2/IndeterminateCheckbox.js +2 -2
- package/components/TableV2/Table.d.ts +1 -1
- package/components/TableV2/Table.js +8 -8
- package/components/TableV2/hooks/useTableControl.d.ts +1 -1
- package/components/TableV2/hooks/useTableControl.js +1 -1
- package/components/TableV2/types.d.ts +3 -2
- package/components/Text/Text.js +2 -2
- package/components/Text/types.d.ts +2 -2
- package/components/Textarea/Textarea.js +3 -3
- 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 +6 -6
- package/components/UnderConstruction/types.d.ts +2 -1
- package/context/types.d.ts +1 -0
- package/helperComponents/ErrorMessage/ErrorMessage.d.ts +1 -1
- package/helperComponents/ErrorMessage/ErrorMessage.js +3 -3
- package/helperComponents/ErrorMessage/types.d.ts +1 -1
- package/helperComponents/Label/types.d.ts +1 -1
- package/helperComponents/OptionItem/OptionItem.js +2 -2
- package/helperComponents/OptionItem/types.d.ts +1 -1
- package/package.json +1 -1
- package/type/base.d.ts +14 -0
- package/type/base.js +0 -0
- package/type/index.d.ts +1 -0
- package/type/svg-icons.d.ts +1 -1
- package/utils/helpers.d.ts +1 -1
- package/components/Feedback/Feedback.d.ts +0 -3
- package/components/Feedback/Feedback.js +0 -3
- package/components/Feedback/consts.d.ts +0 -1
- package/components/Feedback/consts.js +0 -1
- package/components/Feedback/index.d.ts +0 -1
- package/components/Feedback/index.js +0 -1
- package/components/Feedback/types.d.ts +0 -5
- /package/components/{Feedback → LineChart}/types.js +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
2
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
3
|
+
export type TSkeletonVariant = 'text' | 'circular' | 'rectangular' | 'rounded';
|
|
4
|
+
export type TSkeletonAnimation = 'pulse' | 'wave' | 'none';
|
|
5
|
+
export interface TSkeletonPropTypes extends IBaseProps {
|
|
6
|
+
/** Visual shape of the placeholder. */
|
|
7
|
+
variant?: TSkeletonVariant;
|
|
8
|
+
/** Animation style. Pass `'none'` to disable. */
|
|
9
|
+
animation?: TSkeletonAnimation;
|
|
10
|
+
/** Width as a number (px) or any valid CSS length / percentage. */
|
|
11
|
+
width?: number | string;
|
|
12
|
+
/** Height as a number (px) or any valid CSS length / percentage. */
|
|
13
|
+
height?: number | string;
|
|
14
|
+
/** Render N stacked skeletons. Useful for placeholder paragraphs. */
|
|
15
|
+
count?: number;
|
|
16
|
+
/**
|
|
17
|
+
* If provided, the skeleton wraps the children and infers its size from them
|
|
18
|
+
* while the children remain invisible (used as a layout guide).
|
|
19
|
+
*/
|
|
20
|
+
children?: ReactNode;
|
|
21
|
+
/** Inline style overrides applied to every rendered skeleton element. */
|
|
22
|
+
style?: CSSProperties;
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsx as s,jsxs as o}from"react/jsx-runtime";import{toast as m,ToastContainer as l,Slide as d}from"react-toastify";import{Text as c}from"../Text/Text.js";import{Button as u}from"../Button/Button.js";import{DEFAULT_DURATION as f,TYPE_MAPPING as C,ICONS_MAPPING as h}from"./consts.js";import{IconDynamicComponent as N}from"../../helperComponents/IconDynamicComponent/IconDynamicComponent.js";const g=({actionProps:t,toastId:a,type:n="information",text:e})=>/* @__PURE__ */o("div",{"data-id":`${n}-toast-message`,className:"snackbar",children:[
|
|
1
|
+
import{jsx as s,jsxs as o}from"react/jsx-runtime";import{toast as m,ToastContainer as l,Slide as d}from"react-toastify";import{Text as c}from"../Text/Text.js";import{Button as u}from"../Button/Button.js";import{DEFAULT_DURATION as f,TYPE_MAPPING as C,ICONS_MAPPING as h}from"./consts.js";import{IconDynamicComponent as N}from"../../helperComponents/IconDynamicComponent/IconDynamicComponent.js";const g=({actionProps:t,toastId:a,type:n="information",text:e})=>/* @__PURE__ */o("div",{"data-test-id":`${n}-toast-message`,className:"snackbar",children:[
|
|
2
2
|
/* @__PURE__ */o("div",{className:"snackbar__content",children:[
|
|
3
3
|
/* @__PURE__ */s(N,{Component:h[n],type:C[n],size:"medium"}),
|
|
4
4
|
/* @__PURE__ */s(c,{className:"snackbar__text pl-16 pr-8",type:"primary",size:"standard",weight:"regular",lineHeight:"large",children:e})]}),t?/* @__PURE__ */s(u,{size:"small",type:"tertiary",...t,onClick:s=>{var o;m.dismiss(a),null==(o=null==t?void 0:t.onClick)||o.call(t,s)}}):null]},a),I=t=>{const{toastId:s,closeSnackbar:o,actionProps:a,duration:n=f}=t;m(g(t),{className:"_container",toastId:s,autoClose:!a&&n}),m.onChange(t=>{"removed"===t.status&&(null==o||o(t.id))})},y=t=>{const{duration:o=1e3,position:a="bottom-center"}=t;/* @__PURE__ */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsxs as
|
|
2
|
-
return
|
|
3
|
-
/* @__PURE__ */
|
|
4
|
-
/* @__PURE__ */
|
|
1
|
+
import{jsxs as c,jsx as l}from"react/jsx-runtime";import{Text as h}from"../Text/Text.js";import d from"classnames";var n=/* @__PURE__ */(s=>(s.large="standard",s.medium="small",s.small="xsmall",s))(n||{});const w=s=>{const{type:t="primary",size:a="large",text:e="",children:r,className:i="",leftIconProps:m,rightIconProps:o,withCircle:u=!0,withBackground:p=!1,dataTestId:x=""}=s;/* @__PURE__ */
|
|
2
|
+
return c("div",{"data-test-id":x,className:d(`status status--${a}`,i,{status__withBackground:p,[`status__withBackground--${t}`]:p}),children:[u?/* @__PURE__ */l("span",{className:d("status__circle","mr-6",{[`status__circle--${t}`]:!0})}):null,null!=m&&m.Component?/* @__PURE__ */l(m.Component,{size:"xsmall",type:t,className:"mr-6",...m}):null,
|
|
3
|
+
/* @__PURE__ */c("div",{className:"status__label",children:[
|
|
4
|
+
/* @__PURE__ */l(h,{className:"status__label-text",dataTestId:x?`${x}-text`:"",weight:p?"semibold":"regular",type:!u||p?t:"primary",size:n[a],children:e}),r]}),o]})};export{w as Status};
|
|
@@ -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;
|
|
@@ -11,5 +11,4 @@ export interface TStatusProps extends IFormCompProps {
|
|
|
11
11
|
className?: string;
|
|
12
12
|
withCircle?: boolean;
|
|
13
13
|
withBackground?: boolean;
|
|
14
|
-
dataId?: string;
|
|
15
14
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as x}from"react/jsx-runtime";import{useState as
|
|
2
|
-
return x(p,{activeStepIndex:n,isNextDisabled:n===t.length-1,isPrevDisabled:0===n,prevHandler:()=>{let e=n;--e,i(e),
|
|
1
|
+
import{jsx as x}from"react/jsx-runtime";import{useState as l,useEffect as I}from"react";const v=e=>{const{list:t,activeStep:s=0,setActiveStep:a,dataTestId:r=""}=e,[n,i]=l(s);I(()=>{s&&s!==n&&i(s)},[s,n]);const p=t[n];/* @__PURE__ */
|
|
2
|
+
return x(p,{activeStepIndex:n,isNextDisabled:n===t.length-1,isPrevDisabled:0===n,prevHandler:()=>{let e=n;--e,i(e),a&&a(e)},nextHandler:()=>{let e=n;++e,i(e),a&&a(e)},stepCount:t.length,dataTestId:r?`${r}-step-${n}`:""})};export{v as Stepper};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
2
|
+
export interface TStepperContentWrapperProps extends IBaseProps {
|
|
2
3
|
isPrevDisabled: boolean;
|
|
3
4
|
isNextDisabled: boolean;
|
|
4
5
|
prevHandler: () => void;
|
|
@@ -7,7 +8,7 @@ export interface TStepperContentWrapperProps {
|
|
|
7
8
|
stepCount: number;
|
|
8
9
|
}
|
|
9
10
|
declare type TComp = (props: TStepperContentWrapperProps) => React.ReactElement;
|
|
10
|
-
export interface TStepperProps {
|
|
11
|
+
export interface TStepperProps extends IBaseProps {
|
|
11
12
|
list: TComp[];
|
|
12
13
|
activeStep?: number;
|
|
13
14
|
setActiveStep?: (step: number) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{jsx as e,jsxs as h}from"react/jsx-runtime";import{forwardRef as k,useMemo as C}from"react";import p from"classnames";import{Label as y}from"../../helperComponents/Label/Label.js";const S=k((a,
|
|
1
|
+
import{jsx as e,jsxs as h}from"react/jsx-runtime";import{forwardRef as k,useMemo as C}from"react";import p from"classnames";import{Label as y}from"../../helperComponents/Label/Label.js";const S=k((a,s)=>{const{onClick:l,id:r="",name:t,value:i,disabled:n,label:c,inlineType:o=!1,dataTestId:d,size:m="large",setFieldValue:b,selectedValue:w,className:_="",labelAddons:N,orientation:f="right",hasSpaceBetween:u=!0}=a,x=!!i||!!w,k=C(()=>/* @__PURE__ */e(y,{text:c,disabled:n,labelAddons:N,size:o?"standard":m,className:"switcher__label"}),[c,n,N,o,m]);/* @__PURE__ */
|
|
2
2
|
return h("div",{className:p("switcher",{"switcher--inline":o,"switcher--space-between":u}),children:[c&&"right"===f&&k,
|
|
3
3
|
/* @__PURE__ */h("label",{id:r,className:p("controller","controller--switch",`controller--switch-${m}`,_,{"controller--disabled":n}),children:[
|
|
4
|
-
/* @__PURE__ */e("input",{"data-id":d,type:"checkbox",tabIndex:0,onChange:()=>{t&&b&&b(t,!x),
|
|
4
|
+
/* @__PURE__ */e("input",{"data-test-id":d,type:"checkbox",tabIndex:0,onChange:()=>{t&&b&&b(t,!x),l&&l(!x)},checked:x,disabled:n}),
|
|
5
5
|
/* @__PURE__ */e("span",{className:"controller__icon",children:/* @__PURE__ */e("span",{className:"controller__icon__inner",children:/* @__PURE__ */e("span",{className:"controller__mark"})})})]}),c&&"left"===f&&k]})});S.displayName="Switcher";export{S as Switcher};
|
package/components/Tab/Tab.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as
|
|
2
|
-
return
|
|
1
|
+
import{jsx as s}from"react/jsx-runtime";import{TabItem as p}from"./TabItem.js";import u from"classnames";const N=a=>{const{selectedValue:e,tabItems:t,onSelect:l,className:d,dataTestId:r="",...i}=a;/* @__PURE__ */
|
|
2
|
+
return s("div",{className:"tabs-container","data-test-id":r,children:/* @__PURE__ */s("div",{className:u("tabs-header-container",d),children:t.map((a,t)=>/* @__PURE__ */s(p,{label:a.label,badgeProps:a.badgeProps,onClick:()=>l(a.value),val:a.value,isSelected:e===a.value,dataTestId:(null==a?void 0:a.dataTestId)||(r?`${r}-item-${t}`:""),disabled:a.disabled,...i},a.value))})})};export{N as Tab};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{jsxs as C,jsx as
|
|
2
|
-
return C("div",{onClick:
|
|
3
|
-
/* @__PURE__ */
|
|
1
|
+
import{jsxs as C,jsx as t}from"react/jsx-runtime";import{Badge as N}from"../Badge/Badge.js";import{noop as f}from"../../utils/helpers.js";import x from"classnames";const k=a=>{const{size:l="large",iconProps:s,badgeProps:e,label:o,className:n="",disabled:m=!1,isSelected:i,rightIconProps:c,val:r,onClick:d,dataTestId:p}=a;/* @__PURE__ */
|
|
2
|
+
return C("div",{"data-test-id":p,onClick:m?f:d,className:x("tab",{[`tab--${l}`]:l},{"tab--disabled":m},{"tab--selected":i},n),children:[null!=s&&s.Component?/* @__PURE__ */t(s.Component,{className:"tab__icon mr-8",size:""+("small"==l?"xsmall":"small"),...s}):null,
|
|
3
|
+
/* @__PURE__ */t("span",{className:"tab__label","data-test-id":p?`${p}-label`:"",children:o}),null!=c&&c.Component?/* @__PURE__ */t(c.Component,{onClick:a=>{null!=c&&c.action&&(a.stopPropagation(),null==c||c.action(r))},className:"tab__icon ml-8",size:""+("small"==l?"xsmall":"small"),...c}):null,null!=e&&e.text?/* @__PURE__ */t(N,{className:"tab__badge ml-8",size:"small",type:"secondary",...e}):null]})};export{k as TabItem};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { IBaseProps, IFormCompProps } from '../../type';
|
|
1
2
|
import { TBadgeProps } from '../Badge/types';
|
|
2
|
-
export type TTabItem = {
|
|
3
|
+
export type TTabItem = IBaseProps & {
|
|
3
4
|
value: number | string;
|
|
4
5
|
label: string | React.ReactElement;
|
|
5
|
-
dataId?: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
badgeProps?: TBadgeProps;
|
|
8
8
|
iconProps?: {
|
|
@@ -25,8 +25,7 @@ export interface TTabProps extends IFormCompProps {
|
|
|
25
25
|
selectedValue: number | string;
|
|
26
26
|
onSelect: (value: string | number) => void;
|
|
27
27
|
}
|
|
28
|
-
export type TTabItemProps = {
|
|
29
|
-
dataId?: string;
|
|
28
|
+
export type TTabItemProps = IBaseProps & {
|
|
30
29
|
label?: string | React.ReactElement;
|
|
31
30
|
size?: 'large' | 'medium' | 'small';
|
|
32
31
|
className?: string;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
1
2
|
import { ReactElement } from 'react';
|
|
2
3
|
import { HeaderGroup } from 'react-table';
|
|
3
|
-
type Props = {
|
|
4
|
+
type Props = IBaseProps & {
|
|
4
5
|
fixedHeader?: boolean;
|
|
5
6
|
withSelect: boolean;
|
|
6
7
|
tableWidth: number;
|
|
7
8
|
headerGroup: HeaderGroup;
|
|
8
9
|
uniqueKey: string;
|
|
9
10
|
};
|
|
10
|
-
export declare function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHeader }: Props): ReactElement;
|
|
11
|
+
export declare function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHeader, dataTestId }: Props): ReactElement;
|
|
11
12
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsx as t,jsxs as
|
|
2
|
-
return t("tr",{...
|
|
3
|
-
return t("th",{...
|
|
4
|
-
/* @__PURE__ */t(
|
|
1
|
+
import{jsx as t,jsxs as I}from"react/jsx-runtime";import o from"classnames";import{CHECKBOX_DEFAULT_WIDTH as n,calcColumnWidth as j,CHECKBOX_HEADER_ID as v}from"./utils.js";import{Text as B}from"../Text/Text.js";import b from"../SVGIcons/IconArrowDown.js";import G from"../SVGIcons/IconArrowUp.js";function R({headerGroup:e,tableWidth:r,withSelect:s,uniqueKey:a,fixedHeader:i=!1,dataTestId:l=""}){const{key:d,...m}=e.getHeaderGroupProps();/* @__PURE__ */
|
|
2
|
+
return t("tr",{...m,className:o({fixed_header:i}),children:e.headers.map(({id:e,minWidth:i,maxWidth:d,width:m,widthInPercent:c,getHeaderProps:h,fixed:x,columnProps:f,render:u,isSorted:p,isSortedDesc:_,getSortByToggleProps:g},w,H)=>{var N;const T=e===v,W={width:T?n:j(c,r),left:!T&&s&&"left"===x?n:0,...!T&&i?{minWidth:i}:{},...!T&&d?{maxWidth:d}:{},...!T&&m?{width:m}:{}},{key:D,...S}=h(null!=f&&f.sortable?g():void 0);/* @__PURE__ */
|
|
3
|
+
return t("th",{...S,"data-test-id":l?`${l}-header-${e??w}`:"",className:o({fixed_column_left:"left"===x,fixed_column_right:"right"===x,fixed_checkbox:T&&"left"===(null==(N=H[w+1])?void 0:N.fixed),pointer:null==f?void 0:f.sortable}),style:W,children:/* @__PURE__ */I("div",{className:"flexbox align-items--center",children:[
|
|
4
|
+
/* @__PURE__ */t(B,{weight:"bold",className:"table-header-title",children:u("Header")}),p&&_&&/* @__PURE__ */t(b,{size:"xsmall",className:"ml-4"}),p&&!_&&/* @__PURE__ */t(G,{size:"xsmall",className:"ml-4"}),!p&&(null==f?void 0:f.sortable)&&/* @__PURE__ */t(b,{size:"xsmall",className:"ml-4 unsorted__icon"})]})},`table_head_${a}_${w}`)})})}export{R as Header};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
1
2
|
import React from 'react';
|
|
2
|
-
|
|
3
|
+
export declare const IndeterminateCheckbox: React.ForwardRefExoticComponent<IBaseProps & {
|
|
3
4
|
indeterminate: boolean;
|
|
4
5
|
checked: boolean;
|
|
5
6
|
disabled: boolean;
|
|
@@ -8,6 +9,4 @@ type IndeterminateCheckboxProps = {
|
|
|
8
9
|
checked: boolean;
|
|
9
10
|
};
|
|
10
11
|
}) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const IndeterminateCheckbox: React.ForwardRefExoticComponent<IndeterminateCheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
13
|
-
export {};
|
|
12
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";import{forwardRef as d,useRef as m,useEffect as h}from"react";import{Checkbox as i}from"../Checkbox/Checkbox.js";const u=d(({indeterminate:e,checked:t,onChange:a,disabled:r=!1,dataTestId:o=""},s)=>{const d=m(null),n=s||d;return h(()=>{n.current.indeterminate=e},[n,e]),/* @__PURE__ */l(i,{disabled:r,value:t,onClick:e=>{a({target:{checked:e}})},ref:n,dataTestId:o,stopPropagation:!0})});u.displayName="IndeterminateCheckbox";export{u as IndeterminateCheckbox};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
1
2
|
import { ReactElement } from 'react';
|
|
2
3
|
import { Row as RowType } from 'react-table';
|
|
3
|
-
type Props = {
|
|
4
|
+
type Props = IBaseProps & {
|
|
4
5
|
row: RowType;
|
|
5
6
|
handleRowClick?: (row: any) => void;
|
|
6
7
|
withSelect: boolean;
|
|
7
8
|
selectedFlatRows: RowType[];
|
|
8
9
|
uniqueKey: string;
|
|
9
10
|
};
|
|
10
|
-
export declare function Row({ row, selectedFlatRows, withSelect, uniqueKey, handleRowClick }: Props): ReactElement;
|
|
11
|
+
export declare function Row({ row, selectedFlatRows, withSelect, uniqueKey, handleRowClick, dataTestId }: Props): ReactElement;
|
|
11
12
|
export {};
|
package/components/Table/Row.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{jsx as
|
|
2
|
-
return
|
|
3
|
-
return
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";import{useMemo as E}from"react";import $ from"classnames";import{CHECKBOX_HEADER_ID as D,CHECKBOX_DEFAULT_WIDTH as H}from"./utils.js";function K({row:e,selectedFlatRows:i,withSelect:t,uniqueKey:o,handleRowClick:d,dataTestId:n=""}){const r=E(()=>i.find(l=>l.id===e.id),[i]),{key:s,...a}=e.getRowProps();/* @__PURE__ */
|
|
2
|
+
return l("tr",{...a,"data-test-id":n?`${n}-row-${e.index}`:"",className:$({selected:!!r}),onClick:()=>null==d?void 0:d(e.original),children:e.cells.map(({getCellProps:i,column:d,render:r},s,a)=>{var c;const f=d.id===D,{key:m,...u}=i();/* @__PURE__ */
|
|
3
|
+
return l("td",{...u,"data-test-id":n?`${n}-row-${e.index}-cell-${d.id??s}`:"",style:{left:!f&&t&&"left"===(null==d?void 0:d.fixed)?H:0},className:$({fixed_column_left:"left"===(null==d?void 0:d.fixed),fixed_column_right:"right"===(null==d?void 0:d.fixed),fixed_checkbox:f&&"left"===(null==(c=a[s+1].column)?void 0:c.fixed)}),onClick:e=>{f&&e.stopPropagation(),u.onClick&&u.onClick(e)},children:r("Cell")},`table_cell_${o}_${s}`)})})}export{K as Row};
|
|
@@ -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 }: TTableProps): ReactElement;
|
|
3
|
+
export declare function Table({ columns, data, onChange, fixedHeader, withSelect, handleRowClick, className, language, containerRefHandler, submitButtons, dataTestId }: TTableProps): ReactElement;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{jsxs as
|
|
2
|
-
return
|
|
3
|
-
/* @__PURE__ */s(
|
|
4
|
-
/* @__PURE__ */s("div",{onScroll:w,className:
|
|
5
|
-
/* @__PURE__ */s("thead",{children:y.map((e,t)=>/* @__PURE__ */s(
|
|
6
|
-
/* @__PURE__ */s("tbody",{...
|
|
1
|
+
import{jsxs as b,jsx as s}from"react/jsx-runtime";import{useRef as D,useState as q,useId as B,useMemo as F,useCallback as v,useEffect as R}from"react";import{useTable as G,useSortBy as J,useRowSelect as K}from"react-table";import{setSelectedRows as M}from"./utils.js";import{Row as V}from"./Row.js";import{Header as Z}from"./Header.js";import I from"classnames";import{useDispatchEventOnScroll as Q}from"../../hooks/useDispatchEventOnScroll.js";import{Button as S}from"../Button/Button.js";import{TABLE_LOCALIZATION as U}from"./localization.js";import{setTranslationValue as X}from"../../utils/helpers.js";import Y from"../SVGIcons/IconCheckmark.js";import H from"../SVGIcons/IconDismiss.js";function ue({columns:e,data:t,onChange:r,fixedHeader:a,withSelect:o=!1,handleRowClick:l,className:n,language:i="en",containerRefHandler:c,submitButtons:d,dataTestId:m=""}){const u=D(null),[p,f]=q(400),h=B(),w=Q(),g=F(()=>{const t=e=>"left"===e.fixed,s=e=>"right"===e.fixed;return e.sort((e,r)=>t(e)&&!t(r)?-1:!t(e)&&t(r)||s(e)&&!s(r)?1:!s(e)&&s(r)?-1:0),[...e]},[e]),{getTableProps:T,getTableBodyProps:j,selectedFlatRows:x,headerGroups:y,rows:C,prepareRow:k,toggleAllRowsSelected:_,state:L}=G({columns:g,data:t},J,K,e=>M(e,o,m)),$=v(()=>{var e;u.current&&f(null==(e=u.current)?void 0:e.offsetWidth)},[u.current]);R(()=>{null==r||r(L)},[JSON.stringify(L)]),R(()=>{var e;return window.addEventListener("resize",$),u.current&&f(null==(e=u.current)?void 0:e.offsetWidth),()=>{window.removeEventListener("resize",$)}},[u.current]);const z=v(()=>{_(!1)},[]);/* @__PURE__ */
|
|
2
|
+
return b("div",{ref:c,"data-test-id":m,children:[o&&x.length>0&&/* @__PURE__ */b("div",{className:"table-wrapper__selected-rows",children:[
|
|
3
|
+
/* @__PURE__ */s(S,{buttonText:X(U[i].n_selected||"",x.length),onClick:z,type:"tertiary",size:"medium",iconProps:{alignment:"left",Component:H},dataTestId:m?`${m}-clear-selected`:""}),null==d?void 0:d.map(({buttonText:e,isLoading:t,onClick:r,iconProps:a},o)=>/* @__PURE__ */s(S,{iconProps:a||{alignment:"left",Component:Y},onClick:e=>{r(e,L,z)},buttonText:e||"Submit",type:"secondary",size:"medium",className:"mr-8",isLoading:t,dataTestId:m?`${m}-submit-${o}`:""}))]}),
|
|
4
|
+
/* @__PURE__ */s("div",{onScroll:w,className:I("table-wrapper scrollbar scrollbar--horizontal scrollbar--vertical",n,{"table-row-clickable":!!l}),style:{maxHeight:null==a?void 0:a.y},children:/* @__PURE__ */b("table",{...T(),ref:u,children:[
|
|
5
|
+
/* @__PURE__ */s("thead",{children:y.map((e,t)=>/* @__PURE__ */s(Z,{withSelect:o,fixedHeader:!!a,headerGroup:e,tableWidth:p,uniqueKey:h,dataTestId:m},`table_head_${h}_${t}`))}),
|
|
6
|
+
/* @__PURE__ */s("tbody",{...j(),children:C.map(e=>(k(e),/* @__PURE__ */s(V,{handleRowClick:l,withSelect:o,selectedFlatRows:x,row:e,uniqueKey:h,dataTestId:m},`table_row_${h}_${e.id}`)))})]})})]})}export{ue as Table};
|
|
@@ -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']]>;
|
|
@@ -15,7 +16,7 @@ export type TColumn = Column & TColumnFields;
|
|
|
15
16
|
export interface IButtonPropTypes extends Omit<TButtonPropTypes, 'onClick'> {
|
|
16
17
|
onClick: (event: TClickEventType, data: any, clearRowSelection?: () => void) => void;
|
|
17
18
|
}
|
|
18
|
-
export type TTableProps = {
|
|
19
|
+
export type TTableProps = IBaseProps & {
|
|
19
20
|
className?: string;
|
|
20
21
|
columns: TColumn[];
|
|
21
22
|
data: any[];
|
|
@@ -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): void;
|
|
4
|
+
export declare function setSelectedRows(hooks: Hooks, withSelect: boolean, dataTestId?: string): void;
|
|
5
5
|
export declare function calcColumnWidth(percent: number, tableWidth: number): number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{jsx as
|
|
2
|
-
return
|
|
3
|
-
return
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{IndeterminateCheckbox as a}from"./IndeterminateCheckbox.js";const C="selection",E=48;function R(e,t,o=""){t&&e.visibleColumns.push(e=>[{id:C,Header:({getToggleAllRowsSelectedProps:e,rows:t,state:n,toggleRowSelected:l})=>{const i=t.filter(e=>!("enableSelection"in e.original)||e.original.enableSelection),s=i.every(e=>n.selectedRowIds[e.id]),c=i.some(e=>n.selectedRowIds[e.id]);/* @__PURE__ */
|
|
2
|
+
return r(a,{...e({checked:s,indeterminate:!s&&c,disabled:0===i.length}),dataTestId:o?`${o}-select-all`:"",onChange:e=>{const t=e.target.checked;i.forEach(e=>{l(e.id,t)})}})},Cell:({row:e})=>{const t="enableSelection"in e.original&&!e.original.enableSelection;/* @__PURE__ */
|
|
3
|
+
return r(a,{...e.getToggleRowSelectedProps({disabled:t}),dataTestId:o?`${o}-row-${e.index}-select`:""})}},...e])}function p(e,t){return e*t/100}export{E as CHECKBOX_DEFAULT_WIDTH,C as CHECKBOX_HEADER_ID,p as calcColumnWidth,R as setSelectedRows};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
1
2
|
import type { Table } from '@tanstack/react-table';
|
|
2
|
-
interface PaginationProps<T> {
|
|
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 }: PaginationProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function AdvancedPagination<TData>({ table, totalCount, buttonText, dataTestId }: PaginationProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import{jsxs as
|
|
2
|
-
/* @__PURE__ */
|
|
3
|
-
/* @__PURE__ */
|
|
4
|
-
/* @__PURE__ */
|
|
5
|
-
/* @__PURE__ */
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
/* @__PURE__ */
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
/* @__PURE__ */
|
|
12
|
-
/* @__PURE__ */
|
|
1
|
+
import{jsxs as a,jsx as o}from"react/jsx-runtime";import{useState as C,useEffect as x}from"react";import{Input as $}from"../Input/Input.js";import{Button as N}from"../Button/Button.js";import{Select as _}from"../Select/Select/Select.js";import"../Select/MultiSelect/MultiSelect.js";import z from"classnames";import{Text as S}from"../Text/Text.js";import"../../consts/index.js";import"../../context/types.js";import"../../hooks/useScreenSize.js";import"react-hook-form";import"dayjs";import"../../helperComponents/ErrorMessage/consts.js";import"../FileUpload/DropzoneFileUpload/DropzoneFileUpload.js";import"react-dom";import"../Checkbox/Checkbox.js";import"motion/react";import k from"../SVGIcons/IconChevronRight.js";import"../Collapse/CollapseGroup/CollapseGroup.js";import g from"../SVGIcons/IconMore.js";import"../Select/SharedComponents/ContentTop.js";import{OPTIONS as y}from"./constants/index.js";import R from"../SVGIcons/IconChevronLeft.js";import j from"../SVGIcons/IconChevronDoubleLeft.js";import A from"../SVGIcons/IconChevronDoubleRight.js";function te({table:e,totalCount:t,buttonText:s,dataTestId:i=""}){const[n,r]=C("1"),l=e.getState().pagination.pageIndex,c=e.getState().pagination.pageSize;return x(()=>{e.getPageCount()<Number(n)&&r("1")},[e.getPageCount(),e.getState().pagination]),/* @__PURE__ */a("div",{className:"advanced-table__pagination","data-test-id":i,children:[
|
|
2
|
+
/* @__PURE__ */o(_,{setSelectedItem:t=>(t=>{t&&e.setPagination({pageIndex:0,pageSize:Number(t)})})(t),selectedItem:`${c}`,className:"no-border",options:y,dataTestId:i?`${i}-page-size`:""}),
|
|
3
|
+
/* @__PURE__ */a("div",{className:"advanced-table__pagination__right",children:[
|
|
4
|
+
/* @__PURE__ */a(S,{type:"tertiary",children:[l*c+1," - ",(l+1)*c," / ",t]}),
|
|
5
|
+
/* @__PURE__ */a("div",{className:"flexbox align-items--center",children:[
|
|
6
|
+
/* @__PURE__ */o($,{currentValue:n,size:"small",onChange:t=>(t=>{(!t||/^[1-9]\d*$/.test(t)&&e.getPageCount()>=Number(t))&&r(t)})(t.target.value),className:"advanced-table__pagination__right__input mr-8",dataTestId:i?`${i}-page-input`:""}),
|
|
7
|
+
/* @__PURE__ */o(N,{onClick:()=>{const t=n?Number(n)-1:0;e.setPageIndex(t)},type:"secondary",size:"medium",buttonText:s??"Go to page",dataTestId:i?`${i}-goto`:""})]}),
|
|
8
|
+
/* @__PURE__ */a("ul",{className:"pagination","data-test-id":i?`${i}-pagination`:"",children:[
|
|
9
|
+
/* @__PURE__ */o("li",{className:"previous "+(e.getCanPreviousPage()?"":"disabled"),children:/* @__PURE__ */o("a",{rel:"prev",role:"button",onClick:()=>e.firstPage(),"data-test-id":i?`${i}-first`:"",children:/* @__PURE__ */o(j,{size:"small"})})}),
|
|
10
|
+
/* @__PURE__ */o("li",{className:"previous "+(e.getCanPreviousPage()?"":"disabled"),children:/* @__PURE__ */o("a",{rel:"prev",role:"button",onClick:()=>e.previousPage(),"data-test-id":i?`${i}-prev`:"",children:/* @__PURE__ */o(R,{size:"small"})})}),(()=>{const t=l,a=e.getPageCount(),o=[];return a<=7?Array.from({length:a},(e,t)=>t+1):(o.push(1),t<=3?o.push(2,3,4,5,"+++",a):t>a-5?o.push("---",a-4,a-3,a-2,a-1,a):o.push("---",t,t+1,t+2,"+++",a),o)})().map((t,a)=>"---"===t?/* @__PURE__ */o("li",{className:"pagination__more",children:/* @__PURE__ */o("a",{role:"button",onClick:()=>e.setPageIndex(+l-3),"data-test-id":i?`${i}-ellipsis-prev`:"",children:/* @__PURE__ */o(g,{size:"small"})})},`ellipsis-${a}`):"+++"===t?/* @__PURE__ */o("li",{className:"pagination__more",children:/* @__PURE__ */o("a",{role:"button",onClick:()=>e.setPageIndex(+l+3),"data-test-id":i?`${i}-ellipsis-next`:"",children:/* @__PURE__ */o(g,{size:"small"})})},`ellipsis-${a}`):/* @__PURE__ */o("li",{className:z({active:t===l+1}),children:/* @__PURE__ */o("a",{role:"button",onClick:()=>e.setPageIndex(+t-1),"data-test-id":i?`${i}-page-${t}`:"",children:t})},t)),
|
|
11
|
+
/* @__PURE__ */o("li",{className:"next "+(e.getCanNextPage()?"":"disabled"),children:/* @__PURE__ */o("a",{rel:"next",role:"button",onClick:()=>e.nextPage(),"data-test-id":i?`${i}-next`:"",children:/* @__PURE__ */o(k,{size:"small"})})}),
|
|
12
|
+
/* @__PURE__ */o("li",{className:"next "+(e.getCanNextPage()?"":"disabled"),children:/* @__PURE__ */o("a",{rel:"next",role:"button",onClick:()=>e.lastPage(),"data-test-id":i?`${i}-last`:"",children:/* @__PURE__ */o(A,{size:"small"})})})]})]})]})}export{te as AdvancedPagination};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
1
2
|
import type { CSSProperties } from 'react';
|
|
2
3
|
import type { Header } from '@tanstack/react-table';
|
|
3
|
-
interface DraggableColumnHeaderProps<TData> {
|
|
4
|
+
interface DraggableColumnHeaderProps<TData> extends IBaseProps {
|
|
4
5
|
header: Header<TData, unknown>;
|
|
5
6
|
isPinned?: boolean;
|
|
6
7
|
pinnedStyles: CSSProperties;
|
|
7
8
|
}
|
|
8
|
-
export declare function ColumnHeader<TData>({ header, pinnedStyles }: DraggableColumnHeaderProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function ColumnHeader<TData>({ header, pinnedStyles, dataTestId }: DraggableColumnHeaderProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{jsxs as
|
|
2
|
-
return
|
|
3
|
-
/* @__PURE__ */
|
|
4
|
-
/* @__PURE__ */t("div",{...
|
|
5
|
-
/* @__PURE__ */t("span",{className:"ml-4",children:e.column.getCanSort()&&("asc"===e.column.getIsSorted()?/* @__PURE__ */t(d,{size:"xsmall"}):"desc"===e.column.getIsSorted()?/* @__PURE__ */t(
|
|
6
|
-
/* @__PURE__ */t("div",{onMouseDown:e.getResizeHandler(),onTouchStart:e.getResizeHandler(),className:"resize-icon select-none touch-none"})]})}export{
|
|
1
|
+
import{jsxs as s,jsx as t}from"react/jsx-runtime";import{flexRender as g}from"@tanstack/react-table";import{useSortable as x}from"@dnd-kit/sortable";import f from"../SVGIcons/IconArrowDown.js";import p from"../SVGIcons/IconArrowSort.js";import d from"../SVGIcons/IconArrowUp.js";import{Text as z}from"../Text/Text.js";import S from"classnames";function I({header:e,pinnedStyles:o,dataTestId:n=""}){const{attributes:r,listeners:i,setNodeRef:a,transform:l,transition:c,isDragging:m}=x({id:e.id}),u=l?{transform:`translate3d(${l.x}px, ${l.y}px, 0)`,transition:c,minWidth:e.getSize(),position:"relative",zIndex:m?1:0}:{minWidth:e.getSize(),position:"relative",zIndex:m?1:0};/* @__PURE__ */
|
|
2
|
+
return s("th",{ref:a,"data-test-id":n?`${n}-header-${e.column.id}`:"",style:{...u,...o},className:S("select-none",{"with-checkbox":"select"===e.column.id,"actions-header":"actions"===e.column.id,"cursor-pointer":e.column.getCanSort()}),...r,children:[
|
|
3
|
+
/* @__PURE__ */s("div",{onClick:e.column.getToggleSortingHandler(),"data-test-id":n?`${n}-sort-${e.column.id}`:"",className:"flexbox align-items--center",children:[
|
|
4
|
+
/* @__PURE__ */t("div",{...i,children:/* @__PURE__ */t(z,{className:"text-left",weight:"bold",children:g(e.column.columnDef.header,e.getContext())})}),
|
|
5
|
+
/* @__PURE__ */t("span",{className:"ml-4",children:e.column.getCanSort()&&("asc"===e.column.getIsSorted()?/* @__PURE__ */t(d,{size:"xsmall"}):"desc"===e.column.getIsSorted()?/* @__PURE__ */t(f,{size:"xsmall"}):/* @__PURE__ */t(p,{size:"xsmall"}))})]}),
|
|
6
|
+
/* @__PURE__ */t("div",{onMouseDown:e.getResizeHandler(),onTouchStart:e.getResizeHandler(),className:"resize-icon select-none touch-none"})]})}export{I as ColumnHeader};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
1
2
|
import React from 'react';
|
|
2
|
-
|
|
3
|
+
export declare const IndeterminateCheckbox: React.ForwardRefExoticComponent<IBaseProps & {
|
|
3
4
|
indeterminate: boolean;
|
|
4
5
|
checked: boolean;
|
|
5
6
|
onChange: (e: {
|
|
@@ -8,6 +9,4 @@ type IndeterminateCheckboxProps = {
|
|
|
8
9
|
};
|
|
9
10
|
}) => void;
|
|
10
11
|
disabled?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const IndeterminateCheckbox: React.ForwardRefExoticComponent<IndeterminateCheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
13
|
-
export {};
|
|
12
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as c}from"react/jsx-runtime";import{forwardRef as
|
|
2
|
-
return c("div",{className:"actions-list",children:/* @__PURE__ */c(
|
|
1
|
+
import{jsx as c}from"react/jsx-runtime";import{forwardRef as f,useRef as d,useEffect as h}from"react";import{Checkbox as u}from"../Checkbox/Checkbox.js";import x from"classnames";const k=f(({indeterminate:e,checked:a,onChange:t,disabled:s,dataTestId:r=""},o)=>{const i=d(null),n=o??i;h(()=>{n.current.indeterminate=e},[n,e]);/* @__PURE__ */
|
|
2
|
+
return c("div",{className:"actions-list",children:/* @__PURE__ */c(u,{className:x("actions-list__checkbox",{"active-checkbox":a}),value:a,disabled:s,onClick:e=>{t({target:{checked:e}})},ref:n,dataTestId:r})})});k.displayName="IndeterminateCheckbox";export{k as 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, 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;
|
|
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;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{jsx as t,jsxs as
|
|
2
|
-
return
|
|
3
|
-
/* @__PURE__ */t("div",{className:
|
|
4
|
-
/* @__PURE__ */t("div",{children:/* @__PURE__ */t("table",{style:
|
|
5
|
-
/* @__PURE__ */t("thead",{className:
|
|
6
|
-
/* @__PURE__ */t("tbody",{children:
|
|
7
|
-
/* @__PURE__ */t("tr",{className:
|
|
8
|
-
/* @__PURE__ */t(
|
|
1
|
+
import{jsx as t,jsxs as p,Fragment as Z}from"react/jsx-runtime";import F,{useState as G,useCallback as T,useMemo as y}from"react";import{flexRender as v}from"@tanstack/react-table";import{DndContext as I,closestCenter as ee,DragOverlay as ne}from"@dnd-kit/core";import{SortableContext as te,horizontalListSortingStrategy as ie}from"@dnd-kit/sortable";import{ColumnHeader as le}from"./ColumnHeader.js";import oe from"react-loading-skeleton";import{useTableControl as ae}from"./hooks/useTableControl.js";import{Text as se}from"../Text/Text.js";import a from"classnames";import{Empty as re}from"../Empty/Empty.js";import{Button as ce}from"../Button/Button.js";import de from"../SVGIcons/IconChevronDown.js";import me from"../SVGIcons/IconChevronUp.js";import"react-loading-skeleton/dist/skeleton.css";const ge=({row:e,expandedRows:n,onToggle:l,dataTestId:o=""})=>{var i,d,r;return(null==(i=e.original)?void 0:i.subRows)&&(null==(r=null==(d=e.original)?void 0:d.subRows)?void 0:r.length)>0?/* @__PURE__ */t(ce,{type:"tertiary",size:"medium",className:a("advanced-table__expand-button"),iconProps:{Component:n.has(e.id)?me:de},dataTestId:o?`${o}-expand-${e.index}`:"",onClick:t=>{t.stopPropagation(),l(e.id)}}):null};function _e({data:e,dataTestId:n="",columns:l,isLoading:o,hasError:i,isActionsVisible:d=!1,totalCount:r=0,emptyTitle:s,emptySubTitle:c,emptyIllustration:m,withSelect:g=!1,withBorder:h=!0,defaultPageIndex:u,defaultPageSize:b,defaultHiddenColumns:S,collapsibleRows:x=!1,renderExpandedContent:C,renderHeader:w,renderFooter:f,onSortChange:z,onRowClick:k,tableSettings:$,onRowSelection:D,onColumnSizing:P,onPaginationChange:_}){const[R,j]=G(/* @__PURE__ */new Set),N=T(e=>{j(t=>{const a=new Set(t);return a.has(e)?a.delete(e):a.add(e),a})},[]),E=y(()=>({id:"expand",accessorKey:"expand",header:()=>/* @__PURE__ */t("span",{style:{display:"none"},children:"Expand"}),size:50,minSize:50,maxSize:50,cell:({row:e})=>/* @__PURE__ */t(ge,{row:e,expandedRows:R,onToggle:N,dataTestId:n}),meta:{enableHiding:!1,enableColumnDragging:!1,enablePinning:!0,enableResizing:!1,headerVisible:!1,enableSorting:!1}}),[R,N,n]),{table:H,sensors:V,handleDragStart:A,handleDragEnd:B,handleDragCancel:M,activeHeader:L}=ae({data:e,dataTestId:n,tableSettings:$,columns:x?[E,...l]:l,withSelect:g,totalCount:r,defaultPageIndex:u,defaultPageSize:b,defaultHiddenColumns:S,onSortChange:z,onRowSelection:D,onColumnSizing:P,onPaginationChange:_}),W=null==w?void 0:w(H),K=null==f?void 0:f(H),O=e=>{const t=e.getIsPinned();return{left:"left"===t?`${e.getStart("left")}px`:void 0,right:"right"===t?`${e.getAfter("right")}px`:void 0,position:t?"sticky":"relative",backgroundColor:t?"white":void 0,minWidth:e.getSize(),zIndex:t?1:0}},U=y(()=>({minWidth:null!=e&&e.length?H.getCenterTotalSize():void 0}),[null==e?void 0:e.length,H]),q=y(()=>Array.from({length:H.getState().pagination.pageSize}),[H.getState().pagination.pageSize]);/* @__PURE__ */
|
|
2
|
+
return p("div",{"data-test-id":n,className:a("advanced-table",{"with-border":h}),children:[W,
|
|
3
|
+
/* @__PURE__ */t("div",{className:a("advanced-table__inner scrollbar scrollbar--horizontal scrollbar--vertical"),children:/* @__PURE__ */p(I,{sensors:V,collisionDetection:ee,onDragStart:A,onDragEnd:B,onDragCancel:M,children:[
|
|
4
|
+
/* @__PURE__ */t("div",{children:/* @__PURE__ */t("table",{style:U,children:o||null!=e&&e.length&&!i?/* @__PURE__ */p(Z,{children:[
|
|
5
|
+
/* @__PURE__ */t("thead",{className:a("advanced-table__thead"),children:H.getHeaderGroups().map(e=>/* @__PURE__ */t("tr",{children:/* @__PURE__ */t(te,{items:e.headers.map(e=>e.id),strategy:ie,children:e.headers.map(e=>"actions"!==e.id||d?/* @__PURE__ */t(le,{pinnedStyles:{...O(e.column)},header:e,dataTestId:n},e.id):null)})},e.id))}),
|
|
6
|
+
/* @__PURE__ */t("tbody",{children:o?q.map((e,l)=>/* @__PURE__ */t("tr",{"data-test-id":n?`${n}-loader-row-${l}`:"",children:H.getVisibleFlatColumns().map(e=>/* @__PURE__ */t("td",{className:a({"with-checkbox":"select"===e.id,"pinned-cell":e.getIsPinned(),"action-column":"actions"===e.id&&!d}),style:{...O(e)},children:/* @__PURE__ */t(oe,{})},e.id))},`skeleton-row-${l}`)):H.getRowModel().rows.map(e=>/* @__PURE__ */p(F.Fragment,{children:[
|
|
7
|
+
/* @__PURE__ */t("tr",{className:a({selected:e.getIsSelected()}),"data-test-id":n?`${n}-row-${e.index}`:"",children:e.getVisibleCells().map(l=>/* @__PURE__ */t("td",{className:a({"with-checkbox":"select"===l.column.id,"pinned-cell":l.column.getIsPinned(),"action-column":"actions"===l.column.id&&!d,"expand-column":"expand"===l.column.id}),id:l.id,"data-test-id":n?`${n}-row-${e.index}-cell-${l.column.id}`:"",onClick:()=>((e,t)=>{"actions"!==e.id&&"select"!==e.id&&k&&k(t)})(l.column,e),style:{...O(l.column)},children:"actions"!==l.column.id||d?v(l.column.columnDef.cell,l.getContext()):/* @__PURE__ */t("div",{className:a("actions-list__right"),children:v(l.column.columnDef.cell,l.getContext())})},l.id))}),x&&R.has(e.id)&&C&&/* @__PURE__ */t("tr",{className:a("advanced-table__expanded-row"),"data-test-id":n?`${n}-row-${e.index}-expanded`:"",children:/* @__PURE__ */t("td",{colSpan:e.getVisibleCells().length,children:C(e)})})]},e.id))})]}):/* @__PURE__ */t(re,{mainMessage:s,paragraphMessage:c,illustration:m,dataTestId:n?`${n}-empty`:""})})}),
|
|
8
|
+
/* @__PURE__ */t(ne,{dropAnimation:null,children:L&&/* @__PURE__ */t("table",{style:{width:L.getSize()},children:/* @__PURE__ */t("thead",{children:/* @__PURE__ */t("tr",{children:/* @__PURE__ */t("th",{className:a("draggable-col"),style:{width:L.getSize()},children:/* @__PURE__ */t(se,{weight:"bold",children:v(L.column.columnDef.header,L.getContext())})})})})})})]})}),!!e.length&&!i&&K]})}export{_e as Table};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DragEndEvent, DragStartEvent } from '@dnd-kit/core';
|
|
2
2
|
import type { Column, TTableProps } from '../types';
|
|
3
|
-
export declare function useTableControl<TData>({ withSelect, columns, data, tableSettings, totalCount, defaultPageSize, defaultPageIndex, defaultHiddenColumns, onSortChange, onRowSelection, onColumnSizing, onPaginationChange }: TTableProps<TData>): {
|
|
3
|
+
export declare function useTableControl<TData>({ withSelect, columns, data, dataTestId, tableSettings, totalCount, defaultPageSize, defaultPageIndex, defaultHiddenColumns, onSortChange, onRowSelection, onColumnSizing, onPaginationChange }: TTableProps<TData>): {
|
|
4
4
|
table: import("@tanstack/react-table").Table<TData>;
|
|
5
5
|
activeHeader: import("@tanstack/react-table").Header<TData, unknown> | null | undefined;
|
|
6
6
|
sensors: import("@dnd-kit/core").SensorDescriptor<import("@dnd-kit/core").SensorOptions>[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as L}from"react/jsx-runtime";import{useReactTable as te,getPaginationRowModel as ce,getSortedRowModel as le,getCoreRowModel as re}from"@tanstack/react-table";import{useSensors as me,useSensor as P,MouseSensor as de,TouchSensor as ae}from"@dnd-kit/core";import{useState as t,useMemo as D,useEffect as ue}from"react";import{IndeterminateCheckbox as N}from"../IndeterminateCheckbox.js";import{arrayMove as ge}from"@dnd-kit/sortable";import{loadTableSettings as fe}from"../loadTableSettings.js";import{useTableColumnSettings as he}from"./useTableColumnSettings.js";import{STORAGE_TYPE as b,TABLE_NAME_PREFIX as Ce}from"../constants/index.js";function ze({withSelect:e,columns:n,data:o,dataTestId:i="",tableSettings:a,totalCount:l=0,defaultPageSize:s=10,defaultPageIndex:d=0,defaultHiddenColumns:r=[],onSortChange:c,onRowSelection:u,onColumnSizing:g,onPaginationChange:m}){var S;const C=(null==a?void 0:a.persistColumnSettings)===b.LOCAL,f=(null==a?void 0:a.persistColumnSettings)===b.EXTERNAL,h=`${Ce}-${null==a?void 0:a.tableName}`,p=C&&h?fe(h):{columnVisibility:{},columnSizing:{},columnOrder:[]},[R,v]=t(null),[w,T]=t([]),[y,z]=t({}),[I,M]=t(p.columnSizing??{}),[x,E]=t({...r.reduce((e,n)=>(e[n]=!1,e),{}),...p.columnVisibility}),[O,k]=t({pageIndex:d,pageSize:s}),A=D(()=>{const t=[...n].map(e=>"actions"===e.id?{...e,enableColumnDragging:!1,enableSorting:!1,enableResizing:!1,enableHiding:!1}:e);return e&&t.unshift({id:"select",enableHiding:!1,enableColumnDragging:!1,enablePinning:!0,header:({table:e})=>/* @__PURE__ */L(N,{checked:e.getIsAllRowsSelected(),indeterminate:e.getIsSomeRowsSelected(),onChange:e.getToggleAllRowsSelectedHandler(),dataTestId:i?`${i}-select-all`:""}),cell:({row:e})=>/* @__PURE__ */L(N,{checked:e.getIsSelected(),disabled:!e.getCanSelect(),indeterminate:e.getIsSomeSelected(),onChange:e.getToggleSelectedHandler(),dataTestId:i?`${i}-row-${e.index}-select`:""})}),t},[n,i]),[H,j]=t(null!=(S=p.columnOrder)&&S.length&&p.columnOrder.length===A.length?p.columnOrder:A.map(e=>e.id)),V=H.map(e=>A.find(n=>n.id===e)),$=null==r?void 0:r.reduce((e,n)=>(e[n]=!1,e),{}),_=D(()=>{const e=[];return A.forEach(n=>{n.enablePinning&&n.id&&e.push(n.id)}),{left:e,right:["actions"]}},[A]),G=te({data:o,columns:V,pageCount:Math.ceil(l/O.pageSize),state:{sorting:w,pagination:O,columnOrder:H,columnSizing:I,rowSelection:y,columnVisibility:{...$,...x},columnPinning:_},onPaginationChange:e=>{const n="function"==typeof e?e(O):e;k(n),null==m||m(n)},onColumnSizingChange:e=>{const n="function"==typeof e?e(I):e;M(n),null==g||g(n)},onSortingChange:e=>{const n="function"==typeof e?e(w):e;T(n);const t=n.map(e=>({column:e.id??"",direction:e.desc?"desc":!!e.id&&"asc",timestamp:Date.now()}));null==c||c(t)},onRowSelectionChange:e=>{const n="function"==typeof e?e(y):e;z(n),null==u||u(n)},onColumnVisibilityChange:E,getCoreRowModel:re(),getSortedRowModel:le(),getPaginationRowModel:ce(),columnResizeMode:"onChange",manualSorting:!!c,manualPagination:!!m,enableRowSelection:!0,enableColumnResizing:!0,isMultiSortEvent:()=>!0});he(G,h,C);const X=me(P(de,{activationConstraint:{distance:8}}),P(ae,{activationConstraint:{delay:200,tolerance:5}})),B=R?G.getHeaderGroups()[0].headers.find(e=>e.id===R):null;return ue(()=>{var e;const n={columnVisibility:x,columnOrder:H,columnSizing:I};if(C&&a.tableName){const e=JSON.stringify(n);localStorage.setItem(h,e)}f&&(null==(e=null==a?void 0:a.onColumnSettingsChange)||e.call(a,n))},[x,H,I]),{table:G,activeHeader:B,sensors:X,memoizedColumns:A,handleDragCancel:()=>{v(null),document.body.classList.remove("select-none")},handleDragEnd:e=>{const{active:n,over:t}=e;if(t&&n.id!==t.id){const e=H.indexOf(n.id),o=H.indexOf(t.id),i=V[o];if(!1===(null==i?void 0:i.enableColumnDragging))return;const a=ge(H,e,o);j(a)}v(null),document.body.classList.remove("select-none")},handleDragStart:e=>{v(e.active.id),document.body.classList.add("select-none")}}}export{ze as useTableControl};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
1
2
|
import type { ColumnDef, ColumnSizingState, PaginationState, RowSelectionState, Table, Row } from '@tanstack/react-table';
|
|
2
3
|
import type { ReactNode } from 'react';
|
|
3
4
|
export type TTable<TData> = Table<TData>;
|
|
@@ -5,7 +6,7 @@ export type TRowSelectionState = RowSelectionState;
|
|
|
5
6
|
export type TColumnSizingState = ColumnSizingState;
|
|
6
7
|
export type TPaginationState = PaginationState;
|
|
7
8
|
export type TPersistColumnSettings = 'localStorage' | 'external';
|
|
8
|
-
export type TTableProps<TData> = {
|
|
9
|
+
export type TTableProps<TData> = IBaseProps & {
|
|
9
10
|
data: (TData & {
|
|
10
11
|
subRows?: TData[];
|
|
11
12
|
})[];
|
|
@@ -58,7 +59,7 @@ export interface TableData {
|
|
|
58
59
|
subRows: TableData[];
|
|
59
60
|
[key: string]: unknown;
|
|
60
61
|
}
|
|
61
|
-
export interface ExpandColumnProps<TData> {
|
|
62
|
+
export interface ExpandColumnProps<TData> extends IBaseProps {
|
|
62
63
|
row: Row<TData>;
|
|
63
64
|
expandedRows: Set<string>;
|
|
64
65
|
onToggle: (rowId: string) => void;
|
package/components/Text/Text.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as p}from"react/jsx-runtime";import h from"classnames";import{noop as y}from"../../utils/helpers.js";const x=
|
|
2
|
-
return p(l,{id:n,title:c,"data-id":d,onClick:m,className:h("body",
|
|
1
|
+
import{jsx as p}from"react/jsx-runtime";import h from"classnames";import{noop as y}from"../../utils/helpers.js";const x=t=>{const{children:e,className:s="",type:i="primary",size:r="standard",weight:a="regular",lineHeight:o="medium",as:l="p",dataTestId:d="",onClick:m=y,id:n="",title:c}=t;/* @__PURE__ */
|
|
2
|
+
return p(l,{id:n,title:c,"data-test-id":d,onClick:m,className:h("body",r&&`body-${r}`,i&&`color-${i}`,a,o&&`lh-${o}`,s),children:e})};export{x as Text};
|