@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,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as ExceptionList } from './ExceptionList';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('./ExceptionList').ExceptionListProps, "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 ExceptionList>;
|
|
17
|
+
export declare const Success: Story;
|
|
18
|
+
export declare const Danger: Story;
|
|
19
|
+
export declare const Warning: Story;
|
|
20
|
+
export declare const Children: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ExceptionList } from './ExceptionList';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ColProps, GridProps } from './Grid.props';
|
|
2
|
+
/*************************
|
|
3
|
+
* Column component
|
|
4
|
+
*************************/
|
|
5
|
+
declare const Col: import('react').ForwardRefExoticComponent<Omit<ColProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
/*************************
|
|
7
|
+
* Grid component
|
|
8
|
+
*************************/
|
|
9
|
+
declare const GridBase: import('react').ForwardRefExoticComponent<Omit<GridProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
|
+
/*************************
|
|
11
|
+
* Type: extend Grid with Col
|
|
12
|
+
*************************/
|
|
13
|
+
type GridComponent = typeof GridBase & {
|
|
14
|
+
Col: typeof Col;
|
|
15
|
+
};
|
|
16
|
+
/*************************
|
|
17
|
+
* Attach Col to Grid
|
|
18
|
+
*************************/
|
|
19
|
+
declare const Grid: GridComponent;
|
|
20
|
+
export default Grid;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { OrderProps, ResponsiveAlignContentProps, ResponsiveAlignItemsProps, ResponsiveColAuto, ResponsiveColSpan, ResponsiveColSpanEnd, ResponsiveColSpanFull, ResponsiveColSpanStart, ResponsiveColsProps, ResponsiveGapProps, ResponsiveGapXProps, ResponsiveGapYProps, ResponsiveJustifyContentProps, ResponsiveJustifyItemsProps, ResponsiveJustifySelfProps, ResponsiveOrderProps, ResponsiveRowSpan, ResponsiveRowSpanAuto, ResponsiveRowSpanEnd, ResponsiveRowSpanFull, ResponsiveRowSpanStart, ResponsiveRowsProps } from '../../utils/types/types';
|
|
2
|
+
/*************************
|
|
3
|
+
* Grid Props
|
|
4
|
+
*************************/
|
|
5
|
+
export interface GridProps extends React.ComponentProps<"div"> {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
cols?: ResponsiveColsProps;
|
|
8
|
+
rows?: ResponsiveRowsProps;
|
|
9
|
+
gap?: ResponsiveGapProps;
|
|
10
|
+
gapX?: ResponsiveGapXProps;
|
|
11
|
+
gapY?: ResponsiveGapYProps;
|
|
12
|
+
justifyContent?: ResponsiveJustifyContentProps;
|
|
13
|
+
alignItems?: ResponsiveAlignItemsProps;
|
|
14
|
+
justifyItems?: ResponsiveJustifyItemsProps;
|
|
15
|
+
justifySelf?: ResponsiveJustifySelfProps;
|
|
16
|
+
alignContent?: ResponsiveAlignContentProps;
|
|
17
|
+
}
|
|
18
|
+
/*************************
|
|
19
|
+
* Col Props
|
|
20
|
+
*************************/
|
|
21
|
+
export interface ColProps extends React.ComponentProps<"div"> {
|
|
22
|
+
children?: React.ReactNode;
|
|
23
|
+
order?: ResponsiveOrderProps | OrderProps;
|
|
24
|
+
alignContent?: ResponsiveAlignContentProps;
|
|
25
|
+
colSpanFull?: ResponsiveColSpanFull;
|
|
26
|
+
colAuto?: ResponsiveColAuto;
|
|
27
|
+
colStart?: ResponsiveColSpanStart;
|
|
28
|
+
colEnd?: ResponsiveColSpanEnd;
|
|
29
|
+
colSpan?: ResponsiveColSpan;
|
|
30
|
+
rowSpanFull?: ResponsiveRowSpanFull;
|
|
31
|
+
rowAuto?: ResponsiveRowSpanAuto;
|
|
32
|
+
rowSpan?: ResponsiveRowSpan;
|
|
33
|
+
rowStart?: ResponsiveRowSpanStart;
|
|
34
|
+
rowEnd?: ResponsiveRowSpanEnd;
|
|
35
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Grid } from './Grid';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('./Grid.props').GridProps, "ref"> & import('react').RefAttributes<HTMLDivElement>> & {
|
|
6
|
+
Col: import('react').ForwardRefExoticComponent<Omit<import('./Grid.props').ColProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
7
|
+
};
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
};
|
|
11
|
+
tags: string[];
|
|
12
|
+
argTypes: {};
|
|
13
|
+
args: {
|
|
14
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof Grid>;
|
|
19
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Grid } from './Grid';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ResponsiveRadiusSideProps } from '../../utils/types/types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
type Sizes = "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
4
|
+
interface ImageProps extends React.ComponentProps<'img'> {
|
|
5
|
+
url?: string;
|
|
6
|
+
altText?: string;
|
|
7
|
+
width?: string;
|
|
8
|
+
height?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
objectFit?: 'fill' | 'contain' | 'cover' | 'scale-down' | 'inherit' | 'initial' | 'revert' | 'revert-layer' | 'unset';
|
|
11
|
+
size?: {
|
|
12
|
+
xs: Sizes;
|
|
13
|
+
sm?: Sizes;
|
|
14
|
+
md?: Sizes;
|
|
15
|
+
lg?: Sizes;
|
|
16
|
+
} | Sizes;
|
|
17
|
+
radius?: ResponsiveRadiusSideProps;
|
|
18
|
+
isImageScaling?: boolean;
|
|
19
|
+
onClick?: () => void;
|
|
20
|
+
}
|
|
21
|
+
declare const Image: React.ForwardRefExoticComponent<Omit<ImageProps, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
22
|
+
export default Image;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Image } from './Image';
|
|
3
|
+
declare const meta: Meta<any>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Image>;
|
|
6
|
+
export declare const XS: Story;
|
|
7
|
+
export declare const SM: Story;
|
|
8
|
+
export declare const MD: Story;
|
|
9
|
+
export declare const LG: Story;
|
|
10
|
+
export declare const XL: Story;
|
|
11
|
+
export declare const XXL: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Image } from './Image';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export { Accordion, AccordionGroup } from './accordion';
|
|
2
|
+
export { AnimatedBar } from './animatedBar';
|
|
3
|
+
export { Badge } from './badge';
|
|
4
|
+
export { Banner } from './banner';
|
|
5
|
+
export { BlockStack } from './blockStack';
|
|
6
|
+
export { Box } from './box';
|
|
7
|
+
export { Button } from './button';
|
|
8
|
+
export { ButtonGroup } from './buttonGroup';
|
|
9
|
+
export { AppError } from './appError';
|
|
10
|
+
export { Card } from './card';
|
|
11
|
+
export { Checkbox } from './checkbox';
|
|
12
|
+
export { ColorPicker } from './colorPicker';
|
|
13
|
+
export { CursorPagination } from './cursorPagination';
|
|
14
|
+
export { DatePicker } from './datePicker';
|
|
15
|
+
export { DemoColorPicker } from './demoColorPicker';
|
|
16
|
+
export { Divider } from './divider';
|
|
17
|
+
export { DropdownPagination } from './dropdownPagination';
|
|
18
|
+
export { EdgeBlurWrapper } from './edgeBlurWrapper';
|
|
19
|
+
export { EmptyState } from './emptyState';
|
|
20
|
+
export { ExceptionList } from './exceptionList';
|
|
21
|
+
export { Grid } from './grid';
|
|
22
|
+
export { Image } from './image';
|
|
23
|
+
export { InlineStack } from './inlineStack';
|
|
24
|
+
export { Input } from './input';
|
|
25
|
+
export { List } from './list';
|
|
26
|
+
export { Listbox } from './listBox';
|
|
27
|
+
export { Modal } from './modal';
|
|
28
|
+
export { OTP } from './otp';
|
|
29
|
+
export { Page } from './page';
|
|
30
|
+
export { Pagination } from './pagination';
|
|
31
|
+
export { Phone } from './phone';
|
|
32
|
+
export { Popover } from './popover';
|
|
33
|
+
export { ProgressBar } from './progressBar';
|
|
34
|
+
export { Radio } from './radio';
|
|
35
|
+
export { Range } from './range';
|
|
36
|
+
export { ResourceItem } from './resourceItem';
|
|
37
|
+
export { Select } from './select';
|
|
38
|
+
export { SkeletonBodyText } from './skeletonBodyText';
|
|
39
|
+
export { SkeletonDisplayText } from './skeletonDisplayText';
|
|
40
|
+
export { SkeletonThumbnail } from './skeletonThumbnail';
|
|
41
|
+
export { Snackbar, SnackBarProvider, useSnackbar } from './snackBar';
|
|
42
|
+
export { SoppiyaIcon } from './soppiyaIcon';
|
|
43
|
+
export { Spinner } from './spinner';
|
|
44
|
+
export { Switch } from './switch';
|
|
45
|
+
export { Tab } from './tab';
|
|
46
|
+
export { Table } from './table';
|
|
47
|
+
export { type Columns, type DataSource } from './table/Table.Props';
|
|
48
|
+
export { Tag } from './tag';
|
|
49
|
+
export { TagList } from './tagList';
|
|
50
|
+
export { Text } from './text';
|
|
51
|
+
export { Textarea } from './textarea';
|
|
52
|
+
export { TinyMce } from './tinyMce';
|
|
53
|
+
export { Tooltip } from './tooltip';
|
|
54
|
+
export { UserAvatar } from './userAvatar';
|
|
55
|
+
export { VerifyStatus } from './verifyStatus';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AllowedElementsProps, AxisOverflowProps, BorderStyleProps, BorderWidthProps, ColorProps, FlexDirectionProps, FlexWrapProps, OrderProps, PositionDirectionProps, PositionProps, RadiusProps, ResponsiveAlignContentProps, ResponsiveAlignItemsProps, ResponsiveBackgroundColorProps, ResponsiveBorderStyleProps, ResponsiveBorderWidthProps, ResponsiveColorProps, ResponsiveFlexDirectionProps, ResponsiveFlexWrapProps, ResponsiveGapProps, ResponsiveGapXProps, ResponsiveGapYProps, ResponsiveJustifyContentProps, ResponsiveJustifyItemsProps, ResponsiveJustifySelfProps, ResponsiveOrderProps, ResponsivePositionDirectionProps, ResponsivePositionProps, ResponsiveRadiusSideProps, ResponsiveShadowProps, ResponsiveSideProps, ShadowProps, SpaceProps } from '../../utils/types/types';
|
|
2
|
+
/*************************
|
|
3
|
+
* Component Props
|
|
4
|
+
*************************/
|
|
5
|
+
export interface InlineStackProps extends React.HTMLAttributes<HTMLElement> {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
as?: AllowedElementsProps;
|
|
8
|
+
background?: ResponsiveBackgroundColorProps | ColorProps;
|
|
9
|
+
shadow?: ResponsiveShadowProps | ShadowProps;
|
|
10
|
+
flexWrap?: ResponsiveFlexWrapProps | FlexWrapProps;
|
|
11
|
+
flexDirection?: ResponsiveFlexDirectionProps | FlexDirectionProps;
|
|
12
|
+
gap?: ResponsiveGapProps | SpaceProps;
|
|
13
|
+
gapX?: ResponsiveGapXProps | SpaceProps;
|
|
14
|
+
gapY?: ResponsiveGapYProps | SpaceProps;
|
|
15
|
+
justifyContent?: ResponsiveJustifyContentProps;
|
|
16
|
+
alignItems?: ResponsiveAlignItemsProps;
|
|
17
|
+
justifyItems?: ResponsiveJustifyItemsProps;
|
|
18
|
+
justifySelf?: ResponsiveJustifySelfProps;
|
|
19
|
+
alignContent?: ResponsiveAlignContentProps;
|
|
20
|
+
order?: ResponsiveOrderProps | OrderProps;
|
|
21
|
+
padding?: ResponsiveSideProps;
|
|
22
|
+
border?: boolean;
|
|
23
|
+
borderColor?: ResponsiveColorProps | ColorProps;
|
|
24
|
+
borderWidth?: ResponsiveBorderWidthProps | BorderWidthProps;
|
|
25
|
+
borderStyle?: ResponsiveBorderStyleProps | BorderStyleProps;
|
|
26
|
+
radius?: RadiusProps | ResponsiveRadiusSideProps;
|
|
27
|
+
overflow?: AxisOverflowProps;
|
|
28
|
+
position?: ResponsivePositionProps | PositionProps;
|
|
29
|
+
zIndex?: string;
|
|
30
|
+
left?: ResponsivePositionDirectionProps | PositionDirectionProps;
|
|
31
|
+
right?: ResponsivePositionDirectionProps | PositionDirectionProps;
|
|
32
|
+
top?: ResponsivePositionDirectionProps | PositionDirectionProps;
|
|
33
|
+
bottom?: ResponsivePositionDirectionProps | PositionDirectionProps;
|
|
34
|
+
stack?: "auto" | "full";
|
|
35
|
+
}
|
|
36
|
+
declare const InlineStack: import('react').ForwardRefExoticComponent<InlineStackProps & import('react').RefAttributes<HTMLElement>>;
|
|
37
|
+
export default InlineStack;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as InlineStack } from './InlineStack';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./InlineStack').InlineStackProps & import('react').RefAttributes<HTMLElement>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
flexDirection: {
|
|
12
|
+
options: string[];
|
|
13
|
+
control: {
|
|
14
|
+
type: "select";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
flexWrap: {
|
|
18
|
+
options: string[];
|
|
19
|
+
control: {
|
|
20
|
+
type: "select";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
args: {
|
|
25
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default meta;
|
|
29
|
+
type Story = StoryObj<typeof InlineStack>;
|
|
30
|
+
export declare const Default: Story;
|
|
31
|
+
export declare const JustifyCentered: Story;
|
|
32
|
+
export declare const SpaceBetween: Story;
|
|
33
|
+
export declare const SpaceAround: Story;
|
|
34
|
+
export declare const SpaceEvenly: Story;
|
|
35
|
+
export declare const JustifyContentEnd: Story;
|
|
36
|
+
export declare const JustifyContentStart: Story;
|
|
37
|
+
export declare const RowReverse: Story;
|
|
38
|
+
export declare const FlexWrap: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as InlineStack } from './InlineStack';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { InputProps } from
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { InputProps } from './Input.props';
|
|
3
3
|
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
4
4
|
export default Input;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*************************
|
|
2
|
+
* Type definition
|
|
3
|
+
*************************/
|
|
4
|
+
export type ErrorType = {
|
|
5
|
+
status: boolean;
|
|
6
|
+
message: string;
|
|
7
|
+
};
|
|
8
|
+
export type Sizes = "xs" | "sm" | "md" | "lg";
|
|
9
|
+
/*************************
|
|
10
|
+
* Omit native conflicting attributes
|
|
11
|
+
*************************/
|
|
12
|
+
export type NativeInputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "suffix">;
|
|
13
|
+
/*************************
|
|
14
|
+
* Component Props
|
|
15
|
+
*************************/
|
|
16
|
+
export interface InputProps extends NativeInputProps {
|
|
17
|
+
size?: {
|
|
18
|
+
xs?: Sizes;
|
|
19
|
+
sm?: Sizes;
|
|
20
|
+
md?: Sizes;
|
|
21
|
+
lg?: Sizes;
|
|
22
|
+
} | Sizes;
|
|
23
|
+
label?: React.ReactNode | string;
|
|
24
|
+
helpText?: string;
|
|
25
|
+
labelHidden?: boolean;
|
|
26
|
+
error?: ErrorType;
|
|
27
|
+
isLoading?: boolean;
|
|
28
|
+
labelAction?: React.ReactNode;
|
|
29
|
+
prefix?: React.ReactNode | string;
|
|
30
|
+
prefixSeparator?: boolean;
|
|
31
|
+
suffix?: React.ReactNode | string;
|
|
32
|
+
suffixSeparator?: boolean;
|
|
33
|
+
radius?: string;
|
|
34
|
+
hideArrow?: boolean;
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Input } from './Input';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Input.props').InputProps & 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 Input>;
|
|
27
|
+
export declare const Default: Story;
|
|
28
|
+
export declare const Password: Story;
|
|
29
|
+
export declare const Prefix: Story;
|
|
30
|
+
export declare const Suffix: Story;
|
|
31
|
+
export declare const Error: Story;
|
|
32
|
+
export declare const LabelAction: Story;
|
|
33
|
+
export declare const Search: Story;
|
|
34
|
+
export declare const Disabled: Story;
|
|
35
|
+
export declare const Readonly: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Input } from './Input';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DisplayProps, FlexDirectionProps, FlexWrapProps, ResponsiveAlignContentProps, ResponsiveAlignItemsProps, ResponsiveDisplayProps, ResponsiveFlexDirectionProps, ResponsiveFlexWrapProps, ResponsiveGapProps, ResponsiveGapXProps, ResponsiveGapYProps, ResponsiveJustifyContentProps, ResponsiveJustifyItemsProps, ResponsiveJustifySelfProps, ResponsiveSideProps, SpaceProps } from '../../utils/types/types';
|
|
2
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
3
|
+
type ListFC = ForwardRefExoticComponent<Omit<ListProps, "ref"> & RefAttributes<HTMLUListElement>> & {
|
|
4
|
+
Item: typeof ListItem;
|
|
5
|
+
};
|
|
6
|
+
export interface ListProps extends React.ComponentProps<"ul"> {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
type?: "bullet" | "number" | "extraTight" | "none";
|
|
9
|
+
display?: ResponsiveDisplayProps | DisplayProps;
|
|
10
|
+
flexWrap?: ResponsiveFlexWrapProps | FlexWrapProps;
|
|
11
|
+
flexDirection?: ResponsiveFlexDirectionProps | FlexDirectionProps;
|
|
12
|
+
gap?: ResponsiveGapProps | SpaceProps;
|
|
13
|
+
gapX?: ResponsiveGapXProps | SpaceProps;
|
|
14
|
+
gapY?: ResponsiveGapYProps | SpaceProps;
|
|
15
|
+
justifyContent?: ResponsiveJustifyContentProps;
|
|
16
|
+
alignItems?: ResponsiveAlignItemsProps;
|
|
17
|
+
justifyItems?: ResponsiveJustifyItemsProps;
|
|
18
|
+
justifySelf?: ResponsiveJustifySelfProps;
|
|
19
|
+
alignContent?: ResponsiveAlignContentProps;
|
|
20
|
+
padding?: ResponsiveSideProps;
|
|
21
|
+
}
|
|
22
|
+
declare const List: ListFC;
|
|
23
|
+
export interface ListItemProps extends React.ComponentProps<"li"> {
|
|
24
|
+
children?: React.ReactNode | string;
|
|
25
|
+
}
|
|
26
|
+
declare const ListItem: ForwardRefExoticComponent<Omit<ListItemProps, "ref"> & RefAttributes<HTMLLIElement>>;
|
|
27
|
+
export default List;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as List } from './List';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('./List').ListProps, "ref"> & import('react').RefAttributes<HTMLUListElement>> & {
|
|
6
|
+
Item: import('react').ForwardRefExoticComponent<Omit<import('./List').ListItemProps, "ref"> & import('react').RefAttributes<HTMLLIElement>>;
|
|
7
|
+
};
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
};
|
|
11
|
+
tags: string[];
|
|
12
|
+
argTypes: {};
|
|
13
|
+
args: {
|
|
14
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof List>;
|
|
19
|
+
export declare const Default: Story;
|
|
20
|
+
export declare const Bullet: Story;
|
|
21
|
+
export declare const Number: Story;
|
|
22
|
+
export declare const ExtraTight: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as List } from './List';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { RadiusProps, ResponsiveRadiusSideProps } from '../../utils/types/types';
|
|
2
|
+
import { ForwardRefExoticComponent, ReactNode, RefAttributes } from 'react';
|
|
3
|
+
type ListBoxFC = ForwardRefExoticComponent<Omit<ListBoxProps, "ref"> & RefAttributes<HTMLUListElement>> & {
|
|
4
|
+
Option: typeof Option;
|
|
5
|
+
};
|
|
6
|
+
export interface ListBoxProps extends React.ComponentProps<"ul"> {
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
type?: "default" | "withIcon" | "withSearch";
|
|
9
|
+
headerContent?: ReactNode;
|
|
10
|
+
listBoxClass?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const ListBox: ListBoxFC;
|
|
13
|
+
type Sizes = "xs" | "sm" | "md" | "lg";
|
|
14
|
+
export interface OptionProps extends React.ComponentProps<"li"> {
|
|
15
|
+
size?: {
|
|
16
|
+
xs: Sizes;
|
|
17
|
+
sm?: Sizes;
|
|
18
|
+
md?: Sizes;
|
|
19
|
+
lg?: Sizes;
|
|
20
|
+
} | Sizes;
|
|
21
|
+
children?: ReactNode | string;
|
|
22
|
+
isActive?: boolean;
|
|
23
|
+
radius?: ResponsiveRadiusSideProps | RadiusProps;
|
|
24
|
+
separator?: boolean;
|
|
25
|
+
}
|
|
26
|
+
declare const Option: ForwardRefExoticComponent<Omit<OptionProps, "ref"> & RefAttributes<HTMLLIElement>>;
|
|
27
|
+
export default ListBox;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Listbox } from './Listbox';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('./Listbox').ListBoxProps, "ref"> & import('react').RefAttributes<HTMLUListElement>> & {
|
|
6
|
+
Option: import('react').ForwardRefExoticComponent<Omit<import('./Listbox').OptionProps, "ref"> & import('react').RefAttributes<HTMLLIElement>>;
|
|
7
|
+
};
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
};
|
|
11
|
+
tags: string[];
|
|
12
|
+
argTypes: {};
|
|
13
|
+
args: {
|
|
14
|
+
onClick: import('storybook/internal/test').Mock<(...args: any[]) => any>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof Listbox>;
|
|
19
|
+
export declare const Default: Story;
|
|
20
|
+
export declare const Separator: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Listbox } from './Listbox';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ColorProps, ResponsiveBackgroundProps, ResponsiveSideProps } from '../../utils/types/types';
|
|
2
|
+
type Sizes = "sm" | "md" | "lg";
|
|
3
|
+
type Color = "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "white" | "blue";
|
|
4
|
+
type Variant = "solid" | "outline" | "fill" | "plain" | "link";
|
|
5
|
+
type PrimaryActionProps = {
|
|
6
|
+
content: React.ReactNode;
|
|
7
|
+
variation?: Variant;
|
|
8
|
+
color?: Color;
|
|
9
|
+
size?: Sizes;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
onAction?: () => void;
|
|
13
|
+
};
|
|
14
|
+
type SecondaryActionProps = {
|
|
15
|
+
content: React.ReactNode;
|
|
16
|
+
variation?: Variant;
|
|
17
|
+
color?: Color;
|
|
18
|
+
size?: Sizes;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
loading?: boolean;
|
|
21
|
+
onAction?: () => void;
|
|
22
|
+
};
|
|
23
|
+
export interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
activator?: React.ReactNode;
|
|
26
|
+
title?: React.ReactNode | string;
|
|
27
|
+
primaryAction?: PrimaryActionProps;
|
|
28
|
+
secondaryAction?: SecondaryActionProps;
|
|
29
|
+
buttons?: React.ReactNode;
|
|
30
|
+
open?: boolean;
|
|
31
|
+
headerBg?: ResponsiveBackgroundProps | ColorProps;
|
|
32
|
+
bodyBg?: ResponsiveBackgroundProps | ColorProps;
|
|
33
|
+
footerBg?: ResponsiveBackgroundProps | ColorProps;
|
|
34
|
+
headerPadding?: ResponsiveSideProps;
|
|
35
|
+
bodyPadding?: ResponsiveSideProps;
|
|
36
|
+
footerPadding?: ResponsiveSideProps;
|
|
37
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "full";
|
|
38
|
+
scroll?: boolean;
|
|
39
|
+
headerClass?: string;
|
|
40
|
+
bodyClass?: string;
|
|
41
|
+
footerClass?: string;
|
|
42
|
+
onClose?: () => void;
|
|
43
|
+
}
|
|
44
|
+
declare const Modal: import('react').ForwardRefExoticComponent<ModalProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
45
|
+
export default Modal;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Modal } from './Modal';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('./Modal').ModalProps & 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 Modal>;
|
|
17
|
+
export declare const Default: Story;
|
|
18
|
+
export declare const ModalWithBg: Story;
|
|
19
|
+
export declare const FullWidth: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Modal } from './Modal';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as React, FocusEvent } from 'react';
|
|
2
|
+
export type ErrorType = {
|
|
3
|
+
status: boolean;
|
|
4
|
+
message: string;
|
|
5
|
+
};
|
|
6
|
+
export type Sizes = "xs" | "sm" | "md" | "lg";
|
|
7
|
+
export interface OTPProps extends Omit<React.ComponentProps<'input'>, "size"> {
|
|
8
|
+
size?: {
|
|
9
|
+
xs?: Sizes;
|
|
10
|
+
sm?: Sizes;
|
|
11
|
+
md?: Sizes;
|
|
12
|
+
lg?: Sizes;
|
|
13
|
+
} | Sizes;
|
|
14
|
+
label?: string;
|
|
15
|
+
helpText?: string;
|
|
16
|
+
error?: ErrorType;
|
|
17
|
+
onOtpValue?: (value: string) => void;
|
|
18
|
+
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
19
|
+
onFocus?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as OTP } from './OTP';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('./OTP.Props').OTPProps, "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 OTP>;
|
|
27
|
+
export declare const Default: Story;
|
|
28
|
+
export declare const Error: Story;
|
|
29
|
+
export declare const Disabled: Story;
|
|
30
|
+
export declare const ReadOnly: Story;
|
|
31
|
+
export declare const HelpText: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OTP } from './OTP';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PageProps } from './Page.props';
|
|
2
|
+
/*******************************
|
|
3
|
+
* Main component
|
|
4
|
+
********************************/
|
|
5
|
+
declare const Page: import('react').ForwardRefExoticComponent<PageProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export default Page;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ResponsiveSideProps } from '../../utils/types/types';
|
|
2
|
+
/*******************************
|
|
3
|
+
* Props
|
|
4
|
+
********************************/
|
|
5
|
+
type Color = "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "white" | "blue";
|
|
6
|
+
type Variant = "solid" | "outline" | "fill" | "plain" | "link";
|
|
7
|
+
export type Sizes = "xs" | "sm" | "md" | "lg";
|
|
8
|
+
type PrimaryAction = {
|
|
9
|
+
content: React.ReactNode;
|
|
10
|
+
variation?: Variant;
|
|
11
|
+
size?: Sizes;
|
|
12
|
+
color?: Color;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
onAction?: () => void;
|
|
16
|
+
};
|
|
17
|
+
type SecondaryAction = {
|
|
18
|
+
content: React.ReactNode;
|
|
19
|
+
variation?: Variant;
|
|
20
|
+
color?: Color;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
loading?: boolean;
|
|
23
|
+
size?: Sizes;
|
|
24
|
+
onAction?: () => void;
|
|
25
|
+
};
|
|
26
|
+
export interface PageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
27
|
+
title?: React.ReactNode;
|
|
28
|
+
subtitle?: React.ReactNode;
|
|
29
|
+
subTitleMaxWidth?: boolean;
|
|
30
|
+
compactTitle?: boolean;
|
|
31
|
+
titleMetaData?: React.ReactNode;
|
|
32
|
+
buttons?: React.ReactNode;
|
|
33
|
+
primaryAction?: PrimaryAction;
|
|
34
|
+
secondaryAction?: SecondaryAction;
|
|
35
|
+
children?: React.ReactNode;
|
|
36
|
+
backAction?: React.ReactNode;
|
|
37
|
+
backUrl?: string;
|
|
38
|
+
padding?: ResponsiveSideProps;
|
|
39
|
+
}
|
|
40
|
+
export {};
|