@zvoove/unity-ui 2.30.0 → 2.32.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/bin/cli.mjs +0 -0
- package/dist/bin/generate-skills.mjs +0 -0
- package/dist/llms.txt +19 -0
- package/dist/src/components/Accordion/Accordion.d.ts +6 -0
- package/dist/src/components/Accordion/Accordion.styled.d.ts +46 -0
- package/dist/src/components/Accordion/Accordion.types.d.ts +33 -0
- package/dist/src/components/Accordion/index.d.ts +2 -0
- package/dist/src/components/ActionCard/ActionCard.d.ts +6 -0
- package/dist/src/components/ActionCard/ActionCard.styled.d.ts +29 -0
- package/dist/src/components/ActionCard/ActionCard.types.d.ts +32 -0
- package/dist/src/components/ActionCard/index.d.ts +2 -0
- package/dist/src/components/Avatar/Avatar/Avatar.d.ts +3 -0
- package/dist/src/components/Avatar/Avatar/Avatar.styled.d.ts +53 -0
- package/dist/src/components/Avatar/Avatar/Avatar.types.d.ts +48 -0
- package/dist/src/components/Avatar/Avatar/index.d.ts +2 -0
- package/dist/src/components/Avatar/AvatarGroup/AvatarGroup.d.ts +3 -0
- package/dist/src/components/Avatar/AvatarGroup/AvatarGroup.styled.d.ts +3 -0
- package/dist/src/components/Avatar/AvatarGroup/AvatarGroup.types.d.ts +15 -0
- package/dist/src/components/Avatar/AvatarGroup/index.d.ts +2 -0
- package/dist/src/components/Avatar/index.d.ts +2 -0
- package/dist/src/components/Badge/Badge.d.ts +3 -0
- package/dist/src/components/Badge/Badge.styled.d.ts +28 -0
- package/dist/src/components/Badge/Badge.types.d.ts +19 -0
- package/dist/src/components/Badge/index.d.ts +2 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.styled.d.ts +14 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.types.d.ts +22 -0
- package/dist/src/components/Breadcrumbs/index.d.ts +2 -0
- package/dist/src/components/Button/Button.d.ts +9 -0
- package/dist/src/components/Button/Button.styled.d.ts +98 -0
- package/dist/src/components/Button/Button.types.d.ts +55 -0
- package/dist/src/components/Button/index.d.ts +2 -0
- package/dist/src/components/Card/Card.d.ts +10 -0
- package/dist/src/components/Card/Card.styled.d.ts +770 -0
- package/dist/src/components/Card/Card.types.d.ts +131 -0
- package/dist/src/components/Card/index.d.ts +2 -0
- package/dist/src/components/ChatBubble/ChatBubble.d.ts +3 -0
- package/dist/src/components/ChatBubble/ChatBubble.styled.d.ts +117 -0
- package/dist/src/components/ChatBubble/ChatBubble.types.d.ts +55 -0
- package/dist/src/components/ChatBubble/ChatBubbleMedia.d.ts +3 -0
- package/dist/src/components/ChatBubble/index.d.ts +3 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +3 -0
- package/dist/src/components/Checkbox/Checkbox.styled.d.ts +59 -0
- package/dist/src/components/Checkbox/Checkbox.types.d.ts +40 -0
- package/dist/src/components/Checkbox/index.d.ts +2 -0
- package/dist/src/components/Chip/Chip.d.ts +4 -0
- package/dist/src/components/Chip/Chip.styled.d.ts +114 -0
- package/dist/src/components/Chip/Chip.types.d.ts +63 -0
- package/dist/src/components/Chip/index.d.ts +2 -0
- package/dist/src/components/CodeBlock/CodeBlock.d.ts +6 -0
- package/dist/src/components/CodeBlock/CodeBlock.highlighter.d.ts +7 -0
- package/dist/src/components/CodeBlock/CodeBlock.styled.d.ts +65 -0
- package/dist/src/components/CodeBlock/CodeBlock.types.d.ts +28 -0
- package/dist/src/components/CodeBlock/CodeBlock.utils.d.ts +11 -0
- package/dist/src/components/CodeBlock/index.d.ts +3 -0
- package/dist/src/components/ContentBlock/ContentBlock.d.ts +6 -0
- package/dist/src/components/ContentBlock/ContentBlock.styled.d.ts +2 -0
- package/dist/src/components/ContentBlock/ContentBlock.types.d.ts +7 -0
- package/dist/src/components/ContentBlock/index.d.ts +2 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +3 -0
- package/dist/src/components/DatePicker/DatePicker.styled.d.ts +16 -0
- package/dist/src/components/DatePicker/DatePicker.types.d.ts +64 -0
- package/dist/src/components/DatePicker/components/DateDialog/DateDialog.d.ts +3 -0
- package/dist/src/components/DatePicker/components/DateDialog/DateDialog.types.d.ts +10 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/Calendar.d.ts +3 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/Calendar.styled.d.ts +16 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/Calendar.types.d.ts +61 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/ActionButtons/ActionButtons.d.ts +3 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/ActionButtons/ActionButtons.styled.d.ts +16 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/ActionButtons/ActionButtons.types.d.ts +30 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/ActionButtons/index.d.ts +2 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/CalendarHeader/CalendarHeader.d.ts +3 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/CalendarHeader/CalendarHeader.styled.d.ts +70 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/CalendarHeader/CalendarHeader.types.d.ts +46 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/CalendarHeader/index.d.ts +2 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/Carousel/Carousel.d.ts +3 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/Carousel/Carousel.styled.d.ts +45 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/Carousel/Carousel.types.d.ts +30 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/Carousel/index.d.ts +2 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/Day/Day.d.ts +3 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/Day/Day.styled.d.ts +22 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/Day/Day.types.d.ts +11 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/Day/index.d.ts +2 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/WeekDays/WeekDays.d.ts +3 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/WeekDays/WeekDays.styled.d.ts +17 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/WeekDays/WeekDays.types.d.ts +4 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/WeekDays/index.d.ts +2 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/components/index.d.ts +5 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/Calendar/index.d.ts +2 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/MonthSelector/MonthSelector.d.ts +3 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/MonthSelector/MonthSelector.types.d.ts +23 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/MonthSelector/index.d.ts +2 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/SelectorList/SelectorList.d.ts +3 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/SelectorList/SelectorList.styled.d.ts +19 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/SelectorList/SelectorList.types.d.ts +9 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/SelectorList/index.d.ts +2 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/YearSelector/YearSelector.d.ts +3 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/YearSelector/YearSelector.types.d.ts +36 -0
- package/dist/src/components/DatePicker/components/DateDialog/components/YearSelector/index.d.ts +2 -0
- package/dist/src/components/DatePicker/components/DateDialog/index.d.ts +2 -0
- package/dist/src/components/DatePicker/components/index.d.ts +1 -0
- package/dist/src/components/DatePicker/context/Context.types.d.ts +15 -0
- package/dist/src/components/DatePicker/context/DatePickerContext.d.ts +3 -0
- package/dist/src/components/DatePicker/context/DatePickerProvider.d.ts +3 -0
- package/dist/src/components/DatePicker/context/index.d.ts +3 -0
- package/dist/src/components/DatePicker/hooks/index.d.ts +5 -0
- package/dist/src/components/DatePicker/hooks/useDatePicker.d.ts +2 -0
- package/dist/src/components/DatePicker/hooks/useDateSelection.d.ts +21 -0
- package/dist/src/components/DatePicker/hooks/useDateUtils.d.ts +31 -0
- package/dist/src/components/DatePicker/hooks/useDialogFocus.d.ts +1 -0
- package/dist/src/components/DatePicker/hooks/useDialogPosition.d.ts +19 -0
- package/dist/src/components/DatePicker/index.d.ts +2 -0
- package/dist/src/components/DatePicker/utils/calendar.utils.d.ts +26 -0
- package/dist/src/components/DatePicker/utils/index.d.ts +3 -0
- package/dist/src/components/DatePicker/utils/locale.utils.d.ts +38 -0
- package/dist/src/components/DatePicker/utils/navigation.utils.d.ts +13 -0
- package/dist/src/components/Dialog/Dialog.d.ts +3 -0
- package/dist/src/components/Dialog/Dialog.styled.d.ts +38 -0
- package/dist/src/components/Dialog/Dialog.types.d.ts +46 -0
- package/dist/src/components/Dialog/DialogManager.d.ts +41 -0
- package/dist/src/components/Dialog/hooks/index.d.ts +3 -0
- package/dist/src/components/Dialog/hooks/useDialogAnimation.d.ts +6 -0
- package/dist/src/components/Dialog/hooks/useDialogEscape.d.ts +2 -0
- package/dist/src/components/Dialog/hooks/useDialogFocus.d.ts +2 -0
- package/dist/src/components/Dialog/index.d.ts +3 -0
- package/dist/src/components/Divider/Divider.d.ts +3 -0
- package/dist/src/components/Divider/Divider.styled.d.ts +19 -0
- package/dist/src/components/Divider/Divider.types.d.ts +13 -0
- package/dist/src/components/Divider/index.d.ts +2 -0
- package/dist/src/components/Expandable/Expandable.d.ts +6 -0
- package/dist/src/components/Expandable/Expandable.styled.d.ts +16 -0
- package/dist/src/components/Expandable/Expandable.types.d.ts +12 -0
- package/dist/src/components/Expandable/index.d.ts +2 -0
- package/dist/src/components/FloatSearch/FloatSearch.d.ts +6 -0
- package/dist/src/components/FloatSearch/FloatSearch.styled.d.ts +51 -0
- package/dist/src/components/FloatSearch/FloatSearch.types.d.ts +108 -0
- package/dist/src/components/FloatSearch/index.d.ts +2 -0
- package/dist/src/components/FormLabel/FormLabel.d.ts +3 -0
- package/dist/src/components/FormLabel/FormLabel.types.d.ts +15 -0
- package/dist/src/components/FormLabel/index.d.ts +2 -0
- package/dist/src/components/Grid/Grid.d.ts +3 -0
- package/dist/src/components/Grid/Grid.styled.d.ts +412 -0
- package/dist/src/components/Grid/Grid.types.d.ts +91 -0
- package/dist/src/components/Grid/index.d.ts +2 -0
- package/dist/src/components/Icon/CustomIcon.types.d.ts +13 -0
- package/dist/src/components/Icon/Icon.d.ts +3 -0
- package/dist/src/components/Icon/Icon.styled.d.ts +61 -0
- package/dist/src/components/Icon/Icon.types.d.ts +707 -0
- package/dist/src/components/Icon/custom/CockpitX.d.ts +5 -0
- package/dist/src/components/Icon/custom/FileArchiveRar.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileArchiveZip.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDesignAep.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDesignAi.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDesignFig.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDesignIndd.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDesignPsd.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDevelopmentCss.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDevelopmentDmg.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDevelopmentExe.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDevelopmentHtml.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDevelopmentJava.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDevelopmentJs.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDevelopmentJson.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDevelopmentRss.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDevelopmentSql.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDevelopmentXml.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDocumentCsv.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDocumentDoc.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDocumentDocx.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDocumentPdf.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDocumentPpt.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDocumentPptx.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDocumentTxt.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDocumentXls.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileDocumentXlsx.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileImageEps.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileImageGif.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileImageImg.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileImageJpeg.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileImageJpg.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileImagePng.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileImageSvg.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileImageTiff.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileImageWebp.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileMediaAvi.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileMediaMkv.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileMediaMp3.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileMediaMp4.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileMediaMpeg.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileMediaWav.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileSimpleAudio.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileSimpleCode.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileSimpleDocument.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileSimpleEmpty.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileSimpleFolder.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileSimpleImage.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileSimplePdf.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileSimpleSpreadSheet.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileSimpleVideo.d.ts +3 -0
- package/dist/src/components/Icon/custom/FileSimpleVideo2.d.ts +3 -0
- package/dist/src/components/Icon/custom/FlagDe.d.ts +4 -0
- package/dist/src/components/Icon/custom/FlagEs.d.ts +4 -0
- package/dist/src/components/Icon/custom/FlagFr.d.ts +4 -0
- package/dist/src/components/Icon/custom/FlagGb.d.ts +4 -0
- package/dist/src/components/Icon/custom/FlagNl.d.ts +4 -0
- package/dist/src/components/Icon/custom/ZvooveCashlink.d.ts +5 -0
- package/dist/src/components/Icon/custom/ZvooveDocsAi.d.ts +5 -0
- package/dist/src/components/Icon/custom/ZvooveElevate.d.ts +5 -0
- package/dist/src/components/Icon/custom/ZvooveFree.d.ts +5 -0
- package/dist/src/components/Icon/custom/ZvooveGo.d.ts +5 -0
- package/dist/src/components/Icon/custom/ZvooveIntelligence.d.ts +5 -0
- package/dist/src/components/Icon/custom/ZvooveInvoiceMonitor.d.ts +5 -0
- package/dist/src/components/Icon/custom/ZvooveLogo.d.ts +6 -0
- package/dist/src/components/Icon/custom/ZvooveOne.d.ts +5 -0
- package/dist/src/components/Icon/custom/ZvooveRecruit.d.ts +5 -0
- package/dist/src/components/Icon/custom/ZvooveWorkExpert.d.ts +5 -0
- package/dist/src/components/Icon/custom/index.d.ts +69 -0
- package/dist/src/components/Icon/index.d.ts +3 -0
- package/dist/src/components/ImageVisualizer/ImageVisualizer.d.ts +6 -0
- package/dist/src/components/ImageVisualizer/ImageVisualizer.styled.d.ts +142 -0
- package/dist/src/components/ImageVisualizer/ImageVisualizer.types.d.ts +46 -0
- package/dist/src/components/ImageVisualizer/index.d.ts +2 -0
- package/dist/src/components/InfoBox/InfoBox.constants.d.ts +5 -0
- package/dist/src/components/InfoBox/InfoBox.d.ts +6 -0
- package/dist/src/components/InfoBox/InfoBox.types.d.ts +22 -0
- package/dist/src/components/InfoBox/index.d.ts +2 -0
- package/dist/src/components/List/List.d.ts +7 -0
- package/dist/src/components/List/List.styled.d.ts +103 -0
- package/dist/src/components/List/List.types.d.ts +77 -0
- package/dist/src/components/List/index.d.ts +2 -0
- package/dist/src/components/ListMenu/ListMenu.d.ts +7 -0
- package/dist/src/components/ListMenu/ListMenu.styled.d.ts +150 -0
- package/dist/src/components/ListMenu/ListMenu.types.d.ts +74 -0
- package/dist/src/components/ListMenu/ListMenu.utils.d.ts +13 -0
- package/dist/src/components/ListMenu/index.d.ts +3 -0
- package/dist/src/components/MessageActions/MessageActions.d.ts +3 -0
- package/dist/src/components/MessageActions/MessageActions.styled.d.ts +56 -0
- package/dist/src/components/MessageActions/MessageActions.types.d.ts +81 -0
- package/dist/src/components/MessageActions/index.d.ts +2 -0
- package/dist/src/components/MidSectionMenus/MidSectionMenus.d.ts +7 -0
- package/dist/src/components/MidSectionMenus/MidSectionMenus.styled.d.ts +98 -0
- package/dist/src/components/MidSectionMenus/MidSectionMenus.types.d.ts +67 -0
- package/dist/src/components/MidSectionMenus/index.d.ts +2 -0
- package/dist/src/components/Pagination/Pagination.d.ts +3 -0
- package/dist/src/components/Pagination/Pagination.types.d.ts +37 -0
- package/dist/src/components/Pagination/index.d.ts +2 -0
- package/dist/src/components/PopUpMenu/PopUpMenu.constants.d.ts +2 -0
- package/dist/src/components/PopUpMenu/PopUpMenu.d.ts +3 -0
- package/dist/src/components/PopUpMenu/PopUpMenu.styled.d.ts +161 -0
- package/dist/src/components/PopUpMenu/PopUpMenu.types.d.ts +258 -0
- package/dist/src/components/PopUpMenu/PopUpMenu.utils.d.ts +18 -0
- package/dist/src/components/PopUpMenu/PopUpMenuContent.d.ts +45 -0
- package/dist/src/components/PopUpMenu/PopUpMenuManager.d.ts +37 -0
- package/dist/src/components/PopUpMenu/PopUpMenuPortal.d.ts +12 -0
- package/dist/src/components/PopUpMenu/index.d.ts +2 -0
- package/dist/src/components/PopUpMenu/usePopUpMenuHandlers.d.ts +44 -0
- package/dist/src/components/PopUpMenu/usePopUpMenuState.d.ts +48 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.d.ts +3 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.styled.d.ts +103 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.types.d.ts +31 -0
- package/dist/src/components/ProgressIndicator/index.d.ts +2 -0
- package/dist/src/components/Radio/RadioButton/RadioButton.d.ts +3 -0
- package/dist/src/components/Radio/RadioButton/RadioButton.styled.d.ts +45 -0
- package/dist/src/components/Radio/RadioButton/RadioButton.types.d.ts +32 -0
- package/dist/src/components/Radio/RadioButton/index.d.ts +2 -0
- package/dist/src/components/Radio/RadioGroup/RadioGroup.d.ts +11 -0
- package/dist/src/components/Radio/RadioGroup/RadioGroup.styled.d.ts +13 -0
- package/dist/src/components/Radio/RadioGroup/RadioGroup.types.d.ts +26 -0
- package/dist/src/components/Radio/RadioGroup/index.d.ts +2 -0
- package/dist/src/components/Radio/index.d.ts +2 -0
- package/dist/src/components/ScoreCard/ScoreCard.d.ts +3 -0
- package/dist/src/components/ScoreCard/ScoreCard.styled.d.ts +1 -0
- package/dist/src/components/ScoreCard/ScoreCard.types.d.ts +42 -0
- package/dist/src/components/ScoreCard/index.d.ts +2 -0
- package/dist/src/components/Segment/SegmentButton/SegmentButton.d.ts +3 -0
- package/dist/src/components/Segment/SegmentButton/SegmentButton.styled.d.ts +31 -0
- package/dist/src/components/Segment/SegmentButton/SegmentButton.types.d.ts +39 -0
- package/dist/src/components/Segment/SegmentButton/index.d.ts +2 -0
- package/dist/src/components/Segment/SegmentGroup/SegmentGroup.d.ts +6 -0
- package/dist/src/components/Segment/SegmentGroup/SegmentGroup.styled.d.ts +13 -0
- package/dist/src/components/Segment/SegmentGroup/SegmentGroup.types.d.ts +36 -0
- package/dist/src/components/Segment/SegmentGroup/index.d.ts +2 -0
- package/dist/src/components/Segment/index.d.ts +2 -0
- package/dist/src/components/Select/Select.constants.d.ts +17 -0
- package/dist/src/components/Select/Select.d.ts +3 -0
- package/dist/src/components/Select/Select.styled.d.ts +250 -0
- package/dist/src/components/Select/Select.types.d.ts +70 -0
- package/dist/src/components/Select/Select.utils.d.ts +51 -0
- package/dist/src/components/Select/SelectDisplay.d.ts +3 -0
- package/dist/src/components/Select/SelectDisplay.types.d.ts +43 -0
- package/dist/src/components/Select/SelectManager.d.ts +37 -0
- package/dist/src/components/Select/index.d.ts +2 -0
- package/dist/src/components/Select/useSelectHandlers.d.ts +40 -0
- package/dist/src/components/Select/useSelectState.d.ts +19 -0
- package/dist/src/components/Shared/Backdrop/Backdrop.d.ts +6 -0
- package/dist/src/components/Shared/Backdrop/Backdrop.styled.d.ts +16 -0
- package/dist/src/components/Shared/Backdrop/Backdrop.types.d.ts +23 -0
- package/dist/src/components/Shared/Backdrop/index.d.ts +2 -0
- package/dist/src/components/Shared/ErrorMessage/ErrorMessage.d.ts +3 -0
- package/dist/src/components/Shared/ErrorMessage/ErrorMessage.styled.d.ts +25 -0
- package/dist/src/components/Shared/ErrorMessage/ErrorMessage.types.d.ts +16 -0
- package/dist/src/components/Shared/ErrorMessage/index.d.ts +2 -0
- package/dist/src/components/Shared/index.d.ts +2 -0
- package/dist/src/components/Sheet/Examples/SheetDefault.d.ts +3 -0
- package/dist/src/components/Sheet/Examples/SheetWithFooterAndHeader.d.ts +3 -0
- package/dist/src/components/Sheet/Sheet.d.ts +6 -0
- package/dist/src/components/Sheet/Sheet.styled.d.ts +175 -0
- package/dist/src/components/Sheet/Sheet.types.d.ts +172 -0
- package/dist/src/components/Sheet/SheetManager.d.ts +37 -0
- package/dist/src/components/Sheet/hooks/index.d.ts +9 -0
- package/dist/src/components/Sheet/hooks/useSheetAnimation.d.ts +6 -0
- package/dist/src/components/Sheet/hooks/useSheetClose.d.ts +20 -0
- package/dist/src/components/Sheet/hooks/useSheetEscape.d.ts +2 -0
- package/dist/src/components/Sheet/hooks/useSheetFocus.d.ts +2 -0
- package/dist/src/components/Sheet/hooks/useSheetRegistration.d.ts +14 -0
- package/dist/src/components/Sheet/hooks/useSheetResize.d.ts +10 -0
- package/dist/src/components/Sheet/hooks/useSheetScrollTracking.d.ts +21 -0
- package/dist/src/components/Sheet/hooks/useSheetSwipe.d.ts +8 -0
- package/dist/src/components/Sheet/hooks/useSheetWidth.d.ts +20 -0
- package/dist/src/components/Sheet/index.d.ts +4 -0
- package/dist/src/components/SideNavigation/SideNavigation.d.ts +4 -0
- package/dist/src/components/SideNavigation/SideNavigation.styled.d.ts +249 -0
- package/dist/src/components/SideNavigation/SideNavigation.types.d.ts +128 -0
- package/dist/src/components/SideNavigation/index.d.ts +2 -0
- package/dist/src/components/SideNavigation/usePinnedSections.d.ts +7 -0
- package/dist/src/components/Skeleton/Skeleton.d.ts +3 -0
- package/dist/src/components/Skeleton/Skeleton.styled.d.ts +43 -0
- package/dist/src/components/Skeleton/Skeleton.types.d.ts +20 -0
- package/dist/src/components/Skeleton/index.d.ts +2 -0
- package/dist/src/components/Snackbar/Snackbar.constants.d.ts +5 -0
- package/dist/src/components/Snackbar/Snackbar.context.d.ts +8 -0
- package/dist/src/components/Snackbar/Snackbar.context.definition.d.ts +2 -0
- package/dist/src/components/Snackbar/Snackbar.d.ts +32 -0
- package/dist/src/components/Snackbar/Snackbar.styled.d.ts +173 -0
- package/dist/src/components/Snackbar/Snackbar.types.d.ts +119 -0
- package/dist/src/components/Snackbar/index.d.ts +5 -0
- package/dist/src/components/Snackbar/useSnackbar.d.ts +20 -0
- package/dist/src/components/Stack/Stack.d.ts +4 -0
- package/dist/src/components/Stack/Stack.styled.d.ts +529 -0
- package/dist/src/components/Stack/Stack.types.d.ts +84 -0
- package/dist/src/components/Stack/index.d.ts +2 -0
- package/dist/src/components/Switch/Switch.d.ts +4 -0
- package/dist/src/components/Switch/Switch.styled.d.ts +68 -0
- package/dist/src/components/Switch/Switch.types.d.ts +54 -0
- package/dist/src/components/Switch/index.d.ts +2 -0
- package/dist/src/components/Table/ExpandDetailExample/ExpandDetailExample.d.ts +4 -0
- package/dist/src/components/Table/Table.d.ts +6 -0
- package/dist/src/components/Table/Table.styled.d.ts +77 -0
- package/dist/src/components/Table/Table.types.d.ts +114 -0
- package/dist/src/components/Table/TableDocExample/RowActionButton.d.ts +5 -0
- package/dist/src/components/Table/TableDocExample/TableDocExample.constants.d.ts +14 -0
- package/dist/src/components/Table/TableDocExample/TableDocExample.d.ts +4 -0
- package/dist/src/components/Table/TableDocExample/index.d.ts +1 -0
- package/dist/src/components/Table/index.d.ts +2 -0
- package/dist/src/components/Tabs/TabItem.d.ts +3 -0
- package/dist/src/components/Tabs/Tabs.d.ts +6 -0
- package/dist/src/components/Tabs/Tabs.styled.d.ts +176 -0
- package/dist/src/components/Tabs/Tabs.types.d.ts +60 -0
- package/dist/src/components/Tabs/index.d.ts +2 -0
- package/dist/src/components/Tag/Tag.d.ts +3 -0
- package/dist/src/components/Tag/Tag.styled.d.ts +73 -0
- package/dist/src/components/Tag/Tag.types.d.ts +45 -0
- package/dist/src/components/Tag/index.d.ts +2 -0
- package/dist/src/components/TextField/TextField.d.ts +3 -0
- package/dist/src/components/TextField/TextField.styled.d.ts +335 -0
- package/dist/src/components/TextField/TextField.types.d.ts +67 -0
- package/dist/src/components/TextField/index.d.ts +2 -0
- package/dist/src/components/Textarea/Textarea.d.ts +3 -0
- package/dist/src/components/Textarea/Textarea.styled.d.ts +67 -0
- package/dist/src/components/Textarea/Textarea.types.d.ts +32 -0
- package/dist/src/components/Textarea/index.d.ts +2 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +3 -0
- package/dist/src/components/Tooltip/Tooltip.styled.d.ts +51 -0
- package/dist/src/components/Tooltip/Tooltip.types.d.ts +22 -0
- package/dist/src/components/Tooltip/TooltipPortal.d.ts +8 -0
- package/dist/src/components/Tooltip/index.d.ts +2 -0
- package/dist/src/components/TopBar/TopBar.d.ts +3 -0
- package/dist/src/components/TopBar/TopBar.styled.d.ts +19 -0
- package/dist/src/components/TopBar/TopBar.types.d.ts +27 -0
- package/dist/src/components/TopBar/index.d.ts +2 -0
- package/dist/src/components/Typography/Typography.d.ts +3 -0
- package/dist/src/components/Typography/Typography.styled.d.ts +94 -0
- package/dist/src/components/Typography/Typography.types.d.ts +63 -0
- package/dist/src/components/Typography/index.d.ts +2 -0
- package/dist/src/components/Uploader/Uploader.constants.d.ts +12 -0
- package/dist/src/components/Uploader/Uploader.context.d.ts +185 -0
- package/dist/src/components/Uploader/Uploader.d.ts +3 -0
- package/dist/src/components/Uploader/Uploader.types.d.ts +238 -0
- package/dist/src/components/Uploader/components/Announcer/Announcer.d.ts +2 -0
- package/dist/src/components/Uploader/components/Announcer/index.d.ts +1 -0
- package/dist/src/components/Uploader/components/DropZone/DropZone.d.ts +3 -0
- package/dist/src/components/Uploader/components/DropZone/DropZone.styled.d.ts +68 -0
- package/dist/src/components/Uploader/components/DropZone/index.d.ts +1 -0
- package/dist/src/components/Uploader/components/FileItem/FileItem.d.ts +18 -0
- package/dist/src/components/Uploader/components/FileItem/FileItem.styled.d.ts +67 -0
- package/dist/src/components/Uploader/components/FileItem/index.d.ts +2 -0
- package/dist/src/components/Uploader/components/FileItem/useFileItem.d.ts +33 -0
- package/dist/src/components/Uploader/components/FileList/FileList.d.ts +12 -0
- package/dist/src/components/Uploader/components/FileList/FileList.styled.d.ts +1 -0
- package/dist/src/components/Uploader/components/FileList/index.d.ts +2 -0
- package/dist/src/components/Uploader/components/RejectionList/RejectionList.d.ts +12 -0
- package/dist/src/components/Uploader/components/RejectionList/RejectionList.styled.d.ts +10 -0
- package/dist/src/components/Uploader/components/RejectionList/index.d.ts +2 -0
- package/dist/src/components/Uploader/components/index.d.ts +5 -0
- package/dist/src/components/Uploader/hooks/index.d.ts +11 -0
- package/dist/src/components/Uploader/hooks/useAnnouncements.d.ts +10 -0
- package/dist/src/components/Uploader/hooks/useDragAndDrop.d.ts +17 -0
- package/dist/src/components/Uploader/hooks/useFileInput.d.ts +19 -0
- package/dist/src/components/Uploader/hooks/useFileOperations.d.ts +18 -0
- package/dist/src/components/Uploader/hooks/useFileSelection.d.ts +36 -0
- package/dist/src/components/Uploader/hooks/useFileUpload.d.ts +66 -0
- package/dist/src/components/Uploader/hooks/useUploaderContext.d.ts +3 -0
- package/dist/src/components/Uploader/hooks/useUploaderRef.d.ts +13 -0
- package/dist/src/components/Uploader/hooks/useUploaderState.d.ts +30 -0
- package/dist/src/components/Uploader/hooks/useValidation.d.ts +30 -0
- package/dist/src/components/Uploader/index.d.ts +6 -0
- package/dist/src/components/Uploader/types/errors.d.ts +28 -0
- package/dist/src/components/Uploader/types/events.d.ts +65 -0
- package/dist/src/components/Uploader/types/file.d.ts +116 -0
- package/dist/src/components/Uploader/types/index.d.ts +3 -0
- package/dist/src/components/Uploader/utils/createFetchUpload.d.ts +32 -0
- package/dist/src/components/Uploader/utils/createXhrUpload.d.ts +45 -0
- package/dist/src/components/Uploader/utils/detectDuplicates.d.ts +5 -0
- package/dist/src/components/Uploader/utils/formatFileSize.d.ts +3 -0
- package/dist/src/components/Uploader/utils/generateId.d.ts +1 -0
- package/dist/src/components/Uploader/utils/getFileExtension.d.ts +1 -0
- package/dist/src/components/Uploader/utils/index.d.ts +8 -0
- package/dist/src/components/Uploader/utils/normalizeFile.d.ts +3 -0
- package/dist/src/components/Uploader/utils/validateFileType.d.ts +1 -0
- package/dist/src/components/UserArea/UserArea.d.ts +3 -0
- package/dist/src/components/UserArea/UserArea.styled.d.ts +65 -0
- package/dist/src/components/UserArea/UserArea.types.d.ts +49 -0
- package/dist/src/components/UserArea/index.d.ts +2 -0
- package/dist/src/components/ZvooveBrand/ZvooveBrand.constants.d.ts +26 -0
- package/dist/src/components/ZvooveBrand/ZvooveBrand.d.ts +6 -0
- package/dist/src/components/ZvooveBrand/ZvooveBrand.types.d.ts +77 -0
- package/dist/src/components/ZvooveBrand/index.d.ts +2 -0
- package/dist/src/config.d.ts +48 -0
- package/dist/src/constants/align.d.ts +3 -0
- package/dist/src/constants/breakpoints.d.ts +12 -0
- package/dist/src/constants/colors.d.ts +7 -0
- package/dist/src/constants/direction.d.ts +3 -0
- package/dist/src/constants/dom.d.ts +5 -0
- package/dist/src/constants/gap.d.ts +8 -0
- package/dist/src/constants/index.d.ts +11 -0
- package/dist/src/constants/justify.d.ts +3 -0
- package/dist/src/constants/margin.d.ts +16 -0
- package/dist/src/constants/overflow.d.ts +5 -0
- package/dist/src/constants/padding.d.ts +16 -0
- package/dist/src/constants/wrap.d.ts +3 -0
- package/dist/src/hooks/index.d.ts +2 -0
- package/dist/src/hooks/useBreakpoint.d.ts +51 -0
- package/dist/src/hooks/useClickOutside.d.ts +4 -0
- package/dist/src/index.d.ts +52 -0
- package/dist/src/libs/index.d.ts +1 -0
- package/dist/src/libs/tv.d.ts +23 -0
- package/dist/src/types/index.d.ts +83 -0
- package/dist/src/utils/checkIconSource.d.ts +1 -0
- package/dist/src/utils/containsOnlySizeProps.d.ts +1 -0
- package/dist/src/utils/formatFromStringToDate.d.ts +1 -0
- package/dist/src/utils/getComponentTagName.d.ts +1 -0
- package/dist/src/utils/getFlexProps.d.ts +4 -0
- package/dist/src/utils/getOverflowProps.d.ts +23 -0
- package/dist/src/utils/getResponsiveValue.d.ts +35 -0
- package/dist/src/utils/getSpacingProps.d.ts +4 -0
- package/dist/src/utils/index.d.ts +15 -0
- package/dist/src/utils/isDefined.d.ts +1 -0
- package/dist/src/utils/isValidSizeUnit.d.ts +1 -0
- package/dist/src/utils/linkify.d.ts +2 -0
- package/dist/src/utils/logs.d.ts +6 -0
- package/dist/src/utils/setupUserEvent.d.ts +6 -0
- package/dist/src/utils/typeGuards.d.ts +21 -0
- package/dist/src/utils/viewports.d.ts +13 -0
- package/dist/theme.css +1 -1
- package/dist/unity-ui.cjs.js +1 -1
- package/dist/unity-ui.css +1 -1
- package/dist/unity-ui.es.js +66 -66
- package/package.json +50 -35
- package/dist/unity-ui.d.ts +0 -4951
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export declare const switchStyles: import('tailwind-variants').TVReturnType<{
|
|
2
|
+
checked: {
|
|
3
|
+
true: string[];
|
|
4
|
+
false: string[];
|
|
5
|
+
};
|
|
6
|
+
disabled: {
|
|
7
|
+
true: string[];
|
|
8
|
+
};
|
|
9
|
+
}, undefined, string[], {
|
|
10
|
+
checked: {
|
|
11
|
+
true: string[];
|
|
12
|
+
false: string[];
|
|
13
|
+
};
|
|
14
|
+
disabled: {
|
|
15
|
+
true: string[];
|
|
16
|
+
};
|
|
17
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
18
|
+
checked: {
|
|
19
|
+
true: string[];
|
|
20
|
+
false: string[];
|
|
21
|
+
};
|
|
22
|
+
disabled: {
|
|
23
|
+
true: string[];
|
|
24
|
+
};
|
|
25
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
26
|
+
export declare const switchThumbStyles: import('tailwind-variants').TVReturnType<{
|
|
27
|
+
checked: {
|
|
28
|
+
true: string[];
|
|
29
|
+
false: string[];
|
|
30
|
+
};
|
|
31
|
+
animate: {
|
|
32
|
+
true: string[];
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
true: never[];
|
|
36
|
+
};
|
|
37
|
+
withIcons: {
|
|
38
|
+
true: never[];
|
|
39
|
+
};
|
|
40
|
+
}, undefined, string[], {
|
|
41
|
+
checked: {
|
|
42
|
+
true: string[];
|
|
43
|
+
false: string[];
|
|
44
|
+
};
|
|
45
|
+
animate: {
|
|
46
|
+
true: string[];
|
|
47
|
+
};
|
|
48
|
+
disabled: {
|
|
49
|
+
true: never[];
|
|
50
|
+
};
|
|
51
|
+
withIcons: {
|
|
52
|
+
true: never[];
|
|
53
|
+
};
|
|
54
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
55
|
+
checked: {
|
|
56
|
+
true: string[];
|
|
57
|
+
false: string[];
|
|
58
|
+
};
|
|
59
|
+
animate: {
|
|
60
|
+
true: string[];
|
|
61
|
+
};
|
|
62
|
+
disabled: {
|
|
63
|
+
true: never[];
|
|
64
|
+
};
|
|
65
|
+
withIcons: {
|
|
66
|
+
true: never[];
|
|
67
|
+
};
|
|
68
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { CommonIconNames } from '../../index.ts';
|
|
2
|
+
import { JustifyContent } from '../../types';
|
|
3
|
+
export type IconStates = {
|
|
4
|
+
on: CommonIconNames;
|
|
5
|
+
off: CommonIconNames;
|
|
6
|
+
};
|
|
7
|
+
export type LabelStates = {
|
|
8
|
+
on: string;
|
|
9
|
+
off: string;
|
|
10
|
+
};
|
|
11
|
+
export interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
|
|
12
|
+
/**
|
|
13
|
+
* Whether the switch is checked.
|
|
14
|
+
*/
|
|
15
|
+
checked?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether the switch is disabled.
|
|
18
|
+
*/
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Handle change events.
|
|
22
|
+
*/
|
|
23
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
24
|
+
/**
|
|
25
|
+
* Whether to show icons on the switch.
|
|
26
|
+
*/
|
|
27
|
+
withIcons?: boolean | IconStates;
|
|
28
|
+
/**
|
|
29
|
+
* The labels for the switch.
|
|
30
|
+
*/
|
|
31
|
+
label?: string | LabelStates;
|
|
32
|
+
/**
|
|
33
|
+
* The placement of the label.
|
|
34
|
+
* @default 'left'
|
|
35
|
+
*/
|
|
36
|
+
labelPlacement?: 'left' | 'right';
|
|
37
|
+
/**
|
|
38
|
+
* How the switch and label are aligned horizontally.
|
|
39
|
+
*/
|
|
40
|
+
justify?: JustifyContent;
|
|
41
|
+
/**
|
|
42
|
+
* The value of the switch.
|
|
43
|
+
*/
|
|
44
|
+
value?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The name of the switch.
|
|
47
|
+
*/
|
|
48
|
+
name?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The id of the switch.
|
|
51
|
+
* @default auto-generated
|
|
52
|
+
*/
|
|
53
|
+
id?: string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TableColumnProps, TableProps } from './Table.types';
|
|
2
|
+
declare const Table: {
|
|
3
|
+
<T extends readonly TableColumnProps[]>({ data, columns, title, subtitle, actions, filters, footer, orderBy, onOrderByChange, emptyState, hiddenColumns, loading, expandedRows, headerBackgroundColor, }: TableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default Table;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export declare const tableWrapperStyles: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
2
|
+
export declare const tableStyles: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
3
|
+
export declare const tableHeaderStyles: import('tailwind-variants').TVReturnType<{
|
|
4
|
+
hasBackgroundColor: {
|
|
5
|
+
true: string[];
|
|
6
|
+
};
|
|
7
|
+
}, undefined, string[], {
|
|
8
|
+
hasBackgroundColor: {
|
|
9
|
+
true: string[];
|
|
10
|
+
};
|
|
11
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
12
|
+
hasBackgroundColor: {
|
|
13
|
+
true: string[];
|
|
14
|
+
};
|
|
15
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
16
|
+
export declare const tableRowStyles: import('tailwind-variants').TVReturnType<{
|
|
17
|
+
isSubRow: {
|
|
18
|
+
true: string[];
|
|
19
|
+
};
|
|
20
|
+
isLastWithSubRow: {
|
|
21
|
+
true: string[];
|
|
22
|
+
};
|
|
23
|
+
isOpen: {
|
|
24
|
+
true: string[];
|
|
25
|
+
};
|
|
26
|
+
isSubRowOpen: {
|
|
27
|
+
true: string[];
|
|
28
|
+
};
|
|
29
|
+
}, undefined, string[], {
|
|
30
|
+
isSubRow: {
|
|
31
|
+
true: string[];
|
|
32
|
+
};
|
|
33
|
+
isLastWithSubRow: {
|
|
34
|
+
true: string[];
|
|
35
|
+
};
|
|
36
|
+
isOpen: {
|
|
37
|
+
true: string[];
|
|
38
|
+
};
|
|
39
|
+
isSubRowOpen: {
|
|
40
|
+
true: string[];
|
|
41
|
+
};
|
|
42
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
43
|
+
isSubRow: {
|
|
44
|
+
true: string[];
|
|
45
|
+
};
|
|
46
|
+
isLastWithSubRow: {
|
|
47
|
+
true: string[];
|
|
48
|
+
};
|
|
49
|
+
isOpen: {
|
|
50
|
+
true: string[];
|
|
51
|
+
};
|
|
52
|
+
isSubRowOpen: {
|
|
53
|
+
true: string[];
|
|
54
|
+
};
|
|
55
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
56
|
+
export declare const tableCellStyles: import('tailwind-variants').TVReturnType<{
|
|
57
|
+
variant: {
|
|
58
|
+
header: string[];
|
|
59
|
+
};
|
|
60
|
+
orderable: {
|
|
61
|
+
true: string[];
|
|
62
|
+
};
|
|
63
|
+
}, undefined, string[], {
|
|
64
|
+
variant: {
|
|
65
|
+
header: string[];
|
|
66
|
+
};
|
|
67
|
+
orderable: {
|
|
68
|
+
true: string[];
|
|
69
|
+
};
|
|
70
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
71
|
+
variant: {
|
|
72
|
+
header: string[];
|
|
73
|
+
};
|
|
74
|
+
orderable: {
|
|
75
|
+
true: string[];
|
|
76
|
+
};
|
|
77
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
export declare const direction: {
|
|
2
|
+
readonly ASC: "asc";
|
|
3
|
+
readonly DESC: "desc";
|
|
4
|
+
readonly NONE: "none";
|
|
5
|
+
};
|
|
6
|
+
export declare const align: {
|
|
7
|
+
readonly LEFT: "left";
|
|
8
|
+
readonly CENTER: "center";
|
|
9
|
+
readonly RIGHT: "right";
|
|
10
|
+
};
|
|
11
|
+
export type TableColumnDirection = (typeof direction)[keyof typeof direction];
|
|
12
|
+
export type ColumnAlign = (typeof align)[keyof typeof align];
|
|
13
|
+
export interface TableColumnProps extends React.HTMLAttributes<HTMLTableColElement> {
|
|
14
|
+
/**
|
|
15
|
+
* The children of the Table.
|
|
16
|
+
*/
|
|
17
|
+
label: React.ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* The id of the Table column.
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
/**
|
|
23
|
+
* The alignment of the Table column.
|
|
24
|
+
*/
|
|
25
|
+
align?: ColumnAlign;
|
|
26
|
+
/**
|
|
27
|
+
* The width of the Table column.
|
|
28
|
+
*/
|
|
29
|
+
width?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The minimum width of the Table column.
|
|
32
|
+
*/
|
|
33
|
+
minWidth?: string;
|
|
34
|
+
/**
|
|
35
|
+
* If true, the column is orderable.
|
|
36
|
+
*/
|
|
37
|
+
orderable?: boolean;
|
|
38
|
+
}
|
|
39
|
+
export type ColumnId<T extends readonly TableColumnProps[]> = T[number]['id'];
|
|
40
|
+
export interface ExpandableRowConfig {
|
|
41
|
+
id: string;
|
|
42
|
+
render: React.ReactNode;
|
|
43
|
+
}
|
|
44
|
+
export type TableRowData<T extends readonly TableColumnProps[]> = {
|
|
45
|
+
[K in ColumnId<T>]: React.ReactNode;
|
|
46
|
+
} & {
|
|
47
|
+
expandableRow?: ExpandableRowConfig;
|
|
48
|
+
};
|
|
49
|
+
export interface TableProps<T extends readonly TableColumnProps[] = readonly TableColumnProps[]> extends React.HTMLAttributes<HTMLTableElement> {
|
|
50
|
+
/**
|
|
51
|
+
* The title of the Table.
|
|
52
|
+
*/
|
|
53
|
+
title?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The subtitle of the Table.
|
|
56
|
+
*/
|
|
57
|
+
subtitle?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The action of the Table.
|
|
60
|
+
*/
|
|
61
|
+
actions?: React.ReactNode;
|
|
62
|
+
/**
|
|
63
|
+
* The filters of the Table.
|
|
64
|
+
*/
|
|
65
|
+
filters?: React.ReactNode;
|
|
66
|
+
/**
|
|
67
|
+
* The data rows of the Table.
|
|
68
|
+
*/
|
|
69
|
+
data: TableRowData<T>[];
|
|
70
|
+
/**
|
|
71
|
+
* The loading state of the Table.
|
|
72
|
+
*/
|
|
73
|
+
loading?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* The columns of the Table.
|
|
76
|
+
*/
|
|
77
|
+
columns: T;
|
|
78
|
+
/**
|
|
79
|
+
* The hidden columns of the Table.
|
|
80
|
+
*/
|
|
81
|
+
hiddenColumns?: ColumnId<T>[];
|
|
82
|
+
/**
|
|
83
|
+
* The expanded rows of the Table.
|
|
84
|
+
*/
|
|
85
|
+
expandedRows?: string[];
|
|
86
|
+
/**
|
|
87
|
+
* The order by of the Table.
|
|
88
|
+
*/
|
|
89
|
+
orderBy?: {
|
|
90
|
+
column: ColumnId<T>;
|
|
91
|
+
direction: TableColumnDirection;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Callback function to handle order by change.
|
|
95
|
+
*/
|
|
96
|
+
onOrderByChange?: ({ columnId, direction, }: {
|
|
97
|
+
columnId: ColumnId<T>;
|
|
98
|
+
direction: TableColumnDirection;
|
|
99
|
+
}) => void;
|
|
100
|
+
/**
|
|
101
|
+
* The empty state of the Table.
|
|
102
|
+
* @default 'Keine Daten gefunden'
|
|
103
|
+
*/
|
|
104
|
+
emptyState?: React.ReactNode;
|
|
105
|
+
/**
|
|
106
|
+
* The footer of the Table.
|
|
107
|
+
*/
|
|
108
|
+
footer?: React.ReactNode;
|
|
109
|
+
/**
|
|
110
|
+
* The background color of the table header.
|
|
111
|
+
* @default false
|
|
112
|
+
*/
|
|
113
|
+
headerBackgroundColor?: boolean;
|
|
114
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const clientStatusTypes: {
|
|
2
|
+
readonly KUNDE: "Kunde";
|
|
3
|
+
readonly INTERESSENT: "Interessent";
|
|
4
|
+
readonly LIEFERANT: "Lieferant";
|
|
5
|
+
readonly KONZERN: "Konzern";
|
|
6
|
+
readonly DEAKTIVIERT: "Deaktiviert";
|
|
7
|
+
};
|
|
8
|
+
export declare const clientStatusColors: {
|
|
9
|
+
readonly KUNDE: "green";
|
|
10
|
+
readonly INTERESSENT: "yellow";
|
|
11
|
+
readonly LIEFERANT: "steel-blue";
|
|
12
|
+
readonly KONZERN: "primary";
|
|
13
|
+
readonly DEAKTIVIERT: "error";
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TableDocExample } from './TableDocExample';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { TabItemProps } from './Tabs.types';
|
|
2
|
+
declare const TabItem: <T extends React.ElementType = "button">({ item, activeItem, onChange, hasActivity, scrollContainerRef, tabRefs, setTabRef, index, linkComponent: LinkComponent, isActive, }: TabItemProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default TabItem;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TabsProps } from './Tabs.types';
|
|
2
|
+
declare const Tabs: {
|
|
3
|
+
<T extends React.ElementType = "button">({ items, activeItem, onChange, hideBorder, itemsAlignment, isSticky, panels, linkComponent: LinkComponent, }: TabsProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default Tabs;
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
export declare const tabsControllerStyles: import('tailwind-variants').TVReturnType<{
|
|
2
|
+
isSticky: {
|
|
3
|
+
true: string[];
|
|
4
|
+
false: string[];
|
|
5
|
+
};
|
|
6
|
+
}, undefined, string[], {
|
|
7
|
+
isSticky: {
|
|
8
|
+
true: string[];
|
|
9
|
+
false: string[];
|
|
10
|
+
};
|
|
11
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
12
|
+
isSticky: {
|
|
13
|
+
true: string[];
|
|
14
|
+
false: string[];
|
|
15
|
+
};
|
|
16
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
17
|
+
export declare const tabPanelStyles: import('tailwind-variants').TVReturnType<{
|
|
18
|
+
active: {
|
|
19
|
+
true: string[];
|
|
20
|
+
false: string[];
|
|
21
|
+
};
|
|
22
|
+
}, undefined, string[], {
|
|
23
|
+
active: {
|
|
24
|
+
true: string[];
|
|
25
|
+
false: string[];
|
|
26
|
+
};
|
|
27
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
28
|
+
active: {
|
|
29
|
+
true: string[];
|
|
30
|
+
false: string[];
|
|
31
|
+
};
|
|
32
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
33
|
+
export declare const tabsContainerStyles: import('tailwind-variants').TVReturnType<{
|
|
34
|
+
hasArrows: {
|
|
35
|
+
true: string[];
|
|
36
|
+
};
|
|
37
|
+
hideBorder: {
|
|
38
|
+
true: string[];
|
|
39
|
+
false: string[];
|
|
40
|
+
};
|
|
41
|
+
isSticky: {
|
|
42
|
+
true: string[];
|
|
43
|
+
};
|
|
44
|
+
}, undefined, string[], {
|
|
45
|
+
hasArrows: {
|
|
46
|
+
true: string[];
|
|
47
|
+
};
|
|
48
|
+
hideBorder: {
|
|
49
|
+
true: string[];
|
|
50
|
+
false: string[];
|
|
51
|
+
};
|
|
52
|
+
isSticky: {
|
|
53
|
+
true: string[];
|
|
54
|
+
};
|
|
55
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
56
|
+
hasArrows: {
|
|
57
|
+
true: string[];
|
|
58
|
+
};
|
|
59
|
+
hideBorder: {
|
|
60
|
+
true: string[];
|
|
61
|
+
false: string[];
|
|
62
|
+
};
|
|
63
|
+
isSticky: {
|
|
64
|
+
true: string[];
|
|
65
|
+
};
|
|
66
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
67
|
+
export declare const scrollableContainerStyles: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
68
|
+
export declare const tabsStyles: import('tailwind-variants').TVReturnType<{
|
|
69
|
+
hasArrows: {
|
|
70
|
+
false: string[];
|
|
71
|
+
true: string[];
|
|
72
|
+
};
|
|
73
|
+
itemsAlignment: {
|
|
74
|
+
left: string[];
|
|
75
|
+
center: string[];
|
|
76
|
+
right: string[];
|
|
77
|
+
between: string[];
|
|
78
|
+
around: string[];
|
|
79
|
+
evenly: string[];
|
|
80
|
+
};
|
|
81
|
+
}, undefined, string[], {
|
|
82
|
+
hasArrows: {
|
|
83
|
+
false: string[];
|
|
84
|
+
true: string[];
|
|
85
|
+
};
|
|
86
|
+
itemsAlignment: {
|
|
87
|
+
left: string[];
|
|
88
|
+
center: string[];
|
|
89
|
+
right: string[];
|
|
90
|
+
between: string[];
|
|
91
|
+
around: string[];
|
|
92
|
+
evenly: string[];
|
|
93
|
+
};
|
|
94
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
95
|
+
hasArrows: {
|
|
96
|
+
false: string[];
|
|
97
|
+
true: string[];
|
|
98
|
+
};
|
|
99
|
+
itemsAlignment: {
|
|
100
|
+
left: string[];
|
|
101
|
+
center: string[];
|
|
102
|
+
right: string[];
|
|
103
|
+
between: string[];
|
|
104
|
+
around: string[];
|
|
105
|
+
evenly: string[];
|
|
106
|
+
};
|
|
107
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
108
|
+
export declare const tabStyles: import('tailwind-variants').TVReturnType<{
|
|
109
|
+
active: {
|
|
110
|
+
false: string[];
|
|
111
|
+
true: string[];
|
|
112
|
+
};
|
|
113
|
+
activity: {
|
|
114
|
+
true: string[];
|
|
115
|
+
};
|
|
116
|
+
}, undefined, string[], {
|
|
117
|
+
active: {
|
|
118
|
+
false: string[];
|
|
119
|
+
true: string[];
|
|
120
|
+
};
|
|
121
|
+
activity: {
|
|
122
|
+
true: string[];
|
|
123
|
+
};
|
|
124
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
125
|
+
active: {
|
|
126
|
+
false: string[];
|
|
127
|
+
true: string[];
|
|
128
|
+
};
|
|
129
|
+
activity: {
|
|
130
|
+
true: string[];
|
|
131
|
+
};
|
|
132
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
133
|
+
export declare const tabActiveTrackerStyles: import('tailwind-variants').TVReturnType<{
|
|
134
|
+
initial: {
|
|
135
|
+
true: string[];
|
|
136
|
+
false: string[];
|
|
137
|
+
};
|
|
138
|
+
}, undefined, string[], {
|
|
139
|
+
initial: {
|
|
140
|
+
true: string[];
|
|
141
|
+
false: string[];
|
|
142
|
+
};
|
|
143
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
144
|
+
initial: {
|
|
145
|
+
true: string[];
|
|
146
|
+
false: string[];
|
|
147
|
+
};
|
|
148
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
149
|
+
export declare const arrowStyles: import('tailwind-variants').TVReturnType<{
|
|
150
|
+
direction: {
|
|
151
|
+
left: string[];
|
|
152
|
+
right: string[];
|
|
153
|
+
};
|
|
154
|
+
visible: {
|
|
155
|
+
true: string[];
|
|
156
|
+
false: string[];
|
|
157
|
+
};
|
|
158
|
+
}, undefined, string[], {
|
|
159
|
+
direction: {
|
|
160
|
+
left: string[];
|
|
161
|
+
right: string[];
|
|
162
|
+
};
|
|
163
|
+
visible: {
|
|
164
|
+
true: string[];
|
|
165
|
+
false: string[];
|
|
166
|
+
};
|
|
167
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
168
|
+
direction: {
|
|
169
|
+
left: string[];
|
|
170
|
+
right: string[];
|
|
171
|
+
};
|
|
172
|
+
visible: {
|
|
173
|
+
true: string[];
|
|
174
|
+
false: string[];
|
|
175
|
+
};
|
|
176
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { CommonIconNames } from '../../index.ts';
|
|
2
|
+
export type TabItem<T extends React.ElementType = 'button'> = {
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: CommonIconNames;
|
|
5
|
+
iconPosition?: 'left' | 'top';
|
|
6
|
+
hideLabel?: boolean;
|
|
7
|
+
hasActivity?: boolean;
|
|
8
|
+
id: string;
|
|
9
|
+
} & Omit<React.ComponentPropsWithoutRef<T>, 'children'>;
|
|
10
|
+
export type TabItemProps<T extends React.ElementType = 'button'> = {
|
|
11
|
+
item: TabItem<T>;
|
|
12
|
+
activeItem: string;
|
|
13
|
+
onChange: (item: TabItem<T>) => void;
|
|
14
|
+
hasActivity: boolean;
|
|
15
|
+
scrollContainerRef: React.RefObject<HTMLDivElement>;
|
|
16
|
+
tabRefs: React.RefObject<HTMLButtonElement[]>;
|
|
17
|
+
setTabRef: (index: number, el: HTMLButtonElement | null) => void;
|
|
18
|
+
index: number;
|
|
19
|
+
linkComponent: T | 'button' | 'a';
|
|
20
|
+
isActive: boolean;
|
|
21
|
+
};
|
|
22
|
+
type Panel = {
|
|
23
|
+
id: string;
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
};
|
|
26
|
+
export interface TabsProps<T extends React.ElementType = 'button'> {
|
|
27
|
+
/**
|
|
28
|
+
* The items to display in the tabs.
|
|
29
|
+
*/
|
|
30
|
+
items: TabItem<T>[];
|
|
31
|
+
/**
|
|
32
|
+
* Whether the tabs are sticky.
|
|
33
|
+
*/
|
|
34
|
+
isSticky?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The panels to display in the tabs.
|
|
37
|
+
*/
|
|
38
|
+
panels?: Panel[];
|
|
39
|
+
/**
|
|
40
|
+
* The active item in the tabs.
|
|
41
|
+
*/
|
|
42
|
+
activeItem: string;
|
|
43
|
+
/**
|
|
44
|
+
* The callback function to handle the change of the active item.
|
|
45
|
+
*/
|
|
46
|
+
onChange?: (item: TabItem<T>) => void;
|
|
47
|
+
/**
|
|
48
|
+
* Whether to hide the border of the tabs.
|
|
49
|
+
*/
|
|
50
|
+
hideBorder?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* The link component to use for the tabs.
|
|
53
|
+
*/
|
|
54
|
+
linkComponent?: T | 'button' | 'a';
|
|
55
|
+
/**
|
|
56
|
+
* The alignment of the tabs.
|
|
57
|
+
*/
|
|
58
|
+
itemsAlignment?: 'left' | 'center' | 'right' | 'between' | 'around' | 'evenly';
|
|
59
|
+
}
|
|
60
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export declare const tagStyles: import('tailwind-variants').TVReturnType<{
|
|
2
|
+
variant: {
|
|
3
|
+
solid: string[];
|
|
4
|
+
outlined: string[];
|
|
5
|
+
ghost: string[];
|
|
6
|
+
};
|
|
7
|
+
size: {
|
|
8
|
+
lg: string[];
|
|
9
|
+
md: string[];
|
|
10
|
+
sm: string[];
|
|
11
|
+
};
|
|
12
|
+
color: {
|
|
13
|
+
green: string[];
|
|
14
|
+
yellow: string[];
|
|
15
|
+
pink: string[];
|
|
16
|
+
'steel-blue': string[];
|
|
17
|
+
error: string[];
|
|
18
|
+
primary: string[];
|
|
19
|
+
neutral: string[];
|
|
20
|
+
};
|
|
21
|
+
tone: {
|
|
22
|
+
light: never[];
|
|
23
|
+
dark: never[];
|
|
24
|
+
};
|
|
25
|
+
}, undefined, string[], {
|
|
26
|
+
variant: {
|
|
27
|
+
solid: string[];
|
|
28
|
+
outlined: string[];
|
|
29
|
+
ghost: string[];
|
|
30
|
+
};
|
|
31
|
+
size: {
|
|
32
|
+
lg: string[];
|
|
33
|
+
md: string[];
|
|
34
|
+
sm: string[];
|
|
35
|
+
};
|
|
36
|
+
color: {
|
|
37
|
+
green: string[];
|
|
38
|
+
yellow: string[];
|
|
39
|
+
pink: string[];
|
|
40
|
+
'steel-blue': string[];
|
|
41
|
+
error: string[];
|
|
42
|
+
primary: string[];
|
|
43
|
+
neutral: string[];
|
|
44
|
+
};
|
|
45
|
+
tone: {
|
|
46
|
+
light: never[];
|
|
47
|
+
dark: never[];
|
|
48
|
+
};
|
|
49
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
50
|
+
variant: {
|
|
51
|
+
solid: string[];
|
|
52
|
+
outlined: string[];
|
|
53
|
+
ghost: string[];
|
|
54
|
+
};
|
|
55
|
+
size: {
|
|
56
|
+
lg: string[];
|
|
57
|
+
md: string[];
|
|
58
|
+
sm: string[];
|
|
59
|
+
};
|
|
60
|
+
color: {
|
|
61
|
+
green: string[];
|
|
62
|
+
yellow: string[];
|
|
63
|
+
pink: string[];
|
|
64
|
+
'steel-blue': string[];
|
|
65
|
+
error: string[];
|
|
66
|
+
primary: string[];
|
|
67
|
+
neutral: string[];
|
|
68
|
+
};
|
|
69
|
+
tone: {
|
|
70
|
+
light: never[];
|
|
71
|
+
dark: never[];
|
|
72
|
+
};
|
|
73
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|