@soppiya/elementus 1.0.0 → 1.0.2
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/README.md +67 -62
- package/dist/assets/icons/backIcon/BackIcon.d.ts +2 -0
- package/dist/assets/icons/backIcon/index.d.ts +1 -0
- package/dist/assets/icons/calenderIcon/CalenderIcon.d.ts +4 -0
- package/dist/assets/icons/calenderIcon/index.d.ts +1 -0
- package/dist/assets/icons/crossCircleIcon/CrossCircleIcon.d.ts +2 -0
- package/dist/assets/icons/crossCircleIcon/index.d.ts +1 -0
- package/dist/assets/icons/crossLineIcon/CrossLineIcon.d.ts +6 -0
- package/dist/assets/icons/crossLineIcon/index.d.ts +1 -0
- package/dist/assets/icons/exceptionIcon/ExceptionIcon.d.ts +6 -0
- package/dist/assets/icons/exceptionIcon/index.d.ts +1 -0
- package/dist/assets/icons/exclamationIcon/ExclamationIcon.d.ts +5 -0
- package/dist/assets/icons/exclamationIcon/index.d.ts +1 -0
- package/dist/assets/icons/eyeIcon/EyeIcon.d.ts +5 -0
- package/dist/assets/icons/eyeIcon/index.d.ts +1 -0
- package/dist/assets/icons/fiveZeroZeroIcon/FiveZeroZeroIcon.d.ts +2 -0
- package/dist/assets/icons/fiveZeroZeroIcon/index.d.ts +1 -0
- package/dist/assets/icons/fourZeroFourIcon/FourZeroFourIcon.d.ts +2 -0
- package/dist/assets/icons/fourZeroFourIcon/index.d.ts +1 -0
- package/dist/assets/icons/index.d.ts +17 -22
- package/dist/assets/icons/lineArrowIcon/LineArrowIcon.d.ts +2 -0
- package/dist/assets/icons/lineArrowIcon/index.d.ts +1 -0
- package/dist/assets/icons/lockIcon/LockIcon.d.ts +2 -0
- package/dist/assets/icons/lockIcon/index.d.ts +1 -0
- package/dist/assets/icons/notVerifyIcon/NotVerifyIcon.d.ts +2 -0
- package/dist/assets/icons/notVerifyIcon/index.d.ts +1 -0
- package/dist/assets/icons/{search → searchIcon}/SearchIcon.d.ts +0 -1
- package/dist/assets/icons/searchIcon/index.d.ts +1 -0
- package/dist/assets/icons/selectArrowIcon/SelectArrowIcon.d.ts +2 -0
- package/dist/assets/icons/selectArrowIcon/index.d.ts +1 -0
- package/dist/assets/icons/stepperIcon/StepperIcon.d.ts +2 -0
- package/dist/assets/icons/stepperIcon/index.d.ts +1 -0
- package/dist/assets/icons/verifiedIcon/VerifiedIcon.d.ts +2 -0
- package/dist/assets/icons/verifiedIcon/index.d.ts +1 -0
- package/dist/assets/icons/warningIcon/WarningIcon.d.ts +2 -0
- package/dist/assets/icons/warningIcon/index.d.ts +1 -0
- package/dist/components/accordion/Accordion.d.ts +63 -0
- package/dist/components/accordion/Accordion.stories.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +1 -0
- package/dist/components/animatedBar/AnimatedBar.d.ts +12 -0
- package/dist/components/animatedBar/AnimatedBar.stories.d.ts +17 -0
- package/dist/components/animatedBar/index.d.ts +1 -0
- package/dist/components/appError/AppError.d.ts +11 -0
- package/dist/components/appError/AppError.stories.d.ts +10 -0
- package/dist/components/appError/index.d.ts +1 -0
- package/dist/components/badge/Badge.d.ts +6 -0
- package/dist/components/badge/Badge.stories.d.ts +21 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/banner/Banner.d.ts +21 -0
- package/dist/components/banner/Banner.stories.d.ts +20 -0
- package/dist/components/banner/index.d.ts +1 -0
- package/dist/components/blockStack/BlockStack.d.ts +34 -0
- package/dist/components/blockStack/BlockStack.stories.d.ts +20 -0
- package/dist/components/blockStack/index.d.ts +1 -0
- package/dist/components/box/Box.d.ts +33 -0
- package/dist/components/box/Box.stories.d.ts +25 -0
- package/dist/components/box/index.d.ts +1 -0
- package/dist/components/button/Button.d.ts +33 -0
- package/dist/components/button/Button.stories.d.ts +51 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/buttonGroup/ButtonGroup.d.ts +18 -0
- package/dist/components/buttonGroup/ButtonGroup.stories.d.ts +18 -0
- package/dist/components/buttonGroup/index.d.ts +1 -0
- package/dist/components/calender/Calender.d.ts +4 -0
- package/dist/components/calender/Calender.stories.d.ts +19 -0
- package/dist/components/calender/calender.utils.d.ts +27 -0
- package/dist/components/calender/index.d.ts +1 -0
- package/dist/components/card/Card.d.ts +10 -0
- package/dist/components/card/Card.stories.d.ts +21 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +15 -0
- package/dist/components/checkbox/Checkbox.stories.d.ts +24 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/colorPicker/ColorPicker.d.ts +7 -0
- package/dist/components/colorPicker/ColorPicker.stories.d.ts +6 -0
- package/dist/components/colorPicker/index.d.ts +1 -0
- package/dist/components/cursorPagination/CursorPagination.d.ts +14 -0
- package/dist/components/cursorPagination/CursorPagination.stories.d.ts +24 -0
- package/dist/components/cursorPagination/index.d.ts +1 -0
- package/dist/components/datePicker/DatePicker.d.ts +21 -0
- package/dist/components/datePicker/DatePicker.stories.d.ts +19 -0
- package/dist/components/datePicker/index.d.ts +1 -0
- package/dist/components/demoColorPicker/DemoColorPicker.d.ts +31 -0
- package/dist/components/demoColorPicker/DemoColorPicker.stories.d.ts +6 -0
- package/dist/components/demoColorPicker/index.d.ts +1 -0
- package/dist/components/divider/Divider.d.ts +7 -0
- package/dist/components/divider/Divider.stories.d.ts +20 -0
- package/dist/components/divider/index.d.ts +1 -0
- package/dist/components/dropdownPagination/DropdownPagination.d.ts +13 -0
- package/dist/components/dropdownPagination/DropdownPagination.stories.d.ts +6 -0
- package/dist/components/dropdownPagination/index.d.ts +1 -0
- package/dist/components/edgeBlurWrapper/EdgeBlurWrapper.d.ts +10 -0
- package/dist/components/edgeBlurWrapper/EdgeBlurWrapper.stories.d.ts +6 -0
- package/dist/components/edgeBlurWrapper/index.d.ts +1 -0
- package/dist/components/emptyState/EmptyState.d.ts +26 -0
- package/dist/components/emptyState/EmptyState.stories.d.ts +6 -0
- package/dist/components/emptyState/index.d.ts +1 -0
- package/dist/components/exceptionList/ExceptionList.d.ts +14 -0
- package/dist/components/exceptionList/ExceptionList.stories.d.ts +20 -0
- package/dist/components/exceptionList/index.d.ts +1 -0
- package/dist/components/grid/Grid.d.ts +20 -0
- package/dist/components/grid/Grid.props.d.ts +35 -0
- package/dist/components/grid/Grid.stories.d.ts +19 -0
- package/dist/components/grid/index.d.ts +1 -0
- package/dist/components/image/Image.d.ts +22 -0
- package/dist/components/image/Image.stories.d.ts +11 -0
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/index.d.ts +55 -0
- package/dist/components/inlineStack/InlineStack.d.ts +37 -0
- package/dist/components/inlineStack/InlineStack.stories.d.ts +38 -0
- package/dist/components/inlineStack/index.d.ts +1 -0
- package/dist/{ui → components}/input/Input.d.ts +2 -2
- package/dist/components/input/Input.props.d.ts +36 -0
- package/dist/components/input/Input.stories.d.ts +35 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/list/List.d.ts +27 -0
- package/dist/components/list/List.stories.d.ts +22 -0
- package/dist/components/list/index.d.ts +1 -0
- package/dist/components/listBox/Listbox.d.ts +27 -0
- package/dist/components/listBox/Listbox.stories.d.ts +20 -0
- package/dist/components/listBox/index.d.ts +1 -0
- package/dist/components/modal/Modal.d.ts +45 -0
- package/dist/components/modal/Modal.stories.d.ts +19 -0
- package/dist/components/modal/index.d.ts +1 -0
- package/dist/components/otp/OTP.Props.d.ts +20 -0
- package/dist/components/otp/OTP.d.ts +3 -0
- package/dist/components/otp/OTP.stories.d.ts +31 -0
- package/dist/components/otp/index.d.ts +1 -0
- package/dist/components/page/Page.d.ts +6 -0
- package/dist/components/page/Page.props.d.ts +40 -0
- package/dist/components/page/Page.stories.d.ts +17 -0
- package/dist/components/page/index.d.ts +1 -0
- package/dist/components/pagination/Pagination.d.ts +14 -0
- package/dist/components/pagination/Pagination.stories.d.ts +27 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/phone/Phone.Props.d.ts +56 -0
- package/dist/components/phone/Phone.d.ts +3 -0
- package/dist/components/phone/Phone.stories.d.ts +32 -0
- package/dist/components/phone/index.d.ts +1 -0
- package/dist/components/phone/phone.data.d.ts +2 -0
- package/dist/components/popover/Popover.d.ts +3 -0
- package/dist/components/popover/Popover.props.d.ts +11 -0
- package/dist/components/popover/Popover.stories.d.ts +23 -0
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/progressBar/ProgressBar.d.ts +19 -0
- package/dist/components/progressBar/ProgressBar.stories.d.ts +24 -0
- package/dist/components/progressBar/index.d.ts +1 -0
- package/dist/components/radio/Radio.d.ts +11 -0
- package/dist/components/radio/Radio.stories.d.ts +25 -0
- package/dist/components/radio/index.d.ts +1 -0
- package/dist/components/range/Range.d.ts +15 -0
- package/dist/components/range/Range.stories.d.ts +43 -0
- package/dist/components/range/index.d.ts +1 -0
- package/dist/components/resourceItem/ResouceItem.stories.d.ts +6 -0
- package/dist/components/resourceItem/ResourceItem.d.ts +9 -0
- package/dist/components/resourceItem/index.d.ts +1 -0
- package/dist/components/select/Select.d.ts +6 -0
- package/dist/components/select/Select.props.d.ts +32 -0
- package/dist/components/select/Select.stories.d.ts +29 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/skeletonBodyText/SkeletonBody.stories.d.ts +28 -0
- package/dist/components/skeletonBodyText/SkeletonBodyText.d.ts +13 -0
- package/dist/components/skeletonBodyText/index.d.ts +1 -0
- package/dist/components/skeletonDisplayText/SkeletonDisplayText.d.ts +13 -0
- package/dist/components/skeletonDisplayText/SkeletonDisplayText.stories.d.ts +28 -0
- package/dist/components/skeletonDisplayText/index.d.ts +1 -0
- package/dist/components/skeletonThumbnail/SkeletonThumbnail.d.ts +13 -0
- package/dist/components/skeletonThumbnail/SkeletonThumbnail.stories.d.ts +28 -0
- package/dist/components/skeletonThumbnail/index.d.ts +1 -0
- package/dist/components/snackBar/SnackBar.d.ts +6 -0
- package/dist/components/snackBar/SnackBar.props.d.ts +20 -0
- package/dist/components/snackBar/SnackBar.stories.d.ts +7 -0
- package/dist/components/snackBar/SnackBarProvider.d.ts +10 -0
- package/dist/components/snackBar/SnackBarProvider.stories.d.ts +20 -0
- package/dist/components/snackBar/index.d.ts +3 -0
- package/dist/components/snackBar/snackBarReducer.d.ts +9 -0
- package/dist/components/snackBar/useSnackbar.d.ts +9 -0
- package/dist/components/soppiyaIcon/SoppiyaIcon.d.ts +17 -0
- package/dist/components/soppiyaIcon/SoppiyaIcon.stories.d.ts +26 -0
- package/dist/components/soppiyaIcon/index.d.ts +1 -0
- package/dist/components/spinner/Spinner.d.ts +23 -0
- package/dist/components/spinner/Spinner.stories.d.ts +29 -0
- package/dist/components/spinner/index.d.ts +1 -0
- package/dist/components/switch/Switch.d.ts +9 -0
- package/dist/components/switch/Switch.stories.d.ts +24 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/tab/Tab.d.ts +3 -0
- package/dist/components/tab/Tab.props.d.ts +18 -0
- package/dist/components/tab/Tab.stories.d.ts +21 -0
- package/dist/components/tab/index.d.ts +1 -0
- package/dist/components/table/Table.Props.d.ts +37 -0
- package/dist/components/table/Table.d.ts +4 -0
- package/dist/components/table/Table.stories.d.ts +27 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/tag/Tag.d.ts +9 -0
- package/dist/components/tag/Tag.stories.d.ts +21 -0
- package/dist/components/tag/index.d.ts +1 -0
- package/dist/components/tagList/TagList.d.ts +5 -0
- package/dist/components/tagList/TagList.stories.d.ts +17 -0
- package/dist/components/tagList/index.d.ts +1 -0
- package/dist/components/text/Text.d.ts +40 -0
- package/dist/components/text/Text.stories.d.ts +59 -0
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/textarea/Textarea.Props.d.ts +22 -0
- package/dist/components/textarea/Textarea.d.ts +3 -0
- package/dist/components/textarea/Textarea.stories.d.ts +32 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/components/tinyMce/TinyMce.d.ts +3 -0
- package/dist/components/tinyMce/TinyMce.stories.d.ts +6 -0
- package/dist/components/tinyMce/index.d.ts +1 -0
- package/dist/components/tinyMce/tinymce.toolbar.d.ts +4 -0
- package/dist/components/tooltip/Tooltip.Props.d.ts +10 -0
- package/dist/components/tooltip/Tooltip.d.ts +3 -0
- package/dist/components/tooltip/Tooltip.stories.d.ts +11 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/userAvatar/UserAvatar.d.ts +19 -0
- package/dist/components/userAvatar/UserAvatar.stories.d.ts +24 -0
- package/dist/components/userAvatar/index.d.ts +1 -0
- package/dist/components/verifyStatus/VerifyStatus.d.ts +6 -0
- package/dist/components/verifyStatus/VerifyStatus.stories.d.ts +17 -0
- package/dist/components/verifyStatus/index.d.ts +1 -0
- package/dist/index.cjs.js +72 -0
- package/dist/index.d.ts +1 -32
- package/dist/index.es.js +8701 -0
- package/dist/utils/dynamicClasses/dynamicClasses.d.ts +15 -0
- package/dist/utils/hsbToRgb/hsbToRgb.d.ts +59 -0
- package/dist/utils/types/types.d.ts +176 -0
- package/package.json +47 -73
- package/dist/assets/icons/SortingIcon/SortingIcon.d.ts +0 -3
- package/dist/assets/icons/SortingIcon/SortingIcon.js +0 -2
- package/dist/assets/icons/SortingIcon/SortingIcon.js.map +0 -1
- package/dist/assets/icons/SortingIcon/index.d.ts +0 -1
- package/dist/assets/icons/checkCircle/CheckCircle.d.ts +0 -3
- package/dist/assets/icons/checkCircle/CheckCircle.js +0 -2
- package/dist/assets/icons/checkCircle/CheckCircle.js.map +0 -1
- package/dist/assets/icons/checkCircle/index.d.ts +0 -1
- package/dist/assets/icons/cross/CrossIcon.d.ts +0 -3
- package/dist/assets/icons/cross/CrossIcon.js +0 -2
- package/dist/assets/icons/cross/CrossIcon.js.map +0 -1
- package/dist/assets/icons/cross/index.d.ts +0 -1
- package/dist/assets/icons/crossLine/CrossLineIcon.d.ts +0 -3
- package/dist/assets/icons/crossLine/CrossLineIcon.js +0 -2
- package/dist/assets/icons/crossLine/CrossLineIcon.js.map +0 -1
- package/dist/assets/icons/crossLine/index.d.ts +0 -1
- package/dist/assets/icons/dotsIcon/DotsIcon.d.ts +0 -3
- package/dist/assets/icons/dotsIcon/DotsIcon.js +0 -2
- package/dist/assets/icons/dotsIcon/DotsIcon.js.map +0 -1
- package/dist/assets/icons/dotsIcon/index.d.ts +0 -1
- package/dist/assets/icons/downFillArrow/DownFillArrow.d.ts +0 -3
- package/dist/assets/icons/downFillArrow/DownFillArrow.js +0 -2
- package/dist/assets/icons/downFillArrow/DownFillArrow.js.map +0 -1
- package/dist/assets/icons/downFillArrow/index.d.ts +0 -1
- package/dist/assets/icons/error/ErrorIcon.d.ts +0 -3
- package/dist/assets/icons/error/ErrorIcon.js +0 -2
- package/dist/assets/icons/error/ErrorIcon.js.map +0 -1
- package/dist/assets/icons/error/index.d.ts +0 -1
- package/dist/assets/icons/eye/EyeIcon.d.ts +0 -4
- package/dist/assets/icons/eye/EyeIcon.js +0 -2
- package/dist/assets/icons/eye/EyeIcon.js.map +0 -1
- package/dist/assets/icons/eye/EyeIconTypes.d.ts +0 -3
- package/dist/assets/icons/eye/index.d.ts +0 -1
- package/dist/assets/icons/filterIcon/FilterIcon.d.ts +0 -3
- package/dist/assets/icons/filterIcon/index.d.ts +0 -1
- package/dist/assets/icons/gridViewIcon/GridViewIcon.d.ts +0 -3
- package/dist/assets/icons/gridViewIcon/GridViewIcon.js +0 -2
- package/dist/assets/icons/gridViewIcon/GridViewIcon.js.map +0 -1
- package/dist/assets/icons/gridViewIcon/index.d.ts +0 -1
- package/dist/assets/icons/iconPlusCircle/IconPlusCircle.d.ts +0 -3
- package/dist/assets/icons/iconPlusCircle/IconPlusCircle.js +0 -2
- package/dist/assets/icons/iconPlusCircle/IconPlusCircle.js.map +0 -1
- package/dist/assets/icons/iconPlusCircle/index.d.ts +0 -1
- package/dist/assets/icons/info/InfoIcon.d.ts +0 -3
- package/dist/assets/icons/info/InfoIcon.js +0 -2
- package/dist/assets/icons/info/InfoIcon.js.map +0 -1
- package/dist/assets/icons/info/index.d.ts +0 -1
- package/dist/assets/icons/key/KeyIcon.d.ts +0 -3
- package/dist/assets/icons/key/KeyIcon.js +0 -2
- package/dist/assets/icons/key/KeyIcon.js.map +0 -1
- package/dist/assets/icons/key/index.d.ts +0 -1
- package/dist/assets/icons/leftArrowIcon/LeftArrowIcon.d.ts +0 -3
- package/dist/assets/icons/leftArrowIcon/LeftArrowIcon.js +0 -2
- package/dist/assets/icons/leftArrowIcon/LeftArrowIcon.js.map +0 -1
- package/dist/assets/icons/leftArrowIcon/index.d.ts +0 -1
- package/dist/assets/icons/listViewIcon/ListViewIcon.d.ts +0 -3
- package/dist/assets/icons/listViewIcon/ListViewIcon.js +0 -2
- package/dist/assets/icons/listViewIcon/ListViewIcon.js.map +0 -1
- package/dist/assets/icons/listViewIcon/index.d.ts +0 -1
- package/dist/assets/icons/loaderCircleIcon/LoaderCircleIcon.d.ts +0 -3
- package/dist/assets/icons/loaderCircleIcon/index.d.ts +0 -1
- package/dist/assets/icons/notVerified/NotVerifiedIcon.d.ts +0 -3
- package/dist/assets/icons/notVerified/NotVerifiedIcon.js +0 -2
- package/dist/assets/icons/notVerified/NotVerifiedIcon.js.map +0 -1
- package/dist/assets/icons/notVerified/index.d.ts +0 -1
- package/dist/assets/icons/rightArrowIcon/RightArrowIcon.d.ts +0 -3
- package/dist/assets/icons/rightArrowIcon/RightArrowIcon.js +0 -2
- package/dist/assets/icons/rightArrowIcon/RightArrowIcon.js.map +0 -1
- package/dist/assets/icons/rightArrowIcon/index.d.ts +0 -1
- package/dist/assets/icons/search/SearchIcon.js +0 -2
- package/dist/assets/icons/search/SearchIcon.js.map +0 -1
- package/dist/assets/icons/search/index.d.ts +0 -1
- package/dist/assets/icons/uploadIcon/UploadIcon.d.ts +0 -3
- package/dist/assets/icons/uploadIcon/UploadIcon.js +0 -2
- package/dist/assets/icons/uploadIcon/UploadIcon.js.map +0 -1
- package/dist/assets/icons/uploadIcon/index.d.ts +0 -1
- package/dist/assets/icons/verified/VerifiedIcon.d.ts +0 -3
- package/dist/assets/icons/verified/VerifiedIcon.js +0 -2
- package/dist/assets/icons/verified/VerifiedIcon.js.map +0 -1
- package/dist/assets/icons/verified/index.d.ts +0 -1
- package/dist/assets/icons/warning/WarningIcon.d.ts +0 -3
- package/dist/assets/icons/warning/WarningIcon.js +0 -2
- package/dist/assets/icons/warning/WarningIcon.js.map +0 -1
- package/dist/assets/icons/warning/index.d.ts +0 -1
- package/dist/assets/images/avatar.png.js +0 -2
- package/dist/assets/images/avatar.png.js.map +0 -1
- package/dist/graphql/graphql.d.ts +0 -10
- package/dist/graphql/graphql.js +0 -2
- package/dist/graphql/graphql.js.map +0 -1
- package/dist/graphql/index.d.ts +0 -2
- package/dist/graphql/query.d.ts +0 -5
- package/dist/graphql/query.js +0 -40
- package/dist/graphql/query.js.map +0 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +0 -1
- package/dist/styles/style-inject/dist/style-inject.es.js +0 -2
- package/dist/styles/style-inject/dist/style-inject.es.js.map +0 -1
- package/dist/ui/badge/Badge.d.ts +0 -4
- package/dist/ui/badge/Badge.js +0 -2
- package/dist/ui/badge/Badge.js.map +0 -1
- package/dist/ui/badge/badge.module.scss.js +0 -2
- package/dist/ui/badge/badge.module.scss.js.map +0 -1
- package/dist/ui/badge/badgeModel.d.ts +0 -5
- package/dist/ui/badge/index.d.ts +0 -2
- package/dist/ui/banner/Banner.d.ts +0 -4
- package/dist/ui/banner/Banner.js +0 -2
- package/dist/ui/banner/Banner.js.map +0 -1
- package/dist/ui/banner/banner.module.scss.js +0 -2
- package/dist/ui/banner/banner.module.scss.js.map +0 -1
- package/dist/ui/banner/bannerModel.d.ts +0 -7
- package/dist/ui/banner/index.d.ts +0 -2
- package/dist/ui/button/Button.d.ts +0 -4
- package/dist/ui/button/Button.js +0 -2
- package/dist/ui/button/Button.js.map +0 -1
- package/dist/ui/button/button.module.scss.js +0 -2
- package/dist/ui/button/button.module.scss.js.map +0 -1
- package/dist/ui/button/buttonModel.d.ts +0 -16
- package/dist/ui/button/index.d.ts +0 -2
- package/dist/ui/card/Card.d.ts +0 -12
- package/dist/ui/card/Card.js +0 -2
- package/dist/ui/card/Card.js.map +0 -1
- package/dist/ui/card/card.module.scss.js +0 -2
- package/dist/ui/card/card.module.scss.js.map +0 -1
- package/dist/ui/card/cardBody/CardBody.d.ts +0 -4
- package/dist/ui/card/cardBody/CardBody.js +0 -2
- package/dist/ui/card/cardBody/CardBody.js.map +0 -1
- package/dist/ui/card/cardBody/cardBody.module.scss.js +0 -2
- package/dist/ui/card/cardBody/cardBody.module.scss.js.map +0 -1
- package/dist/ui/card/cardBody/cardBodyModel.d.ts +0 -9
- package/dist/ui/card/cardBody/index.d.ts +0 -1
- package/dist/ui/card/cardFooter/CardFooter.d.ts +0 -4
- package/dist/ui/card/cardFooter/CardFooter.js +0 -2
- package/dist/ui/card/cardFooter/CardFooter.js.map +0 -1
- package/dist/ui/card/cardFooter/cardFooter.module.scss.js +0 -2
- package/dist/ui/card/cardFooter/cardFooter.module.scss.js.map +0 -1
- package/dist/ui/card/cardFooter/cardFooterModel.d.ts +0 -9
- package/dist/ui/card/cardFooter/index.d.ts +0 -1
- package/dist/ui/card/cardHeader/CardHeader.d.ts +0 -4
- package/dist/ui/card/cardHeader/CardHeader.js +0 -2
- package/dist/ui/card/cardHeader/CardHeader.js.map +0 -1
- package/dist/ui/card/cardHeader/cardHeader.module.scss.js +0 -2
- package/dist/ui/card/cardHeader/cardHeader.module.scss.js.map +0 -1
- package/dist/ui/card/cardHeader/cardHeaderModel.d.ts +0 -9
- package/dist/ui/card/cardHeader/index.d.ts +0 -1
- package/dist/ui/card/cardModel.d.ts +0 -5
- package/dist/ui/card/index.d.ts +0 -4
- package/dist/ui/checkbox/Checkbox.d.ts +0 -4
- package/dist/ui/checkbox/Checkbox.js +0 -2
- package/dist/ui/checkbox/Checkbox.js.map +0 -1
- package/dist/ui/checkbox/checkbox.module.scss.js +0 -2
- package/dist/ui/checkbox/checkbox.module.scss.js.map +0 -1
- package/dist/ui/checkbox/checkboxModels.d.ts +0 -11
- package/dist/ui/checkbox/index.d.ts +0 -2
- package/dist/ui/colorPicker/ColorPicker.d.ts +0 -7
- package/dist/ui/colorPicker/ColorPicker.js +0 -2
- package/dist/ui/colorPicker/ColorPicker.js.map +0 -1
- package/dist/ui/colorPicker/color.css.js +0 -2
- package/dist/ui/colorPicker/color.css.js.map +0 -1
- package/dist/ui/colorPicker/colorPickerModel.d.ts +0 -16
- package/dist/ui/colorPicker/index.d.ts +0 -1
- package/dist/ui/dropzone/DropZone.d.ts +0 -4
- package/dist/ui/dropzone/DropZone.js +0 -2
- package/dist/ui/dropzone/DropZone.js.map +0 -1
- package/dist/ui/dropzone/dropZoneModel.d.ts +0 -10
- package/dist/ui/dropzone/dropzone.module.scss.js +0 -2
- package/dist/ui/dropzone/dropzone.module.scss.js.map +0 -1
- package/dist/ui/dropzone/index.d.ts +0 -2
- package/dist/ui/imageManager/ImageManager.d.ts +0 -5
- package/dist/ui/imageManager/ImageManager.js +0 -2
- package/dist/ui/imageManager/ImageManager.js.map +0 -1
- package/dist/ui/imageManager/imageCard/ImageCard.d.ts +0 -4
- package/dist/ui/imageManager/imageCard/ImageCard.js +0 -2
- package/dist/ui/imageManager/imageCard/ImageCard.js.map +0 -1
- package/dist/ui/imageManager/imageCard/imageCard.module.scss.js +0 -2
- package/dist/ui/imageManager/imageCard/imageCard.module.scss.js.map +0 -1
- package/dist/ui/imageManager/imageCard/imageModel.d.ts +0 -11
- package/dist/ui/imageManager/imageCard/index.d.ts +0 -1
- package/dist/ui/imageManager/imageManager.module.scss.js +0 -2
- package/dist/ui/imageManager/imageManager.module.scss.js.map +0 -1
- package/dist/ui/imageManager/imageManagerHeader/ImageManagerHeader.d.ts +0 -4
- package/dist/ui/imageManager/imageManagerHeader/ImageManagerHeader.js +0 -2
- package/dist/ui/imageManager/imageManagerHeader/ImageManagerHeader.js.map +0 -1
- package/dist/ui/imageManager/imageManagerHeader/imageManagerHeader.module.scss.js +0 -2
- package/dist/ui/imageManager/imageManagerHeader/imageManagerHeader.module.scss.js.map +0 -1
- package/dist/ui/imageManager/imageManagerHeader/imageManagerHeaderModel.d.ts +0 -11
- package/dist/ui/imageManager/imageManagerHeader/index.d.ts +0 -1
- package/dist/ui/imageManager/imageManagerModel.d.ts +0 -25
- package/dist/ui/imageManager/index.d.ts +0 -1
- package/dist/ui/imageManager/previewSlide/PreviewSlide.d.ts +0 -4
- package/dist/ui/imageManager/previewSlide/PreviewSlide.js +0 -2
- package/dist/ui/imageManager/previewSlide/PreviewSlide.js.map +0 -1
- package/dist/ui/imageManager/previewSlide/index.d.ts +0 -1
- package/dist/ui/imageManager/previewSlide/previewSlide.module.scss.js +0 -2
- package/dist/ui/imageManager/previewSlide/previewSlide.module.scss.js.map +0 -1
- package/dist/ui/imageManager/previewSlide/previewSlideModel.d.ts +0 -6
- package/dist/ui/imageViewer/ImageViewer.d.ts +0 -4
- package/dist/ui/imageViewer/ImageViewer.js +0 -2
- package/dist/ui/imageViewer/ImageViewer.js.map +0 -1
- package/dist/ui/imageViewer/imageViewer.module.scss.js +0 -2
- package/dist/ui/imageViewer/imageViewer.module.scss.js.map +0 -1
- package/dist/ui/imageViewer/imageViewerModels.d.ts +0 -9
- package/dist/ui/imageViewer/index.d.ts +0 -1
- package/dist/ui/input/Input.js +0 -2
- package/dist/ui/input/Input.js.map +0 -1
- package/dist/ui/input/index.d.ts +0 -2
- package/dist/ui/input/input.module.scss.js +0 -2
- package/dist/ui/input/input.module.scss.js.map +0 -1
- package/dist/ui/input/inputModel.d.ts +0 -35
- package/dist/ui/logo/Logo.d.ts +0 -4
- package/dist/ui/logo/Logo.js +0 -2
- package/dist/ui/logo/Logo.js.map +0 -1
- package/dist/ui/logo/index.d.ts +0 -2
- package/dist/ui/logo/logo.module.scss.js +0 -2
- package/dist/ui/logo/logo.module.scss.js.map +0 -1
- package/dist/ui/logo/logoModel.d.ts +0 -4
- package/dist/ui/modal/Modal.d.ts +0 -4
- package/dist/ui/modal/Modal.js +0 -2
- package/dist/ui/modal/Modal.js.map +0 -1
- package/dist/ui/modal/index.d.ts +0 -2
- package/dist/ui/modal/modal.module.scss.js +0 -2
- package/dist/ui/modal/modal.module.scss.js.map +0 -1
- package/dist/ui/modal/modalModel.d.ts +0 -14
- package/dist/ui/otp/OTP.d.ts +0 -4
- package/dist/ui/otp/OTP.js +0 -2
- package/dist/ui/otp/OTP.js.map +0 -1
- package/dist/ui/otp/OTPModel.d.ts +0 -28
- package/dist/ui/otp/index.d.ts +0 -2
- package/dist/ui/otp/otp.module.scss.js +0 -2
- package/dist/ui/otp/otp.module.scss.js.map +0 -1
- package/dist/ui/phone/Phone.d.ts +0 -5
- package/dist/ui/phone/Phone.js +0 -2
- package/dist/ui/phone/Phone.js.map +0 -1
- package/dist/ui/phone/index.d.ts +0 -2
- package/dist/ui/phone/phone.module.scss.js +0 -2
- package/dist/ui/phone/phone.module.scss.js.map +0 -1
- package/dist/ui/phone/phoneModel.d.ts +0 -41
- package/dist/ui/phone/phone_custom.scss.js +0 -2
- package/dist/ui/phone/phone_custom.scss.js.map +0 -1
- package/dist/ui/radio/Radio.d.ts +0 -4
- package/dist/ui/radio/Radio.js +0 -2
- package/dist/ui/radio/Radio.js.map +0 -1
- package/dist/ui/radio/index.d.ts +0 -1
- package/dist/ui/radio/radio.module.scss.js +0 -2
- package/dist/ui/radio/radio.module.scss.js.map +0 -1
- package/dist/ui/radio/radioModels.d.ts +0 -13
- package/dist/ui/select/Select.d.ts +0 -4
- package/dist/ui/select/Select.js +0 -2
- package/dist/ui/select/Select.js.map +0 -1
- package/dist/ui/select/index.d.ts +0 -2
- package/dist/ui/select/select.module.scss.js +0 -2
- package/dist/ui/select/select.module.scss.js.map +0 -1
- package/dist/ui/select/selectModel.d.ts +0 -22
- package/dist/ui/selectCountry/SelectCountry.d.ts +0 -4
- package/dist/ui/selectCountry/SelectCountry.js +0 -2
- package/dist/ui/selectCountry/SelectCountry.js.map +0 -1
- package/dist/ui/selectCountry/index.d.ts +0 -1
- package/dist/ui/selectCountry/selectCountry.module.scss.js +0 -2
- package/dist/ui/selectCountry/selectCountry.module.scss.js.map +0 -1
- package/dist/ui/selectCountry/selectCountryModel.d.ts +0 -26
- package/dist/ui/selectLanguage/SelectLanguage.d.ts +0 -4
- package/dist/ui/selectLanguage/SelectLanguage.js +0 -2
- package/dist/ui/selectLanguage/SelectLanguage.js.map +0 -1
- package/dist/ui/selectLanguage/index.d.ts +0 -1
- package/dist/ui/selectLanguage/selectLanguage.module.scss.js +0 -2
- package/dist/ui/selectLanguage/selectLanguage.module.scss.js.map +0 -1
- package/dist/ui/selectLanguage/selectLanguageModel.d.ts +0 -27
- package/dist/ui/selectTimezone/SelectTimezone.d.ts +0 -4
- package/dist/ui/selectTimezone/SelectTimezone.js +0 -2
- package/dist/ui/selectTimezone/SelectTimezone.js.map +0 -1
- package/dist/ui/selectTimezone/SelectTimezoneType.d.ts +0 -26
- package/dist/ui/selectTimezone/index.d.ts +0 -1
- package/dist/ui/selectTimezone/selectTimezone.module.scss.js +0 -2
- package/dist/ui/selectTimezone/selectTimezone.module.scss.js.map +0 -1
- package/dist/ui/spinner/Spinner.d.ts +0 -4
- package/dist/ui/spinner/Spinner.js +0 -2
- package/dist/ui/spinner/Spinner.js.map +0 -1
- package/dist/ui/spinner/index.d.ts +0 -1
- package/dist/ui/spinner/spinner.module.scss.js +0 -2
- package/dist/ui/spinner/spinner.module.scss.js.map +0 -1
- package/dist/ui/spinner/spinnerModel.d.ts +0 -5
- package/dist/ui/table/Table.d.ts +0 -4
- package/dist/ui/table/Table.js +0 -2
- package/dist/ui/table/Table.js.map +0 -1
- package/dist/ui/table/index.d.ts +0 -1
- package/dist/ui/table/table.module.scss.js +0 -2
- package/dist/ui/table/table.module.scss.js.map +0 -1
- package/dist/ui/table/tableModel.d.ts +0 -12
- package/dist/ui/tabs/Tabs.d.ts +0 -4
- package/dist/ui/tabs/Tabs.js +0 -2
- package/dist/ui/tabs/Tabs.js.map +0 -1
- package/dist/ui/tabs/index.d.ts +0 -2
- package/dist/ui/tabs/tabs.module.scss.js +0 -2
- package/dist/ui/tabs/tabs.module.scss.js.map +0 -1
- package/dist/ui/tabs/tabsModel.d.ts +0 -9
- package/dist/ui/text/Text.d.ts +0 -4
- package/dist/ui/text/Text.js +0 -2
- package/dist/ui/text/Text.js.map +0 -1
- package/dist/ui/text/index.d.ts +0 -1
- package/dist/ui/text/text.module.scss.js +0 -2
- package/dist/ui/text/text.module.scss.js.map +0 -1
- package/dist/ui/text/textModel.d.ts +0 -15
- package/dist/ui/textarea/Textarea.d.ts +0 -4
- package/dist/ui/textarea/Textarea.js +0 -2
- package/dist/ui/textarea/Textarea.js.map +0 -1
- package/dist/ui/textarea/index.d.ts +0 -2
- package/dist/ui/textarea/textarea.module.scss.js +0 -2
- package/dist/ui/textarea/textarea.module.scss.js.map +0 -1
- package/dist/ui/textarea/textareaModel.d.ts +0 -29
- package/dist/ui/userAvatar/UserAvatar.d.ts +0 -4
- package/dist/ui/userAvatar/UserAvatar.js +0 -2
- package/dist/ui/userAvatar/UserAvatar.js.map +0 -1
- package/dist/ui/userAvatar/index.d.ts +0 -1
- package/dist/ui/userAvatar/userAvatar.module.scss.js +0 -2
- package/dist/ui/userAvatar/userAvatar.module.scss.js.map +0 -1
- package/dist/ui/userAvatar/userAvatarModel.d.ts +0 -5
- package/dist/ui/verifiedBadge/VerifiedBadge.d.ts +0 -4
- package/dist/ui/verifiedBadge/VerifiedBadge.js +0 -2
- package/dist/ui/verifiedBadge/VerifiedBadge.js.map +0 -1
- package/dist/ui/verifiedBadge/VerifiedPropsTypes.d.ts +0 -3
- package/dist/ui/verifiedBadge/index.d.ts +0 -1
- package/dist/ui/verifiedBadge/verifiedBadge.module.scss.js +0 -2
- package/dist/ui/verifiedBadge/verifiedBadge.module.scss.js.map +0 -1
- package/dist/utils/classNames.d.ts +0 -10
- package/dist/utils/classNames.js +0 -2
- package/dist/utils/classNames.js.map +0 -1
- package/dist/utils/index.d.ts +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Page } from './Page';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Page.props').PageProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {};
|
|
11
|
+
args: {
|
|
12
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
type Story = StoryObj<typeof Page>;
|
|
17
|
+
export declare const PageDefault: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Page } from './Page';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type Sizes = "sm" | "md" | "lg";
|
|
2
|
+
export interface PaginationProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
count: number;
|
|
4
|
+
limit: number;
|
|
5
|
+
skip: number;
|
|
6
|
+
size?: {
|
|
7
|
+
sm?: Sizes;
|
|
8
|
+
md?: Sizes;
|
|
9
|
+
lg?: Sizes;
|
|
10
|
+
} | Sizes;
|
|
11
|
+
onPageChange?: (value: number) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const Pagination: import('react').ForwardRefExoticComponent<PaginationProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export default Pagination;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Pagination } from './Pagination';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Pagination').PaginationProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
size: {
|
|
12
|
+
options: string[];
|
|
13
|
+
control: {
|
|
14
|
+
type: "select";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
args: {
|
|
19
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default meta;
|
|
23
|
+
type Story = StoryObj<typeof Pagination>;
|
|
24
|
+
export declare const Default: Story;
|
|
25
|
+
export declare const PaginationSm: Story;
|
|
26
|
+
export declare const PaginationMd: Story;
|
|
27
|
+
export declare const PaginationLg: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Pagination } from './Pagination';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { FocusEvent } from 'react';
|
|
2
|
+
export type ErrorType = {
|
|
3
|
+
status: boolean;
|
|
4
|
+
message: string;
|
|
5
|
+
};
|
|
6
|
+
export type PhoneType = {
|
|
7
|
+
_id: string;
|
|
8
|
+
dialing_code: string;
|
|
9
|
+
format: string;
|
|
10
|
+
};
|
|
11
|
+
export type SelectCountryType = {
|
|
12
|
+
_id: string;
|
|
13
|
+
flag_icon: string;
|
|
14
|
+
name: string;
|
|
15
|
+
phone: PhoneType;
|
|
16
|
+
country: string;
|
|
17
|
+
};
|
|
18
|
+
export type ValueType = {
|
|
19
|
+
phone: string;
|
|
20
|
+
country: string;
|
|
21
|
+
};
|
|
22
|
+
export type PhoneSchema = {
|
|
23
|
+
_id: string;
|
|
24
|
+
dialing_code: string;
|
|
25
|
+
format: string;
|
|
26
|
+
};
|
|
27
|
+
export type CountrySchema = {
|
|
28
|
+
_id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
flag: string;
|
|
31
|
+
phone: PhoneSchema;
|
|
32
|
+
};
|
|
33
|
+
export type Sizes = "xs" | "sm" | "md" | "lg";
|
|
34
|
+
export interface PhoneProps extends Omit<React.ComponentProps<"input">, "size" | "value" | "onChange"> {
|
|
35
|
+
size?: {
|
|
36
|
+
xs?: Sizes;
|
|
37
|
+
sm?: Sizes;
|
|
38
|
+
md?: Sizes;
|
|
39
|
+
lg?: Sizes;
|
|
40
|
+
} | Sizes;
|
|
41
|
+
label?: React.ReactNode | string;
|
|
42
|
+
helpText?: string;
|
|
43
|
+
error?: ErrorType;
|
|
44
|
+
flagPosition?: "left" | "right";
|
|
45
|
+
dropdown?: boolean;
|
|
46
|
+
value?: ValueType;
|
|
47
|
+
countries: CountrySchema[];
|
|
48
|
+
loading?: boolean;
|
|
49
|
+
onChange?: (data: {
|
|
50
|
+
phone: string;
|
|
51
|
+
country: string;
|
|
52
|
+
}) => void;
|
|
53
|
+
onValid?: (is_valid: boolean) => void;
|
|
54
|
+
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
55
|
+
onFocus?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
56
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Phone } from './Phone';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('./Phone.Props').PhoneProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
label: {
|
|
12
|
+
control: "text";
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
options: string[];
|
|
16
|
+
control: {
|
|
17
|
+
type: "select";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
args: {
|
|
22
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default meta;
|
|
26
|
+
type Story = StoryObj<typeof Phone>;
|
|
27
|
+
export declare const Default: Story;
|
|
28
|
+
export declare const Loading: Story;
|
|
29
|
+
export declare const HelpMessage: Story;
|
|
30
|
+
export declare const ErrorMessage: Story;
|
|
31
|
+
export declare const PhoneDisabled: Story;
|
|
32
|
+
export declare const PhoneReadOnly: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Phone } from './Phone';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Placement } from '../../utils/types/types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export type AlignPopover = "start" | "end";
|
|
4
|
+
export interface PopoverProps extends React.ComponentProps<'div'> {
|
|
5
|
+
activator?: React.ReactNode;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
popoverBtnClass?: string;
|
|
8
|
+
placement?: Placement;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
align?: AlignPopover;
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Popover } from './Popover';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('./Popover.props').PopoverProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {};
|
|
11
|
+
args: {
|
|
12
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
type Story = StoryObj<typeof Popover>;
|
|
17
|
+
export declare const Default: Story;
|
|
18
|
+
export declare const Top: Story;
|
|
19
|
+
export declare const Bottom: Story;
|
|
20
|
+
export declare const Left: Story;
|
|
21
|
+
export declare const Right: Story;
|
|
22
|
+
export declare const EndeEdge: Story;
|
|
23
|
+
export declare const StartEdge: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Popover } from './Popover';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type Size = "xs" | "sm";
|
|
3
|
+
export interface ProgressBarProps extends React.ComponentProps<'div'> {
|
|
4
|
+
size?: {
|
|
5
|
+
xs?: Size;
|
|
6
|
+
sm?: Size;
|
|
7
|
+
md?: Size;
|
|
8
|
+
lg?: Size;
|
|
9
|
+
} | Size;
|
|
10
|
+
message?: React.ReactNode;
|
|
11
|
+
accept?: string;
|
|
12
|
+
reject?: string;
|
|
13
|
+
wrapperClass?: string;
|
|
14
|
+
progressbarClass?: string;
|
|
15
|
+
acceptClass?: string;
|
|
16
|
+
rejectClass?: string;
|
|
17
|
+
}
|
|
18
|
+
declare const ProgressBar: React.ForwardRefExoticComponent<Omit<ProgressBarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export default ProgressBar;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as ProgressBar } from './ProgressBar';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('./ProgressBar').ProgressBarProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
size: {
|
|
12
|
+
options: string[];
|
|
13
|
+
control: {
|
|
14
|
+
type: "select";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
args: {
|
|
19
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default meta;
|
|
23
|
+
type Story = StoryObj<typeof ProgressBar>;
|
|
24
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProgressBar } from './ProgressBar';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
import { ColorProps } from '../../utils/types/types';
|
|
3
|
+
export interface Props extends InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
label?: React.ReactNode | string;
|
|
5
|
+
labelPosition?: "top" | "center";
|
|
6
|
+
name?: string;
|
|
7
|
+
variant?: ColorProps;
|
|
8
|
+
id?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const Radio: import('react').ForwardRefExoticComponent<Props & import('react').RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export default Radio;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Radio } from './Radio';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Radio').Props & import('react').RefAttributes<HTMLInputElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {};
|
|
11
|
+
args: {
|
|
12
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
type Story = StoryObj<typeof Radio>;
|
|
17
|
+
export declare const Primary: Story;
|
|
18
|
+
export declare const Secondary: Story;
|
|
19
|
+
export declare const Tertiary: Story;
|
|
20
|
+
export declare const Success: Story;
|
|
21
|
+
export declare const Info: Story;
|
|
22
|
+
export declare const Danger: Story;
|
|
23
|
+
export declare const White: Story;
|
|
24
|
+
export declare const Blue: Story;
|
|
25
|
+
export declare const Disabled: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Radio } from './Radio';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface RangeProps extends React.ComponentProps<'input'> {
|
|
3
|
+
label?: string;
|
|
4
|
+
value?: number;
|
|
5
|
+
min?: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
step?: number;
|
|
8
|
+
isInputField?: boolean;
|
|
9
|
+
suffix?: string;
|
|
10
|
+
inputFieldPosition?: "start" | "end";
|
|
11
|
+
rangeBar?: "solid" | "dashed";
|
|
12
|
+
onOk?: (value: number) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const Range: React.ForwardRefExoticComponent<Omit<RangeProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
15
|
+
export default Range;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Range } from './Range';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('./Range').RangeProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
value: {
|
|
12
|
+
control: "number";
|
|
13
|
+
};
|
|
14
|
+
min: {
|
|
15
|
+
control: "number";
|
|
16
|
+
};
|
|
17
|
+
max: {
|
|
18
|
+
control: "number";
|
|
19
|
+
};
|
|
20
|
+
step: {
|
|
21
|
+
control: "number";
|
|
22
|
+
};
|
|
23
|
+
suffix: {
|
|
24
|
+
control: "text";
|
|
25
|
+
};
|
|
26
|
+
isInputField: {
|
|
27
|
+
control: "boolean";
|
|
28
|
+
};
|
|
29
|
+
inputFieldPosition: {
|
|
30
|
+
control: "select";
|
|
31
|
+
options: string[];
|
|
32
|
+
};
|
|
33
|
+
onOk: {
|
|
34
|
+
action: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
args: {
|
|
38
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export default meta;
|
|
42
|
+
type Story = StoryObj<typeof Range>;
|
|
43
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Range } from './Range';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface ResourceItemProps extends React.ComponentProps<"div"> {
|
|
3
|
+
src?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const ResourceItem: React.ForwardRefExoticComponent<Omit<ResourceItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export default ResourceItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ResourceItem } from './ResourceItem';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SelectProps } from './Select.props';
|
|
2
|
+
/*************************
|
|
3
|
+
* Main Component
|
|
4
|
+
*************************/
|
|
5
|
+
declare const Select: import('react').ForwardRefExoticComponent<SelectProps & import('react').RefAttributes<HTMLSelectElement>>;
|
|
6
|
+
export default Select;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*************************
|
|
2
|
+
* Type definition
|
|
3
|
+
*************************/
|
|
4
|
+
type ErrorType = {
|
|
5
|
+
status: boolean;
|
|
6
|
+
message: string;
|
|
7
|
+
};
|
|
8
|
+
type Options = {
|
|
9
|
+
value: string;
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
12
|
+
export type Sizes = "xs" | "sm" | "md" | "lg";
|
|
13
|
+
/*************************
|
|
14
|
+
* Component props
|
|
15
|
+
*************************/
|
|
16
|
+
export interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "size" | "onSelect"> {
|
|
17
|
+
size?: {
|
|
18
|
+
xs?: Sizes;
|
|
19
|
+
sm?: Sizes;
|
|
20
|
+
md?: Sizes;
|
|
21
|
+
lg?: Sizes;
|
|
22
|
+
} | Sizes;
|
|
23
|
+
name?: string;
|
|
24
|
+
label?: React.ReactNode | string;
|
|
25
|
+
labelAction?: React.ReactNode | string;
|
|
26
|
+
helpText?: string;
|
|
27
|
+
error?: ErrorType;
|
|
28
|
+
value?: string;
|
|
29
|
+
options: Options[];
|
|
30
|
+
onSelect?: (value: string) => void;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Select } from './Select';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Select.props').SelectProps & import('react').RefAttributes<HTMLSelectElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
label: {
|
|
12
|
+
control: "text";
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
options: string[];
|
|
16
|
+
control: {
|
|
17
|
+
type: "select";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
args: {
|
|
22
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default meta;
|
|
26
|
+
type Story = StoryObj<typeof Select>;
|
|
27
|
+
export declare const Default: Story;
|
|
28
|
+
export declare const Error: Story;
|
|
29
|
+
export declare const Disabled: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Select } from './Select';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as SkeletonBodyText } from './SkeletonBodyText';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./SkeletonBodyText').SkeletonProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
size: {
|
|
12
|
+
options: string[];
|
|
13
|
+
control: {
|
|
14
|
+
type: "select";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
args: {
|
|
19
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default meta;
|
|
23
|
+
type Story = StoryObj<typeof SkeletonBodyText>;
|
|
24
|
+
export declare const SkeletonBodyTextDefault: Story;
|
|
25
|
+
export declare const SkeletonBodyTextXs: Story;
|
|
26
|
+
export declare const SkeletonBodyTextSm: Story;
|
|
27
|
+
export declare const SkeletonBodyTextMd: Story;
|
|
28
|
+
export declare const SkeletonBodyTextLg: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type Sizes = "xs" | "sm" | "md" | "lg";
|
|
2
|
+
export interface SkeletonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "color"> {
|
|
3
|
+
line?: number;
|
|
4
|
+
size?: {
|
|
5
|
+
xs?: Sizes;
|
|
6
|
+
sm?: Sizes;
|
|
7
|
+
md?: Sizes;
|
|
8
|
+
lg?: Sizes;
|
|
9
|
+
} | Sizes;
|
|
10
|
+
color?: "black" | "white" | "gray";
|
|
11
|
+
}
|
|
12
|
+
declare const SkeletonBodyText: import('react').ForwardRefExoticComponent<SkeletonProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export default SkeletonBodyText;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SkeletonBodyText } from './SkeletonBodyText';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type Sizes = 'xs' | 'sm' | 'md' | 'lg';
|
|
2
|
+
export interface SkeletonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "color"> {
|
|
3
|
+
line?: number;
|
|
4
|
+
size?: {
|
|
5
|
+
xs?: Sizes;
|
|
6
|
+
sm?: Sizes;
|
|
7
|
+
md?: Sizes;
|
|
8
|
+
lg?: Sizes;
|
|
9
|
+
} | Sizes;
|
|
10
|
+
color?: "black" | "white" | "gray";
|
|
11
|
+
}
|
|
12
|
+
declare const SkeletonDisplayText: import('react').ForwardRefExoticComponent<SkeletonProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export default SkeletonDisplayText;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as SkeletonDisplayText } from './SkeletonDisplayText';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./SkeletonDisplayText').SkeletonProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
size: {
|
|
12
|
+
options: string[];
|
|
13
|
+
control: {
|
|
14
|
+
type: "select";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
args: {
|
|
19
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default meta;
|
|
23
|
+
type Story = StoryObj<typeof SkeletonDisplayText>;
|
|
24
|
+
export declare const SkeletonDisplayTextDefault: Story;
|
|
25
|
+
export declare const SkeletonDisplayTextXs: Story;
|
|
26
|
+
export declare const SkeletonDisplayTextSm: Story;
|
|
27
|
+
export declare const SkeletonDisplayTextMd: Story;
|
|
28
|
+
export declare const SkeletonDisplayTextLg: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SkeletonDisplayText } from './SkeletonDisplayText';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type Sizes = "xs" | "sm" | "md" | "lg" | "auto";
|
|
2
|
+
export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
size?: Sizes | {
|
|
4
|
+
xs?: Sizes;
|
|
5
|
+
sm?: Sizes;
|
|
6
|
+
md?: Sizes;
|
|
7
|
+
lg?: Sizes;
|
|
8
|
+
auto?: Sizes;
|
|
9
|
+
};
|
|
10
|
+
color?: "black" | "white" | "gray";
|
|
11
|
+
}
|
|
12
|
+
declare const SkeletonThumbnail: import('react').ForwardRefExoticComponent<SkeletonProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export default SkeletonThumbnail;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as SkeletonThumbnail } from './SkeletonThumbnail';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./SkeletonThumbnail').SkeletonProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
size: {
|
|
12
|
+
options: string[];
|
|
13
|
+
control: {
|
|
14
|
+
type: "select";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
args: {
|
|
19
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default meta;
|
|
23
|
+
type Story = StoryObj<typeof SkeletonThumbnail>;
|
|
24
|
+
export declare const SkeletonThumbnailDefault: Story;
|
|
25
|
+
export declare const SkeletonThumbnailXs: Story;
|
|
26
|
+
export declare const SkeletonThumbnailSm: Story;
|
|
27
|
+
export declare const SkeletonThumbnailMd: Story;
|
|
28
|
+
export declare const SkeletonThumbnailLg: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SkeletonThumbnail } from './SkeletonThumbnail';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ResponsiveBackgroundColorProps } from '../../utils/types/types';
|
|
2
|
+
export interface SnackBarAction {
|
|
3
|
+
content: string;
|
|
4
|
+
onAction: () => void;
|
|
5
|
+
}
|
|
6
|
+
export interface SnackBarProps {
|
|
7
|
+
id: string;
|
|
8
|
+
content?: React.ReactNode;
|
|
9
|
+
action?: SnackBarAction;
|
|
10
|
+
duration?: number;
|
|
11
|
+
background?: ResponsiveBackgroundColorProps;
|
|
12
|
+
onClick?: () => void;
|
|
13
|
+
}
|
|
14
|
+
export interface SnackBarContextType {
|
|
15
|
+
showSnackbar: (toast: Omit<SnackBarProps, "id">) => void;
|
|
16
|
+
removeSnackbar: (id: string) => void;
|
|
17
|
+
snackbar: SnackBarProps[];
|
|
18
|
+
snackbarPosition?: "bottom-left" | "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right";
|
|
19
|
+
defaultProps?: Partial<Omit<SnackBarProps, "id">>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as SnackBar } from './SnackBar';
|
|
3
|
+
declare const meta: Meta<typeof SnackBar>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SnackBar>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const FullFeatured: Story;
|