@shohojdhara/atomix 0.1.5 → 0.1.7
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/css/{atomix-0.1.5.css → atomix.css} +1 -1
- package/dist/css/atomix.css.map +1 -0
- package/dist/css/{atomix-0.1.5.min.css → atomix.min.css} +1 -1
- package/dist/css/atomix.min.css.map +1 -0
- package/dist/js/{202.atomix-0.1.5.react.cjs.js → 202.atomix.react.cjs.js} +1 -1
- package/dist/js/202.atomix.react.cjs.js.map +1 -0
- package/dist/js/{202.atomix-0.1.5.react.esm.js → 202.atomix.react.esm.js} +1 -1
- package/dist/js/202.atomix.react.esm.js.map +1 -0
- package/dist/js/{202.atomix-0.1.5.react.js → 202.atomix.react.js} +1 -1
- package/dist/js/202.atomix.react.js.map +1 -0
- package/dist/js/{308.atomix-0.1.5.react.cjs.js → 308.atomix.react.cjs.js} +1 -1
- package/dist/js/308.atomix.react.cjs.js.map +1 -0
- package/dist/js/{308.atomix-0.1.5.react.esm.js → 308.atomix.react.esm.js} +1 -1
- package/dist/js/308.atomix.react.esm.js.map +1 -0
- package/dist/js/{308.atomix-0.1.5.react.js → 308.atomix.react.js} +1 -1
- package/dist/js/308.atomix.react.js.map +1 -0
- package/dist/js/{34.atomix-0.1.5.react.cjs.js → 34.atomix.react.cjs.js} +1 -1
- package/dist/js/34.atomix.react.cjs.js.map +1 -0
- package/dist/js/{34.atomix-0.1.5.react.esm.js → 34.atomix.react.esm.js} +1 -1
- package/dist/js/34.atomix.react.esm.js.map +1 -0
- package/dist/js/{34.atomix-0.1.5.react.js → 34.atomix.react.js} +1 -1
- package/dist/js/34.atomix.react.js.map +1 -0
- package/dist/js/{471.atomix-0.1.5.react.cjs.js → 471.atomix.react.cjs.js} +1 -1
- package/dist/js/471.atomix.react.cjs.js.map +1 -0
- package/dist/js/{471.atomix-0.1.5.react.esm.js → 471.atomix.react.esm.js} +1 -1
- package/dist/js/471.atomix.react.esm.js.map +1 -0
- package/dist/js/{471.atomix-0.1.5.react.js → 471.atomix.react.js} +1 -1
- package/dist/js/471.atomix.react.js.map +1 -0
- package/dist/js/{54.atomix-0.1.5.react.cjs.js → 54.atomix.react.cjs.js} +1 -1
- package/dist/js/54.atomix.react.cjs.js.map +1 -0
- package/dist/js/{54.atomix-0.1.5.react.esm.js → 54.atomix.react.esm.js} +1 -1
- package/dist/js/54.atomix.react.esm.js.map +1 -0
- package/dist/js/{54.atomix-0.1.5.react.js → 54.atomix.react.js} +1 -1
- package/dist/js/54.atomix.react.js.map +1 -0
- package/dist/js/{619.atomix-0.1.5.react.cjs.js → 619.atomix.react.cjs.js} +1 -1
- package/dist/js/619.atomix.react.cjs.js.map +1 -0
- package/dist/js/{619.atomix-0.1.5.react.esm.js → 619.atomix.react.esm.js} +1 -1
- package/dist/js/619.atomix.react.esm.js.map +1 -0
- package/dist/js/{619.atomix-0.1.5.react.js → 619.atomix.react.js} +1 -1
- package/dist/js/619.atomix.react.js.map +1 -0
- package/dist/js/{690.atomix-0.1.5.react.cjs.js → 690.atomix.react.cjs.js} +1 -1
- package/dist/js/690.atomix.react.cjs.js.map +1 -0
- package/dist/js/{690.atomix-0.1.5.react.esm.js → 690.atomix.react.esm.js} +1 -1
- package/dist/js/690.atomix.react.esm.js.map +1 -0
- package/dist/js/{690.atomix-0.1.5.react.js → 690.atomix.react.js} +1 -1
- package/dist/js/690.atomix.react.js.map +1 -0
- package/dist/js/{894.atomix-0.1.5.react.cjs.js → 894.atomix.react.cjs.js} +1 -1
- package/dist/js/894.atomix.react.cjs.js.map +1 -0
- package/dist/js/{894.atomix-0.1.5.react.esm.js → 894.atomix.react.esm.js} +1 -1
- package/dist/js/894.atomix.react.esm.js.map +1 -0
- package/dist/js/{894.atomix-0.1.5.react.js → 894.atomix.react.js} +1 -1
- package/dist/js/894.atomix.react.js.map +1 -0
- package/dist/js/{897.atomix-0.1.5.react.cjs.js → 897.atomix.react.cjs.js} +1 -1
- package/dist/js/897.atomix.react.cjs.js.map +1 -0
- package/dist/js/{897.atomix-0.1.5.react.esm.js → 897.atomix.react.esm.js} +1 -1
- package/dist/js/897.atomix.react.esm.js.map +1 -0
- package/dist/js/{897.atomix-0.1.5.react.js → 897.atomix.react.js} +1 -1
- package/dist/js/897.atomix.react.js.map +1 -0
- package/dist/js/atomix.react.cjs.js +2 -0
- package/dist/js/atomix.react.cjs.js.map +1 -0
- package/dist/js/atomix.react.esm.js +2 -0
- package/dist/js/atomix.react.esm.js.map +1 -0
- package/dist/js/atomix.react.js +2 -0
- package/dist/js/atomix.react.js.map +1 -0
- package/dist/types/components/Accordion/Accordion.d.ts +19 -0
- package/dist/types/components/Accordion/index.d.ts +2 -0
- package/dist/types/components/Accordion/scripts/accordionInteractions.d.ts +19 -0
- package/dist/types/components/Accordion/scripts/constants.d.ts +24 -0
- package/dist/types/components/Accordion/scripts/index.d.ts +100 -0
- package/dist/types/components/AtomixLogo/AtomixLogo.d.ts +8 -0
- package/dist/types/components/AtomixLogo/index.d.ts +3 -0
- package/dist/types/components/AtomixLogo.d.ts +8 -0
- package/dist/types/components/Avatar/Avatar.d.ts +6 -0
- package/dist/types/components/Avatar/AvatarGroup.d.ts +6 -0
- package/dist/types/components/Avatar/index.d.ts +2 -0
- package/dist/types/components/Avatar/scripts/index.d.ts +105 -0
- package/dist/types/components/Badge/Badge.d.ts +6 -0
- package/dist/types/components/Badge/index.d.ts +2 -0
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +44 -0
- package/dist/types/components/Breadcrumb/index.d.ts +2 -0
- package/dist/types/components/Breadcrumb/scripts/breadcrumb.d.ts +43 -0
- package/dist/types/components/Breadcrumb/scripts/index.d.ts +4 -0
- package/dist/types/components/Breadcrumb/scripts/types.d.ts +59 -0
- package/dist/types/components/Button/Button.d.ts +10 -0
- package/dist/types/components/Button/index.d.ts +5 -0
- package/dist/types/components/Button/scripts/buttonInteractions.d.ts +20 -0
- package/dist/types/components/Button/scripts/index.d.ts +1 -0
- package/dist/types/components/Callout/Callout.d.ts +9 -0
- package/dist/types/components/Callout/index.d.ts +1 -0
- package/dist/types/components/Callout/scripts/CalloutInteractions.d.ts +92 -0
- package/dist/types/components/Callout/scripts/index.d.ts +53 -0
- package/dist/types/components/Card/Card.d.ts +6 -0
- package/dist/types/components/Card/ElevationCard.d.ts +4 -0
- package/dist/types/components/Card/index.d.ts +9 -0
- package/dist/types/components/Card/scripts/cardInteractions.d.ts +37 -0
- package/dist/types/components/Card/scripts/index.d.ts +80 -0
- package/dist/types/components/ColorModeToggle/ColorModeToggle.d.ts +8 -0
- package/dist/types/components/ColorModeToggle/index.d.ts +2 -0
- package/dist/types/components/Countdown/Countdown.d.ts +19 -0
- package/dist/types/components/Countdown/index.d.ts +2 -0
- package/dist/types/components/Countdown/scripts/index.d.ts +71 -0
- package/dist/types/components/DataTable/DataTable.d.ts +19 -0
- package/dist/types/components/DataTable/index.d.ts +2 -0
- package/dist/types/components/DataTable/scripts/index.d.ts +174 -0
- package/dist/types/components/DatePicker/DatePicker.d.ts +10 -0
- package/dist/types/components/DatePicker/index.d.ts +4 -0
- package/dist/types/components/DatePicker/scripts/componentInteractions.d.ts +28 -0
- package/dist/types/components/DatePicker/scripts/index.d.ts +153 -0
- package/dist/types/components/DatePicker/types.d.ts +127 -0
- package/dist/types/components/DatePicker/utils.d.ts +39 -0
- package/dist/types/components/Dropdown/Dropdown.d.ts +21 -0
- package/dist/types/components/Dropdown/index.d.ts +5 -0
- package/dist/types/components/Dropdown/scripts/componentInteractions.d.ts +26 -0
- package/dist/types/components/Dropdown/scripts/index.d.ts +114 -0
- package/dist/types/components/EdgePanel/EdgePanel.d.ts +6 -0
- package/dist/types/components/EdgePanel/index.d.ts +1 -0
- package/dist/types/components/EdgePanel/scripts/edgePanelInteractions.d.ts +35 -0
- package/dist/types/components/EdgePanel/scripts/index.d.ts +126 -0
- package/dist/types/components/Form/Checkbox.d.ts +9 -0
- package/dist/types/components/Form/Form.d.ts +9 -0
- package/dist/types/components/Form/FormGroup.d.ts +9 -0
- package/dist/types/components/Form/Input.d.ts +9 -0
- package/dist/types/components/Form/Radio.d.ts +9 -0
- package/dist/types/components/Form/Select.d.ts +9 -0
- package/dist/types/components/Form/Textarea.d.ts +9 -0
- package/dist/types/components/Form/index.d.ts +7 -0
- package/dist/types/components/Hero/Hero.d.ts +6 -0
- package/dist/types/components/Hero/index.d.ts +5 -0
- package/dist/types/components/Hero/scripts/heroInteractions.d.ts +29 -0
- package/dist/types/components/Hero/scripts/index.d.ts +47 -0
- package/dist/types/components/Icon/Icon.d.ts +38 -0
- package/dist/types/components/Icon/index.d.ts +2 -0
- package/dist/types/components/List/List.d.ts +6 -0
- package/dist/types/components/List/ListGroup.d.ts +4 -0
- package/dist/types/components/List/index.d.ts +2 -0
- package/dist/types/components/Messages/Messages.d.ts +9 -0
- package/dist/types/components/Messages/index.d.ts +2 -0
- package/dist/types/components/Messages/scripts/componentInteractions.d.ts +49 -0
- package/dist/types/components/Messages/scripts/index.d.ts +110 -0
- package/dist/types/components/Modal/Modal.d.ts +9 -0
- package/dist/types/components/Modal/index.d.ts +1 -0
- package/dist/types/components/Modal/scripts/index.d.ts +83 -0
- package/dist/types/components/Modal/scripts/modalInteractions.d.ts +28 -0
- package/dist/types/components/Navbar/MegaMenu.d.ts +5 -0
- package/dist/types/components/Navbar/Menu.d.ts +15 -0
- package/dist/types/components/Navbar/Nav.d.ts +6 -0
- package/dist/types/components/Navbar/NavDropdown.d.ts +3 -0
- package/dist/types/components/Navbar/NavItem.d.ts +3 -0
- package/dist/types/components/Navbar/Navbar.d.ts +6 -0
- package/dist/types/components/Navbar/index.d.ts +6 -0
- package/dist/types/components/Pagination/Pagination.d.ts +9 -0
- package/dist/types/components/Pagination/index.d.ts +1 -0
- package/dist/types/components/Pagination/scripts/index.d.ts +52 -0
- package/dist/types/components/PhotoViewer/PhotoViewer.d.ts +23 -0
- package/dist/types/components/PhotoViewer/PhotoViewerHeader.d.ts +45 -0
- package/dist/types/components/PhotoViewer/PhotoViewerImage.d.ts +51 -0
- package/dist/types/components/PhotoViewer/PhotoViewerInfo.d.ts +21 -0
- package/dist/types/components/PhotoViewer/PhotoViewerNavigation.d.ts +28 -0
- package/dist/types/components/PhotoViewer/PhotoViewerThumbnails.d.ts +21 -0
- package/dist/types/components/PhotoViewer/examples/ImageGallery.d.ts +11 -0
- package/dist/types/components/PhotoViewer/examples/SimpleGallery.d.ts +3 -0
- package/dist/types/components/PhotoViewer/examples/index.d.ts +2 -0
- package/dist/types/components/PhotoViewer/index.d.ts +12 -0
- package/dist/types/components/PhotoViewer/scripts/PhotoViewerInteractions.d.ts +44 -0
- package/dist/types/components/PhotoViewer/scripts/index.d.ts +110 -0
- package/dist/types/components/Popover/Popover.d.ts +13 -0
- package/dist/types/components/Popover/index.d.ts +4 -0
- package/dist/types/components/Popover/scripts/componentInteractions.d.ts +60 -0
- package/dist/types/components/Popover/scripts/index.d.ts +89 -0
- package/dist/types/components/ProductReview/ProductReview.d.ts +43 -0
- package/dist/types/components/ProductReview/index.d.ts +2 -0
- package/dist/types/components/ProductReview/scripts/bundle.d.ts +2 -0
- package/dist/types/components/ProductReview/scripts/componentInteractions.d.ts +43 -0
- package/dist/types/components/ProductReview/scripts/index.d.ts +2 -0
- package/dist/types/components/Progress/Progress.d.ts +6 -0
- package/dist/types/components/Progress/index.d.ts +1 -0
- package/dist/types/components/Progress/scripts/componentInteractions.d.ts +29 -0
- package/dist/types/components/Progress/scripts/index.d.ts +64 -0
- package/dist/types/components/Rating/Rating.d.ts +21 -0
- package/dist/types/components/Rating/index.d.ts +4 -0
- package/dist/types/components/Rating/scripts/bundle.d.ts +3 -0
- package/dist/types/components/Rating/scripts/index.d.ts +74 -0
- package/dist/types/components/Rating/scripts/ratingInteractions.d.ts +28 -0
- package/dist/types/components/River/River.d.ts +9 -0
- package/dist/types/components/River/index.d.ts +2 -0
- package/dist/types/components/River/scripts/index.d.ts +40 -0
- package/dist/types/components/SectionIntro/SectionIntro.d.ts +64 -0
- package/dist/types/components/SectionIntro/index.d.ts +4 -0
- package/dist/types/components/SectionIntro/scripts/componentInteractions.d.ts +13 -0
- package/dist/types/components/SectionIntro/scripts/index.d.ts +36 -0
- package/dist/types/components/Spinner/Spinner.d.ts +6 -0
- package/dist/types/components/Spinner/index.d.ts +2 -0
- package/dist/types/components/Steps/Steps.d.ts +44 -0
- package/dist/types/components/Steps/index.d.ts +4 -0
- package/dist/types/components/Steps/scripts/index.d.ts +58 -0
- package/dist/types/components/Tab/Tab.d.ts +44 -0
- package/dist/types/components/Tab/index.d.ts +2 -0
- package/dist/types/components/Tab/scripts/index.d.ts +61 -0
- package/dist/types/components/Testimonial/Testimonial.d.ts +48 -0
- package/dist/types/components/Testimonial/index.d.ts +4 -0
- package/dist/types/components/Testimonial/scripts/index.d.ts +36 -0
- package/dist/types/components/Todo/Todo.d.ts +6 -0
- package/dist/types/components/Todo/index.d.ts +1 -0
- package/dist/types/components/Todo/scripts/index.d.ts +115 -0
- package/dist/types/components/Todo/scripts/todoInteractions.d.ts +38 -0
- package/dist/types/components/Todo/scripts/types.d.ts +17 -0
- package/dist/types/components/Toggle/Toggle.d.ts +30 -0
- package/dist/types/components/Toggle/index.d.ts +2 -0
- package/dist/types/components/Toggle/scripts/index.d.ts +50 -0
- package/dist/types/components/Toggle/scripts/toggleInteractions.d.ts +23 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +35 -0
- package/dist/types/components/Tooltip/index.d.ts +3 -0
- package/dist/types/components/Tooltip/scripts/index.d.ts +123 -0
- package/dist/types/components/Tooltip/scripts/tooltipInteractions.d.ts +23 -0
- package/dist/types/components/Upload/Upload.d.ts +66 -0
- package/dist/types/components/Upload/index.d.ts +4 -0
- package/dist/types/components/Upload/scripts/index.d.ts +118 -0
- package/dist/types/components/index.d.ts +78 -0
- package/dist/types/htmlComponentsEntry.d.ts +160 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/layouts/Grid/Container.d.ts +38 -0
- package/dist/types/layouts/Grid/Grid.d.ts +37 -0
- package/dist/types/layouts/Grid/GridCol.d.ts +64 -0
- package/dist/types/layouts/Grid/Row.d.ts +38 -0
- package/dist/types/layouts/Grid/index.d.ts +8 -0
- package/dist/types/layouts/MasonryGrid/MasonryGrid.d.ts +71 -0
- package/dist/types/layouts/MasonryGrid/MasonryGridItem.d.ts +24 -0
- package/dist/types/layouts/MasonryGrid/index.d.ts +4 -0
- package/dist/types/lib/composables/index.d.ts +21 -0
- package/dist/types/lib/composables/useAccordion.d.ts +30 -0
- package/dist/types/lib/composables/useBadge.d.ts +10 -0
- package/dist/types/lib/composables/useBreadcrumb.d.ts +13 -0
- package/dist/types/lib/composables/useButton.d.ts +11 -0
- package/dist/types/lib/composables/useCallout.d.ts +11 -0
- package/dist/types/lib/composables/useCard.d.ts +8 -0
- package/dist/types/lib/composables/useCheckbox.d.ts +11 -0
- package/dist/types/lib/composables/useDataTable.d.ts +66 -0
- package/dist/types/lib/composables/useDatePicker.d.ts +91 -0
- package/dist/types/lib/composables/useDropdown.d.ts +26 -0
- package/dist/types/lib/composables/useEdgePanel.d.ts +15 -0
- package/dist/types/lib/composables/useForm.d.ts +12 -0
- package/dist/types/lib/composables/useFormGroup.d.ts +10 -0
- package/dist/types/lib/composables/useHero.d.ts +53 -0
- package/dist/types/lib/composables/useInput.d.ts +12 -0
- package/dist/types/lib/composables/useMessages.d.ts +38 -0
- package/dist/types/lib/composables/useModal.d.ts +40 -0
- package/dist/types/lib/composables/useNavbar.d.ts +59 -0
- package/dist/types/lib/composables/usePagination.d.ts +13 -0
- package/dist/types/lib/composables/usePhotoViewer.d.ts +57 -0
- package/dist/types/lib/composables/usePopover.d.ts +30 -0
- package/dist/types/lib/composables/useProgress.d.ts +38 -0
- package/dist/types/lib/composables/useRadio.d.ts +10 -0
- package/dist/types/lib/composables/useRating.d.ts +52 -0
- package/dist/types/lib/composables/useRiver.d.ts +107 -0
- package/dist/types/lib/composables/useSelect.d.ts +10 -0
- package/dist/types/lib/composables/useSpinner.d.ts +10 -0
- package/dist/types/lib/composables/useTextarea.d.ts +10 -0
- package/dist/types/lib/composables/useTodo.d.ts +19 -0
- package/dist/types/lib/constants/components.d.ts +921 -0
- package/dist/types/lib/constants/index.d.ts +1 -0
- package/dist/types/lib/index.d.ts +4 -0
- package/dist/types/lib/types/components.d.ts +1947 -0
- package/dist/types/lib/types/index.d.ts +2 -0
- package/dist/types/lib/utils/dom.d.ts +26 -0
- package/dist/types/lib/utils/icons.d.ts +20 -0
- package/dist/types/lib/utils/index.d.ts +2 -0
- package/dist/types/lib/utils/useForkRef.d.ts +10 -0
- package/package.json +13 -13
- package/dist/css/atomix-0.1.5.css.map +0 -1
- package/dist/css/atomix-0.1.5.min.css.map +0 -1
- package/dist/js/202.atomix-0.1.5.react.cjs.js.map +0 -1
- package/dist/js/202.atomix-0.1.5.react.esm.js.map +0 -1
- package/dist/js/202.atomix-0.1.5.react.js.map +0 -1
- package/dist/js/308.atomix-0.1.5.react.cjs.js.map +0 -1
- package/dist/js/308.atomix-0.1.5.react.esm.js.map +0 -1
- package/dist/js/308.atomix-0.1.5.react.js.map +0 -1
- package/dist/js/34.atomix-0.1.5.react.cjs.js.map +0 -1
- package/dist/js/34.atomix-0.1.5.react.esm.js.map +0 -1
- package/dist/js/34.atomix-0.1.5.react.js.map +0 -1
- package/dist/js/471.atomix-0.1.5.react.cjs.js.map +0 -1
- package/dist/js/471.atomix-0.1.5.react.esm.js.map +0 -1
- package/dist/js/471.atomix-0.1.5.react.js.map +0 -1
- package/dist/js/54.atomix-0.1.5.react.cjs.js.map +0 -1
- package/dist/js/54.atomix-0.1.5.react.esm.js.map +0 -1
- package/dist/js/54.atomix-0.1.5.react.js.map +0 -1
- package/dist/js/619.atomix-0.1.5.react.cjs.js.map +0 -1
- package/dist/js/619.atomix-0.1.5.react.esm.js.map +0 -1
- package/dist/js/619.atomix-0.1.5.react.js.map +0 -1
- package/dist/js/690.atomix-0.1.5.react.cjs.js.map +0 -1
- package/dist/js/690.atomix-0.1.5.react.esm.js.map +0 -1
- package/dist/js/690.atomix-0.1.5.react.js.map +0 -1
- package/dist/js/894.atomix-0.1.5.react.cjs.js.map +0 -1
- package/dist/js/894.atomix-0.1.5.react.esm.js.map +0 -1
- package/dist/js/894.atomix-0.1.5.react.js.map +0 -1
- package/dist/js/897.atomix-0.1.5.react.cjs.js.map +0 -1
- package/dist/js/897.atomix-0.1.5.react.esm.js.map +0 -1
- package/dist/js/897.atomix-0.1.5.react.js.map +0 -1
- package/dist/js/atomix-0.1.5.react.cjs.js +0 -2
- package/dist/js/atomix-0.1.5.react.cjs.js.map +0 -1
- package/dist/js/atomix-0.1.5.react.esm.js +0 -2
- package/dist/js/atomix-0.1.5.react.esm.js.map +0 -1
- package/dist/js/atomix-0.1.5.react.js +0 -2
- package/dist/js/atomix-0.1.5.react.js.map +0 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export { default as Accordion } from './Accordion/Accordion';
|
|
2
|
+
export type { AccordionProps } from './Accordion/Accordion';
|
|
3
|
+
export { default as Avatar } from './Avatar/Avatar';
|
|
4
|
+
export type { AvatarProps } from './Avatar/Avatar';
|
|
5
|
+
export { default as Badge } from './Badge/Badge';
|
|
6
|
+
export type { BadgeProps } from './Badge/Badge';
|
|
7
|
+
export { default as Breadcrumb } from './Breadcrumb/Breadcrumb';
|
|
8
|
+
export type { BreadcrumbProps } from './Breadcrumb/Breadcrumb';
|
|
9
|
+
export { default as Button } from './Button';
|
|
10
|
+
export type { ButtonProps } from './Button';
|
|
11
|
+
export { default as Callout } from './Callout/Callout';
|
|
12
|
+
export type { CalloutProps } from './Callout/Callout';
|
|
13
|
+
export { default as Card } from './Card/Card';
|
|
14
|
+
export type { CardProps } from './Card/Card';
|
|
15
|
+
export { default as ColorModeToggle } from './ColorModeToggle/ColorModeToggle';
|
|
16
|
+
export type { ColorModeToggleProps } from './ColorModeToggle/ColorModeToggle';
|
|
17
|
+
export { default as Countdown } from './Countdown/Countdown';
|
|
18
|
+
export type { CountdownProps } from './Countdown/Countdown';
|
|
19
|
+
export { default as DataTable } from './DataTable/DataTable';
|
|
20
|
+
export type { DataTableProps } from './DataTable/DataTable';
|
|
21
|
+
export { default as DatePicker } from './DatePicker/DatePicker';
|
|
22
|
+
export type { DatePickerProps } from './DatePicker/DatePicker';
|
|
23
|
+
export { default as Dropdown } from './Dropdown/Dropdown';
|
|
24
|
+
export type { DropdownProps } from './Dropdown/Dropdown';
|
|
25
|
+
export { default as EdgePanel } from './EdgePanel/EdgePanel';
|
|
26
|
+
export type { EdgePanelProps } from './EdgePanel/EdgePanel';
|
|
27
|
+
export { default as Form } from './Form/Form';
|
|
28
|
+
export { default as Input } from './Form/Input';
|
|
29
|
+
export { default as Textarea } from './Form/Textarea';
|
|
30
|
+
export { default as Select } from './Form/Select';
|
|
31
|
+
export { default as Checkbox } from './Form/Checkbox';
|
|
32
|
+
export { default as Radio } from './Form/Radio';
|
|
33
|
+
export { default as Hero } from './Hero/Hero';
|
|
34
|
+
export type { HeroProps } from './Hero/Hero';
|
|
35
|
+
export { default as Icon } from './Icon/Icon';
|
|
36
|
+
export type { IconProps } from './Icon/Icon';
|
|
37
|
+
export { default as List } from './List/List';
|
|
38
|
+
export type { ListProps } from './List/List';
|
|
39
|
+
export { default as Messages } from './Messages/Messages';
|
|
40
|
+
export type { MessagesProps } from './Messages/Messages';
|
|
41
|
+
export { default as Modal } from './Modal/Modal';
|
|
42
|
+
export type { ModalProps } from './Modal/Modal';
|
|
43
|
+
export { default as Navbar } from './Navbar/Navbar';
|
|
44
|
+
export type { NavbarProps } from './Navbar/Navbar';
|
|
45
|
+
export { default as Pagination } from './Pagination/Pagination';
|
|
46
|
+
export type { PaginationProps } from './Pagination/Pagination';
|
|
47
|
+
export { default as PhotoViewer } from './PhotoViewer/PhotoViewer';
|
|
48
|
+
export type { PhotoViewerProps } from './PhotoViewer/PhotoViewer';
|
|
49
|
+
export { default as Popover } from './Popover/Popover';
|
|
50
|
+
export type { PopoverProps } from './Popover/Popover';
|
|
51
|
+
export { default as ProductReview } from './ProductReview/ProductReview';
|
|
52
|
+
export type { ProductReviewProps } from './ProductReview/ProductReview';
|
|
53
|
+
export { default as Progress } from './Progress/Progress';
|
|
54
|
+
export type { ProgressProps } from './Progress/Progress';
|
|
55
|
+
export { default as Rating } from './Rating/Rating';
|
|
56
|
+
export type { RatingProps } from './Rating/Rating';
|
|
57
|
+
export { default as River } from './River/River';
|
|
58
|
+
export type { RiverProps } from './River/River';
|
|
59
|
+
export { default as SectionIntro } from './SectionIntro/SectionIntro';
|
|
60
|
+
export type { SectionIntroProps } from './SectionIntro/SectionIntro';
|
|
61
|
+
export { default as Spinner } from './Spinner/Spinner';
|
|
62
|
+
export type { SpinnerProps } from './Spinner/Spinner';
|
|
63
|
+
export { default as Steps } from './Steps/Steps';
|
|
64
|
+
export type { StepsProps } from './Steps/Steps';
|
|
65
|
+
export { default as Tab } from './Tab/Tab';
|
|
66
|
+
export type { TabProps } from './Tab/Tab';
|
|
67
|
+
export { default as Testimonial } from './Testimonial/Testimonial';
|
|
68
|
+
export type { TestimonialProps } from './Testimonial/Testimonial';
|
|
69
|
+
export { default as Todo } from './Todo/Todo';
|
|
70
|
+
export type { TodoProps } from './Todo/Todo';
|
|
71
|
+
export { default as Toggle } from './Toggle/Toggle';
|
|
72
|
+
export type { ToggleProps } from './Toggle/Toggle';
|
|
73
|
+
export { default as Tooltip } from './Tooltip/Tooltip';
|
|
74
|
+
export type { TooltipProps } from './Tooltip/Tooltip';
|
|
75
|
+
export { default as Upload } from './Upload/Upload';
|
|
76
|
+
export type { UploadProps } from './Upload/Upload';
|
|
77
|
+
export { default as AtomixLogo } from './AtomixLogo/AtomixLogo';
|
|
78
|
+
export type { AtomixLogoProps } from './AtomixLogo/AtomixLogo';
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { initializeButton } from './components/Button/scripts';
|
|
2
|
+
import { initializeAccordionsWithCustomBehavior } from './components/Accordion/scripts';
|
|
3
|
+
import { initializeTooltipsWithCustomBehavior } from './components/Tooltip/scripts/tooltipInteractions';
|
|
4
|
+
import { initializeToggles } from './components/Toggle/scripts';
|
|
5
|
+
import { initializeTabs } from './components/Tab/scripts';
|
|
6
|
+
import { initializeSteps } from './components/Steps/scripts';
|
|
7
|
+
import { initializeTestimonials } from './components/Testimonial/scripts';
|
|
8
|
+
import { initializeRivers } from './components/River/scripts';
|
|
9
|
+
import { initializeUploads } from './components/Upload/scripts';
|
|
10
|
+
import { initializeEdgePanelsWithCustomBehavior } from './components/EdgePanel/scripts/edgePanelInteractions';
|
|
11
|
+
import { initializeModals } from './components/Modal/scripts/index';
|
|
12
|
+
import { initializeHeroesWithCustomBehavior } from './components/Hero/scripts/heroInteractions';
|
|
13
|
+
import { Avatar } from './components/Avatar/scripts';
|
|
14
|
+
import Breadcrumb from './components/Breadcrumb/scripts';
|
|
15
|
+
import Card from './components/Card/scripts';
|
|
16
|
+
import Countdown from './components/Countdown/scripts';
|
|
17
|
+
import { Todo } from './components/Todo/scripts';
|
|
18
|
+
import Pagination from './components/Pagination/scripts';
|
|
19
|
+
import { DataTable } from './components/DataTable/scripts';
|
|
20
|
+
import { initFromDataAttributes as initializeDatePickers } from './components/DatePicker/scripts/componentInteractions';
|
|
21
|
+
/**
|
|
22
|
+
* Initialize all Button components in the document
|
|
23
|
+
*/
|
|
24
|
+
declare function initializeButtons(): void;
|
|
25
|
+
/**
|
|
26
|
+
* Initialize all Accordion components in the document
|
|
27
|
+
*/
|
|
28
|
+
declare function initializeAccordions(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Initialize all Tooltip components in the document
|
|
31
|
+
*/
|
|
32
|
+
declare function initializeTooltips(): void;
|
|
33
|
+
/**
|
|
34
|
+
* Initialize all Toggle components in the document
|
|
35
|
+
*/
|
|
36
|
+
declare function initializeToggleComponents(): void;
|
|
37
|
+
/**
|
|
38
|
+
* Initialize all Tab components in the document
|
|
39
|
+
*/
|
|
40
|
+
declare function initializeTabComponents(): void;
|
|
41
|
+
/**
|
|
42
|
+
* Initialize all Steps components in the document
|
|
43
|
+
*/
|
|
44
|
+
declare function initializeStepComponents(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Initialize all Testimonial components in the document
|
|
47
|
+
*/
|
|
48
|
+
declare function initializeTestimonialComponents(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Initialize all River components in the document
|
|
51
|
+
*/
|
|
52
|
+
declare function initializeRiverComponents(): void;
|
|
53
|
+
/**
|
|
54
|
+
* Initialize all Upload components in the document
|
|
55
|
+
*/
|
|
56
|
+
declare function initializeUploadComponents(): void;
|
|
57
|
+
/**
|
|
58
|
+
* Initialize all EdgePanel components in the document
|
|
59
|
+
*/
|
|
60
|
+
declare function initializeEdgePanels(): void;
|
|
61
|
+
/**
|
|
62
|
+
* Initialize all Modal components in the document
|
|
63
|
+
*/
|
|
64
|
+
declare function initializeModalComponents(): void;
|
|
65
|
+
/**
|
|
66
|
+
* Initialize all Hero components in the document
|
|
67
|
+
*/
|
|
68
|
+
declare function initializeHeroComponents(): void;
|
|
69
|
+
/**
|
|
70
|
+
* Initialize all DatePicker components in the document
|
|
71
|
+
*/
|
|
72
|
+
declare function initializeDatePickerComponents(): void;
|
|
73
|
+
/**
|
|
74
|
+
* Initialize all components
|
|
75
|
+
*/
|
|
76
|
+
declare function initializeComponents(): void;
|
|
77
|
+
declare const Atomix: {
|
|
78
|
+
Button: {
|
|
79
|
+
init: typeof initializeButton;
|
|
80
|
+
initializeAll: typeof initializeButtons;
|
|
81
|
+
};
|
|
82
|
+
Accordion: {
|
|
83
|
+
init: typeof initializeAccordionsWithCustomBehavior;
|
|
84
|
+
initializeAll: typeof initializeAccordions;
|
|
85
|
+
};
|
|
86
|
+
Tooltip: {
|
|
87
|
+
init: typeof initializeTooltipsWithCustomBehavior;
|
|
88
|
+
initializeAll: typeof initializeTooltips;
|
|
89
|
+
};
|
|
90
|
+
Toggle: {
|
|
91
|
+
init: typeof initializeToggles;
|
|
92
|
+
initializeAll: typeof initializeToggleComponents;
|
|
93
|
+
};
|
|
94
|
+
Tab: {
|
|
95
|
+
init: typeof initializeTabs;
|
|
96
|
+
initializeAll: typeof initializeTabComponents;
|
|
97
|
+
};
|
|
98
|
+
Steps: {
|
|
99
|
+
init: typeof initializeSteps;
|
|
100
|
+
initializeAll: typeof initializeStepComponents;
|
|
101
|
+
};
|
|
102
|
+
Testimonial: {
|
|
103
|
+
init: typeof initializeTestimonials;
|
|
104
|
+
initializeAll: typeof initializeTestimonialComponents;
|
|
105
|
+
};
|
|
106
|
+
River: {
|
|
107
|
+
init: typeof initializeRivers;
|
|
108
|
+
initializeAll: typeof initializeRiverComponents;
|
|
109
|
+
};
|
|
110
|
+
Upload: {
|
|
111
|
+
init: typeof initializeUploads;
|
|
112
|
+
initializeAll: typeof initializeUploadComponents;
|
|
113
|
+
};
|
|
114
|
+
EdgePanel: {
|
|
115
|
+
init: typeof initializeEdgePanelsWithCustomBehavior;
|
|
116
|
+
initializeAll: typeof initializeEdgePanels;
|
|
117
|
+
};
|
|
118
|
+
Modal: {
|
|
119
|
+
init: typeof initializeModals;
|
|
120
|
+
initializeAll: typeof initializeModalComponents;
|
|
121
|
+
};
|
|
122
|
+
Hero: {
|
|
123
|
+
init: typeof initializeHeroesWithCustomBehavior;
|
|
124
|
+
initializeAll: typeof initializeHeroComponents;
|
|
125
|
+
};
|
|
126
|
+
Avatar: {
|
|
127
|
+
init: typeof Avatar.initializeAll;
|
|
128
|
+
initializeAll: typeof Avatar.initializeAll;
|
|
129
|
+
};
|
|
130
|
+
Breadcrumb: {
|
|
131
|
+
init: typeof Breadcrumb.initializeAll;
|
|
132
|
+
initializeAll: typeof Breadcrumb.initializeAll;
|
|
133
|
+
};
|
|
134
|
+
Card: {
|
|
135
|
+
init: typeof Card.initializeAll;
|
|
136
|
+
initializeAll: typeof Card.initializeAll;
|
|
137
|
+
};
|
|
138
|
+
Countdown: {
|
|
139
|
+
init: typeof Countdown.initializeAll;
|
|
140
|
+
initializeAll: typeof Countdown.initializeAll;
|
|
141
|
+
};
|
|
142
|
+
Todo: {
|
|
143
|
+
init: typeof Todo.initializeAll;
|
|
144
|
+
initializeAll: typeof Todo.initializeAll;
|
|
145
|
+
};
|
|
146
|
+
Pagination: {
|
|
147
|
+
init: typeof Pagination.initializeAll;
|
|
148
|
+
initializeAll: typeof Pagination.initializeAll;
|
|
149
|
+
};
|
|
150
|
+
DataTable: {
|
|
151
|
+
init: typeof DataTable.initializeAll;
|
|
152
|
+
initializeAll: typeof DataTable.initializeAll;
|
|
153
|
+
};
|
|
154
|
+
DatePicker: {
|
|
155
|
+
init: typeof initializeDatePickers;
|
|
156
|
+
initializeAll: typeof initializeDatePickerComponents;
|
|
157
|
+
};
|
|
158
|
+
initializeAll: typeof initializeComponents;
|
|
159
|
+
};
|
|
160
|
+
export default Atomix;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* The content to be rendered within the container
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Additional CSS class names
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Container type:
|
|
13
|
+
* - undefined: responsive container with max-width at each breakpoint
|
|
14
|
+
* - 'fluid': full width container
|
|
15
|
+
* - 'sm', 'md', 'lg', 'xl', 'xxl': responsive container with max-width at specified breakpoint
|
|
16
|
+
*/
|
|
17
|
+
type?: 'fluid' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Container component for creating responsive layouts.
|
|
21
|
+
* Uses the CSS container classes defined in _objects.container.scss.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```tsx
|
|
25
|
+
* <Container>
|
|
26
|
+
* Content with responsive max-width
|
|
27
|
+
* </Container>
|
|
28
|
+
*
|
|
29
|
+
* <Container type="fluid">
|
|
30
|
+
* Full width content
|
|
31
|
+
* </Container>
|
|
32
|
+
*
|
|
33
|
+
* <Container type="md">
|
|
34
|
+
* Content with max-width at md breakpoint
|
|
35
|
+
* </Container>
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface GridProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* The content to be rendered within the grid
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Additional CSS class names
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Control the horizontal alignment of items
|
|
13
|
+
*/
|
|
14
|
+
justifyContent?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly';
|
|
15
|
+
/**
|
|
16
|
+
* Control the vertical alignment of items
|
|
17
|
+
*/
|
|
18
|
+
alignItems?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
19
|
+
/**
|
|
20
|
+
* No gutters between columns
|
|
21
|
+
*/
|
|
22
|
+
noGutters?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Grid component for creating responsive layouts.
|
|
26
|
+
* Uses the CSS grid system defined in _objects.grid.scss.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```tsx
|
|
30
|
+
* <Grid>
|
|
31
|
+
* <GridCol sm={6} md={4} lg={3}>Column content</GridCol>
|
|
32
|
+
* <GridCol sm={6} md={4} lg={3}>Column content</GridCol>
|
|
33
|
+
* <GridCol sm={6} md={4} lg={3}>Column content</GridCol>
|
|
34
|
+
* </Grid>
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface GridColProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* The content to be rendered within the column
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Additional CSS class names
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Number of columns to span at extra small breakpoint (default)
|
|
13
|
+
*/
|
|
14
|
+
xs?: number | 'auto';
|
|
15
|
+
/**
|
|
16
|
+
* Number of columns to span at small breakpoint
|
|
17
|
+
*/
|
|
18
|
+
sm?: number | 'auto';
|
|
19
|
+
/**
|
|
20
|
+
* Number of columns to span at medium breakpoint
|
|
21
|
+
*/
|
|
22
|
+
md?: number | 'auto';
|
|
23
|
+
/**
|
|
24
|
+
* Number of columns to span at large breakpoint
|
|
25
|
+
*/
|
|
26
|
+
lg?: number | 'auto';
|
|
27
|
+
/**
|
|
28
|
+
* Number of columns to span at extra large breakpoint
|
|
29
|
+
*/
|
|
30
|
+
xl?: number | 'auto';
|
|
31
|
+
/**
|
|
32
|
+
* Number of columns to span at extra extra large breakpoint
|
|
33
|
+
*/
|
|
34
|
+
xxl?: number | 'auto';
|
|
35
|
+
/**
|
|
36
|
+
* Offset at extra small breakpoint
|
|
37
|
+
*/
|
|
38
|
+
offsetXs?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Offset at small breakpoint
|
|
41
|
+
*/
|
|
42
|
+
offsetSm?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Offset at medium breakpoint
|
|
45
|
+
*/
|
|
46
|
+
offsetMd?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Offset at large breakpoint
|
|
49
|
+
*/
|
|
50
|
+
offsetLg?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Offset at extra large breakpoint
|
|
53
|
+
*/
|
|
54
|
+
offsetXl?: number;
|
|
55
|
+
/**
|
|
56
|
+
* Offset at extra extra large breakpoint
|
|
57
|
+
*/
|
|
58
|
+
offsetXxl?: number;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* GridCol component for creating columns within a Grid.
|
|
62
|
+
* Uses the CSS grid column classes defined in _objects.grid.scss.
|
|
63
|
+
*/
|
|
64
|
+
export declare const GridCol: React.ForwardRefExoticComponent<GridColProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface RowProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* The content to be rendered within the row
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Additional CSS class names
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Control the horizontal alignment of items
|
|
13
|
+
*/
|
|
14
|
+
justifyContent?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly';
|
|
15
|
+
/**
|
|
16
|
+
* Control the vertical alignment of items
|
|
17
|
+
*/
|
|
18
|
+
alignItems?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
19
|
+
/**
|
|
20
|
+
* No gutters between columns
|
|
21
|
+
*/
|
|
22
|
+
noGutters?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Row component for creating rows within a Grid or Container.
|
|
26
|
+
* Uses the CSS row classes defined in _objects.grid.scss.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```tsx
|
|
30
|
+
* <Container>
|
|
31
|
+
* <Row justifyContent="between" alignItems="center">
|
|
32
|
+
* <GridCol md={6}>Column content</GridCol>
|
|
33
|
+
* <GridCol md={6}>Column content</GridCol>
|
|
34
|
+
* </Row>
|
|
35
|
+
* </Container>
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { Grid } from './Grid';
|
|
2
|
+
export type { GridProps } from './Grid';
|
|
3
|
+
export { GridCol } from './GridCol';
|
|
4
|
+
export type { GridColProps } from './GridCol';
|
|
5
|
+
export { Container } from './Container';
|
|
6
|
+
export type { ContainerProps } from './Container';
|
|
7
|
+
export { Row } from './Row';
|
|
8
|
+
export type { RowProps } from './Row';
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface MasonryGridProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* The content to be rendered within the masonry grid
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Additional CSS class names
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Number of columns at extra small breakpoint (default)
|
|
13
|
+
*/
|
|
14
|
+
xs?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Number of columns at small breakpoint
|
|
17
|
+
*/
|
|
18
|
+
sm?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Number of columns at medium breakpoint
|
|
21
|
+
*/
|
|
22
|
+
md?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Number of columns at large breakpoint
|
|
25
|
+
*/
|
|
26
|
+
lg?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Number of columns at extra large breakpoint
|
|
29
|
+
*/
|
|
30
|
+
xl?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Number of columns at extra extra large breakpoint
|
|
33
|
+
*/
|
|
34
|
+
xxl?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Gap between items (in pixels)
|
|
37
|
+
*/
|
|
38
|
+
gap?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Whether to animate item transitions
|
|
41
|
+
*/
|
|
42
|
+
animate?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Whether to handle image loading to prevent layout shifts
|
|
45
|
+
* When true, items will be shown immediately and positions updated as images load
|
|
46
|
+
*/
|
|
47
|
+
imagesLoaded?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Callback fired when all images are loaded and layout is complete
|
|
50
|
+
*/
|
|
51
|
+
onLayoutComplete?: () => void;
|
|
52
|
+
/**
|
|
53
|
+
* Callback fired each time an image loads and layout is updated
|
|
54
|
+
*/
|
|
55
|
+
onImageLoad?: (loadedCount: number, totalCount: number) => void;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* MasonryGrid component for creating a responsive masonry layout.
|
|
59
|
+
* Uses JavaScript to position items optimally based on available vertical space,
|
|
60
|
+
* similar to how a mason fits stones in a wall.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```tsx
|
|
64
|
+
* <MasonryGrid xs={1} sm={2} md={3} lg={4}>
|
|
65
|
+
* <MasonryGridItem>Item 1</MasonryGridItem>
|
|
66
|
+
* <MasonryGridItem>Item 2</MasonryGridItem>
|
|
67
|
+
* <MasonryGridItem>Item 3</MasonryGridItem>
|
|
68
|
+
* </MasonryGrid>
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
export declare const MasonryGrid: React.ForwardRefExoticComponent<MasonryGridProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface MasonryGridItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* The content to be rendered within the masonry grid item
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Additional CSS class names
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* MasonryGridItem component for creating items within a MasonryGrid.
|
|
14
|
+
* Each item will be positioned optimally by the parent MasonryGrid component.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* <MasonryGrid>
|
|
19
|
+
* <MasonryGridItem>Item 1</MasonryGridItem>
|
|
20
|
+
* <MasonryGridItem>Item 2</MasonryGridItem>
|
|
21
|
+
* </MasonryGrid>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare const MasonryGridItem: React.ForwardRefExoticComponent<MasonryGridItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export * from './useButton';
|
|
2
|
+
export * from './useAccordion';
|
|
3
|
+
export * from './useBadge';
|
|
4
|
+
export * from './useHero';
|
|
5
|
+
export * from './useRiver';
|
|
6
|
+
export * from './useSpinner';
|
|
7
|
+
export * from './useNavbar';
|
|
8
|
+
export * from './useEdgePanel';
|
|
9
|
+
export * from './useTodo';
|
|
10
|
+
export * from './useForm';
|
|
11
|
+
export * from './useFormGroup';
|
|
12
|
+
export * from './useInput';
|
|
13
|
+
export * from './useSelect';
|
|
14
|
+
export * from './useCheckbox';
|
|
15
|
+
export * from './useRadio';
|
|
16
|
+
export * from './useTextarea';
|
|
17
|
+
export * from './useDataTable';
|
|
18
|
+
export * from './usePagination';
|
|
19
|
+
export * from './useModal';
|
|
20
|
+
export * from './useBreadcrumb';
|
|
21
|
+
export * from './useCard';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AccordionProps, AccordionState } from '../types/components';
|
|
2
|
+
/**
|
|
3
|
+
* Accordion functionality hook result
|
|
4
|
+
*/
|
|
5
|
+
interface UseAccordionResult {
|
|
6
|
+
/** Current accordion state */
|
|
7
|
+
state: AccordionState;
|
|
8
|
+
/** Toggle the accordion open/closed */
|
|
9
|
+
toggle: () => void;
|
|
10
|
+
/** Update the panel height based on content */
|
|
11
|
+
updatePanelHeight: () => void;
|
|
12
|
+
/** Reference to the panel element */
|
|
13
|
+
panelRef: React.RefObject<HTMLDivElement>;
|
|
14
|
+
/** Reference to the content element */
|
|
15
|
+
contentRef: React.RefObject<HTMLDivElement>;
|
|
16
|
+
/** Generate accordion class names based on state */
|
|
17
|
+
generateClassNames: (baseClassName?: string) => string;
|
|
18
|
+
/** Generate header class names */
|
|
19
|
+
generateHeaderClassNames: () => string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Accordion functionality hook
|
|
23
|
+
* @param initialProps - Initial accordion properties
|
|
24
|
+
* @returns Accordion state and methods
|
|
25
|
+
*/
|
|
26
|
+
export declare function useAccordion(initialProps?: Partial<AccordionProps> & {
|
|
27
|
+
isOpen?: boolean;
|
|
28
|
+
onOpenChange?: (open: boolean) => void;
|
|
29
|
+
}): UseAccordionResult;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BadgeProps } from '../types/components';
|
|
2
|
+
/**
|
|
3
|
+
* Badge state and functionality
|
|
4
|
+
* @param initialProps - Initial badge properties
|
|
5
|
+
* @returns Badge state and methods
|
|
6
|
+
*/
|
|
7
|
+
export declare function useBadge(initialProps?: Partial<BadgeProps>): {
|
|
8
|
+
defaultProps: Partial<BadgeProps>;
|
|
9
|
+
generateBadgeClass: (props: Partial<BadgeProps>) => string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BreadcrumbItem, BreadcrumbOptions } from '../../components/Breadcrumb/scripts/types';
|
|
2
|
+
/**
|
|
3
|
+
* Breadcrumb state and functionality
|
|
4
|
+
* @param initialOptions - Initial breadcrumb options
|
|
5
|
+
* @returns Breadcrumb state and methods
|
|
6
|
+
*/
|
|
7
|
+
export declare function useBreadcrumb(initialOptions?: Partial<BreadcrumbOptions>): {
|
|
8
|
+
defaultOptions: BreadcrumbOptions;
|
|
9
|
+
generateBreadcrumbClass: (options: Partial<BreadcrumbOptions>) => string;
|
|
10
|
+
generateItemClass: (item: BreadcrumbItem, isLast: boolean) => string;
|
|
11
|
+
isItemLink: (item: BreadcrumbItem, isLast: boolean) => boolean;
|
|
12
|
+
parseItemsFromJson: (jsonString: string) => BreadcrumbItem[];
|
|
13
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ButtonProps } from '../types/components';
|
|
2
|
+
/**
|
|
3
|
+
* Button state and functionality
|
|
4
|
+
* @param initialProps - Initial button properties
|
|
5
|
+
* @returns Button state and methods
|
|
6
|
+
*/
|
|
7
|
+
export declare function useButton(initialProps?: Partial<ButtonProps>): {
|
|
8
|
+
defaultProps: Partial<ButtonProps>;
|
|
9
|
+
generateButtonClass: (props: Partial<ButtonProps>) => string;
|
|
10
|
+
handleClick: (handler?: () => void) => () => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CalloutProps } from '../types/components';
|
|
2
|
+
/**
|
|
3
|
+
* Callout state and functionality
|
|
4
|
+
* @param initialProps - Initial callout properties
|
|
5
|
+
* @returns Callout state and methods
|
|
6
|
+
*/
|
|
7
|
+
export declare function useCallout(initialProps?: Partial<CalloutProps>): {
|
|
8
|
+
defaultProps: Partial<CalloutProps>;
|
|
9
|
+
generateCalloutClass: (props: Partial<CalloutProps>) => string;
|
|
10
|
+
handleClose: (handler?: () => void) => () => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UseCardOptions, UseCardReturn } from '../types/components';
|
|
2
|
+
/**
|
|
3
|
+
* Hook for managing Card component state and behaviors
|
|
4
|
+
*
|
|
5
|
+
* @param options - Configuration options for the card
|
|
6
|
+
* @returns Card state and handlers
|
|
7
|
+
*/
|
|
8
|
+
export declare const useCard: (options?: UseCardOptions) => UseCardReturn;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CheckboxProps } from '../types/components';
|
|
2
|
+
/**
|
|
3
|
+
* Checkbox state and functionality
|
|
4
|
+
* @param initialProps - Initial checkbox properties
|
|
5
|
+
* @returns Checkbox state and methods
|
|
6
|
+
*/
|
|
7
|
+
export declare function useCheckbox(initialProps?: Partial<CheckboxProps>): {
|
|
8
|
+
defaultProps: Partial<CheckboxProps>;
|
|
9
|
+
generateCheckboxClass: (props: Partial<CheckboxProps>) => string;
|
|
10
|
+
checkboxRef: import("react").RefObject<HTMLInputElement>;
|
|
11
|
+
};
|