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
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{jsx as u,jsxs as
|
|
2
|
-
return u(L,{dropdownRef:v,isOpen:z,setIsOpen:E,containerRef:
|
|
3
|
-
/* @__PURE__ */u(
|
|
1
|
+
import{jsx as u,jsxs as V,Fragment as X}from"react/jsx-runtime";import{forwardRef as Y,useState as l,useMemo as Z,useEffect as T,useId as $}from"react";import{OptionsWrapper as ee}from"./OptionsWrapper.js";import{Footer as oe}from"../SharedComponents/Footer.js";import"classnames";import"react-dom";import"../../../consts/index.js";import"../../../context/types.js";import{useOnOutsideClick as te}from"../../../hooks/useOnOutsideClick.js";import"../../../hooks/useScreenSize.js";import"react-hook-form";import"dayjs";import"../../../helperComponents/ErrorMessage/consts.js";import"../../FileUpload/DropzoneFileUpload/DropzoneFileUpload.js";import"../../Checkbox/Checkbox.js";import"motion/react";import"../../Collapse/CollapseGroup/CollapseGroup.js";import"../SharedComponents/ContentTop.js";import{InputSelectWrapper as re}from"../SharedComponents/InputSelectWrapper/InputSelectWrapper.js";import{ButtonSelectWrapper as ne}from"../SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js";import{useIsMobile as se}from"../../../hooks/useGetIsMobile.js";import{SELECT_TRANSLATIONS as le}from"../localization.js";const ie=Y((e,o)=>{const{isMobileFullScreen:t=!0,options:s,footerButtonProps:r,selectedItems:n,setSelectedItems:a,name:i,setFieldValue:p,value:d,label:c,placeHolder:m,isRequiredField:f,labelAddons:h,className:S="",disabled:I,dropdownWidth:j,align:C="left",size:b,isButtonSelect:x,checkboxInfo:O,translations:g,hasError:F,language:W="en",hideSelectedOptions:k=!1,dataTestId:w,...R}=e,[v,M]=l(null),y=d||n||[],[z,E]=l(!1),[A,B]=l(y),[N,D]=l(null),G=()=>E(!1),U=Z(()=>(null==A?void 0:A.length)!==(null==y?void 0:y.length)||-1!==(null==A?void 0:A.findIndex(e=>-1===(null==y?void 0:y.findIndex(o=>o.value===e.value)))),[A,y]);T(()=>{B(d||[])},[d]),T(()=>{n&&B(n||[])},[n]);const q=()=>{B(y),G()};te(N,q,z,$());const H=(e=!1)=>{((e,o)=>{a&&a(e,o),i&&p&&p(i,e),G()})(A,e)},L=x?ne:re,P={...le[W],...g},Y=se();/* @__PURE__ */
|
|
2
|
+
return u(L,{dataTestId:w,dropdownRef:v,isOpen:z,setIsOpen:E,containerRef:N,setContainerRef:D,dropdownWidth:j,setDropdownRef:M,size:b,label:c,align:C,disabled:I,className:S,labelAddons:h,placeHolder:m,selectedValues:A,isRequiredField:f,overflowText:P.overflowText,hasError:F,applySelectedItems:H,isMobile:Y&&t,hideSelectedOptions:k,children:/* @__PURE__ */V(X,{children:[
|
|
3
|
+
/* @__PURE__ */u(ee,{options:s,dataTestId:w,isOpen:z,translations:P,setIsOpen:E,dropdownRef:v,openDropdown:()=>E(!0),selectedValues:A,setSelectedValues:B,containerRef:N,dropdownWidth:j,isMobileFullScreen:t,applySelectedItems:H,...R}),!s.length||Y&&t?null:/* @__PURE__ */u(oe,{dataTestId:w,checkboxInfo:O,hasChange:U,buttonProps:r,onCancel:q,onApply:H,language:W})]})})});ie.displayName="MultiSelect";export{ie as MultiSelect};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{jsxs as p,Fragment as
|
|
2
|
-
return p(
|
|
3
|
-
/* @__PURE__ */t("div",{ref:A,className:"select__options__scroll scrollbar scrollbar--vertical "+(
|
|
1
|
+
import{jsxs as p,Fragment as Z,jsx as t}from"react/jsx-runtime";import{useState as u,useMemo as g,useCallback as k}from"react";import{Text as ee}from"../../../Text/Text.js";import{Divider as te}from"../../../Divider/Divider.js";import{Empty as le}from"../../../Empty/Empty.js";import{useGetElemSizes as oe}from"../../../../hooks/useGetElemSizes.js";import"../../../../consts/index.js";import"../../../../context/types.js";import"../../../../hooks/useScreenSize.js";import"react-hook-form";import{OptionItem as z}from"../../../../helperComponents/OptionItem/OptionItem.js";import"classnames";import"../../../Checkbox/Checkbox.js";import"react-dom";import"motion/react";import"dayjs";import"../../../Collapse/CollapseGroup/CollapseGroup.js";import{ContentTop as re}from"../../SharedComponents/ContentTop.js";import"../../../Input/Input.js";import{DROPDOWN_MAX_HEIGHT as se}from"../../constants.js";import ae from"../../../SVGIcons/IconCaretUpFilled.js";import ie from"../../../SVGIcons/IconCaretDownFilled.js";import{filterSearchData as ne}from"../../Select/helpers.js";import{getOptionDataTestId as ce}from"../../helper.js";const Re=e=>{const{isMobile:s,options:o,helperText:a,translations:l,selectedValues:r,onItemSelect:i,onItemDeselect:n,setSelectedValues:m,isSearchAvailable:c,labelLeftIconProps:d,scrollableContentStyle:h,optionRightIconComponent:I,labelRightIconComponent:f,maxSelectCount:v,menuOptions:x,dataTestIdPrefix:S,dataTestId:C,closeDropdown:b}=e,{emptyListMainMessage:j,emptyListSecondaryMessage:_}=l,[y,T]=u(""),[D,M]=u(0),[G,N]=u(!1),[O,A]=u(null),{scrollHeight:R}=oe(O),E=g(()=>y?o.reduce((e,t)=>{const{data:s,title:o}=t,a=ne(s,y);return a.length?[...e,{title:o,data:a}]:e},[]):o,[y,o]),V=k(()=>{N(!1),m([])},[]),L=k(()=>{N(!0);const e=E.reduce((e,{data:t})=>[...e,...t.map(e=>({value:e.value,label:e.label}))],[]);m(e)},[E]),P=g(()=>o.reduce((e,t)=>{const{data:s}=t;return[...e,...s.filter(e=>-1!==r.findIndex(t=>t.value===e.value))]},[]),[o,r]),H=e=>{N(!1),n(e)},w=g(()=>({isCheckbox:!0,labelLeftIconProps:d,optionRightIconComponent:I,labelRightIconComponent:f,className:"group-item__option"}),[d,I,f]),F=c||a;/* @__PURE__ */
|
|
2
|
+
return p(Z,{children:[F?/* @__PURE__ */t(re,{closeDropdown:b,dataTestId:C,dataTestIdPrefix:S,menuOptions:x,isSearchAvailable:c||s,hasLimitation:!!v,selectAll:L,clearAll:V,isAnySelected:0!==r.length,helperText:a,isSelectAllDisabled:G||0===E.length,setSearchValue:T,searchValue:y,translations:l}):null,
|
|
3
|
+
/* @__PURE__ */t("div",{ref:A,className:"select__options__scroll scrollbar scrollbar--vertical "+(R>se?"mr-6":""),style:h,children:/* @__PURE__ */p("div",{children:[c&&/* @__PURE__ */t("div",{className:"selected-items",children:P.map(e=>/* @__PURE__ */t(z,{isSelected:!0,data:e,onClick:H,disabled:e.disabled,...w},e.value))}),F?/* @__PURE__ */t(te,{type:"primary",isHorizontal:!0}):null,E.map(({title:e,data:s},o)=>{var a;const l=o===D;/* @__PURE__ */
|
|
4
4
|
return p("div",{className:"select__group group-item",children:[
|
|
5
|
-
/* @__PURE__ */p("div",{onClick:()=>(e=>{M(D!=e?e:null)})(
|
|
6
|
-
/* @__PURE__ */t(
|
|
7
|
-
return t(z,{data:e,
|
|
5
|
+
/* @__PURE__ */p("div",{onClick:()=>(e=>{M(D!=e?e:null)})(o),className:"group-item__top",children:[
|
|
6
|
+
/* @__PURE__ */t(ee,{size:"xxsmall",type:"tertiary",className:"group-item__title pr-4",children:e}),/* @__PURE__ */t(l?ae:ie,{size:"xxsmall",className:"group-item__icon"})]}),l&&s.map((e,s)=>{const o=-1!==r.findIndex(t=>t.value===e.value);/* @__PURE__ */
|
|
7
|
+
return t(z,{data:e,dataTestId:ce(C,e.value,s)||e.dataTestId,isSelected:o,disabled:e.disabled||!o&&r.length===v,onClick:o?H:i,...w},e.value)})]},`${null==(a=s[0])?void 0:a.value}_${o}`)})]})}),0===E.length?/* @__PURE__ */t(le,{size:"small",mainMessage:j,paragraphMessage:_}):null]})};export{Re as MultiSelectGrouped};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{jsxs as y,Fragment as
|
|
2
|
-
return y(
|
|
3
|
-
/* @__PURE__ */
|
|
4
|
-
/* @__PURE__ */
|
|
5
|
-
/* @__PURE__ */y("div",{ref:
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
return
|
|
1
|
+
import{jsxs as y,Fragment as Q,jsx as s}from"react/jsx-runtime";import{useState as m,useMemo as d,useCallback as A}from"react";import{Divider as U}from"../../../Divider/Divider.js";import{Empty as Y}from"../../../Empty/Empty.js";import{Tab as Z}from"../../../Tab/Tab.js";import{useGetElemSizes as ee}from"../../../../hooks/useGetElemSizes.js";import"../../../../consts/index.js";import"../../../../context/types.js";import"../../../../hooks/useScreenSize.js";import"react-hook-form";import{OptionItem as V}from"../../../../helperComponents/OptionItem/OptionItem.js";import"classnames";import"../../../Checkbox/Checkbox.js";import"react-dom";import"motion/react";import"dayjs";import"../../../Collapse/CollapseGroup/CollapseGroup.js";import{ContentTop as te}from"../../SharedComponents/ContentTop.js";import"../../../Input/Input.js";import{DROPDOWN_MAX_HEIGHT as ae}from"../../constants.js";import{filterSearchData as le}from"../../Select/helpers.js";import{getOptionDataTestId as se}from"../../helper.js";const Ve=e=>{const{options:t,scrollableContentStyle:a,selectedValues:o,onItemSelect:l,onItemDeselect:i,setSelectedValues:r,labelLeftIconProps:n,optionRightIconComponent:p,labelRightIconComponent:c,helperText:u,translations:h,isSearchAvailable:b,maxSelectCount:I,menuOptions:f,dataTestIdPrefix:S,dataTestId:v,closeDropdown:j}=e,{emptyListMainMessage:C,emptyListSecondaryMessage:x}=h,[g,T]=m(null),[D,k]=m(0),{scrollHeight:O}=ee(g),[M,_]=m(!1),[z,E]=m(""),G=t[D].data,L=d(()=>le(G,z),[z,G]),P=A(()=>{_(!1);const e=o.filter(e=>-1===G.map(e=>e.value).indexOf(e.value));r(e)},[o,D,G]),R=e=>{_(!1),i(e)},H=A(()=>{_(!0);const e=L.map(e=>{const{value:t,label:s}=e;return{value:t,label:s}});r(o.concat(e))},[D,o,L]),N=d(()=>t.map((e,t)=>({label:e.title,value:t})),[t]),w=d(()=>t.reduce((e,t)=>{const{data:s}=t;return[...e,...s.filter(e=>-1!==o.findIndex(t=>t.value===e.value))]},[]),[t,o]),W=d(()=>({isCheckbox:!0,labelLeftIconProps:n,optionRightIconComponent:p,labelRightIconComponent:c}),[n,p,c]);/* @__PURE__ */
|
|
2
|
+
return y(Q,{children:[
|
|
3
|
+
/* @__PURE__ */s("div",{className:"tab_container",style:{padding:"0 20px",width:"100%"},children:/* @__PURE__ */s(Z,{selectedValue:D,tabItems:N,onSelect:e=>{k(e),E("")},size:"small"})}),
|
|
4
|
+
/* @__PURE__ */s(te,{closeDropdown:j,dataTestId:v,dataTestIdPrefix:S,menuOptions:f,isSearchAvailable:b,clearAll:P,selectAll:H,helperText:u,searchValue:z,translations:h,setSearchValue:E,hasLimitation:!!I,isAnySelected:0===o.length,isSelectAllDisabled:M||0===L.length}),
|
|
5
|
+
/* @__PURE__ */y("div",{ref:T,className:"select__options__scroll scrollbar scrollbar--vertical "+(O>ae?"mr-6":""),style:a,children:[b&&/* @__PURE__ */s("div",{className:"selected_container",children:w.map(e=>/* @__PURE__ */s(V,{data:e,onClick:R,disabled:e.disabled,isSelected:!0,...W},e.value))}),
|
|
6
|
+
/* @__PURE__ */s(U,{type:"primary",isHorizontal:!0}),L.map((e,t)=>{const a=-1!==o.findIndex(t=>t.value===e.value);/* @__PURE__ */
|
|
7
|
+
return s(V,{data:e,dataTestId:se(v,e.value,t)||e.dataTestId,onClick:a?R:l,disabled:e.disabled||!a&&o.length===I,isSelected:a,...W},e.value)}),0===L.length?/* @__PURE__ */s(Y,{size:"small",mainMessage:C,paragraphMessage:x}):null]})]})};export{Ve as MultiSelectWithTabs};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsxs as j,jsx as
|
|
2
|
-
/* @__PURE__ */
|
|
3
|
-
return j("div",{className:"select select--multi",ref:
|
|
4
|
-
/* @__PURE__ */
|
|
1
|
+
import{jsxs as j,jsx as i}from"react/jsx-runtime";import{useState as p,useRef as q,useId as A,useCallback as $}from"react";import{Input as H}from"../../Input/Input.js";import{OptionItem as M}from"../../../helperComponents/OptionItem/OptionItem.js";import{useGetElemSizes as U}from"../../../hooks/useGetElemSizes.js";import{useGetElemPositions as B}from"../../../hooks/useGetElemPositions.js";import"../../../consts/index.js";import"../../../context/types.js";import{useOnOutsideClick as J}from"../../../hooks/useOnOutsideClick.js";import"../../../hooks/useScreenSize.js";import"react-hook-form";import K from"../../SVGIcons/IconChevronUp.js";import g from"../../SVGIcons/IconChevronDown.js";import{getOptionDataTestId as Q}from"../helper.js";const W=10,me=e=>{const{label:t,options:o,selected:s,placeHolder:l,isRequiredField:n,setSelectedValue:a,initialSelectedFolderIds:r,optionRightIconComponent:d,labelRightIconComponent:c,labelAddons:m,dataTestId:u}=e,[h,f]=p(!1),[I,v]=p(null),[b,C]=p(r||[]),S=q(null),{bottom:O,left:k}=B(S.current),{width:x}=U(I);J(I,()=>f(!1),h,A());const _=$((e,t)=>{const{value:o}=e;if(!t)return void a(o===(null==s?void 0:s.value)?null:e);const l=-1!==b.findIndex(e=>e===o);C(l?b.filter(e=>e!==o):[...b,o])},[s,b]),N=(e,t)=>e.reduce((e,o)=>{const{value:l,children:n,disabled:a}=o,r=-1!==b.indexOf(o.value),m=o.value===(null==s?void 0:s.value);return e.push(
|
|
2
|
+
/* @__PURE__ */i("div",{style:{paddingLeft:W*t},children:/* @__PURE__ */i(M,{data:o,dataTestId:Q(u,l,e.length)||o.dataTestId,isSelected:m,onClick:()=>_({value:l,label:o.label},!!n),disabled:a,OptionRightIconComponent:d,LabelRightIconComponent:c,labelLeftIconProps:n?{Component:g,size:"xsmall"}:void 0},l)})),r&&n&&e.push(...N(n,t+1)),e},[]);/* @__PURE__ */
|
|
3
|
+
return j("div",{className:"select select--multi","data-test-id":u,ref:v,children:[
|
|
4
|
+
/* @__PURE__ */i("div",{onClick:e=>{const t=null==e?void 0:e.target;e&&t.className&&-1!==t.className.indexOf("icon-")?(f(!h),e.preventDefault()):f(!0)},children:/* @__PURE__ */i(H,{dataTestId:u?`${u}-trigger`:"",ref:S,className:"select__input",label:t,required:n,rightIconProps:{Component:h?K:g,size:"small"},placeholder:l,currentValue:(null==s?void 0:s.label.toString())||"",readonly:!0,labelAddons:m})}),h&&/* @__PURE__ */i("div",{className:"select__options","data-test-id":u?`${u}-content`:"",style:{left:k,width:x,top:O},children:/* @__PURE__ */i("div",{className:"select__options__scroll scrollbar scrollbar--vertical",children:N(o,0)})})]})};export{me as NestedSelect};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{jsxs as
|
|
2
|
-
/* @__PURE__ */
|
|
3
|
-
/* @__PURE__ */
|
|
4
|
-
/* @__PURE__ */
|
|
5
|
-
/* @__PURE__ */
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
/* @__PURE__ */
|
|
10
|
-
/* @__PURE__ */
|
|
1
|
+
import{jsxs as n,jsx as l,Fragment as d}from"react/jsx-runtime";import g,{useRef as w,useId as k}from"react";import{Text as m}from"../../Text/Text.js";import"../../../consts/index.js";import"../../../context/types.js";import{useOnOutsideClick as x}from"../../../hooks/useOnOutsideClick.js";import"../../../hooks/useScreenSize.js";import"react-hook-form";import{Link as f}from"../../Link/Link.js";const y=e=>{const i=w(null),{avatar:r,name:t,email:o,bodyItems:s,footerItems:a,className:c,dataTestId:p}=e,[h,u]=g.useState(!1),_=()=>u(!1);return x(i.current,_,h,k()),/* @__PURE__ */n("div",{ref:i,"data-test-id":p,className:`relative ${c}`,children:[
|
|
2
|
+
/* @__PURE__ */l("div",{"data-test-id":p?`${p}-trigger`:"",onClick:()=>u(!h),children:r}),h&&/* @__PURE__ */n("div",{"data-test-id":p?`${p}-content`:"",className:"profile-dropdown",children:[
|
|
3
|
+
/* @__PURE__ */n("div",{className:"profile-dropdown__top",children:[r,
|
|
4
|
+
/* @__PURE__ */n("div",{className:"pl-12",children:[
|
|
5
|
+
/* @__PURE__ */l(m,{size:"medium",weight:"bold",lineHeight:"large",children:t}),
|
|
6
|
+
/* @__PURE__ */l(m,{type:"tertiary",children:o})]})]}),
|
|
7
|
+
/* @__PURE__ */n("div",{className:"profile-dropdown__menu",children:[
|
|
8
|
+
/* @__PURE__ */l("ul",{className:"profile-dropdown__nav",children:null==s?void 0:s.map((e,i)=>/* @__PURE__ */l("li",{"data-test-id":p?`${p}-item-${i}`:"",children:e.text?/* @__PURE__ */l(f,{url:e.url,onclick:e.onclick,className:"profile-dropdown__nav__link",children:/* @__PURE__ */n(d,{children:[
|
|
9
|
+
/* @__PURE__ */l("span",{className:"flexbox align-items--center",children:/* @__PURE__ */n(d,{children:[e.icon,e.text]})}),e.rightInfoProps]})}):/* @__PURE__ */l("div",{onClick:_,children:e.children})},i))}),null!=a&&a.length?/* @__PURE__ */l("div",{className:"profile-dropdown__bottom",children:/* @__PURE__ */l("ul",{className:"profile-dropdown__nav",children:null==a?void 0:a.map((e,i)=>/* @__PURE__ */l("li",{"data-test-id":p?`${p}-footer-item-${i}`:"",children:e.text?/* @__PURE__ */l(f,{url:e.url,onclick:e.onclick,className:"profile-dropdown__nav__link",children:/* @__PURE__ */n(d,{children:[
|
|
10
|
+
/* @__PURE__ */l("span",{className:"flexbox align-items--center",children:/* @__PURE__ */n(d,{children:[e.icon,e.text]})}),e.rightInfoProps]})}):e.children},i))})}):null]})]})]})};export{y as ProfileDropdown};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as re,jsx as
|
|
1
|
+
import{jsxs as re,jsx as d}from"react/jsx-runtime";import{forwardRef as le,useRef as U,useState as I,useMemo as ae,useCallback as ce,useEffect as ie}from"react";import{useIsMobile as pe}from"../../../hooks/useGetIsMobile.js";import{SelectDesktop as me}from"./SelectDesktop/index.js";import fe from"classnames";import{Input as ue}from"../../Input/Input.js";import{noop as $}from"../../../utils/helpers.js";import{SELECTED_VISIBLE_MIN_COUNT as de}from"../constants.js";import{SelectMobile as Ie}from"./SelectMobile/index.js";import he from"../../SVGIcons/IconChevronUp.js";import Se from"../../SVGIcons/IconChevronDown.js";import{SELECT_TRANSLATIONS as be}from"../localization.js";import{Button as ge}from"../../Button/Button.js";import{filterSearchData as Ce}from"./helpers.js";const De=le((e,t)=>{var s,l;const{labelAddons:o,dataTestId:a,className:n,size:r="small",label:i,hasError:c,isValid:u,disabled:p,outerHelperText:m,isRequiredField:f,placeHolder:h,selectRightIconProps:S={Component:Se,size:"small"},selectRightIconOpenedProps:b={Component:he,size:"small"},options:v,withSearch:D=!1,setSelectedItem:g,setFieldValue:C,name:x,selectedItem:j,value:T,isMobileFullScreen:w=!0,language:E="en",translations:V,isButtonSelect:k,...R}=e,M=pe(),N=U(null),A=U(null),[O,L]=I(!1),[_,y]=I(""),[z,B]=I(null),[F,P]=I(0),q=()=>L(!0),G=()=>{L(!1),y("")},H=null!=(s=null==z?void 0:z.optionLeftIcon)&&s.Component?{Component:null==(l=null==z?void 0:z.optionLeftIcon)?void 0:l.Component}:null,K=D&&v.length>de,J=e=>{g&&g(e),x&&C&&C(x,e),G()},Q=()=>J(null),W=T||j,X={...be[E],...V},Y=ae(()=>Ce(v,_),[_,v]),Z=ce(()=>{const e=v.findIndex(e=>e.value===W);B(v[e]),P(e)},[W,v]);return ie(()=>{Z()},[Z]),/* @__PURE__ */re("div",{"data-test-id":a,className:fe(`select select--${r}`,n,{"select--opened":O}),ref:N,children:[!k&&/* @__PURE__ */d(ue,{onClick:p?$:e=>{const t=null==e?void 0:e.target,s=null==t?void 0:t.getAttribute("class");if(e&&s&&(-1!==s.indexOf("icon-")||-1!==s.indexOf("svg-icon")))return L(!O),void e.preventDefault();O&&!K?G():q()},size:r,dataTestId:a?`${a}-trigger`:"",hasError:c,className:"select__input",label:i,onChange:e=>{B(null),y(e.target.value)},required:f,leftIconProps:H,rightIconProps:O?b:S,placeholder:h,currentValue:_||(null==z?void 0:z.label.toString())||"",isValid:u,disabled:p,helperText:O?"":m,ref:A,labelAddons:o,autoComplete:"false",readOnly:M&&w||!K,onKeyDown:e=>{if(O)switch(e.key){case"ArrowDown":e.preventDefault(),P(e=>Math.min(e+1,Y.length-1));break;case"ArrowUp":e.preventDefault(),P(e=>Math.max(e-1,0));break;case"Enter":e.preventDefault();const t=Y[F];null!=t&&t.disabled||(J(t.value),G());break;case"Escape":G()}}}),k&&/* @__PURE__ */d(ge,{size:r,type:"secondary",dataTestId:a?`${a}-trigger`:"",iconProps:S,buttonText:h||"",onClick:p?$:q,className:"select_button"}),M&&w?/* @__PURE__ */d(Ie,{...R,dataTestId:a,isOpen:O,filteredData:Y,closeDropdown:G,currentSelection:W,isRequiredField:f,onItemDeselect:Q,onItemSelect:J,translations:X,withSearch:D,searchValue:_,setSearchValue:y}):/* @__PURE__ */d(me,{...R,dataTestId:a,onItemDeselect:Q,onItemSelect:J,currentSelection:W,isRequiredField:f,filteredData:Y,inputRef:A.current,containerRef:N.current,isOpen:O,closeDropdown:G,setCurrentSelectedLabel:Z,searchValue:_,setSearchValue:y,translations:X,activeIndex:F,setActiveIndex:P})]})});De.displayName="Select";export{De as Select};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,Fragment as R,jsxs as K}from"react/jsx-runtime";import _ from"classnames";import{useRef as U,useState as X,useEffect as
|
|
2
|
-
return e(J,{tooltipAddons:
|
|
1
|
+
import{jsx as e,Fragment as R,jsxs as K}from"react/jsx-runtime";import _ from"classnames";import{useRef as U,useState as X,useEffect as d,useId as Y}from"react";import{FixedSizeList as Z}from"react-window";import{DROPDOWN_AND_INPUT_GAP as $}from"../../../../consts/index.js";import{OptionItem as J}from"../../../../helperComponents/OptionItem/OptionItem.js";import{useGetElemSizes as Q}from"../../../../hooks/useGetElemSizes.js";import{useGetElemPositions as ee}from"../../../../hooks/useGetElemPositions.js";import"../../../../context/types.js";import{useOnOutsideClick as te}from"../../../../hooks/useOnOutsideClick.js";import"../../../../hooks/useScreenSize.js";import{useGetHasBottomSpace as oe,useGetHasTopSpace as ie}from"../../../../hooks/useGetHasBottomSpace.js";import"react-hook-form";import{useChangePositionsOnScroll as ne}from"../../../../hooks/useChangePositionsOnScroll.js";import{Empty as se}from"../../../Empty/Empty.js";import{Text as re}from"../../../Text/Text.js";import"../../../Checkbox/Checkbox.js";import"react-dom";import"motion/react";import"dayjs";import"../../../Collapse/CollapseGroup/CollapseGroup.js";import"../../SharedComponents/ContentTop.js";import{Loading as le}from"../../SharedComponents/Loading.js";import"../../../Input/Input.js";import{DROPDOWN_WIDTH as me,ITEM_SIZE as f,DROPDOWN_HEIGHT as v}from"../../constants.js";import{getOptionDataTestId as ae}from"../../helper.js";const ze=t=>{const{currentSelection:o,isLoading:s,dataTestId:n="",innerHelperText:i,isRequiredField:a,labelLeftIconProps:r,labelRightIconComponent:l,optionRightIconComponent:m,tooltipAddons:p,dropdownWidth:c,isOpen:u,closeDropdown:h,inputRef:I,containerRef:j,onItemSelect:S,onItemDeselect:g,searchValue:C,setSearchValue:O,translations:x,filteredData:T,activeIndex:b,setActiveIndex:k,setCurrentSelectedLabel:w}=t,D=U(null),[y,E]=X(null);d(()=>{D.current&&D.current.scrollToItem(b,"smart")},[b]),d(()=>{y&&u&&y&&u&&y.focus()},[y,u]),d(()=>{k(0)},[C]),te(j,()=>{!C&&a&&w(),h()},u,Y());const{bottom:G,left:P,top:N}=ee(I),{width:z}=Q(j),L=e=>({value:t})=>{O(""),e?a||g():S(t)},{hasBottomSpace:H}=oe({element:y,input:I}),A=ie({element:y,input:I});return ne(I,y,H),/* @__PURE__ */e(R,{children:u&&/* @__PURE__ */e("div",{"data-test-id":n?`${n}-content`:"",className:"select__options",style:{left:P,width:z,...H||!A?{top:G}:{bottom:window.innerHeight-N+$}},ref:E,children:s?/* @__PURE__ */e(le,{}):/* @__PURE__ */e(R,{children:/* @__PURE__ */K("div",{className:_("select__options__scroll","scrollbar"),children:[i?/* @__PURE__ */e("div",{className:"content-top",children:/* @__PURE__ */e(re,{size:"xsmall",type:"secondary",className:"content-top__label",children:i})}):null,T.length>0&&/* @__PURE__ */e(Z,{ref:D,height:T.length*f>v?v:T.length*f,itemCount:T.length,itemSize:f,width:c||me,style:{width:c||"100%",overflowX:"hidden",overflowY:"auto",willChange:"auto"},children:({index:t,style:s})=>{const i=T[t],a=i.value===o,c=b===t;/* @__PURE__ */
|
|
2
|
+
return e(J,{tooltipAddons:p,data:i,onClick:L(a),labelLeftIconProps:r,OptionRightIconComponent:m,LabelRightIconComponent:l,disabled:i.disabled,isSelected:a,dataTestId:ae(n,i.value,t)||i.dataTestId,style:s,className:_("option",{"option--active":c})},i.value)}}),0===T.length?/* @__PURE__ */e(se,{size:"small",mainMessage:null==x?void 0:x.emptyListMainMessage}):null]})})})})};export{ze as SelectDesktop};
|
|
@@ -5,6 +5,7 @@ type TProps = {
|
|
|
5
5
|
onBack: () => void;
|
|
6
6
|
withSearch: boolean;
|
|
7
7
|
isOpen: boolean;
|
|
8
|
+
dataTestId?: string;
|
|
8
9
|
};
|
|
9
|
-
export declare const MobileTopContent: ({ onBack, setSearchValue, searchValue, withSearch, isOpen }: TProps) => ReactElement;
|
|
10
|
+
export declare const MobileTopContent: ({ onBack, setSearchValue, searchValue, withSearch, isOpen, dataTestId }: TProps) => ReactElement;
|
|
10
11
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as
|
|
2
|
-
/* @__PURE__ */
|
|
1
|
+
import{jsxs as f,jsx as t}from"react/jsx-runtime";import{useRef as p,useEffect as a}from"react";import u from"../../../SVGIcons/IconChevronLeft.js";import{Input as x}from"../../../Input/Input.js";import C from"../../../SVGIcons/IconDismissFilled.js";import d from"../../../SVGIcons/IconSearchFilled.js";const j=({onBack:e,setSearchValue:s,searchValue:r,withSearch:o,isOpen:n,dataTestId:c})=>{const l=p(null);return a(()=>{l&&l.current&&l.current.focus()},[l.current]),/* @__PURE__ */f("div",{className:"flexbox mobile_top_content",children:[
|
|
2
|
+
/* @__PURE__ */t(u,{onClick:e,size:"large"}),o&&/* @__PURE__ */t(x,{dataTestId:c?`${c}-search`:"",currentValue:r,handleChange:e=>{s(e.target.value)},className:"ml-8",size:"small",ref:l,rightIconProps:{Component:r?C:d,size:r?"xsmall":"small",onClick:()=>{s("")}}})]})};export{j as MobileTopContent};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{jsxs as
|
|
2
|
-
return
|
|
3
|
-
/* @__PURE__ */
|
|
4
|
-
/* @__PURE__ */
|
|
5
|
-
return
|
|
1
|
+
import{jsxs as s,jsx as t}from"react/jsx-runtime";import{OptionItem as z}from"../../../../helperComponents/OptionItem/OptionItem.js";import{Empty as O}from"../../../Empty/Empty.js";import{Modal as R}from"../../../Modal/Modal.js";import"react";import"classnames";import"../../../../consts/index.js";import"../../../../context/types.js";import"../../../../hooks/useScreenSize.js";import"react-hook-form";import{Text as D}from"../../../Text/Text.js";import"react-dom";import{ITEM_SIZE_MOBILE as E}from"../../constants.js";import"../../../Checkbox/Checkbox.js";import"motion/react";import"dayjs";import"../../../Collapse/CollapseGroup/CollapseGroup.js";import"../../SharedComponents/ContentTop.js";import{Loading as H}from"../../SharedComponents/Loading.js";import"../../../Input/Input.js";import{MobileTopContent as k}from"./MobileTopContent.js";import{FixedSizeList as F}from"react-window";import{getOptionDataTestId as j}from"../../helper.js";const me=e=>{const{translations:o,currentSelection:i,isOpen:n,closeDropdown:a,isLoading:l,dataTestId:r,innerHelperText:p,filteredData:m,isRequiredField:d,onItemSelect:c,onItemDeselect:h,tooltipAddons:u,labelLeftIconProps:I,optionRightIconComponent:C,labelRightIconComponent:g,withSearch:f,searchValue:S,setSearchValue:b}=e,x=e=>({value:t})=>{b(""),e?d||h():c(t)},w=window.innerHeight,T=window.innerWidth;/* @__PURE__ */
|
|
2
|
+
return s(R,{isOpen:n,onClose:a,isMobileFullScreen:!0,children:[
|
|
3
|
+
/* @__PURE__ */t(k,{dataTestId:r,searchValue:S,setSearchValue:b,onBack:()=>{a(),b("")},withSearch:f,isOpen:n}),
|
|
4
|
+
/* @__PURE__ */s("div",{className:"mobile_options_content",children:[p?/* @__PURE__ */t(D,{size:"xsmall",type:"secondary",className:"mobile_options_content__label",children:p}):null,l?/* @__PURE__ */t(H,{}):/* @__PURE__ */s("div",{"data-test-id":r?`${r}-content`:"",children:[m.length>0&&/* @__PURE__ */t(F,{height:w-30-32-24,itemCount:m.length,itemSize:E,width:T,style:{width:"100%",overflowX:"hidden",overflowY:"auto",willChange:"auto"},children:({index:e,style:o})=>{const s=m[e],n=s.value===i;/* @__PURE__ */
|
|
5
|
+
return t(z,{size:"large",tooltipAddons:u,data:s,onClick:x(n),labelLeftIconProps:I,OptionRightIconComponent:C,LabelRightIconComponent:g,disabled:s.disabled,isSelected:n,dataTestId:j(r,s.value,e)||s.dataTestId,style:o},s.value)}}),0===m.length?/* @__PURE__ */t(O,{size:"small",mainMessage:null==o?void 0:o.emptyListMainMessage}):null]})]})]})};export{me as SelectMobile};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{jsx as t,jsxs as p,Fragment as f}from"react/jsx-runtime";import u from"classnames";import{Text as r}from"../../../../Text/Text.js";import x from"../../../../SVGIcons/IconChevronUp.js";import h from"../../../../SVGIcons/IconChevronDown.js";const z=e=>{const{type:s,buttonText:n,size:a="large",className:o="",isOpen:l,disabled:m,
|
|
2
|
-
return t("button",{type:"button",ref:d,"data-id":c,disabled:m,className:u("btn",`btn--${s}`,`btn--${a}`,`btn--${a}`,o),onClick:i,children:/* @__PURE__ */p(f,{children:[
|
|
1
|
+
import{jsx as t,jsxs as p,Fragment as f}from"react/jsx-runtime";import u from"classnames";import{Text as r}from"../../../../Text/Text.js";import x from"../../../../SVGIcons/IconChevronUp.js";import h from"../../../../SVGIcons/IconChevronDown.js";const z=e=>{const{type:s,buttonText:n,size:a="large",className:o="",isOpen:l,disabled:m,dataTestId:c="",onClick:i,refHandler:d=null,selectedItemsLabels:b}=e;/* @__PURE__ */
|
|
2
|
+
return t("button",{type:"button",ref:d,"data-test-id":c,disabled:m,className:u("btn",`btn--${s}`,`btn--${a}`,`btn--${a}`,o),onClick:i,children:/* @__PURE__ */p(f,{children:[
|
|
3
3
|
/* @__PURE__ */t(r,{className:"btn__text mr-4",type:b?"tertiary":"secondary",children:`${n}${b?" |":""}`}),b?/* @__PURE__ */t(r,{className:"btn__text ml-4 mr-4",children:b}):null,/* @__PURE__ */t(l?x:h,{size:"small"})]})})};export{z as Button};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{jsxs as
|
|
2
|
-
/* @__PURE__ */
|
|
3
|
-
/* @__PURE__ */
|
|
1
|
+
import{jsxs as D,jsx as r,Fragment as N}from"react/jsx-runtime";import{useRef as T,useMemo as W}from"react";import C from"classnames";import{Button as H}from"./Button/Button.js";import"../../../../consts/index.js";import"../../../../context/types.js";import"../../../../hooks/useScreenSize.js";import{useGetHasBottomSpace as M}from"../../../../hooks/useGetHasBottomSpace.js";import"react-hook-form";import{noop as O}from"../../../../utils/helpers.js";import{useChangePositionsOnScroll as j}from"../../../../hooks/useChangePositionsOnScroll.js";import{MobileWrapper as k}from"../../MultiSelect/MobileWrapper.js";import{DesktopWrapper as v}from"../../MultiSelect/DesktopWrapper.js";const X=e=>{const{offsets:t,children:s,size:o,className:n,dropdownWidth:l,align:a="left",isOpen:i,setIsOpen:p,containerRef:d,setContainerRef:c,dropdownRef:m,setDropdownRef:u,selectedValues:f,placeHolder:h,dataTestId:g,disabled:S,modalApplyButtonText:b,type:x="secondary",applySelectedItems:B,isMobile:R}=e,y=T(null),{hasBottomSpace:I}=M({element:m,input:y.current}),w=W(()=>R?f&&f.length>0?f.length.toString():"":f&&0!==(null==f?void 0:f.length)?1===(null==f?void 0:f.length)?`${f[0].label}`:` ${f[0].label} +${f.length-1}`:"",[f]);return j(null==y?void 0:y.current,m,I),/* @__PURE__ */D("div",{"data-test-id":g,className:C(`select select--${o}`,n),ref:c,children:[
|
|
2
|
+
/* @__PURE__ */r(H,{size:o,type:x,dataTestId:g?`${g}-trigger`:"",isOpen:i,buttonText:h||"",selectedItemsLabels:w,onClick:S?O:()=>p(!0),refHandler:y,className:"select_button"}),
|
|
3
|
+
/* @__PURE__ */r(N,{children:R?/* @__PURE__ */r(k,{dataTestId:g,applySelectedItems:B,isOpen:i,closeDrodown:()=>p(!1),modalApplyButtonText:b,children:s}):/* @__PURE__ */r(v,{dataTestId:g,offsets:t,setDropdownRef:u,isOpen:i,align:a,dropdownWidth:l,inputRef:y.current,dropdownRef:m,containerRef:d,children:s})})]})};export{X as ButtonSelectWrapper};
|
|
@@ -13,7 +13,8 @@ type TProps = {
|
|
|
13
13
|
isSearchAvailable?: boolean;
|
|
14
14
|
hasLimitation?: boolean;
|
|
15
15
|
menuOptions?: TMenuItem[];
|
|
16
|
-
|
|
16
|
+
dataTestIdPrefix?: string;
|
|
17
|
+
dataTestId?: string;
|
|
17
18
|
closeDropdown?: () => void;
|
|
18
19
|
handleKeyDown?: (e: React.KeyboardEvent) => void;
|
|
19
20
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{jsxs as b,jsx as
|
|
2
|
-
/* @__PURE__ */b("div",{className:"flexbox search-container",children:[
|
|
3
|
-
/* @__PURE__ */
|
|
1
|
+
import{jsxs as b,jsx as s}from"react/jsx-runtime";import k,{useRef as z,useMemo as _,useEffect as w}from"react";import{Text as F}from"../../Text/Text.js";import{Input as M}from"../../Input/Input.js";import{Actions as R}from"./Actions.js";import I from"../../SVGIcons/IconDismissFilled.js";import V from"../../SVGIcons/IconSearchFilled.js";import $ from"../../SVGIcons/IconSelectAllOff.js";import{useIsMobile as j}from"../../../hooks/useGetIsMobile.js";import B from"../../SVGIcons/IconChevronLeft.js";import{noop as K}from"../../../utils/helpers.js";const O=k.memo(e=>{const{clearAll:l,selectAll:o,helperText:a,searchValue:t,translations:n,isAnySelected:r,setSearchValue:c,isSearchAvailable:i=!1,hasLimitation:m=!1,isSelectAllDisabled:p=!1,menuOptions:d=[],dataTestIdPrefix:u,dataTestId:h,closeDropdown:f,handleKeyDown:x}=e,A=z(null),T=h||u,{searchInputPlaceHolder:S,innerLabel:C,clearAllLabel:v,selectAllLabel:y}=n||{},L=_(()=>{let e=d;return o&&y&&!m&&(e=[{label:y,value:1,handler:o,disabled:p,iconProps:{Component:$},dataTestId:T?`${T}-select-all`:""}]),l&&v&&(e=[...e,{label:v,value:2,handler:l,disabled:!r,iconProps:{Component:I},dataTestId:T?`${T}-clear`:""}]),e},[d,y,o,l,v,p,r,T]),k=j();return w(()=>{A&&A.current&&!k&&A.current.focus()},[A,k]),/* @__PURE__ */b("div",{className:"content-top",children:[a&&!k?/* @__PURE__ */s(F,{size:"xsmall",type:"secondary",className:"content-top__label",children:a}):null,
|
|
2
|
+
/* @__PURE__ */b("div",{className:"flexbox search-container",children:[k&&/* @__PURE__ */s(B,{onClick:()=>{f&&f()},size:"large"}),i&&/* @__PURE__ */s(M,{dataTestId:T?`${T}-search`:"",onKeyDown:x||K,ref:A,className:"content-top__search",size:"small",placeholder:S,handleChange:e=>{c&&c(e.target.value)},currentValue:t,rightIconProps:{Component:t?I:V,size:t?"xsmall":"small",onClick:()=>c&&c("")}})]}),
|
|
3
|
+
/* @__PURE__ */s(R,{selectActions:L,innerLabel:C})]})});O.displayName="ContentTop";export{O as ContentTop};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{jsxs as
|
|
2
|
-
return
|
|
3
|
-
/* @__PURE__ */
|
|
4
|
-
/* @__PURE__ */
|
|
5
|
-
/* @__PURE__ */
|
|
6
|
-
/* @__PURE__ */
|
|
1
|
+
import{jsxs as o,jsx as a}from"react/jsx-runtime";import C from"react";import{Button as i}from"../../Button/Button.js";import{Checkbox as x}from"../../Checkbox/Checkbox.js";import{SELECT_TRANSLATIONS as r}from"../localization.js";const N=e=>{const{language:t,buttonProps:l,onApply:n,onCancel:s,hasChange:c=!0,checkboxInfo:d,dataTestId:m}=e,[u,p]=C.useState((null==d?void 0:d.isChecked)||!1),h={buttonText:r[t].confirmButtonText,...(null==l?void 0:l.confirm)||{}},b={buttonText:r[t].cancelButtonText,...(null==l?void 0:l.cancel)||{}};/* @__PURE__ */
|
|
2
|
+
return o("div",{className:"select__footer",children:[
|
|
3
|
+
/* @__PURE__ */a("div",{children:d?/* @__PURE__ */a(x,{label:d.label,selectedValue:u,onClick:p}):null}),
|
|
4
|
+
/* @__PURE__ */o("div",{className:"select__footer__right flexbox",children:[
|
|
5
|
+
/* @__PURE__ */a(i,{...b,dataTestId:m?`${m}-cancel`:"",type:"tertiary",size:"medium",className:"mr-12",onClick:s}),
|
|
6
|
+
/* @__PURE__ */a(i,{disabled:!c&&u===!(null==d||!d.isChecked),...h,dataTestId:m?`${m}-apply`:"",type:"primary",size:"medium",onClick:()=>n(u)})]})]})};export{N as Footer};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{jsxs as
|
|
2
|
-
/* @__PURE__ */
|
|
3
|
-
/* @__PURE__ */
|
|
1
|
+
import{jsxs as M,jsx as i,Fragment as q}from"react/jsx-runtime";import{useRef as F,useCallback as G,useMemo as g}from"react";import H from"classnames";import{Input as P}from"../../../Input/Input.js";import{useGetElemSizes as _}from"../../../../hooks/useGetElemSizes.js";import"../../../../consts/index.js";import"../../../../context/types.js";import"../../../../hooks/useScreenSize.js";import{useGetHasBottomSpace as E}from"../../../../hooks/useGetHasBottomSpace.js";import"react-hook-form";import{getStringWidth as U,setTranslationValue as $,noop as J}from"../../../../utils/helpers.js";import{useChangePositionsOnScroll as K}from"../../../../hooks/useChangePositionsOnScroll.js";import{MobileWrapper as Q}from"../../MultiSelect/MobileWrapper.js";import{DesktopWrapper as X}from"../../MultiSelect/DesktopWrapper.js";import Y from"../../../SVGIcons/IconChevronUp.js";import Z from"../../../SVGIcons/IconChevronDown.js";const ge=e=>{const{isMobile:t,children:o,options:s,label:r,placeHolder:n,isRequiredField:l,labelAddons:a,disabled:p,className:d="",dropdownWidth:c,align:m="left",size:u="small",dropdownRef:f,setDropdownRef:h,containerRef:S,setIsOpen:j,isOpen:I,selectedValues:b,setContainerRef:v,overflowText:x,hasError:w,modalApplyButtonText:R,applySelectedItems:k,hideSelectedOptions:O=!1,dataTestId:C}=e,T=F(null),{width:W}=_(S),D=G(e=>U(e,14)>W-80,[W]),y=g(()=>{if(!b||!b.length)return"";const e=b.map(e=>e.label).join(", ");return D(e)?$(x||"",b.length):e},[s,b,D]),z=g(()=>b&&b.length>0?b.map(e=>e.label).join(", "):n&&D(n)?n:void 0,[b,n,D]),{hasBottomSpace:A}=E({element:f,input:T.current});return K(null==T?void 0:T.current,f,A),/* @__PURE__ */M("div",{"data-test-id":C,className:H("select select--multi",d),ref:v,children:[
|
|
2
|
+
/* @__PURE__ */i("div",{onClick:p?J:e=>{const t=null==e?void 0:e.target,o=null==t?void 0:t.getAttribute("class");e&&o&&(-1!==o.indexOf("icon-")||-1!==o.indexOf("svg-icon"))?(j(!I),e.preventDefault()):j(!0)},children:/* @__PURE__ */i(P,{dataTestId:C?`${C}-trigger`:"",readonly:!0,label:r,ref:T,hasError:w,className:"select__input",placeholder:n,required:l,currentValue:O?"":y,rightIconProps:{Component:I?Y:Z,size:"small"},labelAddons:a,disabled:p,size:u,title:z})}),
|
|
3
|
+
/* @__PURE__ */i(q,{children:t?/* @__PURE__ */i(Q,{dataTestId:C,applySelectedItems:k,isOpen:I,closeDrodown:()=>j(!1),modalApplyButtonText:R,children:o}):/* @__PURE__ */i(X,{dataTestId:C,setDropdownRef:h,isOpen:I,align:m,dropdownWidth:c,inputRef:T.current,dropdownRef:f,containerRef:S,children:o})})]})};export{ge as InputSelectWrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getOptionDataTestId: (dataTestId: string | undefined, value: TItemValue, index: number) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const r=(t,o,e)=>t?`${t}-option-${"string"==typeof o||"number"==typeof o?o:e}`:"";export{r as getOptionDataTestId};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { IBaseProps, IFormCompProps } from '../../type';
|
|
1
2
|
import { LegacyRef, ReactElement, ReactNode } from 'react';
|
|
2
3
|
import { TButtonPropTypes } from '../Button/types';
|
|
3
4
|
import { TMenuItem } from '../Menu/types';
|
|
4
5
|
import { TTooltipProps } from '../Tooltip/types';
|
|
5
6
|
interface TSelectBaseProps {
|
|
6
|
-
|
|
7
|
+
dataTestIdPrefix?: string;
|
|
7
8
|
error?: string;
|
|
8
9
|
isLoading?: boolean;
|
|
9
10
|
disabled?: boolean;
|
|
@@ -26,6 +27,7 @@ interface TSelectBaseProps {
|
|
|
26
27
|
language?: string;
|
|
27
28
|
}
|
|
28
29
|
export interface TNestedSelectProps {
|
|
30
|
+
dataTestId?: string;
|
|
29
31
|
options: TSelectOptions;
|
|
30
32
|
isRequiredField?: boolean;
|
|
31
33
|
label?: string | ReactElement;
|
|
@@ -100,7 +102,6 @@ export interface TMultiSelectPropTypes extends IFormCompProps, TSelectBaseProps
|
|
|
100
102
|
}
|
|
101
103
|
export interface TButtonSelectPropTypes extends IFormCompProps, TSelectBaseProps {
|
|
102
104
|
isMobileFullScreen?: boolean;
|
|
103
|
-
dataId?: string;
|
|
104
105
|
options: TSelectOptions;
|
|
105
106
|
selectedItem?: TItemValue;
|
|
106
107
|
setSelectedItem?: (items: TItemValue | undefined) => void;
|
|
@@ -129,11 +130,10 @@ export interface TSingleSelectPropTypes extends IFormCompProps, TSelectBaseProps
|
|
|
129
130
|
emptyListMainMessage: string;
|
|
130
131
|
};
|
|
131
132
|
}
|
|
132
|
-
export interface ISingleSelectResponsiveProps {
|
|
133
|
+
export interface ISingleSelectResponsiveProps extends IBaseProps {
|
|
133
134
|
isOpen: boolean;
|
|
134
135
|
closeDropdown: () => void;
|
|
135
136
|
isLoading?: boolean;
|
|
136
|
-
dataId?: string;
|
|
137
137
|
innerHelperText?: string;
|
|
138
138
|
labelLeftIconProps?: {
|
|
139
139
|
size?: TIconSize;
|
|
@@ -166,6 +166,7 @@ export interface ISingleSelectDesktopProps extends ISingleSelectResponsiveProps
|
|
|
166
166
|
setActiveIndex: (index: number) => void;
|
|
167
167
|
}
|
|
168
168
|
export type TSelectFooterPropTypes = {
|
|
169
|
+
dataTestId?: string;
|
|
169
170
|
checkboxInfo?: TCheckboxInfo;
|
|
170
171
|
hasChange?: boolean;
|
|
171
172
|
buttonProps?: {
|
|
@@ -227,7 +228,7 @@ export interface TFilterGroupDropdownContentProps extends IFormCompProps {
|
|
|
227
228
|
onItemDeselect: (item: TSelectedValue) => void;
|
|
228
229
|
checkIsSelected: (item: TItemValue) => boolean;
|
|
229
230
|
}
|
|
230
|
-
export type TSelectWrapperProps = {
|
|
231
|
+
export type TSelectWrapperProps = IBaseProps & {
|
|
231
232
|
isMobile: boolean;
|
|
232
233
|
applySelectedItems: (isChecked: boolean) => void;
|
|
233
234
|
hasError?: boolean;
|
|
@@ -255,7 +256,6 @@ export type TSelectWrapperProps = {
|
|
|
255
256
|
dropdownRef: HTMLDivElement | null;
|
|
256
257
|
setDropdownRef: LegacyRef<HTMLDivElement>;
|
|
257
258
|
selectedValues?: TSelectedValue[];
|
|
258
|
-
dataId?: string;
|
|
259
259
|
type?: 'primary' | 'secondary' | 'tertiary';
|
|
260
260
|
modalApplyButtonText?: string;
|
|
261
261
|
hideSelectedOptions?: boolean;
|
|
@@ -269,6 +269,7 @@ declare type TNavItemValue = {
|
|
|
269
269
|
children: ReactNode;
|
|
270
270
|
};
|
|
271
271
|
export type TProfileDropdownProps = {
|
|
272
|
+
dataTestId?: string;
|
|
272
273
|
avatar: ReactElement;
|
|
273
274
|
email: string;
|
|
274
275
|
name: string;
|
|
@@ -11,6 +11,7 @@ type TProps = {
|
|
|
11
11
|
onClose: (e?: TClickEventType) => void;
|
|
12
12
|
onSubmit?: (isSelected: boolean) => void;
|
|
13
13
|
checkboxInfo?: TCheckboxInfo;
|
|
14
|
+
dataTestId?: string;
|
|
14
15
|
};
|
|
15
|
-
export declare const Footer: ({ isLoading, footerButtons, onClose, onSubmit, checkboxInfo }: TProps) => ReactElement | null;
|
|
16
|
+
export declare const Footer: ({ isLoading, footerButtons, onClose, onSubmit, checkboxInfo, dataTestId }: TProps) => ReactElement | null;
|
|
16
17
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{jsxs as
|
|
2
|
-
return
|
|
3
|
-
/* @__PURE__ */
|
|
4
|
-
/* @__PURE__ */
|
|
5
|
-
/* @__PURE__ */
|
|
1
|
+
import{jsxs as c,jsx as r}from"react/jsx-runtime";import y,{useCallback as C}from"react";import{Button as t}from"../../Button/Button.js";import{Checkbox as h}from"../../Checkbox/Checkbox.js";const v=({isLoading:e,footerButtons:s,onClose:o,onSubmit:a,checkboxInfo:l,dataTestId:n=""})=>{const[i,d]=y.useState((null==l?void 0:l.isChecked)||!1),m=C(()=>{null==a||a(i)},[a,i]);if(!s)return null;const{extraButton:u,confirm:f,cancel:x}=s;/* @__PURE__ */
|
|
2
|
+
return c("div",{className:"side-sheet__footer","data-test-id":n?`${n}-footer`:"",children:[l?/* @__PURE__ */r("div",{className:"side-sheet__footer_checkbox",children:/* @__PURE__ */r(h,{label:l.label,selectedValue:i,onClick:d,dataTestId:n?`${n}-checkbox`:""})}):null,
|
|
3
|
+
/* @__PURE__ */c("div",{className:"side-sheet__footer_buttons",children:[u?/* @__PURE__ */r(t,{size:"large",type:"secondary",...s.extraButton,className:"mr-12",dataTestId:n?`${n}-extra`:""}):null,
|
|
4
|
+
/* @__PURE__ */r(t,{type:"secondary",size:"large",className:"mr-12",onClick:o,...x,dataTestId:n?`${n}-cancel`:""}),
|
|
5
|
+
/* @__PURE__ */r(t,{type:"primary",size:"large",onClick:m,disabled:e,...f,dataTestId:n?`${n}-confirm`:""})]})]})};export{v as Footer};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{jsx as i,jsxs as
|
|
2
|
-
return i(
|
|
3
|
-
/* @__PURE__ */
|
|
4
|
-
/* @__PURE__ */
|
|
5
|
-
/* @__PURE__ */i(
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */i("div",{className:"side-sheet__content scrollbar scrollbar--vertical",ref:
|
|
8
|
-
/* @__PURE__ */i(
|
|
1
|
+
import{jsx as i,jsxs as a}from"react/jsx-runtime";import{useState as _,useRef as P,useId as w,useEffect as F,useCallback as L}from"react";import{motion as u}from"motion/react";import j from"classnames";import"../../consts/index.js";import"../../context/types.js";import{useOnOutsideClick as D}from"../../hooks/useOnOutsideClick.js";import"../../hooks/useScreenSize.js";import{useHideBodyScroll as H}from"../../hooks/useHideBodyScroll.js";import"react-hook-form";import{AnimatePresenceWrapper as A}from"../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js";import{Button as r}from"../Button/Button.js";import{Text as U}from"../Text/Text.js";import{useDispatchEventOnScroll as W}from"../../hooks/useDispatchEventOnScroll.js";import{Footer as q}from"./Footer/Footer.js";import G from"../SVGIcons/IconCaretUp.js";import J from"../SVGIcons/IconDismissFilled.js";const ce=e=>{const{size:t="small",isLoading:s,isOpen:o,onClose:l,onSubmit:n,title:c,position:d="right",shouldRemoveCallback:m,className:p="",headerButtons:h,footerButtons:f,scrollToTopOptions:k,children:y,closeOnOutsideClick:T=!0,checkboxInfo:I,dataTestId:v=""}=e,[x,C]=_(null),[b,S]=_(!1),g=P(null);D(x,l,o&&T,w(),m),H(o);const N=W();F(()=>{var e;if(o&&k){const t=e=>{N(),o&&S(e.currentTarget.scrollTop>k.onPixel)};null==(e=g.current)||e.addEventListener("scroll",t)}o||$()},[o,k]);const $=L(()=>{var e;S(!1),null==(e=g.current)||e.scrollTo({top:0,behavior:"smooth"})},[]),O="left"===d;/* @__PURE__ */
|
|
2
|
+
return i(A,{children:o?/* @__PURE__ */i(u.div,{className:"side-sheet","data-test-id":v,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,transition:{duration:.1,delay:.3}},transition:{duration:.2},children:/* @__PURE__ */a(u.div,{initial:O?{left:"-100%"}:{right:"-100%"},animate:O?{left:0}:{right:0},exit:{...O?{left:"-100%"}:{right:"-100%"},transition:{duration:.5}},transition:{duration:.5},className:j("side-sheet__container",`side-sheet__${d}`,`side-sheet__container--${t}`,p),"data-test-id":v?`${v}-container`:"",ref:C,children:[
|
|
3
|
+
/* @__PURE__ */a("div",{className:"side-sheet__header",children:[
|
|
4
|
+
/* @__PURE__ */a("div",{className:"side-sheet__header__left pr-16",children:[null!=h&&h.back?/* @__PURE__ */i(r,{size:"small",type:"tertiary",...h.back,className:"mr-8",dataTestId:v?`${v}-back`:""}):null,
|
|
5
|
+
/* @__PURE__ */i(U,{className:"side-sheet__title",weight:"bolder",lineHeight:"large",size:"medium",dataTestId:v?`${v}-title`:"",children:c})]}),
|
|
6
|
+
/* @__PURE__ */a("div",{className:"side-sheet__header__right",children:[null!=h&&h.pin?/* @__PURE__ */i(r,{size:"small",type:"tertiary",...h.pin,className:"mr-8",dataTestId:v?`${v}-pin`:""}):null,null!=h&&h.close?/* @__PURE__ */i(r,{size:"small",type:"tertiary",...h.close,onClick:l,dataTestId:v?`${v}-close`:""}):/* @__PURE__ */i(r,{size:"small",type:"tertiary",iconProps:{Component:J},onClick:l,dataTestId:v?`${v}-close`:""})]}),b&&/* @__PURE__ */i(r,{size:"large",type:"secondary",iconProps:{Component:G},className:`side-sheet__header__scroll-top side-sheet__header__scroll-top__${t}`,dataTestId:v?`${v}-scroll-top`:"",onClick:$})]}),
|
|
7
|
+
/* @__PURE__ */i("div",{className:"side-sheet__content scrollbar scrollbar--vertical","data-test-id":v?`${v}-content`:"",ref:g,children:y}),
|
|
8
|
+
/* @__PURE__ */i(q,{footerButtons:f,isLoading:s,onClose:l,onSubmit:n,checkboxInfo:I,dataTestId:v})]})}):null})};export{ce as SideSheet};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IBaseProps } from '../../type';
|
|
1
2
|
import { ReactNode } from 'react';
|
|
2
3
|
import { TButtonPropTypes } from '../Button/types';
|
|
3
4
|
export type TSideSheetSize = 'small' | 'large' | 'mobile';
|
|
@@ -5,7 +6,7 @@ export type TCheckboxInfo = {
|
|
|
5
6
|
label: string;
|
|
6
7
|
isChecked: boolean;
|
|
7
8
|
};
|
|
8
|
-
export interface TSideSheetPropTypes {
|
|
9
|
+
export interface TSideSheetPropTypes extends IBaseProps {
|
|
9
10
|
closeOnOutsideClick?: boolean;
|
|
10
11
|
shouldRemoveCallback?: boolean;
|
|
11
12
|
size?: TSideSheetSize;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{jsx as s}from"react/jsx-runtime";import v from"classnames";import{DEFAULT_VARIANT as g,DEFAULT_ANIMATION as y}from"./consts.js";const u=s=>{if(null!=s)return"number"==typeof s?`${s}px`:s},$=e=>{const{variant:t=g,animation:a=y,width:n,height:i,count:l=1,children:o,style:r,className:d="",dataTestId:c=""}=e,h=null!=o,m=l>1?l:1,p={...void 0!==n?{width:u(n)}:null,...void 0!==i?{height:u(i)}:null,...r},k=v("skeleton",`skeleton--${t}`,`skeleton--anim-${a}`,{"skeleton--has-children":h,"skeleton--auto-height":h&&void 0===i,"skeleton--auto-width":h&&void 0===n},d);if(h)/* @__PURE__ */
|
|
2
|
+
return s("span",{className:k,style:p,"data-test-id":c,children:/* @__PURE__ */s("span",{className:"skeleton__children","aria-hidden":"true",children:o})});if(1===m)/* @__PURE__ */
|
|
3
|
+
return s("span",{className:k,style:p,"data-test-id":c,role:"status","aria-label":"Loading"});const N=[];for(let e=0;e<m;e+=1)N.push(
|
|
4
|
+
/* @__PURE__ */s("span",{className:k,style:p,"data-test-id":c?`${c}-${e}`:"","aria-hidden":0!==e||void 0,role:0===e?"status":void 0,"aria-label":0===e?"Loading":void 0},e));/* @__PURE__ */
|
|
5
|
+
return s("span",{className:"skeleton-group",children:N})};export{$ as Skeleton};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TSkeletonAnimation, TSkeletonVariant } from './types';
|
|
2
|
+
export declare const SKELETON_VARIANTS: TSkeletonVariant[];
|
|
3
|
+
export declare const SKELETON_ANIMATIONS: TSkeletonAnimation[];
|
|
4
|
+
export declare const DEFAULT_VARIANT: TSkeletonVariant;
|
|
5
|
+
export declare const DEFAULT_ANIMATION: TSkeletonAnimation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=["text","circular","rectangular","rounded"],A=["pulse","wave","none"],e="text",n="pulse";export{n as DEFAULT_ANIMATION,e as DEFAULT_VARIANT,A as SKELETON_ANIMATIONS,t as SKELETON_VARIANTS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Skeleton as r}from"./Skeleton.js";export{r as Skeleton};
|