@zvoove/unity-ui 2.29.0 → 2.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/unity-ui.cjs.js +1 -1
- package/dist/unity-ui.css +1 -1
- package/dist/unity-ui.d.ts +4723 -0
- package/dist/unity-ui.es.js +2 -2
- package/package.json +2 -2
- package/dist/components/Accordion/Accordion.d.ts +0 -6
- package/dist/components/Accordion/Accordion.styled.d.ts +0 -46
- package/dist/components/Accordion/Accordion.types.d.ts +0 -33
- package/dist/components/Accordion/index.d.ts +0 -2
- package/dist/components/ActionCard/ActionCard.d.ts +0 -6
- package/dist/components/ActionCard/ActionCard.styled.d.ts +0 -29
- package/dist/components/ActionCard/ActionCard.types.d.ts +0 -32
- package/dist/components/ActionCard/index.d.ts +0 -2
- package/dist/components/Avatar/Avatar/Avatar.d.ts +0 -3
- package/dist/components/Avatar/Avatar/Avatar.styled.d.ts +0 -53
- package/dist/components/Avatar/Avatar/Avatar.types.d.ts +0 -34
- package/dist/components/Avatar/Avatar/index.d.ts +0 -2
- package/dist/components/Avatar/AvatarGroup/AvatarGroup.d.ts +0 -3
- package/dist/components/Avatar/AvatarGroup/AvatarGroup.styled.d.ts +0 -3
- package/dist/components/Avatar/AvatarGroup/AvatarGroup.types.d.ts +0 -15
- package/dist/components/Avatar/AvatarGroup/index.d.ts +0 -2
- package/dist/components/Avatar/index.d.ts +0 -2
- package/dist/components/Badge/Badge.d.ts +0 -3
- package/dist/components/Badge/Badge.styled.d.ts +0 -28
- package/dist/components/Badge/Badge.types.d.ts +0 -19
- package/dist/components/Badge/index.d.ts +0 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -4
- package/dist/components/Breadcrumbs/Breadcrumbs.styled.d.ts +0 -14
- package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -22
- package/dist/components/Breadcrumbs/index.d.ts +0 -2
- package/dist/components/Button/Button.d.ts +0 -9
- package/dist/components/Button/Button.styled.d.ts +0 -98
- package/dist/components/Button/Button.types.d.ts +0 -55
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Card/Card.d.ts +0 -10
- package/dist/components/Card/Card.styled.d.ts +0 -608
- package/dist/components/Card/Card.types.d.ts +0 -125
- package/dist/components/Card/index.d.ts +0 -2
- package/dist/components/ChatBubble/ChatBubble.d.ts +0 -3
- package/dist/components/ChatBubble/ChatBubble.styled.d.ts +0 -117
- package/dist/components/ChatBubble/ChatBubble.types.d.ts +0 -55
- package/dist/components/ChatBubble/ChatBubbleMedia.d.ts +0 -3
- package/dist/components/ChatBubble/index.d.ts +0 -3
- package/dist/components/Checkbox/Checkbox.d.ts +0 -3
- package/dist/components/Checkbox/Checkbox.styled.d.ts +0 -59
- package/dist/components/Checkbox/Checkbox.types.d.ts +0 -40
- package/dist/components/Checkbox/index.d.ts +0 -2
- package/dist/components/Chip/Chip.d.ts +0 -4
- package/dist/components/Chip/Chip.styled.d.ts +0 -114
- package/dist/components/Chip/Chip.types.d.ts +0 -63
- package/dist/components/Chip/index.d.ts +0 -2
- package/dist/components/CodeBlock/CodeBlock.d.ts +0 -6
- package/dist/components/CodeBlock/CodeBlock.highlighter.d.ts +0 -7
- package/dist/components/CodeBlock/CodeBlock.styled.d.ts +0 -65
- package/dist/components/CodeBlock/CodeBlock.types.d.ts +0 -28
- package/dist/components/CodeBlock/CodeBlock.utils.d.ts +0 -11
- package/dist/components/CodeBlock/index.d.ts +0 -3
- package/dist/components/ContentBlock/ContentBlock.d.ts +0 -6
- package/dist/components/ContentBlock/ContentBlock.styled.d.ts +0 -2
- package/dist/components/ContentBlock/ContentBlock.types.d.ts +0 -7
- package/dist/components/ContentBlock/index.d.ts +0 -2
- package/dist/components/DatePicker/DatePicker.d.ts +0 -3
- package/dist/components/DatePicker/DatePicker.styled.d.ts +0 -16
- package/dist/components/DatePicker/DatePicker.types.d.ts +0 -64
- package/dist/components/DatePicker/components/DateDialog/DateDialog.d.ts +0 -3
- package/dist/components/DatePicker/components/DateDialog/DateDialog.types.d.ts +0 -10
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/Calendar.d.ts +0 -3
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/Calendar.styled.d.ts +0 -16
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/Calendar.types.d.ts +0 -61
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/ActionButtons/ActionButtons.d.ts +0 -3
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/ActionButtons/ActionButtons.styled.d.ts +0 -16
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/ActionButtons/ActionButtons.types.d.ts +0 -30
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/ActionButtons/index.d.ts +0 -2
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/CalendarHeader/CalendarHeader.d.ts +0 -3
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/CalendarHeader/CalendarHeader.styled.d.ts +0 -70
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/CalendarHeader/CalendarHeader.types.d.ts +0 -46
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/CalendarHeader/index.d.ts +0 -2
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/Carousel/Carousel.d.ts +0 -3
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/Carousel/Carousel.styled.d.ts +0 -45
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/Carousel/Carousel.types.d.ts +0 -30
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/Carousel/index.d.ts +0 -2
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/Day/Day.d.ts +0 -3
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/Day/Day.styled.d.ts +0 -22
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/Day/Day.types.d.ts +0 -11
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/Day/index.d.ts +0 -2
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/WeekDays/WeekDays.d.ts +0 -3
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/WeekDays/WeekDays.styled.d.ts +0 -17
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/WeekDays/WeekDays.types.d.ts +0 -4
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/WeekDays/index.d.ts +0 -2
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/components/index.d.ts +0 -5
- package/dist/components/DatePicker/components/DateDialog/components/Calendar/index.d.ts +0 -2
- package/dist/components/DatePicker/components/DateDialog/components/MonthSelector/MonthSelector.d.ts +0 -3
- package/dist/components/DatePicker/components/DateDialog/components/MonthSelector/MonthSelector.types.d.ts +0 -23
- package/dist/components/DatePicker/components/DateDialog/components/MonthSelector/index.d.ts +0 -2
- package/dist/components/DatePicker/components/DateDialog/components/SelectorList/SelectorList.d.ts +0 -3
- package/dist/components/DatePicker/components/DateDialog/components/SelectorList/SelectorList.styled.d.ts +0 -19
- package/dist/components/DatePicker/components/DateDialog/components/SelectorList/SelectorList.types.d.ts +0 -9
- package/dist/components/DatePicker/components/DateDialog/components/SelectorList/index.d.ts +0 -2
- package/dist/components/DatePicker/components/DateDialog/components/YearSelector/YearSelector.d.ts +0 -3
- package/dist/components/DatePicker/components/DateDialog/components/YearSelector/YearSelector.types.d.ts +0 -36
- package/dist/components/DatePicker/components/DateDialog/components/YearSelector/index.d.ts +0 -2
- package/dist/components/DatePicker/components/DateDialog/index.d.ts +0 -2
- package/dist/components/DatePicker/components/index.d.ts +0 -1
- package/dist/components/DatePicker/context/Context.types.d.ts +0 -15
- package/dist/components/DatePicker/context/DatePickerContext.d.ts +0 -3
- package/dist/components/DatePicker/context/DatePickerProvider.d.ts +0 -3
- package/dist/components/DatePicker/context/index.d.ts +0 -3
- package/dist/components/DatePicker/hooks/index.d.ts +0 -5
- package/dist/components/DatePicker/hooks/useDatePicker.d.ts +0 -2
- package/dist/components/DatePicker/hooks/useDateSelection.d.ts +0 -21
- package/dist/components/DatePicker/hooks/useDateUtils.d.ts +0 -31
- package/dist/components/DatePicker/hooks/useDialogFocus.d.ts +0 -1
- package/dist/components/DatePicker/hooks/useDialogPosition.d.ts +0 -19
- package/dist/components/DatePicker/index.d.ts +0 -2
- package/dist/components/DatePicker/utils/calendar.utils.d.ts +0 -26
- package/dist/components/DatePicker/utils/index.d.ts +0 -3
- package/dist/components/DatePicker/utils/locale.utils.d.ts +0 -38
- package/dist/components/DatePicker/utils/navigation.utils.d.ts +0 -13
- package/dist/components/Dialog/Dialog.d.ts +0 -3
- package/dist/components/Dialog/Dialog.styled.d.ts +0 -38
- package/dist/components/Dialog/Dialog.types.d.ts +0 -46
- package/dist/components/Dialog/DialogManager.d.ts +0 -41
- package/dist/components/Dialog/hooks/index.d.ts +0 -3
- package/dist/components/Dialog/hooks/useDialogAnimation.d.ts +0 -6
- package/dist/components/Dialog/hooks/useDialogEscape.d.ts +0 -2
- package/dist/components/Dialog/hooks/useDialogFocus.d.ts +0 -2
- package/dist/components/Dialog/index.d.ts +0 -3
- package/dist/components/Divider/Divider.d.ts +0 -3
- package/dist/components/Divider/Divider.styled.d.ts +0 -19
- package/dist/components/Divider/Divider.types.d.ts +0 -13
- package/dist/components/Divider/index.d.ts +0 -2
- package/dist/components/Expandable/Expandable.d.ts +0 -6
- package/dist/components/Expandable/Expandable.styled.d.ts +0 -16
- package/dist/components/Expandable/Expandable.types.d.ts +0 -12
- package/dist/components/Expandable/index.d.ts +0 -2
- package/dist/components/FloatSearch/FloatSearch.d.ts +0 -6
- package/dist/components/FloatSearch/FloatSearch.styled.d.ts +0 -51
- package/dist/components/FloatSearch/FloatSearch.types.d.ts +0 -108
- package/dist/components/FloatSearch/index.d.ts +0 -2
- package/dist/components/FormLabel/FormLabel.d.ts +0 -3
- package/dist/components/FormLabel/FormLabel.types.d.ts +0 -15
- package/dist/components/FormLabel/index.d.ts +0 -2
- package/dist/components/Grid/Grid.d.ts +0 -3
- package/dist/components/Grid/Grid.styled.d.ts +0 -274
- package/dist/components/Grid/Grid.types.d.ts +0 -80
- package/dist/components/Grid/index.d.ts +0 -2
- package/dist/components/Icon/CustomIcon.types.d.ts +0 -13
- package/dist/components/Icon/Icon.d.ts +0 -3
- package/dist/components/Icon/Icon.styled.d.ts +0 -61
- package/dist/components/Icon/Icon.types.d.ts +0 -619
- package/dist/components/Icon/custom/FileArchiveRar.d.ts +0 -3
- package/dist/components/Icon/custom/FileArchiveZip.d.ts +0 -3
- package/dist/components/Icon/custom/FileDesignAep.d.ts +0 -3
- package/dist/components/Icon/custom/FileDesignAi.d.ts +0 -3
- package/dist/components/Icon/custom/FileDesignFig.d.ts +0 -3
- package/dist/components/Icon/custom/FileDesignIndd.d.ts +0 -3
- package/dist/components/Icon/custom/FileDesignPsd.d.ts +0 -3
- package/dist/components/Icon/custom/FileDevelopmentCss.d.ts +0 -3
- package/dist/components/Icon/custom/FileDevelopmentDmg.d.ts +0 -3
- package/dist/components/Icon/custom/FileDevelopmentExe.d.ts +0 -3
- package/dist/components/Icon/custom/FileDevelopmentHtml.d.ts +0 -3
- package/dist/components/Icon/custom/FileDevelopmentJava.d.ts +0 -3
- package/dist/components/Icon/custom/FileDevelopmentJs.d.ts +0 -3
- package/dist/components/Icon/custom/FileDevelopmentJson.d.ts +0 -3
- package/dist/components/Icon/custom/FileDevelopmentRss.d.ts +0 -3
- package/dist/components/Icon/custom/FileDevelopmentSql.d.ts +0 -3
- package/dist/components/Icon/custom/FileDevelopmentXml.d.ts +0 -3
- package/dist/components/Icon/custom/FileDocumentCsv.d.ts +0 -3
- package/dist/components/Icon/custom/FileDocumentDoc.d.ts +0 -3
- package/dist/components/Icon/custom/FileDocumentDocx.d.ts +0 -3
- package/dist/components/Icon/custom/FileDocumentPdf.d.ts +0 -3
- package/dist/components/Icon/custom/FileDocumentPpt.d.ts +0 -3
- package/dist/components/Icon/custom/FileDocumentPptx.d.ts +0 -3
- package/dist/components/Icon/custom/FileDocumentTxt.d.ts +0 -3
- package/dist/components/Icon/custom/FileDocumentXls.d.ts +0 -3
- package/dist/components/Icon/custom/FileDocumentXlsx.d.ts +0 -3
- package/dist/components/Icon/custom/FileImageEps.d.ts +0 -3
- package/dist/components/Icon/custom/FileImageGif.d.ts +0 -3
- package/dist/components/Icon/custom/FileImageImg.d.ts +0 -3
- package/dist/components/Icon/custom/FileImageJpeg.d.ts +0 -3
- package/dist/components/Icon/custom/FileImageJpg.d.ts +0 -3
- package/dist/components/Icon/custom/FileImagePng.d.ts +0 -3
- package/dist/components/Icon/custom/FileImageSvg.d.ts +0 -3
- package/dist/components/Icon/custom/FileImageTiff.d.ts +0 -3
- package/dist/components/Icon/custom/FileImageWebp.d.ts +0 -3
- package/dist/components/Icon/custom/FileMediaAvi.d.ts +0 -3
- package/dist/components/Icon/custom/FileMediaMkv.d.ts +0 -3
- package/dist/components/Icon/custom/FileMediaMp3.d.ts +0 -3
- package/dist/components/Icon/custom/FileMediaMp4.d.ts +0 -3
- package/dist/components/Icon/custom/FileMediaMpeg.d.ts +0 -3
- package/dist/components/Icon/custom/FileMediaWav.d.ts +0 -3
- package/dist/components/Icon/custom/FileSimpleAudio.d.ts +0 -3
- package/dist/components/Icon/custom/FileSimpleCode.d.ts +0 -3
- package/dist/components/Icon/custom/FileSimpleDocument.d.ts +0 -3
- package/dist/components/Icon/custom/FileSimpleEmpty.d.ts +0 -3
- package/dist/components/Icon/custom/FileSimpleFolder.d.ts +0 -3
- package/dist/components/Icon/custom/FileSimpleImage.d.ts +0 -3
- package/dist/components/Icon/custom/FileSimplePdf.d.ts +0 -3
- package/dist/components/Icon/custom/FileSimpleSpreadSheet.d.ts +0 -3
- package/dist/components/Icon/custom/FileSimpleVideo.d.ts +0 -3
- package/dist/components/Icon/custom/FileSimpleVideo2.d.ts +0 -3
- package/dist/components/Icon/custom/FlagDe.d.ts +0 -4
- package/dist/components/Icon/custom/FlagEs.d.ts +0 -4
- package/dist/components/Icon/custom/FlagFr.d.ts +0 -4
- package/dist/components/Icon/custom/FlagGb.d.ts +0 -4
- package/dist/components/Icon/custom/FlagNl.d.ts +0 -4
- package/dist/components/Icon/custom/ZvooveLogo.d.ts +0 -6
- package/dist/components/Icon/custom/index.d.ts +0 -58
- package/dist/components/Icon/docs/components/IconCell.d.ts +0 -9
- package/dist/components/Icon/docs/components/IconDisplay.d.ts +0 -5
- package/dist/components/Icon/docs/components/IconSearch.d.ts +0 -1
- package/dist/components/Icon/index.d.ts +0 -3
- package/dist/components/ImageVisualizer/ImageVisualizer.d.ts +0 -6
- package/dist/components/ImageVisualizer/ImageVisualizer.styled.d.ts +0 -142
- package/dist/components/ImageVisualizer/ImageVisualizer.types.d.ts +0 -46
- package/dist/components/ImageVisualizer/index.d.ts +0 -2
- package/dist/components/InfoBox/InfoBox.constants.d.ts +0 -5
- package/dist/components/InfoBox/InfoBox.d.ts +0 -6
- package/dist/components/InfoBox/InfoBox.types.d.ts +0 -22
- package/dist/components/InfoBox/index.d.ts +0 -2
- package/dist/components/List/List.d.ts +0 -7
- package/dist/components/List/List.styled.d.ts +0 -40
- package/dist/components/List/List.types.d.ts +0 -32
- package/dist/components/List/index.d.ts +0 -2
- package/dist/components/ListMenu/ListMenu.d.ts +0 -7
- package/dist/components/ListMenu/ListMenu.styled.d.ts +0 -150
- package/dist/components/ListMenu/ListMenu.types.d.ts +0 -74
- package/dist/components/ListMenu/ListMenu.utils.d.ts +0 -13
- package/dist/components/ListMenu/index.d.ts +0 -3
- package/dist/components/MessageActions/MessageActions.d.ts +0 -3
- package/dist/components/MessageActions/MessageActions.styled.d.ts +0 -56
- package/dist/components/MessageActions/MessageActions.types.d.ts +0 -81
- package/dist/components/MessageActions/index.d.ts +0 -2
- package/dist/components/MidSectionMenus/MidSectionMenus.d.ts +0 -7
- package/dist/components/MidSectionMenus/MidSectionMenus.styled.d.ts +0 -98
- package/dist/components/MidSectionMenus/MidSectionMenus.types.d.ts +0 -67
- package/dist/components/MidSectionMenus/index.d.ts +0 -2
- package/dist/components/Pagination/Pagination.d.ts +0 -3
- package/dist/components/Pagination/Pagination.types.d.ts +0 -37
- package/dist/components/Pagination/index.d.ts +0 -2
- package/dist/components/PopUpMenu/PopUpMenu.constants.d.ts +0 -2
- package/dist/components/PopUpMenu/PopUpMenu.d.ts +0 -3
- package/dist/components/PopUpMenu/PopUpMenu.styled.d.ts +0 -161
- package/dist/components/PopUpMenu/PopUpMenu.types.d.ts +0 -258
- package/dist/components/PopUpMenu/PopUpMenu.utils.d.ts +0 -18
- package/dist/components/PopUpMenu/PopUpMenuContent.d.ts +0 -45
- package/dist/components/PopUpMenu/PopUpMenuManager.d.ts +0 -37
- package/dist/components/PopUpMenu/PopUpMenuPortal.d.ts +0 -12
- package/dist/components/PopUpMenu/index.d.ts +0 -2
- package/dist/components/PopUpMenu/usePopUpMenuHandlers.d.ts +0 -44
- package/dist/components/PopUpMenu/usePopUpMenuState.d.ts +0 -48
- package/dist/components/ProgressIndicator/ProgressIndicator.d.ts +0 -3
- package/dist/components/ProgressIndicator/ProgressIndicator.styled.d.ts +0 -103
- package/dist/components/ProgressIndicator/ProgressIndicator.types.d.ts +0 -31
- package/dist/components/ProgressIndicator/index.d.ts +0 -2
- package/dist/components/Radio/RadioButton/RadioButton.d.ts +0 -3
- package/dist/components/Radio/RadioButton/RadioButton.styled.d.ts +0 -45
- package/dist/components/Radio/RadioButton/RadioButton.types.d.ts +0 -32
- package/dist/components/Radio/RadioButton/index.d.ts +0 -2
- package/dist/components/Radio/RadioGroup/RadioGroup.d.ts +0 -11
- package/dist/components/Radio/RadioGroup/RadioGroup.styled.d.ts +0 -13
- package/dist/components/Radio/RadioGroup/RadioGroup.types.d.ts +0 -26
- package/dist/components/Radio/RadioGroup/index.d.ts +0 -2
- package/dist/components/Radio/index.d.ts +0 -2
- package/dist/components/ScoreCard/ScoreCard.d.ts +0 -3
- package/dist/components/ScoreCard/ScoreCard.styled.d.ts +0 -1
- package/dist/components/ScoreCard/ScoreCard.types.d.ts +0 -42
- package/dist/components/ScoreCard/index.d.ts +0 -2
- package/dist/components/Segment/SegmentButton/SegmentButton.d.ts +0 -3
- package/dist/components/Segment/SegmentButton/SegmentButton.styled.d.ts +0 -31
- package/dist/components/Segment/SegmentButton/SegmentButton.types.d.ts +0 -39
- package/dist/components/Segment/SegmentButton/index.d.ts +0 -2
- package/dist/components/Segment/SegmentGroup/SegmentGroup.d.ts +0 -6
- package/dist/components/Segment/SegmentGroup/SegmentGroup.styled.d.ts +0 -13
- package/dist/components/Segment/SegmentGroup/SegmentGroup.types.d.ts +0 -36
- package/dist/components/Segment/SegmentGroup/index.d.ts +0 -2
- package/dist/components/Segment/index.d.ts +0 -2
- package/dist/components/Select/Select.constants.d.ts +0 -17
- package/dist/components/Select/Select.d.ts +0 -3
- package/dist/components/Select/Select.styled.d.ts +0 -250
- package/dist/components/Select/Select.types.d.ts +0 -70
- package/dist/components/Select/Select.utils.d.ts +0 -51
- package/dist/components/Select/SelectDisplay.d.ts +0 -3
- package/dist/components/Select/SelectDisplay.types.d.ts +0 -43
- package/dist/components/Select/SelectManager.d.ts +0 -37
- package/dist/components/Select/index.d.ts +0 -2
- package/dist/components/Select/useSelectHandlers.d.ts +0 -40
- package/dist/components/Select/useSelectState.d.ts +0 -19
- package/dist/components/Shared/Backdrop/Backdrop.d.ts +0 -6
- package/dist/components/Shared/Backdrop/Backdrop.styled.d.ts +0 -16
- package/dist/components/Shared/Backdrop/Backdrop.types.d.ts +0 -23
- package/dist/components/Shared/Backdrop/index.d.ts +0 -2
- package/dist/components/Shared/ErrorMessage/ErrorMessage.d.ts +0 -3
- package/dist/components/Shared/ErrorMessage/ErrorMessage.styled.d.ts +0 -25
- package/dist/components/Shared/ErrorMessage/ErrorMessage.types.d.ts +0 -16
- package/dist/components/Shared/ErrorMessage/index.d.ts +0 -2
- package/dist/components/Shared/index.d.ts +0 -2
- package/dist/components/Sheet/Examples/SheetDefault.d.ts +0 -3
- package/dist/components/Sheet/Examples/SheetWithFooterAndHeader.d.ts +0 -3
- package/dist/components/Sheet/Sheet.d.ts +0 -6
- package/dist/components/Sheet/Sheet.styled.d.ts +0 -175
- package/dist/components/Sheet/Sheet.types.d.ts +0 -172
- package/dist/components/Sheet/SheetManager.d.ts +0 -37
- package/dist/components/Sheet/hooks/index.d.ts +0 -9
- package/dist/components/Sheet/hooks/useSheetAnimation.d.ts +0 -6
- package/dist/components/Sheet/hooks/useSheetClose.d.ts +0 -20
- package/dist/components/Sheet/hooks/useSheetEscape.d.ts +0 -2
- package/dist/components/Sheet/hooks/useSheetFocus.d.ts +0 -2
- package/dist/components/Sheet/hooks/useSheetRegistration.d.ts +0 -14
- package/dist/components/Sheet/hooks/useSheetResize.d.ts +0 -10
- package/dist/components/Sheet/hooks/useSheetScrollTracking.d.ts +0 -21
- package/dist/components/Sheet/hooks/useSheetSwipe.d.ts +0 -8
- package/dist/components/Sheet/hooks/useSheetWidth.d.ts +0 -20
- package/dist/components/Sheet/index.d.ts +0 -4
- package/dist/components/SideNavigation/SideNavigation.d.ts +0 -4
- package/dist/components/SideNavigation/SideNavigation.styled.d.ts +0 -249
- package/dist/components/SideNavigation/SideNavigation.types.d.ts +0 -128
- package/dist/components/SideNavigation/docs/MicroFrontendExample.d.ts +0 -37
- package/dist/components/SideNavigation/docs/ShellExample.d.ts +0 -9
- package/dist/components/SideNavigation/docs/ShellHomeContent.d.ts +0 -5
- package/dist/components/SideNavigation/docs/index.d.ts +0 -1
- package/dist/components/SideNavigation/docs/mfe/HubDashboardContent.d.ts +0 -5
- package/dist/components/SideNavigation/docs/mfe/ZainNewChatContent.d.ts +0 -8
- package/dist/components/SideNavigation/docs/mfe/apps/analytics.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/api.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/campaigns.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/cashlink.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/cockpit-x.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/cockpit.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/connect.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/dms-plus.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/index.d.ts +0 -59
- package/dist/components/SideNavigation/docs/mfe/apps/insights.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/one.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/payroll.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/recruit.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/safety-manager.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/work-app.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/apps/zain.d.ts +0 -4
- package/dist/components/SideNavigation/docs/mfe/hubMenu.d.ts +0 -9
- package/dist/components/SideNavigation/docs/mfe/internalHomeNav.d.ts +0 -7
- package/dist/components/SideNavigation/docs/mfe/zainMenu.d.ts +0 -7
- package/dist/components/SideNavigation/index.d.ts +0 -2
- package/dist/components/SideNavigation/usePinnedSections.d.ts +0 -7
- package/dist/components/Skeleton/Skeleton.d.ts +0 -3
- package/dist/components/Skeleton/Skeleton.styled.d.ts +0 -43
- package/dist/components/Skeleton/Skeleton.types.d.ts +0 -20
- package/dist/components/Skeleton/index.d.ts +0 -2
- package/dist/components/Snackbar/Snackbar.constants.d.ts +0 -5
- package/dist/components/Snackbar/Snackbar.context.d.ts +0 -8
- package/dist/components/Snackbar/Snackbar.context.definition.d.ts +0 -2
- package/dist/components/Snackbar/Snackbar.d.ts +0 -32
- package/dist/components/Snackbar/Snackbar.styled.d.ts +0 -173
- package/dist/components/Snackbar/Snackbar.types.d.ts +0 -119
- package/dist/components/Snackbar/index.d.ts +0 -5
- package/dist/components/Snackbar/useSnackbar.d.ts +0 -20
- package/dist/components/Stack/Stack.d.ts +0 -4
- package/dist/components/Stack/Stack.styled.d.ts +0 -367
- package/dist/components/Stack/Stack.types.d.ts +0 -74
- package/dist/components/Stack/index.d.ts +0 -2
- package/dist/components/Switch/Switch.d.ts +0 -4
- package/dist/components/Switch/Switch.styled.d.ts +0 -68
- package/dist/components/Switch/Switch.types.d.ts +0 -54
- package/dist/components/Switch/index.d.ts +0 -2
- package/dist/components/Table/ExpandDetailExample/ExpandDetailExample.d.ts +0 -4
- package/dist/components/Table/Table.d.ts +0 -6
- package/dist/components/Table/Table.styled.d.ts +0 -77
- package/dist/components/Table/Table.types.d.ts +0 -114
- package/dist/components/Table/TableDocExample/RowActionButton.d.ts +0 -5
- package/dist/components/Table/TableDocExample/TableDocExample.constants.d.ts +0 -14
- package/dist/components/Table/TableDocExample/TableDocExample.d.ts +0 -4
- package/dist/components/Table/TableDocExample/index.d.ts +0 -1
- package/dist/components/Table/index.d.ts +0 -2
- package/dist/components/Tabs/TabItem.d.ts +0 -3
- package/dist/components/Tabs/Tabs.d.ts +0 -6
- package/dist/components/Tabs/Tabs.styled.d.ts +0 -161
- package/dist/components/Tabs/Tabs.types.d.ts +0 -60
- package/dist/components/Tabs/index.d.ts +0 -2
- package/dist/components/Tag/Tag.d.ts +0 -3
- package/dist/components/Tag/Tag.styled.d.ts +0 -73
- package/dist/components/Tag/Tag.types.d.ts +0 -28
- package/dist/components/Tag/index.d.ts +0 -2
- package/dist/components/TextField/TextField.d.ts +0 -3
- package/dist/components/TextField/TextField.styled.d.ts +0 -335
- package/dist/components/TextField/TextField.types.d.ts +0 -67
- package/dist/components/TextField/index.d.ts +0 -2
- package/dist/components/Textarea/Textarea.d.ts +0 -3
- package/dist/components/Textarea/Textarea.styled.d.ts +0 -67
- package/dist/components/Textarea/Textarea.types.d.ts +0 -32
- package/dist/components/Textarea/index.d.ts +0 -2
- package/dist/components/Tooltip/Tooltip.d.ts +0 -3
- package/dist/components/Tooltip/Tooltip.styled.d.ts +0 -51
- package/dist/components/Tooltip/Tooltip.types.d.ts +0 -22
- package/dist/components/Tooltip/TooltipPortal.d.ts +0 -8
- package/dist/components/Tooltip/index.d.ts +0 -2
- package/dist/components/TopBar/TopBar.d.ts +0 -3
- package/dist/components/TopBar/TopBar.styled.d.ts +0 -19
- package/dist/components/TopBar/TopBar.types.d.ts +0 -27
- package/dist/components/TopBar/index.d.ts +0 -2
- package/dist/components/Typography/Typography.d.ts +0 -3
- package/dist/components/Typography/Typography.styled.d.ts +0 -94
- package/dist/components/Typography/Typography.types.d.ts +0 -47
- package/dist/components/Typography/index.d.ts +0 -2
- package/dist/components/Uploader/Uploader.constants.d.ts +0 -12
- package/dist/components/Uploader/Uploader.context.d.ts +0 -185
- package/dist/components/Uploader/Uploader.d.ts +0 -3
- package/dist/components/Uploader/Uploader.types.d.ts +0 -238
- package/dist/components/Uploader/components/Announcer/Announcer.d.ts +0 -2
- package/dist/components/Uploader/components/Announcer/index.d.ts +0 -1
- package/dist/components/Uploader/components/DropZone/DropZone.d.ts +0 -3
- package/dist/components/Uploader/components/DropZone/DropZone.styled.d.ts +0 -68
- package/dist/components/Uploader/components/DropZone/index.d.ts +0 -1
- package/dist/components/Uploader/components/FileItem/FileItem.d.ts +0 -18
- package/dist/components/Uploader/components/FileItem/FileItem.styled.d.ts +0 -67
- package/dist/components/Uploader/components/FileItem/index.d.ts +0 -2
- package/dist/components/Uploader/components/FileItem/useFileItem.d.ts +0 -33
- package/dist/components/Uploader/components/FileList/FileList.d.ts +0 -12
- package/dist/components/Uploader/components/FileList/FileList.styled.d.ts +0 -1
- package/dist/components/Uploader/components/FileList/index.d.ts +0 -2
- package/dist/components/Uploader/components/RejectionList/RejectionList.d.ts +0 -12
- package/dist/components/Uploader/components/RejectionList/RejectionList.styled.d.ts +0 -10
- package/dist/components/Uploader/components/RejectionList/index.d.ts +0 -2
- package/dist/components/Uploader/components/index.d.ts +0 -5
- package/dist/components/Uploader/hooks/index.d.ts +0 -11
- package/dist/components/Uploader/hooks/useAnnouncements.d.ts +0 -10
- package/dist/components/Uploader/hooks/useDragAndDrop.d.ts +0 -17
- package/dist/components/Uploader/hooks/useFileInput.d.ts +0 -19
- package/dist/components/Uploader/hooks/useFileOperations.d.ts +0 -18
- package/dist/components/Uploader/hooks/useFileSelection.d.ts +0 -36
- package/dist/components/Uploader/hooks/useFileUpload.d.ts +0 -66
- package/dist/components/Uploader/hooks/useUploaderContext.d.ts +0 -3
- package/dist/components/Uploader/hooks/useUploaderRef.d.ts +0 -13
- package/dist/components/Uploader/hooks/useUploaderState.d.ts +0 -30
- package/dist/components/Uploader/hooks/useValidation.d.ts +0 -30
- package/dist/components/Uploader/index.d.ts +0 -6
- package/dist/components/Uploader/types/errors.d.ts +0 -28
- package/dist/components/Uploader/types/events.d.ts +0 -65
- package/dist/components/Uploader/types/file.d.ts +0 -116
- package/dist/components/Uploader/types/index.d.ts +0 -3
- package/dist/components/Uploader/utils/createFetchUpload.d.ts +0 -32
- package/dist/components/Uploader/utils/createXhrUpload.d.ts +0 -45
- package/dist/components/Uploader/utils/detectDuplicates.d.ts +0 -5
- package/dist/components/Uploader/utils/formatFileSize.d.ts +0 -3
- package/dist/components/Uploader/utils/generateId.d.ts +0 -1
- package/dist/components/Uploader/utils/getFileExtension.d.ts +0 -1
- package/dist/components/Uploader/utils/index.d.ts +0 -8
- package/dist/components/Uploader/utils/normalizeFile.d.ts +0 -3
- package/dist/components/Uploader/utils/validateFileType.d.ts +0 -1
- package/dist/components/UserArea/UserArea.d.ts +0 -3
- package/dist/components/UserArea/UserArea.styled.d.ts +0 -65
- package/dist/components/UserArea/UserArea.types.d.ts +0 -49
- package/dist/components/UserArea/index.d.ts +0 -2
- package/dist/components/ZvooveBrand/ZvooveBrand.d.ts +0 -6
- package/dist/components/ZvooveBrand/ZvooveBrand.types.d.ts +0 -22
- package/dist/components/ZvooveBrand/index.d.ts +0 -2
- package/dist/config.d.ts +0 -48
- package/dist/constants/align.d.ts +0 -3
- package/dist/constants/breakpoints.d.ts +0 -10
- package/dist/constants/colors.d.ts +0 -7
- package/dist/constants/direction.d.ts +0 -3
- package/dist/constants/dom.d.ts +0 -5
- package/dist/constants/gap.d.ts +0 -4
- package/dist/constants/index.d.ts +0 -11
- package/dist/constants/justify.d.ts +0 -3
- package/dist/constants/margin.d.ts +0 -16
- package/dist/constants/overflow.d.ts +0 -5
- package/dist/constants/padding.d.ts +0 -16
- package/dist/constants/wrap.d.ts +0 -3
- package/dist/docs/components/TokensTable.d.ts +0 -6
- package/dist/docs/components/WelcomeTile.d.ts +0 -8
- package/dist/docs/components/tokens.d.ts +0 -10
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/useBreakpoint.d.ts +0 -51
- package/dist/hooks/useClickOutside.d.ts +0 -4
- package/dist/index.d.ts +0 -52
- package/dist/libs/index.d.ts +0 -1
- package/dist/libs/tv.d.ts +0 -23
- package/dist/types/index.d.ts +0 -71
- package/dist/utils/checkIconSource.d.ts +0 -1
- package/dist/utils/containsOnlySizeProps.d.ts +0 -1
- package/dist/utils/formatFromStringToDate.d.ts +0 -1
- package/dist/utils/getComponentTagName.d.ts +0 -1
- package/dist/utils/getFlexProps.d.ts +0 -4
- package/dist/utils/getOverflowProps.d.ts +0 -23
- package/dist/utils/getResponsiveValue.d.ts +0 -35
- package/dist/utils/getSpacingProps.d.ts +0 -4
- package/dist/utils/index.d.ts +0 -15
- package/dist/utils/isDefined.d.ts +0 -1
- package/dist/utils/isValidSizeUnit.d.ts +0 -1
- package/dist/utils/linkify.d.ts +0 -2
- package/dist/utils/logs.d.ts +0 -6
- package/dist/utils/setupUserEvent.d.ts +0 -6
- package/dist/utils/typeGuards.d.ts +0 -21
- package/dist/utils/viewports.d.ts +0 -13
package/dist/unity-ui.es.js
CHANGED
|
@@ -722,8 +722,8 @@ return x("label",{htmlFor:C,className:`cursor-pointer ${Z?"w-full":"w-fit"} inli
|
|
|
722
722
|
/* @__PURE__ */b("span",{className:qH({checked:e,disabled:a}),children:[/* @__PURE__ */x("input",{id:C,name:l,value:n,type:"checkbox",checked:e,"aria-checked":e,"aria-disabled":a,disabled:a,onChange:V,onKeyDown:a=>{"Space"===a.key&&(a.preventDefault(),a.stopPropagation(),V({target:{checked:e}}))},className:"sr-only",ref:d,tabIndex:a?-1:0,...m}),/* @__PURE__ */b("div",{className:YH({checked:e,animate:h,disabled:a,withIcons:null!==f}),children:[f&&e&&/* @__PURE__ */x("div",{className:"z-1","data-testid":"icon-on",children:/* @__PURE__ */x(wd,{name:f.on,size:"2xs"})}),f&&!e&&/* @__PURE__ */x("div",{className:"z-1","data-testid":"icon-off",children:/* @__PURE__ */x(wd,{name:f.off,size:"2xs"})})]})]}),g&&"right"===s&&/* @__PURE__ */b(_p,{variant:"body",size:"large",children:["string"==typeof o&&o,"object"==typeof o&&/* @__PURE__ */x(M,{children:e?o.on:o.off})]})]})})});XH.displayName="Switch";var KH=Ja({base:["overflow-x-auto"]}),JH=Ja({base:["table-auto","w-full"]}),QH=Ja({base:["py-md","px-sm","border-b","border-outline-variant","max-mobile:hidden"],variants:{hasBackgroundColor:{true:["bg-surface-container-low"]}}}),eC=Ja({base:["text-body-medium","not-last:border-b","transition-colors","transition-all","border-outline-variant","[&+tr]:transition-all","[&+tr]:duration-200","[&+tr]:ease-in-out","mobile:hover:bg-surface-container-lowest","max-mobile:block","max-mobile:odd:bg-surface-container-lowest"],variants:{isSubRow:{true:["border-b-0!","hover:bg-transparent"]},isLastWithSubRow:{true:["border-b-0!"]},isOpen:{true:["[&+tr]:border-t","[&+tr]:border-outline-variant"]},isSubRowOpen:{true:["bg-surface-container-lowest"]}}}),aC=Ja({base:["p-sm","relative","max-mobile:p-xs","max-mobile:inline-flex","max-mobile:w-full","max-mobile:justify-between","max-mobile:before:content-[attr(data-label)]","max-mobile:before:text-label-large","max-mobile:gap-sm"],variants:{variant:{header:["not-last:after:absolute","not-last:after:right-[0px]","not-last:after:top-1/2","not-last:after:-translate-y-1/2","not-last:after:w-px","not-last:after:h-[12px]","not-last:after:bg-outline-variant"]},orderable:{true:["cursor-pointer"]}}}),tC="asc",lC="desc",nC="left",rC="center",iC="right",oC=e=>{let a="flex-start";return e===iC&&(a="flex-end"),e===rC&&(a="center"),e===nC&&(a="flex-start"),a},sC=({data:e,columns:t,title:l,subtitle:n,actions:r,filters:i,footer:o,orderBy:s,onOrderByChange:c,emptyState:m,hiddenColumns:d,loading:h=!1,expandedRows:p,headerBackgroundColor:u=!1})=>{const{isSmallerThan:H}=ue(),C=t.filter(e=>!d?.includes(e.id));/* @__PURE__ */
|
|
723
723
|
return b(Wm,{variant:"outlined",padding:"none",overflow:"hidden",children:[(r||l)&&/* @__PURE__ */b(M,{children:[/* @__PURE__ */b(CH,{padding:{y:"xs",x:"md"},direction:{minimum:"column",mobile:"row"},justify:"space-between",align:"center",children:[l?/* @__PURE__ */x(M,{children:l&&/* @__PURE__ */b(CH,{gap:"none",padding:{y:"xs"},children:[/* @__PURE__ */x(_p,{variant:"title",size:"large",as:"h1",children:l}),n&&/* @__PURE__ */x(_p,{color:"on-surface-variant",children:n})]})}):/* @__PURE__ */x("div",{}),/* @__PURE__ */x("div",{children:/* @__PURE__ */x(CH,{direction:"row",gap:"none",children:r})})]}),/* @__PURE__ */x(Fh,{})]}),i&&/* @__PURE__ */b(M,{children:[/* @__PURE__ */x(CH,{padding:"md",direction:"row",gap:"sm",align:"center",children:i}),/* @__PURE__ */x(Fh,{})]}),
|
|
724
724
|
/* @__PURE__ */x("div",{className:KH(),children:/* @__PURE__ */b("table",{className:JH(),children:[/* @__PURE__ */x("thead",{children:/* @__PURE__ */x("tr",{className:QH({hasBackgroundColor:u}),children:C.map(e=>/* @__PURE__ */x("th",{className:aC({variant:"header",orderable:e.orderable}),style:{width:e.width,minWidth:e.minWidth,textAlign:e.align??nC},role:e.orderable?"button":void 0,tabIndex:e.orderable?0:void 0,onClick:()=>{e.orderable&&c?.({columnId:e.id,direction:s?.direction===tC?lC:tC})},children:/* @__PURE__ */b(CH,{direction:"row",gap:"xs",align:"center",justify:oC(e.align??nC),children:[/* @__PURE__ */x(_p,{variant:"label",size:"large",wrap:!1,as:"span",children:e.label}),e.orderable&&/* @__PURE__ */x(wd,{name:s?.column===e.id?s.direction===tC?"arrow-up":"arrow-down":"minus",size:"sm",color:"on-surface"})]})},`${e.id}-header`))})}),/* @__PURE__ */x("tbody",{children:h?/* @__PURE__ */x(M,{children:Array.from({length:10}).map((e,a)=>/* @__PURE__ */x("tr",{className:eC(),children:C.map(e=>/* @__PURE__ */x("td",{className:aC(),align:e.align??nC,children:/* @__PURE__ */x(IH,{width:`${Math.floor(61*Math.random())+40}%`})},`${e.id}-row-loading`))},`row-loading-${a}`))}):e.length>0?e.map((t,l)=>{const n=l===e.length-1,r=!!t.expandableRow,i=n&&r,o=p?.includes(t.expandableRow?.id??"");/* @__PURE__ */
|
|
725
|
-
return b(a.Fragment,{children:[/* @__PURE__ */x("tr",{className:eC({isLastWithSubRow:i&&!o,isSubRowOpen:o}),children:C.map(e=>{const a=t[e.id];let n;return n="string"==typeof a?/* @__PURE__ */x(_p,{variant:"body",as:"span",textAlign:H("tablet")?iC:e.align??nC,children:a}):a,/* @__PURE__ */x("td",{className:aC(),align:e.align??nC,"data-label":e.label,children:n},`${e.id}-row-${l}`)})},`row-${l}`),t.expandableRow&&/* @__PURE__ */x("tr",{className:eC({isSubRow:!0,isOpen:p?.includes(t.expandableRow?.id??"")}),"data-type":"expandable-row",children:/* @__PURE__ */x("td",{colSpan:C.length,align:nC,children:/* @__PURE__ */x(Cd,{isOpen:p?.includes(t.expandableRow?.id??""),children:/* @__PURE__ */x("div",{className:aC(),children:t.expandableRow.render})})})},t.expandableRow.id?`expandable-row-${t.expandableRow.id}`:`expandable-row-${l}`)]},`row-fragment-${l}`)}):/* @__PURE__ */x("tr",{children:/* @__PURE__ */x("td",{colSpan:t.length,className:aC(),align:rC,children:m||/* @__PURE__ */x(_p,{variant:"body",as:"span",children:"Keine Daten gefunden"})})})})]})}),o&&/* @__PURE__ */b(M,{children:[/* @__PURE__ */x(Fh,{}),/* @__PURE__ */x(CH,{padding:"md",children:o})]})]})};sC.displayName="Table";var cC=Ja({base:["w-full","relative"]}),mC=Ja({base:["w-full","p-md"],variants:{active:{true:["block"],false:["hidden"]}}}),dC=Ja({base:["w-full","relative"],variants:{hasArrows:{true:["px-
|
|
726
|
-
return b("div",{className:cC(),children:[/* @__PURE__ */b("div",{className:dC({hasArrows:s.left||s.right,hideBorder:l,isSticky:r}),ref:g,children:[
|
|
725
|
+
return b(a.Fragment,{children:[/* @__PURE__ */x("tr",{className:eC({isLastWithSubRow:i&&!o,isSubRowOpen:o}),children:C.map(e=>{const a=t[e.id];let n;return n="string"==typeof a?/* @__PURE__ */x(_p,{variant:"body",as:"span",textAlign:H("tablet")?iC:e.align??nC,children:a}):a,/* @__PURE__ */x("td",{className:aC(),align:e.align??nC,"data-label":e.label,children:n},`${e.id}-row-${l}`)})},`row-${l}`),t.expandableRow&&/* @__PURE__ */x("tr",{className:eC({isSubRow:!0,isOpen:p?.includes(t.expandableRow?.id??"")}),"data-type":"expandable-row",children:/* @__PURE__ */x("td",{colSpan:C.length,align:nC,children:/* @__PURE__ */x(Cd,{isOpen:p?.includes(t.expandableRow?.id??""),children:/* @__PURE__ */x("div",{className:aC(),children:t.expandableRow.render})})})},t.expandableRow.id?`expandable-row-${t.expandableRow.id}`:`expandable-row-${l}`)]},`row-fragment-${l}`)}):/* @__PURE__ */x("tr",{children:/* @__PURE__ */x("td",{colSpan:t.length,className:aC(),align:rC,children:m||/* @__PURE__ */x(_p,{variant:"body",as:"span",children:"Keine Daten gefunden"})})})})]})}),o&&/* @__PURE__ */b(M,{children:[/* @__PURE__ */x(Fh,{}),/* @__PURE__ */x(CH,{padding:"md",children:o})]})]})};sC.displayName="Table";var cC=Ja({base:["w-full","relative"],variants:{isSticky:{true:["sticky","top-none","z-10"],false:["relative"]}}}),mC=Ja({base:["w-full","p-md"],variants:{active:{true:["block"],false:["hidden"]}}}),dC=Ja({base:["w-full","relative"],variants:{hasArrows:{true:["px-xl"]},hideBorder:{true:["border-none"],false:["border-b","border-b-surface-container-highest"]},isSticky:{true:["sticky","top-none","bg-surface/50","backdrop-blur","z-10"]}}}),hC=Ja({base:["w-full","overflow-x-auto","overflow-y-hidden","scrollbar-hidden ","relative"]}),pC=Ja({base:["flex","gap-md","relative"],variants:{hasArrows:{false:["px-xl","w-full"],true:["w-fit"]},itemsAlignment:{left:["justify-start"],center:["justify-center"],right:["justify-end"],between:["justify-between"],around:["justify-around"],evenly:["justify-evenly"]}}}),uC=Ja({base:["cursor-pointer","transition-colors","duration-300","px-md","py-sm","whitespace-nowrap"],variants:{active:{false:["hover:bg-on-surface/8"],true:["hover:bg-primary/8"]},activity:{true:["relative","after:absolute","after:bottom-1/2","after:translate-y-1/2","after:right-xs2","after:size-xs","after:shrink-0","after:rounded-full","after:bg-primary"]}}}),HC=Ja({base:["absolute","bottom-none","h-[3px]","rounded-t-lg","z-10","bg-primary"],variants:{initial:{true:["transition-none"],false:["transition-[left,width]","duration-300","ease-in-out"]}},defaultVariants:{initial:!1}}),CC=Ja({base:["absolute","top-none","cursor-pointer","h-full","w-xl","flex","items-center","justify-center","z-50","transition-all","duration-300","hover:bg-on-surface/8"],variants:{direction:{left:["left-none"],right:["right-none"]},visible:{true:["opacity-100","pointer-events-auto"],false:["opacity-0","pointer-events-none"]}}}),gC=({item:e,activeItem:a,onChange:t,hasActivity:l,scrollContainerRef:n,tabRefs:r,setTabRef:i,index:s,linkComponent:c="button",isActive:m})=>/* @__PURE__ */o(c,{...e,key:e.id,ref:e=>{i(s,e)},role:"tab","aria-selected":m,"aria-controls":`tab-panel-${e.id}`,onClick:()=>{if(t?.({...e,hasActivity:l}),n.current&&r?.current){const e=r.current[s],a=n.current,t=a.clientWidth,l=e.offsetLeft-t/2+e.offsetWidth/2;a.scrollTo({left:l,behavior:"smooth"})}},className:uC({active:m,activity:l})},/* @__PURE__ */x(CH,{direction:"row",align:"center",gap:"sm",children:/* @__PURE__ */b(CH,{direction:"top"===e.iconPosition?"column":"row",align:"center",gap:"top"===e.iconPosition?"xs2":"xs",children:[e.icon&&/* @__PURE__ */x(wd,{name:e.icon,size:"sm",color:m?"primary":"on-surface-variant"}),!e.hideLabel&&/* @__PURE__ */x(_p,{as:"span",variant:"title",size:"small",color:e.id===a?"primary":"on-surface-variant",children:e.label})]})})),VC=({items:e,activeItem:a,onChange:t,hideBorder:l=!1,itemsAlignment:n="left",isSticky:r=!0,panels:i,linkComponent:o="button"})=>{const[s,c]=v({left:!1,right:!1}),[m,h]=v({left:0,width:0}),[p,H]=v(!0),C=Z([]),g=Z(null),V=Z(null),f=Z(null),A=()=>{if(f.current){const{scrollLeft:e,scrollWidth:a,clientWidth:t}=f.current;c({left:e>0,right:e<a-t-1})}};u(()=>{const e=f.current;if(e){e.addEventListener("scroll",A);const a=new ResizeObserver(()=>{A()});return a.observe(e),()=>{e.removeEventListener("scroll",A),a.disconnect()}}},[]),u(()=>{const t=e.findIndex(e=>e.id===a),l=C.current[t];if(l){const{offsetLeft:e,offsetWidth:a}=l;p?requestAnimationFrame(()=>{h({left:e+16,width:a-32});const t=setTimeout(()=>{H(!1)},300);return()=>clearTimeout(t)}):h({left:e+16,width:a-32})}},[a,e,s,n,p]),u(()=>{if(V.current&&g.current){const{width:e}=g.current.getBoundingClientRect(),{width:a}=V.current.getBoundingClientRect();a>e&&d(()=>{c({left:!1,right:!0})})}},[V,g,e]);const M=e=>{if(f.current){const{clientWidth:a}=f.current,t=.5*a,l="left"===e?f.current.scrollLeft-t:f.current.scrollLeft+t;f.current.scrollTo({left:l,behavior:"smooth"})}},w=(e,a)=>{C.current&&(C.current[e]=a)};/* @__PURE__ */
|
|
726
|
+
return b("div",{className:cC({isSticky:r}),children:[/* @__PURE__ */b("div",{className:dC({hasArrows:s.left||s.right,hideBorder:l,isSticky:r}),ref:g,children:[
|
|
727
727
|
/* @__PURE__ */x("button",{className:CC({direction:"left",visible:s.left}),onClick:()=>M("left"),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||M("left")},"aria-label":"Scroll left",children:/* @__PURE__ */x(wd,{name:"chevron-left",size:"sm",color:"on-surface-variant"})}),
|
|
728
728
|
/* @__PURE__ */x("button",{className:CC({direction:"right",visible:s.right}),onClick:()=>M("right"),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||M("right")},"aria-label":"Scroll right",children:/* @__PURE__ */x(wd,{name:"chevron-right",size:"sm",color:"on-surface-variant"})}),
|
|
729
729
|
/* @__PURE__ */x("div",{className:hC(),ref:f,children:/* @__PURE__ */b("div",{className:pC({hasArrows:s.left||s.right,itemsAlignment:n}),ref:V,role:"tablist",children:[e.map(({hasActivity:e,...l},n)=>/* @__PURE__ */x(gC,{item:l,activeItem:a,onChange:t,hasActivity:e,index:n,linkComponent:o,isActive:l.id===a,scrollContainerRef:f,tabRefs:C,setTabRef:w},l.id)),/* @__PURE__ */x("div",{className:HC({initial:p}),style:{left:`${m.left}px`,width:`${m.width}px`}})]})})]}),i?.map(e=>/* @__PURE__ */x("div",{className:mC({active:e.id===a}),children:e.children},e.id))]})};VC.displayName="Tabs";var fC=Ja({base:["w-fit","flex","justify-center","items-center","border","gap-xs","text-nowrap"],variants:{variant:{solid:["border-transparent!"],outlined:["bg-transparent!"],ghost:["bg-transparent!","border-transparent!"]},size:{large:["text-label-large","h-[32px]","px-md","rounded-sm"],medium:["text-label-medium","h-[24px]","px-sm","rounded-sm"],small:["text-label-small","h-[18px]","px-xs","rounded-xs"]},color:{green:["border-dark-green"],yellow:["border-dark-yellow"],pink:["border-dark-pink"],"steel-blue":["border-dark-steel-blue"],error:["border-error"],primary:["border-primary"],neutral:["border-outline"]},tone:{light:[],dark:[]}},compoundVariants:[{color:"green",tone:"light",variant:"solid",class:["bg-green-container","text-on-green-container"]},{color:"green",tone:"dark",variant:"solid",class:["bg-dark-green","text-on-dark-green"]},{color:"green",variant:"outlined",class:["text-on-green-container"]},{color:"green",variant:"ghost",class:["text-dark-green"]},{color:"yellow",tone:"light",variant:"solid",class:["bg-yellow-container","text-on-yellow-container"]},{color:"yellow",tone:"dark",variant:"solid",class:["bg-dark-yellow","text-on-dark-yellow"]},{color:"yellow",variant:"outlined",class:["text-on-yellow-container"]},{color:"yellow",variant:"ghost",class:["text-dark-yellow"]},{color:"pink",tone:"light",variant:"solid",class:["bg-pink-container","text-on-pink-container"]},{color:"pink",tone:"dark",variant:"solid",class:["bg-dark-pink","text-on-dark-pink"]},{color:"pink",variant:"outlined",class:["text-on-pink-container"]},{color:"pink",variant:"ghost",class:["text-dark-pink"]},{color:"steel-blue",tone:"light",variant:"solid",class:["bg-steel-blue-container","text-on-steel-blue-container"]},{color:"steel-blue",tone:"dark",variant:"solid",class:["bg-dark-steel-blue","text-on-dark-steel-blue"]},{color:"steel-blue",variant:"outlined",class:["text-on-steel-blue-container"]},{color:"steel-blue",variant:"ghost",class:["text-dark-steel-blue"]},{color:"error",tone:"light",variant:"solid",class:["bg-error-container","text-on-error-container"]},{color:"error",tone:"dark",variant:"solid",class:["bg-error","text-on-error"]},{color:"error",variant:"outlined",class:["text-on-error-container"]},{color:"error",variant:"ghost",class:["text-error"]},{color:"primary",tone:"light",variant:"solid",class:["bg-primary-container","text-on-primary-container"]},{color:"primary",tone:"dark",variant:"solid",class:["bg-primary","text-on-primary"]},{color:"primary",variant:"outlined",class:["text-on-primary-container"]},{color:"primary",variant:"ghost",class:["text-primary"]},{color:"neutral",tone:"light",variant:"solid",class:["bg-surface-container","text-inverse-surface"]},{color:"neutral",tone:"dark",variant:"solid",class:["bg-on-surface-variant","text-inverse-on-surface"]},{color:"neutral",variant:"outlined",class:["text-inverse-surface"]},{color:"neutral",variant:"ghost",class:["text-inverse-surface"]}]}),ZC=s(({label:e,variant:a="solid",size:t="medium",color:l="primary",tone:n="light",icon:r,...i},o)=>/* @__PURE__ */b("span",{ref:o,className:fC({variant:a,size:t,color:l,tone:n}),...i,children:[r&&/* @__PURE__ */x(wd,{name:r,size:"xs"})," ",e]})),vC=Ja({base:["flex","flex-col","gap-xs2","p-md","relative","w-full","border","border-outline","transition-colors","ease-in-out","text-on-surface","bg-surface"],variants:{borderRadius:{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl"},disabled:{true:["opacity-50","cursor-not-allowed","bg-surface-container-low"],false:[]},error:{true:["border-error"],false:[]}},compoundVariants:[{disabled:!1,error:!1,class:["hover:border-on-surface-variant","hover:bg-surface-container-low!","focus-within:border-primary!","focus-within:bg-surface-container-low"]},{disabled:!1,error:!0,class:["hover:bg-surface-container-low!","focus-within:bg-surface-container-low"]}]}),AC=Ja({base:["w-full","pb-xs"]}),MC=Ja({base:["grid","text-body-medium","[&>textarea]:text-inherit","after:text-inherit","[&>textarea]:resize-none","[&>textarea]:overflow-hidden","[&>textarea]:[grid-area:1/1/2/2]","after:[grid-area:1/1/2/2]","after:whitespace-pre-wrap","after:invisible","after:content-[attr(data-cloned-val)_'_']"]}),xC=Ja({base:["appearance-none","text-body-medium","text-on-surface","placeholder:text-on-surface-variant-lowest","disabled:opacity-50","disabled:cursor-not-allowed","focus:outline-none","focus:ring-0","p-none"],variants:{error:{true:["caret-error"],false:["caret-primary"]}}}),bC=s(({value:e,error:a=!1,errorMessage:t,disabled:l=!1,maxLength:n,borderRadius:r="sm",header:i,rows:o=1,actions:s,...c},m)=>{const d=Z(null);/* @__PURE__ */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zvoove/unity-ui",
|
|
3
|
-
"version": "2.29.
|
|
3
|
+
"version": "2.29.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@github.com/zvoove-org/unity-ui.git"
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"terser": "^5.46.2",
|
|
99
99
|
"typescript": "^5.9.3",
|
|
100
100
|
"vite": "^8.0.10",
|
|
101
|
-
"vite-plugin-dts": "^5.
|
|
101
|
+
"vite-plugin-dts": "^4.5.4",
|
|
102
102
|
"vite-plugin-static-copy": "^4.1.0",
|
|
103
103
|
"vitest": "^4.0.7"
|
|
104
104
|
},
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { AccordionItem, AccordionProps } from './Accordion.types';
|
|
2
|
-
declare const Accordion: {
|
|
3
|
-
<T extends readonly AccordionItem[]>({ items, onToggle, openItems, allowMultipleOpenItems, }: AccordionProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
displayName: string;
|
|
5
|
-
};
|
|
6
|
-
export default Accordion;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export declare const accordionStyles: import('tailwind-variants').TVReturnType<{
|
|
2
|
-
isOpen: {
|
|
3
|
-
true: {
|
|
4
|
-
header: string[];
|
|
5
|
-
chevron: string[];
|
|
6
|
-
};
|
|
7
|
-
false: {
|
|
8
|
-
chevron: string[];
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
}, {
|
|
12
|
-
base: string[];
|
|
13
|
-
header: string[];
|
|
14
|
-
chevron: string[];
|
|
15
|
-
content: string[];
|
|
16
|
-
}, undefined, {
|
|
17
|
-
isOpen: {
|
|
18
|
-
true: {
|
|
19
|
-
header: string[];
|
|
20
|
-
chevron: string[];
|
|
21
|
-
};
|
|
22
|
-
false: {
|
|
23
|
-
chevron: string[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
}, {
|
|
27
|
-
base: string[];
|
|
28
|
-
header: string[];
|
|
29
|
-
chevron: string[];
|
|
30
|
-
content: string[];
|
|
31
|
-
}, import('tailwind-variants').TVReturnType<{
|
|
32
|
-
isOpen: {
|
|
33
|
-
true: {
|
|
34
|
-
header: string[];
|
|
35
|
-
chevron: string[];
|
|
36
|
-
};
|
|
37
|
-
false: {
|
|
38
|
-
chevron: string[];
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
}, {
|
|
42
|
-
base: string[];
|
|
43
|
-
header: string[];
|
|
44
|
-
chevron: string[];
|
|
45
|
-
content: string[];
|
|
46
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface AccordionItem {
|
|
3
|
-
id: string;
|
|
4
|
-
title: string;
|
|
5
|
-
supportingText?: string;
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
isOpen?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export type AccordionItemId<T extends readonly AccordionItem[]> = T[number]['id'];
|
|
11
|
-
export interface AccordionProps<T extends readonly AccordionItem[] = readonly AccordionItem[]> {
|
|
12
|
-
/**
|
|
13
|
-
* The children of the Accordion.
|
|
14
|
-
*/
|
|
15
|
-
items: AccordionItem[];
|
|
16
|
-
/**
|
|
17
|
-
* The open items of the Accordion. By default, all items are closed. <br />
|
|
18
|
-
* The ids must match the `id` of the item. <br />
|
|
19
|
-
* When allowMultipleOpenItems is false, this should be a single id or undefined. <br />
|
|
20
|
-
* When allowMultipleOpenItems is true, this can be an array of ids or undefined.
|
|
21
|
-
*/
|
|
22
|
-
openItems?: AccordionItemId<T> | AccordionItemId<T>[];
|
|
23
|
-
/**
|
|
24
|
-
* Callback when the accordion header is clicked <br />
|
|
25
|
-
* If provided, this will override the default behavior and you need to manage the open items yourself.
|
|
26
|
-
*/
|
|
27
|
-
onToggle?: (item: AccordionItem) => void;
|
|
28
|
-
/**
|
|
29
|
-
* Whether to allow multiple open items or not.
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
allowMultipleOpenItems?: boolean;
|
|
33
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export declare const actionCardHeaderStyles: import('tailwind-variants').TVReturnType<{
|
|
2
|
-
clickable: {
|
|
3
|
-
true: string[];
|
|
4
|
-
};
|
|
5
|
-
}, undefined, never[], {
|
|
6
|
-
clickable: {
|
|
7
|
-
true: string[];
|
|
8
|
-
};
|
|
9
|
-
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
10
|
-
clickable: {
|
|
11
|
-
true: string[];
|
|
12
|
-
};
|
|
13
|
-
}, undefined, never[], unknown, unknown, undefined>>;
|
|
14
|
-
export declare const actionCardChevronStyles: import('tailwind-variants').TVReturnType<{
|
|
15
|
-
open: {
|
|
16
|
-
true: string[];
|
|
17
|
-
false: string[];
|
|
18
|
-
};
|
|
19
|
-
}, undefined, string[], {
|
|
20
|
-
open: {
|
|
21
|
-
true: string[];
|
|
22
|
-
false: string[];
|
|
23
|
-
};
|
|
24
|
-
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
25
|
-
open: {
|
|
26
|
-
true: string[];
|
|
27
|
-
false: string[];
|
|
28
|
-
};
|
|
29
|
-
}, undefined, string[], unknown, unknown, undefined>>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface ActionCardProps {
|
|
3
|
-
/**
|
|
4
|
-
* Content rendered inside the card header area with a
|
|
5
|
-
* `surface-container-lowest` background. Wrapped in a horizontal Stack
|
|
6
|
-
* with standardised padding so the consumer only provides the inner nodes.
|
|
7
|
-
*/
|
|
8
|
-
header?: ReactNode;
|
|
9
|
-
/** Card body content. */
|
|
10
|
-
children: ReactNode;
|
|
11
|
-
/**
|
|
12
|
-
* Content rendered inside the card footer area. Wrapped in a horizontal
|
|
13
|
-
* Stack with standardised padding so the consumer only provides the inner
|
|
14
|
-
* nodes (typically action buttons).
|
|
15
|
-
*/
|
|
16
|
-
footer?: ReactNode;
|
|
17
|
-
/**
|
|
18
|
-
* Whether the ActionCard is expandable.
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
expandable?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Whether the ActionCard is open or closed.
|
|
24
|
-
* @default true
|
|
25
|
-
*/
|
|
26
|
-
isOpen?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Called when the header is clicked in expandable mode.
|
|
29
|
-
* Required when using `isOpen` (controlled) so the parent can update its state.
|
|
30
|
-
*/
|
|
31
|
-
onExpandToggle?: () => void;
|
|
32
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export declare const avatarStyles: import('tailwind-variants').TVReturnType<{
|
|
2
|
-
size: {
|
|
3
|
-
small: string[];
|
|
4
|
-
medium: string[];
|
|
5
|
-
large: string[];
|
|
6
|
-
};
|
|
7
|
-
type: {
|
|
8
|
-
initials: never[];
|
|
9
|
-
check: never[];
|
|
10
|
-
avatar: string[];
|
|
11
|
-
image: string[];
|
|
12
|
-
zvoove: string[];
|
|
13
|
-
};
|
|
14
|
-
variant: {
|
|
15
|
-
round: string[];
|
|
16
|
-
square: never[];
|
|
17
|
-
};
|
|
18
|
-
}, undefined, string[], {
|
|
19
|
-
size: {
|
|
20
|
-
small: string[];
|
|
21
|
-
medium: string[];
|
|
22
|
-
large: string[];
|
|
23
|
-
};
|
|
24
|
-
type: {
|
|
25
|
-
initials: never[];
|
|
26
|
-
check: never[];
|
|
27
|
-
avatar: string[];
|
|
28
|
-
image: string[];
|
|
29
|
-
zvoove: string[];
|
|
30
|
-
};
|
|
31
|
-
variant: {
|
|
32
|
-
round: string[];
|
|
33
|
-
square: never[];
|
|
34
|
-
};
|
|
35
|
-
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
36
|
-
size: {
|
|
37
|
-
small: string[];
|
|
38
|
-
medium: string[];
|
|
39
|
-
large: string[];
|
|
40
|
-
};
|
|
41
|
-
type: {
|
|
42
|
-
initials: never[];
|
|
43
|
-
check: never[];
|
|
44
|
-
avatar: string[];
|
|
45
|
-
image: string[];
|
|
46
|
-
zvoove: string[];
|
|
47
|
-
};
|
|
48
|
-
variant: {
|
|
49
|
-
round: string[];
|
|
50
|
-
square: never[];
|
|
51
|
-
};
|
|
52
|
-
}, undefined, string[], unknown, unknown, undefined>>;
|
|
53
|
-
export declare const imageStyles: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ResponsiveType } from '../../../types';
|
|
2
|
-
export declare const AVATAR_SIZES: {
|
|
3
|
-
readonly SMALL: "small";
|
|
4
|
-
readonly MEDIUM: "medium";
|
|
5
|
-
readonly LARGE: "large";
|
|
6
|
-
};
|
|
7
|
-
export type AvatarSize = (typeof AVATAR_SIZES)[keyof typeof AVATAR_SIZES];
|
|
8
|
-
export interface AvatarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
9
|
-
/**
|
|
10
|
-
* The size of the avatar
|
|
11
|
-
* @default 'large'
|
|
12
|
-
*/
|
|
13
|
-
size?: ResponsiveType<AvatarSize>;
|
|
14
|
-
/**
|
|
15
|
-
* The type of the avatar
|
|
16
|
-
*/
|
|
17
|
-
type?: 'initials' | 'check' | 'avatar' | 'image' | 'zvoove';
|
|
18
|
-
/**
|
|
19
|
-
* The image of the avatar
|
|
20
|
-
*/
|
|
21
|
-
image?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The name of the avatar
|
|
24
|
-
*/
|
|
25
|
-
name?: string;
|
|
26
|
-
/**
|
|
27
|
-
* The amount of initials of the avatar
|
|
28
|
-
*/
|
|
29
|
-
initialsAmount?: 1 | 2;
|
|
30
|
-
/**
|
|
31
|
-
* The variant of the avatar
|
|
32
|
-
*/
|
|
33
|
-
variant?: 'round' | 'square';
|
|
34
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const avatarGroupStyles: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
2
|
-
export declare const avatarContainerStyles: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
3
|
-
export declare const avatarCounterStyles: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface AvatarGroupProps {
|
|
3
|
-
/**
|
|
4
|
-
* The children of the button.
|
|
5
|
-
*/
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
/**
|
|
8
|
-
* Maximum number of avatars to display before showing a count
|
|
9
|
-
*/
|
|
10
|
-
maxLength?: number;
|
|
11
|
-
/**
|
|
12
|
-
* Total number of avatars in the group
|
|
13
|
-
*/
|
|
14
|
-
total?: number;
|
|
15
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare const badgeStyles: import('tailwind-variants').TVReturnType<{
|
|
2
|
-
variant: {
|
|
3
|
-
primary: string[];
|
|
4
|
-
secondary: string[];
|
|
5
|
-
};
|
|
6
|
-
dot: {
|
|
7
|
-
true: string[];
|
|
8
|
-
false: string[];
|
|
9
|
-
};
|
|
10
|
-
}, undefined, string[], {
|
|
11
|
-
variant: {
|
|
12
|
-
primary: string[];
|
|
13
|
-
secondary: string[];
|
|
14
|
-
};
|
|
15
|
-
dot: {
|
|
16
|
-
true: string[];
|
|
17
|
-
false: string[];
|
|
18
|
-
};
|
|
19
|
-
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
20
|
-
variant: {
|
|
21
|
-
primary: string[];
|
|
22
|
-
secondary: string[];
|
|
23
|
-
};
|
|
24
|
-
dot: {
|
|
25
|
-
true: string[];
|
|
26
|
-
false: string[];
|
|
27
|
-
};
|
|
28
|
-
}, undefined, string[], unknown, unknown, undefined>>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface BadgeProps {
|
|
3
|
-
/**
|
|
4
|
-
* The children of the button.
|
|
5
|
-
*/
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
/**
|
|
8
|
-
* The variant of the component
|
|
9
|
-
*/
|
|
10
|
-
variant?: 'primary' | 'secondary';
|
|
11
|
-
/**
|
|
12
|
-
* The content of the badge. If undefined, the badge will be hidden.
|
|
13
|
-
*/
|
|
14
|
-
content?: ReactNode;
|
|
15
|
-
/**
|
|
16
|
-
* The dot prop changes a badge into a small dot
|
|
17
|
-
*/
|
|
18
|
-
dot?: boolean;
|
|
19
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BreadcrumbsProps } from './Breadcrumbs.types';
|
|
3
|
-
declare const Breadcrumbs: <T extends React.ElementType = "a">({ items, linkComponent: LinkComponent, homeIcon, }: BreadcrumbsProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default Breadcrumbs;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const breadcrumbsStyles: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
2
|
-
export declare const linkStyles: import('tailwind-variants').TVReturnType<{
|
|
3
|
-
hasHref: {
|
|
4
|
-
false: string[];
|
|
5
|
-
};
|
|
6
|
-
}, undefined, never[], {
|
|
7
|
-
hasHref: {
|
|
8
|
-
false: string[];
|
|
9
|
-
};
|
|
10
|
-
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
11
|
-
hasHref: {
|
|
12
|
-
false: string[];
|
|
13
|
-
};
|
|
14
|
-
}, undefined, never[], unknown, unknown, undefined>>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { CommonIconNames } from '../../index.ts';
|
|
2
|
-
export type BreadcrumbsItem<T extends React.ElementType = 'a'> = {
|
|
3
|
-
label: string;
|
|
4
|
-
} & Omit<React.ComponentPropsWithoutRef<T>, 'children'>;
|
|
5
|
-
export type BreadcrumbsProps<T extends React.ElementType = 'a'> = {
|
|
6
|
-
/**
|
|
7
|
-
* The items of the component. <br />
|
|
8
|
-
* The items are displayed in the order they are passed. <br />
|
|
9
|
-
* `type BreadcrumbsItem = { label: string; href: string; onItemClick?: () => void; }`
|
|
10
|
-
*/
|
|
11
|
-
items: BreadcrumbsItem<T>[];
|
|
12
|
-
/**
|
|
13
|
-
* The component to render for the link
|
|
14
|
-
* @default 'a'
|
|
15
|
-
*/
|
|
16
|
-
linkComponent?: T | 'a';
|
|
17
|
-
/**
|
|
18
|
-
* The icon name for the home (first) breadcrumb item
|
|
19
|
-
* @default 'home'
|
|
20
|
-
*/
|
|
21
|
-
homeIcon?: CommonIconNames;
|
|
22
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ForwardedRef } from 'react';
|
|
2
|
-
import { ButtonProps } from './Button.types';
|
|
3
|
-
declare const Button: {
|
|
4
|
-
<T extends React.ElementType = "button">({ children, variant, hideLabel, as, icon, linkComponent, size, isLoading, ...props }: ButtonProps<T> & {
|
|
5
|
-
ref?: ForwardedRef<T>;
|
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
9
|
-
export default Button;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
export declare const buttonContentStyles: import('tailwind-variants').TVReturnType<{
|
|
2
|
-
isLoading: {
|
|
3
|
-
true: string[];
|
|
4
|
-
};
|
|
5
|
-
}, undefined, string[], {
|
|
6
|
-
isLoading: {
|
|
7
|
-
true: string[];
|
|
8
|
-
};
|
|
9
|
-
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
10
|
-
isLoading: {
|
|
11
|
-
true: string[];
|
|
12
|
-
};
|
|
13
|
-
}, undefined, string[], unknown, unknown, undefined>>;
|
|
14
|
-
export declare const buttonStyles: import('tailwind-variants').TVReturnType<{
|
|
15
|
-
isLoading: {
|
|
16
|
-
true: string[];
|
|
17
|
-
false: string[];
|
|
18
|
-
};
|
|
19
|
-
size: {
|
|
20
|
-
sm: string[];
|
|
21
|
-
md: string[];
|
|
22
|
-
lg: string[];
|
|
23
|
-
};
|
|
24
|
-
hasIconOnly: {
|
|
25
|
-
false: never[];
|
|
26
|
-
};
|
|
27
|
-
hasIcon: {
|
|
28
|
-
true: never[];
|
|
29
|
-
};
|
|
30
|
-
variant: {
|
|
31
|
-
filled: string[];
|
|
32
|
-
outlined: string[];
|
|
33
|
-
text: string[];
|
|
34
|
-
textSecondary: string[];
|
|
35
|
-
elevated: string[];
|
|
36
|
-
tonal: string[];
|
|
37
|
-
linkPrimary: string[];
|
|
38
|
-
linkSecondary: string[];
|
|
39
|
-
positive: string[];
|
|
40
|
-
negative: string[];
|
|
41
|
-
};
|
|
42
|
-
}, undefined, string[], {
|
|
43
|
-
isLoading: {
|
|
44
|
-
true: string[];
|
|
45
|
-
false: string[];
|
|
46
|
-
};
|
|
47
|
-
size: {
|
|
48
|
-
sm: string[];
|
|
49
|
-
md: string[];
|
|
50
|
-
lg: string[];
|
|
51
|
-
};
|
|
52
|
-
hasIconOnly: {
|
|
53
|
-
false: never[];
|
|
54
|
-
};
|
|
55
|
-
hasIcon: {
|
|
56
|
-
true: never[];
|
|
57
|
-
};
|
|
58
|
-
variant: {
|
|
59
|
-
filled: string[];
|
|
60
|
-
outlined: string[];
|
|
61
|
-
text: string[];
|
|
62
|
-
textSecondary: string[];
|
|
63
|
-
elevated: string[];
|
|
64
|
-
tonal: string[];
|
|
65
|
-
linkPrimary: string[];
|
|
66
|
-
linkSecondary: string[];
|
|
67
|
-
positive: string[];
|
|
68
|
-
negative: string[];
|
|
69
|
-
};
|
|
70
|
-
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
71
|
-
isLoading: {
|
|
72
|
-
true: string[];
|
|
73
|
-
false: string[];
|
|
74
|
-
};
|
|
75
|
-
size: {
|
|
76
|
-
sm: string[];
|
|
77
|
-
md: string[];
|
|
78
|
-
lg: string[];
|
|
79
|
-
};
|
|
80
|
-
hasIconOnly: {
|
|
81
|
-
false: never[];
|
|
82
|
-
};
|
|
83
|
-
hasIcon: {
|
|
84
|
-
true: never[];
|
|
85
|
-
};
|
|
86
|
-
variant: {
|
|
87
|
-
filled: string[];
|
|
88
|
-
outlined: string[];
|
|
89
|
-
text: string[];
|
|
90
|
-
textSecondary: string[];
|
|
91
|
-
elevated: string[];
|
|
92
|
-
tonal: string[];
|
|
93
|
-
linkPrimary: string[];
|
|
94
|
-
linkSecondary: string[];
|
|
95
|
-
positive: string[];
|
|
96
|
-
negative: string[];
|
|
97
|
-
};
|
|
98
|
-
}, undefined, string[], unknown, unknown, undefined>>;
|