@candy.thieves/ui-kit-lumos 0.0.25 → 0.0.27
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/index.css +2 -0
- package/dist/index.js +4676 -0
- package/dist/index.js.map +1 -0
- package/dist/types/assets/icons/ArrowBackOutline.d.ts +3 -0
- package/dist/types/assets/icons/ArrowForwardOutline.d.ts +3 -0
- package/dist/types/assets/icons/ArrowIosBack.d.ts +3 -0
- package/dist/types/assets/icons/ArrowIosBackOutline.d.ts +3 -0
- package/dist/types/assets/icons/ArrowIosDownOutline.d.ts +3 -0
- package/dist/types/assets/icons/ArrowIosForward.d.ts +3 -0
- package/dist/types/assets/icons/ArrowIosForwardOutline.d.ts +3 -0
- package/dist/types/assets/icons/ArrowIosUp.d.ts +3 -0
- package/dist/types/assets/icons/Block.d.ts +3 -0
- package/dist/types/assets/icons/BlockOutline.d.ts +3 -0
- package/dist/types/assets/icons/Bookmark.d.ts +3 -0
- package/dist/types/assets/icons/BookmarkOutline.d.ts +3 -0
- package/dist/types/assets/icons/Brave.d.ts +3 -0
- package/dist/types/assets/icons/Calendar.d.ts +3 -0
- package/dist/types/assets/icons/CalendarOutline.d.ts +3 -0
- package/dist/types/assets/icons/CheckmarkOutline.d.ts +3 -0
- package/dist/types/assets/icons/Close.d.ts +3 -0
- package/dist/types/assets/icons/CloseOutline.d.ts +3 -0
- package/dist/types/assets/icons/ColorPaletteOutline.d.ts +3 -0
- package/dist/types/assets/icons/Copy.d.ts +3 -0
- package/dist/types/assets/icons/CopyOutline.d.ts +3 -0
- package/dist/types/assets/icons/CreditCard.d.ts +3 -0
- package/dist/types/assets/icons/CreditCardOutline.d.ts +3 -0
- package/dist/types/assets/icons/DoneAllOutline.d.ts +3 -0
- package/dist/types/assets/icons/Edit.d.ts +3 -0
- package/dist/types/assets/icons/EditOutline.d.ts +3 -0
- package/dist/types/assets/icons/Email.d.ts +3 -0
- package/dist/types/assets/icons/EmailOutline.d.ts +3 -0
- package/dist/types/assets/icons/ErrorIcon.d.ts +3 -0
- package/dist/types/assets/icons/Expand.d.ts +3 -0
- package/dist/types/assets/icons/ExpandOutline.d.ts +3 -0
- package/dist/types/assets/icons/Explorer.d.ts +3 -0
- package/dist/types/assets/icons/Eye.d.ts +3 -0
- package/dist/types/assets/icons/EyeOff.d.ts +3 -0
- package/dist/types/assets/icons/EyeOffOutline.d.ts +3 -0
- package/dist/types/assets/icons/EyeOutline.d.ts +3 -0
- package/dist/types/assets/icons/Facebook.d.ts +3 -0
- package/dist/types/assets/icons/FileIcon.d.ts +3 -0
- package/dist/types/assets/icons/FillBell.d.ts +3 -0
- package/dist/types/assets/icons/Firefox.d.ts +3 -0
- package/dist/types/assets/icons/FlagEng.d.ts +3 -0
- package/dist/types/assets/icons/FlagRus.d.ts +3 -0
- package/dist/types/assets/icons/GithubRepo.d.ts +3 -0
- package/dist/types/assets/icons/Google.d.ts +3 -0
- package/dist/types/assets/icons/Heart.d.ts +3 -0
- package/dist/types/assets/icons/HeartOutline.d.ts +3 -0
- package/dist/types/assets/icons/Home.d.ts +3 -0
- package/dist/types/assets/icons/HomeOutline.d.ts +3 -0
- package/dist/types/assets/icons/Image.d.ts +3 -0
- package/dist/types/assets/icons/ImageOutline.d.ts +3 -0
- package/dist/types/assets/icons/Layers.d.ts +3 -0
- package/dist/types/assets/icons/LayersOutline.d.ts +3 -0
- package/dist/types/assets/icons/LogOut.d.ts +3 -0
- package/dist/types/assets/icons/LogOutOutline.d.ts +3 -0
- package/dist/types/assets/icons/Maximize.d.ts +3 -0
- package/dist/types/assets/icons/MaximizeOutline.d.ts +3 -0
- package/dist/types/assets/icons/MenuOutline.d.ts +3 -0
- package/dist/types/assets/icons/MessageCircle.d.ts +3 -0
- package/dist/types/assets/icons/MessageCircleOutline.d.ts +3 -0
- package/dist/types/assets/icons/Mic.d.ts +3 -0
- package/dist/types/assets/icons/MicOutline.d.ts +3 -0
- package/dist/types/assets/icons/MicrosoftEdge.d.ts +3 -0
- package/dist/types/assets/icons/MoreHorizontal.d.ts +3 -0
- package/dist/types/assets/icons/MoreHorizontalOutline.d.ts +3 -0
- package/dist/types/assets/icons/Opera.d.ts +3 -0
- package/dist/types/assets/icons/OutlineBell.d.ts +8 -0
- package/dist/types/assets/icons/Paid.d.ts +3 -0
- package/dist/types/assets/icons/PaperPlane.d.ts +3 -0
- package/dist/types/assets/icons/PaperPlaneOutline.d.ts +3 -0
- package/dist/types/assets/icons/PauseCircle.d.ts +3 -0
- package/dist/types/assets/icons/PauseCircleOutline.d.ts +3 -0
- package/dist/types/assets/icons/Paypal.d.ts +3 -0
- package/dist/types/assets/icons/Person.d.ts +3 -0
- package/dist/types/assets/icons/PersonAdd.d.ts +3 -0
- package/dist/types/assets/icons/PersonAddOutline.d.ts +3 -0
- package/dist/types/assets/icons/PersonOutline.d.ts +3 -0
- package/dist/types/assets/icons/PersonRemove.d.ts +3 -0
- package/dist/types/assets/icons/PersonRemoveOutline.d.ts +3 -0
- package/dist/types/assets/icons/Pin.d.ts +3 -0
- package/dist/types/assets/icons/PinOutline.d.ts +3 -0
- package/dist/types/assets/icons/PlayCircle.d.ts +3 -0
- package/dist/types/assets/icons/PlayCircleOutline.d.ts +3 -0
- package/dist/types/assets/icons/PlusCircle.d.ts +3 -0
- package/dist/types/assets/icons/PlusCircleOutline.d.ts +3 -0
- package/dist/types/assets/icons/PlusSquare.d.ts +3 -0
- package/dist/types/assets/icons/PlusSquareOutline.d.ts +3 -0
- package/dist/types/assets/icons/RadioButtonChecked.d.ts +3 -0
- package/dist/types/assets/icons/RadioButtonUnchecked.d.ts +3 -0
- package/dist/types/assets/icons/RecaptchaLogo.d.ts +3 -0
- package/dist/types/assets/icons/Safari.d.ts +3 -0
- package/dist/types/assets/icons/Search.d.ts +3 -0
- package/dist/types/assets/icons/SearchOutline.d.ts +3 -0
- package/dist/types/assets/icons/Sending.d.ts +3 -0
- package/dist/types/assets/icons/Settings.d.ts +3 -0
- package/dist/types/assets/icons/SettingsOutline.d.ts +3 -0
- package/dist/types/assets/icons/Stripe.d.ts +3 -0
- package/dist/types/assets/icons/Trash.d.ts +3 -0
- package/dist/types/assets/icons/TrashOutline.d.ts +3 -0
- package/dist/types/assets/icons/TrendingUp.d.ts +3 -0
- package/dist/types/assets/icons/TrendingUpOutline.d.ts +3 -0
- package/dist/types/assets/icons/UcBrowser.d.ts +3 -0
- package/dist/types/assets/icons/Yandex.d.ts +3 -0
- package/dist/types/assets/index.d.ts +103 -0
- package/dist/types/assets/logo/Logo.d.ts +10 -0
- package/dist/types/components/Alert/Alert.d.ts +14 -0
- package/dist/types/components/Alert/index.d.ts +1 -0
- package/dist/types/components/AudioPlayer/AudioPlayer.d.ts +6 -0
- package/dist/types/components/AudioPlayer/index.d.ts +1 -0
- package/dist/types/components/Avatar/Avatar.d.ts +17 -0
- package/dist/types/components/Avatar/AvatarBlock.d.ts +15 -0
- package/dist/types/components/Avatar/MainAvatar.d.ts +20 -0
- package/dist/types/components/Avatar/index.d.ts +3 -0
- package/dist/types/components/Button/Button.d.ts +19 -0
- package/dist/types/components/Button/ButtonLegacy.d.ts +41 -0
- package/dist/types/components/Button/index.d.ts +2 -0
- package/dist/types/components/Cards/Cards.d.ts +7 -0
- package/dist/types/components/Cards/index.d.ts +1 -0
- package/dist/types/components/Carousel/Carousel.d.ts +5 -0
- package/dist/types/components/Carousel/index.d.ts +1 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +10 -0
- package/dist/types/components/Checkbox/index.d.ts +1 -0
- package/dist/types/components/CircularProgress/CircularProgress.d.ts +10 -0
- package/dist/types/components/CircularProgress/index.d.ts +1 -0
- package/dist/types/components/Input/Input.d.ts +13 -0
- package/dist/types/components/Input/index.d.ts +1 -0
- package/dist/types/components/LinearProgress/LinearProgress.d.ts +14 -0
- package/dist/types/components/LinearProgress/index.d.ts +1 -0
- package/dist/types/components/Menu/Menu.d.ts +14 -0
- package/dist/types/components/Menu/index.d.ts +1 -0
- package/dist/types/components/Message/AttachmentItem.d.ts +2 -0
- package/dist/types/components/Message/Message.d.ts +2 -0
- package/dist/types/components/Message/MessageStatus.d.ts +2 -0
- package/dist/types/components/Message/ReplyPreview.d.ts +2 -0
- package/dist/types/components/Message/index.d.ts +2 -0
- package/dist/types/components/Message/types.d.ts +40 -0
- package/dist/types/components/Modal/Modal.d.ts +25 -0
- package/dist/types/components/Modal/index.d.ts +1 -0
- package/dist/types/components/PasswordInput/PasswordInput.d.ts +6 -0
- package/dist/types/components/PasswordInput/index.d.ts +1 -0
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +15 -0
- package/dist/types/components/RadioGroup/index.d.ts +1 -0
- package/dist/types/components/ReadMore/ReadMore.d.ts +8 -0
- package/dist/types/components/ReadMore/index.d.ts +1 -0
- package/dist/types/components/Scroll/Scroll.d.ts +6 -0
- package/dist/types/components/Scroll/index.d.ts +1 -0
- package/dist/types/components/SearchInput/SearchInput.d.ts +3 -0
- package/dist/types/components/SearchInput/index.d.ts +1 -0
- package/dist/types/components/Select/Select.d.ts +66 -0
- package/dist/types/components/Select/index.d.ts +1 -0
- package/dist/types/components/Sidebar/Sidebar.d.ts +18 -0
- package/dist/types/components/Sidebar/index.d.ts +1 -0
- package/dist/types/components/Slider/Slider.d.ts +4 -0
- package/dist/types/components/Slider/index.d.ts +1 -0
- package/dist/types/components/Table/Table.d.ts +6 -0
- package/dist/types/components/Table/index.d.ts +1 -0
- package/dist/types/components/Tabs/Tabs.d.ts +18 -0
- package/dist/types/components/Tabs/index.d.ts +1 -0
- package/dist/types/components/TextArea/TextArea.d.ts +11 -0
- package/dist/types/components/TextArea/index.d.ts +1 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +12 -0
- package/dist/types/components/Tooltip/index.d.ts +1 -0
- package/dist/types/components/Typography/Typography.d.ts +25 -0
- package/dist/types/components/Typography/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +26 -0
- package/{src/components/types/index.ts → dist/types/components/types/index.d.ts} +1 -1
- package/dist/types/components/types/scroll.types.d.ts +10 -0
- package/dist/types/constants/constants.d.ts +7 -0
- package/dist/types/constants/index.d.ts +1 -0
- package/dist/types/demo/TestMixins/TestMixins.d.ts +1 -0
- package/dist/types/demo/index.d.ts +1 -0
- package/dist/types/hooks/index.d.ts +2 -0
- package/dist/types/hooks/useScrollThumbs.d.ts +9 -0
- package/dist/types/hooks/useThumbDrag.d.ts +9 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/types.d.ts +5 -0
- package/dist/types/utils/ColorIconBase.d.ts +7 -0
- package/dist/types/utils/ColorIconBaseSmall.d.ts +7 -0
- package/dist/types/utils/IconBase.d.ts +12 -0
- package/dist/types/utils/formatTime.d.ts +1 -0
- package/dist/types/utils/getFirstLetterCapitalized.d.ts +1 -0
- package/dist/types/utils/getHorizontalMetrics.d.ts +2 -0
- package/dist/types/utils/getNavItemClickHandler.d.ts +5 -0
- package/dist/types/utils/getVerticalMetrics.d.ts +2 -0
- package/dist/types/utils/index.d.ts +8 -0
- package/dist/types/utils/isAudioAttachment.d.ts +2 -0
- package/dist/types/utils/isThemeColor.d.ts +2 -0
- package/dist/types/utils/truncateText.d.ts +1 -0
- package/package.json +9 -17
- package/.github/pull_request_template.md +0 -31
- package/.github/workflows/deploy-storybook.yml +0 -19
- package/.github/workflows/publish.yml +0 -33
- package/.husky/commit-msg +0 -1
- package/.husky/pre-commit +0 -3
- package/.husky/pre-push +0 -2
- package/.husky/prepare-commit-msg +0 -9
- package/.prettierignore +0 -5
- package/.prettierrc.cjs +0 -4
- package/.storybook/main.d.ts +0 -3
- package/.storybook/main.ts +0 -26
- package/.storybook/manager.ts +0 -6
- package/.storybook/preview.d.ts +0 -6
- package/.storybook/preview.tsx +0 -28
- package/.storybook/theme.ts +0 -17
- package/.stylelintrc.cjs +0 -3
- package/AGENTS.md +0 -80
- package/agent-docs/architecture.md +0 -31
- package/agent-docs/execplans.md +0 -33
- package/agent-docs/frontend.md +0 -99
- package/commitlint.config.js +0 -63
- package/eslint.config.js +0 -101
- package/index.html +0 -13
- package/pnpm-workspace.yaml +0 -4
- package/src/assets/icons/ArrowBackOutline.tsx +0 -33
- package/src/assets/icons/ArrowForwardOutline.tsx +0 -32
- package/src/assets/icons/ArrowIosBack.tsx +0 -32
- package/src/assets/icons/ArrowIosBackOutline.tsx +0 -32
- package/src/assets/icons/ArrowIosDownOutline.tsx +0 -34
- package/src/assets/icons/ArrowIosForward.tsx +0 -32
- package/src/assets/icons/ArrowIosForwardOutline.tsx +0 -32
- package/src/assets/icons/ArrowIosUp.tsx +0 -35
- package/src/assets/icons/Block.tsx +0 -31
- package/src/assets/icons/BlockOutline.tsx +0 -37
- package/src/assets/icons/Bookmark.tsx +0 -32
- package/src/assets/icons/BookmarkOutline.tsx +0 -32
- package/src/assets/icons/Brave.tsx +0 -26
- package/src/assets/icons/Calendar.tsx +0 -32
- package/src/assets/icons/CalendarOutline.tsx +0 -32
- package/src/assets/icons/CheckmarkOutline.tsx +0 -27
- package/src/assets/icons/Close.tsx +0 -27
- package/src/assets/icons/CloseOutline.tsx +0 -27
- package/src/assets/icons/ColorPaletteOutline.tsx +0 -36
- package/src/assets/icons/Copy.tsx +0 -32
- package/src/assets/icons/CopyOutline.tsx +0 -36
- package/src/assets/icons/CreditCard.tsx +0 -32
- package/src/assets/icons/CreditCardOutline.tsx +0 -32
- package/src/assets/icons/DoneAllOutline.tsx +0 -32
- package/src/assets/icons/Edit.tsx +0 -31
- package/src/assets/icons/EditOutline.tsx +0 -31
- package/src/assets/icons/Email.tsx +0 -32
- package/src/assets/icons/EmailOutline.tsx +0 -32
- package/src/assets/icons/ErrorIcon.tsx +0 -39
- package/src/assets/icons/Expand.tsx +0 -31
- package/src/assets/icons/ExpandOutline.tsx +0 -31
- package/src/assets/icons/Explorer.tsx +0 -26
- package/src/assets/icons/Eye.tsx +0 -32
- package/src/assets/icons/EyeOff.tsx +0 -36
- package/src/assets/icons/EyeOffOutline.tsx +0 -36
- package/src/assets/icons/EyeOutline.tsx +0 -34
- package/src/assets/icons/Facebook.tsx +0 -32
- package/src/assets/icons/FileIcon.tsx +0 -36
- package/src/assets/icons/FillBell.tsx +0 -48
- package/src/assets/icons/Firefox.tsx +0 -33
- package/src/assets/icons/FlagEng.tsx +0 -33
- package/src/assets/icons/FlagRus.tsx +0 -33
- package/src/assets/icons/GithubRepo.tsx +0 -32
- package/src/assets/icons/Google.tsx +0 -45
- package/src/assets/icons/Heart.tsx +0 -32
- package/src/assets/icons/HeartOutline.tsx +0 -32
- package/src/assets/icons/Home.tsx +0 -33
- package/src/assets/icons/HomeOutline.tsx +0 -27
- package/src/assets/icons/Image.tsx +0 -32
- package/src/assets/icons/ImageOutline.tsx +0 -32
- package/src/assets/icons/Layers.tsx +0 -41
- package/src/assets/icons/LayersOutline.tsx +0 -32
- package/src/assets/icons/LogOut.tsx +0 -31
- package/src/assets/icons/LogOutOutline.tsx +0 -31
- package/src/assets/icons/Maximize.tsx +0 -32
- package/src/assets/icons/MaximizeOutline.tsx +0 -34
- package/src/assets/icons/MenuOutline.tsx +0 -31
- package/src/assets/icons/MessageCircle.tsx +0 -32
- package/src/assets/icons/MessageCircleOutline.tsx +0 -36
- package/src/assets/icons/Mic.tsx +0 -32
- package/src/assets/icons/MicOutline.tsx +0 -36
- package/src/assets/icons/MicrosoftEdge.tsx +0 -112
- package/src/assets/icons/MoreHorizontal.tsx +0 -31
- package/src/assets/icons/MoreHorizontalOutline.tsx +0 -31
- package/src/assets/icons/Opera.tsx +0 -33
- package/src/assets/icons/OutlineBell.tsx +0 -72
- package/src/assets/icons/Paid.tsx +0 -37
- package/src/assets/icons/PaperPlane.tsx +0 -32
- package/src/assets/icons/PaperPlaneOutline.tsx +0 -32
- package/src/assets/icons/PauseCircle.tsx +0 -32
- package/src/assets/icons/PauseCircleOutline.tsx +0 -34
- package/src/assets/icons/Paypal.tsx +0 -72
- package/src/assets/icons/Person.tsx +0 -29
- package/src/assets/icons/PersonAdd.tsx +0 -31
- package/src/assets/icons/PersonAddOutline.tsx +0 -31
- package/src/assets/icons/PersonOutline.tsx +0 -31
- package/src/assets/icons/PersonRemove.tsx +0 -31
- package/src/assets/icons/PersonRemoveOutline.tsx +0 -31
- package/src/assets/icons/Pin.tsx +0 -32
- package/src/assets/icons/PinOutline.tsx +0 -34
- package/src/assets/icons/PlayCircle.tsx +0 -32
- package/src/assets/icons/PlayCircleOutline.tsx +0 -32
- package/src/assets/icons/PlusCircle.tsx +0 -32
- package/src/assets/icons/PlusCircleOutline.tsx +0 -30
- package/src/assets/icons/PlusSquare.tsx +0 -32
- package/src/assets/icons/PlusSquareOutline.tsx +0 -34
- package/src/assets/icons/RadioButtonChecked.tsx +0 -32
- package/src/assets/icons/RadioButtonUnchecked.tsx +0 -30
- package/src/assets/icons/RecaptchaLogo.tsx +0 -42
- package/src/assets/icons/Safari.tsx +0 -37
- package/src/assets/icons/Search.tsx +0 -32
- package/src/assets/icons/SearchOutline.tsx +0 -32
- package/src/assets/icons/Sending.tsx +0 -28
- package/src/assets/icons/Settings.tsx +0 -32
- package/src/assets/icons/SettingsOutline.tsx +0 -34
- package/src/assets/icons/Stripe.tsx +0 -40
- package/src/assets/icons/Trash.tsx +0 -32
- package/src/assets/icons/TrashOutline.tsx +0 -32
- package/src/assets/icons/TrendingUp.tsx +0 -32
- package/src/assets/icons/TrendingUpOutline.tsx +0 -32
- package/src/assets/icons/UcBrowser.tsx +0 -78
- package/src/assets/icons/Yandex.tsx +0 -36
- package/src/assets/index.ts +0 -104
- package/src/assets/logo/Logo.tsx +0 -55
- package/src/components/Alert/Alert.module.scss +0 -61
- package/src/components/Alert/Alert.tsx +0 -79
- package/src/components/Alert/index.ts +0 -1
- package/src/components/AudioPlayer/AudioPlayer.module.scss +0 -74
- package/src/components/AudioPlayer/AudioPlayer.tsx +0 -119
- package/src/components/AudioPlayer/index.ts +0 -1
- package/src/components/Avatar/Avatar.module.scss +0 -151
- package/src/components/Avatar/Avatar.tsx +0 -36
- package/src/components/Avatar/AvatarBlock.tsx +0 -43
- package/src/components/Avatar/MainAvatar.tsx +0 -65
- package/src/components/Avatar/index.ts +0 -3
- package/src/components/Button/Button.module.scss +0 -143
- package/src/components/Button/Button.tsx +0 -48
- package/src/components/Button/ButtonLegacy.tsx +0 -94
- package/src/components/Button/index.ts +0 -2
- package/src/components/Cards/Cards.module.scss +0 -11
- package/src/components/Cards/Cards.tsx +0 -21
- package/src/components/Cards/index.ts +0 -1
- package/src/components/Carousel/Carousel.module.scss +0 -97
- package/src/components/Carousel/Carousel.tsx +0 -64
- package/src/components/Carousel/index.ts +0 -1
- package/src/components/Checkbox/Checkbox.module.scss +0 -76
- package/src/components/Checkbox/Checkbox.tsx +0 -48
- package/src/components/Checkbox/index.ts +0 -1
- package/src/components/CircularProgress/CircularProgress.module.scss +0 -33
- package/src/components/CircularProgress/CircularProgress.tsx +0 -33
- package/src/components/CircularProgress/index.ts +0 -1
- package/src/components/Input/Input.module.scss +0 -105
- package/src/components/Input/Input.tsx +0 -79
- package/src/components/Input/index.ts +0 -1
- package/src/components/LinearProgress/LinearProgress.module.scss +0 -62
- package/src/components/LinearProgress/LinearProgress.tsx +0 -49
- package/src/components/LinearProgress/index.ts +0 -1
- package/src/components/Menu/Menu.module.scss +0 -48
- package/src/components/Menu/Menu.tsx +0 -51
- package/src/components/Menu/index.ts +0 -1
- package/src/components/Message/AttachmentItem.tsx +0 -19
- package/src/components/Message/Message.module.scss +0 -123
- package/src/components/Message/Message.tsx +0 -54
- package/src/components/Message/MessageStatus.tsx +0 -19
- package/src/components/Message/ReplyPreview.tsx +0 -19
- package/src/components/Message/index.ts +0 -2
- package/src/components/Message/types.ts +0 -49
- package/src/components/Modal/Modal.module.scss +0 -118
- package/src/components/Modal/Modal.tsx +0 -82
- package/src/components/Modal/index.ts +0 -1
- package/src/components/PasswordInput/PasswordInput.module.scss +0 -13
- package/src/components/PasswordInput/PasswordInput.tsx +0 -36
- package/src/components/PasswordInput/index.ts +0 -1
- package/src/components/RadioGroup/RadioGroup.module.scss +0 -95
- package/src/components/RadioGroup/RadioGroup.tsx +0 -64
- package/src/components/RadioGroup/index.ts +0 -1
- package/src/components/ReadMore/ReadMore.module.scss +0 -8
- package/src/components/ReadMore/ReadMore.tsx +0 -49
- package/src/components/ReadMore/index.ts +0 -1
- package/src/components/Recaptcha/Recaptcha.module.scss +0 -10
- package/src/components/Recaptcha/Recaptcha.tsx +0 -58
- package/src/components/Recaptcha/index.ts +0 -1
- package/src/components/Scroll/Scroll.module.scss +0 -58
- package/src/components/Scroll/Scroll.tsx +0 -47
- package/src/components/Scroll/index.ts +0 -1
- package/src/components/SearchInput/SearchInput.tsx +0 -17
- package/src/components/SearchInput/index.ts +0 -1
- package/src/components/Select/Select.module.scss +0 -160
- package/src/components/Select/Select.tsx +0 -262
- package/src/components/Select/index.ts +0 -1
- package/src/components/Sidebar/Sidebar.module.scss +0 -100
- package/src/components/Sidebar/Sidebar.tsx +0 -74
- package/src/components/Sidebar/index.ts +0 -1
- package/src/components/Slider/Slider.module.scss +0 -64
- package/src/components/Slider/Slider.tsx +0 -26
- package/src/components/Slider/index.ts +0 -1
- package/src/components/Table/Table.module.scss +0 -23
- package/src/components/Table/Table.tsx +0 -57
- package/src/components/Table/index.ts +0 -1
- package/src/components/Tabs/Tabs.module.scss +0 -78
- package/src/components/Tabs/Tabs.tsx +0 -57
- package/src/components/Tabs/index.ts +0 -1
- package/src/components/TextArea/TextArea.module.scss +0 -107
- package/src/components/TextArea/TextArea.tsx +0 -57
- package/src/components/TextArea/index.ts +0 -1
- package/src/components/Tooltip/Tooltip.module.scss +0 -11
- package/src/components/Tooltip/Tooltip.tsx +0 -43
- package/src/components/Tooltip/index.ts +0 -1
- package/src/components/Typography/Typography.module.scss +0 -29
- package/src/components/Typography/Typography.tsx +0 -135
- package/src/components/Typography/index.ts +0 -1
- package/src/components/index.ts +0 -27
- package/src/components/types/scroll.types.ts +0 -11
- package/src/constants/constants.ts +0 -22
- package/src/constants/index.ts +0 -1
- package/src/demo/TestMixins/TestMixins.module.scss +0 -457
- package/src/demo/TestMixins/TestMixins.tsx +0 -107
- package/src/demo/index.ts +0 -1
- package/src/hooks/index.ts +0 -2
- package/src/hooks/useScrollThumbs.ts +0 -65
- package/src/hooks/useThumbDrag.ts +0 -90
- package/src/index.ts +0 -9
- package/src/stories/Configure.mdx +0 -183
- package/src/stories/assets/icons/ArrowBackOutline.stories.ts +0 -40
- package/src/stories/assets/icons/ArrowForwardOutline.stories.ts +0 -40
- package/src/stories/assets/icons/ArrowIosBack.stories.ts +0 -40
- package/src/stories/assets/icons/ArrowIosBackOutline.stories.ts +0 -40
- package/src/stories/assets/icons/ArrowIosDownOutline.stories.ts +0 -40
- package/src/stories/assets/icons/ArrowIosForward.stories.ts +0 -40
- package/src/stories/assets/icons/ArrowIosForwardOutline.stories.ts +0 -40
- package/src/stories/assets/icons/ArrowIosUp.stories.ts +0 -38
- package/src/stories/assets/icons/Block.stories.ts +0 -39
- package/src/stories/assets/icons/BlockOutline.stories.ts +0 -39
- package/src/stories/assets/icons/Bookmark.stories.ts +0 -39
- package/src/stories/assets/icons/BookmarkOutline.stories.ts +0 -40
- package/src/stories/assets/icons/Brave.stories.ts +0 -48
- package/src/stories/assets/icons/Calendar.stories.ts +0 -40
- package/src/stories/assets/icons/CalendarOutline.stories.ts +0 -39
- package/src/stories/assets/icons/CheckmarkOutline.stories.ts +0 -40
- package/src/stories/assets/icons/Close.stories.ts +0 -40
- package/src/stories/assets/icons/CloseOutline.stories.ts +0 -40
- package/src/stories/assets/icons/ColorPaletteOutline.stories.ts +0 -39
- package/src/stories/assets/icons/Copy.stories.ts +0 -38
- package/src/stories/assets/icons/CopyOutline.stories.ts +0 -39
- package/src/stories/assets/icons/CreditCard.stories.ts +0 -38
- package/src/stories/assets/icons/CreditCardOutline.stories.ts +0 -39
- package/src/stories/assets/icons/DoneAllOutline.stories.ts +0 -38
- package/src/stories/assets/icons/Edit.stories.ts +0 -39
- package/src/stories/assets/icons/EditOutline.stories.ts +0 -38
- package/src/stories/assets/icons/Email.stories.ts +0 -39
- package/src/stories/assets/icons/EmailOutline.stories.ts +0 -38
- package/src/stories/assets/icons/ErrorIcon.stories.ts +0 -40
- package/src/stories/assets/icons/Expand.stories.ts +0 -39
- package/src/stories/assets/icons/ExpandOutline.stories.ts +0 -38
- package/src/stories/assets/icons/Explorer.stories.ts +0 -47
- package/src/stories/assets/icons/Eye.stories.ts +0 -39
- package/src/stories/assets/icons/EyeOff.stories.ts +0 -38
- package/src/stories/assets/icons/EyeOffOutline.stories.ts +0 -39
- package/src/stories/assets/icons/EyeOutline.stories.ts +0 -38
- package/src/stories/assets/icons/Facebook.stories.ts +0 -37
- package/src/stories/assets/icons/FileIcon.stories.ts +0 -40
- package/src/stories/assets/icons/FillBell.stories.ts +0 -40
- package/src/stories/assets/icons/Firefox.stories.ts +0 -48
- package/src/stories/assets/icons/FlagEng.stories.ts +0 -37
- package/src/stories/assets/icons/FlagRus.stories.ts +0 -37
- package/src/stories/assets/icons/GithubRepo.stories.ts +0 -38
- package/src/stories/assets/icons/Google.stories.ts +0 -38
- package/src/stories/assets/icons/Heart.stories.ts +0 -39
- package/src/stories/assets/icons/HeartOutline.stories.ts +0 -38
- package/src/stories/assets/icons/Home.stories.ts +0 -40
- package/src/stories/assets/icons/HomeOutline.stories.ts +0 -40
- package/src/stories/assets/icons/Icon.module.scss +0 -4
- package/src/stories/assets/icons/ImageIcon.stories.ts +0 -39
- package/src/stories/assets/icons/ImageOutline.stories.ts +0 -38
- package/src/stories/assets/icons/Layers.stories.ts +0 -39
- package/src/stories/assets/icons/LayersOutline.stories.ts +0 -38
- package/src/stories/assets/icons/LogOut.stories.ts +0 -40
- package/src/stories/assets/icons/LogOutOutline.stories.ts +0 -40
- package/src/stories/assets/icons/Maximize.stories.ts +0 -39
- package/src/stories/assets/icons/MaximizeOutline.stories.ts +0 -39
- package/src/stories/assets/icons/MenuOutline.stories.ts +0 -39
- package/src/stories/assets/icons/MessageCircle.stories.ts +0 -38
- package/src/stories/assets/icons/MessageCircleOutline.stories.ts +0 -39
- package/src/stories/assets/icons/Mic.stories.ts +0 -38
- package/src/stories/assets/icons/MicOutline.stories.ts +0 -39
- package/src/stories/assets/icons/MicrosoftEdge.stories.ts +0 -47
- package/src/stories/assets/icons/MoreHorizontal.stories.ts +0 -40
- package/src/stories/assets/icons/MoreHorizontalOutline.stories.ts +0 -38
- package/src/stories/assets/icons/Opera.stories.ts +0 -47
- package/src/stories/assets/icons/OutlineBell.stories.ts +0 -58
- package/src/stories/assets/icons/Paid.stories.ts +0 -38
- package/src/stories/assets/icons/PaperPlane.stories.ts +0 -40
- package/src/stories/assets/icons/PaperPlaneOutline.stories.ts +0 -38
- package/src/stories/assets/icons/PauseCircle.stories.ts +0 -39
- package/src/stories/assets/icons/PauseCircleOutline.stories.ts +0 -38
- package/src/stories/assets/icons/Paypal.stories.ts +0 -16
- package/src/stories/assets/icons/Person.stories.ts +0 -39
- package/src/stories/assets/icons/PersonAdd.stories.ts +0 -38
- package/src/stories/assets/icons/PersonAddOutline.stories.ts +0 -39
- package/src/stories/assets/icons/PersonOutline.stories.ts +0 -39
- package/src/stories/assets/icons/PersonRemove.stories.ts +0 -38
- package/src/stories/assets/icons/PersonRemoveOutline.stories.ts +0 -39
- package/src/stories/assets/icons/Pin.stories.ts +0 -38
- package/src/stories/assets/icons/PinOutline.stories.ts +0 -39
- package/src/stories/assets/icons/PlayCircle.stories.ts +0 -38
- package/src/stories/assets/icons/PlayCircleOutline.stories.ts +0 -39
- package/src/stories/assets/icons/PlusCircle.stories.ts +0 -38
- package/src/stories/assets/icons/PlusCircleOutline.stories.ts +0 -39
- package/src/stories/assets/icons/PlusSquare.stories.ts +0 -38
- package/src/stories/assets/icons/PlusSquareOutline.stories.ts +0 -39
- package/src/stories/assets/icons/RadioButtonChecked.stories.ts +0 -38
- package/src/stories/assets/icons/RadioButtonUnchecked.stories.ts +0 -39
- package/src/stories/assets/icons/RecaptchaLogo.stories.ts +0 -36
- package/src/stories/assets/icons/Safari.stories.ts +0 -47
- package/src/stories/assets/icons/Search.stories.ts +0 -39
- package/src/stories/assets/icons/SearchOutline.stories.ts +0 -40
- package/src/stories/assets/icons/Sending.stories.ts +0 -40
- package/src/stories/assets/icons/Settings.stories.ts +0 -39
- package/src/stories/assets/icons/SettingsOutline.stories.ts +0 -40
- package/src/stories/assets/icons/Stripe.stories.ts +0 -38
- package/src/stories/assets/icons/Trash.stories.ts +0 -39
- package/src/stories/assets/icons/TrashOutline.stories.ts +0 -38
- package/src/stories/assets/icons/TrendingUp.stories.ts +0 -39
- package/src/stories/assets/icons/TrendingUpOutline.stories.ts +0 -38
- package/src/stories/assets/icons/UcBrowser.stories.ts +0 -48
- package/src/stories/assets/icons/Yandex.stories.ts +0 -47
- package/src/stories/assets/logo/Logo.stories.ts +0 -22
- package/src/stories/components/Alert/Alert.stories.tsx +0 -94
- package/src/stories/components/Avatar/Avatar.stories.tsx +0 -151
- package/src/stories/components/Avatar/AvatarBlock.stories.tsx +0 -301
- package/src/stories/components/Avatar/MainAvatar.stories.tsx +0 -200
- package/src/stories/components/Button/Button.stories.tsx +0 -99
- package/src/stories/components/Button/ButtonLegacy.stories.tsx +0 -99
- package/src/stories/components/Cards/Cards.stories.tsx +0 -185
- package/src/stories/components/Carousel/Carousel.stories.tsx +0 -89
- package/src/stories/components/Carousel/CarouselWrapper.module.scss +0 -7
- package/src/stories/components/CheckBox/CheckBox.stories.tsx +0 -92
- package/src/stories/components/CircularProgress/CircularProgress.stories.tsx +0 -66
- package/src/stories/components/Input/Input.stories.tsx +0 -88
- package/src/stories/components/LinearProgress/LinearProgress.stories.tsx +0 -137
- package/src/stories/components/Menu/Menu.stories.tsx +0 -100
- package/src/stories/components/Message/Message.stories.tsx +0 -311
- package/src/stories/components/Modal/Modal.stories.module.scss +0 -157
- package/src/stories/components/Modal/Modal.stories.tsx +0 -514
- package/src/stories/components/PasswordInput/PasswordInput.stories.tsx +0 -71
- package/src/stories/components/RadioGroup/RadioGroup.stories.tsx +0 -141
- package/src/stories/components/ReadMore/ReadMore.stories.tsx +0 -42
- package/src/stories/components/Recaptcha/Recaptcha.stories.tsx +0 -29
- package/src/stories/components/Scroll/Scroll.stories.tsx +0 -128
- package/src/stories/components/SearchInput/SearchInput.stories.tsx +0 -76
- package/src/stories/components/Select/Select.stories.module.scss +0 -6
- package/src/stories/components/Select/Select.stories.tsx +0 -147
- package/src/stories/components/Sidebar/Sidebar.stories.tsx +0 -126
- package/src/stories/components/Slider/Slider.stories.tsx +0 -58
- package/src/stories/components/Table/Table.stories.tsx +0 -108
- package/src/stories/components/Tabs/Tabs.stories.tsx +0 -75
- package/src/stories/components/TestMixins/TestMixins.stories.tsx +0 -16
- package/src/stories/components/TextArea/TextArea.stories.tsx +0 -100
- package/src/stories/components/Tooltip/Tooltip.stories.tsx +0 -54
- package/src/stories/components/Typography/Typography.stories.tsx +0 -314
- package/src/stories/constants.ts +0 -45
- package/src/stories/palette/ColorPalette.module.scss +0 -61
- package/src/stories/palette/ColorPalette.stories.tsx +0 -76
- package/src/storybook-utils/assets/coloredIconMeta.ts +0 -31
- package/src/storybook-utils/assets/iconMeta.ts +0 -40
- package/src/storybook-utils/assets/logoMeta.ts +0 -33
- package/src/storybook-utils/components/ButtonMeta.ts +0 -33
- package/src/storybook-utils/index.ts +0 -4
- package/src/styles/_boilerplate.scss +0 -37
- package/src/styles/_colors.scss +0 -46
- package/src/styles/_mixins.scss +0 -154
- package/src/styles/_typography.scss +0 -152
- package/src/styles/index.scss +0 -4
- package/src/types/index.ts +0 -1
- package/src/types/types.ts +0 -5
- package/src/utils/ColorIconBase.tsx +0 -26
- package/src/utils/ColorIconBaseSmall.tsx +0 -30
- package/src/utils/IconBase.tsx +0 -43
- package/src/utils/formatTime.ts +0 -6
- package/src/utils/getFirstLetterCapitalized.ts +0 -2
- package/src/utils/getHorizontalMetrics.ts +0 -12
- package/src/utils/getNavItemClickHandler.ts +0 -17
- package/src/utils/getVerticalMetrics.ts +0 -12
- package/src/utils/index.ts +0 -8
- package/src/utils/isAudioAttachment.ts +0 -7
- package/src/utils/isThemeColor.ts +0 -4
- package/src/utils/truncateText.ts +0 -15
- package/tsconfig.app.json +0 -32
- package/tsconfig.build.json +0 -16
- package/tsconfig.json +0 -7
- package/tsconfig.node.json +0 -23
- package/vite-env.d.ts +0 -20
- package/vite.config.ts +0 -67
- package/vitest.shims.d.ts +0 -1
- /package/{public → dist}/favicon-dark-108.svg +0 -0
- /package/{public → dist}/favicon-dark-16.svg +0 -0
- /package/{public → dist}/favicon-dark-24.svg +0 -0
- /package/{public → dist}/favicon-dark-48.svg +0 -0
- /package/{public → dist}/favicon-dark-72.svg +0 -0
- /package/{public → dist}/favicon-light-108.svg +0 -0
- /package/{public → dist}/favicon-light-16.svg +0 -0
- /package/{public → dist}/favicon-light-24.svg +0 -0
- /package/{public → dist}/favicon-light-48.svg +0 -0
- /package/{public → dist}/favicon-light-72.svg +0 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
export { CheckmarkOutline } from './icons/CheckmarkOutline';
|
|
2
|
+
export { FillBell } from './icons/FillBell';
|
|
3
|
+
export { Close } from './icons/Close';
|
|
4
|
+
export { CloseOutline } from './icons/CloseOutline';
|
|
5
|
+
export { Home } from './icons/Home';
|
|
6
|
+
export { HomeOutline } from './icons/HomeOutline';
|
|
7
|
+
export { OutlineBell } from './icons/OutlineBell';
|
|
8
|
+
export { FlagEng } from './icons/FlagEng';
|
|
9
|
+
export { FlagRus } from './icons/FlagRus';
|
|
10
|
+
export { PlusSquareOutline } from './icons/PlusSquareOutline';
|
|
11
|
+
export { PlusSquare } from './icons/PlusSquare';
|
|
12
|
+
export { Person } from './icons/Person';
|
|
13
|
+
export { PersonOutline } from './icons/PersonOutline';
|
|
14
|
+
export { TrendingUp } from './icons/TrendingUp';
|
|
15
|
+
export { TrendingUpOutline } from './icons/TrendingUpOutline';
|
|
16
|
+
export { Bookmark } from './icons/Bookmark';
|
|
17
|
+
export { BookmarkOutline } from './icons/BookmarkOutline';
|
|
18
|
+
export { ArrowForwardOutline } from './icons/ArrowForwardOutline';
|
|
19
|
+
export { ArrowBackOutline } from './icons/ArrowBackOutline';
|
|
20
|
+
export { DoneAllOutline } from './icons/DoneAllOutline';
|
|
21
|
+
export { LogOut } from './icons/LogOut';
|
|
22
|
+
export { LogOutOutline } from './icons/LogOutOutline';
|
|
23
|
+
export { Calendar } from './icons/Calendar';
|
|
24
|
+
export { CalendarOutline } from './icons/CalendarOutline';
|
|
25
|
+
export { ArrowIosUp } from './icons/ArrowIosUp';
|
|
26
|
+
export { ArrowIosDownOutline } from './icons/ArrowIosDownOutline';
|
|
27
|
+
export { RadioButtonChecked } from './icons/RadioButtonChecked';
|
|
28
|
+
export { RadioButtonUnchecked } from './icons/RadioButtonUnchecked';
|
|
29
|
+
export { PauseCircle } from './icons/PauseCircle';
|
|
30
|
+
export { PauseCircleOutline } from './icons/PauseCircleOutline';
|
|
31
|
+
export { PlayCircle } from './icons/PlayCircle';
|
|
32
|
+
export { PlayCircleOutline } from './icons/PlayCircleOutline';
|
|
33
|
+
export { ColorPaletteOutline } from './icons/ColorPaletteOutline';
|
|
34
|
+
export { ArrowIosBack } from './icons/ArrowIosBack';
|
|
35
|
+
export { ArrowIosBackOutline } from './icons/ArrowIosBackOutline';
|
|
36
|
+
export { ArrowIosForward } from './icons/ArrowIosForward';
|
|
37
|
+
export { ArrowIosForwardOutline } from './icons/ArrowIosForwardOutline';
|
|
38
|
+
export { Expand } from './icons/Expand';
|
|
39
|
+
export { ExpandOutline } from './icons/ExpandOutline';
|
|
40
|
+
export { MenuOutline } from './icons/MenuOutline';
|
|
41
|
+
export { PlusCircle } from './icons/PlusCircle';
|
|
42
|
+
export { PlusCircleOutline } from './icons/PlusCircleOutline';
|
|
43
|
+
export { ImageIcon } from './icons/Image';
|
|
44
|
+
export { ImageOutline } from './icons/ImageOutline';
|
|
45
|
+
export { Search } from './icons/Search';
|
|
46
|
+
export { SearchOutline } from './icons/SearchOutline';
|
|
47
|
+
export { Block } from './icons/Block';
|
|
48
|
+
export { BlockOutline } from './icons/BlockOutline';
|
|
49
|
+
export { Settings } from './icons/Settings';
|
|
50
|
+
export { SettingsOutline } from './icons/SettingsOutline';
|
|
51
|
+
export { Layers } from './icons/Layers';
|
|
52
|
+
export { LayersOutline } from './icons/LayersOutline';
|
|
53
|
+
export { GithubRepo } from './icons/GithubRepo';
|
|
54
|
+
export { EyeOff } from './icons/EyeOff';
|
|
55
|
+
export { EyeOffOutline } from './icons/EyeOffOutline';
|
|
56
|
+
export { Eye } from './icons/Eye';
|
|
57
|
+
export { EyeOutline } from './icons/EyeOutline';
|
|
58
|
+
export { PaperPlane } from './icons/PaperPlane';
|
|
59
|
+
export { PaperPlaneOutline } from './icons/PaperPlaneOutline';
|
|
60
|
+
export { MoreHorizontal } from './icons/MoreHorizontal';
|
|
61
|
+
export { MoreHorizontalOutline } from './icons/MoreHorizontalOutline';
|
|
62
|
+
export { MessageCircle } from './icons/MessageCircle';
|
|
63
|
+
export { MessageCircleOutline } from './icons/MessageCircleOutline';
|
|
64
|
+
export { PersonRemove } from './icons/PersonRemove';
|
|
65
|
+
export { PersonRemoveOutline } from './icons/PersonRemoveOutline';
|
|
66
|
+
export { PersonAdd } from './icons/PersonAdd';
|
|
67
|
+
export { PersonAddOutline } from './icons/PersonAddOutline';
|
|
68
|
+
export { Mic } from './icons/Mic';
|
|
69
|
+
export { MicOutline } from './icons/MicOutline';
|
|
70
|
+
export { Copy } from './icons/Copy';
|
|
71
|
+
export { CopyOutline } from './icons/CopyOutline';
|
|
72
|
+
export { CreditCard } from './icons/CreditCard';
|
|
73
|
+
export { CreditCardOutline } from './icons/CreditCardOutline';
|
|
74
|
+
export { Edit } from './icons/Edit';
|
|
75
|
+
export { EditOutline } from './icons/EditOutline';
|
|
76
|
+
export { Email } from './icons/Email';
|
|
77
|
+
export { EmailOutline } from './icons/EmailOutline';
|
|
78
|
+
export { Heart } from './icons/Heart';
|
|
79
|
+
export { HeartOutline } from './icons/HeartOutline';
|
|
80
|
+
export { Maximize } from './icons/Maximize';
|
|
81
|
+
export { MaximizeOutline } from './icons/MaximizeOutline';
|
|
82
|
+
export { Pin } from './icons/Pin';
|
|
83
|
+
export { PinOutline } from './icons/PinOutline';
|
|
84
|
+
export { Trash } from './icons/Trash';
|
|
85
|
+
export { TrashOutline } from './icons/TrashOutline';
|
|
86
|
+
export { Stripe } from './icons/Stripe';
|
|
87
|
+
export { RecaptchaLogo } from './icons/RecaptchaLogo';
|
|
88
|
+
export { Paypal } from './icons/Paypal';
|
|
89
|
+
export { Paid } from './icons/Paid';
|
|
90
|
+
export { Google } from './icons/Google';
|
|
91
|
+
export { Facebook } from './icons/Facebook';
|
|
92
|
+
export { Brave } from './icons/Brave';
|
|
93
|
+
export { Explorer } from './icons/Explorer';
|
|
94
|
+
export { Firefox } from './icons/Firefox';
|
|
95
|
+
export { MicrosoftEdge } from './icons/MicrosoftEdge';
|
|
96
|
+
export { Opera } from './icons/Opera';
|
|
97
|
+
export { Safari } from './icons/Safari';
|
|
98
|
+
export { UcBrowser } from './icons/UcBrowser';
|
|
99
|
+
export { Yandex } from './icons/Yandex';
|
|
100
|
+
export { Sending } from './icons/Sending';
|
|
101
|
+
export { ErrorIcon } from './icons/ErrorIcon';
|
|
102
|
+
export { FileIcon } from './icons/FileIcon';
|
|
103
|
+
export { Logo } from './logo/Logo';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type SVGProps } from 'react';
|
|
2
|
+
type LogoSize = 'l' | 'm' | 's' | 'xl' | 'xs';
|
|
3
|
+
type LogoTheme = 'day' | 'night';
|
|
4
|
+
export type LogoProps = {
|
|
5
|
+
size?: LogoSize;
|
|
6
|
+
theme?: LogoTheme;
|
|
7
|
+
svgProps?: SVGProps<SVGSVGElement>;
|
|
8
|
+
};
|
|
9
|
+
export declare const Logo: import("react").NamedExoticComponent<LogoProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export type FieldError = {
|
|
3
|
+
field: string;
|
|
4
|
+
message: string;
|
|
5
|
+
};
|
|
6
|
+
export type AlertVariant = 'error' | 'success' | 'warning';
|
|
7
|
+
export interface AlertProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
8
|
+
children?: string;
|
|
9
|
+
errors?: FieldError[];
|
|
10
|
+
onClose?: () => void;
|
|
11
|
+
title?: string;
|
|
12
|
+
variant?: AlertVariant;
|
|
13
|
+
}
|
|
14
|
+
export declare const Alert: ({ className, onClose, title, children, errors, variant, ...props }: AlertProps) => import("react").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Alert';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AudioPlayer';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Avatar as AvatarItem } from 'radix-ui';
|
|
2
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
import type { AvatarSize } from '@/types';
|
|
4
|
+
export type AvatarProps = {
|
|
5
|
+
src?: string;
|
|
6
|
+
alt?: string;
|
|
7
|
+
userName: string;
|
|
8
|
+
delayMs?: number;
|
|
9
|
+
size?: AvatarSize;
|
|
10
|
+
} & Omit<ComponentPropsWithoutRef<typeof AvatarItem.Root>, 'asChild'>;
|
|
11
|
+
export declare const Avatar: import("react").ForwardRefExoticComponent<{
|
|
12
|
+
src?: string;
|
|
13
|
+
alt?: string;
|
|
14
|
+
userName: string;
|
|
15
|
+
delayMs?: number;
|
|
16
|
+
size?: AvatarSize;
|
|
17
|
+
} & Omit<Omit<AvatarItem.AvatarProps & import("react").RefAttributes<HTMLSpanElement>, "ref">, "asChild"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export type AvatarItem = {
|
|
3
|
+
src?: string;
|
|
4
|
+
alt?: string;
|
|
5
|
+
userName: string;
|
|
6
|
+
delayMs?: number;
|
|
7
|
+
};
|
|
8
|
+
export type AvatarBlockProps = {
|
|
9
|
+
users: AvatarItem[];
|
|
10
|
+
className?: string;
|
|
11
|
+
} & Omit<ComponentPropsWithoutRef<'div'>, 'children'>;
|
|
12
|
+
export declare const AvatarBlock: import("react").ForwardRefExoticComponent<{
|
|
13
|
+
users: AvatarItem[];
|
|
14
|
+
className?: string;
|
|
15
|
+
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import type { MainAvatarSize } from '@/types';
|
|
3
|
+
export type MainAvatarProps = {
|
|
4
|
+
src?: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
userName: string;
|
|
7
|
+
delayMs?: number;
|
|
8
|
+
showCloseButton?: boolean;
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
size?: MainAvatarSize;
|
|
11
|
+
} & Omit<ComponentPropsWithoutRef<'div'>, 'children'>;
|
|
12
|
+
export declare const MainAvatar: import("react").ForwardRefExoticComponent<{
|
|
13
|
+
src?: string;
|
|
14
|
+
alt?: string;
|
|
15
|
+
userName: string;
|
|
16
|
+
delayMs?: number;
|
|
17
|
+
showCloseButton?: boolean;
|
|
18
|
+
onClose?: () => void;
|
|
19
|
+
size?: MainAvatarSize;
|
|
20
|
+
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ComponentPropsWithRef, ElementType, ReactNode } from 'react';
|
|
2
|
+
import type { Variant } from '@/components/Button';
|
|
3
|
+
/**
|
|
4
|
+
* A flexible and reusable button component that supports multiple variants (button, a, div, etc.),
|
|
5
|
+
* custom root components via the `as` prop, and full-width styling.
|
|
6
|
+
*
|
|
7
|
+
* Uses React 19's ref prop forwarding, allowing refs to be passed directly
|
|
8
|
+
* to the underlying DOM element or component.
|
|
9
|
+
*
|
|
10
|
+
* @typeParam C - The element type or component to render (defaults to 'button')
|
|
11
|
+
*/
|
|
12
|
+
export type ButtonProps<T extends ElementType = 'button'> = {
|
|
13
|
+
as?: T;
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
variant?: Variant;
|
|
16
|
+
fullWidth?: boolean;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
} & ComponentPropsWithRef<T>;
|
|
19
|
+
export declare const Button: <C extends ElementType = "button">(props: ButtonProps<C> & Omit<ComponentPropsWithRef<C>, keyof ButtonProps<C>>) => import("react").JSX.Element;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ElementType, type PropsWithChildren, type ReactElement } from 'react';
|
|
2
|
+
export type Variant = 'outlined' | 'primary' | 'secondary' | 'text';
|
|
3
|
+
type PolymorphicRef<C extends ElementType> = ComponentPropsWithRef<C>['ref'];
|
|
4
|
+
type AsProp<C extends ElementType> = {
|
|
5
|
+
as?: C;
|
|
6
|
+
};
|
|
7
|
+
type PropsToOmit<C extends ElementType, P> = keyof (AsProp<C> & P);
|
|
8
|
+
type PolymorphicComponentProp<C extends ElementType, Props = {}> = PropsWithChildren<Props & AsProp<C>> & Omit<ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
|
|
9
|
+
type PolymorphicComponentPropWithRef<C extends ElementType, Props = {}> = PolymorphicComponentProp<C, Props> & {
|
|
10
|
+
ref?: PolymorphicRef<C>;
|
|
11
|
+
};
|
|
12
|
+
export type ButtonLegacyProps<C extends ElementType> = PolymorphicComponentPropWithRef<C, {
|
|
13
|
+
variant?: Variant;
|
|
14
|
+
fullWidth?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
}>;
|
|
17
|
+
export type ButtonLegacyComponent = (<C extends ElementType = 'button'>(props: ButtonLegacyProps<C>) => null | ReactElement) & {
|
|
18
|
+
displayName?: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* A polymorphic button component that renders as any HTML element or custom component.
|
|
22
|
+
*
|
|
23
|
+
* **Ref Forwarding:**
|
|
24
|
+
* Uses React's `forwardRef` API for ref forwarding, which is the standard approach
|
|
25
|
+
* for ref handling in React versions below 19.
|
|
26
|
+
*
|
|
27
|
+
* **React 19 Compatibility:**
|
|
28
|
+
* This component uses `@ts-expect-error` because React's `forwardRef` doesn't
|
|
29
|
+
* preserve polymorphic generic parameters in React 19. In React 19, refs are
|
|
30
|
+
* passed directly via props, but the type definitions for `forwardRef` with
|
|
31
|
+
* generics are still evolving. The error is safely ignored as the component
|
|
32
|
+
* works correctly at runtime.
|
|
33
|
+
*
|
|
34
|
+
* @description
|
|
35
|
+
* A flexible and reusable button component that supports multiple variants (button, a, div, etc.),
|
|
36
|
+
* custom root components, and full-width styling.
|
|
37
|
+
*
|
|
38
|
+
* @typeParam C - The element type or component to render (defaults to 'button')
|
|
39
|
+
*/
|
|
40
|
+
export declare const ButtonLegacy: ButtonLegacyComponent;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
+
export type CardsProps = {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
} & Omit<ComponentPropsWithoutRef<'div'>, 'children'>;
|
|
5
|
+
export declare const Cards: import("react").ForwardRefExoticComponent<{
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Cards';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Carousel';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
3
|
+
export type CheckboxProps = Omit<ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, 'onCheckedChange'> & {
|
|
4
|
+
label?: ReactNode;
|
|
5
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<Omit<CheckboxPrimitive.CheckboxProps & import("react").RefAttributes<HTMLButtonElement>, "ref">, "onCheckedChange"> & {
|
|
8
|
+
label?: ReactNode;
|
|
9
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
10
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Checkbox';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import type { ProgressSizeVariant, ProgressThemeColor } from '@/types';
|
|
3
|
+
export type Props = {
|
|
4
|
+
size?: ProgressSizeVariant;
|
|
5
|
+
color?: ProgressThemeColor | string;
|
|
6
|
+
} & Omit<ComponentPropsWithoutRef<'span'>, 'aria-label' | 'aria-live' | 'role'>;
|
|
7
|
+
export declare const CircularProgress: import("react").ForwardRefExoticComponent<{
|
|
8
|
+
size?: ProgressSizeVariant;
|
|
9
|
+
color?: ProgressThemeColor | string;
|
|
10
|
+
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "role" | "aria-label" | "aria-live"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CircularProgress';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
+
export type InputProps = {
|
|
3
|
+
label?: string;
|
|
4
|
+
error?: string;
|
|
5
|
+
startAdornment?: ReactNode;
|
|
6
|
+
endAdornment?: ReactNode;
|
|
7
|
+
} & ComponentPropsWithoutRef<'input'>;
|
|
8
|
+
export declare const Input: import("react").ForwardRefExoticComponent<{
|
|
9
|
+
label?: string;
|
|
10
|
+
error?: string;
|
|
11
|
+
startAdornment?: ReactNode;
|
|
12
|
+
endAdornment?: ReactNode;
|
|
13
|
+
} & Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Input';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import type { ProgressSizeVariant, ProgressThemeColor } from '@/types';
|
|
3
|
+
export type LinearProgressProps = {
|
|
4
|
+
size?: ProgressSizeVariant;
|
|
5
|
+
color?: ProgressThemeColor | string;
|
|
6
|
+
value?: number;
|
|
7
|
+
determinate?: boolean;
|
|
8
|
+
} & Omit<ComponentPropsWithoutRef<'div'>, 'aria-label' | 'aria-live' | 'role'>;
|
|
9
|
+
export declare const LinearProgress: import("react").ForwardRefExoticComponent<{
|
|
10
|
+
size?: ProgressSizeVariant;
|
|
11
|
+
color?: ProgressThemeColor | string;
|
|
12
|
+
value?: number;
|
|
13
|
+
determinate?: boolean;
|
|
14
|
+
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "role" | "aria-label" | "aria-live"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LinearProgress';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export type MenuItem = {
|
|
3
|
+
activeIcon?: ReactNode;
|
|
4
|
+
href?: string;
|
|
5
|
+
icon: ReactNode;
|
|
6
|
+
id: string;
|
|
7
|
+
};
|
|
8
|
+
type MenuProps = {
|
|
9
|
+
activeId: string;
|
|
10
|
+
items: MenuItem[];
|
|
11
|
+
onValueChange?: (id: string) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const Menu: ({ items, activeId, onValueChange }: MenuProps) => import("react").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Menu';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export type MessageStatus = 'delivered' | 'error' | 'read' | 'sending' | 'sent';
|
|
3
|
+
export type MessageType = 'incoming' | 'outgoing';
|
|
4
|
+
export type Attachment = {
|
|
5
|
+
id: number | string;
|
|
6
|
+
name: string;
|
|
7
|
+
url: string;
|
|
8
|
+
type: 'image';
|
|
9
|
+
};
|
|
10
|
+
export type AudioAttachment = {
|
|
11
|
+
id: number | string;
|
|
12
|
+
type: 'audio';
|
|
13
|
+
component: ReactNode;
|
|
14
|
+
};
|
|
15
|
+
export type AttachmentFile = Attachment | AudioAttachment;
|
|
16
|
+
export type ReplyTo = {
|
|
17
|
+
id: number | string;
|
|
18
|
+
author: string;
|
|
19
|
+
text: string;
|
|
20
|
+
};
|
|
21
|
+
export type AttachmentProps = {
|
|
22
|
+
attachment: AttachmentFile;
|
|
23
|
+
};
|
|
24
|
+
export type MessageProps = {
|
|
25
|
+
author: string;
|
|
26
|
+
text?: string;
|
|
27
|
+
timestamp: string;
|
|
28
|
+
type?: MessageType;
|
|
29
|
+
avatar?: string;
|
|
30
|
+
status?: MessageStatus;
|
|
31
|
+
replyTo?: ReplyTo;
|
|
32
|
+
attachments?: AttachmentFile;
|
|
33
|
+
className?: string;
|
|
34
|
+
};
|
|
35
|
+
export type MessageStatusProps = {
|
|
36
|
+
status: MessageStatus;
|
|
37
|
+
};
|
|
38
|
+
export type ReplyPreviewProps = {
|
|
39
|
+
reply: ReplyTo;
|
|
40
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as Dialog from '@radix-ui/react-dialog';
|
|
2
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
3
|
+
import type { ModalSize } from '@/types';
|
|
4
|
+
export type ModalProps = {
|
|
5
|
+
open: boolean;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
size?: ModalSize;
|
|
8
|
+
modalTitle?: ReactNode;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
showHeader?: boolean;
|
|
11
|
+
showCloseButton?: boolean;
|
|
12
|
+
fullSize?: boolean;
|
|
13
|
+
closeButtonOutside?: boolean;
|
|
14
|
+
} & Omit<ComponentPropsWithoutRef<typeof Dialog.Content>, 'children'>;
|
|
15
|
+
export declare const Modal: import("react").ForwardRefExoticComponent<{
|
|
16
|
+
open: boolean;
|
|
17
|
+
onClose: () => void;
|
|
18
|
+
size?: ModalSize;
|
|
19
|
+
modalTitle?: ReactNode;
|
|
20
|
+
children: ReactNode;
|
|
21
|
+
showHeader?: boolean;
|
|
22
|
+
showCloseButton?: boolean;
|
|
23
|
+
fullSize?: boolean;
|
|
24
|
+
closeButtonOutside?: boolean;
|
|
25
|
+
} & Omit<Omit<Dialog.DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref">, "children"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Modal';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type InputHTMLAttributes } from 'react';
|
|
2
|
+
export type PasswordInputProps = {
|
|
3
|
+
label?: string;
|
|
4
|
+
error?: string;
|
|
5
|
+
} & InputHTMLAttributes<HTMLInputElement>;
|
|
6
|
+
export declare const PasswordInput: ({ ...props }: PasswordInputProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PasswordInput';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
3
|
+
export type RadioOption = {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
label?: ReactNode;
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
export type RadioGroupProps = Omit<ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, 'children'> & {
|
|
9
|
+
className?: string;
|
|
10
|
+
options: RadioOption[];
|
|
11
|
+
};
|
|
12
|
+
export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<Omit<RadioGroupPrimitive.RadioGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref">, "children"> & {
|
|
13
|
+
className?: string;
|
|
14
|
+
options: RadioOption[];
|
|
15
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RadioGroup';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type ReadMoreProps = {
|
|
2
|
+
text: string;
|
|
3
|
+
maxLength: number;
|
|
4
|
+
expandLabel?: string;
|
|
5
|
+
collapseLabel?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const ReadMore: ({ text, maxLength, expandLabel, collapseLabel, className, }: ReadMoreProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ReadMore';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Scroll';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SearchInput';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import { Select as SelectPrimitive } from 'radix-ui';
|
|
3
|
+
export type SelectOption = {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
itemIndicator?: ReactNode;
|
|
7
|
+
itemIndicatorProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.ItemIndicator>;
|
|
8
|
+
itemProps?: Omit<ComponentPropsWithoutRef<typeof SelectPrimitive.Item>, 'children' | 'disabled' | 'textValue' | 'value'>;
|
|
9
|
+
itemTextProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.ItemText>;
|
|
10
|
+
label: ReactNode;
|
|
11
|
+
textValue?: string;
|
|
12
|
+
type?: 'item';
|
|
13
|
+
value: string;
|
|
14
|
+
};
|
|
15
|
+
export type SelectOptionGroup = {
|
|
16
|
+
groupProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Group>;
|
|
17
|
+
label: ReactNode;
|
|
18
|
+
labelProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Label>;
|
|
19
|
+
options: SelectOption[];
|
|
20
|
+
type: 'group';
|
|
21
|
+
};
|
|
22
|
+
export type SelectOptionSeparator = {
|
|
23
|
+
separatorProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>;
|
|
24
|
+
type: 'separator';
|
|
25
|
+
};
|
|
26
|
+
export type SelectItem = SelectOption | SelectOptionGroup | SelectOptionSeparator;
|
|
27
|
+
export type SelectProps = Omit<ComponentPropsWithoutRef<typeof SelectPrimitive.Root>, 'children'> & {
|
|
28
|
+
className?: string;
|
|
29
|
+
contentProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Content>;
|
|
30
|
+
contentClassName?: string;
|
|
31
|
+
groupLabelClassName?: string;
|
|
32
|
+
iconProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Icon>;
|
|
33
|
+
itemClassName?: string;
|
|
34
|
+
label?: ReactNode;
|
|
35
|
+
labelProps?: ComponentPropsWithoutRef<'label'>;
|
|
36
|
+
options: SelectItem[];
|
|
37
|
+
placeholder?: ReactNode;
|
|
38
|
+
portalProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Portal>;
|
|
39
|
+
separatorClassName?: string;
|
|
40
|
+
triggerIcon?: ReactNode;
|
|
41
|
+
triggerProps?: Omit<ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, 'children'>;
|
|
42
|
+
valueProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Value>;
|
|
43
|
+
viewportProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Viewport>;
|
|
44
|
+
};
|
|
45
|
+
export declare const Select: import("react").ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSharedProps & {
|
|
46
|
+
value?: string;
|
|
47
|
+
defaultValue?: string;
|
|
48
|
+
onValueChange?(value: string): void;
|
|
49
|
+
}, "children"> & {
|
|
50
|
+
className?: string;
|
|
51
|
+
contentProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Content>;
|
|
52
|
+
contentClassName?: string;
|
|
53
|
+
groupLabelClassName?: string;
|
|
54
|
+
iconProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Icon>;
|
|
55
|
+
itemClassName?: string;
|
|
56
|
+
label?: ReactNode;
|
|
57
|
+
labelProps?: ComponentPropsWithoutRef<"label">;
|
|
58
|
+
options: SelectItem[];
|
|
59
|
+
placeholder?: ReactNode;
|
|
60
|
+
portalProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Portal>;
|
|
61
|
+
separatorClassName?: string;
|
|
62
|
+
triggerIcon?: ReactNode;
|
|
63
|
+
triggerProps?: Omit<ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, "children">;
|
|
64
|
+
valueProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Value>;
|
|
65
|
+
viewportProps?: ComponentPropsWithoutRef<typeof SelectPrimitive.Viewport>;
|
|
66
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Select';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export type SidebarItem = {
|
|
3
|
+
activeIcon?: ReactNode;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
href?: string;
|
|
6
|
+
icon: ReactNode;
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
};
|
|
10
|
+
type SidebarProps = {
|
|
11
|
+
activeId: string;
|
|
12
|
+
items: SidebarItem[];
|
|
13
|
+
logOutIcon: ReactNode;
|
|
14
|
+
onLogout: () => void;
|
|
15
|
+
onValueChange?: (id: string) => void;
|
|
16
|
+
};
|
|
17
|
+
export declare const Sidebar: ({ items, activeId, onValueChange, onLogout, logOutIcon }: SidebarProps) => import("react").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Sidebar';
|