@shohojdhara/atomix 0.1.26 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +15 -0
- package/dist/index.d.ts +4955 -0
- package/dist/index.esm.css +15 -0
- package/dist/index.esm.js +12423 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +12492 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.css +15 -0
- package/dist/index.min.js +2 -0
- package/dist/index.min.js.map +1 -0
- package/package.json +33 -91
- package/NPM_PUBLISHING.md +0 -221
- package/css.d.ts +0 -10
- package/dist/css/atomix.css +0 -1
- package/dist/js/628.js +0 -1
- package/dist/js/987.js +0 -1
- package/dist/js/atomix.react.cjs.js +0 -1
- package/dist/js/atomix.react.esm.js +0 -1
- package/dist/js/atomix.react.umd.js +0 -1
- package/dist/js/chunks/cjs/202.6e2b9e63a406ff01b151.js +0 -1
- package/dist/js/chunks/cjs/308.86b2e7ea63bf439e01b4.js +0 -1
- package/dist/js/chunks/cjs/54.54733c458fc7ced6d9ba.js +0 -1
- package/dist/js/chunks/cjs/619.8e6863cb2985a3a109af.js +0 -1
- package/dist/js/chunks/cjs/690.17522d562f7ebe2fa7b4.js +0 -1
- package/dist/js/chunks/cjs/894.6edddf7d4bf7ccb11e25.js +0 -1
- package/dist/js/chunks/cjs/897.74f4c88710fe45c1b9e3.js +0 -1
- package/dist/js/chunks/esm/202.82aa7b3244e53c9edb72.js +0 -1
- package/dist/js/chunks/esm/308.27e1e4005705ae320432.js +0 -1
- package/dist/js/chunks/esm/54.ece1fd6964f98d4d994f.js +0 -1
- package/dist/js/chunks/esm/619.ebeb0298432a066ac05c.js +0 -1
- package/dist/js/chunks/esm/690.c5f412cc979b55740359.js +0 -1
- package/dist/js/chunks/esm/894.3604ddc9367d75191198.js +0 -1
- package/dist/js/chunks/esm/897.a4aab2fad9401693eb12.js +0 -1
- package/dist/js/chunks/umd/202.5017dd0403d696bf1644.js +0 -1
- package/dist/js/chunks/umd/308.4bc14b9d7b16b6ee0ab8.js +0 -1
- package/dist/js/chunks/umd/54.7fdfb4a031989470a70d.js +0 -1
- package/dist/js/chunks/umd/619.84a0c35ecee695250085.js +0 -1
- package/dist/js/chunks/umd/690.d7041094a34a4a434be2.js +0 -1
- package/dist/js/chunks/umd/894.c127ee4e9513c22ee97d.js +0 -1
- package/dist/js/chunks/umd/897.26932ac837a39fc91907.js +0 -1
- package/dist/types/components/Accordion/Accordion.d.ts +0 -37
- package/dist/types/components/Accordion/index.d.ts +0 -3
- package/dist/types/components/AtomixLogo/AtomixLogo.d.ts +0 -8
- package/dist/types/components/AtomixLogo/index.d.ts +0 -3
- package/dist/types/components/AtomixLogo.d.ts +0 -8
- package/dist/types/components/Avatar/Avatar.d.ts +0 -5
- package/dist/types/components/Avatar/AvatarGroup.d.ts +0 -5
- package/dist/types/components/Avatar/index.d.ts +0 -3
- package/dist/types/components/Badge/Badge.d.ts +0 -5
- package/dist/types/components/Badge/index.d.ts +0 -3
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +0 -47
- package/dist/types/components/Breadcrumb/index.d.ts +0 -2
- package/dist/types/components/Breadcrumb/scripts/types.d.ts +0 -59
- package/dist/types/components/Button/Button.d.ts +0 -11
- package/dist/types/components/Button/index.d.ts +0 -3
- package/dist/types/components/Callout/Callout.d.ts +0 -8
- package/dist/types/components/Callout/index.d.ts +0 -1
- package/dist/types/components/Card/Card.d.ts +0 -5
- package/dist/types/components/Card/ElevationCard.d.ts +0 -5
- package/dist/types/components/Card/index.d.ts +0 -9
- package/dist/types/components/ColorModeToggle/ColorModeToggle.d.ts +0 -6
- package/dist/types/components/ColorModeToggle/index.d.ts +0 -2
- package/dist/types/components/Countdown/Countdown.d.ts +0 -17
- package/dist/types/components/Countdown/index.d.ts +0 -2
- package/dist/types/components/DataTable/DataTable.d.ts +0 -18
- package/dist/types/components/DataTable/index.d.ts +0 -3
- package/dist/types/components/DatePicker/DatePicker.d.ts +0 -9
- package/dist/types/components/DatePicker/index.d.ts +0 -4
- package/dist/types/components/DatePicker/types.d.ts +0 -127
- package/dist/types/components/DatePicker/utils.d.ts +0 -39
- package/dist/types/components/Dropdown/Dropdown.d.ts +0 -26
- package/dist/types/components/Dropdown/index.d.ts +0 -5
- package/dist/types/components/EdgePanel/EdgePanel.d.ts +0 -5
- package/dist/types/components/EdgePanel/index.d.ts +0 -1
- package/dist/types/components/Form/Checkbox.d.ts +0 -8
- package/dist/types/components/Form/Form.d.ts +0 -8
- package/dist/types/components/Form/FormGroup.d.ts +0 -8
- package/dist/types/components/Form/Input.d.ts +0 -8
- package/dist/types/components/Form/Radio.d.ts +0 -8
- package/dist/types/components/Form/Select.d.ts +0 -8
- package/dist/types/components/Form/Textarea.d.ts +0 -8
- package/dist/types/components/Form/index.d.ts +0 -7
- package/dist/types/components/Hero/Hero.d.ts +0 -5
- package/dist/types/components/Hero/index.d.ts +0 -5
- package/dist/types/components/Icon/Icon.d.ts +0 -36
- package/dist/types/components/Icon/index.d.ts +0 -2
- package/dist/types/components/List/List.d.ts +0 -5
- package/dist/types/components/List/ListGroup.d.ts +0 -4
- package/dist/types/components/List/index.d.ts +0 -2
- package/dist/types/components/Messages/Messages.d.ts +0 -8
- package/dist/types/components/Messages/index.d.ts +0 -3
- package/dist/types/components/Modal/Modal.d.ts +0 -8
- package/dist/types/components/Modal/index.d.ts +0 -1
- package/dist/types/components/Navigation/Menu/MegaMenu.d.ts +0 -5
- package/dist/types/components/Navigation/Menu/Menu.d.ts +0 -14
- package/dist/types/components/Navigation/Nav/Nav.d.ts +0 -20
- package/dist/types/components/Navigation/Nav/NavDropdown.d.ts +0 -5
- package/dist/types/components/Navigation/Nav/NavItem.d.ts +0 -33
- package/dist/types/components/Navigation/Navbar/Navbar.d.ts +0 -19
- package/dist/types/components/Navigation/SideMenu/SideMenu.d.ts +0 -20
- package/dist/types/components/Navigation/SideMenu/SideMenuItem.d.ts +0 -30
- package/dist/types/components/Navigation/SideMenu/SideMenuList.d.ts +0 -17
- package/dist/types/components/Navigation/index.d.ts +0 -10
- package/dist/types/components/Pagination/Pagination.d.ts +0 -27
- package/dist/types/components/Pagination/index.d.ts +0 -1
- package/dist/types/components/PhotoViewer/PhotoViewer.d.ts +0 -22
- package/dist/types/components/PhotoViewer/PhotoViewerHeader.d.ts +0 -45
- package/dist/types/components/PhotoViewer/PhotoViewerImage.d.ts +0 -51
- package/dist/types/components/PhotoViewer/PhotoViewerInfo.d.ts +0 -21
- package/dist/types/components/PhotoViewer/PhotoViewerNavigation.d.ts +0 -28
- package/dist/types/components/PhotoViewer/PhotoViewerThumbnails.d.ts +0 -21
- package/dist/types/components/PhotoViewer/examples/ImageGallery.d.ts +0 -11
- package/dist/types/components/PhotoViewer/examples/SimpleGallery.d.ts +0 -3
- package/dist/types/components/PhotoViewer/examples/index.d.ts +0 -2
- package/dist/types/components/PhotoViewer/index.d.ts +0 -13
- package/dist/types/components/Popover/Popover.d.ts +0 -19
- package/dist/types/components/Popover/index.d.ts +0 -4
- package/dist/types/components/ProductReview/ProductReview.d.ts +0 -41
- package/dist/types/components/ProductReview/index.d.ts +0 -3
- package/dist/types/components/Progress/Progress.d.ts +0 -5
- package/dist/types/components/Progress/index.d.ts +0 -1
- package/dist/types/components/Rating/Rating.d.ts +0 -20
- package/dist/types/components/Rating/index.d.ts +0 -4
- package/dist/types/components/River/River.d.ts +0 -8
- package/dist/types/components/River/index.d.ts +0 -2
- package/dist/types/components/River/scripts/index.d.ts +0 -40
- package/dist/types/components/SectionIntro/SectionIntro.d.ts +0 -62
- package/dist/types/components/SectionIntro/index.d.ts +0 -3
- package/dist/types/components/SectionIntro/scripts/index.d.ts +0 -36
- package/dist/types/components/Spinner/Spinner.d.ts +0 -5
- package/dist/types/components/Spinner/index.d.ts +0 -2
- package/dist/types/components/Steps/Steps.d.ts +0 -42
- package/dist/types/components/Steps/index.d.ts +0 -3
- package/dist/types/components/Steps/scripts/index.d.ts +0 -58
- package/dist/types/components/Tab/Tab.d.ts +0 -42
- package/dist/types/components/Tab/index.d.ts +0 -2
- package/dist/types/components/Tab/scripts/index.d.ts +0 -61
- package/dist/types/components/Testimonial/Testimonial.d.ts +0 -46
- package/dist/types/components/Testimonial/index.d.ts +0 -3
- package/dist/types/components/Testimonial/scripts/index.d.ts +0 -36
- package/dist/types/components/Todo/Todo.d.ts +0 -5
- package/dist/types/components/Todo/index.d.ts +0 -1
- package/dist/types/components/Toggle/Toggle.d.ts +0 -28
- package/dist/types/components/Toggle/index.d.ts +0 -2
- package/dist/types/components/Toggle/scripts/index.d.ts +0 -50
- package/dist/types/components/Tooltip/Tooltip.d.ts +0 -33
- package/dist/types/components/Tooltip/index.d.ts +0 -2
- package/dist/types/components/Tooltip/scripts/index.d.ts +0 -123
- package/dist/types/components/Upload/Upload.d.ts +0 -64
- package/dist/types/components/Upload/index.d.ts +0 -3
- package/dist/types/components/Upload/scripts/index.d.ts +0 -118
- package/dist/types/components/index.d.ts +0 -45
- package/dist/types/index.d.ts +0 -24
- package/dist/types/layouts/Grid/Container.d.ts +0 -39
- package/dist/types/layouts/Grid/Grid.d.ts +0 -38
- package/dist/types/layouts/Grid/GridCol.d.ts +0 -65
- package/dist/types/layouts/Grid/Row.d.ts +0 -39
- package/dist/types/layouts/Grid/index.d.ts +0 -8
- package/dist/types/layouts/MasonryGrid/MasonryGrid.d.ts +0 -72
- package/dist/types/layouts/MasonryGrid/MasonryGridItem.d.ts +0 -25
- package/dist/types/layouts/MasonryGrid/index.d.ts +0 -4
- package/dist/types/layouts/index.d.ts +0 -2
- package/dist/types/lib/composables/index.d.ts +0 -30
- package/dist/types/lib/composables/useAccordion.d.ts +0 -30
- package/dist/types/lib/composables/useBadge.d.ts +0 -10
- package/dist/types/lib/composables/useBreadcrumb.d.ts +0 -13
- package/dist/types/lib/composables/useButton.d.ts +0 -11
- package/dist/types/lib/composables/useCallout.d.ts +0 -11
- package/dist/types/lib/composables/useCard.d.ts +0 -8
- package/dist/types/lib/composables/useCheckbox.d.ts +0 -11
- package/dist/types/lib/composables/useDataTable.d.ts +0 -66
- package/dist/types/lib/composables/useDatePicker.d.ts +0 -91
- package/dist/types/lib/composables/useDropdown.d.ts +0 -26
- package/dist/types/lib/composables/useEdgePanel.d.ts +0 -15
- package/dist/types/lib/composables/useForm.d.ts +0 -12
- package/dist/types/lib/composables/useFormGroup.d.ts +0 -10
- package/dist/types/lib/composables/useHero.d.ts +0 -53
- package/dist/types/lib/composables/useInput.d.ts +0 -12
- package/dist/types/lib/composables/useMessages.d.ts +0 -38
- package/dist/types/lib/composables/useModal.d.ts +0 -40
- package/dist/types/lib/composables/useNavbar.d.ts +0 -59
- package/dist/types/lib/composables/usePagination.d.ts +0 -13
- package/dist/types/lib/composables/usePhotoViewer.d.ts +0 -57
- package/dist/types/lib/composables/usePopover.d.ts +0 -30
- package/dist/types/lib/composables/useProgress.d.ts +0 -38
- package/dist/types/lib/composables/useRadio.d.ts +0 -10
- package/dist/types/lib/composables/useRating.d.ts +0 -52
- package/dist/types/lib/composables/useRiver.d.ts +0 -107
- package/dist/types/lib/composables/useSelect.d.ts +0 -10
- package/dist/types/lib/composables/useSideMenu.d.ts +0 -28
- package/dist/types/lib/composables/useSpinner.d.ts +0 -10
- package/dist/types/lib/composables/useTextarea.d.ts +0 -10
- package/dist/types/lib/composables/useTodo.d.ts +0 -18
- package/dist/types/lib/constants/components.d.ts +0 -993
- package/dist/types/lib/constants/index.d.ts +0 -1
- package/dist/types/lib/index.d.ts +0 -6
- package/dist/types/lib/types/components.d.ts +0 -2062
- package/dist/types/lib/types/index.d.ts +0 -1
- package/dist/types/lib/utils/dom.d.ts +0 -26
- package/dist/types/lib/utils/icons.d.ts +0 -20
- package/dist/types/lib/utils/index.d.ts +0 -3
- package/dist/types/lib/utils/useForkRef.d.ts +0 -10
- package/index.d.ts +0 -3
- package/src/Introduction.mdx +0 -44
- package/src/assets/fonts/BigCaslon/BigCaslon-Alternatives.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Alternatives.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Alternatives.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Alternatives.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Expert.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Expert.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Expert.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Expert.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-ItalicSwash.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-ItalicSwash.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-ItalicSwash.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-ItalicSwash.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-SmallCaps.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-SmallCaps.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-SmallCaps.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-SmallCaps.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Black.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Black.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Black.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Black.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BlackItalic.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BlackItalic.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BlackItalic.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BlackItalic.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Bold.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Bold.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Bold.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Bold.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BoldItalic.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BoldItalic.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BoldItalic.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BoldItalic.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Italic.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Italic.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Italic.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Italic.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Regular.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Regular.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Regular.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Regular.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Black.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Black.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Black.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Black.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BlackItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BlackItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BlackItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BlackItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Bold.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Bold.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Bold.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Bold.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BoldItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BoldItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BoldItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BoldItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Book.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Book.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Book.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Book.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BookItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BookItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BookItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BookItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Heavy.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Heavy.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Heavy.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Heavy.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-HeavyItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-HeavyItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-HeavyItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-HeavyItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Light.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Light.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Light.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Light.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-LightItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-LightItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-LightItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-LightItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Medium.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Medium.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Medium.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Medium.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-MediumItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-MediumItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-MediumItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-MediumItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Regular.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Regular.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Regular.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Regular.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-RegularItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-RegularItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-RegularItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-RegularItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Thin.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Thin.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Thin.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Thin.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-ThinItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-ThinItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-ThinItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-ThinItalic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Bold.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Bold.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Bold.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Bold.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-BoldItalic.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-BoldItalic.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-BoldItalic.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-BoldItalic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBlack.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBlack.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBlack.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBlack.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBold.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBold.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBold.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBold.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Italic.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Italic.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Italic.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Italic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Light.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Light.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Light.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Light.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-LightItalic.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-LightItalic.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-LightItalic.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-LightItalic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Medium.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Medium.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Medium.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Medium.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-MediumItalic.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-MediumItalic.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-MediumItalic.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-MediumItalic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Thin.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Thin.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Thin.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Thin.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-ThinItalic.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-ThinItalic.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-ThinItalic.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-ThinItalic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLight.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLight.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLight.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLight.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLightItalic.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLightItalic.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLightItalic.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLightItalic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/demo.html +0 -569
- package/src/assets/fonts/HelveticaNeue/stylesheet.css +0 -181
- package/src/assets/fonts/Lato/Lato-Black.eot +0 -0
- package/src/assets/fonts/Lato/Lato-Black.ttf +0 -0
- package/src/assets/fonts/Lato/Lato-Black.woff +0 -0
- package/src/assets/fonts/Lato/Lato-Black.woff2 +0 -0
- package/src/assets/fonts/Lato/Lato-Bold.eot +0 -0
- package/src/assets/fonts/Lato/Lato-Bold.ttf +0 -0
- package/src/assets/fonts/Lato/Lato-Bold.woff +0 -0
- package/src/assets/fonts/Lato/Lato-Bold.woff2 +0 -0
- package/src/assets/fonts/Lato/Lato-Light.eot +0 -0
- package/src/assets/fonts/Lato/Lato-Light.ttf +0 -0
- package/src/assets/fonts/Lato/Lato-Light.woff +0 -0
- package/src/assets/fonts/Lato/Lato-Light.woff2 +0 -0
- package/src/assets/fonts/Lato/Lato-Regular.eot +0 -0
- package/src/assets/fonts/Lato/Lato-Regular.ttf +0 -0
- package/src/assets/fonts/Lato/Lato-Regular.woff +0 -0
- package/src/assets/fonts/Lato/Lato-Regular.woff2 +0 -0
- package/src/assets/fonts/Lux-Icons.woff2 +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.eot +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.ttf +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.woff +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.woff2 +0 -0
- package/src/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/src/assets/fonts/Roboto-Regular.ttf +0 -0
- package/src/assets/images/logo-transparent.png +0 -0
- package/src/assets/svgs/atomix-logo.svg +0 -9
- package/src/components/Accordion/Accordion.stories.tsx +0 -271
- package/src/components/Accordion/Accordion.tsx +0 -131
- package/src/components/Accordion/index.ts +0 -3
- package/src/components/Accordion/scripts/accordionInteractions.ts +0 -70
- package/src/components/Accordion/scripts/bundle.ts +0 -24
- package/src/components/Accordion/scripts/constants.ts +0 -11
- package/src/components/Accordion/scripts/index.ts +0 -212
- package/src/components/AtomixLogo/AtomixLogo.tsx +0 -36
- package/src/components/AtomixLogo/index.ts +0 -3
- package/src/components/AtomixLogo.tsx +0 -40
- package/src/components/Avatar/Avatar.stories.tsx +0 -263
- package/src/components/Avatar/Avatar.tsx +0 -68
- package/src/components/Avatar/AvatarGroup.tsx +0 -73
- package/src/components/Avatar/index.ts +0 -3
- package/src/components/Avatar/scripts/index.ts +0 -497
- package/src/components/Badge/Badge.stories.tsx +0 -374
- package/src/components/Badge/Badge.tsx +0 -39
- package/src/components/Badge/index.ts +0 -3
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +0 -108
- package/src/components/Breadcrumb/Breadcrumb.tsx +0 -112
- package/src/components/Breadcrumb/index.ts +0 -3
- package/src/components/Breadcrumb/scripts/breadcrumb.ts +0 -208
- package/src/components/Breadcrumb/scripts/demo.html +0 -246
- package/src/components/Breadcrumb/scripts/index.ts +0 -5
- package/src/components/Breadcrumb/scripts/types.ts +0 -69
- package/src/components/Button/Button.stories.tsx +0 -313
- package/src/components/Button/Button.tsx +0 -70
- package/src/components/Button/index.ts +0 -3
- package/src/components/Button/scripts/buttonInteractions.ts +0 -73
- package/src/components/Button/scripts/index.ts +0 -1
- package/src/components/Callout/Callout.stories.tsx +0 -595
- package/src/components/Callout/Callout.tsx +0 -78
- package/src/components/Callout/index.ts +0 -1
- package/src/components/Callout/scripts/CalloutInteractions.ts +0 -350
- package/src/components/Callout/scripts/bundle.ts +0 -18
- package/src/components/Callout/scripts/index.ts +0 -130
- package/src/components/Card/Card.stories.tsx +0 -107
- package/src/components/Card/Card.tsx +0 -69
- package/src/components/Card/ElevationCard.tsx +0 -47
- package/src/components/Card/index.ts +0 -15
- package/src/components/Card/scripts/bundle.ts +0 -30
- package/src/components/Card/scripts/cardInteractions.ts +0 -171
- package/src/components/Card/scripts/demo.html +0 -322
- package/src/components/Card/scripts/index.ts +0 -318
- package/src/components/ColorModeToggle/ColorModeToggle.stories.tsx +0 -46
- package/src/components/ColorModeToggle/ColorModeToggle.tsx +0 -85
- package/src/components/ColorModeToggle/index.ts +0 -2
- package/src/components/Countdown/Countdown.stories.tsx +0 -47
- package/src/components/Countdown/Countdown.tsx +0 -90
- package/src/components/Countdown/index.ts +0 -2
- package/src/components/Countdown/scripts/index.ts +0 -238
- package/src/components/DataTable/DataTable.stories.tsx +0 -249
- package/src/components/DataTable/DataTable.tsx +0 -213
- package/src/components/DataTable/index.ts +0 -3
- package/src/components/DataTable/scripts/bundle.ts +0 -20
- package/src/components/DataTable/scripts/index.ts +0 -781
- package/src/components/DatePicker/DatePicker.stories.tsx +0 -365
- package/src/components/DatePicker/DatePicker.tsx +0 -504
- package/src/components/DatePicker/index.ts +0 -4
- package/src/components/DatePicker/readme.md +0 -106
- package/src/components/DatePicker/scripts/bundle.ts +0 -39
- package/src/components/DatePicker/scripts/componentInteractions.ts +0 -230
- package/src/components/DatePicker/scripts/index.ts +0 -907
- package/src/components/DatePicker/types.ts +0 -167
- package/src/components/DatePicker/utils.ts +0 -163
- package/src/components/Dropdown/Dropdown.stories.tsx +0 -359
- package/src/components/Dropdown/Dropdown.tsx +0 -352
- package/src/components/Dropdown/index.ts +0 -14
- package/src/components/Dropdown/readme.md +0 -151
- package/src/components/Dropdown/scripts/bundle.ts +0 -24
- package/src/components/Dropdown/scripts/componentInteractions.ts +0 -39
- package/src/components/Dropdown/scripts/index.ts +0 -612
- package/src/components/EdgePanel/EdgePanel.stories.tsx +0 -267
- package/src/components/EdgePanel/EdgePanel.tsx +0 -73
- package/src/components/EdgePanel/index.ts +0 -1
- package/src/components/EdgePanel/scripts/bundle.ts +0 -30
- package/src/components/EdgePanel/scripts/edgePanelInteractions.ts +0 -206
- package/src/components/EdgePanel/scripts/index.ts +0 -415
- package/src/components/Form/Checkbox.stories.tsx +0 -77
- package/src/components/Form/Checkbox.tsx +0 -69
- package/src/components/Form/Form.stories.tsx +0 -491
- package/src/components/Form/Form.tsx +0 -46
- package/src/components/Form/FormGroup.stories.tsx +0 -163
- package/src/components/Form/FormGroup.tsx +0 -53
- package/src/components/Form/Input.stories.tsx +0 -107
- package/src/components/Form/Input.tsx +0 -87
- package/src/components/Form/Radio.stories.tsx +0 -95
- package/src/components/Form/Radio.tsx +0 -65
- package/src/components/Form/Select.stories.tsx +0 -152
- package/src/components/Form/Select.tsx +0 -191
- package/src/components/Form/Textarea.stories.tsx +0 -124
- package/src/components/Form/Textarea.tsx +0 -78
- package/src/components/Form/index.ts +0 -7
- package/src/components/Hero/Hero.stories.tsx +0 -297
- package/src/components/Hero/Hero.tsx +0 -175
- package/src/components/Hero/index.ts +0 -6
- package/src/components/Hero/scripts/bundle.ts +0 -33
- package/src/components/Hero/scripts/heroInteractions.ts +0 -130
- package/src/components/Hero/scripts/index.ts +0 -144
- package/src/components/Icon/Icon.tsx +0 -87
- package/src/components/Icon/index.ts +0 -2
- package/src/components/List/List.stories.tsx +0 -123
- package/src/components/List/List.tsx +0 -35
- package/src/components/List/ListGroup.tsx +0 -34
- package/src/components/List/index.ts +0 -2
- package/src/components/Messages/Messages.stories.tsx +0 -161
- package/src/components/Messages/Messages.tsx +0 -172
- package/src/components/Messages/index.ts +0 -3
- package/src/components/Messages/scripts/bundle.ts +0 -47
- package/src/components/Messages/scripts/componentInteractions.ts +0 -132
- package/src/components/Messages/scripts/index.ts +0 -378
- package/src/components/Modal/Modal.stories.tsx +0 -288
- package/src/components/Modal/Modal.tsx +0 -198
- package/src/components/Modal/README.md +0 -169
- package/src/components/Modal/index.ts +0 -1
- package/src/components/Modal/scripts/bundle.ts +0 -23
- package/src/components/Modal/scripts/index.ts +0 -374
- package/src/components/Modal/scripts/modalInteractions.ts +0 -141
- package/src/components/Navigation/Menu/MegaMenu.tsx +0 -107
- package/src/components/Navigation/Menu/Menu.stories.tsx +0 -340
- package/src/components/Navigation/Menu/Menu.tsx +0 -110
- package/src/components/Navigation/Nav/Nav.stories.tsx +0 -458
- package/src/components/Navigation/Nav/Nav.tsx +0 -50
- package/src/components/Navigation/Nav/NavDropdown.tsx +0 -105
- package/src/components/Navigation/Nav/NavItem.tsx +0 -166
- package/src/components/Navigation/Navbar/Navbar.stories.tsx +0 -552
- package/src/components/Navigation/Navbar/Navbar.tsx +0 -150
- package/src/components/Navigation/README.md +0 -314
- package/src/components/Navigation/SideMenu/SideMenu.README.md +0 -494
- package/src/components/Navigation/SideMenu/SideMenu.stories.tsx +0 -618
- package/src/components/Navigation/SideMenu/SideMenu.tsx +0 -101
- package/src/components/Navigation/SideMenu/SideMenuItem.tsx +0 -103
- package/src/components/Navigation/SideMenu/SideMenuList.tsx +0 -41
- package/src/components/Navigation/index.ts +0 -23
- package/src/components/Navigation/scripts/NavbarInteractions.ts +0 -171
- package/src/components/Navigation/scripts/SideMenu.ts +0 -319
- package/src/components/Navigation/scripts/SideMenuBundle.ts +0 -69
- package/src/components/Navigation/scripts/SideMenuInteractions.ts +0 -250
- package/src/components/Navigation/scripts/bundle.ts +0 -58
- package/src/components/Navigation/scripts/index.ts +0 -248
- package/src/components/Pagination/Pagination.stories.tsx +0 -194
- package/src/components/Pagination/Pagination.tsx +0 -162
- package/src/components/Pagination/index.ts +0 -1
- package/src/components/Pagination/scripts/bundle.ts +0 -15
- package/src/components/Pagination/scripts/index.ts +0 -315
- package/src/components/PhotoViewer/PhotoViewer.stories.tsx +0 -160
- package/src/components/PhotoViewer/PhotoViewer.tsx +0 -246
- package/src/components/PhotoViewer/PhotoViewerHeader.tsx +0 -177
- package/src/components/PhotoViewer/PhotoViewerImage.tsx +0 -173
- package/src/components/PhotoViewer/PhotoViewerInfo.tsx +0 -65
- package/src/components/PhotoViewer/PhotoViewerNavigation.tsx +0 -82
- package/src/components/PhotoViewer/PhotoViewerThumbnails.tsx +0 -53
- package/src/components/PhotoViewer/README.md +0 -358
- package/src/components/PhotoViewer/examples/ImageGallery.tsx +0 -190
- package/src/components/PhotoViewer/examples/SimpleGallery.tsx +0 -77
- package/src/components/PhotoViewer/examples/index.ts +0 -2
- package/src/components/PhotoViewer/index.ts +0 -14
- package/src/components/PhotoViewer/scripts/PhotoViewerInteractions.ts +0 -253
- package/src/components/PhotoViewer/scripts/bundle.ts +0 -81
- package/src/components/PhotoViewer/scripts/index.ts +0 -947
- package/src/components/Popover/Popover.stories.tsx +0 -143
- package/src/components/Popover/Popover.tsx +0 -137
- package/src/components/Popover/index.ts +0 -5
- package/src/components/Popover/readme.md +0 -120
- package/src/components/Popover/scripts/bundle.ts +0 -12
- package/src/components/Popover/scripts/componentInteractions.ts +0 -299
- package/src/components/Popover/scripts/index.ts +0 -342
- package/src/components/ProductReview/ProductReview.stories.tsx +0 -88
- package/src/components/ProductReview/ProductReview.tsx +0 -169
- package/src/components/ProductReview/index.ts +0 -3
- package/src/components/ProductReview/scripts/bundle.ts +0 -3
- package/src/components/ProductReview/scripts/componentInteractions.ts +0 -129
- package/src/components/ProductReview/scripts/index.ts +0 -3
- package/src/components/Progress/Progress.stories.tsx +0 -75
- package/src/components/Progress/Progress.tsx +0 -45
- package/src/components/Progress/index.ts +0 -1
- package/src/components/Progress/scripts/bundle.ts +0 -17
- package/src/components/Progress/scripts/componentInteractions.ts +0 -101
- package/src/components/Progress/scripts/index.ts +0 -184
- package/src/components/Rating/Rating.stories.tsx +0 -109
- package/src/components/Rating/Rating.tsx +0 -286
- package/src/components/Rating/index.ts +0 -6
- package/src/components/Rating/scripts/bundle.ts +0 -39
- package/src/components/Rating/scripts/index.d.ts +0 -12
- package/src/components/Rating/scripts/index.ts +0 -336
- package/src/components/Rating/scripts/ratingInteractions.ts +0 -160
- package/src/components/River/River.stories.tsx +0 -230
- package/src/components/River/River.tsx +0 -162
- package/src/components/River/examples.html +0 -223
- package/src/components/River/index.ts +0 -2
- package/src/components/River/scripts/index.ts +0 -137
- package/src/components/SectionIntro/SectionIntro.stories.tsx +0 -145
- package/src/components/SectionIntro/SectionIntro.tsx +0 -197
- package/src/components/SectionIntro/index.ts +0 -3
- package/src/components/SectionIntro/scripts/bundle.ts +0 -9
- package/src/components/SectionIntro/scripts/componentInteractions.ts +0 -37
- package/src/components/SectionIntro/scripts/index.ts +0 -163
- package/src/components/Spinner/Spinner.stories.tsx +0 -66
- package/src/components/Spinner/Spinner.tsx +0 -36
- package/src/components/Spinner/index.ts +0 -2
- package/src/components/Steps/Steps.stories.tsx +0 -158
- package/src/components/Steps/Steps.tsx +0 -154
- package/src/components/Steps/index.ts +0 -3
- package/src/components/Steps/scripts/index.ts +0 -159
- package/src/components/Tab/Tab.stories.tsx +0 -129
- package/src/components/Tab/Tab.tsx +0 -133
- package/src/components/Tab/index.ts +0 -2
- package/src/components/Tab/scripts/index.ts +0 -200
- package/src/components/Testimonial/Testimonial.stories.tsx +0 -180
- package/src/components/Testimonial/Testimonial.tsx +0 -148
- package/src/components/Testimonial/index.ts +0 -3
- package/src/components/Testimonial/scripts/index.ts +0 -107
- package/src/components/Todo/Todo.stories.tsx +0 -107
- package/src/components/Todo/Todo.tsx +0 -158
- package/src/components/Todo/index.ts +0 -1
- package/src/components/Todo/scripts/bundle.ts +0 -14
- package/src/components/Todo/scripts/index.ts +0 -574
- package/src/components/Todo/scripts/todoInteractions.ts +0 -118
- package/src/components/Todo/scripts/types.ts +0 -19
- package/src/components/Toggle/Toggle.stories.tsx +0 -50
- package/src/components/Toggle/Toggle.tsx +0 -114
- package/src/components/Toggle/index.ts +0 -2
- package/src/components/Toggle/scripts/bundle.ts +0 -19
- package/src/components/Toggle/scripts/index.ts +0 -118
- package/src/components/Toggle/scripts/toggleInteractions.ts +0 -77
- package/src/components/Tooltip/Tooltip.stories.tsx +0 -115
- package/src/components/Tooltip/Tooltip.tsx +0 -105
- package/src/components/Tooltip/index.ts +0 -3
- package/src/components/Tooltip/scripts/bundle.ts +0 -0
- package/src/components/Tooltip/scripts/index.ts +0 -395
- package/src/components/Tooltip/scripts/tooltipInteractions.ts +0 -165
- package/src/components/Upload/Upload.stories.tsx +0 -221
- package/src/components/Upload/Upload.tsx +0 -422
- package/src/components/Upload/index.ts +0 -3
- package/src/components/Upload/scripts/index.ts +0 -467
- package/src/components/index.ts +0 -42
- package/src/design-tokens/BoxShadow/BoxShadow.stories.tsx +0 -115
- package/src/design-tokens/Colors/colors.scss +0 -121
- package/src/design-tokens/Colors/colors.stories.tsx +0 -313
- package/src/design-tokens/Spacing/Spacing.scss +0 -62
- package/src/design-tokens/Spacing/Spacing.stories.tsx +0 -115
- package/src/design-tokens/Typography/Typography.scss +0 -240
- package/src/design-tokens/Typography/Typography.stories.tsx +0 -167
- package/src/docs/atomix-component-guidelines.mdx +0 -942
- package/src/docs/atomix-roadmap.mdx +0 -325
- package/src/docs/implementation-guide.mdx +0 -506
- package/src/index.ts +0 -26
- package/src/layouts/Grid/Container.tsx +0 -58
- package/src/layouts/Grid/Grid.stories.tsx +0 -560
- package/src/layouts/Grid/Grid.tsx +0 -68
- package/src/layouts/Grid/GridCol.tsx +0 -161
- package/src/layouts/Grid/README.md +0 -108
- package/src/layouts/Grid/Row.tsx +0 -70
- package/src/layouts/Grid/index.ts +0 -8
- package/src/layouts/MasonryGrid/MasonryGrid.stories.tsx +0 -388
- package/src/layouts/MasonryGrid/MasonryGrid.tsx +0 -408
- package/src/layouts/MasonryGrid/MasonryGridItem.tsx +0 -44
- package/src/layouts/MasonryGrid/README.md +0 -117
- package/src/layouts/MasonryGrid/index.ts +0 -4
- package/src/layouts/index.ts +0 -9
- package/src/lib/README.md +0 -89
- package/src/lib/composables/index.ts +0 -44
- package/src/lib/composables/useAccordion.ts +0 -129
- package/src/lib/composables/useBadge.ts +0 -42
- package/src/lib/composables/useBreadcrumb.ts +0 -74
- package/src/lib/composables/useButton.ts +0 -59
- package/src/lib/composables/useCallout.ts +0 -55
- package/src/lib/composables/useCard.ts +0 -155
- package/src/lib/composables/useCheckbox.ts +0 -70
- package/src/lib/composables/useDataTable.ts +0 -208
- package/src/lib/composables/useDatePicker.ts +0 -562
- package/src/lib/composables/useDropdown.ts +0 -272
- package/src/lib/composables/useEdgePanel.ts +0 -261
- package/src/lib/composables/useForm.ts +0 -62
- package/src/lib/composables/useFormGroup.ts +0 -51
- package/src/lib/composables/useHero.ts +0 -250
- package/src/lib/composables/useInput.ts +0 -58
- package/src/lib/composables/useMessages.ts +0 -77
- package/src/lib/composables/useModal.ts +0 -110
- package/src/lib/composables/useNavbar.ts +0 -288
- package/src/lib/composables/usePagination.ts +0 -101
- package/src/lib/composables/usePhotoViewer.ts +0 -904
- package/src/lib/composables/usePopover.ts +0 -354
- package/src/lib/composables/useProgress.ts +0 -74
- package/src/lib/composables/useRadio.ts +0 -47
- package/src/lib/composables/useRating.ts +0 -174
- package/src/lib/composables/useRiver.ts +0 -205
- package/src/lib/composables/useSelect.ts +0 -52
- package/src/lib/composables/useSideMenu.ts +0 -197
- package/src/lib/composables/useSpinner.ts +0 -42
- package/src/lib/composables/useTextarea.ts +0 -55
- package/src/lib/composables/useTodo.ts +0 -141
- package/src/lib/constants/components.ts +0 -1050
- package/src/lib/constants/index.ts +0 -4
- package/src/lib/index.ts +0 -11
- package/src/lib/types/components.ts +0 -2513
- package/src/lib/types/index.ts +0 -2
- package/src/lib/utils/dom.ts +0 -41
- package/src/lib/utils/icons.ts +0 -74
- package/src/lib/utils/index.ts +0 -20
- package/src/lib/utils/useForkRef.ts +0 -36
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,4955 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default, { ReactNode, ElementType, HTMLAttributes } from 'react';
|
|
3
|
+
import * as PhosphorIcons from 'phosphor-react';
|
|
4
|
+
|
|
5
|
+
type DatePickerPlacement = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
6
|
+
type DatePickerSize = 'sm' | 'md' | 'lg';
|
|
7
|
+
type DatePickerSelectionMode = 'single' | 'range';
|
|
8
|
+
interface DateRange {
|
|
9
|
+
startDate: Date | null;
|
|
10
|
+
endDate: Date | null;
|
|
11
|
+
}
|
|
12
|
+
interface DatePickerProps {
|
|
13
|
+
/**
|
|
14
|
+
* The currently selected date value
|
|
15
|
+
*/
|
|
16
|
+
value?: Date | null;
|
|
17
|
+
/**
|
|
18
|
+
* Callback function when date is changed
|
|
19
|
+
*/
|
|
20
|
+
onChange?: (date: Date | null) => void;
|
|
21
|
+
/**
|
|
22
|
+
* Selection mode - single date or date range
|
|
23
|
+
* @default "single"
|
|
24
|
+
*/
|
|
25
|
+
selectionMode?: DatePickerSelectionMode;
|
|
26
|
+
/**
|
|
27
|
+
* The start date of the range (only used when selectionMode is "range")
|
|
28
|
+
*/
|
|
29
|
+
startDate?: Date | null;
|
|
30
|
+
/**
|
|
31
|
+
* The end date of the range (only used when selectionMode is "range")
|
|
32
|
+
*/
|
|
33
|
+
endDate?: Date | null;
|
|
34
|
+
/**
|
|
35
|
+
* Callback function when date range is changed
|
|
36
|
+
*/
|
|
37
|
+
onRangeChange?: (range: DateRange) => void;
|
|
38
|
+
/**
|
|
39
|
+
* Format for the date display (follows Intl.DateTimeFormat patterns)
|
|
40
|
+
* @default "MM/dd/yyyy"
|
|
41
|
+
*/
|
|
42
|
+
format?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Minimum selectable date
|
|
45
|
+
*/
|
|
46
|
+
minDate?: Date;
|
|
47
|
+
/**
|
|
48
|
+
* Maximum selectable date
|
|
49
|
+
*/
|
|
50
|
+
maxDate?: Date;
|
|
51
|
+
/**
|
|
52
|
+
* Placeholder text for the input
|
|
53
|
+
* @default "Select date..."
|
|
54
|
+
*/
|
|
55
|
+
placeholder?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Whether the datepicker is disabled
|
|
58
|
+
* @default false
|
|
59
|
+
*/
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Whether the datepicker is read-only
|
|
63
|
+
* @default false
|
|
64
|
+
*/
|
|
65
|
+
readOnly?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Whether to show a clear button
|
|
68
|
+
* @default true
|
|
69
|
+
*/
|
|
70
|
+
clearable?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Whether to show the "Today" button
|
|
73
|
+
* @default true
|
|
74
|
+
*/
|
|
75
|
+
showTodayButton?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Whether to show week numbers
|
|
78
|
+
* @default false
|
|
79
|
+
*/
|
|
80
|
+
showWeekNumbers?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Whether to display the datepicker inline (always visible)
|
|
83
|
+
* @default false
|
|
84
|
+
*/
|
|
85
|
+
inline?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* ID for the input element
|
|
88
|
+
*/
|
|
89
|
+
id?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Name for the input element
|
|
92
|
+
*/
|
|
93
|
+
name?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Additional class name for the datepicker component
|
|
96
|
+
*/
|
|
97
|
+
className?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Placement of the dropdown calendar
|
|
100
|
+
* @default "bottom-start"
|
|
101
|
+
*/
|
|
102
|
+
placement?: DatePickerPlacement;
|
|
103
|
+
/**
|
|
104
|
+
* Additional class name for the input element
|
|
105
|
+
*/
|
|
106
|
+
inputClassName?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Size of the input field
|
|
109
|
+
* @default "md"
|
|
110
|
+
*/
|
|
111
|
+
size?: DatePickerSize;
|
|
112
|
+
}
|
|
113
|
+
interface DatePickerRef {
|
|
114
|
+
/**
|
|
115
|
+
* Open the datepicker
|
|
116
|
+
*/
|
|
117
|
+
open: () => void;
|
|
118
|
+
/**
|
|
119
|
+
* Close the datepicker
|
|
120
|
+
*/
|
|
121
|
+
close: () => void;
|
|
122
|
+
/**
|
|
123
|
+
* Clear the selected date
|
|
124
|
+
*/
|
|
125
|
+
clear: () => void;
|
|
126
|
+
/**
|
|
127
|
+
* Set focus on the input element
|
|
128
|
+
*/
|
|
129
|
+
focus: () => void;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Common component size options
|
|
134
|
+
*/
|
|
135
|
+
type Size = 'sm' | 'md' | 'lg';
|
|
136
|
+
/**
|
|
137
|
+
* Theme color variants
|
|
138
|
+
*/
|
|
139
|
+
type ThemeColor = 'primary' | 'secondary' | 'tertiary' | 'invert' | 'brand' | 'error' | 'success' | 'warning' | 'info' | 'light' | 'dark';
|
|
140
|
+
/**
|
|
141
|
+
* Component variant including theme colors and outline variants
|
|
142
|
+
*/
|
|
143
|
+
type Variant = ThemeColor | `outline-${ThemeColor}` | 'link';
|
|
144
|
+
/**
|
|
145
|
+
* Base component properties interface
|
|
146
|
+
*/
|
|
147
|
+
interface BaseComponentProps {
|
|
148
|
+
/**
|
|
149
|
+
* Additional CSS class names
|
|
150
|
+
*/
|
|
151
|
+
className?: string;
|
|
152
|
+
/**
|
|
153
|
+
* Component disabled state
|
|
154
|
+
*/
|
|
155
|
+
disabled?: boolean;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* CSS class state modifiers
|
|
159
|
+
*/
|
|
160
|
+
type StateModifier = 'is-open' | 'is-closed' | 'is-active' | 'is-disabled' | 'is-loading' | 'is-selected' | 'is-animating' | 'is-hovered';
|
|
161
|
+
/**
|
|
162
|
+
* Icon position options
|
|
163
|
+
*/
|
|
164
|
+
type IconPosition = 'left' | 'right';
|
|
165
|
+
type listvariant = 'dash' | 'number' | 'text';
|
|
166
|
+
/**;
|
|
167
|
+
* List component properties
|
|
168
|
+
*/
|
|
169
|
+
interface ListProps extends BaseComponentProps {
|
|
170
|
+
children?: ReactNode;
|
|
171
|
+
/**
|
|
172
|
+
* List items
|
|
173
|
+
*/
|
|
174
|
+
items?: ReactNode[];
|
|
175
|
+
/**
|
|
176
|
+
* List variant
|
|
177
|
+
*/
|
|
178
|
+
variant?: listvariant;
|
|
179
|
+
/**
|
|
180
|
+
* List size
|
|
181
|
+
*/
|
|
182
|
+
size?: Size;
|
|
183
|
+
/**
|
|
184
|
+
* Whether the list is ordered
|
|
185
|
+
*/
|
|
186
|
+
ordered?: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* Whether to display list items inline
|
|
189
|
+
*/
|
|
190
|
+
inline?: boolean;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* List group component properties
|
|
194
|
+
*/
|
|
195
|
+
interface ListGroupProps extends BaseComponentProps {
|
|
196
|
+
/**
|
|
197
|
+
* List group children
|
|
198
|
+
*/
|
|
199
|
+
children?: ReactNode;
|
|
200
|
+
/**
|
|
201
|
+
* List group variant
|
|
202
|
+
*/
|
|
203
|
+
variant?: Variant;
|
|
204
|
+
/**
|
|
205
|
+
* List group size
|
|
206
|
+
*/
|
|
207
|
+
size?: Size;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Button component properties
|
|
211
|
+
*/
|
|
212
|
+
interface ButtonProps extends BaseComponentProps {
|
|
213
|
+
/**
|
|
214
|
+
* Button contents
|
|
215
|
+
*/
|
|
216
|
+
label: string;
|
|
217
|
+
/**
|
|
218
|
+
* Optional click handler
|
|
219
|
+
*/
|
|
220
|
+
onClick?: () => void;
|
|
221
|
+
/**
|
|
222
|
+
* Button variant
|
|
223
|
+
*/
|
|
224
|
+
variant?: Variant;
|
|
225
|
+
/**
|
|
226
|
+
* Button size
|
|
227
|
+
*/
|
|
228
|
+
size?: Size;
|
|
229
|
+
/**
|
|
230
|
+
* Optional icon
|
|
231
|
+
*/
|
|
232
|
+
icon?: ReactNode;
|
|
233
|
+
/**
|
|
234
|
+
* Icon only button
|
|
235
|
+
*/
|
|
236
|
+
iconOnly?: boolean;
|
|
237
|
+
/**
|
|
238
|
+
* Make button fully rounded (pill shape)
|
|
239
|
+
*/
|
|
240
|
+
rounded?: boolean;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Badge component properties
|
|
244
|
+
*/
|
|
245
|
+
interface BadgeProps extends BaseComponentProps {
|
|
246
|
+
/**
|
|
247
|
+
* Badge text content
|
|
248
|
+
*/
|
|
249
|
+
label: string;
|
|
250
|
+
/**
|
|
251
|
+
* Badge color variant
|
|
252
|
+
*/
|
|
253
|
+
variant?: ThemeColor;
|
|
254
|
+
/**
|
|
255
|
+
* Badge size
|
|
256
|
+
*/
|
|
257
|
+
size?: Size;
|
|
258
|
+
/**
|
|
259
|
+
* Optional icon
|
|
260
|
+
*/
|
|
261
|
+
icon?: ReactNode;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Callout component properties
|
|
265
|
+
*/
|
|
266
|
+
interface CalloutProps extends BaseComponentProps {
|
|
267
|
+
/**
|
|
268
|
+
* Callout title
|
|
269
|
+
*/
|
|
270
|
+
title?: ReactNode;
|
|
271
|
+
/**
|
|
272
|
+
* Callout content
|
|
273
|
+
*/
|
|
274
|
+
children?: ReactNode;
|
|
275
|
+
/**
|
|
276
|
+
* Optional icon
|
|
277
|
+
*/
|
|
278
|
+
icon?: ReactNode;
|
|
279
|
+
/**
|
|
280
|
+
* Callout variant
|
|
281
|
+
*/
|
|
282
|
+
variant?: ThemeColor;
|
|
283
|
+
/**
|
|
284
|
+
* Optional close handler
|
|
285
|
+
*/
|
|
286
|
+
onClose?: () => void;
|
|
287
|
+
/**
|
|
288
|
+
* Optional action buttons
|
|
289
|
+
*/
|
|
290
|
+
actions?: ReactNode;
|
|
291
|
+
/**
|
|
292
|
+
* Display in one line mode
|
|
293
|
+
*/
|
|
294
|
+
oneLine?: boolean;
|
|
295
|
+
/**
|
|
296
|
+
* Display as toast notification
|
|
297
|
+
*/
|
|
298
|
+
toast?: boolean;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Accordion component properties
|
|
302
|
+
*/
|
|
303
|
+
interface AccordionProps$1 extends BaseComponentProps {
|
|
304
|
+
/**
|
|
305
|
+
* Title of the accordion
|
|
306
|
+
*/
|
|
307
|
+
title: string;
|
|
308
|
+
/**
|
|
309
|
+
* Content to be shown when accordion is expanded
|
|
310
|
+
*/
|
|
311
|
+
children: ReactNode;
|
|
312
|
+
/**
|
|
313
|
+
* Whether the accordion is initially open
|
|
314
|
+
*/
|
|
315
|
+
defaultOpen?: boolean;
|
|
316
|
+
/**
|
|
317
|
+
* Position of the icon (right or left)
|
|
318
|
+
*/
|
|
319
|
+
iconPosition?: IconPosition;
|
|
320
|
+
/**
|
|
321
|
+
* Custom icon for the accordion
|
|
322
|
+
*/
|
|
323
|
+
icon?: ReactNode;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Accordion state
|
|
327
|
+
*/
|
|
328
|
+
interface AccordionState {
|
|
329
|
+
/**
|
|
330
|
+
* Whether the accordion is open
|
|
331
|
+
*/
|
|
332
|
+
isOpen: boolean;
|
|
333
|
+
/**
|
|
334
|
+
* Current panel height CSS value
|
|
335
|
+
*/
|
|
336
|
+
panelHeight: string;
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* Common element ref types
|
|
340
|
+
*/
|
|
341
|
+
interface ElementRefs {
|
|
342
|
+
panelRef?: React.RefObject<HTMLDivElement>;
|
|
343
|
+
contentRef?: React.RefObject<HTMLDivElement>;
|
|
344
|
+
buttonRef?: React.RefObject<HTMLButtonElement>;
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* Hero alignment options
|
|
348
|
+
*/
|
|
349
|
+
type HeroAlignment = 'left' | 'center' | 'right';
|
|
350
|
+
/**
|
|
351
|
+
* Hero component properties
|
|
352
|
+
*/
|
|
353
|
+
interface HeroProps extends BaseComponentProps {
|
|
354
|
+
/**
|
|
355
|
+
* Hero title
|
|
356
|
+
*/
|
|
357
|
+
title: string;
|
|
358
|
+
/**
|
|
359
|
+
* Hero subtitle
|
|
360
|
+
*/
|
|
361
|
+
subtitle?: string;
|
|
362
|
+
/**
|
|
363
|
+
* Hero text content
|
|
364
|
+
*/
|
|
365
|
+
text?: string;
|
|
366
|
+
/**
|
|
367
|
+
* Image source for the hero
|
|
368
|
+
*/
|
|
369
|
+
imageSrc?: string;
|
|
370
|
+
/**
|
|
371
|
+
* Image alt text
|
|
372
|
+
*/
|
|
373
|
+
imageAlt?: string;
|
|
374
|
+
/**
|
|
375
|
+
* Content alignment
|
|
376
|
+
*/
|
|
377
|
+
alignment?: HeroAlignment;
|
|
378
|
+
/**
|
|
379
|
+
* Background image source
|
|
380
|
+
*/
|
|
381
|
+
backgroundImageSrc?: string;
|
|
382
|
+
/**
|
|
383
|
+
* Whether to show the background overlay
|
|
384
|
+
*/
|
|
385
|
+
showOverlay?: boolean;
|
|
386
|
+
/**
|
|
387
|
+
* Whether the hero should take full viewport height
|
|
388
|
+
*/
|
|
389
|
+
fullViewportHeight?: boolean;
|
|
390
|
+
/**
|
|
391
|
+
* Actions to display in the hero
|
|
392
|
+
*/
|
|
393
|
+
actions?: ReactNode;
|
|
394
|
+
/**
|
|
395
|
+
* Custom grid column size for image (default is 7)
|
|
396
|
+
*/
|
|
397
|
+
imageColSize?: number;
|
|
398
|
+
/**
|
|
399
|
+
* Custom grid column size for content (default is 5)
|
|
400
|
+
*/
|
|
401
|
+
contentColSize?: number;
|
|
402
|
+
/**
|
|
403
|
+
* Custom width for the hero content (overrides the default CSS variable)
|
|
404
|
+
*/
|
|
405
|
+
contentWidth?: string;
|
|
406
|
+
/**
|
|
407
|
+
* Enable parallax effect on background image
|
|
408
|
+
*/
|
|
409
|
+
parallax?: boolean;
|
|
410
|
+
/**
|
|
411
|
+
* Parallax effect intensity (0-1)
|
|
412
|
+
*/
|
|
413
|
+
parallaxIntensity?: number;
|
|
414
|
+
/**
|
|
415
|
+
* Video background URL
|
|
416
|
+
*/
|
|
417
|
+
videoBackground?: string;
|
|
418
|
+
/**
|
|
419
|
+
* Video background options
|
|
420
|
+
*/
|
|
421
|
+
videoOptions?: {
|
|
422
|
+
/**
|
|
423
|
+
* Whether the video should autoplay
|
|
424
|
+
*/
|
|
425
|
+
autoplay?: boolean;
|
|
426
|
+
/**
|
|
427
|
+
* Whether the video should loop
|
|
428
|
+
*/
|
|
429
|
+
loop?: boolean;
|
|
430
|
+
/**
|
|
431
|
+
* Whether the video should be muted
|
|
432
|
+
*/
|
|
433
|
+
muted?: boolean;
|
|
434
|
+
/**
|
|
435
|
+
* Poster image URL for the video
|
|
436
|
+
*/
|
|
437
|
+
posterUrl?: string;
|
|
438
|
+
};
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* Spinner component properties
|
|
442
|
+
*/
|
|
443
|
+
interface SpinnerProps extends BaseComponentProps {
|
|
444
|
+
/**
|
|
445
|
+
* Spinner color variant
|
|
446
|
+
*/
|
|
447
|
+
variant?: ThemeColor;
|
|
448
|
+
/**
|
|
449
|
+
* Spinner size
|
|
450
|
+
*/
|
|
451
|
+
size?: Size;
|
|
452
|
+
/**
|
|
453
|
+
* Whether the spinner should be displayed fullscreen
|
|
454
|
+
*/
|
|
455
|
+
fullscreen?: boolean;
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* Navbar position options
|
|
459
|
+
*/
|
|
460
|
+
type NavbarPosition = 'static' | 'fixed' | 'fixed-bottom';
|
|
461
|
+
/**
|
|
462
|
+
* Nav item alignment options
|
|
463
|
+
*/
|
|
464
|
+
type NavAlignment = 'start' | 'center' | 'end';
|
|
465
|
+
/**
|
|
466
|
+
* Nav variant options
|
|
467
|
+
*/
|
|
468
|
+
type NavVariant = 'default' | 'float-top-center' | 'float-bottom-center';
|
|
469
|
+
/**
|
|
470
|
+
* Navbar component properties
|
|
471
|
+
*/
|
|
472
|
+
interface NavbarProps extends BaseComponentProps {
|
|
473
|
+
/**
|
|
474
|
+
* Brand/logo component or text
|
|
475
|
+
*/
|
|
476
|
+
brand?: ReactNode;
|
|
477
|
+
/**
|
|
478
|
+
* Navbar navigation items
|
|
479
|
+
*/
|
|
480
|
+
children?: ReactNode;
|
|
481
|
+
/**
|
|
482
|
+
* Optional variant/color scheme
|
|
483
|
+
*/
|
|
484
|
+
variant?: ThemeColor;
|
|
485
|
+
/**
|
|
486
|
+
* Navbar position
|
|
487
|
+
*/
|
|
488
|
+
position?: NavbarPosition;
|
|
489
|
+
/**
|
|
490
|
+
* Container max width (default is from settings)
|
|
491
|
+
*/
|
|
492
|
+
containerWidth?: string;
|
|
493
|
+
/**
|
|
494
|
+
* Whether to collapse navbar on mobile
|
|
495
|
+
*/
|
|
496
|
+
collapsible?: boolean;
|
|
497
|
+
/**
|
|
498
|
+
* Whether navbar is expanded (for controlled component)
|
|
499
|
+
*/
|
|
500
|
+
expanded?: boolean;
|
|
501
|
+
/**
|
|
502
|
+
* Callback when expansion state changes
|
|
503
|
+
*/
|
|
504
|
+
onToggle?: (expanded: boolean) => void;
|
|
505
|
+
/**
|
|
506
|
+
* Whether to show backdrop when expanded on mobile
|
|
507
|
+
*/
|
|
508
|
+
backdrop?: boolean;
|
|
509
|
+
/**
|
|
510
|
+
* Whether to close navbar when clicking outside
|
|
511
|
+
*/
|
|
512
|
+
closeOnOutsideClick?: boolean;
|
|
513
|
+
/**
|
|
514
|
+
* Whether to close navbar on escape key press
|
|
515
|
+
*/
|
|
516
|
+
closeOnEscape?: boolean;
|
|
517
|
+
/**
|
|
518
|
+
* Custom aria-label for the navigation
|
|
519
|
+
*/
|
|
520
|
+
ariaLabel?: string;
|
|
521
|
+
/**
|
|
522
|
+
* ID for the navbar (used for accessibility)
|
|
523
|
+
*/
|
|
524
|
+
id?: string;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* Nav component properties
|
|
528
|
+
*/
|
|
529
|
+
interface NavProps extends BaseComponentProps {
|
|
530
|
+
/**
|
|
531
|
+
* Navigation items
|
|
532
|
+
*/
|
|
533
|
+
children: ReactNode;
|
|
534
|
+
/**
|
|
535
|
+
* Alignment of nav items
|
|
536
|
+
*/
|
|
537
|
+
alignment?: NavAlignment;
|
|
538
|
+
/**
|
|
539
|
+
* Nav variant (including float variants)
|
|
540
|
+
*/
|
|
541
|
+
variant?: NavVariant;
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Nav item properties
|
|
545
|
+
*/
|
|
546
|
+
interface NavItemProps extends BaseComponentProps {
|
|
547
|
+
/**
|
|
548
|
+
* Item content
|
|
549
|
+
*/
|
|
550
|
+
children: ReactNode;
|
|
551
|
+
/**
|
|
552
|
+
* Whether this item has a dropdown
|
|
553
|
+
*/
|
|
554
|
+
dropdown?: boolean;
|
|
555
|
+
/**
|
|
556
|
+
* Whether this item has a mega menu
|
|
557
|
+
*/
|
|
558
|
+
megaMenu?: boolean;
|
|
559
|
+
/**
|
|
560
|
+
* Whether this item is active
|
|
561
|
+
*/
|
|
562
|
+
active?: boolean;
|
|
563
|
+
/**
|
|
564
|
+
* Optional href for link items
|
|
565
|
+
*/
|
|
566
|
+
href?: string;
|
|
567
|
+
/**
|
|
568
|
+
* Optional click handler
|
|
569
|
+
*/
|
|
570
|
+
onClick?: () => void;
|
|
571
|
+
/**
|
|
572
|
+
* Whether dropdown/mega menu is expanded
|
|
573
|
+
*/
|
|
574
|
+
'aria-expanded'?: boolean;
|
|
575
|
+
/**
|
|
576
|
+
* Optional custom link component
|
|
577
|
+
*/
|
|
578
|
+
LinkComponent?: React.ElementType;
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* Nav dropdown properties
|
|
582
|
+
*/
|
|
583
|
+
interface NavDropdownProps extends BaseComponentProps {
|
|
584
|
+
/**
|
|
585
|
+
* Dropdown title/trigger content
|
|
586
|
+
*/
|
|
587
|
+
title: ReactNode;
|
|
588
|
+
/**
|
|
589
|
+
* Dropdown menu items
|
|
590
|
+
*/
|
|
591
|
+
children: ReactNode;
|
|
592
|
+
/**
|
|
593
|
+
* Dropdown alignment
|
|
594
|
+
*/
|
|
595
|
+
alignment?: 'start' | 'center' | 'end';
|
|
596
|
+
/**
|
|
597
|
+
* Whether it's a mega menu (full width)
|
|
598
|
+
*/
|
|
599
|
+
megaMenu?: boolean;
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* Menu component properties
|
|
603
|
+
*/
|
|
604
|
+
interface MenuProps extends BaseComponentProps {
|
|
605
|
+
/**
|
|
606
|
+
* Menu content
|
|
607
|
+
*/
|
|
608
|
+
children: ReactNode;
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* Menu item properties
|
|
612
|
+
*/
|
|
613
|
+
interface MenuItemProps extends BaseComponentProps {
|
|
614
|
+
/**
|
|
615
|
+
* Item content
|
|
616
|
+
*/
|
|
617
|
+
children: ReactNode;
|
|
618
|
+
/**
|
|
619
|
+
* Item href
|
|
620
|
+
*/
|
|
621
|
+
href?: string;
|
|
622
|
+
/**
|
|
623
|
+
* Item icon
|
|
624
|
+
*/
|
|
625
|
+
icon?: ReactNode;
|
|
626
|
+
/**
|
|
627
|
+
* Whether item is active
|
|
628
|
+
*/
|
|
629
|
+
active?: boolean;
|
|
630
|
+
/**
|
|
631
|
+
* Item click handler
|
|
632
|
+
*/
|
|
633
|
+
onClick?: () => void;
|
|
634
|
+
}
|
|
635
|
+
/**
|
|
636
|
+
* MegaMenu component properties
|
|
637
|
+
*/
|
|
638
|
+
interface MegaMenuProps extends BaseComponentProps {
|
|
639
|
+
/**
|
|
640
|
+
* MegaMenu content
|
|
641
|
+
*/
|
|
642
|
+
children: ReactNode;
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* MegaMenu column properties
|
|
646
|
+
*/
|
|
647
|
+
interface MegaMenuColumnProps extends BaseComponentProps {
|
|
648
|
+
/**
|
|
649
|
+
* Column title
|
|
650
|
+
*/
|
|
651
|
+
title?: ReactNode;
|
|
652
|
+
/**
|
|
653
|
+
* Column icon
|
|
654
|
+
*/
|
|
655
|
+
icon?: ReactNode;
|
|
656
|
+
/**
|
|
657
|
+
* Column content
|
|
658
|
+
*/
|
|
659
|
+
children: ReactNode;
|
|
660
|
+
/**
|
|
661
|
+
* Column width (auto by default)
|
|
662
|
+
*/
|
|
663
|
+
width?: 'auto' | number;
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* MegaMenu link properties
|
|
667
|
+
*/
|
|
668
|
+
interface MegaMenuLinkProps extends BaseComponentProps {
|
|
669
|
+
/**
|
|
670
|
+
* Link href
|
|
671
|
+
*/
|
|
672
|
+
href: string;
|
|
673
|
+
/**
|
|
674
|
+
* Link content
|
|
675
|
+
*/
|
|
676
|
+
children: ReactNode;
|
|
677
|
+
/**
|
|
678
|
+
* Link click handler
|
|
679
|
+
*/
|
|
680
|
+
onClick?: () => void;
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* SideMenu component properties
|
|
684
|
+
*/
|
|
685
|
+
interface SideMenuProps extends BaseComponentProps {
|
|
686
|
+
/**
|
|
687
|
+
* Menu title displayed at the top
|
|
688
|
+
*/
|
|
689
|
+
title?: ReactNode;
|
|
690
|
+
/**
|
|
691
|
+
* Menu content (typically SideMenuList components)
|
|
692
|
+
*/
|
|
693
|
+
children: ReactNode;
|
|
694
|
+
/**
|
|
695
|
+
* Whether the menu is open (for controlled component)
|
|
696
|
+
*/
|
|
697
|
+
isOpen?: boolean;
|
|
698
|
+
/**
|
|
699
|
+
* Callback when menu open state changes
|
|
700
|
+
*/
|
|
701
|
+
onToggle?: (isOpen: boolean) => void;
|
|
702
|
+
/**
|
|
703
|
+
* Whether the menu is collapsible on mobile
|
|
704
|
+
*/
|
|
705
|
+
collapsible?: boolean;
|
|
706
|
+
/**
|
|
707
|
+
* Custom toggle icon
|
|
708
|
+
*/
|
|
709
|
+
toggleIcon?: ReactNode;
|
|
710
|
+
/**
|
|
711
|
+
* ID for the menu (used for accessibility)
|
|
712
|
+
*/
|
|
713
|
+
id?: string;
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* SideMenuList component properties
|
|
717
|
+
*/
|
|
718
|
+
interface SideMenuListProps extends BaseComponentProps {
|
|
719
|
+
/**
|
|
720
|
+
* List items (typically SideMenuItem components)
|
|
721
|
+
*/
|
|
722
|
+
children: ReactNode;
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* SideMenuItem component properties
|
|
726
|
+
*/
|
|
727
|
+
interface SideMenuItemProps extends BaseComponentProps {
|
|
728
|
+
/**
|
|
729
|
+
* Item content
|
|
730
|
+
*/
|
|
731
|
+
children: ReactNode;
|
|
732
|
+
/**
|
|
733
|
+
* Item href (renders as link)
|
|
734
|
+
*/
|
|
735
|
+
href?: string;
|
|
736
|
+
/**
|
|
737
|
+
* Item click handler (renders as button if no href)
|
|
738
|
+
*/
|
|
739
|
+
onClick?: (event: React.MouseEvent) => void;
|
|
740
|
+
/**
|
|
741
|
+
* Whether this item is active/current
|
|
742
|
+
*/
|
|
743
|
+
active?: boolean;
|
|
744
|
+
/**
|
|
745
|
+
* Optional icon for the item
|
|
746
|
+
*/
|
|
747
|
+
icon?: ReactNode;
|
|
748
|
+
/**
|
|
749
|
+
* Link target attribute
|
|
750
|
+
*/
|
|
751
|
+
target?: string;
|
|
752
|
+
/**
|
|
753
|
+
* Link rel attribute
|
|
754
|
+
*/
|
|
755
|
+
rel?: string;
|
|
756
|
+
/**
|
|
757
|
+
* Optional custom link component
|
|
758
|
+
*/
|
|
759
|
+
LinkComponent?: React.ElementType;
|
|
760
|
+
}
|
|
761
|
+
/**
|
|
762
|
+
* EdgePanel position options
|
|
763
|
+
*/
|
|
764
|
+
type EdgePanelPosition = 'start' | 'end' | 'top' | 'bottom';
|
|
765
|
+
/**
|
|
766
|
+
* EdgePanel animation mode options
|
|
767
|
+
*/
|
|
768
|
+
type EdgePanelMode = 'slide' | 'push' | 'none';
|
|
769
|
+
/**
|
|
770
|
+
* EdgePanel component properties
|
|
771
|
+
*/
|
|
772
|
+
interface EdgePanelProps extends BaseComponentProps {
|
|
773
|
+
/**
|
|
774
|
+
* Panel title
|
|
775
|
+
*/
|
|
776
|
+
title?: ReactNode;
|
|
777
|
+
/**
|
|
778
|
+
* Panel content
|
|
779
|
+
*/
|
|
780
|
+
children: ReactNode;
|
|
781
|
+
/**
|
|
782
|
+
* Panel position
|
|
783
|
+
*/
|
|
784
|
+
position?: EdgePanelPosition;
|
|
785
|
+
/**
|
|
786
|
+
* Animation mode
|
|
787
|
+
*/
|
|
788
|
+
mode?: EdgePanelMode;
|
|
789
|
+
/**
|
|
790
|
+
* Whether the panel is open
|
|
791
|
+
*/
|
|
792
|
+
isOpen?: boolean;
|
|
793
|
+
/**
|
|
794
|
+
* Open/close callback
|
|
795
|
+
*/
|
|
796
|
+
onOpenChange?: (open: boolean) => void;
|
|
797
|
+
/**
|
|
798
|
+
* Show backdrop
|
|
799
|
+
*/
|
|
800
|
+
backdrop?: boolean;
|
|
801
|
+
/**
|
|
802
|
+
* Close when clicking backdrop
|
|
803
|
+
*/
|
|
804
|
+
closeOnBackdropClick?: boolean;
|
|
805
|
+
/**
|
|
806
|
+
* Close when pressing escape key
|
|
807
|
+
*/
|
|
808
|
+
closeOnEscape?: boolean;
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* DataTable column definition
|
|
812
|
+
*/
|
|
813
|
+
interface DataTableColumn {
|
|
814
|
+
/**
|
|
815
|
+
* Unique identifier for the column
|
|
816
|
+
*/
|
|
817
|
+
key: string;
|
|
818
|
+
/**
|
|
819
|
+
* Display title for the column
|
|
820
|
+
*/
|
|
821
|
+
title: string;
|
|
822
|
+
/**
|
|
823
|
+
* Whether the column is sortable
|
|
824
|
+
*/
|
|
825
|
+
sortable?: boolean;
|
|
826
|
+
/**
|
|
827
|
+
* Whether the column is filterable
|
|
828
|
+
*/
|
|
829
|
+
filterable?: boolean;
|
|
830
|
+
/**
|
|
831
|
+
* Custom render function for the cell
|
|
832
|
+
*/
|
|
833
|
+
render?: (value: any, row: any) => React.ReactNode;
|
|
834
|
+
/**
|
|
835
|
+
* Width of the column (CSS value)
|
|
836
|
+
*/
|
|
837
|
+
width?: string;
|
|
838
|
+
}
|
|
839
|
+
/**
|
|
840
|
+
* Sort configuration
|
|
841
|
+
*/
|
|
842
|
+
interface SortConfig {
|
|
843
|
+
/**
|
|
844
|
+
* Column key to sort by
|
|
845
|
+
*/
|
|
846
|
+
key: string;
|
|
847
|
+
/**
|
|
848
|
+
* Sort direction
|
|
849
|
+
*/
|
|
850
|
+
direction: 'asc' | 'desc';
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
* DataTable component properties
|
|
854
|
+
*/
|
|
855
|
+
interface DataTableProps extends BaseComponentProps {
|
|
856
|
+
/**
|
|
857
|
+
* Data array to display in the table
|
|
858
|
+
*/
|
|
859
|
+
data: any[];
|
|
860
|
+
/**
|
|
861
|
+
* Column definitions
|
|
862
|
+
*/
|
|
863
|
+
columns: DataTableColumn[];
|
|
864
|
+
/**
|
|
865
|
+
* Whether the table is sortable
|
|
866
|
+
*/
|
|
867
|
+
sortable?: boolean;
|
|
868
|
+
/**
|
|
869
|
+
* Whether the table is filterable
|
|
870
|
+
*/
|
|
871
|
+
filterable?: boolean;
|
|
872
|
+
/**
|
|
873
|
+
* Whether the table is paginated
|
|
874
|
+
*/
|
|
875
|
+
paginated?: boolean;
|
|
876
|
+
/**
|
|
877
|
+
* Number of rows per page
|
|
878
|
+
*/
|
|
879
|
+
pageSize?: number;
|
|
880
|
+
/**
|
|
881
|
+
* Whether to show alternating row colors
|
|
882
|
+
*/
|
|
883
|
+
striped?: boolean;
|
|
884
|
+
/**
|
|
885
|
+
* Whether to show borders around cells
|
|
886
|
+
*/
|
|
887
|
+
bordered?: boolean;
|
|
888
|
+
/**
|
|
889
|
+
* Whether to use compact styling
|
|
890
|
+
*/
|
|
891
|
+
dense?: boolean;
|
|
892
|
+
/**
|
|
893
|
+
* Whether the table is in loading state
|
|
894
|
+
*/
|
|
895
|
+
loading?: boolean;
|
|
896
|
+
/**
|
|
897
|
+
* Message to display when there is no data
|
|
898
|
+
*/
|
|
899
|
+
emptyMessage?: string;
|
|
900
|
+
/**
|
|
901
|
+
* Callback when a row is clicked
|
|
902
|
+
*/
|
|
903
|
+
onRowClick?: (row: any) => void;
|
|
904
|
+
/**
|
|
905
|
+
* Callback when sorting changes
|
|
906
|
+
*/
|
|
907
|
+
onSort?: (sortConfig: SortConfig) => void;
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* Pagination component properties
|
|
911
|
+
*/
|
|
912
|
+
interface PaginationProps extends BaseComponentProps {
|
|
913
|
+
/**
|
|
914
|
+
* Current active page
|
|
915
|
+
*/
|
|
916
|
+
currentPage: number;
|
|
917
|
+
/**
|
|
918
|
+
* Total number of pages
|
|
919
|
+
*/
|
|
920
|
+
totalPages: number;
|
|
921
|
+
/**
|
|
922
|
+
* Callback function when page changes
|
|
923
|
+
*/
|
|
924
|
+
onPageChange: (page: number) => void;
|
|
925
|
+
/**
|
|
926
|
+
* Number of page links to show before and after current page
|
|
927
|
+
*/
|
|
928
|
+
siblingCount?: number;
|
|
929
|
+
/**
|
|
930
|
+
* Whether to show first/last page buttons
|
|
931
|
+
*/
|
|
932
|
+
showFirstLastButtons?: boolean;
|
|
933
|
+
/**
|
|
934
|
+
* Whether to show previous/next page buttons
|
|
935
|
+
*/
|
|
936
|
+
showPrevNextButtons?: boolean;
|
|
937
|
+
/**
|
|
938
|
+
* Custom class for the pagination container
|
|
939
|
+
*/
|
|
940
|
+
className?: string;
|
|
941
|
+
/**
|
|
942
|
+
* Size variant for the pagination component
|
|
943
|
+
*/
|
|
944
|
+
size?: Size;
|
|
945
|
+
/**
|
|
946
|
+
* Accessible label for the navigation element
|
|
947
|
+
*/
|
|
948
|
+
ariaLabel?: string;
|
|
949
|
+
}
|
|
950
|
+
/**
|
|
951
|
+
* Todo item data structure
|
|
952
|
+
*/
|
|
953
|
+
interface TodoItem {
|
|
954
|
+
/**
|
|
955
|
+
* Unique identifier for the todo
|
|
956
|
+
*/
|
|
957
|
+
id: string;
|
|
958
|
+
/**
|
|
959
|
+
* Todo item text
|
|
960
|
+
*/
|
|
961
|
+
text: string;
|
|
962
|
+
/**
|
|
963
|
+
* Whether the todo is completed
|
|
964
|
+
*/
|
|
965
|
+
completed: boolean;
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
* Todo component properties
|
|
969
|
+
*/
|
|
970
|
+
interface TodoProps extends BaseComponentProps {
|
|
971
|
+
/**
|
|
972
|
+
* List of todo items
|
|
973
|
+
*/
|
|
974
|
+
items: TodoItem[];
|
|
975
|
+
/**
|
|
976
|
+
* Callback when a todo item is added
|
|
977
|
+
*/
|
|
978
|
+
onAddTodo?: (text: string) => void;
|
|
979
|
+
/**
|
|
980
|
+
* Callback when a todo item is toggled
|
|
981
|
+
*/
|
|
982
|
+
onToggleTodo?: (id: string) => void;
|
|
983
|
+
/**
|
|
984
|
+
* Callback when a todo item is deleted
|
|
985
|
+
*/
|
|
986
|
+
onDeleteTodo?: (id: string) => void;
|
|
987
|
+
/**
|
|
988
|
+
* Title of the todo list
|
|
989
|
+
*/
|
|
990
|
+
title?: string;
|
|
991
|
+
/**
|
|
992
|
+
* Size variant for the todo component
|
|
993
|
+
*/
|
|
994
|
+
size?: Size;
|
|
995
|
+
/**
|
|
996
|
+
* Placeholder text for the new todo input
|
|
997
|
+
*/
|
|
998
|
+
placeholder?: string;
|
|
999
|
+
/**
|
|
1000
|
+
* Whether to show the completed todos
|
|
1001
|
+
*/
|
|
1002
|
+
showCompleted?: boolean;
|
|
1003
|
+
}
|
|
1004
|
+
/**
|
|
1005
|
+
* Form component properties
|
|
1006
|
+
*/
|
|
1007
|
+
interface FormProps extends BaseComponentProps {
|
|
1008
|
+
/**
|
|
1009
|
+
* Form content
|
|
1010
|
+
*/
|
|
1011
|
+
children: ReactNode;
|
|
1012
|
+
/**
|
|
1013
|
+
* Form submit handler
|
|
1014
|
+
*/
|
|
1015
|
+
onSubmit?: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
1016
|
+
/**
|
|
1017
|
+
* Form reset handler
|
|
1018
|
+
*/
|
|
1019
|
+
onReset?: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
1020
|
+
/**
|
|
1021
|
+
* Form ID
|
|
1022
|
+
*/
|
|
1023
|
+
id?: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* Form method
|
|
1026
|
+
*/
|
|
1027
|
+
method?: 'get' | 'post';
|
|
1028
|
+
/**
|
|
1029
|
+
* Form encoding type
|
|
1030
|
+
*/
|
|
1031
|
+
encType?: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* Whether to disable HTML5 validation
|
|
1034
|
+
*/
|
|
1035
|
+
noValidate?: boolean;
|
|
1036
|
+
/**
|
|
1037
|
+
* Form autocomplete setting
|
|
1038
|
+
*/
|
|
1039
|
+
autoComplete?: string;
|
|
1040
|
+
}
|
|
1041
|
+
/**
|
|
1042
|
+
* Form Group component properties
|
|
1043
|
+
*/
|
|
1044
|
+
interface FormGroupProps extends BaseComponentProps {
|
|
1045
|
+
/**
|
|
1046
|
+
* Form control content
|
|
1047
|
+
*/
|
|
1048
|
+
children: ReactNode;
|
|
1049
|
+
/**
|
|
1050
|
+
* Label text
|
|
1051
|
+
*/
|
|
1052
|
+
label?: string;
|
|
1053
|
+
/**
|
|
1054
|
+
* Helper text displayed below the input
|
|
1055
|
+
*/
|
|
1056
|
+
helperText?: ReactNode;
|
|
1057
|
+
/**
|
|
1058
|
+
* ID of the form control this label is for
|
|
1059
|
+
*/
|
|
1060
|
+
htmlFor?: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Whether the field is required
|
|
1063
|
+
*/
|
|
1064
|
+
required?: boolean;
|
|
1065
|
+
/**
|
|
1066
|
+
* Whether the field is invalid
|
|
1067
|
+
*/
|
|
1068
|
+
invalid?: boolean;
|
|
1069
|
+
/**
|
|
1070
|
+
* Whether the field is valid
|
|
1071
|
+
*/
|
|
1072
|
+
valid?: boolean;
|
|
1073
|
+
/**
|
|
1074
|
+
* Size variant
|
|
1075
|
+
*/
|
|
1076
|
+
size?: Size;
|
|
1077
|
+
}
|
|
1078
|
+
/**
|
|
1079
|
+
* Input component properties
|
|
1080
|
+
*/
|
|
1081
|
+
interface InputProps extends BaseComponentProps {
|
|
1082
|
+
/**
|
|
1083
|
+
* Input type
|
|
1084
|
+
*/
|
|
1085
|
+
type?: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* Input value
|
|
1088
|
+
*/
|
|
1089
|
+
value?: string | number;
|
|
1090
|
+
/**
|
|
1091
|
+
* Change handler
|
|
1092
|
+
*/
|
|
1093
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
1094
|
+
/**
|
|
1095
|
+
* Blur handler
|
|
1096
|
+
*/
|
|
1097
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
1098
|
+
/**
|
|
1099
|
+
* Focus handler
|
|
1100
|
+
*/
|
|
1101
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
1102
|
+
/**
|
|
1103
|
+
* Placeholder text
|
|
1104
|
+
*/
|
|
1105
|
+
placeholder?: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* Whether the input is required
|
|
1108
|
+
*/
|
|
1109
|
+
required?: boolean;
|
|
1110
|
+
/**
|
|
1111
|
+
* Whether the input is read-only
|
|
1112
|
+
*/
|
|
1113
|
+
readOnly?: boolean;
|
|
1114
|
+
/**
|
|
1115
|
+
* Input ID
|
|
1116
|
+
*/
|
|
1117
|
+
id?: string;
|
|
1118
|
+
/**
|
|
1119
|
+
* Input name
|
|
1120
|
+
*/
|
|
1121
|
+
name?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* Autocomplete attribute
|
|
1124
|
+
*/
|
|
1125
|
+
autoComplete?: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* Whether the input should receive focus on render
|
|
1128
|
+
*/
|
|
1129
|
+
autoFocus?: boolean;
|
|
1130
|
+
/**
|
|
1131
|
+
* Size variant
|
|
1132
|
+
*/
|
|
1133
|
+
size?: Size;
|
|
1134
|
+
/**
|
|
1135
|
+
* Color variant
|
|
1136
|
+
*/
|
|
1137
|
+
variant?: ThemeColor;
|
|
1138
|
+
/**
|
|
1139
|
+
* Whether the input is invalid
|
|
1140
|
+
*/
|
|
1141
|
+
invalid?: boolean;
|
|
1142
|
+
/**
|
|
1143
|
+
* Whether the input is valid
|
|
1144
|
+
*/
|
|
1145
|
+
valid?: boolean;
|
|
1146
|
+
/**
|
|
1147
|
+
* Maximum length
|
|
1148
|
+
*/
|
|
1149
|
+
maxLength?: number;
|
|
1150
|
+
/**
|
|
1151
|
+
* Minimum length
|
|
1152
|
+
*/
|
|
1153
|
+
minLength?: number;
|
|
1154
|
+
/**
|
|
1155
|
+
* Input pattern
|
|
1156
|
+
*/
|
|
1157
|
+
pattern?: string;
|
|
1158
|
+
/**
|
|
1159
|
+
* Minimum value (for number inputs)
|
|
1160
|
+
*/
|
|
1161
|
+
min?: number | string;
|
|
1162
|
+
/**
|
|
1163
|
+
* Maximum value (for number inputs)
|
|
1164
|
+
*/
|
|
1165
|
+
max?: number | string;
|
|
1166
|
+
/**
|
|
1167
|
+
* Step value (for number inputs)
|
|
1168
|
+
*/
|
|
1169
|
+
step?: number | string;
|
|
1170
|
+
/**
|
|
1171
|
+
* Accessible label (if no visible label)
|
|
1172
|
+
*/
|
|
1173
|
+
ariaLabel?: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* ID of element that describes this input
|
|
1176
|
+
*/
|
|
1177
|
+
ariaDescribedBy?: string;
|
|
1178
|
+
}
|
|
1179
|
+
/**
|
|
1180
|
+
* Select option
|
|
1181
|
+
*/
|
|
1182
|
+
interface SelectOption {
|
|
1183
|
+
/**
|
|
1184
|
+
* Option value
|
|
1185
|
+
*/
|
|
1186
|
+
value: string;
|
|
1187
|
+
/**
|
|
1188
|
+
* Option display label
|
|
1189
|
+
*/
|
|
1190
|
+
label: string;
|
|
1191
|
+
/**
|
|
1192
|
+
* Whether the option is disabled
|
|
1193
|
+
*/
|
|
1194
|
+
disabled?: boolean;
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* Select component properties
|
|
1198
|
+
*/
|
|
1199
|
+
interface SelectProps extends BaseComponentProps {
|
|
1200
|
+
/**
|
|
1201
|
+
* Select options
|
|
1202
|
+
*/
|
|
1203
|
+
options: SelectOption[];
|
|
1204
|
+
/**
|
|
1205
|
+
* Selected value(s)
|
|
1206
|
+
*/
|
|
1207
|
+
value?: string | string[];
|
|
1208
|
+
/**
|
|
1209
|
+
* Change handler
|
|
1210
|
+
*/
|
|
1211
|
+
onChange?: (event: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
1212
|
+
/**
|
|
1213
|
+
* Blur handler
|
|
1214
|
+
*/
|
|
1215
|
+
onBlur?: (event: React.FocusEvent<HTMLSelectElement>) => void;
|
|
1216
|
+
/**
|
|
1217
|
+
* Focus handler
|
|
1218
|
+
*/
|
|
1219
|
+
onFocus?: (event: React.FocusEvent<HTMLSelectElement>) => void;
|
|
1220
|
+
/**
|
|
1221
|
+
* Placeholder text
|
|
1222
|
+
*/
|
|
1223
|
+
placeholder?: string;
|
|
1224
|
+
/**
|
|
1225
|
+
* Whether the select is required
|
|
1226
|
+
*/
|
|
1227
|
+
required?: boolean;
|
|
1228
|
+
/**
|
|
1229
|
+
* Select ID
|
|
1230
|
+
*/
|
|
1231
|
+
id?: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* Select name
|
|
1234
|
+
*/
|
|
1235
|
+
name?: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* Size variant
|
|
1238
|
+
*/
|
|
1239
|
+
size?: Size;
|
|
1240
|
+
/**
|
|
1241
|
+
* Whether the select is invalid
|
|
1242
|
+
*/
|
|
1243
|
+
invalid?: boolean;
|
|
1244
|
+
/**
|
|
1245
|
+
* Whether the select is valid
|
|
1246
|
+
*/
|
|
1247
|
+
valid?: boolean;
|
|
1248
|
+
/**
|
|
1249
|
+
* Whether multiple options can be selected
|
|
1250
|
+
*/
|
|
1251
|
+
multiple?: boolean;
|
|
1252
|
+
/**
|
|
1253
|
+
* Accessible label (if no visible label)
|
|
1254
|
+
*/
|
|
1255
|
+
ariaLabel?: string;
|
|
1256
|
+
/**
|
|
1257
|
+
* ID of element that describes this select
|
|
1258
|
+
*/
|
|
1259
|
+
ariaDescribedBy?: string;
|
|
1260
|
+
}
|
|
1261
|
+
/**
|
|
1262
|
+
* Checkbox component properties
|
|
1263
|
+
*/
|
|
1264
|
+
interface CheckboxProps extends BaseComponentProps {
|
|
1265
|
+
/**
|
|
1266
|
+
* Checkbox label
|
|
1267
|
+
*/
|
|
1268
|
+
label?: ReactNode;
|
|
1269
|
+
/**
|
|
1270
|
+
* Whether the checkbox is checked
|
|
1271
|
+
*/
|
|
1272
|
+
checked?: boolean;
|
|
1273
|
+
/**
|
|
1274
|
+
* Change handler
|
|
1275
|
+
*/
|
|
1276
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
1277
|
+
/**
|
|
1278
|
+
* Whether the checkbox is required
|
|
1279
|
+
*/
|
|
1280
|
+
required?: boolean;
|
|
1281
|
+
/**
|
|
1282
|
+
* Checkbox ID
|
|
1283
|
+
*/
|
|
1284
|
+
id?: string;
|
|
1285
|
+
/**
|
|
1286
|
+
* Checkbox name
|
|
1287
|
+
*/
|
|
1288
|
+
name?: string;
|
|
1289
|
+
/**
|
|
1290
|
+
* Checkbox value
|
|
1291
|
+
*/
|
|
1292
|
+
value?: string;
|
|
1293
|
+
/**
|
|
1294
|
+
* Whether the checkbox is invalid
|
|
1295
|
+
*/
|
|
1296
|
+
invalid?: boolean;
|
|
1297
|
+
/**
|
|
1298
|
+
* Whether the checkbox is valid
|
|
1299
|
+
*/
|
|
1300
|
+
valid?: boolean;
|
|
1301
|
+
/**
|
|
1302
|
+
* Whether the checkbox is in indeterminate state
|
|
1303
|
+
*/
|
|
1304
|
+
indeterminate?: boolean;
|
|
1305
|
+
/**
|
|
1306
|
+
* Accessible label (if no visible label)
|
|
1307
|
+
*/
|
|
1308
|
+
ariaLabel?: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* ID of element that describes this checkbox
|
|
1311
|
+
*/
|
|
1312
|
+
ariaDescribedBy?: string;
|
|
1313
|
+
}
|
|
1314
|
+
/**
|
|
1315
|
+
* Radio component properties
|
|
1316
|
+
*/
|
|
1317
|
+
interface RadioProps extends BaseComponentProps {
|
|
1318
|
+
/**
|
|
1319
|
+
* Radio label
|
|
1320
|
+
*/
|
|
1321
|
+
label?: ReactNode;
|
|
1322
|
+
/**
|
|
1323
|
+
* Whether the radio is checked
|
|
1324
|
+
*/
|
|
1325
|
+
checked?: boolean;
|
|
1326
|
+
/**
|
|
1327
|
+
* Change handler
|
|
1328
|
+
*/
|
|
1329
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
1330
|
+
/**
|
|
1331
|
+
* Whether the radio is required
|
|
1332
|
+
*/
|
|
1333
|
+
required?: boolean;
|
|
1334
|
+
/**
|
|
1335
|
+
* Radio ID
|
|
1336
|
+
*/
|
|
1337
|
+
id?: string;
|
|
1338
|
+
/**
|
|
1339
|
+
* Radio name
|
|
1340
|
+
*/
|
|
1341
|
+
name?: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* Radio value
|
|
1344
|
+
*/
|
|
1345
|
+
value?: string;
|
|
1346
|
+
/**
|
|
1347
|
+
* Whether the radio is invalid
|
|
1348
|
+
*/
|
|
1349
|
+
invalid?: boolean;
|
|
1350
|
+
/**
|
|
1351
|
+
* Whether the radio is valid
|
|
1352
|
+
*/
|
|
1353
|
+
valid?: boolean;
|
|
1354
|
+
/**
|
|
1355
|
+
* Accessible label (if no visible label)
|
|
1356
|
+
*/
|
|
1357
|
+
ariaLabel?: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* ID of element that describes this radio
|
|
1360
|
+
*/
|
|
1361
|
+
ariaDescribedBy?: string;
|
|
1362
|
+
}
|
|
1363
|
+
/**
|
|
1364
|
+
* Textarea component properties
|
|
1365
|
+
*/
|
|
1366
|
+
interface TextareaProps extends BaseComponentProps {
|
|
1367
|
+
/**
|
|
1368
|
+
* Textarea value
|
|
1369
|
+
*/
|
|
1370
|
+
value?: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* Change handler
|
|
1373
|
+
*/
|
|
1374
|
+
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
1375
|
+
/**
|
|
1376
|
+
* Blur handler
|
|
1377
|
+
*/
|
|
1378
|
+
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
1379
|
+
/**
|
|
1380
|
+
* Focus handler
|
|
1381
|
+
*/
|
|
1382
|
+
onFocus?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
1383
|
+
/**
|
|
1384
|
+
* Placeholder text
|
|
1385
|
+
*/
|
|
1386
|
+
placeholder?: string;
|
|
1387
|
+
/**
|
|
1388
|
+
* Whether the textarea is required
|
|
1389
|
+
*/
|
|
1390
|
+
required?: boolean;
|
|
1391
|
+
/**
|
|
1392
|
+
* Whether the textarea is read-only
|
|
1393
|
+
*/
|
|
1394
|
+
readOnly?: boolean;
|
|
1395
|
+
/**
|
|
1396
|
+
* Textarea ID
|
|
1397
|
+
*/
|
|
1398
|
+
id?: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* Textarea name
|
|
1401
|
+
*/
|
|
1402
|
+
name?: string;
|
|
1403
|
+
/**
|
|
1404
|
+
* Number of rows
|
|
1405
|
+
*/
|
|
1406
|
+
rows?: number;
|
|
1407
|
+
/**
|
|
1408
|
+
* Number of columns
|
|
1409
|
+
*/
|
|
1410
|
+
cols?: number;
|
|
1411
|
+
/**
|
|
1412
|
+
* Maximum length
|
|
1413
|
+
*/
|
|
1414
|
+
maxLength?: number;
|
|
1415
|
+
/**
|
|
1416
|
+
* Minimum length
|
|
1417
|
+
*/
|
|
1418
|
+
minLength?: number;
|
|
1419
|
+
/**
|
|
1420
|
+
* Size variant
|
|
1421
|
+
*/
|
|
1422
|
+
size?: Size;
|
|
1423
|
+
/**
|
|
1424
|
+
* Color variant
|
|
1425
|
+
*/
|
|
1426
|
+
variant?: ThemeColor;
|
|
1427
|
+
/**
|
|
1428
|
+
* Whether the textarea is invalid
|
|
1429
|
+
*/
|
|
1430
|
+
invalid?: boolean;
|
|
1431
|
+
/**
|
|
1432
|
+
* Whether the textarea is valid
|
|
1433
|
+
*/
|
|
1434
|
+
valid?: boolean;
|
|
1435
|
+
/**
|
|
1436
|
+
* Whether the textarea should receive focus on render
|
|
1437
|
+
*/
|
|
1438
|
+
autoFocus?: boolean;
|
|
1439
|
+
/**
|
|
1440
|
+
* Accessible label (if no visible label)
|
|
1441
|
+
*/
|
|
1442
|
+
ariaLabel?: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* ID of element that describes this textarea
|
|
1445
|
+
*/
|
|
1446
|
+
ariaDescribedBy?: string;
|
|
1447
|
+
}
|
|
1448
|
+
/**
|
|
1449
|
+
* Avatar size options
|
|
1450
|
+
*/
|
|
1451
|
+
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1452
|
+
/**
|
|
1453
|
+
* Avatar component properties
|
|
1454
|
+
*/
|
|
1455
|
+
interface AvatarProps extends BaseComponentProps {
|
|
1456
|
+
/**
|
|
1457
|
+
* Avatar image source URL
|
|
1458
|
+
*/
|
|
1459
|
+
src?: string;
|
|
1460
|
+
/**
|
|
1461
|
+
* Alt text for the avatar image
|
|
1462
|
+
*/
|
|
1463
|
+
alt?: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* Initials to display when no image is available
|
|
1466
|
+
*/
|
|
1467
|
+
initials?: string;
|
|
1468
|
+
/**
|
|
1469
|
+
* Icon to display when no image or initials are available
|
|
1470
|
+
*/
|
|
1471
|
+
icon?: ReactNode;
|
|
1472
|
+
/**
|
|
1473
|
+
* Size variant for the avatar
|
|
1474
|
+
*/
|
|
1475
|
+
size?: AvatarSize;
|
|
1476
|
+
/**
|
|
1477
|
+
* Whether to make the avatar circular
|
|
1478
|
+
*/
|
|
1479
|
+
circle?: boolean;
|
|
1480
|
+
/**
|
|
1481
|
+
* Optional click handler
|
|
1482
|
+
*/
|
|
1483
|
+
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
1484
|
+
}
|
|
1485
|
+
/**
|
|
1486
|
+
* Avatar Group component properties
|
|
1487
|
+
*/
|
|
1488
|
+
interface AvatarGroupProps extends BaseComponentProps {
|
|
1489
|
+
/**
|
|
1490
|
+
* Child Avatar components
|
|
1491
|
+
*/
|
|
1492
|
+
children: ReactNode;
|
|
1493
|
+
/**
|
|
1494
|
+
* Maximum number of avatars to display before showing a "+X" indicator
|
|
1495
|
+
*/
|
|
1496
|
+
max?: number;
|
|
1497
|
+
/**
|
|
1498
|
+
* Whether to display avatars in a stacked formation
|
|
1499
|
+
*/
|
|
1500
|
+
stacked?: boolean;
|
|
1501
|
+
/**
|
|
1502
|
+
* Custom text for the "more" indicator
|
|
1503
|
+
*/
|
|
1504
|
+
moreText?: string;
|
|
1505
|
+
}
|
|
1506
|
+
/**
|
|
1507
|
+
* Modal component props
|
|
1508
|
+
*/
|
|
1509
|
+
interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
1510
|
+
/**
|
|
1511
|
+
* Whether the modal is open
|
|
1512
|
+
*/
|
|
1513
|
+
isOpen?: boolean;
|
|
1514
|
+
/**
|
|
1515
|
+
* Callback when the modal's open state changes
|
|
1516
|
+
*/
|
|
1517
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
1518
|
+
/**
|
|
1519
|
+
* Callback when the modal is opened
|
|
1520
|
+
*/
|
|
1521
|
+
onOpen?: () => void;
|
|
1522
|
+
/**
|
|
1523
|
+
* Callback when the modal is closed
|
|
1524
|
+
*/
|
|
1525
|
+
onClose?: () => void;
|
|
1526
|
+
/**
|
|
1527
|
+
* Modal title displayed in the header
|
|
1528
|
+
*/
|
|
1529
|
+
title?: React.ReactNode;
|
|
1530
|
+
/**
|
|
1531
|
+
* Modal subtitle displayed below the title
|
|
1532
|
+
*/
|
|
1533
|
+
subtitle?: React.ReactNode;
|
|
1534
|
+
/**
|
|
1535
|
+
* Modal size
|
|
1536
|
+
*/
|
|
1537
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
1538
|
+
/**
|
|
1539
|
+
* Whether to close when backdrop is clicked
|
|
1540
|
+
*/
|
|
1541
|
+
backdrop?: boolean;
|
|
1542
|
+
/**
|
|
1543
|
+
* Whether to close when the escape key is pressed
|
|
1544
|
+
*/
|
|
1545
|
+
keyboard?: boolean;
|
|
1546
|
+
/**
|
|
1547
|
+
* Whether to show the close button
|
|
1548
|
+
*/
|
|
1549
|
+
closeButton?: boolean;
|
|
1550
|
+
/**
|
|
1551
|
+
* Content for the modal footer
|
|
1552
|
+
*/
|
|
1553
|
+
footer?: React.ReactNode;
|
|
1554
|
+
}
|
|
1555
|
+
/**
|
|
1556
|
+
* Breadcrumb item interface
|
|
1557
|
+
*/
|
|
1558
|
+
interface BreadcrumbItem$2 {
|
|
1559
|
+
/**
|
|
1560
|
+
* Item label text
|
|
1561
|
+
*/
|
|
1562
|
+
label: string;
|
|
1563
|
+
/**
|
|
1564
|
+
* Optional URL for the breadcrumb item
|
|
1565
|
+
*/
|
|
1566
|
+
href?: string;
|
|
1567
|
+
/**
|
|
1568
|
+
* Whether this item is active/current
|
|
1569
|
+
*/
|
|
1570
|
+
active?: boolean;
|
|
1571
|
+
/**
|
|
1572
|
+
* Icon name from Phosphor Icons
|
|
1573
|
+
*/
|
|
1574
|
+
icon?: string;
|
|
1575
|
+
/**
|
|
1576
|
+
* Optional click handler
|
|
1577
|
+
*/
|
|
1578
|
+
onClick?: (event: MouseEvent) => void;
|
|
1579
|
+
}
|
|
1580
|
+
/**
|
|
1581
|
+
* Breadcrumb options interface
|
|
1582
|
+
*/
|
|
1583
|
+
interface BreadcrumbOptions$1 {
|
|
1584
|
+
/**
|
|
1585
|
+
* Array of breadcrumb items
|
|
1586
|
+
*/
|
|
1587
|
+
items?: BreadcrumbItem$2[];
|
|
1588
|
+
/**
|
|
1589
|
+
* Divider character or string between items
|
|
1590
|
+
*/
|
|
1591
|
+
divider?: string;
|
|
1592
|
+
/**
|
|
1593
|
+
* Additional CSS class names
|
|
1594
|
+
*/
|
|
1595
|
+
className?: string;
|
|
1596
|
+
/**
|
|
1597
|
+
* Accessible label for the breadcrumb navigation
|
|
1598
|
+
*/
|
|
1599
|
+
ariaLabel?: string;
|
|
1600
|
+
}
|
|
1601
|
+
/**
|
|
1602
|
+
* Breadcrumb instance interface
|
|
1603
|
+
*/
|
|
1604
|
+
interface BreadcrumbInstance {
|
|
1605
|
+
/**
|
|
1606
|
+
* Update the breadcrumb with new options
|
|
1607
|
+
*/
|
|
1608
|
+
update: (options: Partial<BreadcrumbOptions$1>) => void;
|
|
1609
|
+
/**
|
|
1610
|
+
* Destroy the breadcrumb component
|
|
1611
|
+
*/
|
|
1612
|
+
destroy: () => void;
|
|
1613
|
+
}
|
|
1614
|
+
/**
|
|
1615
|
+
* Message item interface
|
|
1616
|
+
*/
|
|
1617
|
+
interface MessageItem {
|
|
1618
|
+
/**
|
|
1619
|
+
* Unique identifier for the message
|
|
1620
|
+
*/
|
|
1621
|
+
id: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* Message text content
|
|
1624
|
+
*/
|
|
1625
|
+
text?: string;
|
|
1626
|
+
/**
|
|
1627
|
+
* Image URL for image messages
|
|
1628
|
+
*/
|
|
1629
|
+
image?: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* File information for file messages
|
|
1632
|
+
*/
|
|
1633
|
+
file?: {
|
|
1634
|
+
/**
|
|
1635
|
+
* File name
|
|
1636
|
+
*/
|
|
1637
|
+
name: string;
|
|
1638
|
+
/**
|
|
1639
|
+
* File size (formatted string)
|
|
1640
|
+
*/
|
|
1641
|
+
size: string;
|
|
1642
|
+
};
|
|
1643
|
+
/**
|
|
1644
|
+
* Message timestamp
|
|
1645
|
+
*/
|
|
1646
|
+
time: string;
|
|
1647
|
+
/**
|
|
1648
|
+
* Whether the message is from the current user
|
|
1649
|
+
*/
|
|
1650
|
+
isSelf?: boolean;
|
|
1651
|
+
}
|
|
1652
|
+
/**
|
|
1653
|
+
* Messages component properties
|
|
1654
|
+
*/
|
|
1655
|
+
interface MessagesProps extends BaseComponentProps {
|
|
1656
|
+
/**
|
|
1657
|
+
* Array of message items to display
|
|
1658
|
+
*/
|
|
1659
|
+
messages: MessageItem[];
|
|
1660
|
+
/**
|
|
1661
|
+
* Avatar image URL for the other person
|
|
1662
|
+
*/
|
|
1663
|
+
otherAvatar?: string;
|
|
1664
|
+
/**
|
|
1665
|
+
* Avatar image URL for the current user
|
|
1666
|
+
*/
|
|
1667
|
+
selfAvatar?: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* Name of the other person
|
|
1670
|
+
*/
|
|
1671
|
+
otherName?: string;
|
|
1672
|
+
/**
|
|
1673
|
+
* Custom width for the messages container
|
|
1674
|
+
*/
|
|
1675
|
+
width?: string;
|
|
1676
|
+
/**
|
|
1677
|
+
* Callback when a new message is sent
|
|
1678
|
+
*/
|
|
1679
|
+
onSendMessage?: (text: string) => void;
|
|
1680
|
+
/**
|
|
1681
|
+
* Placeholder text for the input field
|
|
1682
|
+
*/
|
|
1683
|
+
placeholder?: string;
|
|
1684
|
+
/**
|
|
1685
|
+
* Maximum height for the messages body
|
|
1686
|
+
*/
|
|
1687
|
+
bodyHeight?: string;
|
|
1688
|
+
/**
|
|
1689
|
+
* Unique identifier for the messages component
|
|
1690
|
+
*/
|
|
1691
|
+
id?: string;
|
|
1692
|
+
}
|
|
1693
|
+
/**
|
|
1694
|
+
* Popover component properties
|
|
1695
|
+
*/
|
|
1696
|
+
interface PopoverTriggerProps {
|
|
1697
|
+
/**
|
|
1698
|
+
* The element that will trigger the popover
|
|
1699
|
+
*/
|
|
1700
|
+
children: ReactNode;
|
|
1701
|
+
/**
|
|
1702
|
+
* How the popover is triggered
|
|
1703
|
+
*/
|
|
1704
|
+
trigger?: 'hover' | 'click';
|
|
1705
|
+
/**
|
|
1706
|
+
* Popover reference passed from PopoverContext
|
|
1707
|
+
*/
|
|
1708
|
+
popoverId?: string;
|
|
1709
|
+
}
|
|
1710
|
+
interface PopoverProps {
|
|
1711
|
+
/**
|
|
1712
|
+
* Content to be displayed in the popover
|
|
1713
|
+
*/
|
|
1714
|
+
content: ReactNode;
|
|
1715
|
+
/**
|
|
1716
|
+
* The position of the popover relative to the trigger
|
|
1717
|
+
*/
|
|
1718
|
+
position?: 'top' | 'bottom' | 'left' | 'right' | 'auto';
|
|
1719
|
+
/**
|
|
1720
|
+
* How the popover is triggered
|
|
1721
|
+
*/
|
|
1722
|
+
trigger?: 'hover' | 'click';
|
|
1723
|
+
/**
|
|
1724
|
+
* Additional CSS class for the popover
|
|
1725
|
+
*/
|
|
1726
|
+
className?: string;
|
|
1727
|
+
/**
|
|
1728
|
+
* Delay before showing the popover (in milliseconds)
|
|
1729
|
+
*/
|
|
1730
|
+
delay?: number;
|
|
1731
|
+
/**
|
|
1732
|
+
* Offset from the trigger element (in pixels)
|
|
1733
|
+
*/
|
|
1734
|
+
offset?: number;
|
|
1735
|
+
/**
|
|
1736
|
+
* Whether the popover should be open initially
|
|
1737
|
+
*/
|
|
1738
|
+
defaultOpen?: boolean;
|
|
1739
|
+
/**
|
|
1740
|
+
* Controlled state of the popover
|
|
1741
|
+
*/
|
|
1742
|
+
isOpen?: boolean;
|
|
1743
|
+
/**
|
|
1744
|
+
* Callback when the popover open state changes
|
|
1745
|
+
*/
|
|
1746
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
1747
|
+
/**
|
|
1748
|
+
* Whether to close the popover when clicking outside
|
|
1749
|
+
*/
|
|
1750
|
+
closeOnClickOutside?: boolean;
|
|
1751
|
+
/**
|
|
1752
|
+
* Whether to close the popover when pressing escape key
|
|
1753
|
+
*/
|
|
1754
|
+
closeOnEscape?: boolean;
|
|
1755
|
+
/**
|
|
1756
|
+
* Optional ID for the popover
|
|
1757
|
+
*/
|
|
1758
|
+
id?: string;
|
|
1759
|
+
/**
|
|
1760
|
+
* Children content (removed in favor of using PopoverTrigger)
|
|
1761
|
+
*/
|
|
1762
|
+
children?: ReactNode;
|
|
1763
|
+
}
|
|
1764
|
+
/**
|
|
1765
|
+
* The trigger method for the dropdown menu
|
|
1766
|
+
*/
|
|
1767
|
+
type DropdownTrigger = 'click' | 'hover';
|
|
1768
|
+
/**
|
|
1769
|
+
* The placement of the dropdown menu
|
|
1770
|
+
*/
|
|
1771
|
+
type DropdownPlacement = 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
1772
|
+
/**
|
|
1773
|
+
* Dropdown component properties
|
|
1774
|
+
*/
|
|
1775
|
+
interface DropdownProps extends BaseComponentProps {
|
|
1776
|
+
/**
|
|
1777
|
+
* Dropdown trigger element
|
|
1778
|
+
*/
|
|
1779
|
+
children: ReactNode;
|
|
1780
|
+
/**
|
|
1781
|
+
* Dropdown menu content
|
|
1782
|
+
*/
|
|
1783
|
+
menu: ReactNode;
|
|
1784
|
+
/**
|
|
1785
|
+
* How the dropdown is triggered
|
|
1786
|
+
*/
|
|
1787
|
+
trigger?: DropdownTrigger;
|
|
1788
|
+
/**
|
|
1789
|
+
* The placement of the dropdown menu
|
|
1790
|
+
*/
|
|
1791
|
+
placement?: DropdownPlacement;
|
|
1792
|
+
/**
|
|
1793
|
+
* Whether the dropdown is initially open
|
|
1794
|
+
*/
|
|
1795
|
+
defaultOpen?: boolean;
|
|
1796
|
+
/**
|
|
1797
|
+
* Controlled state of the dropdown
|
|
1798
|
+
*/
|
|
1799
|
+
isOpen?: boolean;
|
|
1800
|
+
/**
|
|
1801
|
+
* Callback when the dropdown open state changes
|
|
1802
|
+
*/
|
|
1803
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
1804
|
+
/**
|
|
1805
|
+
* Offset from the trigger element (in pixels)
|
|
1806
|
+
*/
|
|
1807
|
+
offset?: number;
|
|
1808
|
+
/**
|
|
1809
|
+
* Whether the dropdown should be closed when clicking outside
|
|
1810
|
+
*/
|
|
1811
|
+
closeOnClickOutside?: boolean;
|
|
1812
|
+
/**
|
|
1813
|
+
* Whether the dropdown should be closed when pressing escape key
|
|
1814
|
+
*/
|
|
1815
|
+
closeOnEscape?: boolean;
|
|
1816
|
+
/**
|
|
1817
|
+
* Max height for the dropdown menu
|
|
1818
|
+
*/
|
|
1819
|
+
maxHeight?: string;
|
|
1820
|
+
/**
|
|
1821
|
+
* Min width for the dropdown menu
|
|
1822
|
+
*/
|
|
1823
|
+
minWidth?: string | number;
|
|
1824
|
+
/**
|
|
1825
|
+
* Color variant for the dropdown trigger
|
|
1826
|
+
*/
|
|
1827
|
+
variant?: ThemeColor;
|
|
1828
|
+
/**
|
|
1829
|
+
* Optional ID for the dropdown
|
|
1830
|
+
*/
|
|
1831
|
+
id?: string;
|
|
1832
|
+
}
|
|
1833
|
+
/**
|
|
1834
|
+
* Dropdown menu item properties
|
|
1835
|
+
*/
|
|
1836
|
+
interface DropdownItemProps extends BaseComponentProps {
|
|
1837
|
+
/**
|
|
1838
|
+
* Item content
|
|
1839
|
+
*/
|
|
1840
|
+
children: ReactNode;
|
|
1841
|
+
/**
|
|
1842
|
+
* Item href
|
|
1843
|
+
*/
|
|
1844
|
+
href?: string;
|
|
1845
|
+
/**
|
|
1846
|
+
* Whether item is active
|
|
1847
|
+
*/
|
|
1848
|
+
active?: boolean;
|
|
1849
|
+
/**
|
|
1850
|
+
* Whether item is disabled
|
|
1851
|
+
*/
|
|
1852
|
+
disabled?: boolean;
|
|
1853
|
+
/**
|
|
1854
|
+
* Item icon
|
|
1855
|
+
*/
|
|
1856
|
+
icon?: ReactNode;
|
|
1857
|
+
/**
|
|
1858
|
+
* Item click handler
|
|
1859
|
+
*/
|
|
1860
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
|
|
1861
|
+
/**
|
|
1862
|
+
* Optional custom link component
|
|
1863
|
+
*/
|
|
1864
|
+
LinkComponent?: React.ElementType;
|
|
1865
|
+
}
|
|
1866
|
+
/**
|
|
1867
|
+
* Dropdown divider properties
|
|
1868
|
+
*/
|
|
1869
|
+
interface DropdownDividerProps {
|
|
1870
|
+
/**
|
|
1871
|
+
* Additional CSS class names
|
|
1872
|
+
*/
|
|
1873
|
+
className?: string;
|
|
1874
|
+
}
|
|
1875
|
+
/**
|
|
1876
|
+
* Dropdown header properties
|
|
1877
|
+
*/
|
|
1878
|
+
interface DropdownHeaderProps {
|
|
1879
|
+
/**
|
|
1880
|
+
* Header content
|
|
1881
|
+
*/
|
|
1882
|
+
children: ReactNode;
|
|
1883
|
+
/**
|
|
1884
|
+
* Additional CSS class names
|
|
1885
|
+
*/
|
|
1886
|
+
className?: string;
|
|
1887
|
+
}
|
|
1888
|
+
/**
|
|
1889
|
+
* Progress component properties
|
|
1890
|
+
*/
|
|
1891
|
+
interface ProgressProps extends BaseComponentProps {
|
|
1892
|
+
/**
|
|
1893
|
+
* Progress value (0-100)
|
|
1894
|
+
*/
|
|
1895
|
+
value: number;
|
|
1896
|
+
/**
|
|
1897
|
+
* Progress bar color variant
|
|
1898
|
+
*/
|
|
1899
|
+
variant?: ThemeColor;
|
|
1900
|
+
/**
|
|
1901
|
+
* Progress bar size
|
|
1902
|
+
*/
|
|
1903
|
+
size?: Size;
|
|
1904
|
+
/**
|
|
1905
|
+
* Accessible label for screen readers
|
|
1906
|
+
*/
|
|
1907
|
+
ariaLabel?: string;
|
|
1908
|
+
}
|
|
1909
|
+
/**
|
|
1910
|
+
* Rating component properties
|
|
1911
|
+
*/
|
|
1912
|
+
interface RatingProps extends BaseComponentProps {
|
|
1913
|
+
/**
|
|
1914
|
+
* The rating value (0-5)
|
|
1915
|
+
*/
|
|
1916
|
+
value?: number;
|
|
1917
|
+
/**
|
|
1918
|
+
* Default value for uncontrolled mode
|
|
1919
|
+
*/
|
|
1920
|
+
defaultValue?: number;
|
|
1921
|
+
/**
|
|
1922
|
+
* Maximum possible rating value
|
|
1923
|
+
*/
|
|
1924
|
+
maxValue?: number;
|
|
1925
|
+
/**
|
|
1926
|
+
* Whether to allow half-star ratings
|
|
1927
|
+
*/
|
|
1928
|
+
allowHalf?: boolean;
|
|
1929
|
+
/**
|
|
1930
|
+
* Whether the rating is read-only
|
|
1931
|
+
*/
|
|
1932
|
+
readOnly?: boolean;
|
|
1933
|
+
/**
|
|
1934
|
+
* Size variant
|
|
1935
|
+
*/
|
|
1936
|
+
size?: Size;
|
|
1937
|
+
/**
|
|
1938
|
+
* Color theme
|
|
1939
|
+
*/
|
|
1940
|
+
color?: ThemeColor;
|
|
1941
|
+
/**
|
|
1942
|
+
* Optional callback when rating changes
|
|
1943
|
+
*/
|
|
1944
|
+
onChange?: (value: number) => void;
|
|
1945
|
+
/**
|
|
1946
|
+
* Optional label for the rating component (for accessibility)
|
|
1947
|
+
*/
|
|
1948
|
+
label?: string;
|
|
1949
|
+
/**
|
|
1950
|
+
* ID for the rating component (for accessibility)
|
|
1951
|
+
*/
|
|
1952
|
+
id?: string;
|
|
1953
|
+
/**
|
|
1954
|
+
* Whether to use the vanilla JS implementation
|
|
1955
|
+
*/
|
|
1956
|
+
useVanillaJS?: boolean;
|
|
1957
|
+
}
|
|
1958
|
+
/**
|
|
1959
|
+
* PhotoViewer component properties
|
|
1960
|
+
*/
|
|
1961
|
+
/**
|
|
1962
|
+
* Interface for image objects used in PhotoViewer
|
|
1963
|
+
*/
|
|
1964
|
+
interface ImageType {
|
|
1965
|
+
src: string;
|
|
1966
|
+
alt?: string;
|
|
1967
|
+
thumbnail?: string;
|
|
1968
|
+
title?: string;
|
|
1969
|
+
description?: string;
|
|
1970
|
+
date?: string;
|
|
1971
|
+
author?: string;
|
|
1972
|
+
tags?: string[];
|
|
1973
|
+
}
|
|
1974
|
+
interface PhotoViewerProps extends BaseComponentProps {
|
|
1975
|
+
/**
|
|
1976
|
+
* Array of image URLs or image objects to display in the viewer
|
|
1977
|
+
*/
|
|
1978
|
+
images: (string | ImageType)[];
|
|
1979
|
+
/**
|
|
1980
|
+
* Index of the image to show first
|
|
1981
|
+
* @default 0
|
|
1982
|
+
*/
|
|
1983
|
+
startIndex?: number;
|
|
1984
|
+
/**
|
|
1985
|
+
* Additional className for the root element
|
|
1986
|
+
*/
|
|
1987
|
+
className?: string;
|
|
1988
|
+
/**
|
|
1989
|
+
* Whether the viewer is disabled
|
|
1990
|
+
* @default false
|
|
1991
|
+
*/
|
|
1992
|
+
disabled?: boolean;
|
|
1993
|
+
/**
|
|
1994
|
+
* Enable keyboard navigation (arrow keys, escape)
|
|
1995
|
+
* @default true
|
|
1996
|
+
*/
|
|
1997
|
+
enableKeyboardNavigation?: boolean;
|
|
1998
|
+
/**
|
|
1999
|
+
* Enable touch gestures for mobile devices
|
|
2000
|
+
* @default true
|
|
2001
|
+
*/
|
|
2002
|
+
enableGestures?: boolean;
|
|
2003
|
+
/**
|
|
2004
|
+
* Enable fullscreen mode
|
|
2005
|
+
* @default true
|
|
2006
|
+
*/
|
|
2007
|
+
enableFullscreen?: boolean;
|
|
2008
|
+
/**
|
|
2009
|
+
* Position of thumbnails
|
|
2010
|
+
* @default 'bottom'
|
|
2011
|
+
*/
|
|
2012
|
+
thumbnailPosition?: 'bottom' | 'top' | 'left' | 'right' | 'none';
|
|
2013
|
+
/**
|
|
2014
|
+
* Callback when image changes
|
|
2015
|
+
*/
|
|
2016
|
+
onImageChange?: (index: number) => void;
|
|
2017
|
+
/**
|
|
2018
|
+
* Callback when viewer is closed
|
|
2019
|
+
*/
|
|
2020
|
+
onClose?: () => void;
|
|
2021
|
+
}
|
|
2022
|
+
/**
|
|
2023
|
+
* Card component props
|
|
2024
|
+
*/
|
|
2025
|
+
interface CardProps extends BaseComponentProps {
|
|
2026
|
+
/**
|
|
2027
|
+
* Card header content
|
|
2028
|
+
*/
|
|
2029
|
+
header?: ReactNode;
|
|
2030
|
+
/**
|
|
2031
|
+
* Card image source URL
|
|
2032
|
+
*/
|
|
2033
|
+
image?: string;
|
|
2034
|
+
/**
|
|
2035
|
+
* Alternative text for the image
|
|
2036
|
+
*/
|
|
2037
|
+
imageAlt?: string;
|
|
2038
|
+
/**
|
|
2039
|
+
* Card title
|
|
2040
|
+
*/
|
|
2041
|
+
title?: ReactNode;
|
|
2042
|
+
/**
|
|
2043
|
+
* Card text content
|
|
2044
|
+
*/
|
|
2045
|
+
text?: ReactNode;
|
|
2046
|
+
/**
|
|
2047
|
+
* Card actions (buttons, links, etc.)
|
|
2048
|
+
*/
|
|
2049
|
+
actions?: ReactNode;
|
|
2050
|
+
/**
|
|
2051
|
+
* Card icon
|
|
2052
|
+
*/
|
|
2053
|
+
icon?: ReactNode;
|
|
2054
|
+
/**
|
|
2055
|
+
* Card footer content
|
|
2056
|
+
*/
|
|
2057
|
+
footer?: ReactNode;
|
|
2058
|
+
/**
|
|
2059
|
+
* Row layout (horizontal card)
|
|
2060
|
+
*/
|
|
2061
|
+
row?: boolean;
|
|
2062
|
+
/**
|
|
2063
|
+
* Flat style (no padding on image container)
|
|
2064
|
+
*/
|
|
2065
|
+
flat?: boolean;
|
|
2066
|
+
/**
|
|
2067
|
+
* Active state
|
|
2068
|
+
*/
|
|
2069
|
+
active?: boolean;
|
|
2070
|
+
/**
|
|
2071
|
+
* Card content (body)
|
|
2072
|
+
*/
|
|
2073
|
+
children?: ReactNode;
|
|
2074
|
+
/**
|
|
2075
|
+
* Optional click handler
|
|
2076
|
+
*/
|
|
2077
|
+
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
2078
|
+
}
|
|
2079
|
+
/**
|
|
2080
|
+
* Elevation Card component props
|
|
2081
|
+
*/
|
|
2082
|
+
interface ElevationCardProps extends CardProps {
|
|
2083
|
+
/**
|
|
2084
|
+
* CSS class for elevation effect
|
|
2085
|
+
*/
|
|
2086
|
+
elevationClass?: string;
|
|
2087
|
+
}
|
|
2088
|
+
/**
|
|
2089
|
+
* Card hook options
|
|
2090
|
+
*/
|
|
2091
|
+
interface UseCardOptions {
|
|
2092
|
+
/**
|
|
2093
|
+
* Enable elevation effect on hover
|
|
2094
|
+
*/
|
|
2095
|
+
elevationEffect?: boolean;
|
|
2096
|
+
/**
|
|
2097
|
+
* CSS class for elevation effect
|
|
2098
|
+
*/
|
|
2099
|
+
elevationClass?: string;
|
|
2100
|
+
/**
|
|
2101
|
+
* Enable flip effect
|
|
2102
|
+
*/
|
|
2103
|
+
flipEffect?: boolean;
|
|
2104
|
+
/**
|
|
2105
|
+
* Trigger for flip effect: 'click' or 'hover'
|
|
2106
|
+
*/
|
|
2107
|
+
flipTrigger?: 'click' | 'hover';
|
|
2108
|
+
/**
|
|
2109
|
+
* Make card focusable and add focus effect
|
|
2110
|
+
*/
|
|
2111
|
+
focusEffect?: boolean;
|
|
2112
|
+
/**
|
|
2113
|
+
* Make card clickable
|
|
2114
|
+
*/
|
|
2115
|
+
clickable?: boolean;
|
|
2116
|
+
/**
|
|
2117
|
+
* Click handler for clickable card
|
|
2118
|
+
*/
|
|
2119
|
+
onClick?: (event: React.MouseEvent) => void;
|
|
2120
|
+
}
|
|
2121
|
+
/**
|
|
2122
|
+
* Card hook return value
|
|
2123
|
+
*/
|
|
2124
|
+
interface UseCardReturn {
|
|
2125
|
+
/**
|
|
2126
|
+
* Reference to the card element
|
|
2127
|
+
*/
|
|
2128
|
+
cardRef: React.RefObject<HTMLDivElement>;
|
|
2129
|
+
/**
|
|
2130
|
+
* Reference to the front side of a flip card
|
|
2131
|
+
*/
|
|
2132
|
+
frontRef: React.RefObject<HTMLDivElement>;
|
|
2133
|
+
/**
|
|
2134
|
+
* Reference to the back side of a flip card
|
|
2135
|
+
*/
|
|
2136
|
+
backRef: React.RefObject<HTMLDivElement>;
|
|
2137
|
+
/**
|
|
2138
|
+
* Whether the card is flipped
|
|
2139
|
+
*/
|
|
2140
|
+
isFlipped: boolean;
|
|
2141
|
+
/**
|
|
2142
|
+
* Whether the card is elevated
|
|
2143
|
+
*/
|
|
2144
|
+
isElevated: boolean;
|
|
2145
|
+
/**
|
|
2146
|
+
* Whether the card is focused
|
|
2147
|
+
*/
|
|
2148
|
+
isFocused: boolean;
|
|
2149
|
+
/**
|
|
2150
|
+
* Whether the card is hovered
|
|
2151
|
+
*/
|
|
2152
|
+
isHovered: boolean;
|
|
2153
|
+
/**
|
|
2154
|
+
* Click event handler
|
|
2155
|
+
*/
|
|
2156
|
+
handleClick: (event: React.MouseEvent) => void;
|
|
2157
|
+
/**
|
|
2158
|
+
* Keyboard event handler
|
|
2159
|
+
*/
|
|
2160
|
+
handleKeyDown: (event: React.KeyboardEvent) => void;
|
|
2161
|
+
/**
|
|
2162
|
+
* Mouse enter event handler
|
|
2163
|
+
*/
|
|
2164
|
+
handleMouseEnter: () => void;
|
|
2165
|
+
/**
|
|
2166
|
+
* Mouse leave event handler
|
|
2167
|
+
*/
|
|
2168
|
+
handleMouseLeave: () => void;
|
|
2169
|
+
/**
|
|
2170
|
+
* Focus event handler
|
|
2171
|
+
*/
|
|
2172
|
+
handleFocus: () => void;
|
|
2173
|
+
/**
|
|
2174
|
+
* Blur event handler
|
|
2175
|
+
*/
|
|
2176
|
+
handleBlur: () => void;
|
|
2177
|
+
/**
|
|
2178
|
+
* Get all card props combined
|
|
2179
|
+
*/
|
|
2180
|
+
getCardProps: () => {
|
|
2181
|
+
className: string;
|
|
2182
|
+
ref: React.RefObject<HTMLDivElement>;
|
|
2183
|
+
tabIndex?: number;
|
|
2184
|
+
role?: string;
|
|
2185
|
+
onMouseEnter: () => void;
|
|
2186
|
+
onMouseLeave: () => void;
|
|
2187
|
+
onFocus: () => void;
|
|
2188
|
+
onBlur: () => void;
|
|
2189
|
+
onClick: (event: React.MouseEvent) => void;
|
|
2190
|
+
onKeyDown: (event: React.KeyboardEvent) => void;
|
|
2191
|
+
};
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2194
|
+
type ButtonAsProp = {
|
|
2195
|
+
as?: ElementType;
|
|
2196
|
+
to?: string;
|
|
2197
|
+
href?: string;
|
|
2198
|
+
[key: string]: any;
|
|
2199
|
+
};
|
|
2200
|
+
declare const Button: React__default.ForwardRefExoticComponent<Omit<ButtonProps & ButtonAsProp, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
2201
|
+
|
|
2202
|
+
type __lib_types_AccordionState = AccordionState;
|
|
2203
|
+
type __lib_types_AvatarGroupProps = AvatarGroupProps;
|
|
2204
|
+
type __lib_types_AvatarProps = AvatarProps;
|
|
2205
|
+
type __lib_types_AvatarSize = AvatarSize;
|
|
2206
|
+
type __lib_types_BadgeProps = BadgeProps;
|
|
2207
|
+
type __lib_types_BaseComponentProps = BaseComponentProps;
|
|
2208
|
+
type __lib_types_BreadcrumbInstance = BreadcrumbInstance;
|
|
2209
|
+
type __lib_types_ButtonProps = ButtonProps;
|
|
2210
|
+
type __lib_types_CalloutProps = CalloutProps;
|
|
2211
|
+
type __lib_types_CardProps = CardProps;
|
|
2212
|
+
type __lib_types_CheckboxProps = CheckboxProps;
|
|
2213
|
+
type __lib_types_DataTableColumn = DataTableColumn;
|
|
2214
|
+
type __lib_types_DataTableProps = DataTableProps;
|
|
2215
|
+
type __lib_types_DropdownDividerProps = DropdownDividerProps;
|
|
2216
|
+
type __lib_types_DropdownHeaderProps = DropdownHeaderProps;
|
|
2217
|
+
type __lib_types_DropdownItemProps = DropdownItemProps;
|
|
2218
|
+
type __lib_types_DropdownPlacement = DropdownPlacement;
|
|
2219
|
+
type __lib_types_DropdownProps = DropdownProps;
|
|
2220
|
+
type __lib_types_DropdownTrigger = DropdownTrigger;
|
|
2221
|
+
type __lib_types_EdgePanelMode = EdgePanelMode;
|
|
2222
|
+
type __lib_types_EdgePanelPosition = EdgePanelPosition;
|
|
2223
|
+
type __lib_types_EdgePanelProps = EdgePanelProps;
|
|
2224
|
+
type __lib_types_ElementRefs = ElementRefs;
|
|
2225
|
+
type __lib_types_ElevationCardProps = ElevationCardProps;
|
|
2226
|
+
type __lib_types_FormGroupProps = FormGroupProps;
|
|
2227
|
+
type __lib_types_FormProps = FormProps;
|
|
2228
|
+
type __lib_types_HeroAlignment = HeroAlignment;
|
|
2229
|
+
type __lib_types_HeroProps = HeroProps;
|
|
2230
|
+
type __lib_types_IconPosition = IconPosition;
|
|
2231
|
+
type __lib_types_ImageType = ImageType;
|
|
2232
|
+
type __lib_types_InputProps = InputProps;
|
|
2233
|
+
type __lib_types_ListGroupProps = ListGroupProps;
|
|
2234
|
+
type __lib_types_ListProps = ListProps;
|
|
2235
|
+
type __lib_types_MegaMenuColumnProps = MegaMenuColumnProps;
|
|
2236
|
+
type __lib_types_MegaMenuLinkProps = MegaMenuLinkProps;
|
|
2237
|
+
type __lib_types_MegaMenuProps = MegaMenuProps;
|
|
2238
|
+
type __lib_types_MenuItemProps = MenuItemProps;
|
|
2239
|
+
type __lib_types_MenuProps = MenuProps;
|
|
2240
|
+
type __lib_types_MessageItem = MessageItem;
|
|
2241
|
+
type __lib_types_MessagesProps = MessagesProps;
|
|
2242
|
+
type __lib_types_ModalProps = ModalProps;
|
|
2243
|
+
type __lib_types_NavAlignment = NavAlignment;
|
|
2244
|
+
type __lib_types_NavDropdownProps = NavDropdownProps;
|
|
2245
|
+
type __lib_types_NavItemProps = NavItemProps;
|
|
2246
|
+
type __lib_types_NavProps = NavProps;
|
|
2247
|
+
type __lib_types_NavVariant = NavVariant;
|
|
2248
|
+
type __lib_types_NavbarPosition = NavbarPosition;
|
|
2249
|
+
type __lib_types_NavbarProps = NavbarProps;
|
|
2250
|
+
type __lib_types_PaginationProps = PaginationProps;
|
|
2251
|
+
type __lib_types_PhotoViewerProps = PhotoViewerProps;
|
|
2252
|
+
type __lib_types_PopoverProps = PopoverProps;
|
|
2253
|
+
type __lib_types_PopoverTriggerProps = PopoverTriggerProps;
|
|
2254
|
+
type __lib_types_ProgressProps = ProgressProps;
|
|
2255
|
+
type __lib_types_RadioProps = RadioProps;
|
|
2256
|
+
type __lib_types_RatingProps = RatingProps;
|
|
2257
|
+
type __lib_types_SelectOption = SelectOption;
|
|
2258
|
+
type __lib_types_SelectProps = SelectProps;
|
|
2259
|
+
type __lib_types_SideMenuItemProps = SideMenuItemProps;
|
|
2260
|
+
type __lib_types_SideMenuListProps = SideMenuListProps;
|
|
2261
|
+
type __lib_types_SideMenuProps = SideMenuProps;
|
|
2262
|
+
type __lib_types_Size = Size;
|
|
2263
|
+
type __lib_types_SortConfig = SortConfig;
|
|
2264
|
+
type __lib_types_SpinnerProps = SpinnerProps;
|
|
2265
|
+
type __lib_types_StateModifier = StateModifier;
|
|
2266
|
+
type __lib_types_TextareaProps = TextareaProps;
|
|
2267
|
+
type __lib_types_ThemeColor = ThemeColor;
|
|
2268
|
+
type __lib_types_TodoItem = TodoItem;
|
|
2269
|
+
type __lib_types_TodoProps = TodoProps;
|
|
2270
|
+
type __lib_types_UseCardOptions = UseCardOptions;
|
|
2271
|
+
type __lib_types_UseCardReturn = UseCardReturn;
|
|
2272
|
+
type __lib_types_Variant = Variant;
|
|
2273
|
+
type __lib_types_listvariant = listvariant;
|
|
2274
|
+
declare namespace __lib_types {
|
|
2275
|
+
export type { AccordionProps$1 as AccordionProps, __lib_types_AccordionState as AccordionState, __lib_types_AvatarGroupProps as AvatarGroupProps, __lib_types_AvatarProps as AvatarProps, __lib_types_AvatarSize as AvatarSize, __lib_types_BadgeProps as BadgeProps, __lib_types_BaseComponentProps as BaseComponentProps, __lib_types_BreadcrumbInstance as BreadcrumbInstance, BreadcrumbItem$2 as BreadcrumbItem, BreadcrumbOptions$1 as BreadcrumbOptions, __lib_types_ButtonProps as ButtonProps, __lib_types_CalloutProps as CalloutProps, __lib_types_CardProps as CardProps, __lib_types_CheckboxProps as CheckboxProps, __lib_types_DataTableColumn as DataTableColumn, __lib_types_DataTableProps as DataTableProps, __lib_types_DropdownDividerProps as DropdownDividerProps, __lib_types_DropdownHeaderProps as DropdownHeaderProps, __lib_types_DropdownItemProps as DropdownItemProps, __lib_types_DropdownPlacement as DropdownPlacement, __lib_types_DropdownProps as DropdownProps, __lib_types_DropdownTrigger as DropdownTrigger, __lib_types_EdgePanelMode as EdgePanelMode, __lib_types_EdgePanelPosition as EdgePanelPosition, __lib_types_EdgePanelProps as EdgePanelProps, __lib_types_ElementRefs as ElementRefs, __lib_types_ElevationCardProps as ElevationCardProps, __lib_types_FormGroupProps as FormGroupProps, __lib_types_FormProps as FormProps, __lib_types_HeroAlignment as HeroAlignment, __lib_types_HeroProps as HeroProps, __lib_types_IconPosition as IconPosition, __lib_types_ImageType as ImageType, __lib_types_InputProps as InputProps, __lib_types_ListGroupProps as ListGroupProps, __lib_types_ListProps as ListProps, __lib_types_MegaMenuColumnProps as MegaMenuColumnProps, __lib_types_MegaMenuLinkProps as MegaMenuLinkProps, __lib_types_MegaMenuProps as MegaMenuProps, __lib_types_MenuItemProps as MenuItemProps, __lib_types_MenuProps as MenuProps, __lib_types_MessageItem as MessageItem, __lib_types_MessagesProps as MessagesProps, __lib_types_ModalProps as ModalProps, __lib_types_NavAlignment as NavAlignment, __lib_types_NavDropdownProps as NavDropdownProps, __lib_types_NavItemProps as NavItemProps, __lib_types_NavProps as NavProps, __lib_types_NavVariant as NavVariant, __lib_types_NavbarPosition as NavbarPosition, __lib_types_NavbarProps as NavbarProps, __lib_types_PaginationProps as PaginationProps, __lib_types_PhotoViewerProps as PhotoViewerProps, __lib_types_PopoverProps as PopoverProps, __lib_types_PopoverTriggerProps as PopoverTriggerProps, __lib_types_ProgressProps as ProgressProps, __lib_types_RadioProps as RadioProps, __lib_types_RatingProps as RatingProps, __lib_types_SelectOption as SelectOption, __lib_types_SelectProps as SelectProps, __lib_types_SideMenuItemProps as SideMenuItemProps, __lib_types_SideMenuListProps as SideMenuListProps, __lib_types_SideMenuProps as SideMenuProps, __lib_types_Size as Size, __lib_types_SortConfig as SortConfig, __lib_types_SpinnerProps as SpinnerProps, __lib_types_StateModifier as StateModifier, __lib_types_TextareaProps as TextareaProps, __lib_types_ThemeColor as ThemeColor, __lib_types_TodoItem as TodoItem, __lib_types_TodoProps as TodoProps, __lib_types_UseCardOptions as UseCardOptions, __lib_types_UseCardReturn as UseCardReturn, __lib_types_Variant as Variant, __lib_types_listvariant as listvariant };
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
/**
|
|
2279
|
+
* Default theme colors for components
|
|
2280
|
+
*/
|
|
2281
|
+
declare const THEME_COLORS: ThemeColor[];
|
|
2282
|
+
/**
|
|
2283
|
+
* Default sizes for components
|
|
2284
|
+
*/
|
|
2285
|
+
declare const SIZES: Size[];
|
|
2286
|
+
/**
|
|
2287
|
+
* CSS class prefixes
|
|
2288
|
+
*/
|
|
2289
|
+
declare const CLASS_PREFIX: {
|
|
2290
|
+
COMPONENT: string;
|
|
2291
|
+
UTILITY: string;
|
|
2292
|
+
LAYOUT: string;
|
|
2293
|
+
OBJECT: string;
|
|
2294
|
+
};
|
|
2295
|
+
/**
|
|
2296
|
+
* Button-specific constants
|
|
2297
|
+
*/
|
|
2298
|
+
declare const BUTTON: {
|
|
2299
|
+
BASE_CLASS: string;
|
|
2300
|
+
ICON_CLASS: string;
|
|
2301
|
+
VARIANT_PREFIX: string;
|
|
2302
|
+
};
|
|
2303
|
+
/**
|
|
2304
|
+
* Callout-specific constants
|
|
2305
|
+
*/
|
|
2306
|
+
declare const CALLOUT: {
|
|
2307
|
+
BASE_CLASS: string;
|
|
2308
|
+
CONTENT_CLASS: string;
|
|
2309
|
+
ICON_CLASS: string;
|
|
2310
|
+
MESSAGE_CLASS: string;
|
|
2311
|
+
TITLE_CLASS: string;
|
|
2312
|
+
TEXT_CLASS: string;
|
|
2313
|
+
ACTIONS_CLASS: string;
|
|
2314
|
+
CLOSE_BTN_CLASS: string;
|
|
2315
|
+
VARIANT_PREFIX: string;
|
|
2316
|
+
CLASSES: {
|
|
2317
|
+
ONELINE: string;
|
|
2318
|
+
TOAST: string;
|
|
2319
|
+
HIDE: string;
|
|
2320
|
+
};
|
|
2321
|
+
};
|
|
2322
|
+
/**
|
|
2323
|
+
* Accordion-specific constants
|
|
2324
|
+
*/
|
|
2325
|
+
declare const ACCORDION: {
|
|
2326
|
+
SELECTORS: {
|
|
2327
|
+
ACCORDION: string;
|
|
2328
|
+
HEADER: string;
|
|
2329
|
+
PANEL: string;
|
|
2330
|
+
BODY: string;
|
|
2331
|
+
};
|
|
2332
|
+
CLASSES: {
|
|
2333
|
+
IS_OPEN: string;
|
|
2334
|
+
IS_ANIMATING: string;
|
|
2335
|
+
IS_DISABLED: string;
|
|
2336
|
+
};
|
|
2337
|
+
ATTRIBUTES: {
|
|
2338
|
+
ARIA_EXPANDED: string;
|
|
2339
|
+
ARIA_CONTROLS: string;
|
|
2340
|
+
ARIA_HIDDEN: string;
|
|
2341
|
+
ROLE: string;
|
|
2342
|
+
};
|
|
2343
|
+
CSS_VARS: {
|
|
2344
|
+
PANEL_HEIGHT: string;
|
|
2345
|
+
};
|
|
2346
|
+
};
|
|
2347
|
+
/**
|
|
2348
|
+
* Badge-specific constants
|
|
2349
|
+
*/
|
|
2350
|
+
declare const BADGE: {
|
|
2351
|
+
BASE_CLASS: string;
|
|
2352
|
+
ICON_CLASS: string;
|
|
2353
|
+
VARIANT_PREFIX: string;
|
|
2354
|
+
SIZE_PREFIX: string;
|
|
2355
|
+
};
|
|
2356
|
+
/**
|
|
2357
|
+
* List-specific constants
|
|
2358
|
+
*/
|
|
2359
|
+
declare const LIST: {
|
|
2360
|
+
BASE_CLASS: string;
|
|
2361
|
+
ITEM_CLASS: string;
|
|
2362
|
+
VARIANT_PREFIX: string;
|
|
2363
|
+
SIZE_PREFIX: string;
|
|
2364
|
+
CLASSES: {
|
|
2365
|
+
ORDERED: string;
|
|
2366
|
+
INLINE: string;
|
|
2367
|
+
};
|
|
2368
|
+
};
|
|
2369
|
+
/**
|
|
2370
|
+
* List Group-specific constants
|
|
2371
|
+
*/
|
|
2372
|
+
declare const LIST_GROUP: {
|
|
2373
|
+
BASE_CLASS: string;
|
|
2374
|
+
ITEM_CLASS: string;
|
|
2375
|
+
VARIANT_PREFIX: string;
|
|
2376
|
+
SIZE_PREFIX: string;
|
|
2377
|
+
};
|
|
2378
|
+
/**
|
|
2379
|
+
* Breadcrumb-specific constants
|
|
2380
|
+
*/
|
|
2381
|
+
declare const BREADCRUMB: {
|
|
2382
|
+
SELECTORS: {
|
|
2383
|
+
BREADCRUMB: string;
|
|
2384
|
+
ITEM: string;
|
|
2385
|
+
LINK: string;
|
|
2386
|
+
};
|
|
2387
|
+
CLASSES: {
|
|
2388
|
+
BASE: string;
|
|
2389
|
+
ITEM: string;
|
|
2390
|
+
LINK: string;
|
|
2391
|
+
ACTIVE: string;
|
|
2392
|
+
};
|
|
2393
|
+
DEFAULTS: {
|
|
2394
|
+
DIVIDER: string;
|
|
2395
|
+
};
|
|
2396
|
+
};
|
|
2397
|
+
/**
|
|
2398
|
+
* Countdown-specific constants
|
|
2399
|
+
*/
|
|
2400
|
+
declare const COUNTDOWN: {
|
|
2401
|
+
SELECTORS: {
|
|
2402
|
+
COUNTDOWN: string;
|
|
2403
|
+
TIME: string;
|
|
2404
|
+
TIME_COUNT: string;
|
|
2405
|
+
TIME_LABEL: string;
|
|
2406
|
+
SEPARATOR: string;
|
|
2407
|
+
};
|
|
2408
|
+
CLASSES: {
|
|
2409
|
+
BASE: string;
|
|
2410
|
+
FOCUSED: string;
|
|
2411
|
+
};
|
|
2412
|
+
DEFAULTS: {
|
|
2413
|
+
SEPARATOR: string;
|
|
2414
|
+
SHOW: string[];
|
|
2415
|
+
};
|
|
2416
|
+
};
|
|
2417
|
+
/**
|
|
2418
|
+
* Hero-specific constants
|
|
2419
|
+
*/
|
|
2420
|
+
declare const HERO: {
|
|
2421
|
+
SELECTORS: {
|
|
2422
|
+
HERO: string;
|
|
2423
|
+
CONTAINER: string;
|
|
2424
|
+
GRID: string;
|
|
2425
|
+
CONTENT: string;
|
|
2426
|
+
SUBTITLE: string;
|
|
2427
|
+
TITLE: string;
|
|
2428
|
+
TEXT: string;
|
|
2429
|
+
ACTIONS: string;
|
|
2430
|
+
IMAGE: string;
|
|
2431
|
+
BG: string;
|
|
2432
|
+
BG_IMAGE: string;
|
|
2433
|
+
OVERLAY: string;
|
|
2434
|
+
IMAGE_WRAPPER: string;
|
|
2435
|
+
};
|
|
2436
|
+
CLASSES: {
|
|
2437
|
+
CENTER: string;
|
|
2438
|
+
RIGHT: string;
|
|
2439
|
+
LEFT: string;
|
|
2440
|
+
FULL_VH: string;
|
|
2441
|
+
};
|
|
2442
|
+
};
|
|
2443
|
+
/**
|
|
2444
|
+
* Tooltip-specific constants
|
|
2445
|
+
*/
|
|
2446
|
+
declare const TOOLTIP: {
|
|
2447
|
+
SELECTORS: {
|
|
2448
|
+
TOOLTIP: string;
|
|
2449
|
+
TRIGGER: string;
|
|
2450
|
+
CONTENT: string;
|
|
2451
|
+
ARROW: string;
|
|
2452
|
+
};
|
|
2453
|
+
CLASSES: {
|
|
2454
|
+
IS_ACTIVE: string;
|
|
2455
|
+
TOP: string;
|
|
2456
|
+
BOTTOM: string;
|
|
2457
|
+
LEFT: string;
|
|
2458
|
+
RIGHT: string;
|
|
2459
|
+
TOP_LEFT: string;
|
|
2460
|
+
TOP_RIGHT: string;
|
|
2461
|
+
BOTTOM_LEFT: string;
|
|
2462
|
+
BOTTOM_RIGHT: string;
|
|
2463
|
+
};
|
|
2464
|
+
ATTRIBUTES: {
|
|
2465
|
+
POSITION: string;
|
|
2466
|
+
TRIGGER: string;
|
|
2467
|
+
CONTENT_ID: string;
|
|
2468
|
+
};
|
|
2469
|
+
DEFAULTS: {
|
|
2470
|
+
TRIGGER: string;
|
|
2471
|
+
POSITION: string;
|
|
2472
|
+
OFFSET: number;
|
|
2473
|
+
DELAY: number;
|
|
2474
|
+
};
|
|
2475
|
+
};
|
|
2476
|
+
/**
|
|
2477
|
+
* Popover-specific constants
|
|
2478
|
+
*/
|
|
2479
|
+
declare const POPOVER: {
|
|
2480
|
+
SELECTORS: {
|
|
2481
|
+
POPOVER: string;
|
|
2482
|
+
TRIGGER: string;
|
|
2483
|
+
CONTENT: string;
|
|
2484
|
+
CONTENT_INNER: string;
|
|
2485
|
+
ARROW: string;
|
|
2486
|
+
};
|
|
2487
|
+
CLASSES: {
|
|
2488
|
+
IS_OPEN: string;
|
|
2489
|
+
TOP: string;
|
|
2490
|
+
BOTTOM: string;
|
|
2491
|
+
LEFT: string;
|
|
2492
|
+
RIGHT: string;
|
|
2493
|
+
AUTO: string;
|
|
2494
|
+
};
|
|
2495
|
+
ATTRIBUTES: {
|
|
2496
|
+
POSITION: string;
|
|
2497
|
+
TRIGGER: string;
|
|
2498
|
+
CONTENT_ID: string;
|
|
2499
|
+
};
|
|
2500
|
+
DEFAULTS: {
|
|
2501
|
+
TRIGGER: string;
|
|
2502
|
+
POSITION: string;
|
|
2503
|
+
OFFSET: number;
|
|
2504
|
+
DELAY: number;
|
|
2505
|
+
};
|
|
2506
|
+
};
|
|
2507
|
+
/**
|
|
2508
|
+
* Toggle-specific constants
|
|
2509
|
+
*/
|
|
2510
|
+
declare const TOGGLE: {
|
|
2511
|
+
SELECTORS: {
|
|
2512
|
+
TOGGLE: string;
|
|
2513
|
+
};
|
|
2514
|
+
CLASSES: {
|
|
2515
|
+
IS_ON: string;
|
|
2516
|
+
};
|
|
2517
|
+
};
|
|
2518
|
+
/**
|
|
2519
|
+
* Tab-specific constants
|
|
2520
|
+
*/
|
|
2521
|
+
declare const TAB: {
|
|
2522
|
+
SELECTORS: {
|
|
2523
|
+
TAB: string;
|
|
2524
|
+
NAV_ITEMS: string;
|
|
2525
|
+
NAV_BTN: string;
|
|
2526
|
+
PANELS: string;
|
|
2527
|
+
PANEL_BODIES: string;
|
|
2528
|
+
};
|
|
2529
|
+
CLASSES: {
|
|
2530
|
+
ACTIVE: string;
|
|
2531
|
+
};
|
|
2532
|
+
DEFAULTS: {
|
|
2533
|
+
ACTIVE_INDEX: number;
|
|
2534
|
+
};
|
|
2535
|
+
};
|
|
2536
|
+
/**
|
|
2537
|
+
* Steps-specific constants
|
|
2538
|
+
*/
|
|
2539
|
+
declare const STEPS: {
|
|
2540
|
+
SELECTORS: {
|
|
2541
|
+
STEPS: string;
|
|
2542
|
+
ITEM: string;
|
|
2543
|
+
LINE: string;
|
|
2544
|
+
CONTENT: string;
|
|
2545
|
+
NUMBER: string;
|
|
2546
|
+
TEXT: string;
|
|
2547
|
+
};
|
|
2548
|
+
CLASSES: {
|
|
2549
|
+
ACTIVE: string;
|
|
2550
|
+
VERTICAL: string;
|
|
2551
|
+
COMPLETED: string;
|
|
2552
|
+
};
|
|
2553
|
+
};
|
|
2554
|
+
/**
|
|
2555
|
+
* Testimonial-specific constants
|
|
2556
|
+
*/
|
|
2557
|
+
declare const TESTIMONIAL: {
|
|
2558
|
+
SELECTORS: {
|
|
2559
|
+
TESTIMONIAL: string;
|
|
2560
|
+
QUOTE: string;
|
|
2561
|
+
AUTHOR: string;
|
|
2562
|
+
AUTHOR_AVATAR: string;
|
|
2563
|
+
AUTHOR_INFO: string;
|
|
2564
|
+
AUTHOR_NAME: string;
|
|
2565
|
+
AUTHOR_ROLE: string;
|
|
2566
|
+
};
|
|
2567
|
+
CLASSES: {
|
|
2568
|
+
SMALL: string;
|
|
2569
|
+
LARGE: string;
|
|
2570
|
+
};
|
|
2571
|
+
};
|
|
2572
|
+
/**
|
|
2573
|
+
* Spinner-specific constants
|
|
2574
|
+
*/
|
|
2575
|
+
declare const SPINNER: {
|
|
2576
|
+
SELECTORS: {
|
|
2577
|
+
SPINNER: string;
|
|
2578
|
+
};
|
|
2579
|
+
CLASSES: {
|
|
2580
|
+
PRIMARY: string;
|
|
2581
|
+
SECONDARY: string;
|
|
2582
|
+
SUCCESS: string;
|
|
2583
|
+
INFO: string;
|
|
2584
|
+
WARNING: string;
|
|
2585
|
+
DANGER: string;
|
|
2586
|
+
LIGHT: string;
|
|
2587
|
+
DARK: string;
|
|
2588
|
+
SMALL: string;
|
|
2589
|
+
LARGE: string;
|
|
2590
|
+
};
|
|
2591
|
+
VISUALLY_HIDDEN: string;
|
|
2592
|
+
};
|
|
2593
|
+
/**
|
|
2594
|
+
* SectionIntro-specific constants
|
|
2595
|
+
*/
|
|
2596
|
+
declare const SECTION_INTRO: {
|
|
2597
|
+
SELECTORS: {
|
|
2598
|
+
SECTION_INTRO: string;
|
|
2599
|
+
LABEL: string;
|
|
2600
|
+
TITLE: string;
|
|
2601
|
+
TEXT: string;
|
|
2602
|
+
ACTIONS: string;
|
|
2603
|
+
};
|
|
2604
|
+
CLASSES: {
|
|
2605
|
+
CENTER: string;
|
|
2606
|
+
LARGE: string;
|
|
2607
|
+
SMALL: string;
|
|
2608
|
+
};
|
|
2609
|
+
};
|
|
2610
|
+
/**
|
|
2611
|
+
* River-specific constants
|
|
2612
|
+
*/
|
|
2613
|
+
declare const RIVER: {
|
|
2614
|
+
SELECTORS: {
|
|
2615
|
+
RIVER: string;
|
|
2616
|
+
CONTAINER: string;
|
|
2617
|
+
ROW: string;
|
|
2618
|
+
CONTENT: string;
|
|
2619
|
+
CONTENT_COL: string;
|
|
2620
|
+
CONTENT_COL_TITLE: string;
|
|
2621
|
+
CONTENT_COL_TEXT: string;
|
|
2622
|
+
TITLE: string;
|
|
2623
|
+
TEXT: string;
|
|
2624
|
+
ACTIONS: string;
|
|
2625
|
+
VISUAL: string;
|
|
2626
|
+
IMAGE_WRAPPER: string;
|
|
2627
|
+
IMAGE: string;
|
|
2628
|
+
BG: string;
|
|
2629
|
+
BG_IMAGE: string;
|
|
2630
|
+
OVERLAY: string;
|
|
2631
|
+
};
|
|
2632
|
+
CLASSES: {
|
|
2633
|
+
CENTER: string;
|
|
2634
|
+
BREAKOUT: string;
|
|
2635
|
+
REVERSE: string;
|
|
2636
|
+
};
|
|
2637
|
+
ATTRIBUTES: {
|
|
2638
|
+
CONTENT_WIDTH: string;
|
|
2639
|
+
};
|
|
2640
|
+
};
|
|
2641
|
+
/**
|
|
2642
|
+
* Upload-specific constants
|
|
2643
|
+
*/
|
|
2644
|
+
declare const UPLOAD: {
|
|
2645
|
+
SELECTORS: {
|
|
2646
|
+
UPLOAD: string;
|
|
2647
|
+
INNER: string;
|
|
2648
|
+
ICON: string;
|
|
2649
|
+
TITLE: string;
|
|
2650
|
+
TEXT: string;
|
|
2651
|
+
BUTTON: string;
|
|
2652
|
+
HELPER_TEXT: string;
|
|
2653
|
+
LOADER: string;
|
|
2654
|
+
LOADER_STATUS: string;
|
|
2655
|
+
LOADER_TITLE: string;
|
|
2656
|
+
LOADER_PROGRESS: string;
|
|
2657
|
+
LOADER_PAR: string;
|
|
2658
|
+
LOADER_TIME: string;
|
|
2659
|
+
LOADER_CONTROL: string;
|
|
2660
|
+
LOADER_BAR: string;
|
|
2661
|
+
LOADER_CLOSE: string;
|
|
2662
|
+
};
|
|
2663
|
+
CLASSES: {
|
|
2664
|
+
DISABLED: string;
|
|
2665
|
+
ERROR: string;
|
|
2666
|
+
SUCCESS: string;
|
|
2667
|
+
LOADING: string;
|
|
2668
|
+
DRAGGING: string;
|
|
2669
|
+
};
|
|
2670
|
+
ATTRIBUTES: {
|
|
2671
|
+
PERCENTAGE: string;
|
|
2672
|
+
};
|
|
2673
|
+
};
|
|
2674
|
+
/**
|
|
2675
|
+
* Navbar-specific constants
|
|
2676
|
+
*/
|
|
2677
|
+
declare const NAVBAR: {
|
|
2678
|
+
SELECTORS: {
|
|
2679
|
+
NAVBAR: string;
|
|
2680
|
+
CONTAINER: string;
|
|
2681
|
+
BRAND: string;
|
|
2682
|
+
COLLAPSE: string;
|
|
2683
|
+
TOGGLER: string;
|
|
2684
|
+
TOGGLER_ICON: string;
|
|
2685
|
+
};
|
|
2686
|
+
CLASSES: {
|
|
2687
|
+
BASE: string;
|
|
2688
|
+
CONTAINER: string;
|
|
2689
|
+
BRAND: string;
|
|
2690
|
+
COLLAPSE: string;
|
|
2691
|
+
TOGGLER: string;
|
|
2692
|
+
TOGGLER_ICON: string;
|
|
2693
|
+
FIXED: string;
|
|
2694
|
+
FIXED_BOTTOM: string;
|
|
2695
|
+
COLLAPSIBLE: string;
|
|
2696
|
+
EXPANDED: string;
|
|
2697
|
+
BACKDROP: string;
|
|
2698
|
+
};
|
|
2699
|
+
ATTRIBUTES: {
|
|
2700
|
+
NAVBAR: string;
|
|
2701
|
+
COLLAPSIBLE: string;
|
|
2702
|
+
EXPANDED: string;
|
|
2703
|
+
POSITION: string;
|
|
2704
|
+
BACKDROP: string;
|
|
2705
|
+
AUTO_CLOSE: string;
|
|
2706
|
+
KEYBOARD: string;
|
|
2707
|
+
};
|
|
2708
|
+
DEFAULTS: {
|
|
2709
|
+
POSITION: string;
|
|
2710
|
+
COLLAPSIBLE: boolean;
|
|
2711
|
+
EXPANDED: boolean;
|
|
2712
|
+
BACKDROP: boolean;
|
|
2713
|
+
AUTO_CLOSE: boolean;
|
|
2714
|
+
KEYBOARD: boolean;
|
|
2715
|
+
ARIA_LABEL: string;
|
|
2716
|
+
};
|
|
2717
|
+
};
|
|
2718
|
+
/**
|
|
2719
|
+
* Nav-specific constants
|
|
2720
|
+
*/
|
|
2721
|
+
declare const NAV: {
|
|
2722
|
+
SELECTORS: {
|
|
2723
|
+
NAV: string;
|
|
2724
|
+
ITEM: string;
|
|
2725
|
+
LINK: string;
|
|
2726
|
+
DROPDOWN: string;
|
|
2727
|
+
DROPDOWN_MENU: string;
|
|
2728
|
+
MEGA_MENU: string;
|
|
2729
|
+
ICON: string;
|
|
2730
|
+
};
|
|
2731
|
+
CLASSES: {
|
|
2732
|
+
END: string;
|
|
2733
|
+
CENTER: string;
|
|
2734
|
+
ACTIVE: string;
|
|
2735
|
+
DISABLED: string;
|
|
2736
|
+
};
|
|
2737
|
+
};
|
|
2738
|
+
/**
|
|
2739
|
+
* SideMenu-specific constants
|
|
2740
|
+
*/
|
|
2741
|
+
declare const SIDE_MENU: {
|
|
2742
|
+
SELECTORS: {
|
|
2743
|
+
SIDE_MENU: string;
|
|
2744
|
+
WRAPPER: string;
|
|
2745
|
+
INNER: string;
|
|
2746
|
+
TITLE: string;
|
|
2747
|
+
TOGGLER: string;
|
|
2748
|
+
TOGGLER_ICON: string;
|
|
2749
|
+
LIST: string;
|
|
2750
|
+
ITEM: string;
|
|
2751
|
+
LINK: string;
|
|
2752
|
+
LINK_ICON: string;
|
|
2753
|
+
LINK_TEXT: string;
|
|
2754
|
+
};
|
|
2755
|
+
CLASSES: {
|
|
2756
|
+
BASE: string;
|
|
2757
|
+
WRAPPER: string;
|
|
2758
|
+
INNER: string;
|
|
2759
|
+
TITLE: string;
|
|
2760
|
+
TOGGLER: string;
|
|
2761
|
+
TOGGLER_ICON: string;
|
|
2762
|
+
LIST: string;
|
|
2763
|
+
ITEM: string;
|
|
2764
|
+
LINK: string;
|
|
2765
|
+
LINK_ICON: string;
|
|
2766
|
+
LINK_TEXT: string;
|
|
2767
|
+
IS_OPEN: string;
|
|
2768
|
+
ACTIVE: string;
|
|
2769
|
+
DISABLED: string;
|
|
2770
|
+
};
|
|
2771
|
+
ATTRIBUTES: {
|
|
2772
|
+
SIDE_MENU: string;
|
|
2773
|
+
COLLAPSIBLE: string;
|
|
2774
|
+
OPEN: string;
|
|
2775
|
+
TITLE: string;
|
|
2776
|
+
};
|
|
2777
|
+
DEFAULTS: {
|
|
2778
|
+
COLLAPSIBLE: boolean;
|
|
2779
|
+
OPEN: boolean;
|
|
2780
|
+
TOGGLE_ICON: string;
|
|
2781
|
+
};
|
|
2782
|
+
};
|
|
2783
|
+
/**
|
|
2784
|
+
* EdgePanel-specific constants
|
|
2785
|
+
*/
|
|
2786
|
+
/**
|
|
2787
|
+
* Rating-specific constants
|
|
2788
|
+
*/
|
|
2789
|
+
declare const RATING: {
|
|
2790
|
+
SELECTORS: {
|
|
2791
|
+
RATING: string;
|
|
2792
|
+
STAR: string;
|
|
2793
|
+
STAR_FULL: string;
|
|
2794
|
+
STAR_HALF: string;
|
|
2795
|
+
};
|
|
2796
|
+
CLASSES: {
|
|
2797
|
+
FULL: string;
|
|
2798
|
+
HALF: string;
|
|
2799
|
+
SMALL: string;
|
|
2800
|
+
LARGE: string;
|
|
2801
|
+
};
|
|
2802
|
+
ATTRIBUTES: {
|
|
2803
|
+
READONLY: string;
|
|
2804
|
+
VALUE: string;
|
|
2805
|
+
};
|
|
2806
|
+
};
|
|
2807
|
+
declare const EDGE_PANEL: {
|
|
2808
|
+
SELECTORS: {
|
|
2809
|
+
PANEL: string;
|
|
2810
|
+
BACKDROP: string;
|
|
2811
|
+
CONTAINER: string;
|
|
2812
|
+
HEADER: string;
|
|
2813
|
+
BODY: string;
|
|
2814
|
+
CLOSE: string;
|
|
2815
|
+
};
|
|
2816
|
+
CLASSES: {
|
|
2817
|
+
BASE: string;
|
|
2818
|
+
START: string;
|
|
2819
|
+
END: string;
|
|
2820
|
+
TOP: string;
|
|
2821
|
+
BOTTOM: string;
|
|
2822
|
+
IS_OPEN: string;
|
|
2823
|
+
};
|
|
2824
|
+
TRANSFORM_VALUES: {
|
|
2825
|
+
start: string;
|
|
2826
|
+
end: string;
|
|
2827
|
+
top: string;
|
|
2828
|
+
bottom: string;
|
|
2829
|
+
};
|
|
2830
|
+
ANIMATION_DURATION: number;
|
|
2831
|
+
};
|
|
2832
|
+
/**
|
|
2833
|
+
* DataTable-specific constants
|
|
2834
|
+
*/
|
|
2835
|
+
declare const DATA_TABLE_CLASSES: {
|
|
2836
|
+
base: string;
|
|
2837
|
+
container: string;
|
|
2838
|
+
tableWrapper: string;
|
|
2839
|
+
header: string;
|
|
2840
|
+
headerCell: string;
|
|
2841
|
+
headerContent: string;
|
|
2842
|
+
sortable: string;
|
|
2843
|
+
sortIcon: string;
|
|
2844
|
+
row: string;
|
|
2845
|
+
cell: string;
|
|
2846
|
+
loadingCell: string;
|
|
2847
|
+
loadingIndicator: string;
|
|
2848
|
+
emptyCell: string;
|
|
2849
|
+
toolbar: string;
|
|
2850
|
+
search: string;
|
|
2851
|
+
searchInput: string;
|
|
2852
|
+
pagination: string;
|
|
2853
|
+
striped: string;
|
|
2854
|
+
bordered: string;
|
|
2855
|
+
dense: string;
|
|
2856
|
+
loading: string;
|
|
2857
|
+
open: string;
|
|
2858
|
+
};
|
|
2859
|
+
/**
|
|
2860
|
+
* DataTable-specific selectors
|
|
2861
|
+
*/
|
|
2862
|
+
declare const DATA_TABLE_SELECTORS: {
|
|
2863
|
+
TABLE: string;
|
|
2864
|
+
HEADER: string;
|
|
2865
|
+
HEADER_CELL: string;
|
|
2866
|
+
ROW: string;
|
|
2867
|
+
CELL: string;
|
|
2868
|
+
PAGINATION: string;
|
|
2869
|
+
PAGINATION_BUTTON: string;
|
|
2870
|
+
SEARCH_INPUT: string;
|
|
2871
|
+
};
|
|
2872
|
+
/**
|
|
2873
|
+
* Pagination-specific constants
|
|
2874
|
+
*/
|
|
2875
|
+
declare const PAGINATION_DEFAULTS: {
|
|
2876
|
+
currentPage: number;
|
|
2877
|
+
totalPages: number;
|
|
2878
|
+
siblingCount: number;
|
|
2879
|
+
showFirstLastButtons: boolean;
|
|
2880
|
+
showPrevNextButtons: boolean;
|
|
2881
|
+
size: Size;
|
|
2882
|
+
};
|
|
2883
|
+
/**
|
|
2884
|
+
* Todo-specific constants
|
|
2885
|
+
*/
|
|
2886
|
+
declare const TODO: {
|
|
2887
|
+
SELECTORS: {
|
|
2888
|
+
TODO: string;
|
|
2889
|
+
TITLE: string;
|
|
2890
|
+
LIST: string;
|
|
2891
|
+
ITEM: string;
|
|
2892
|
+
ITEM_CONTENT: string;
|
|
2893
|
+
ITEM_TEXT: string;
|
|
2894
|
+
ITEM_ACTIONS: string;
|
|
2895
|
+
CHECKBOX: string;
|
|
2896
|
+
DELETE_BUTTON: string;
|
|
2897
|
+
FORM: string;
|
|
2898
|
+
INPUT: string;
|
|
2899
|
+
ADD_BUTTON: string;
|
|
2900
|
+
};
|
|
2901
|
+
CLASSES: {
|
|
2902
|
+
BASE: string;
|
|
2903
|
+
ITEM: string;
|
|
2904
|
+
COMPLETED: string;
|
|
2905
|
+
SMALL: string;
|
|
2906
|
+
LARGE: string;
|
|
2907
|
+
};
|
|
2908
|
+
};
|
|
2909
|
+
/**
|
|
2910
|
+
* Form-specific constants
|
|
2911
|
+
*/
|
|
2912
|
+
declare const FORM: {
|
|
2913
|
+
SELECTORS: {
|
|
2914
|
+
FORM: string;
|
|
2915
|
+
GROUP: string;
|
|
2916
|
+
LABEL: string;
|
|
2917
|
+
HELPER: string;
|
|
2918
|
+
FIELD: string;
|
|
2919
|
+
REQUIRED: string;
|
|
2920
|
+
};
|
|
2921
|
+
CLASSES: {
|
|
2922
|
+
BASE: string;
|
|
2923
|
+
DISABLED: string;
|
|
2924
|
+
};
|
|
2925
|
+
};
|
|
2926
|
+
/**
|
|
2927
|
+
* Form Group-specific constants
|
|
2928
|
+
*/
|
|
2929
|
+
declare const FORM_GROUP: {
|
|
2930
|
+
SELECTORS: {
|
|
2931
|
+
GROUP: string;
|
|
2932
|
+
LABEL: string;
|
|
2933
|
+
FIELD: string;
|
|
2934
|
+
HELPER: string;
|
|
2935
|
+
REQUIRED: string;
|
|
2936
|
+
};
|
|
2937
|
+
CLASSES: {
|
|
2938
|
+
BASE: string;
|
|
2939
|
+
SMALL: string;
|
|
2940
|
+
LARGE: string;
|
|
2941
|
+
INVALID: string;
|
|
2942
|
+
VALID: string;
|
|
2943
|
+
DISABLED: string;
|
|
2944
|
+
};
|
|
2945
|
+
};
|
|
2946
|
+
/**
|
|
2947
|
+
* Input-specific constants
|
|
2948
|
+
*/
|
|
2949
|
+
declare const INPUT: {
|
|
2950
|
+
SELECTORS: {
|
|
2951
|
+
INPUT: string;
|
|
2952
|
+
};
|
|
2953
|
+
CLASSES: {
|
|
2954
|
+
BASE: string;
|
|
2955
|
+
SMALL: string;
|
|
2956
|
+
LARGE: string;
|
|
2957
|
+
INVALID: string;
|
|
2958
|
+
VALID: string;
|
|
2959
|
+
DISABLED: string;
|
|
2960
|
+
};
|
|
2961
|
+
};
|
|
2962
|
+
/**
|
|
2963
|
+
* Radio-specific constants
|
|
2964
|
+
*/
|
|
2965
|
+
declare const RADIO: {
|
|
2966
|
+
SELECTORS: {
|
|
2967
|
+
RADIO: string;
|
|
2968
|
+
INPUT: string;
|
|
2969
|
+
LABEL: string;
|
|
2970
|
+
};
|
|
2971
|
+
CLASSES: {
|
|
2972
|
+
BASE: string;
|
|
2973
|
+
INVALID: string;
|
|
2974
|
+
VALID: string;
|
|
2975
|
+
DISABLED: string;
|
|
2976
|
+
};
|
|
2977
|
+
};
|
|
2978
|
+
/**
|
|
2979
|
+
* Checkbox-specific constants - extend existing checkbox constants
|
|
2980
|
+
*/
|
|
2981
|
+
/**
|
|
2982
|
+
* Card-specific constants
|
|
2983
|
+
*/
|
|
2984
|
+
declare const CARD: {
|
|
2985
|
+
SELECTORS: {
|
|
2986
|
+
CARD: string;
|
|
2987
|
+
HEADER: string;
|
|
2988
|
+
BODY: string;
|
|
2989
|
+
IMAGE: string;
|
|
2990
|
+
TITLE: string;
|
|
2991
|
+
TEXT: string;
|
|
2992
|
+
ACTIONS: string;
|
|
2993
|
+
ICON: string;
|
|
2994
|
+
FOOTER: string;
|
|
2995
|
+
};
|
|
2996
|
+
CLASSES: {
|
|
2997
|
+
BASE: string;
|
|
2998
|
+
ROW: string;
|
|
2999
|
+
FLAT: string;
|
|
3000
|
+
ACTIVE: string;
|
|
3001
|
+
FLIPPED: string;
|
|
3002
|
+
FOCUSED: string;
|
|
3003
|
+
CLICKABLE: string;
|
|
3004
|
+
};
|
|
3005
|
+
DEFAULTS: {
|
|
3006
|
+
HOVER: boolean;
|
|
3007
|
+
};
|
|
3008
|
+
};
|
|
3009
|
+
/**
|
|
3010
|
+
* Select-specific constants
|
|
3011
|
+
*/
|
|
3012
|
+
declare const SELECT: {
|
|
3013
|
+
SELECTORS: {
|
|
3014
|
+
SELECT: string;
|
|
3015
|
+
SELECTED: string;
|
|
3016
|
+
SELECT_BODY: string;
|
|
3017
|
+
SELECT_PANEL: string;
|
|
3018
|
+
SELECT_ITEMS: string;
|
|
3019
|
+
SELECT_ITEM: string;
|
|
3020
|
+
ITEM_LABEL: string;
|
|
3021
|
+
ITEM_INPUT: string;
|
|
3022
|
+
OPTION: string;
|
|
3023
|
+
};
|
|
3024
|
+
CLASSES: {
|
|
3025
|
+
BASE: string;
|
|
3026
|
+
SELECTED: string;
|
|
3027
|
+
SELECT_BODY: string;
|
|
3028
|
+
SELECT_PANEL: string;
|
|
3029
|
+
SELECT_ITEMS: string;
|
|
3030
|
+
SELECT_ITEM: string;
|
|
3031
|
+
TOGGLE_ICON: string;
|
|
3032
|
+
ICON_CARET: string;
|
|
3033
|
+
SMALL: string;
|
|
3034
|
+
LARGE: string;
|
|
3035
|
+
INVALID: string;
|
|
3036
|
+
VALID: string;
|
|
3037
|
+
DISABLED: string;
|
|
3038
|
+
IS_OPEN: string;
|
|
3039
|
+
};
|
|
3040
|
+
};
|
|
3041
|
+
/**
|
|
3042
|
+
* Textarea-specific constants
|
|
3043
|
+
*/
|
|
3044
|
+
declare const TEXTAREA: {
|
|
3045
|
+
SELECTORS: {
|
|
3046
|
+
TEXTAREA: string;
|
|
3047
|
+
};
|
|
3048
|
+
CLASSES: {
|
|
3049
|
+
BASE: string;
|
|
3050
|
+
SMALL: string;
|
|
3051
|
+
LARGE: string;
|
|
3052
|
+
INVALID: string;
|
|
3053
|
+
VALID: string;
|
|
3054
|
+
DISABLED: string;
|
|
3055
|
+
};
|
|
3056
|
+
};
|
|
3057
|
+
/**
|
|
3058
|
+
* Avatar-specific constants
|
|
3059
|
+
*/
|
|
3060
|
+
declare const AVATAR: {
|
|
3061
|
+
SELECTORS: {
|
|
3062
|
+
AVATAR: string;
|
|
3063
|
+
IMAGE: string;
|
|
3064
|
+
INITIALS: string;
|
|
3065
|
+
ICON: string;
|
|
3066
|
+
};
|
|
3067
|
+
CLASSES: {
|
|
3068
|
+
BASE: string;
|
|
3069
|
+
XS: string;
|
|
3070
|
+
SM: string;
|
|
3071
|
+
MD: string;
|
|
3072
|
+
LG: string;
|
|
3073
|
+
XL: string;
|
|
3074
|
+
CIRCLE: string;
|
|
3075
|
+
};
|
|
3076
|
+
};
|
|
3077
|
+
/**
|
|
3078
|
+
* Avatar Group-specific constants
|
|
3079
|
+
*/
|
|
3080
|
+
declare const AVATAR_GROUP: {
|
|
3081
|
+
SELECTORS: {
|
|
3082
|
+
GROUP: string;
|
|
3083
|
+
MORE: string;
|
|
3084
|
+
};
|
|
3085
|
+
CLASSES: {
|
|
3086
|
+
BASE: string;
|
|
3087
|
+
STACKED: string;
|
|
3088
|
+
MORE: string;
|
|
3089
|
+
};
|
|
3090
|
+
};
|
|
3091
|
+
/**
|
|
3092
|
+
* Modal component constants
|
|
3093
|
+
*/
|
|
3094
|
+
declare const MODAL: {
|
|
3095
|
+
SELECTORS: {
|
|
3096
|
+
MODAL: string;
|
|
3097
|
+
OPEN_BUTTON: string;
|
|
3098
|
+
CLOSE_BUTTONS: string;
|
|
3099
|
+
DIALOG: string;
|
|
3100
|
+
BACKDROP: string;
|
|
3101
|
+
};
|
|
3102
|
+
CLASSES: {
|
|
3103
|
+
IS_OPEN: string;
|
|
3104
|
+
};
|
|
3105
|
+
DEFAULT_OPTIONS: {
|
|
3106
|
+
openELm: string;
|
|
3107
|
+
closeELms: string;
|
|
3108
|
+
modalDialogELm: string;
|
|
3109
|
+
backdropELm: string;
|
|
3110
|
+
backdrop: boolean;
|
|
3111
|
+
keyboard: boolean;
|
|
3112
|
+
};
|
|
3113
|
+
};
|
|
3114
|
+
/**
|
|
3115
|
+
* Messages-specific constants
|
|
3116
|
+
*/
|
|
3117
|
+
declare const MESSAGES: {
|
|
3118
|
+
SELECTORS: {
|
|
3119
|
+
MESSAGES: string;
|
|
3120
|
+
BODY: string;
|
|
3121
|
+
CONTENT: string;
|
|
3122
|
+
AVATAR: string;
|
|
3123
|
+
ITEMS: string;
|
|
3124
|
+
TEXT: string;
|
|
3125
|
+
FILE: string;
|
|
3126
|
+
IMAGE: string;
|
|
3127
|
+
FORM: string;
|
|
3128
|
+
INPUT: string;
|
|
3129
|
+
};
|
|
3130
|
+
CLASSES: {
|
|
3131
|
+
BASE: string;
|
|
3132
|
+
BODY: string;
|
|
3133
|
+
CONTENT: string;
|
|
3134
|
+
CONTENT_SELF: string;
|
|
3135
|
+
AVATAR: string;
|
|
3136
|
+
ITEMS: string;
|
|
3137
|
+
NAME: string;
|
|
3138
|
+
TEXT: string;
|
|
3139
|
+
TIME: string;
|
|
3140
|
+
FILE: string;
|
|
3141
|
+
FILE_ICON: string;
|
|
3142
|
+
FILE_DETAILS: string;
|
|
3143
|
+
FILE_NAME: string;
|
|
3144
|
+
FILE_SIZE: string;
|
|
3145
|
+
IMAGE: string;
|
|
3146
|
+
FORM: string;
|
|
3147
|
+
INPUT_GROUP: string;
|
|
3148
|
+
INPUT: string;
|
|
3149
|
+
OPTIONS: string;
|
|
3150
|
+
OPTION: string;
|
|
3151
|
+
OPTION_ICON: string;
|
|
3152
|
+
SUBMIT: string;
|
|
3153
|
+
};
|
|
3154
|
+
};
|
|
3155
|
+
/**
|
|
3156
|
+
* Dropdown-specific constants
|
|
3157
|
+
*/
|
|
3158
|
+
declare const DROPDOWN: {
|
|
3159
|
+
SELECTORS: {
|
|
3160
|
+
DROPDOWN: string;
|
|
3161
|
+
TOGGLE: string;
|
|
3162
|
+
MENU: string;
|
|
3163
|
+
MENU_WRAPPER: string;
|
|
3164
|
+
MENU_INNER: string;
|
|
3165
|
+
MENU_ITEM: string;
|
|
3166
|
+
DIVIDER: string;
|
|
3167
|
+
HEADER: string;
|
|
3168
|
+
};
|
|
3169
|
+
CLASSES: {
|
|
3170
|
+
IS_OPEN: string;
|
|
3171
|
+
IS_ACTIVE: string;
|
|
3172
|
+
IS_DISABLED: string;
|
|
3173
|
+
};
|
|
3174
|
+
DEFAULTS: {
|
|
3175
|
+
PLACEMENT: string;
|
|
3176
|
+
TRIGGER: string;
|
|
3177
|
+
OFFSET: number;
|
|
3178
|
+
MIN_WIDTH: number;
|
|
3179
|
+
ANIMATION_DURATION: string;
|
|
3180
|
+
ANIMATION_TIMING: string;
|
|
3181
|
+
};
|
|
3182
|
+
};
|
|
3183
|
+
/**
|
|
3184
|
+
* DatePicker-specific constants
|
|
3185
|
+
*/
|
|
3186
|
+
/**
|
|
3187
|
+
* Progress-specific constants
|
|
3188
|
+
*/
|
|
3189
|
+
declare const PROGRESS: {
|
|
3190
|
+
SELECTORS: {
|
|
3191
|
+
PROGRESS: string;
|
|
3192
|
+
BAR: string;
|
|
3193
|
+
};
|
|
3194
|
+
CLASSES: {
|
|
3195
|
+
BASE: string;
|
|
3196
|
+
BAR: string;
|
|
3197
|
+
SM: string;
|
|
3198
|
+
MD: string;
|
|
3199
|
+
LG: string;
|
|
3200
|
+
};
|
|
3201
|
+
ATTRIBUTES: {
|
|
3202
|
+
ARIA_VALUEMIN: string;
|
|
3203
|
+
ARIA_VALUEMAX: string;
|
|
3204
|
+
ARIA_VALUENOW: string;
|
|
3205
|
+
ARIA_LABEL: string;
|
|
3206
|
+
};
|
|
3207
|
+
CSS_VARS: {
|
|
3208
|
+
PERCENTAGE: string;
|
|
3209
|
+
};
|
|
3210
|
+
DEFAULTS: {
|
|
3211
|
+
ARIA_LABEL: string;
|
|
3212
|
+
};
|
|
3213
|
+
};
|
|
3214
|
+
declare const DATEPICKER: {
|
|
3215
|
+
SELECTORS: {
|
|
3216
|
+
DATEPICKER: string;
|
|
3217
|
+
INPUT: string;
|
|
3218
|
+
CALENDAR: string;
|
|
3219
|
+
DAY: string;
|
|
3220
|
+
MONTH: string;
|
|
3221
|
+
YEAR: string;
|
|
3222
|
+
HEADER: string;
|
|
3223
|
+
BODY: string;
|
|
3224
|
+
FOOTER: string;
|
|
3225
|
+
WEEKDAYS: string;
|
|
3226
|
+
TODAY_BUTTON: string;
|
|
3227
|
+
CLEAR_BUTTON: string;
|
|
3228
|
+
CLOSE_BUTTON: string;
|
|
3229
|
+
NAV_BUTTON: string;
|
|
3230
|
+
VIEW_SWITCH: string;
|
|
3231
|
+
};
|
|
3232
|
+
CLASSES: {
|
|
3233
|
+
IS_OPEN: string;
|
|
3234
|
+
IS_DISABLED: string;
|
|
3235
|
+
IS_SELECTED: string;
|
|
3236
|
+
IS_TODAY: string;
|
|
3237
|
+
INLINE: string;
|
|
3238
|
+
};
|
|
3239
|
+
ATTRIBUTES: {
|
|
3240
|
+
FORMAT: string;
|
|
3241
|
+
MIN_DATE: string;
|
|
3242
|
+
MAX_DATE: string;
|
|
3243
|
+
INLINE: string;
|
|
3244
|
+
PLACEMENT: string;
|
|
3245
|
+
CLEARABLE: string;
|
|
3246
|
+
SHOW_TODAY: string;
|
|
3247
|
+
SHOW_WEEK_NUMBERS: string;
|
|
3248
|
+
};
|
|
3249
|
+
DEFAULTS: {
|
|
3250
|
+
FORMAT: string;
|
|
3251
|
+
PLACEMENT: string;
|
|
3252
|
+
CLEARABLE: boolean;
|
|
3253
|
+
SHOW_TODAY_BUTTON: boolean;
|
|
3254
|
+
SHOW_WEEK_NUMBERS: boolean;
|
|
3255
|
+
INLINE: boolean;
|
|
3256
|
+
};
|
|
3257
|
+
};
|
|
3258
|
+
/**
|
|
3259
|
+
* PhotoViewer component constants
|
|
3260
|
+
*/
|
|
3261
|
+
declare const PHOTOVIEWER: {
|
|
3262
|
+
SELECTOR: string;
|
|
3263
|
+
CLASS: string;
|
|
3264
|
+
DEFAULTS: {
|
|
3265
|
+
startIndex: number;
|
|
3266
|
+
zoomLevel: number;
|
|
3267
|
+
fullscreen: boolean;
|
|
3268
|
+
};
|
|
3269
|
+
};
|
|
3270
|
+
|
|
3271
|
+
declare const __lib_constants_ACCORDION: typeof ACCORDION;
|
|
3272
|
+
declare const __lib_constants_AVATAR: typeof AVATAR;
|
|
3273
|
+
declare const __lib_constants_AVATAR_GROUP: typeof AVATAR_GROUP;
|
|
3274
|
+
declare const __lib_constants_BADGE: typeof BADGE;
|
|
3275
|
+
declare const __lib_constants_BREADCRUMB: typeof BREADCRUMB;
|
|
3276
|
+
declare const __lib_constants_BUTTON: typeof BUTTON;
|
|
3277
|
+
declare const __lib_constants_CALLOUT: typeof CALLOUT;
|
|
3278
|
+
declare const __lib_constants_CARD: typeof CARD;
|
|
3279
|
+
declare const __lib_constants_CLASS_PREFIX: typeof CLASS_PREFIX;
|
|
3280
|
+
declare const __lib_constants_COUNTDOWN: typeof COUNTDOWN;
|
|
3281
|
+
declare const __lib_constants_DATA_TABLE_CLASSES: typeof DATA_TABLE_CLASSES;
|
|
3282
|
+
declare const __lib_constants_DATA_TABLE_SELECTORS: typeof DATA_TABLE_SELECTORS;
|
|
3283
|
+
declare const __lib_constants_DATEPICKER: typeof DATEPICKER;
|
|
3284
|
+
declare const __lib_constants_DROPDOWN: typeof DROPDOWN;
|
|
3285
|
+
declare const __lib_constants_EDGE_PANEL: typeof EDGE_PANEL;
|
|
3286
|
+
declare const __lib_constants_FORM: typeof FORM;
|
|
3287
|
+
declare const __lib_constants_FORM_GROUP: typeof FORM_GROUP;
|
|
3288
|
+
declare const __lib_constants_HERO: typeof HERO;
|
|
3289
|
+
declare const __lib_constants_INPUT: typeof INPUT;
|
|
3290
|
+
declare const __lib_constants_LIST: typeof LIST;
|
|
3291
|
+
declare const __lib_constants_LIST_GROUP: typeof LIST_GROUP;
|
|
3292
|
+
declare const __lib_constants_MESSAGES: typeof MESSAGES;
|
|
3293
|
+
declare const __lib_constants_MODAL: typeof MODAL;
|
|
3294
|
+
declare const __lib_constants_NAV: typeof NAV;
|
|
3295
|
+
declare const __lib_constants_NAVBAR: typeof NAVBAR;
|
|
3296
|
+
declare const __lib_constants_PAGINATION_DEFAULTS: typeof PAGINATION_DEFAULTS;
|
|
3297
|
+
declare const __lib_constants_PHOTOVIEWER: typeof PHOTOVIEWER;
|
|
3298
|
+
declare const __lib_constants_POPOVER: typeof POPOVER;
|
|
3299
|
+
declare const __lib_constants_PROGRESS: typeof PROGRESS;
|
|
3300
|
+
declare const __lib_constants_RADIO: typeof RADIO;
|
|
3301
|
+
declare const __lib_constants_RATING: typeof RATING;
|
|
3302
|
+
declare const __lib_constants_RIVER: typeof RIVER;
|
|
3303
|
+
declare const __lib_constants_SECTION_INTRO: typeof SECTION_INTRO;
|
|
3304
|
+
declare const __lib_constants_SELECT: typeof SELECT;
|
|
3305
|
+
declare const __lib_constants_SIDE_MENU: typeof SIDE_MENU;
|
|
3306
|
+
declare const __lib_constants_SIZES: typeof SIZES;
|
|
3307
|
+
declare const __lib_constants_SPINNER: typeof SPINNER;
|
|
3308
|
+
declare const __lib_constants_STEPS: typeof STEPS;
|
|
3309
|
+
declare const __lib_constants_TAB: typeof TAB;
|
|
3310
|
+
declare const __lib_constants_TESTIMONIAL: typeof TESTIMONIAL;
|
|
3311
|
+
declare const __lib_constants_TEXTAREA: typeof TEXTAREA;
|
|
3312
|
+
declare const __lib_constants_THEME_COLORS: typeof THEME_COLORS;
|
|
3313
|
+
declare const __lib_constants_TODO: typeof TODO;
|
|
3314
|
+
declare const __lib_constants_TOGGLE: typeof TOGGLE;
|
|
3315
|
+
declare const __lib_constants_TOOLTIP: typeof TOOLTIP;
|
|
3316
|
+
declare const __lib_constants_UPLOAD: typeof UPLOAD;
|
|
3317
|
+
declare namespace __lib_constants {
|
|
3318
|
+
export {
|
|
3319
|
+
__lib_constants_ACCORDION as ACCORDION,
|
|
3320
|
+
__lib_constants_AVATAR as AVATAR,
|
|
3321
|
+
__lib_constants_AVATAR_GROUP as AVATAR_GROUP,
|
|
3322
|
+
__lib_constants_BADGE as BADGE,
|
|
3323
|
+
__lib_constants_BREADCRUMB as BREADCRUMB,
|
|
3324
|
+
__lib_constants_BUTTON as BUTTON,
|
|
3325
|
+
__lib_constants_CALLOUT as CALLOUT,
|
|
3326
|
+
__lib_constants_CARD as CARD,
|
|
3327
|
+
__lib_constants_CLASS_PREFIX as CLASS_PREFIX,
|
|
3328
|
+
__lib_constants_COUNTDOWN as COUNTDOWN,
|
|
3329
|
+
__lib_constants_DATA_TABLE_CLASSES as DATA_TABLE_CLASSES,
|
|
3330
|
+
__lib_constants_DATA_TABLE_SELECTORS as DATA_TABLE_SELECTORS,
|
|
3331
|
+
__lib_constants_DATEPICKER as DATEPICKER,
|
|
3332
|
+
__lib_constants_DROPDOWN as DROPDOWN,
|
|
3333
|
+
__lib_constants_EDGE_PANEL as EDGE_PANEL,
|
|
3334
|
+
__lib_constants_FORM as FORM,
|
|
3335
|
+
__lib_constants_FORM_GROUP as FORM_GROUP,
|
|
3336
|
+
__lib_constants_HERO as HERO,
|
|
3337
|
+
__lib_constants_INPUT as INPUT,
|
|
3338
|
+
__lib_constants_LIST as LIST,
|
|
3339
|
+
__lib_constants_LIST_GROUP as LIST_GROUP,
|
|
3340
|
+
__lib_constants_MESSAGES as MESSAGES,
|
|
3341
|
+
__lib_constants_MODAL as MODAL,
|
|
3342
|
+
__lib_constants_NAV as NAV,
|
|
3343
|
+
__lib_constants_NAVBAR as NAVBAR,
|
|
3344
|
+
__lib_constants_PAGINATION_DEFAULTS as PAGINATION_DEFAULTS,
|
|
3345
|
+
__lib_constants_PHOTOVIEWER as PHOTOVIEWER,
|
|
3346
|
+
__lib_constants_POPOVER as POPOVER,
|
|
3347
|
+
__lib_constants_PROGRESS as PROGRESS,
|
|
3348
|
+
__lib_constants_RADIO as RADIO,
|
|
3349
|
+
__lib_constants_RATING as RATING,
|
|
3350
|
+
__lib_constants_RIVER as RIVER,
|
|
3351
|
+
__lib_constants_SECTION_INTRO as SECTION_INTRO,
|
|
3352
|
+
__lib_constants_SELECT as SELECT,
|
|
3353
|
+
__lib_constants_SIDE_MENU as SIDE_MENU,
|
|
3354
|
+
__lib_constants_SIZES as SIZES,
|
|
3355
|
+
__lib_constants_SPINNER as SPINNER,
|
|
3356
|
+
__lib_constants_STEPS as STEPS,
|
|
3357
|
+
__lib_constants_TAB as TAB,
|
|
3358
|
+
__lib_constants_TESTIMONIAL as TESTIMONIAL,
|
|
3359
|
+
__lib_constants_TEXTAREA as TEXTAREA,
|
|
3360
|
+
__lib_constants_THEME_COLORS as THEME_COLORS,
|
|
3361
|
+
__lib_constants_TODO as TODO,
|
|
3362
|
+
__lib_constants_TOGGLE as TOGGLE,
|
|
3363
|
+
__lib_constants_TOOLTIP as TOOLTIP,
|
|
3364
|
+
__lib_constants_UPLOAD as UPLOAD,
|
|
3365
|
+
};
|
|
3366
|
+
}
|
|
3367
|
+
|
|
3368
|
+
/**
|
|
3369
|
+
* Check if element has a specific class
|
|
3370
|
+
* @param element - DOM element to check
|
|
3371
|
+
* @param className - Class name to check for
|
|
3372
|
+
* @returns Whether element has the class
|
|
3373
|
+
*/
|
|
3374
|
+
declare function hasClass(element: HTMLElement, className: string): boolean;
|
|
3375
|
+
/**
|
|
3376
|
+
* Add class to element if not already present
|
|
3377
|
+
* @param element - DOM element to modify
|
|
3378
|
+
* @param className - Class name to add
|
|
3379
|
+
*/
|
|
3380
|
+
declare function addClass(element: HTMLElement, className: string): void;
|
|
3381
|
+
/**
|
|
3382
|
+
* Remove class from element if present
|
|
3383
|
+
* @param element - DOM element to modify
|
|
3384
|
+
* @param className - Class name to remove
|
|
3385
|
+
*/
|
|
3386
|
+
declare function removeClass(element: HTMLElement, className: string): void;
|
|
3387
|
+
/**
|
|
3388
|
+
* Toggle class on element
|
|
3389
|
+
* @param element - DOM element to modify
|
|
3390
|
+
* @param className - Class name to toggle
|
|
3391
|
+
* @param force - If true, adds class; if false, removes class
|
|
3392
|
+
*/
|
|
3393
|
+
declare function toggleClass(element: HTMLElement, className: string, force?: boolean): void;
|
|
3394
|
+
|
|
3395
|
+
/**
|
|
3396
|
+
* Create a Phosphor icon SVG element
|
|
3397
|
+
* @param name - Icon name
|
|
3398
|
+
* @param size - Icon size in pixels
|
|
3399
|
+
* @returns SVG element as HTML string
|
|
3400
|
+
*/
|
|
3401
|
+
declare function createPhosphorIcon(name: string, size?: number): string;
|
|
3402
|
+
/**
|
|
3403
|
+
* Create an icon element
|
|
3404
|
+
* @param name - Icon name
|
|
3405
|
+
* @param size - Icon size in pixels
|
|
3406
|
+
* @param className - Additional CSS class name
|
|
3407
|
+
* @returns Icon element
|
|
3408
|
+
*/
|
|
3409
|
+
declare function createIconElement(name: string, size?: number, className?: string): HTMLSpanElement;
|
|
3410
|
+
/**
|
|
3411
|
+
* Get all available icon names
|
|
3412
|
+
* @returns Array of icon names
|
|
3413
|
+
*/
|
|
3414
|
+
declare function getAvailableIcons(): string[];
|
|
3415
|
+
|
|
3416
|
+
/**
|
|
3417
|
+
* Generate a UUID v4 compatible string without relying on Node.js crypto
|
|
3418
|
+
* This is a browser-compatible alternative to the uuid package
|
|
3419
|
+
* @returns A UUID v4 compatible string
|
|
3420
|
+
*/
|
|
3421
|
+
declare function generateUUID(): string;
|
|
3422
|
+
|
|
3423
|
+
declare const __lib_utils_addClass: typeof addClass;
|
|
3424
|
+
declare const __lib_utils_createIconElement: typeof createIconElement;
|
|
3425
|
+
declare const __lib_utils_createPhosphorIcon: typeof createPhosphorIcon;
|
|
3426
|
+
declare const __lib_utils_generateUUID: typeof generateUUID;
|
|
3427
|
+
declare const __lib_utils_getAvailableIcons: typeof getAvailableIcons;
|
|
3428
|
+
declare const __lib_utils_hasClass: typeof hasClass;
|
|
3429
|
+
declare const __lib_utils_removeClass: typeof removeClass;
|
|
3430
|
+
declare const __lib_utils_toggleClass: typeof toggleClass;
|
|
3431
|
+
declare namespace __lib_utils {
|
|
3432
|
+
export {
|
|
3433
|
+
__lib_utils_addClass as addClass,
|
|
3434
|
+
__lib_utils_createIconElement as createIconElement,
|
|
3435
|
+
__lib_utils_createPhosphorIcon as createPhosphorIcon,
|
|
3436
|
+
__lib_utils_generateUUID as generateUUID,
|
|
3437
|
+
__lib_utils_getAvailableIcons as getAvailableIcons,
|
|
3438
|
+
__lib_utils_hasClass as hasClass,
|
|
3439
|
+
__lib_utils_removeClass as removeClass,
|
|
3440
|
+
__lib_utils_toggleClass as toggleClass,
|
|
3441
|
+
};
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
/**
|
|
3445
|
+
* Button state and functionality
|
|
3446
|
+
* @param initialProps - Initial button properties
|
|
3447
|
+
* @returns Button state and methods
|
|
3448
|
+
*/
|
|
3449
|
+
declare function useButton(initialProps?: Partial<ButtonProps>): {
|
|
3450
|
+
defaultProps: Partial<ButtonProps>;
|
|
3451
|
+
generateButtonClass: (props: Partial<ButtonProps>) => string;
|
|
3452
|
+
handleClick: (handler?: () => void) => () => void;
|
|
3453
|
+
};
|
|
3454
|
+
|
|
3455
|
+
/**
|
|
3456
|
+
* Accordion functionality hook result
|
|
3457
|
+
*/
|
|
3458
|
+
interface UseAccordionResult {
|
|
3459
|
+
/** Current accordion state */
|
|
3460
|
+
state: AccordionState;
|
|
3461
|
+
/** Toggle the accordion open/closed */
|
|
3462
|
+
toggle: () => void;
|
|
3463
|
+
/** Update the panel height based on content */
|
|
3464
|
+
updatePanelHeight: () => void;
|
|
3465
|
+
/** Reference to the panel element */
|
|
3466
|
+
panelRef: React.RefObject<HTMLDivElement>;
|
|
3467
|
+
/** Reference to the content element */
|
|
3468
|
+
contentRef: React.RefObject<HTMLDivElement>;
|
|
3469
|
+
/** Generate accordion class names based on state */
|
|
3470
|
+
generateClassNames: (baseClassName?: string) => string;
|
|
3471
|
+
/** Generate header class names */
|
|
3472
|
+
generateHeaderClassNames: () => string;
|
|
3473
|
+
}
|
|
3474
|
+
/**
|
|
3475
|
+
* Accordion functionality hook
|
|
3476
|
+
* @param initialProps - Initial accordion properties
|
|
3477
|
+
* @returns Accordion state and methods
|
|
3478
|
+
*/
|
|
3479
|
+
declare function useAccordion(initialProps?: Partial<AccordionProps$1> & {
|
|
3480
|
+
isOpen?: boolean;
|
|
3481
|
+
onOpenChange?: (open: boolean) => void;
|
|
3482
|
+
}): UseAccordionResult;
|
|
3483
|
+
|
|
3484
|
+
/**
|
|
3485
|
+
* Badge state and functionality
|
|
3486
|
+
* @param initialProps - Initial badge properties
|
|
3487
|
+
* @returns Badge state and methods
|
|
3488
|
+
*/
|
|
3489
|
+
declare function useBadge(initialProps?: Partial<BadgeProps>): {
|
|
3490
|
+
defaultProps: Partial<BadgeProps>;
|
|
3491
|
+
generateBadgeClass: (props: Partial<BadgeProps>) => string;
|
|
3492
|
+
};
|
|
3493
|
+
|
|
3494
|
+
/**
|
|
3495
|
+
* Hero hook result interface
|
|
3496
|
+
*/
|
|
3497
|
+
interface UseHeroResult {
|
|
3498
|
+
/**
|
|
3499
|
+
* Generate hero class names based on props
|
|
3500
|
+
*/
|
|
3501
|
+
generateHeroClassNames: (baseClassName?: string) => string;
|
|
3502
|
+
/**
|
|
3503
|
+
* Generate image column class based on size
|
|
3504
|
+
*/
|
|
3505
|
+
generateImageColClass: (size?: number) => string;
|
|
3506
|
+
/**
|
|
3507
|
+
* Generate content column class based on size
|
|
3508
|
+
*/
|
|
3509
|
+
generateContentColClass: (size?: number) => string;
|
|
3510
|
+
/**
|
|
3511
|
+
* Determine if the hero has a background image
|
|
3512
|
+
*/
|
|
3513
|
+
hasBackgroundImage: boolean;
|
|
3514
|
+
/**
|
|
3515
|
+
* Determine if the hero has a foreground image
|
|
3516
|
+
*/
|
|
3517
|
+
hasForegroundImage: boolean;
|
|
3518
|
+
/**
|
|
3519
|
+
* Determine if content should be displayed in a grid
|
|
3520
|
+
*/
|
|
3521
|
+
useGridLayout: boolean;
|
|
3522
|
+
/**
|
|
3523
|
+
* Reference to the hero element
|
|
3524
|
+
*/
|
|
3525
|
+
heroRef: React.RefObject<HTMLDivElement>;
|
|
3526
|
+
/**
|
|
3527
|
+
* Reference to the video element
|
|
3528
|
+
*/
|
|
3529
|
+
videoRef: React.RefObject<HTMLVideoElement>;
|
|
3530
|
+
/**
|
|
3531
|
+
* Apply parallax effect
|
|
3532
|
+
*/
|
|
3533
|
+
applyParallaxEffect: (element: HTMLElement, intensity: number) => void;
|
|
3534
|
+
/**
|
|
3535
|
+
* Remove parallax effect
|
|
3536
|
+
*/
|
|
3537
|
+
removeParallaxEffect: (element: HTMLElement) => void;
|
|
3538
|
+
}
|
|
3539
|
+
/**
|
|
3540
|
+
* Hook for Hero component functionality
|
|
3541
|
+
* @param initialProps - Initial hero props
|
|
3542
|
+
* @returns Hero methods
|
|
3543
|
+
*/
|
|
3544
|
+
declare function useHero(initialProps?: Partial<HeroProps>): UseHeroResult;
|
|
3545
|
+
|
|
3546
|
+
/**
|
|
3547
|
+
* River content column interface
|
|
3548
|
+
*/
|
|
3549
|
+
interface RiverContentColumn {
|
|
3550
|
+
/**
|
|
3551
|
+
* Column type (title or text)
|
|
3552
|
+
*/
|
|
3553
|
+
type: 'title' | 'text';
|
|
3554
|
+
/**
|
|
3555
|
+
* Content for the column
|
|
3556
|
+
*/
|
|
3557
|
+
content: ReactNode;
|
|
3558
|
+
}
|
|
3559
|
+
/**
|
|
3560
|
+
* River properties interface
|
|
3561
|
+
*/
|
|
3562
|
+
interface RiverProps {
|
|
3563
|
+
/**
|
|
3564
|
+
* Title of the river section
|
|
3565
|
+
*/
|
|
3566
|
+
title?: ReactNode;
|
|
3567
|
+
/**
|
|
3568
|
+
* Text content (can be a string or array of paragraphs)
|
|
3569
|
+
*/
|
|
3570
|
+
text?: string | string[];
|
|
3571
|
+
/**
|
|
3572
|
+
* Action buttons/links
|
|
3573
|
+
*/
|
|
3574
|
+
actions?: ReactNode;
|
|
3575
|
+
/**
|
|
3576
|
+
* Image source URL
|
|
3577
|
+
*/
|
|
3578
|
+
imageSrc?: string;
|
|
3579
|
+
/**
|
|
3580
|
+
* Image alt text
|
|
3581
|
+
*/
|
|
3582
|
+
imageAlt?: string;
|
|
3583
|
+
/**
|
|
3584
|
+
* Whether to use the center layout
|
|
3585
|
+
*/
|
|
3586
|
+
center?: boolean;
|
|
3587
|
+
/**
|
|
3588
|
+
* Whether to use the breakout layout
|
|
3589
|
+
*/
|
|
3590
|
+
breakout?: boolean;
|
|
3591
|
+
/**
|
|
3592
|
+
* Whether to use the reverse layout (image on right)
|
|
3593
|
+
*/
|
|
3594
|
+
reverse?: boolean;
|
|
3595
|
+
/**
|
|
3596
|
+
* Use content columns instead of simple title/text structure
|
|
3597
|
+
*/
|
|
3598
|
+
contentColumns?: RiverContentColumn[];
|
|
3599
|
+
/**
|
|
3600
|
+
* Additional CSS class
|
|
3601
|
+
*/
|
|
3602
|
+
className?: string;
|
|
3603
|
+
/**
|
|
3604
|
+
* Background image source
|
|
3605
|
+
*/
|
|
3606
|
+
backgroundImageSrc?: string;
|
|
3607
|
+
/**
|
|
3608
|
+
* Whether to show the background overlay
|
|
3609
|
+
*/
|
|
3610
|
+
showOverlay?: boolean;
|
|
3611
|
+
/**
|
|
3612
|
+
* Custom width for the river content
|
|
3613
|
+
*/
|
|
3614
|
+
contentWidth?: string;
|
|
3615
|
+
}
|
|
3616
|
+
/**
|
|
3617
|
+
* River hook result interface
|
|
3618
|
+
*/
|
|
3619
|
+
interface UseRiverResult {
|
|
3620
|
+
/**
|
|
3621
|
+
* Generate river class names based on props
|
|
3622
|
+
*/
|
|
3623
|
+
generateRiverClassNames: (baseClassName?: string) => string;
|
|
3624
|
+
/**
|
|
3625
|
+
* Generate content class names
|
|
3626
|
+
*/
|
|
3627
|
+
generateContentClass: () => string;
|
|
3628
|
+
/**
|
|
3629
|
+
* Generate visual/image class names
|
|
3630
|
+
*/
|
|
3631
|
+
generateVisualClass: () => string;
|
|
3632
|
+
/**
|
|
3633
|
+
* Determine if the river has a background image
|
|
3634
|
+
*/
|
|
3635
|
+
hasBackgroundImage: boolean;
|
|
3636
|
+
/**
|
|
3637
|
+
* Determine if the river has a foreground image
|
|
3638
|
+
*/
|
|
3639
|
+
hasForegroundImage: boolean;
|
|
3640
|
+
/**
|
|
3641
|
+
* Convert text to array if it's a string
|
|
3642
|
+
*/
|
|
3643
|
+
textContent: string[];
|
|
3644
|
+
}
|
|
3645
|
+
/**
|
|
3646
|
+
* Hook for River component functionality
|
|
3647
|
+
* @param initialProps - Initial river props
|
|
3648
|
+
* @returns River methods and state
|
|
3649
|
+
*/
|
|
3650
|
+
declare function useRiver(initialProps?: Partial<RiverProps>): UseRiverResult;
|
|
3651
|
+
|
|
3652
|
+
/**
|
|
3653
|
+
* Spinner state and functionality
|
|
3654
|
+
* @param initialProps - Initial spinner properties
|
|
3655
|
+
* @returns Spinner state and methods
|
|
3656
|
+
*/
|
|
3657
|
+
declare function useSpinner(initialProps?: Partial<SpinnerProps>): {
|
|
3658
|
+
defaultProps: Partial<SpinnerProps>;
|
|
3659
|
+
generateSpinnerClass: (props: Partial<SpinnerProps>) => string;
|
|
3660
|
+
};
|
|
3661
|
+
|
|
3662
|
+
/**
|
|
3663
|
+
* Navbar state and functionality
|
|
3664
|
+
* @param initialProps - Initial navbar properties
|
|
3665
|
+
* @returns Navbar state and methods
|
|
3666
|
+
*/
|
|
3667
|
+
declare function useNavbar(initialProps?: Partial<NavbarProps>): {
|
|
3668
|
+
defaultProps: Partial<NavbarProps>;
|
|
3669
|
+
isExpanded: boolean;
|
|
3670
|
+
setIsExpanded: React__default.Dispatch<React__default.SetStateAction<boolean>>;
|
|
3671
|
+
generateNavbarClass: (props: Partial<NavbarProps>) => string;
|
|
3672
|
+
generateContainerStyle: (width?: string) => {
|
|
3673
|
+
maxWidth: string;
|
|
3674
|
+
} | {
|
|
3675
|
+
maxWidth?: undefined;
|
|
3676
|
+
};
|
|
3677
|
+
generateCollapseClass: (expanded: boolean) => string;
|
|
3678
|
+
toggleExpanded: () => void;
|
|
3679
|
+
getExpandedState: (controlled?: boolean) => boolean;
|
|
3680
|
+
};
|
|
3681
|
+
/**
|
|
3682
|
+
* Nav state and functionality
|
|
3683
|
+
* @param initialProps - Initial nav properties
|
|
3684
|
+
* @returns Nav state and methods
|
|
3685
|
+
*/
|
|
3686
|
+
declare function useNav(initialProps?: Partial<NavProps>): {
|
|
3687
|
+
defaultProps: Partial<NavProps>;
|
|
3688
|
+
generateNavClass: (props: Partial<NavProps>) => string;
|
|
3689
|
+
};
|
|
3690
|
+
/**
|
|
3691
|
+
* Nav item state and functionality
|
|
3692
|
+
* @param initialProps - Initial nav item properties
|
|
3693
|
+
* @returns Nav item state and methods
|
|
3694
|
+
*/
|
|
3695
|
+
declare function useNavItem(initialProps?: Partial<NavItemProps & {
|
|
3696
|
+
megaMenu?: boolean;
|
|
3697
|
+
}>): {
|
|
3698
|
+
defaultProps: Partial<NavItemProps & {
|
|
3699
|
+
megaMenu?: boolean;
|
|
3700
|
+
}>;
|
|
3701
|
+
generateNavItemClass: (props: Partial<NavItemProps & {
|
|
3702
|
+
megaMenu?: boolean;
|
|
3703
|
+
}>) => string;
|
|
3704
|
+
generateNavLinkClass: (active?: boolean, disabled?: boolean, className?: string) => string;
|
|
3705
|
+
handleClick: (handler?: () => void) => (e: React__default.MouseEvent) => void;
|
|
3706
|
+
};
|
|
3707
|
+
/**
|
|
3708
|
+
* Nav dropdown state and functionality
|
|
3709
|
+
* @param initialProps - Initial dropdown properties
|
|
3710
|
+
* @returns Dropdown state and methods
|
|
3711
|
+
*/
|
|
3712
|
+
declare function useNavDropdown(initialProps?: Partial<NavDropdownProps>): {
|
|
3713
|
+
defaultProps: Partial<NavDropdownProps>;
|
|
3714
|
+
generateDropdownMenuClass: (props: Partial<NavDropdownProps>) => string;
|
|
3715
|
+
isInFixedBottomNavbar: () => boolean;
|
|
3716
|
+
getIconClass: (isMegaMenu?: boolean) => string;
|
|
3717
|
+
getIconName: (isMegaMenu?: boolean) => string;
|
|
3718
|
+
};
|
|
3719
|
+
|
|
3720
|
+
/**
|
|
3721
|
+
* EdgePanel state and functionality
|
|
3722
|
+
* @param initialProps - Initial EdgePanel properties
|
|
3723
|
+
* @returns EdgePanel state and methods
|
|
3724
|
+
*/
|
|
3725
|
+
declare function useEdgePanel(initialProps?: Partial<EdgePanelProps>): {
|
|
3726
|
+
isOpen: boolean;
|
|
3727
|
+
containerRef: React$1.MutableRefObject<HTMLDivElement>;
|
|
3728
|
+
backdropRef: React$1.MutableRefObject<HTMLDivElement>;
|
|
3729
|
+
generateEdgePanelClass: (props: Partial<EdgePanelProps>) => string;
|
|
3730
|
+
openPanel: () => void;
|
|
3731
|
+
closePanel: () => void;
|
|
3732
|
+
handleBackdropClick: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
3733
|
+
};
|
|
3734
|
+
|
|
3735
|
+
/**
|
|
3736
|
+
* Todo composable hook - manages todo items state and operations
|
|
3737
|
+
* @param initialProps - Initial todo properties
|
|
3738
|
+
* @returns Todo state and methods
|
|
3739
|
+
*/
|
|
3740
|
+
declare function useTodo(initialProps?: Partial<TodoProps>): {
|
|
3741
|
+
items: TodoItem[];
|
|
3742
|
+
inputText: string;
|
|
3743
|
+
setInputText: React$1.Dispatch<React$1.SetStateAction<string>>;
|
|
3744
|
+
addTodo: (text: string) => TodoItem | null;
|
|
3745
|
+
toggleTodo: (id: string) => TodoItem | null;
|
|
3746
|
+
deleteTodo: (id: string) => boolean;
|
|
3747
|
+
handleSubmit: (event: React.FormEvent, onAddTodo?: (text: string) => void) => void;
|
|
3748
|
+
generateTodoClasses: (props: Partial<TodoProps>) => string;
|
|
3749
|
+
generateItemClasses: (item: TodoItem) => string;
|
|
3750
|
+
getFilteredItems: (showCompleted?: boolean) => TodoItem[];
|
|
3751
|
+
};
|
|
3752
|
+
|
|
3753
|
+
/**
|
|
3754
|
+
* Form state and functionality
|
|
3755
|
+
* @param initialProps - Initial form properties
|
|
3756
|
+
* @returns Form state and methods
|
|
3757
|
+
*/
|
|
3758
|
+
declare function useForm(initialProps?: Partial<FormProps>): {
|
|
3759
|
+
defaultProps: Partial<FormProps>;
|
|
3760
|
+
generateFormClass: (props: Partial<FormProps>) => string;
|
|
3761
|
+
handleSubmit: (handler?: (event: React.FormEvent<HTMLFormElement>) => void) => (event: React.FormEvent<HTMLFormElement>) => void;
|
|
3762
|
+
handleReset: (handler?: (event: React.FormEvent<HTMLFormElement>) => void) => (event: React.FormEvent<HTMLFormElement>) => void;
|
|
3763
|
+
};
|
|
3764
|
+
|
|
3765
|
+
/**
|
|
3766
|
+
* Form Group state and functionality
|
|
3767
|
+
* @param initialProps - Initial form group properties
|
|
3768
|
+
* @returns Form Group state and methods
|
|
3769
|
+
*/
|
|
3770
|
+
declare function useFormGroup(initialProps?: Partial<FormGroupProps>): {
|
|
3771
|
+
defaultProps: Partial<FormGroupProps>;
|
|
3772
|
+
generateFormGroupClass: (props: Partial<FormGroupProps>) => string;
|
|
3773
|
+
};
|
|
3774
|
+
|
|
3775
|
+
/**
|
|
3776
|
+
* Input state and functionality
|
|
3777
|
+
* @param initialProps - Initial input properties
|
|
3778
|
+
* @returns Input state and methods
|
|
3779
|
+
*/
|
|
3780
|
+
declare function useInput(initialProps?: Partial<InputProps>): {
|
|
3781
|
+
defaultProps: Partial<InputProps>;
|
|
3782
|
+
generateInputClass: (props: Partial<InputProps> & {
|
|
3783
|
+
type?: string;
|
|
3784
|
+
}) => string;
|
|
3785
|
+
};
|
|
3786
|
+
|
|
3787
|
+
/**
|
|
3788
|
+
* Select state and functionality
|
|
3789
|
+
* @param initialProps - Initial select properties
|
|
3790
|
+
* @returns Select state and methods
|
|
3791
|
+
*/
|
|
3792
|
+
declare function useSelect(initialProps?: Partial<SelectProps>): {
|
|
3793
|
+
defaultProps: Partial<SelectProps>;
|
|
3794
|
+
generateSelectClass: (props: Partial<SelectProps>) => string;
|
|
3795
|
+
};
|
|
3796
|
+
|
|
3797
|
+
/**
|
|
3798
|
+
* Checkbox state and functionality
|
|
3799
|
+
* @param initialProps - Initial checkbox properties
|
|
3800
|
+
* @returns Checkbox state and methods
|
|
3801
|
+
*/
|
|
3802
|
+
declare function useCheckbox(initialProps?: Partial<CheckboxProps>): {
|
|
3803
|
+
defaultProps: Partial<CheckboxProps>;
|
|
3804
|
+
generateCheckboxClass: (props: Partial<CheckboxProps>) => string;
|
|
3805
|
+
checkboxRef: React$1.MutableRefObject<HTMLInputElement>;
|
|
3806
|
+
};
|
|
3807
|
+
|
|
3808
|
+
/**
|
|
3809
|
+
* Radio state and functionality
|
|
3810
|
+
* @param initialProps - Initial radio properties
|
|
3811
|
+
* @returns Radio state and methods
|
|
3812
|
+
*/
|
|
3813
|
+
declare function useRadio(initialProps?: Partial<RadioProps>): {
|
|
3814
|
+
defaultProps: Partial<RadioProps>;
|
|
3815
|
+
generateRadioClass: (props: Partial<RadioProps>) => string;
|
|
3816
|
+
};
|
|
3817
|
+
|
|
3818
|
+
/**
|
|
3819
|
+
* Textarea state and functionality
|
|
3820
|
+
* @param initialProps - Initial textarea properties
|
|
3821
|
+
* @returns Textarea state and methods
|
|
3822
|
+
*/
|
|
3823
|
+
declare function useTextarea(initialProps?: Partial<TextareaProps>): {
|
|
3824
|
+
defaultProps: Partial<TextareaProps>;
|
|
3825
|
+
generateTextareaClass: (props: Partial<TextareaProps>) => string;
|
|
3826
|
+
};
|
|
3827
|
+
|
|
3828
|
+
interface UseDataTableProps {
|
|
3829
|
+
/**
|
|
3830
|
+
* Data array to display
|
|
3831
|
+
*/
|
|
3832
|
+
data: any[];
|
|
3833
|
+
/**
|
|
3834
|
+
* Column definitions
|
|
3835
|
+
*/
|
|
3836
|
+
columns: DataTableColumn[];
|
|
3837
|
+
/**
|
|
3838
|
+
* Whether the table is sortable
|
|
3839
|
+
*/
|
|
3840
|
+
sortable?: boolean;
|
|
3841
|
+
/**
|
|
3842
|
+
* Whether the table is paginated
|
|
3843
|
+
*/
|
|
3844
|
+
paginated?: boolean;
|
|
3845
|
+
/**
|
|
3846
|
+
* Number of rows per page
|
|
3847
|
+
*/
|
|
3848
|
+
pageSize?: number;
|
|
3849
|
+
/**
|
|
3850
|
+
* Callback when sorting changes
|
|
3851
|
+
*/
|
|
3852
|
+
onSort?: (sortConfig: SortConfig) => void;
|
|
3853
|
+
/**
|
|
3854
|
+
* Initial sort configuration
|
|
3855
|
+
*/
|
|
3856
|
+
initialSortConfig?: SortConfig;
|
|
3857
|
+
}
|
|
3858
|
+
interface UseDataTableReturn {
|
|
3859
|
+
/**
|
|
3860
|
+
* Data to display (filtered, sorted, paginated)
|
|
3861
|
+
*/
|
|
3862
|
+
displayData: any[];
|
|
3863
|
+
/**
|
|
3864
|
+
* Current sort configuration
|
|
3865
|
+
*/
|
|
3866
|
+
sortConfig: SortConfig | null;
|
|
3867
|
+
/**
|
|
3868
|
+
* Current page number
|
|
3869
|
+
*/
|
|
3870
|
+
currentPage: number;
|
|
3871
|
+
/**
|
|
3872
|
+
* Total number of pages
|
|
3873
|
+
*/
|
|
3874
|
+
totalPages: number;
|
|
3875
|
+
/**
|
|
3876
|
+
* Handle sort column click
|
|
3877
|
+
*/
|
|
3878
|
+
handleSort: (key: string) => void;
|
|
3879
|
+
/**
|
|
3880
|
+
* Handle page change
|
|
3881
|
+
*/
|
|
3882
|
+
handlePageChange: (page: number) => void;
|
|
3883
|
+
/**
|
|
3884
|
+
* Handle search input
|
|
3885
|
+
*/
|
|
3886
|
+
handleSearch: (query: string) => void;
|
|
3887
|
+
}
|
|
3888
|
+
/**
|
|
3889
|
+
* Hook for managing DataTable state and behavior
|
|
3890
|
+
*/
|
|
3891
|
+
declare function useDataTable({ data, columns, sortable, paginated, pageSize, onSort, initialSortConfig, }: UseDataTableProps): UseDataTableReturn;
|
|
3892
|
+
|
|
3893
|
+
declare const DOTS = "...";
|
|
3894
|
+
declare const usePagination: ({ currentPage, totalPages, siblingCount, onPageChange, }: Omit<PaginationProps, "className">) => {
|
|
3895
|
+
paginationRange: (string | number)[];
|
|
3896
|
+
currentPage: number;
|
|
3897
|
+
totalPages: number;
|
|
3898
|
+
goToPage: (page: number) => void;
|
|
3899
|
+
nextPage: () => void;
|
|
3900
|
+
prevPage: () => void;
|
|
3901
|
+
firstPage: () => void;
|
|
3902
|
+
lastPage: () => void;
|
|
3903
|
+
DOTS: string;
|
|
3904
|
+
};
|
|
3905
|
+
|
|
3906
|
+
interface UseModalProps {
|
|
3907
|
+
/**
|
|
3908
|
+
* Whether the modal is open
|
|
3909
|
+
*/
|
|
3910
|
+
isOpen?: boolean;
|
|
3911
|
+
/**
|
|
3912
|
+
* Callback when modal state changes
|
|
3913
|
+
*/
|
|
3914
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
3915
|
+
/**
|
|
3916
|
+
* Callback when modal opens
|
|
3917
|
+
*/
|
|
3918
|
+
onOpen?: () => void;
|
|
3919
|
+
/**
|
|
3920
|
+
* Callback when modal closes
|
|
3921
|
+
*/
|
|
3922
|
+
onClose?: () => void;
|
|
3923
|
+
}
|
|
3924
|
+
interface UseModalReturn {
|
|
3925
|
+
/**
|
|
3926
|
+
* Current open state
|
|
3927
|
+
*/
|
|
3928
|
+
isOpen: boolean;
|
|
3929
|
+
/**
|
|
3930
|
+
* Function to open the modal
|
|
3931
|
+
*/
|
|
3932
|
+
open: () => void;
|
|
3933
|
+
/**
|
|
3934
|
+
* Function to close the modal
|
|
3935
|
+
*/
|
|
3936
|
+
close: () => void;
|
|
3937
|
+
/**
|
|
3938
|
+
* Function to toggle the modal
|
|
3939
|
+
*/
|
|
3940
|
+
toggle: () => void;
|
|
3941
|
+
}
|
|
3942
|
+
/**
|
|
3943
|
+
* Hook for managing modal state
|
|
3944
|
+
*/
|
|
3945
|
+
declare function useModal({ isOpen: isOpenProp, onOpenChange, onOpen, onClose, }?: UseModalProps): UseModalReturn;
|
|
3946
|
+
|
|
3947
|
+
/**
|
|
3948
|
+
* Breadcrumb item interface
|
|
3949
|
+
*/
|
|
3950
|
+
interface BreadcrumbItem$1 {
|
|
3951
|
+
/**
|
|
3952
|
+
* Item label text
|
|
3953
|
+
*/
|
|
3954
|
+
label: string;
|
|
3955
|
+
/**
|
|
3956
|
+
* Optional URL for the breadcrumb item
|
|
3957
|
+
*/
|
|
3958
|
+
href?: string;
|
|
3959
|
+
/**
|
|
3960
|
+
* Whether this item is active/current
|
|
3961
|
+
*/
|
|
3962
|
+
active?: boolean;
|
|
3963
|
+
/**
|
|
3964
|
+
* Icon name from Phosphor Icons
|
|
3965
|
+
*/
|
|
3966
|
+
icon?: string;
|
|
3967
|
+
/**
|
|
3968
|
+
* Optional click handler
|
|
3969
|
+
*/
|
|
3970
|
+
onClick?: (event: MouseEvent) => void;
|
|
3971
|
+
}
|
|
3972
|
+
/**
|
|
3973
|
+
* Breadcrumb options interface
|
|
3974
|
+
*/
|
|
3975
|
+
interface BreadcrumbOptions {
|
|
3976
|
+
/**
|
|
3977
|
+
* Array of breadcrumb items
|
|
3978
|
+
*/
|
|
3979
|
+
items?: BreadcrumbItem$1[];
|
|
3980
|
+
/**
|
|
3981
|
+
* Divider character or string between items
|
|
3982
|
+
*/
|
|
3983
|
+
divider?: string;
|
|
3984
|
+
/**
|
|
3985
|
+
* Additional CSS class names
|
|
3986
|
+
*/
|
|
3987
|
+
className?: string;
|
|
3988
|
+
/**
|
|
3989
|
+
* Accessible label for the breadcrumb navigation
|
|
3990
|
+
*/
|
|
3991
|
+
ariaLabel?: string;
|
|
3992
|
+
}
|
|
3993
|
+
|
|
3994
|
+
/**
|
|
3995
|
+
* Breadcrumb state and functionality
|
|
3996
|
+
* @param initialOptions - Initial breadcrumb options
|
|
3997
|
+
* @returns Breadcrumb state and methods
|
|
3998
|
+
*/
|
|
3999
|
+
declare function useBreadcrumb(initialOptions?: Partial<BreadcrumbOptions>): {
|
|
4000
|
+
defaultOptions: BreadcrumbOptions;
|
|
4001
|
+
generateBreadcrumbClass: (options: Partial<BreadcrumbOptions>) => string;
|
|
4002
|
+
generateItemClass: (item: BreadcrumbItem$1, isLast: boolean) => string;
|
|
4003
|
+
isItemLink: (item: BreadcrumbItem$1, isLast: boolean) => boolean;
|
|
4004
|
+
parseItemsFromJson: (jsonString: string) => BreadcrumbItem$1[];
|
|
4005
|
+
};
|
|
4006
|
+
|
|
4007
|
+
/**
|
|
4008
|
+
* Hook for managing Card component state and behaviors
|
|
4009
|
+
*
|
|
4010
|
+
* @param options - Configuration options for the card
|
|
4011
|
+
* @returns Card state and handlers
|
|
4012
|
+
*/
|
|
4013
|
+
declare const useCard: (options?: UseCardOptions) => UseCardReturn;
|
|
4014
|
+
|
|
4015
|
+
declare const __lib_composables_DOTS: typeof DOTS;
|
|
4016
|
+
type __lib_composables_RiverContentColumn = RiverContentColumn;
|
|
4017
|
+
type __lib_composables_RiverProps = RiverProps;
|
|
4018
|
+
type __lib_composables_UseDataTableProps = UseDataTableProps;
|
|
4019
|
+
type __lib_composables_UseDataTableReturn = UseDataTableReturn;
|
|
4020
|
+
type __lib_composables_UseModalProps = UseModalProps;
|
|
4021
|
+
type __lib_composables_UseModalReturn = UseModalReturn;
|
|
4022
|
+
declare const __lib_composables_useAccordion: typeof useAccordion;
|
|
4023
|
+
declare const __lib_composables_useBadge: typeof useBadge;
|
|
4024
|
+
declare const __lib_composables_useBreadcrumb: typeof useBreadcrumb;
|
|
4025
|
+
declare const __lib_composables_useButton: typeof useButton;
|
|
4026
|
+
declare const __lib_composables_useCard: typeof useCard;
|
|
4027
|
+
declare const __lib_composables_useCheckbox: typeof useCheckbox;
|
|
4028
|
+
declare const __lib_composables_useDataTable: typeof useDataTable;
|
|
4029
|
+
declare const __lib_composables_useEdgePanel: typeof useEdgePanel;
|
|
4030
|
+
declare const __lib_composables_useForm: typeof useForm;
|
|
4031
|
+
declare const __lib_composables_useFormGroup: typeof useFormGroup;
|
|
4032
|
+
declare const __lib_composables_useHero: typeof useHero;
|
|
4033
|
+
declare const __lib_composables_useInput: typeof useInput;
|
|
4034
|
+
declare const __lib_composables_useModal: typeof useModal;
|
|
4035
|
+
declare const __lib_composables_useNav: typeof useNav;
|
|
4036
|
+
declare const __lib_composables_useNavDropdown: typeof useNavDropdown;
|
|
4037
|
+
declare const __lib_composables_useNavItem: typeof useNavItem;
|
|
4038
|
+
declare const __lib_composables_useNavbar: typeof useNavbar;
|
|
4039
|
+
declare const __lib_composables_usePagination: typeof usePagination;
|
|
4040
|
+
declare const __lib_composables_useRadio: typeof useRadio;
|
|
4041
|
+
declare const __lib_composables_useRiver: typeof useRiver;
|
|
4042
|
+
declare const __lib_composables_useSelect: typeof useSelect;
|
|
4043
|
+
declare const __lib_composables_useSpinner: typeof useSpinner;
|
|
4044
|
+
declare const __lib_composables_useTextarea: typeof useTextarea;
|
|
4045
|
+
declare const __lib_composables_useTodo: typeof useTodo;
|
|
4046
|
+
declare namespace __lib_composables {
|
|
4047
|
+
export { __lib_composables_DOTS as DOTS, __lib_composables_useAccordion as useAccordion, __lib_composables_useBadge as useBadge, __lib_composables_useBreadcrumb as useBreadcrumb, __lib_composables_useButton as useButton, __lib_composables_useCard as useCard, __lib_composables_useCheckbox as useCheckbox, __lib_composables_useDataTable as useDataTable, __lib_composables_useEdgePanel as useEdgePanel, __lib_composables_useForm as useForm, __lib_composables_useFormGroup as useFormGroup, __lib_composables_useHero as useHero, __lib_composables_useInput as useInput, __lib_composables_useModal as useModal, __lib_composables_useNav as useNav, __lib_composables_useNavDropdown as useNavDropdown, __lib_composables_useNavItem as useNavItem, __lib_composables_useNavbar as useNavbar, __lib_composables_usePagination as usePagination, __lib_composables_useRadio as useRadio, __lib_composables_useRiver as useRiver, __lib_composables_useSelect as useSelect, __lib_composables_useSpinner as useSpinner, __lib_composables_useTextarea as useTextarea, __lib_composables_useTodo as useTodo };
|
|
4048
|
+
export type { __lib_composables_RiverContentColumn as RiverContentColumn, __lib_composables_RiverProps as RiverProps, __lib_composables_UseDataTableProps as UseDataTableProps, __lib_composables_UseDataTableReturn as UseDataTableReturn, __lib_composables_UseModalProps as UseModalProps, __lib_composables_UseModalReturn as UseModalReturn };
|
|
4049
|
+
}
|
|
4050
|
+
|
|
4051
|
+
/**
|
|
4052
|
+
* Accordion component for showing/hiding content panels
|
|
4053
|
+
*/
|
|
4054
|
+
interface AccordionProps extends BaseComponentProps {
|
|
4055
|
+
/**
|
|
4056
|
+
* Title of the accordion
|
|
4057
|
+
*/
|
|
4058
|
+
title: string;
|
|
4059
|
+
/**
|
|
4060
|
+
* Content to be shown when accordion is expanded
|
|
4061
|
+
*/
|
|
4062
|
+
children: ReactNode;
|
|
4063
|
+
/**
|
|
4064
|
+
* Whether the accordion is initially open
|
|
4065
|
+
*/
|
|
4066
|
+
defaultOpen?: boolean;
|
|
4067
|
+
/**
|
|
4068
|
+
* Position of the icon (right or left)
|
|
4069
|
+
*/
|
|
4070
|
+
iconPosition?: IconPosition;
|
|
4071
|
+
/**
|
|
4072
|
+
* Custom icon for the accordion
|
|
4073
|
+
*/
|
|
4074
|
+
icon?: ReactNode;
|
|
4075
|
+
/**
|
|
4076
|
+
* Controlled open state (overrides defaultOpen)
|
|
4077
|
+
*/
|
|
4078
|
+
isOpen?: boolean;
|
|
4079
|
+
/**
|
|
4080
|
+
* Callback when open state changes (for controlled mode)
|
|
4081
|
+
*/
|
|
4082
|
+
onOpenChange?: (open: boolean) => void;
|
|
4083
|
+
}
|
|
4084
|
+
declare const Accordion: React__default.FC<AccordionProps>;
|
|
4085
|
+
|
|
4086
|
+
declare const Avatar: React__default.FC<AvatarProps>;
|
|
4087
|
+
|
|
4088
|
+
declare const AvatarGroup: React__default.FC<AvatarGroupProps>;
|
|
4089
|
+
|
|
4090
|
+
declare const Badge: React__default.FC<BadgeProps>;
|
|
4091
|
+
|
|
4092
|
+
interface BreadcrumbItem {
|
|
4093
|
+
/**
|
|
4094
|
+
* Text to display
|
|
4095
|
+
*/
|
|
4096
|
+
label: string;
|
|
4097
|
+
/**
|
|
4098
|
+
* URL for the breadcrumb item
|
|
4099
|
+
*/
|
|
4100
|
+
href?: string;
|
|
4101
|
+
/**
|
|
4102
|
+
* Whether this item is active (current page)
|
|
4103
|
+
*/
|
|
4104
|
+
active?: boolean;
|
|
4105
|
+
/**
|
|
4106
|
+
* Optional icon to display before the label
|
|
4107
|
+
*/
|
|
4108
|
+
icon?: ReactNode;
|
|
4109
|
+
/**
|
|
4110
|
+
* Optional click handler
|
|
4111
|
+
*/
|
|
4112
|
+
onClick?: (event: React__default.MouseEvent<HTMLAnchorElement>) => void;
|
|
4113
|
+
}
|
|
4114
|
+
interface BreadcrumbProps {
|
|
4115
|
+
/**
|
|
4116
|
+
* Array of breadcrumb items
|
|
4117
|
+
*/
|
|
4118
|
+
items: BreadcrumbItem[];
|
|
4119
|
+
/**
|
|
4120
|
+
* Custom divider character or element
|
|
4121
|
+
*/
|
|
4122
|
+
divider?: ReactNode;
|
|
4123
|
+
/**
|
|
4124
|
+
* Additional className
|
|
4125
|
+
*/
|
|
4126
|
+
className?: string;
|
|
4127
|
+
/**
|
|
4128
|
+
* Aria label for the navigation
|
|
4129
|
+
*/
|
|
4130
|
+
ariaLabel?: string;
|
|
4131
|
+
/**
|
|
4132
|
+
* Optional custom link component
|
|
4133
|
+
*/
|
|
4134
|
+
LinkComponent?: React__default.ElementType;
|
|
4135
|
+
}
|
|
4136
|
+
declare const Breadcrumb: React__default.FC<BreadcrumbProps>;
|
|
4137
|
+
|
|
4138
|
+
/**
|
|
4139
|
+
* Callout component for displaying important messages, notifications, or alerts
|
|
4140
|
+
*/
|
|
4141
|
+
declare const Callout: React__default.FC<CalloutProps>;
|
|
4142
|
+
|
|
4143
|
+
declare const Card: React__default.ForwardRefExoticComponent<CardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
4144
|
+
|
|
4145
|
+
/**
|
|
4146
|
+
* Checkbox - A component for checkbox inputs
|
|
4147
|
+
*/
|
|
4148
|
+
declare const Checkbox: React__default.FC<CheckboxProps>;
|
|
4149
|
+
|
|
4150
|
+
interface ColorModeToggleProps {
|
|
4151
|
+
className?: string;
|
|
4152
|
+
}
|
|
4153
|
+
declare const ColorModeToggle: React__default.FC<ColorModeToggleProps>;
|
|
4154
|
+
|
|
4155
|
+
interface CountdownProps {
|
|
4156
|
+
/** Target date/time as a Date or ISO string */
|
|
4157
|
+
target: Date | string;
|
|
4158
|
+
/** Show days, hours, minutes, seconds */
|
|
4159
|
+
show?: Array<'days' | 'hours' | 'minutes' | 'seconds'>;
|
|
4160
|
+
/** Separator string */
|
|
4161
|
+
separator?: string;
|
|
4162
|
+
/** Focused style */
|
|
4163
|
+
focused?: boolean;
|
|
4164
|
+
/** Custom className */
|
|
4165
|
+
className?: string;
|
|
4166
|
+
/** Optional callback when countdown reaches zero */
|
|
4167
|
+
onComplete?: () => void;
|
|
4168
|
+
}
|
|
4169
|
+
declare const Countdown: React__default.FC<CountdownProps>;
|
|
4170
|
+
|
|
4171
|
+
/**
|
|
4172
|
+
* DataTable - A flexible and accessible data table component
|
|
4173
|
+
*
|
|
4174
|
+
* @example
|
|
4175
|
+
* ```tsx
|
|
4176
|
+
* <DataTable
|
|
4177
|
+
* data={users}
|
|
4178
|
+
* columns={columns}
|
|
4179
|
+
* sortable={true}
|
|
4180
|
+
* onRowClick={handleRowClick}
|
|
4181
|
+
* />
|
|
4182
|
+
* ```
|
|
4183
|
+
*/
|
|
4184
|
+
declare const DataTable: React__default.FC<DataTableProps>;
|
|
4185
|
+
|
|
4186
|
+
/**
|
|
4187
|
+
* DatePicker component for selecting dates from a calendar interface.
|
|
4188
|
+
* Supports various display modes, date ranges, and customization options.
|
|
4189
|
+
*/
|
|
4190
|
+
declare const DatePicker: React__default.ForwardRefExoticComponent<DatePickerProps & React__default.RefAttributes<DatePickerRef>>;
|
|
4191
|
+
|
|
4192
|
+
/**
|
|
4193
|
+
* Dropdown component for creating dropdown menus
|
|
4194
|
+
*/
|
|
4195
|
+
declare const Dropdown: React__default.FC<DropdownProps>;
|
|
4196
|
+
|
|
4197
|
+
declare const EdgePanel: React__default.FC<EdgePanelProps>;
|
|
4198
|
+
|
|
4199
|
+
/**
|
|
4200
|
+
* Form - A component for creating form layouts
|
|
4201
|
+
*/
|
|
4202
|
+
declare const Form: React__default.FC<FormProps>;
|
|
4203
|
+
|
|
4204
|
+
declare const Hero: React__default.FC<HeroProps>;
|
|
4205
|
+
|
|
4206
|
+
type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4207
|
+
type IconWeight = 'thin' | 'light' | 'regular' | 'bold' | 'fill' | 'duotone';
|
|
4208
|
+
type PhosphorIconsType = Exclude<keyof typeof PhosphorIcons, 'Icon' | 'IconContext' | 'IconBase' | 'IconProps' | 'createIcon' | 'default' | 'SSR'>;
|
|
4209
|
+
interface IconProps {
|
|
4210
|
+
/**
|
|
4211
|
+
* Icon name from Phosphor Icons
|
|
4212
|
+
*/
|
|
4213
|
+
name: PhosphorIconsType;
|
|
4214
|
+
/**
|
|
4215
|
+
* Icon size
|
|
4216
|
+
*/
|
|
4217
|
+
size?: IconSize | number;
|
|
4218
|
+
/**
|
|
4219
|
+
* Icon weight/style
|
|
4220
|
+
*/
|
|
4221
|
+
weight?: IconWeight;
|
|
4222
|
+
/**
|
|
4223
|
+
* Icon color
|
|
4224
|
+
*/
|
|
4225
|
+
color?: string;
|
|
4226
|
+
/**
|
|
4227
|
+
* Additional CSS class names
|
|
4228
|
+
*/
|
|
4229
|
+
className?: string;
|
|
4230
|
+
/**
|
|
4231
|
+
* Alt text for accessibility
|
|
4232
|
+
*/
|
|
4233
|
+
alt?: string;
|
|
4234
|
+
}
|
|
4235
|
+
/**
|
|
4236
|
+
* Icon component that displays a Phosphor icon
|
|
4237
|
+
*/
|
|
4238
|
+
declare const Icon: React__default.FC<IconProps>;
|
|
4239
|
+
|
|
4240
|
+
/**
|
|
4241
|
+
* Input - A component for text input fields
|
|
4242
|
+
*/
|
|
4243
|
+
declare const Input: React__default.FC<InputProps>;
|
|
4244
|
+
|
|
4245
|
+
declare const List: React__default.FC<ListProps>;
|
|
4246
|
+
|
|
4247
|
+
/**
|
|
4248
|
+
* Messages component for displaying a chat interface with messages, images, and file attachments
|
|
4249
|
+
*/
|
|
4250
|
+
declare const Messages: React__default.FC<MessagesProps>;
|
|
4251
|
+
|
|
4252
|
+
/**
|
|
4253
|
+
* Modal component for displaying overlay content
|
|
4254
|
+
*/
|
|
4255
|
+
declare const Modal: React__default.FC<ModalProps>;
|
|
4256
|
+
|
|
4257
|
+
/**
|
|
4258
|
+
* Navbar component provides a responsive navigation header with brand, navigation items,
|
|
4259
|
+
* and collapsible mobile menu functionality.
|
|
4260
|
+
*
|
|
4261
|
+
* @example
|
|
4262
|
+
* ```tsx
|
|
4263
|
+
* <Navbar brand="My App" position="fixed" collapsible>
|
|
4264
|
+
* <Nav>
|
|
4265
|
+
* <NavItem href="/">Home</NavItem>
|
|
4266
|
+
* <NavItem href="/about">About</NavItem>
|
|
4267
|
+
* </Nav>
|
|
4268
|
+
* </Navbar>
|
|
4269
|
+
* ```
|
|
4270
|
+
*/
|
|
4271
|
+
declare const Navbar: React__default.ForwardRefExoticComponent<NavbarProps & React__default.RefAttributes<HTMLElement>>;
|
|
4272
|
+
|
|
4273
|
+
/**
|
|
4274
|
+
* Pagination component
|
|
4275
|
+
*/
|
|
4276
|
+
declare const Pagination: React__default.FC<PaginationProps>;
|
|
4277
|
+
|
|
4278
|
+
/**
|
|
4279
|
+
* PhotoViewer component - A comprehensive image viewer with zoom, pan, navigation, and metadata display
|
|
4280
|
+
*
|
|
4281
|
+
* Features:
|
|
4282
|
+
* - Image navigation with keyboard support
|
|
4283
|
+
* - Zoom and pan functionality
|
|
4284
|
+
* - Touch gestures for mobile devices
|
|
4285
|
+
* - Fullscreen mode
|
|
4286
|
+
* - Image rotation
|
|
4287
|
+
* - Download and share capabilities
|
|
4288
|
+
* - Thumbnail navigation
|
|
4289
|
+
* - Image metadata display
|
|
4290
|
+
* - Responsive design
|
|
4291
|
+
*
|
|
4292
|
+
* @param props - PhotoViewerProps
|
|
4293
|
+
* @returns JSX.Element
|
|
4294
|
+
*/
|
|
4295
|
+
declare const PhotoViewer: React__default.FC<PhotoViewerProps>;
|
|
4296
|
+
|
|
4297
|
+
/**
|
|
4298
|
+
* Popover component for displaying floating content
|
|
4299
|
+
*/
|
|
4300
|
+
declare const Popover: React__default.FC<PopoverProps>;
|
|
4301
|
+
|
|
4302
|
+
interface ProductReviewProps {
|
|
4303
|
+
/**
|
|
4304
|
+
* Product name
|
|
4305
|
+
*/
|
|
4306
|
+
productName: string;
|
|
4307
|
+
/**
|
|
4308
|
+
* Product image URL
|
|
4309
|
+
*/
|
|
4310
|
+
productImage?: string;
|
|
4311
|
+
/**
|
|
4312
|
+
* Initial rating value (0-5)
|
|
4313
|
+
*/
|
|
4314
|
+
initialRating?: number;
|
|
4315
|
+
/**
|
|
4316
|
+
* Maximum possible rating value
|
|
4317
|
+
*/
|
|
4318
|
+
maxRating?: number;
|
|
4319
|
+
/**
|
|
4320
|
+
* Whether to allow half-star ratings
|
|
4321
|
+
*/
|
|
4322
|
+
allowHalf?: boolean;
|
|
4323
|
+
/**
|
|
4324
|
+
* Color theme for the rating stars
|
|
4325
|
+
*/
|
|
4326
|
+
ratingColor?: ThemeColor;
|
|
4327
|
+
/**
|
|
4328
|
+
* Callback when review is submitted
|
|
4329
|
+
*/
|
|
4330
|
+
onSubmit?: (rating: number, comment: string) => void;
|
|
4331
|
+
/**
|
|
4332
|
+
* Additional CSS class
|
|
4333
|
+
*/
|
|
4334
|
+
className?: string;
|
|
4335
|
+
}
|
|
4336
|
+
/**
|
|
4337
|
+
* ProductReview component for collecting user ratings and feedback
|
|
4338
|
+
*/
|
|
4339
|
+
declare const ProductReview: React__default.FC<ProductReviewProps>;
|
|
4340
|
+
|
|
4341
|
+
declare const Progress: React__default.ForwardRefExoticComponent<ProgressProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
4342
|
+
|
|
4343
|
+
/**
|
|
4344
|
+
* Radio - A component for radio button inputs
|
|
4345
|
+
*/
|
|
4346
|
+
declare const Radio: React__default.FC<RadioProps>;
|
|
4347
|
+
|
|
4348
|
+
/**
|
|
4349
|
+
* Rating component for displaying and collecting star ratings
|
|
4350
|
+
*
|
|
4351
|
+
* @example
|
|
4352
|
+
* // Basic usage
|
|
4353
|
+
* <Rating value={3} onChange={handleRatingChange} />
|
|
4354
|
+
*
|
|
4355
|
+
* @example
|
|
4356
|
+
* // Read-only with custom color
|
|
4357
|
+
* <Rating value={4.5} readOnly color="warning" />
|
|
4358
|
+
*
|
|
4359
|
+
* @example
|
|
4360
|
+
* // With half-star support
|
|
4361
|
+
* <Rating value={3.5} allowHalf maxValue={5} />
|
|
4362
|
+
*/
|
|
4363
|
+
declare const Rating: React__default.ForwardRefExoticComponent<RatingProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
4364
|
+
|
|
4365
|
+
/**
|
|
4366
|
+
* River component for displaying content with image sections
|
|
4367
|
+
*/
|
|
4368
|
+
declare const River: React__default.FC<RiverProps>;
|
|
4369
|
+
|
|
4370
|
+
interface SectionIntroProps {
|
|
4371
|
+
/**
|
|
4372
|
+
* The section title
|
|
4373
|
+
*/
|
|
4374
|
+
title: ReactNode;
|
|
4375
|
+
/**
|
|
4376
|
+
* Optional subtitle or overline text
|
|
4377
|
+
*/
|
|
4378
|
+
/**
|
|
4379
|
+
* Optional label text (equivalent to subtitle in the UI)
|
|
4380
|
+
*/
|
|
4381
|
+
label?: ReactNode;
|
|
4382
|
+
/**
|
|
4383
|
+
* Optional description text
|
|
4384
|
+
*/
|
|
4385
|
+
/**
|
|
4386
|
+
* Optional text content
|
|
4387
|
+
*/
|
|
4388
|
+
text?: ReactNode;
|
|
4389
|
+
/**
|
|
4390
|
+
* Optional call to action elements
|
|
4391
|
+
*/
|
|
4392
|
+
actions?: ReactNode;
|
|
4393
|
+
/**
|
|
4394
|
+
* Alignment of the content
|
|
4395
|
+
*/
|
|
4396
|
+
alignment?: 'left' | 'center' | 'right';
|
|
4397
|
+
/**
|
|
4398
|
+
* Optional background image URL
|
|
4399
|
+
*/
|
|
4400
|
+
backgroundImageSrc?: string;
|
|
4401
|
+
/**
|
|
4402
|
+
* Whether to show an overlay on the background
|
|
4403
|
+
*/
|
|
4404
|
+
showOverlay?: boolean;
|
|
4405
|
+
/**
|
|
4406
|
+
* Optional foreground image URL
|
|
4407
|
+
*/
|
|
4408
|
+
imageSrc?: string;
|
|
4409
|
+
/**
|
|
4410
|
+
* Alternative text for the image
|
|
4411
|
+
*/
|
|
4412
|
+
imageAlt?: string;
|
|
4413
|
+
/**
|
|
4414
|
+
* Size variant
|
|
4415
|
+
*/
|
|
4416
|
+
size?: 'sm' | 'md' | 'lg';
|
|
4417
|
+
/**
|
|
4418
|
+
* Whether to show a skeleton loading state
|
|
4419
|
+
*/
|
|
4420
|
+
skeleton?: boolean;
|
|
4421
|
+
/**
|
|
4422
|
+
* Additional CSS class
|
|
4423
|
+
*/
|
|
4424
|
+
className?: string;
|
|
4425
|
+
}
|
|
4426
|
+
/**
|
|
4427
|
+
* SectionIntro component for introducing content sections with titles, descriptions, and optional imagery
|
|
4428
|
+
*/
|
|
4429
|
+
declare const SectionIntro: React__default.FC<SectionIntroProps>;
|
|
4430
|
+
|
|
4431
|
+
/**
|
|
4432
|
+
* Select - A component for dropdown selection
|
|
4433
|
+
*/
|
|
4434
|
+
declare const Select: React__default.FC<SelectProps>;
|
|
4435
|
+
|
|
4436
|
+
declare const Spinner: React__default.FC<SpinnerProps>;
|
|
4437
|
+
|
|
4438
|
+
interface StepItem {
|
|
4439
|
+
/**
|
|
4440
|
+
* The number for the step
|
|
4441
|
+
*/
|
|
4442
|
+
number: number | string | ReactNode;
|
|
4443
|
+
/**
|
|
4444
|
+
* The text label for the step
|
|
4445
|
+
*/
|
|
4446
|
+
text: string;
|
|
4447
|
+
/**
|
|
4448
|
+
* Optional custom content for the step
|
|
4449
|
+
*/
|
|
4450
|
+
content?: React__default.ReactNode;
|
|
4451
|
+
}
|
|
4452
|
+
interface StepsProps {
|
|
4453
|
+
/**
|
|
4454
|
+
* Array of step items
|
|
4455
|
+
*/
|
|
4456
|
+
items: StepItem[];
|
|
4457
|
+
/**
|
|
4458
|
+
* Current active step index (0-based)
|
|
4459
|
+
*/
|
|
4460
|
+
activeIndex?: number;
|
|
4461
|
+
/**
|
|
4462
|
+
* Whether to display steps vertically
|
|
4463
|
+
*/
|
|
4464
|
+
vertical?: boolean;
|
|
4465
|
+
/**
|
|
4466
|
+
* Called when active step changes
|
|
4467
|
+
*/
|
|
4468
|
+
onStepChange?: (index: number) => void;
|
|
4469
|
+
/**
|
|
4470
|
+
* Additional CSS class
|
|
4471
|
+
*/
|
|
4472
|
+
className?: string;
|
|
4473
|
+
}
|
|
4474
|
+
/**
|
|
4475
|
+
* Steps component for displaying a sequence of steps
|
|
4476
|
+
*/
|
|
4477
|
+
declare const Steps: React__default.FC<StepsProps>;
|
|
4478
|
+
|
|
4479
|
+
interface TabItemProps {
|
|
4480
|
+
/**
|
|
4481
|
+
* Label for the tab
|
|
4482
|
+
*/
|
|
4483
|
+
label: string;
|
|
4484
|
+
/**
|
|
4485
|
+
* Content of the tab panel
|
|
4486
|
+
*/
|
|
4487
|
+
content: ReactNode;
|
|
4488
|
+
/**
|
|
4489
|
+
* Whether the tab is initially active
|
|
4490
|
+
*/
|
|
4491
|
+
isActive?: boolean;
|
|
4492
|
+
/**
|
|
4493
|
+
* Additional CSS class for the tab
|
|
4494
|
+
*/
|
|
4495
|
+
className?: string;
|
|
4496
|
+
}
|
|
4497
|
+
interface TabProps {
|
|
4498
|
+
/**
|
|
4499
|
+
* Array of tab items
|
|
4500
|
+
*/
|
|
4501
|
+
items: TabItemProps[];
|
|
4502
|
+
/**
|
|
4503
|
+
* Initial active tab index
|
|
4504
|
+
*/
|
|
4505
|
+
activeIndex?: number;
|
|
4506
|
+
/**
|
|
4507
|
+
* Callback when tab changes
|
|
4508
|
+
*/
|
|
4509
|
+
onTabChange?: (index: number) => void;
|
|
4510
|
+
/**
|
|
4511
|
+
* Additional CSS class for the tab component
|
|
4512
|
+
*/
|
|
4513
|
+
className?: string;
|
|
4514
|
+
}
|
|
4515
|
+
/**
|
|
4516
|
+
* Tab component for switching between different content panels
|
|
4517
|
+
*/
|
|
4518
|
+
declare const Tab: React__default.FC<TabProps>;
|
|
4519
|
+
|
|
4520
|
+
interface TestimonialAuthor {
|
|
4521
|
+
/**
|
|
4522
|
+
* The author's name
|
|
4523
|
+
*/
|
|
4524
|
+
name: string;
|
|
4525
|
+
/**
|
|
4526
|
+
* The author's role or title
|
|
4527
|
+
*/
|
|
4528
|
+
role: string;
|
|
4529
|
+
/**
|
|
4530
|
+
* The URL to the author's avatar image
|
|
4531
|
+
*/
|
|
4532
|
+
avatarSrc?: string;
|
|
4533
|
+
/**
|
|
4534
|
+
* Alternative text for the avatar image
|
|
4535
|
+
*/
|
|
4536
|
+
avatarAlt?: string;
|
|
4537
|
+
}
|
|
4538
|
+
interface TestimonialProps {
|
|
4539
|
+
/**
|
|
4540
|
+
* The testimonial quote text or content
|
|
4541
|
+
*/
|
|
4542
|
+
quote: ReactNode;
|
|
4543
|
+
/**
|
|
4544
|
+
* Author information
|
|
4545
|
+
*/
|
|
4546
|
+
author?: TestimonialAuthor;
|
|
4547
|
+
/**
|
|
4548
|
+
* Size variant
|
|
4549
|
+
*/
|
|
4550
|
+
size?: 'sm' | 'lg' | '';
|
|
4551
|
+
/**
|
|
4552
|
+
* Whether to show a skeleton loading state
|
|
4553
|
+
*/
|
|
4554
|
+
skeleton?: boolean;
|
|
4555
|
+
/**
|
|
4556
|
+
* Additional CSS class
|
|
4557
|
+
*/
|
|
4558
|
+
className?: string;
|
|
4559
|
+
}
|
|
4560
|
+
/**
|
|
4561
|
+
* Testimonial component for displaying customer quotes and feedback
|
|
4562
|
+
*/
|
|
4563
|
+
declare const Testimonial: React__default.FC<TestimonialProps>;
|
|
4564
|
+
|
|
4565
|
+
/**
|
|
4566
|
+
* Textarea - A component for multiline text input
|
|
4567
|
+
*/
|
|
4568
|
+
declare const Textarea: React__default.FC<TextareaProps>;
|
|
4569
|
+
|
|
4570
|
+
declare const Todo: React__default.FC<TodoProps>;
|
|
4571
|
+
|
|
4572
|
+
interface ToggleProps {
|
|
4573
|
+
/**
|
|
4574
|
+
* Whether the toggle is initially on
|
|
4575
|
+
*/
|
|
4576
|
+
initialOn?: boolean;
|
|
4577
|
+
/**
|
|
4578
|
+
* Callback when the toggle is turned on
|
|
4579
|
+
*/
|
|
4580
|
+
onToggleOn?: () => void;
|
|
4581
|
+
/**
|
|
4582
|
+
* Callback when the toggle is turned off
|
|
4583
|
+
*/
|
|
4584
|
+
onToggleOff?: () => void;
|
|
4585
|
+
/**
|
|
4586
|
+
* Whether the toggle is disabled
|
|
4587
|
+
*/
|
|
4588
|
+
disabled?: boolean;
|
|
4589
|
+
/**
|
|
4590
|
+
* Additional CSS class for the toggle
|
|
4591
|
+
*/
|
|
4592
|
+
className?: string;
|
|
4593
|
+
}
|
|
4594
|
+
/**
|
|
4595
|
+
* Toggle component for switching between two states
|
|
4596
|
+
*/
|
|
4597
|
+
declare const Toggle: React__default.FC<ToggleProps>;
|
|
4598
|
+
|
|
4599
|
+
interface TooltipProps {
|
|
4600
|
+
/**
|
|
4601
|
+
* Content to be displayed in the tooltip
|
|
4602
|
+
*/
|
|
4603
|
+
content: ReactNode;
|
|
4604
|
+
/**
|
|
4605
|
+
* The element that will trigger the tooltip
|
|
4606
|
+
*/
|
|
4607
|
+
children: ReactNode;
|
|
4608
|
+
/**
|
|
4609
|
+
* The position of the tooltip relative to the trigger
|
|
4610
|
+
*/
|
|
4611
|
+
position?: 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
4612
|
+
/**
|
|
4613
|
+
* How the tooltip is triggered
|
|
4614
|
+
*/
|
|
4615
|
+
trigger?: 'hover' | 'click';
|
|
4616
|
+
/**
|
|
4617
|
+
* Additional CSS class for the tooltip
|
|
4618
|
+
*/
|
|
4619
|
+
className?: string;
|
|
4620
|
+
/**
|
|
4621
|
+
* Delay before showing the tooltip (in milliseconds)
|
|
4622
|
+
*/
|
|
4623
|
+
delay?: number;
|
|
4624
|
+
/**
|
|
4625
|
+
* Offset from the trigger element (in pixels)
|
|
4626
|
+
*/
|
|
4627
|
+
offset?: number;
|
|
4628
|
+
}
|
|
4629
|
+
declare const Tooltip: React__default.FC<TooltipProps>;
|
|
4630
|
+
|
|
4631
|
+
interface UploadProps {
|
|
4632
|
+
/**
|
|
4633
|
+
* Whether the upload component is disabled
|
|
4634
|
+
*/
|
|
4635
|
+
disabled?: boolean;
|
|
4636
|
+
/**
|
|
4637
|
+
* Maximum file size in MB
|
|
4638
|
+
*/
|
|
4639
|
+
maxSizeInMB?: number;
|
|
4640
|
+
/**
|
|
4641
|
+
* Accepted file types
|
|
4642
|
+
*/
|
|
4643
|
+
acceptedFileTypes?: string[];
|
|
4644
|
+
/**
|
|
4645
|
+
* Whether multiple files can be selected
|
|
4646
|
+
*/
|
|
4647
|
+
multiple?: boolean;
|
|
4648
|
+
/**
|
|
4649
|
+
* Text for the drag and drop section
|
|
4650
|
+
*/
|
|
4651
|
+
title?: string;
|
|
4652
|
+
/**
|
|
4653
|
+
* Text describing supported file types
|
|
4654
|
+
*/
|
|
4655
|
+
supportedFilesText?: string;
|
|
4656
|
+
/**
|
|
4657
|
+
* Text for the upload button
|
|
4658
|
+
*/
|
|
4659
|
+
buttonText?: string;
|
|
4660
|
+
/**
|
|
4661
|
+
* Helper text displayed below the button
|
|
4662
|
+
*/
|
|
4663
|
+
helperText?: string;
|
|
4664
|
+
/**
|
|
4665
|
+
* Icon component or class name
|
|
4666
|
+
*/
|
|
4667
|
+
icon?: React__default.ReactNode;
|
|
4668
|
+
/**
|
|
4669
|
+
* Called when files are selected
|
|
4670
|
+
*/
|
|
4671
|
+
onFileSelect?: (files: File[]) => void;
|
|
4672
|
+
/**
|
|
4673
|
+
* Called during file upload with progress
|
|
4674
|
+
*/
|
|
4675
|
+
onFileUpload?: (file: File, progress: number) => void;
|
|
4676
|
+
/**
|
|
4677
|
+
* Called when file upload is complete
|
|
4678
|
+
*/
|
|
4679
|
+
onFileUploadComplete?: (file: File) => void;
|
|
4680
|
+
/**
|
|
4681
|
+
* Called on file upload errors
|
|
4682
|
+
*/
|
|
4683
|
+
onFileUploadError?: (file: File, error: string) => void;
|
|
4684
|
+
/**
|
|
4685
|
+
* Additional CSS class
|
|
4686
|
+
*/
|
|
4687
|
+
className?: string;
|
|
4688
|
+
}
|
|
4689
|
+
/**
|
|
4690
|
+
* Upload component for file uploads with drag and drop
|
|
4691
|
+
*/
|
|
4692
|
+
declare const Upload: React__default.FC<UploadProps>;
|
|
4693
|
+
|
|
4694
|
+
declare const composables: typeof __lib_composables;
|
|
4695
|
+
declare const utils: typeof __lib_utils;
|
|
4696
|
+
declare const types: typeof __lib_types;
|
|
4697
|
+
declare const constants: typeof __lib_constants;
|
|
4698
|
+
|
|
4699
|
+
interface GridProps extends HTMLAttributes<HTMLDivElement> {
|
|
4700
|
+
/**
|
|
4701
|
+
* The content to be rendered within the grid
|
|
4702
|
+
*/
|
|
4703
|
+
children: ReactNode;
|
|
4704
|
+
/**
|
|
4705
|
+
* Additional CSS class names
|
|
4706
|
+
*/
|
|
4707
|
+
className?: string;
|
|
4708
|
+
/**
|
|
4709
|
+
* Control the horizontal alignment of items
|
|
4710
|
+
*/
|
|
4711
|
+
justifyContent?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly';
|
|
4712
|
+
/**
|
|
4713
|
+
* Control the vertical alignment of items
|
|
4714
|
+
*/
|
|
4715
|
+
alignItems?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
4716
|
+
/**
|
|
4717
|
+
* No gutters between columns
|
|
4718
|
+
*/
|
|
4719
|
+
noGutters?: boolean;
|
|
4720
|
+
}
|
|
4721
|
+
|
|
4722
|
+
interface GridColProps extends HTMLAttributes<HTMLDivElement> {
|
|
4723
|
+
/**
|
|
4724
|
+
* The content to be rendered within the column
|
|
4725
|
+
*/
|
|
4726
|
+
children: ReactNode;
|
|
4727
|
+
/**
|
|
4728
|
+
* Additional CSS class names
|
|
4729
|
+
*/
|
|
4730
|
+
className?: string;
|
|
4731
|
+
/**
|
|
4732
|
+
* Number of columns to span at extra small breakpoint (default)
|
|
4733
|
+
*/
|
|
4734
|
+
xs?: number | 'auto';
|
|
4735
|
+
/**
|
|
4736
|
+
* Number of columns to span at small breakpoint
|
|
4737
|
+
*/
|
|
4738
|
+
sm?: number | 'auto';
|
|
4739
|
+
/**
|
|
4740
|
+
* Number of columns to span at medium breakpoint
|
|
4741
|
+
*/
|
|
4742
|
+
md?: number | 'auto';
|
|
4743
|
+
/**
|
|
4744
|
+
* Number of columns to span at large breakpoint
|
|
4745
|
+
*/
|
|
4746
|
+
lg?: number | 'auto';
|
|
4747
|
+
/**
|
|
4748
|
+
* Number of columns to span at extra large breakpoint
|
|
4749
|
+
*/
|
|
4750
|
+
xl?: number | 'auto';
|
|
4751
|
+
/**
|
|
4752
|
+
* Number of columns to span at extra extra large breakpoint
|
|
4753
|
+
*/
|
|
4754
|
+
xxl?: number | 'auto';
|
|
4755
|
+
/**
|
|
4756
|
+
* Offset at extra small breakpoint
|
|
4757
|
+
*/
|
|
4758
|
+
offsetXs?: number;
|
|
4759
|
+
/**
|
|
4760
|
+
* Offset at small breakpoint
|
|
4761
|
+
*/
|
|
4762
|
+
offsetSm?: number;
|
|
4763
|
+
/**
|
|
4764
|
+
* Offset at medium breakpoint
|
|
4765
|
+
*/
|
|
4766
|
+
offsetMd?: number;
|
|
4767
|
+
/**
|
|
4768
|
+
* Offset at large breakpoint
|
|
4769
|
+
*/
|
|
4770
|
+
offsetLg?: number;
|
|
4771
|
+
/**
|
|
4772
|
+
* Offset at extra large breakpoint
|
|
4773
|
+
*/
|
|
4774
|
+
offsetXl?: number;
|
|
4775
|
+
/**
|
|
4776
|
+
* Offset at extra extra large breakpoint
|
|
4777
|
+
*/
|
|
4778
|
+
offsetXxl?: number;
|
|
4779
|
+
}
|
|
4780
|
+
|
|
4781
|
+
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
4782
|
+
/**
|
|
4783
|
+
* The content to be rendered within the container
|
|
4784
|
+
*/
|
|
4785
|
+
children: ReactNode;
|
|
4786
|
+
/**
|
|
4787
|
+
* Additional CSS class names
|
|
4788
|
+
*/
|
|
4789
|
+
className?: string;
|
|
4790
|
+
/**
|
|
4791
|
+
* Container type:
|
|
4792
|
+
* - undefined: responsive container with max-width at each breakpoint
|
|
4793
|
+
* - 'fluid': full width container
|
|
4794
|
+
* - 'sm', 'md', 'lg', 'xl', 'xxl': responsive container with max-width at specified breakpoint
|
|
4795
|
+
*/
|
|
4796
|
+
type?: 'fluid' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
4797
|
+
}
|
|
4798
|
+
|
|
4799
|
+
interface RowProps extends HTMLAttributes<HTMLDivElement> {
|
|
4800
|
+
/**
|
|
4801
|
+
* The content to be rendered within the row
|
|
4802
|
+
*/
|
|
4803
|
+
children: ReactNode;
|
|
4804
|
+
/**
|
|
4805
|
+
* Additional CSS class names
|
|
4806
|
+
*/
|
|
4807
|
+
className?: string;
|
|
4808
|
+
/**
|
|
4809
|
+
* Control the horizontal alignment of items
|
|
4810
|
+
*/
|
|
4811
|
+
justifyContent?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly';
|
|
4812
|
+
/**
|
|
4813
|
+
* Control the vertical alignment of items
|
|
4814
|
+
*/
|
|
4815
|
+
alignItems?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
4816
|
+
/**
|
|
4817
|
+
* No gutters between columns
|
|
4818
|
+
*/
|
|
4819
|
+
noGutters?: boolean;
|
|
4820
|
+
}
|
|
4821
|
+
|
|
4822
|
+
interface MasonryGridProps extends HTMLAttributes<HTMLDivElement> {
|
|
4823
|
+
/**
|
|
4824
|
+
* The content to be rendered within the masonry grid
|
|
4825
|
+
*/
|
|
4826
|
+
children: ReactNode;
|
|
4827
|
+
/**
|
|
4828
|
+
* Additional CSS class names
|
|
4829
|
+
*/
|
|
4830
|
+
className?: string;
|
|
4831
|
+
/**
|
|
4832
|
+
* Number of columns at extra small breakpoint (default)
|
|
4833
|
+
*/
|
|
4834
|
+
xs?: number;
|
|
4835
|
+
/**
|
|
4836
|
+
* Number of columns at small breakpoint
|
|
4837
|
+
*/
|
|
4838
|
+
sm?: number;
|
|
4839
|
+
/**
|
|
4840
|
+
* Number of columns at medium breakpoint
|
|
4841
|
+
*/
|
|
4842
|
+
md?: number;
|
|
4843
|
+
/**
|
|
4844
|
+
* Number of columns at large breakpoint
|
|
4845
|
+
*/
|
|
4846
|
+
lg?: number;
|
|
4847
|
+
/**
|
|
4848
|
+
* Number of columns at extra large breakpoint
|
|
4849
|
+
*/
|
|
4850
|
+
xl?: number;
|
|
4851
|
+
/**
|
|
4852
|
+
* Number of columns at extra extra large breakpoint
|
|
4853
|
+
*/
|
|
4854
|
+
xxl?: number;
|
|
4855
|
+
/**
|
|
4856
|
+
* Gap between items (in pixels)
|
|
4857
|
+
*/
|
|
4858
|
+
gap?: number;
|
|
4859
|
+
/**
|
|
4860
|
+
* Whether to animate item transitions
|
|
4861
|
+
*/
|
|
4862
|
+
animate?: boolean;
|
|
4863
|
+
/**
|
|
4864
|
+
* Whether to handle image loading to prevent layout shifts
|
|
4865
|
+
* When true, items will be shown immediately and positions updated as images load
|
|
4866
|
+
*/
|
|
4867
|
+
imagesLoaded?: boolean;
|
|
4868
|
+
/**
|
|
4869
|
+
* Callback fired when all images are loaded and layout is complete
|
|
4870
|
+
*/
|
|
4871
|
+
onLayoutComplete?: () => void;
|
|
4872
|
+
/**
|
|
4873
|
+
* Callback fired each time an image loads and layout is updated
|
|
4874
|
+
*/
|
|
4875
|
+
onImageLoad?: (loadedCount: number, totalCount: number) => void;
|
|
4876
|
+
}
|
|
4877
|
+
|
|
4878
|
+
interface MasonryGridItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
4879
|
+
/**
|
|
4880
|
+
* The content to be rendered within the masonry grid item
|
|
4881
|
+
*/
|
|
4882
|
+
children: ReactNode;
|
|
4883
|
+
/**
|
|
4884
|
+
* Additional CSS class names
|
|
4885
|
+
*/
|
|
4886
|
+
className?: string;
|
|
4887
|
+
}
|
|
4888
|
+
|
|
4889
|
+
declare const layouts: {
|
|
4890
|
+
MasonryGrid: React$1.ForwardRefExoticComponent<MasonryGridProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4891
|
+
MasonryGridItem: React$1.ForwardRefExoticComponent<MasonryGridItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4892
|
+
Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4893
|
+
GridCol: React$1.ForwardRefExoticComponent<GridColProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4894
|
+
Container: React$1.ForwardRefExoticComponent<ContainerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4895
|
+
Row: React$1.ForwardRefExoticComponent<RowProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4896
|
+
};
|
|
4897
|
+
|
|
4898
|
+
declare namespace layouts$1 {
|
|
4899
|
+
export {
|
|
4900
|
+
layouts as default,
|
|
4901
|
+
};
|
|
4902
|
+
}
|
|
4903
|
+
|
|
4904
|
+
declare const atomix: {
|
|
4905
|
+
composables: typeof __lib_composables;
|
|
4906
|
+
utils: typeof __lib_utils;
|
|
4907
|
+
constants: typeof __lib_constants;
|
|
4908
|
+
types: typeof __lib_types;
|
|
4909
|
+
layouts: typeof layouts$1;
|
|
4910
|
+
Accordion: React$1.FC<AccordionProps>;
|
|
4911
|
+
Avatar: React$1.FC<AvatarProps>;
|
|
4912
|
+
AvatarGroup: React$1.FC<AvatarGroupProps>;
|
|
4913
|
+
Badge: React$1.FC<BadgeProps>;
|
|
4914
|
+
Breadcrumb: React$1.FC<BreadcrumbProps>;
|
|
4915
|
+
Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps & ButtonAsProp, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
4916
|
+
Callout: React$1.FC<CalloutProps>;
|
|
4917
|
+
Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4918
|
+
Checkbox: React$1.FC<CheckboxProps>;
|
|
4919
|
+
ColorModeToggle: React$1.FC<ColorModeToggleProps>;
|
|
4920
|
+
Countdown: React$1.FC<CountdownProps>;
|
|
4921
|
+
DataTable: React$1.FC<DataTableProps>;
|
|
4922
|
+
DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<DatePickerRef>>;
|
|
4923
|
+
Dropdown: React$1.FC<DropdownProps>;
|
|
4924
|
+
EdgePanel: React$1.FC<EdgePanelProps>;
|
|
4925
|
+
Form: React$1.FC<FormProps>;
|
|
4926
|
+
Hero: React$1.FC<HeroProps>;
|
|
4927
|
+
Icon: React$1.FC<IconProps>;
|
|
4928
|
+
Input: React$1.FC<InputProps>;
|
|
4929
|
+
List: React$1.FC<ListProps>;
|
|
4930
|
+
Messages: React$1.FC<MessagesProps>;
|
|
4931
|
+
Modal: React$1.FC<ModalProps>;
|
|
4932
|
+
Navbar: React$1.ForwardRefExoticComponent<NavbarProps & React$1.RefAttributes<HTMLElement>>;
|
|
4933
|
+
Pagination: React$1.FC<PaginationProps>;
|
|
4934
|
+
PhotoViewer: React$1.FC<PhotoViewerProps>;
|
|
4935
|
+
Popover: React$1.FC<PopoverProps>;
|
|
4936
|
+
ProductReview: React$1.FC<ProductReviewProps>;
|
|
4937
|
+
Progress: React$1.ForwardRefExoticComponent<ProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4938
|
+
Radio: React$1.FC<RadioProps>;
|
|
4939
|
+
Rating: React$1.ForwardRefExoticComponent<RatingProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4940
|
+
River: React$1.FC<RiverProps>;
|
|
4941
|
+
SectionIntro: React$1.FC<SectionIntroProps>;
|
|
4942
|
+
Select: React$1.FC<SelectProps>;
|
|
4943
|
+
Spinner: React$1.FC<SpinnerProps>;
|
|
4944
|
+
Steps: React$1.FC<StepsProps>;
|
|
4945
|
+
Tab: React$1.FC<TabProps>;
|
|
4946
|
+
Testimonial: React$1.FC<TestimonialProps>;
|
|
4947
|
+
Textarea: React$1.FC<TextareaProps>;
|
|
4948
|
+
Todo: React$1.FC<TodoProps>;
|
|
4949
|
+
Toggle: React$1.FC<ToggleProps>;
|
|
4950
|
+
Tooltip: React$1.FC<TooltipProps>;
|
|
4951
|
+
Upload: React$1.FC<UploadProps>;
|
|
4952
|
+
};
|
|
4953
|
+
|
|
4954
|
+
export { Accordion, Avatar, AvatarGroup, Badge, Breadcrumb, Button, Callout, Card, Checkbox, ColorModeToggle, Countdown, DataTable, DatePicker, Dropdown, EdgePanel, Form, Hero, Icon, Input, List, Messages, Modal, Navbar, Pagination, PhotoViewer, Popover, ProductReview, Progress, Radio, Rating, River, SectionIntro, Select, Spinner, Steps, Tab, Testimonial, Textarea, Todo, Toggle, Tooltip, Upload, composables, constants, atomix as default, types, utils };
|
|
4955
|
+
export type { AccordionProps, AvatarGroupProps, AvatarProps, BadgeProps, BreadcrumbProps, ButtonProps, CalloutProps, CardProps, CheckboxProps, ColorModeToggleProps, CountdownProps, DataTableProps, DatePickerProps, DropdownProps, EdgePanelProps, FormProps, HeroProps, IconProps, InputProps, ListProps, MessagesProps, ModalProps, NavbarProps, PaginationProps, PhotoViewerProps, PopoverProps, ProductReviewProps, ProgressProps, RadioProps, RatingProps, RiverProps, SectionIntroProps, SelectProps, SpinnerProps, StepsProps, TabProps, TestimonialProps, TextareaProps, TodoProps, ToggleProps, TooltipProps, UploadProps };
|