@shohojdhara/atomix 0.1.30 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -0
- package/LICENSE +0 -0
- package/README.md +128 -43
- package/dist/atomix.css +15025 -0
- package/dist/atomix.min.css +15 -0
- package/dist/index.d.ts +6459 -1748
- package/dist/index.esm.js +17559 -8364
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +17603 -8369
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/themes/boomdevs.css +14677 -0
- package/dist/themes/boomdevs.min.css +405 -0
- package/dist/themes/esrar.css +16870 -0
- package/dist/themes/esrar.min.css +189 -0
- package/dist/themes/mashroom.css +29578 -0
- package/dist/themes/mashroom.min.css +403 -0
- package/dist/themes/shaj-default.css +15702 -0
- package/dist/themes/shaj-default.min.css +500 -0
- package/dist/themes/yabai.css +15207 -0
- package/dist/themes/yabai.min.css +189 -0
- package/package.json +126 -99
- package/src/components/Accordion/Accordion.stories.tsx +271 -0
- package/src/components/Accordion/Accordion.tsx +131 -0
- package/src/components/Accordion/index.ts +3 -0
- package/src/components/AtomixLogo/AtomixLogo.tsx +36 -0
- package/src/components/AtomixLogo/index.ts +3 -0
- package/src/components/AtomixLogo.tsx +40 -0
- package/src/components/Avatar/Avatar.stories.tsx +257 -0
- package/src/components/Avatar/Avatar.tsx +68 -0
- package/src/components/Avatar/AvatarGroup.tsx +73 -0
- package/src/components/Avatar/index.ts +3 -0
- package/src/components/Badge/Badge.stories.tsx +371 -0
- package/src/components/Badge/Badge.tsx +39 -0
- package/src/components/Badge/index.ts +3 -0
- package/src/components/Block/Block.stories.tsx +408 -0
- package/src/components/Block/Block.tsx +137 -0
- package/src/components/Block/index.ts +1 -0
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +106 -0
- package/src/components/Breadcrumb/Breadcrumb.tsx +112 -0
- package/src/components/Breadcrumb/index.ts +3 -0
- package/src/components/Button/Button.stories.tsx +312 -0
- package/src/components/Button/Button.tsx +69 -0
- package/src/components/Button/index.ts +3 -0
- package/src/components/Callout/Callout.stories.tsx +588 -0
- package/src/components/Callout/Callout.tsx +78 -0
- package/src/components/Callout/index.ts +1 -0
- package/src/components/Card/Card.stories.tsx +105 -0
- package/src/components/Card/Card.tsx +69 -0
- package/src/components/Card/ElevationCard.tsx +47 -0
- package/src/components/Card/index.ts +15 -0
- package/src/components/Chart/AdvancedChart.tsx +624 -0
- package/src/components/Chart/AnimatedChart.tsx +206 -0
- package/src/components/Chart/AreaChart.tsx +27 -0
- package/src/components/Chart/BarChart.tsx +148 -0
- package/src/components/Chart/BubbleChart.tsx +411 -0
- package/src/components/Chart/CandlestickChart.tsx +765 -0
- package/src/components/Chart/Chart.stories.tsx +527 -0
- package/src/components/Chart/Chart.tsx +218 -0
- package/src/components/Chart/ChartRenderer.tsx +322 -0
- package/src/components/Chart/ChartToolbar.tsx +436 -0
- package/src/components/Chart/ChartTooltip.tsx +101 -0
- package/src/components/Chart/DonutChart.tsx +370 -0
- package/src/components/Chart/FunnelChart.tsx +393 -0
- package/src/components/Chart/GaugeChart.tsx +550 -0
- package/src/components/Chart/HeatmapChart.tsx +614 -0
- package/src/components/Chart/LineChart.tsx +172 -0
- package/src/components/Chart/LineChartNew.tsx +167 -0
- package/src/components/Chart/MultiAxisChart.tsx +498 -0
- package/src/components/Chart/PieChart.tsx +103 -0
- package/src/components/Chart/RadarChart.tsx +332 -0
- package/src/components/Chart/RealTimeChart.tsx +436 -0
- package/src/components/Chart/ScatterChart.tsx +152 -0
- package/src/components/Chart/TreemapChart.tsx +574 -0
- package/src/components/Chart/WaterfallChart.tsx +450 -0
- package/src/components/Chart/index.ts +119 -0
- package/src/components/Chart/types.ts +338 -0
- package/src/components/ColorModeToggle/ColorModeToggle.stories.tsx +44 -0
- package/src/components/ColorModeToggle/ColorModeToggle.tsx +85 -0
- package/src/components/ColorModeToggle/index.ts +2 -0
- package/src/components/Countdown/Countdown.stories.tsx +46 -0
- package/src/components/Countdown/Countdown.tsx +90 -0
- package/src/components/Countdown/index.ts +2 -0
- package/src/components/DataTable/DataTable.stories.tsx +248 -0
- package/src/components/DataTable/DataTable.tsx +213 -0
- package/src/components/DataTable/index.ts +3 -0
- package/src/components/DatePicker/DatePicker.stories.tsx +364 -0
- package/src/components/DatePicker/DatePicker.tsx +504 -0
- package/src/components/DatePicker/index.ts +4 -0
- package/src/components/DatePicker/readme.md +106 -0
- package/src/components/DatePicker/types.ts +167 -0
- package/src/components/DatePicker/utils.ts +185 -0
- package/src/components/Dropdown/Dropdown.stories.tsx +358 -0
- package/src/components/Dropdown/Dropdown.tsx +352 -0
- package/src/components/Dropdown/index.ts +14 -0
- package/src/components/Dropdown/readme.md +151 -0
- package/src/components/EdgePanel/EdgePanel.stories.tsx +266 -0
- package/src/components/EdgePanel/EdgePanel.tsx +73 -0
- package/src/components/EdgePanel/index.ts +1 -0
- package/src/components/Footer/Footer.stories.tsx +388 -0
- package/src/components/Footer/Footer.tsx +197 -0
- package/src/components/Footer/FooterLink.tsx +72 -0
- package/src/components/Footer/FooterSection.tsx +87 -0
- package/src/components/Footer/FooterSocialLink.tsx +117 -0
- package/src/components/Footer/README.md +261 -0
- package/src/components/Footer/index.ts +13 -0
- package/src/components/Form/Checkbox.stories.tsx +76 -0
- package/src/components/Form/Checkbox.tsx +69 -0
- package/src/components/Form/Form.stories.tsx +497 -0
- package/src/components/Form/Form.tsx +46 -0
- package/src/components/Form/FormGroup.stories.tsx +162 -0
- package/src/components/Form/FormGroup.tsx +53 -0
- package/src/components/Form/Input.stories.tsx +106 -0
- package/src/components/Form/Input.tsx +87 -0
- package/src/components/Form/Radio.stories.tsx +94 -0
- package/src/components/Form/Radio.tsx +65 -0
- package/src/components/Form/Select.stories.tsx +151 -0
- package/src/components/Form/Select.tsx +191 -0
- package/src/components/Form/Textarea.stories.tsx +123 -0
- package/src/components/Form/Textarea.tsx +78 -0
- package/src/components/Form/index.ts +7 -0
- package/src/components/Hero/Hero.stories.tsx +295 -0
- package/src/components/Hero/Hero.tsx +175 -0
- package/src/components/Hero/index.ts +6 -0
- package/src/components/Icon/Icon.tsx +87 -0
- package/src/components/Icon/index.ts +2 -0
- package/src/components/List/List.stories.tsx +122 -0
- package/src/components/List/List.tsx +35 -0
- package/src/components/List/ListGroup.tsx +35 -0
- package/src/components/List/index.ts +2 -0
- package/src/components/Messages/Messages.stories.tsx +160 -0
- package/src/components/Messages/Messages.tsx +172 -0
- package/src/components/Messages/index.ts +3 -0
- package/src/components/Modal/Modal.stories.tsx +284 -0
- package/src/components/Modal/Modal.tsx +198 -0
- package/src/components/Modal/README.md +169 -0
- package/src/components/Modal/index.ts +1 -0
- package/src/components/Navigation/Menu/MegaMenu.tsx +109 -0
- package/src/components/Navigation/Menu/Menu.stories.tsx +339 -0
- package/src/components/Navigation/Menu/Menu.tsx +111 -0
- package/src/components/Navigation/Nav/Nav.stories.tsx +456 -0
- package/src/components/Navigation/Nav/Nav.tsx +51 -0
- package/src/components/Navigation/Nav/NavDropdown.tsx +105 -0
- package/src/components/Navigation/Nav/NavItem.tsx +168 -0
- package/src/components/Navigation/Navbar/Navbar.stories.tsx +569 -0
- package/src/components/Navigation/Navbar/Navbar.tsx +150 -0
- package/src/components/Navigation/README.md +314 -0
- package/src/components/Navigation/SideMenu/SideMenu.README.md +494 -0
- package/src/components/Navigation/SideMenu/SideMenu.stories.tsx +609 -0
- package/src/components/Navigation/SideMenu/SideMenu.tsx +101 -0
- package/src/components/Navigation/SideMenu/SideMenuItem.tsx +103 -0
- package/src/components/Navigation/SideMenu/SideMenuList.tsx +41 -0
- package/src/components/Navigation/index.ts +23 -0
- package/src/components/Pagination/Pagination.stories.tsx +188 -0
- package/src/components/Pagination/Pagination.tsx +162 -0
- package/src/components/Pagination/index.ts +1 -0
- package/src/components/PhotoViewer/PhotoViewer.stories.tsx +397 -0
- package/src/components/PhotoViewer/PhotoViewer.tsx +246 -0
- package/src/components/PhotoViewer/PhotoViewerHeader.tsx +184 -0
- package/src/components/PhotoViewer/PhotoViewerImage.tsx +173 -0
- package/src/components/PhotoViewer/PhotoViewerInfo.tsx +91 -0
- package/src/components/PhotoViewer/PhotoViewerNavigation.tsx +85 -0
- package/src/components/PhotoViewer/PhotoViewerThumbnails.tsx +63 -0
- package/src/components/PhotoViewer/README.md +358 -0
- package/src/components/PhotoViewer/examples/ImageGallery.tsx +187 -0
- package/src/components/PhotoViewer/examples/SimpleGallery.tsx +73 -0
- package/src/components/PhotoViewer/examples/index.ts +2 -0
- package/src/components/PhotoViewer/index.ts +14 -0
- package/src/components/Popover/Popover.stories.tsx +143 -0
- package/src/components/Popover/Popover.tsx +137 -0
- package/src/components/Popover/index.ts +5 -0
- package/src/components/Popover/readme.md +120 -0
- package/src/components/ProductReview/ProductReview.stories.tsx +88 -0
- package/src/components/ProductReview/ProductReview.tsx +169 -0
- package/src/components/ProductReview/index.ts +3 -0
- package/src/components/Progress/Progress.stories.tsx +75 -0
- package/src/components/Progress/Progress.tsx +45 -0
- package/src/components/Progress/index.ts +1 -0
- package/src/components/Rating/Rating.stories.tsx +109 -0
- package/src/components/Rating/Rating.tsx +286 -0
- package/src/components/Rating/index.ts +6 -0
- package/src/components/River/River.stories.tsx +230 -0
- package/src/components/River/River.tsx +134 -0
- package/src/components/River/index.ts +2 -0
- package/src/components/SectionIntro/SectionIntro.stories.tsx +143 -0
- package/src/components/SectionIntro/SectionIntro.tsx +182 -0
- package/src/components/SectionIntro/index.ts +3 -0
- package/src/components/Slider/Slider.stories.tsx +825 -0
- package/src/components/Slider/Slider.tsx +227 -0
- package/src/components/Slider/index.ts +24 -0
- package/src/components/Spinner/Spinner.stories.tsx +65 -0
- package/src/components/Spinner/Spinner.tsx +36 -0
- package/src/components/Spinner/index.ts +2 -0
- package/src/components/Steps/Steps.stories.tsx +158 -0
- package/src/components/Steps/Steps.tsx +115 -0
- package/src/components/Steps/index.ts +3 -0
- package/src/components/Tab/Tab.stories.tsx +129 -0
- package/src/components/Tab/Tab.tsx +111 -0
- package/src/components/Tab/index.ts +2 -0
- package/src/components/Testimonial/Testimonial.stories.tsx +180 -0
- package/src/components/Testimonial/Testimonial.tsx +138 -0
- package/src/components/Testimonial/index.ts +3 -0
- package/src/components/Todo/Todo.stories.tsx +103 -0
- package/src/components/Todo/Todo.tsx +158 -0
- package/src/components/Todo/index.ts +1 -0
- package/src/components/Toggle/Toggle.stories.tsx +49 -0
- package/src/components/Toggle/Toggle.tsx +84 -0
- package/src/components/Toggle/index.ts +2 -0
- package/src/components/Tooltip/Tooltip.stories.tsx +115 -0
- package/src/components/Tooltip/Tooltip.tsx +150 -0
- package/src/components/Tooltip/index.ts +3 -0
- package/src/components/Upload/Upload.stories.tsx +220 -0
- package/src/components/Upload/Upload.tsx +354 -0
- package/src/components/Upload/index.ts +3 -0
- package/src/components/VideoPlayer/VideoPlayer.stories.tsx +484 -0
- package/src/components/VideoPlayer/VideoPlayer.tsx +574 -0
- package/src/components/VideoPlayer/index.ts +7 -0
- package/src/components/index.ts +124 -0
- package/src/layouts/Grid/Container.tsx +58 -0
- package/src/layouts/Grid/Grid.stories.tsx +928 -0
- package/src/layouts/Grid/Grid.tsx +68 -0
- package/src/layouts/Grid/GridCol.tsx +161 -0
- package/src/layouts/Grid/README.md +108 -0
- package/src/layouts/Grid/Row.tsx +70 -0
- package/src/layouts/Grid/index.ts +8 -0
- package/src/layouts/MasonryGrid/MasonryGrid.stories.tsx +387 -0
- package/src/layouts/MasonryGrid/MasonryGrid.tsx +408 -0
- package/src/layouts/MasonryGrid/MasonryGridItem.tsx +44 -0
- package/src/layouts/MasonryGrid/README.md +117 -0
- package/src/layouts/MasonryGrid/index.ts +4 -0
- package/src/layouts/index.ts +7 -0
- package/src/lib/README.md +89 -0
- package/src/lib/composables/index.ts +63 -0
- package/src/lib/composables/useAccordion.ts +129 -0
- package/src/lib/composables/useAmbientMode.ts +90 -0
- package/src/lib/composables/useBadge.ts +42 -0
- package/src/lib/composables/useBarChart.ts +365 -0
- package/src/lib/composables/useBlock.ts +56 -0
- package/src/lib/composables/useBreadcrumb.ts +81 -0
- package/src/lib/composables/useButton.ts +59 -0
- package/src/lib/composables/useCallout.ts +55 -0
- package/src/lib/composables/useCard.ts +155 -0
- package/src/lib/composables/useChart.ts +1082 -0
- package/src/lib/composables/useChartAnalytics.ts +505 -0
- package/src/lib/composables/useChartData.ts +38 -0
- package/src/lib/composables/useChartExport.ts +392 -0
- package/src/lib/composables/useChartInteraction.ts +34 -0
- package/src/lib/composables/useChartInteractions.ts +123 -0
- package/src/lib/composables/useChartPerformance.ts +323 -0
- package/src/lib/composables/useChartScale.ts +48 -0
- package/src/lib/composables/useChartToolbar.ts +532 -0
- package/src/lib/composables/useCheckbox.ts +70 -0
- package/src/lib/composables/useDataTable.ts +208 -0
- package/src/lib/composables/useDatePicker.ts +564 -0
- package/src/lib/composables/useDropdown.ts +272 -0
- package/src/lib/composables/useEdgePanel.ts +261 -0
- package/src/lib/composables/useFooter.ts +85 -0
- package/src/lib/composables/useForm.ts +62 -0
- package/src/lib/composables/useFormGroup.ts +51 -0
- package/src/lib/composables/useHero.ts +250 -0
- package/src/lib/composables/useInput.ts +58 -0
- package/src/lib/composables/useLineChart.ts +319 -0
- package/src/lib/composables/useMessages.ts +77 -0
- package/src/lib/composables/useModal.ts +110 -0
- package/src/lib/composables/useNavbar.ts +288 -0
- package/src/lib/composables/usePagination.ts +101 -0
- package/src/lib/composables/usePhotoViewer.ts +937 -0
- package/src/lib/composables/usePieChart.ts +362 -0
- package/src/lib/composables/usePopover.ts +354 -0
- package/src/lib/composables/useProgress.ts +74 -0
- package/src/lib/composables/useRadio.ts +47 -0
- package/src/lib/composables/useRating.ts +174 -0
- package/src/lib/composables/useRiver.ts +205 -0
- package/src/lib/composables/useSelect.ts +52 -0
- package/src/lib/composables/useSideMenu.ts +197 -0
- package/src/lib/composables/useSlider.ts +526 -0
- package/src/lib/composables/useSpinner.ts +42 -0
- package/src/lib/composables/useTextarea.ts +55 -0
- package/src/lib/composables/useTodo.ts +141 -0
- package/src/lib/composables/useVideoPlayer.ts +398 -0
- package/src/lib/constants/components.ts +1518 -0
- package/src/lib/constants/index.ts +4 -0
- package/src/lib/index.ts +11 -0
- package/src/lib/types/components.ts +5020 -0
- package/src/lib/types/index.ts +2 -0
- package/src/lib/utils/dom.ts +41 -0
- package/src/lib/utils/icons.ts +74 -0
- package/src/lib/utils/index.ts +55 -0
- package/src/lib/utils/useForkRef.test.tsx +64 -0
- package/src/lib/utils/useForkRef.ts +36 -0
- package/src/lib/utils.test.ts +14 -0
- package/src/styles/01-settings/_index.scss +3 -0
- package/src/styles/01-settings/_settings.accordion.scss +22 -19
- package/src/styles/01-settings/_settings.animations.scss +5 -5
- package/src/styles/01-settings/_settings.avatar-group.scss +7 -4
- package/src/styles/01-settings/_settings.avatar.scss +19 -20
- package/src/styles/01-settings/_settings.background.scss +9 -0
- package/src/styles/01-settings/_settings.badge.scss +15 -9
- package/src/styles/01-settings/_settings.block.scss +11 -0
- package/src/styles/01-settings/_settings.border-radius.scss +12 -9
- package/src/styles/01-settings/_settings.border.scss +4 -1
- package/src/styles/01-settings/_settings.box-shadow.scss +1 -1
- package/src/styles/01-settings/_settings.breadcrumb.scss +16 -9
- package/src/styles/01-settings/_settings.breakpoints.scss +0 -0
- package/src/styles/01-settings/_settings.btn-group.scss +4 -1
- package/src/styles/01-settings/_settings.button.scss +19 -21
- package/src/styles/01-settings/_settings.callout.scss +42 -24
- package/src/styles/01-settings/_settings.card.scss +13 -11
- package/src/styles/01-settings/_settings.chart.scss +199 -0
- package/src/styles/01-settings/_settings.checkbox-group.scss +5 -2
- package/src/styles/01-settings/_settings.checkbox.scss +10 -4
- package/src/styles/01-settings/_settings.color-mode.scss +0 -0
- package/src/styles/01-settings/_settings.colors.scss +20 -0
- package/src/styles/01-settings/_settings.config.scss +1 -1
- package/src/styles/01-settings/_settings.countdown.scss +6 -4
- package/src/styles/01-settings/_settings.data-table.scss +0 -0
- package/src/styles/01-settings/_settings.datepicker.scss +0 -0
- package/src/styles/01-settings/_settings.dropdown.scss +9 -7
- package/src/styles/01-settings/_settings.edge-panel.scss +3 -2
- package/src/styles/01-settings/_settings.fonts.scss +1 -1
- package/src/styles/01-settings/_settings.footer.scss +125 -0
- package/src/styles/01-settings/_settings.form-group.scss +3 -1
- package/src/styles/01-settings/_settings.form.scss +4 -2
- package/src/styles/01-settings/_settings.grid.scss +3 -3
- package/src/styles/01-settings/_settings.hero.scss +10 -8
- package/src/styles/01-settings/_settings.input.scss +9 -7
- package/src/styles/01-settings/_settings.link.scss +0 -0
- package/src/styles/01-settings/_settings.list-group.scss +4 -2
- package/src/styles/01-settings/_settings.list.scss +4 -2
- package/src/styles/01-settings/_settings.maps.scss +43 -8
- package/src/styles/01-settings/_settings.masonry-grid.scss +0 -0
- package/src/styles/01-settings/_settings.menu.scss +10 -8
- package/src/styles/01-settings/_settings.messages.scss +19 -17
- package/src/styles/01-settings/_settings.modal.scss +7 -5
- package/src/styles/01-settings/_settings.nav.scss +6 -4
- package/src/styles/01-settings/_settings.navbar.scss +8 -5
- package/src/styles/01-settings/_settings.pagination.scss +5 -3
- package/src/styles/01-settings/_settings.photoviewer.scss +89 -23
- package/src/styles/01-settings/_settings.popover.scss +6 -4
- package/src/styles/01-settings/_settings.position.scss +0 -0
- package/src/styles/01-settings/_settings.progress.scss +0 -0
- package/src/styles/01-settings/_settings.rating.scss +5 -3
- package/src/styles/01-settings/_settings.river.scss +8 -6
- package/src/styles/01-settings/_settings.sectionintro.scss +8 -6
- package/src/styles/01-settings/_settings.select.scss +7 -5
- package/src/styles/01-settings/_settings.side-menu.scss +15 -13
- package/src/styles/01-settings/_settings.skeleton.scss +0 -0
- package/src/styles/01-settings/_settings.slider.scss +59 -0
- package/src/styles/01-settings/_settings.spacing.scss +15 -3
- package/src/styles/01-settings/_settings.spinner.scss +0 -0
- package/src/styles/01-settings/_settings.steps.scss +8 -6
- package/src/styles/01-settings/_settings.tabs.scss +11 -9
- package/src/styles/01-settings/_settings.testimonials.scss +6 -4
- package/src/styles/01-settings/_settings.todo.scss +0 -0
- package/src/styles/01-settings/_settings.toggle.scss +4 -2
- package/src/styles/01-settings/_settings.tooltip.scss +5 -3
- package/src/styles/01-settings/_settings.typography.scss +2 -0
- package/src/styles/01-settings/_settings.upload.scss +22 -20
- package/src/styles/01-settings/_settings.video-player.scss +64 -0
- package/src/styles/01-settings/_settings.z-layers.scss +0 -0
- package/src/styles/02-tools/_index.scss +1 -0
- package/src/styles/02-tools/_tools.animations.scss +82 -0
- package/src/styles/02-tools/_tools.background.scss +85 -0
- package/src/styles/02-tools/_tools.border-radius.scss +0 -0
- package/src/styles/02-tools/_tools.breakpoints.scss +0 -0
- package/src/styles/02-tools/_tools.button.scss +5 -0
- package/src/styles/02-tools/_tools.clearfix.scss +0 -0
- package/src/styles/02-tools/_tools.color-functions.scss +0 -0
- package/src/styles/02-tools/_tools.color-mode.scss +1 -1
- package/src/styles/02-tools/_tools.component.scss +479 -0
- package/src/styles/02-tools/_tools.event.scss +0 -0
- package/src/styles/02-tools/_tools.grid.scss +0 -0
- package/src/styles/02-tools/_tools.hidden-visually.scss +0 -0
- package/src/styles/02-tools/_tools.hidden.scss +0 -0
- package/src/styles/02-tools/_tools.map-loop.scss +0 -0
- package/src/styles/02-tools/_tools.media-queries.scss +0 -0
- package/src/styles/02-tools/_tools.object-fit.scss +0 -0
- package/src/styles/02-tools/_tools.placeholder.scss +0 -0
- package/src/styles/02-tools/_tools.rem.scss +19 -2
- package/src/styles/02-tools/_tools.size.scss +0 -0
- package/src/styles/02-tools/_tools.spacing.scss +0 -0
- package/src/styles/02-tools/_tools.to-rgb.scss +0 -0
- package/src/styles/02-tools/_tools.transition.scss +0 -0
- package/src/styles/02-tools/_tools.utilities.scss +0 -0
- package/src/styles/02-tools/_tools.utility-api.scss +55 -28
- package/src/styles/03-generic/_generic.fonts.scss +0 -0
- package/src/styles/03-generic/_generic.reset.scss +0 -0
- package/src/styles/03-generic/_generic.root.scss +19 -3
- package/src/styles/03-generic/_generic.selection.scss +0 -0
- package/src/styles/03-generic/_index.scss +0 -0
- package/src/styles/04-elements/_elements.all.scss +0 -0
- package/src/styles/04-elements/_elements.body.scss +24 -0
- package/src/styles/04-elements/_elements.heading.scss +0 -0
- package/src/styles/04-elements/_elements.html.scss +0 -0
- package/src/styles/04-elements/_elements.links.scss +0 -0
- package/src/styles/04-elements/_index.scss +0 -0
- package/src/styles/05-objects/_index.scss +1 -0
- package/src/styles/05-objects/_objects.block.scss +122 -0
- package/src/styles/05-objects/_objects.container.scss +14 -10
- package/src/styles/05-objects/_objects.grid.scss +0 -0
- package/src/styles/05-objects/_objects.masonry-grid.scss +0 -0
- package/src/styles/06-components/_components.accordion.scss +10 -4
- package/src/styles/06-components/_components.avatar-group.scss +2 -1
- package/src/styles/06-components/_components.avatar.scss +2 -1
- package/src/styles/06-components/_components.badge.scss +11 -10
- package/src/styles/06-components/_components.breadcrumb.scss +2 -1
- package/src/styles/06-components/_components.btn-group.scss +0 -0
- package/src/styles/06-components/_components.button.scss +4 -3
- package/src/styles/06-components/_components.callout.scss +5 -3
- package/src/styles/06-components/_components.card.scss +4 -3
- package/src/styles/06-components/_components.chart.scss +2103 -0
- package/src/styles/06-components/_components.checkbox-group.scss +0 -0
- package/src/styles/06-components/_components.checkbox.scss +2 -1
- package/src/styles/06-components/_components.color-mode-toggle.scss +3 -2
- package/src/styles/06-components/_components.countdown.scss +2 -1
- package/src/styles/06-components/_components.data-table.scss +7 -6
- package/src/styles/06-components/_components.datepicker.scss +2 -1
- package/src/styles/06-components/_components.dropdown.scss +4 -3
- package/src/styles/06-components/_components.edge-panel.scss +4 -3
- package/src/styles/06-components/_components.footer.scss +825 -0
- package/src/styles/06-components/_components.form-group.scss +1 -0
- package/src/styles/06-components/_components.form.scss +0 -0
- package/src/styles/06-components/_components.hero.scss +4 -2
- package/src/styles/06-components/_components.icon.scss +2 -2
- package/src/styles/06-components/_components.image-gallery.scss +1 -0
- package/src/styles/06-components/_components.input.scss +2 -1
- package/src/styles/06-components/_components.list-group.scss +3 -2
- package/src/styles/06-components/_components.list.scss +2 -1
- package/src/styles/06-components/_components.menu.scss +5 -4
- package/src/styles/06-components/_components.messages.scss +8 -7
- package/src/styles/06-components/_components.modal.scss +6 -2
- package/src/styles/06-components/_components.nav.scss +6 -5
- package/src/styles/06-components/_components.navbar.scss +4 -3
- package/src/styles/06-components/_components.pagination.scss +2 -1
- package/src/styles/06-components/_components.photoviewer.scss +604 -545
- package/src/styles/06-components/_components.popover.scss +3 -2
- package/src/styles/06-components/_components.product-review.scss +3 -2
- package/src/styles/06-components/_components.progress.scss +3 -2
- package/src/styles/06-components/_components.rating.scss +0 -0
- package/src/styles/06-components/_components.river.scss +3 -2
- package/src/styles/06-components/_components.sectionintro.scss +2 -1
- package/src/styles/06-components/_components.select.scss +5 -4
- package/src/styles/06-components/_components.side-menu.scss +8 -7
- package/src/styles/06-components/_components.skeleton.scss +3 -2
- package/src/styles/06-components/_components.slider.scss +274 -0
- package/src/styles/06-components/_components.spinner.scss +1 -0
- package/src/styles/06-components/_components.steps.scss +4 -2
- package/src/styles/06-components/_components.tabs.scss +4 -3
- package/src/styles/06-components/_components.testimonials.scss +2 -1
- package/src/styles/06-components/_components.todo.scss +3 -2
- package/src/styles/06-components/_components.toggle.scss +5 -4
- package/src/styles/06-components/_components.tooltip.scss +7 -11
- package/src/styles/06-components/_components.upload.scss +4 -3
- package/src/styles/06-components/_components.video-player.scss +624 -0
- package/src/styles/06-components/_index.scss +4 -0
- package/src/styles/06-components/old.chart.styles.scss +2819 -0
- package/src/styles/99-utilities/_index.scss +0 -0
- package/src/styles/99-utilities/_utilities.background.scss +0 -0
- package/src/styles/99-utilities/_utilities.border.scss +0 -0
- package/src/styles/99-utilities/_utilities.clearfix.scss +0 -0
- package/src/styles/99-utilities/_utilities.display.scss +0 -0
- package/src/styles/99-utilities/_utilities.flex.scss +0 -0
- package/src/styles/99-utilities/_utilities.link.scss +0 -0
- package/src/styles/99-utilities/_utilities.object-fit.scss +0 -0
- package/src/styles/99-utilities/_utilities.opacity.scss +0 -0
- package/src/styles/99-utilities/_utilities.overflow.scss +0 -0
- package/src/styles/99-utilities/_utilities.position.scss +0 -0
- package/src/styles/99-utilities/_utilities.scss +2 -1
- package/src/styles/99-utilities/_utilities.shadow.scss +0 -0
- package/src/styles/99-utilities/_utilities.sizes.scss +0 -0
- package/src/styles/99-utilities/_utilities.spacing.scss +0 -0
- package/src/styles/99-utilities/_utilities.text.scss +5 -0
- package/src/styles/99-utilities/_utilities.visibility.scss +0 -0
- package/src/styles/99-utilities/_utilities.visually-hidden.scss +0 -0
- package/src/styles/99-utilities/_utilities.z-index.scss +0 -0
- package/src/styles/css-modules.d.ts +0 -0
- package/src/styles/index.scss +0 -0
- package/dist/index.css +0 -15
- package/dist/index.esm.css +0 -15
- package/dist/index.min.css +0 -15
|
@@ -0,0 +1,825 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { fn } from '@storybook/test';
|
|
3
|
+
import { SliderSlide } from '../../lib/types/components';
|
|
4
|
+
import { Button } from '../Button/Button';
|
|
5
|
+
import { Card } from '../Card/Card';
|
|
6
|
+
import { Slider } from './Slider';
|
|
7
|
+
|
|
8
|
+
const meta = {
|
|
9
|
+
title: 'Components/Slider',
|
|
10
|
+
component: Slider,
|
|
11
|
+
parameters: {
|
|
12
|
+
layout: 'padded',
|
|
13
|
+
},
|
|
14
|
+
argTypes: {
|
|
15
|
+
slides: { control: 'object' },
|
|
16
|
+
slidesToShow: { control: { type: 'number', min: 1, max: 5 } },
|
|
17
|
+
slidesToScroll: { control: { type: 'number', min: 1, max: 3 } },
|
|
18
|
+
spaceBetween: { control: { type: 'number', min: 0, max: 50 } },
|
|
19
|
+
centeredSlides: { control: 'boolean' },
|
|
20
|
+
loop: { control: 'boolean' },
|
|
21
|
+
initialSlide: { control: { type: 'number', min: 0 } },
|
|
22
|
+
direction: { control: { type: 'select' }, options: ['horizontal', 'vertical'] },
|
|
23
|
+
speed: { control: { type: 'number', min: 100, max: 2000 } },
|
|
24
|
+
autoplay: { control: 'boolean' },
|
|
25
|
+
navigation: { control: 'boolean' },
|
|
26
|
+
pagination: { control: 'boolean' },
|
|
27
|
+
height: { control: { type: 'number', min: 200, max: 800 } },
|
|
28
|
+
width: { control: 'text' },
|
|
29
|
+
grabCursor: { control: 'boolean' },
|
|
30
|
+
keyboard: { control: 'boolean' },
|
|
31
|
+
mousewheel: { control: 'boolean' },
|
|
32
|
+
freeMode: { control: 'boolean' },
|
|
33
|
+
},
|
|
34
|
+
} satisfies Meta<typeof Slider>;
|
|
35
|
+
|
|
36
|
+
export default meta;
|
|
37
|
+
type Story = StoryObj<typeof meta>;
|
|
38
|
+
|
|
39
|
+
// Basic slides with gradient backgrounds
|
|
40
|
+
const basicSlides: SliderSlide[] = [
|
|
41
|
+
{
|
|
42
|
+
id: '1',
|
|
43
|
+
content: (
|
|
44
|
+
<div
|
|
45
|
+
className="u-p-5 u-h-100"
|
|
46
|
+
style={{
|
|
47
|
+
background: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
|
|
48
|
+
width: '100%',
|
|
49
|
+
borderRadius: '8px',
|
|
50
|
+
display: 'flex',
|
|
51
|
+
alignItems: 'center',
|
|
52
|
+
justifyContent: 'center',
|
|
53
|
+
}}
|
|
54
|
+
>
|
|
55
|
+
<div className="u-text-center">
|
|
56
|
+
<h2 className="u-fs-3 u-c-white u-mb-3">Welcome to Atomix</h2>
|
|
57
|
+
<p className="u-fs-base u-c-white u-mb-4">
|
|
58
|
+
A modern design system for building responsive interfaces
|
|
59
|
+
</p>
|
|
60
|
+
<Button variant="primary">Get Started</Button>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
),
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: '2',
|
|
67
|
+
content: (
|
|
68
|
+
<div
|
|
69
|
+
className="u-p-5 u-h-100"
|
|
70
|
+
style={{
|
|
71
|
+
background: 'linear-gradient(135deg, #f093fb 0%, #f5576c 100%)',
|
|
72
|
+
width: '100%',
|
|
73
|
+
borderRadius: '8px',
|
|
74
|
+
display: 'flex',
|
|
75
|
+
alignItems: 'center',
|
|
76
|
+
justifyContent: 'center',
|
|
77
|
+
}}
|
|
78
|
+
>
|
|
79
|
+
<div className="u-text-center">
|
|
80
|
+
<h2 className="u-fs-3 u-c-white u-mb-3">Flexible Components</h2>
|
|
81
|
+
<p className="u-fs-base u-c-white u-mb-4">
|
|
82
|
+
Build with reusable and customizable components
|
|
83
|
+
</p>
|
|
84
|
+
<Button variant="light">Learn More</Button>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
),
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
id: '3',
|
|
91
|
+
content: (
|
|
92
|
+
<div
|
|
93
|
+
className="u-p-5 u-h-100"
|
|
94
|
+
style={{
|
|
95
|
+
background: 'linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)',
|
|
96
|
+
width: '100%',
|
|
97
|
+
borderRadius: '8px',
|
|
98
|
+
display: 'flex',
|
|
99
|
+
alignItems: 'center',
|
|
100
|
+
justifyContent: 'center',
|
|
101
|
+
}}
|
|
102
|
+
>
|
|
103
|
+
<div className="u-text-center">
|
|
104
|
+
<h2 className="u-fs-3 u-c-white u-mb-3">Easy to Use</h2>
|
|
105
|
+
<p className="u-fs-base u-c-white u-mb-4">Simple API and comprehensive documentation</p>
|
|
106
|
+
<Button variant="light">View Docs</Button>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
),
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
id: '4',
|
|
113
|
+
content: (
|
|
114
|
+
<div
|
|
115
|
+
className="u-p-5 u-h-100"
|
|
116
|
+
style={{
|
|
117
|
+
background: 'linear-gradient(135deg, #fa709a 0%, #fee140 100%)',
|
|
118
|
+
width: '100%',
|
|
119
|
+
borderRadius: '8px',
|
|
120
|
+
display: 'flex',
|
|
121
|
+
alignItems: 'center',
|
|
122
|
+
justifyContent: 'center',
|
|
123
|
+
}}
|
|
124
|
+
>
|
|
125
|
+
<div className="u-text-center">
|
|
126
|
+
<h2 className="u-fs-3 u-c-white u-mb-3">Fully Responsive</h2>
|
|
127
|
+
<p className="u-fs-base u-c-white u-mb-4">
|
|
128
|
+
Works on all device sizes from mobile to desktop
|
|
129
|
+
</p>
|
|
130
|
+
<Button variant="dark">See Demo</Button>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
),
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: '5',
|
|
137
|
+
content: (
|
|
138
|
+
<div
|
|
139
|
+
className="u-p-5 u-h-100"
|
|
140
|
+
style={{
|
|
141
|
+
background: 'linear-gradient(135deg, #a8edea 0%, #fed6e3 100%)',
|
|
142
|
+
width: '100%',
|
|
143
|
+
borderRadius: '8px',
|
|
144
|
+
display: 'flex',
|
|
145
|
+
alignItems: 'center',
|
|
146
|
+
justifyContent: 'center',
|
|
147
|
+
}}
|
|
148
|
+
>
|
|
149
|
+
<div className="u-text-center">
|
|
150
|
+
<h2 className="u-fs-3 u-c-white u-mb-3">Accessible Design</h2>
|
|
151
|
+
<p className="u-fs-base u-c-white u-mb-4">WCAG 2.1 AA compliant for all users</p>
|
|
152
|
+
<Button variant="info">Learn More</Button>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
),
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
id: '6',
|
|
159
|
+
content: (
|
|
160
|
+
<div
|
|
161
|
+
className="u-p-5 u-h-100"
|
|
162
|
+
style={{
|
|
163
|
+
background: 'linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%)',
|
|
164
|
+
width: '100%',
|
|
165
|
+
borderRadius: '8px',
|
|
166
|
+
display: 'flex',
|
|
167
|
+
alignItems: 'center',
|
|
168
|
+
justifyContent: 'center',
|
|
169
|
+
}}
|
|
170
|
+
>
|
|
171
|
+
<div className="u-text-center">
|
|
172
|
+
<h2 className="u-fs-3 u-c-white u-mb-3">Themeable</h2>
|
|
173
|
+
<p className="u-fs-base u-c-white u-mb-4">
|
|
174
|
+
Easily customize colors, spacing and typography
|
|
175
|
+
</p>
|
|
176
|
+
<Button variant="warning">View Themes</Button>
|
|
177
|
+
</div>
|
|
178
|
+
</div>
|
|
179
|
+
),
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
id: '7',
|
|
183
|
+
content: (
|
|
184
|
+
<div
|
|
185
|
+
className="u-p-5 u-h-100"
|
|
186
|
+
style={{
|
|
187
|
+
background: 'linear-gradient(135deg, #d299c2 0%, #fef9d7 100%)',
|
|
188
|
+
width: '100%',
|
|
189
|
+
borderRadius: '8px',
|
|
190
|
+
display: 'flex',
|
|
191
|
+
alignItems: 'center',
|
|
192
|
+
justifyContent: 'center',
|
|
193
|
+
}}
|
|
194
|
+
>
|
|
195
|
+
<div className="u-text-center">
|
|
196
|
+
<h2 className="u-fs-3 u-c-white u-mb-3">Performance Focused</h2>
|
|
197
|
+
<p className="u-fs-base u-c-white u-mb-4">
|
|
198
|
+
Optimized for fast loading and smooth interactions
|
|
199
|
+
</p>
|
|
200
|
+
<Button variant="success">See Benchmarks</Button>
|
|
201
|
+
</div>
|
|
202
|
+
</div>
|
|
203
|
+
),
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
id: '8',
|
|
207
|
+
content: (
|
|
208
|
+
<div
|
|
209
|
+
className="u-p-5 u-h-100"
|
|
210
|
+
style={{
|
|
211
|
+
background: 'linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%)',
|
|
212
|
+
width: '100%',
|
|
213
|
+
borderRadius: '8px',
|
|
214
|
+
display: 'flex',
|
|
215
|
+
alignItems: 'center',
|
|
216
|
+
justifyContent: 'center',
|
|
217
|
+
}}
|
|
218
|
+
>
|
|
219
|
+
<div className="u-text-center">
|
|
220
|
+
<h2 className="u-fs-3 u-c-white u-mb-3">Developer Friendly</h2>
|
|
221
|
+
<p className="u-fs-base u-c-white u-mb-4">Well documented with clear APIs and examples</p>
|
|
222
|
+
<Button variant="primary">View Docs</Button>
|
|
223
|
+
</div>
|
|
224
|
+
</div>
|
|
225
|
+
),
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
id: '9',
|
|
229
|
+
content: (
|
|
230
|
+
<div
|
|
231
|
+
className="u-p-5 u-h-100"
|
|
232
|
+
style={{
|
|
233
|
+
background: 'linear-gradient(135deg, #fdbb2d 0%, #22c1c3 100%)',
|
|
234
|
+
width: '100%',
|
|
235
|
+
borderRadius: '8px',
|
|
236
|
+
display: 'flex',
|
|
237
|
+
alignItems: 'center',
|
|
238
|
+
justifyContent: 'center',
|
|
239
|
+
}}
|
|
240
|
+
>
|
|
241
|
+
<div className="u-text-center">
|
|
242
|
+
<h2 className="u-fs-3 u-c-white u-mb-3">Modular Components</h2>
|
|
243
|
+
<p className="u-fs-base u-c-white u-mb-4">
|
|
244
|
+
Import only what you need to reduce bundle size
|
|
245
|
+
</p>
|
|
246
|
+
<Button variant="dark">See Components</Button>
|
|
247
|
+
</div>
|
|
248
|
+
</div>
|
|
249
|
+
),
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
id: '10',
|
|
253
|
+
content: (
|
|
254
|
+
<div
|
|
255
|
+
className="u-p-5 u-h-100"
|
|
256
|
+
style={{
|
|
257
|
+
background: 'linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%)',
|
|
258
|
+
width: '100%',
|
|
259
|
+
borderRadius: '8px',
|
|
260
|
+
display: 'flex',
|
|
261
|
+
alignItems: 'center',
|
|
262
|
+
justifyContent: 'center',
|
|
263
|
+
}}
|
|
264
|
+
>
|
|
265
|
+
<div className="u-text-center">
|
|
266
|
+
<h2 className="u-fs-3 u-c-white u-mb-3">Cross Browser</h2>
|
|
267
|
+
<p className="u-fs-base u-c-white u-mb-4">
|
|
268
|
+
Consistent experience across all modern browsers
|
|
269
|
+
</p>
|
|
270
|
+
<Button variant="secondary">View Support</Button>
|
|
271
|
+
</div>
|
|
272
|
+
</div>
|
|
273
|
+
),
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
id: '11',
|
|
277
|
+
content: (
|
|
278
|
+
<div
|
|
279
|
+
className="u-p-5 u-h-100"
|
|
280
|
+
style={{
|
|
281
|
+
background: 'linear-gradient(135deg, #f6d365 0%, #fda085 100%)',
|
|
282
|
+
width: '100%',
|
|
283
|
+
borderRadius: '8px',
|
|
284
|
+
display: 'flex',
|
|
285
|
+
alignItems: 'center',
|
|
286
|
+
justifyContent: 'center',
|
|
287
|
+
}}
|
|
288
|
+
>
|
|
289
|
+
<div className="u-text-center">
|
|
290
|
+
<h2 className="u-fs-3 u-c-white u-mb-3">RTL Support</h2>
|
|
291
|
+
<p className="u-fs-base u-c-white u-mb-4">Full right-to-left language support built-in</p>
|
|
292
|
+
<Button variant="info">Learn More</Button>
|
|
293
|
+
</div>
|
|
294
|
+
</div>
|
|
295
|
+
),
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
id: '12',
|
|
299
|
+
content: (
|
|
300
|
+
<div
|
|
301
|
+
className="u-p-5 u-h-100"
|
|
302
|
+
style={{
|
|
303
|
+
background: 'linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%)',
|
|
304
|
+
width: '100%',
|
|
305
|
+
borderRadius: '8px',
|
|
306
|
+
display: 'flex',
|
|
307
|
+
alignItems: 'center',
|
|
308
|
+
justifyContent: 'center',
|
|
309
|
+
}}
|
|
310
|
+
>
|
|
311
|
+
<div className="u-text-center">
|
|
312
|
+
<h2 className="u-fs-3 u-c-white u-mb-3">Open Source</h2>
|
|
313
|
+
<p className="u-fs-base u-c-white u-mb-4">Free to use and contribute to the community</p>
|
|
314
|
+
<Button variant="success">View on GitHub</Button>
|
|
315
|
+
</div>
|
|
316
|
+
</div>
|
|
317
|
+
),
|
|
318
|
+
},
|
|
319
|
+
];
|
|
320
|
+
|
|
321
|
+
// Product showcase slides using cards
|
|
322
|
+
const productSlides: SliderSlide[] = [
|
|
323
|
+
{
|
|
324
|
+
id: '1',
|
|
325
|
+
content: (
|
|
326
|
+
<Card className="u-h-100">
|
|
327
|
+
<div className="u-text-center u-p-4">
|
|
328
|
+
<div
|
|
329
|
+
className="u-mb-4"
|
|
330
|
+
style={{
|
|
331
|
+
width: '100%',
|
|
332
|
+
height: '150px',
|
|
333
|
+
background: 'linear-gradient(45deg, #ff9a9e 0%, #fecfef 100%)',
|
|
334
|
+
borderRadius: '4px',
|
|
335
|
+
}}
|
|
336
|
+
/>
|
|
337
|
+
<h3 className="u-fs-4 u-fw-bold u-mb-2">Premium Plan</h3>
|
|
338
|
+
<p className="u-fs-sm u-c-muted u-mb-3">Perfect for small teams and growing businesses</p>
|
|
339
|
+
<div className="u-mb-4">
|
|
340
|
+
<span className="u-fs-1 u-fw-bold">$29</span>
|
|
341
|
+
<span className="u-fs-sm u-c-muted">/month</span>
|
|
342
|
+
</div>
|
|
343
|
+
<Button variant="primary" className="u-w-100">
|
|
344
|
+
Get Started
|
|
345
|
+
</Button>
|
|
346
|
+
</div>
|
|
347
|
+
</Card>
|
|
348
|
+
),
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
id: '2',
|
|
352
|
+
content: (
|
|
353
|
+
<Card className="u-h-100">
|
|
354
|
+
<div className="u-text-center u-p-4">
|
|
355
|
+
<div
|
|
356
|
+
className="u-mb-4"
|
|
357
|
+
style={{
|
|
358
|
+
width: '100%',
|
|
359
|
+
height: '150px',
|
|
360
|
+
background: 'linear-gradient(45deg, #a8edea 0%, #fed6e3 100%)',
|
|
361
|
+
borderRadius: '4px',
|
|
362
|
+
}}
|
|
363
|
+
/>
|
|
364
|
+
<h3 className="u-fs-4 u-fw-bold u-mb-2">Business Plan</h3>
|
|
365
|
+
<p className="u-fs-sm u-c-muted u-mb-3">For established teams with advanced needs</p>
|
|
366
|
+
<div className="u-mb-4">
|
|
367
|
+
<span className="u-fs-1 u-fw-bold">$79</span>
|
|
368
|
+
<span className="u-fs-sm u-c-muted">/month</span>
|
|
369
|
+
</div>
|
|
370
|
+
<Button variant="secondary" className="u-w-100">
|
|
371
|
+
Get Started
|
|
372
|
+
</Button>
|
|
373
|
+
</div>
|
|
374
|
+
</Card>
|
|
375
|
+
),
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
id: '3',
|
|
379
|
+
content: (
|
|
380
|
+
<Card className="u-h-100">
|
|
381
|
+
<div className="u-text-center u-p-4">
|
|
382
|
+
<div
|
|
383
|
+
className="u-mb-4"
|
|
384
|
+
style={{
|
|
385
|
+
width: '100%',
|
|
386
|
+
height: '150px',
|
|
387
|
+
background: 'linear-gradient(45deg, #ffecd2 0%, #fcb69f 100%)',
|
|
388
|
+
borderRadius: '4px',
|
|
389
|
+
}}
|
|
390
|
+
/>
|
|
391
|
+
<h3 className="u-fs-4 u-fw-bold u-mb-2">Enterprise Plan</h3>
|
|
392
|
+
<p className="u-fs-sm u-c-muted u-mb-3">Custom solutions for large organizations</p>
|
|
393
|
+
<div className="u-mb-4">
|
|
394
|
+
<span className="u-fs-1 u-fw-bold">Custom</span>
|
|
395
|
+
</div>
|
|
396
|
+
<Button variant="dark" className="u-w-100">
|
|
397
|
+
Contact Sales
|
|
398
|
+
</Button>
|
|
399
|
+
</div>
|
|
400
|
+
</Card>
|
|
401
|
+
),
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
id: '4',
|
|
405
|
+
content: (
|
|
406
|
+
<Card className="u-h-100">
|
|
407
|
+
<div className="u-text-center u-p-4">
|
|
408
|
+
<div
|
|
409
|
+
className="u-mb-4"
|
|
410
|
+
style={{
|
|
411
|
+
width: '100%',
|
|
412
|
+
height: '150px',
|
|
413
|
+
background: 'linear-gradient(45deg, #a8c8ec 0%, #72a2e0 100%)',
|
|
414
|
+
borderRadius: '4px',
|
|
415
|
+
}}
|
|
416
|
+
/>
|
|
417
|
+
<h3 className="u-fs-4 u-fw-bold u-mb-2">Developer Plan</h3>
|
|
418
|
+
<p className="u-fs-sm u-c-muted u-mb-3">For developers and technical teams</p>
|
|
419
|
+
<div className="u-mb-4">
|
|
420
|
+
<span className="u-fs-1 u-fw-bold">$49</span>
|
|
421
|
+
<span className="u-fs-sm u-c-muted">/month</span>
|
|
422
|
+
</div>
|
|
423
|
+
<Button variant="info" className="u-w-100">
|
|
424
|
+
Get Started
|
|
425
|
+
</Button>
|
|
426
|
+
</div>
|
|
427
|
+
</Card>
|
|
428
|
+
),
|
|
429
|
+
},
|
|
430
|
+
];
|
|
431
|
+
|
|
432
|
+
// Testimonial slides
|
|
433
|
+
const testimonialSlides: SliderSlide[] = [
|
|
434
|
+
{
|
|
435
|
+
id: '1',
|
|
436
|
+
content: (
|
|
437
|
+
<Card className="u-h-100">
|
|
438
|
+
<div className="u-p-5 u-text-center">
|
|
439
|
+
<div className="u-mb-4 u-d-flex u-justify-content-center">
|
|
440
|
+
<div
|
|
441
|
+
style={{
|
|
442
|
+
width: '60px',
|
|
443
|
+
height: '60px',
|
|
444
|
+
borderRadius: '50%',
|
|
445
|
+
background: 'linear-gradient(45deg, #667eea 0%, #764ba2 100%)',
|
|
446
|
+
}}
|
|
447
|
+
/>
|
|
448
|
+
</div>
|
|
449
|
+
<p className="u-fs-base u-fst-italic u-mb-4">
|
|
450
|
+
"Atomix has completely transformed how we build our user interfaces. The components are
|
|
451
|
+
intuitive and the design system is consistent across all our products."
|
|
452
|
+
</p>
|
|
453
|
+
<h4 className="u-fs-4 u-fw-bold">Jane Cooper</h4>
|
|
454
|
+
<p className="u-fs-sm u-c-muted">Product Designer, TechCorp</p>
|
|
455
|
+
</div>
|
|
456
|
+
</Card>
|
|
457
|
+
),
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
id: '2',
|
|
461
|
+
content: (
|
|
462
|
+
<Card className="u-h-100">
|
|
463
|
+
<div className="u-p-5 u-text-center">
|
|
464
|
+
<div className="u-mb-4 u-d-flex u-justify-content-center">
|
|
465
|
+
<div
|
|
466
|
+
style={{
|
|
467
|
+
width: '60px',
|
|
468
|
+
height: '60px',
|
|
469
|
+
borderRadius: '50%',
|
|
470
|
+
background: 'linear-gradient(45deg, #f093fb 0%, #f5576c 100%)',
|
|
471
|
+
}}
|
|
472
|
+
/>
|
|
473
|
+
</div>
|
|
474
|
+
<p className="u-fs-base u-fst-italic u-mb-4">
|
|
475
|
+
"Implementing Atomix reduced our development time by 40%. The documentation is excellent
|
|
476
|
+
and the components are highly customizable."
|
|
477
|
+
</p>
|
|
478
|
+
<h4 className="u-fs-4 u-fw-bold">John Doe</h4>
|
|
479
|
+
<p className="u-fs-sm u-c-muted">Frontend Developer, StartupX</p>
|
|
480
|
+
</div>
|
|
481
|
+
</Card>
|
|
482
|
+
),
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
id: '3',
|
|
486
|
+
content: (
|
|
487
|
+
<Card className="u-h-100">
|
|
488
|
+
<div className="u-p-5 u-text-center">
|
|
489
|
+
<div className="u-mb-4 u-d-flex u-justify-content-center">
|
|
490
|
+
<div
|
|
491
|
+
style={{
|
|
492
|
+
width: '60px',
|
|
493
|
+
height: '60px',
|
|
494
|
+
borderRadius: '50%',
|
|
495
|
+
background: 'linear-gradient(45deg, #4facfe 0%, #00f2fe 100%)',
|
|
496
|
+
}}
|
|
497
|
+
/>
|
|
498
|
+
</div>
|
|
499
|
+
<p className="u-fs-base u-fst-italic u-mb-4">
|
|
500
|
+
"The accessibility features in Atomix are impressive. Our products now meet WCAG 2.1 AA
|
|
501
|
+
standards with minimal effort."
|
|
502
|
+
</p>
|
|
503
|
+
<h4 className="u-fs-4 u-fw-bold">Sarah Johnson</h4>
|
|
504
|
+
<p className="u-fs-sm u-c-muted">Accessibility Lead, InclusiveTech</p>
|
|
505
|
+
</div>
|
|
506
|
+
</Card>
|
|
507
|
+
),
|
|
508
|
+
},
|
|
509
|
+
];
|
|
510
|
+
|
|
511
|
+
// Feature showcase slides
|
|
512
|
+
const featureSlides: SliderSlide[] = [
|
|
513
|
+
{
|
|
514
|
+
id: '1',
|
|
515
|
+
content: (
|
|
516
|
+
<div className="u-h-100" style={{ display: 'flex', alignItems: 'center' }}>
|
|
517
|
+
<div className="o-grid u-w-100">
|
|
518
|
+
<div className="o-grid__col u-col-12 u-col-md-6 u-d-flex u-flex-column u-justify-content-center u-p-5">
|
|
519
|
+
<h2 className="u-fs-3 u-fw-bold u-mb-3">Responsive Design</h2>
|
|
520
|
+
<p className="u-fs-base u-c-muted u-mb-4">
|
|
521
|
+
All components are built with mobile-first responsive design principles, ensuring your
|
|
522
|
+
interfaces look great on any device.
|
|
523
|
+
</p>
|
|
524
|
+
<div>
|
|
525
|
+
<Button variant="primary">Learn More</Button>
|
|
526
|
+
</div>
|
|
527
|
+
</div>
|
|
528
|
+
<div className="o-grid__col u-col-12 u-col-md-6 u-d-flex u-align-items-center u-justify-content-center u-p-5">
|
|
529
|
+
<div
|
|
530
|
+
className="u-w-100 u-h-100"
|
|
531
|
+
style={{
|
|
532
|
+
background: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
|
|
533
|
+
borderRadius: '8px',
|
|
534
|
+
display: 'flex',
|
|
535
|
+
alignItems: 'center',
|
|
536
|
+
justifyContent: 'center',
|
|
537
|
+
color: 'white',
|
|
538
|
+
fontSize: '18px',
|
|
539
|
+
fontWeight: 'bold',
|
|
540
|
+
}}
|
|
541
|
+
>
|
|
542
|
+
Mobile First
|
|
543
|
+
</div>
|
|
544
|
+
</div>
|
|
545
|
+
</div>
|
|
546
|
+
</div>
|
|
547
|
+
),
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
id: '2',
|
|
551
|
+
content: (
|
|
552
|
+
<div className="u-h-100" style={{ display: 'flex', alignItems: 'center' }}>
|
|
553
|
+
<div className="o-grid u-w-100">
|
|
554
|
+
<div className="o-grid__col u-col-12 u-col-md-6 u-d-flex u-flex-column u-justify-content-center u-p-5">
|
|
555
|
+
<h2 className="u-fs-3 u-fw-bold u-mb-3">Accessibility</h2>
|
|
556
|
+
<p className="u-fs-base u-c-muted u-mb-4">
|
|
557
|
+
Built with WCAG 2.1 AA compliance in mind, ensuring your applications are usable by
|
|
558
|
+
everyone, including people with disabilities.
|
|
559
|
+
</p>
|
|
560
|
+
<div>
|
|
561
|
+
<Button variant="secondary">Accessibility Guide</Button>
|
|
562
|
+
</div>
|
|
563
|
+
</div>
|
|
564
|
+
<div className="o-grid__col u-col-12 u-col-md-6 u-d-flex u-align-items-center u-justify-content-center u-p-5">
|
|
565
|
+
<div
|
|
566
|
+
className="u-w-100 u-h-100"
|
|
567
|
+
style={{
|
|
568
|
+
background: 'linear-gradient(135deg, #f093fb 0%, #f5576c 100%)',
|
|
569
|
+
borderRadius: '8px',
|
|
570
|
+
display: 'flex',
|
|
571
|
+
alignItems: 'center',
|
|
572
|
+
justifyContent: 'center',
|
|
573
|
+
color: 'white',
|
|
574
|
+
fontSize: '18px',
|
|
575
|
+
fontWeight: 'bold',
|
|
576
|
+
}}
|
|
577
|
+
>
|
|
578
|
+
WCAG 2.1 AA
|
|
579
|
+
</div>
|
|
580
|
+
</div>
|
|
581
|
+
</div>
|
|
582
|
+
</div>
|
|
583
|
+
),
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
id: '3',
|
|
587
|
+
content: (
|
|
588
|
+
<div className="u-h-100" style={{ display: 'flex', alignItems: 'center' }}>
|
|
589
|
+
<div className="o-grid u-w-100">
|
|
590
|
+
<div className="o-grid__col u-col-12 u-col-md-6 u-d-flex u-flex-column u-justify-content-center u-p-5">
|
|
591
|
+
<h2 className="u-fs-3 u-fw-bold u-mb-3">Customizable</h2>
|
|
592
|
+
<p className="u-fs-base u-c-muted u-mb-4">
|
|
593
|
+
Easily customize colors, spacing, typography and more through CSS variables or SCSS
|
|
594
|
+
mixins to match your brand identity.
|
|
595
|
+
</p>
|
|
596
|
+
<div>
|
|
597
|
+
<Button variant="success">Customization Guide</Button>
|
|
598
|
+
</div>
|
|
599
|
+
</div>
|
|
600
|
+
<div className="o-grid__col u-col-12 u-col-md-6 u-d-flex u-align-items-center u-justify-content-center u-p-5">
|
|
601
|
+
<div
|
|
602
|
+
className="u-w-100 u-h-100"
|
|
603
|
+
style={{
|
|
604
|
+
background: 'linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)',
|
|
605
|
+
borderRadius: '8px',
|
|
606
|
+
display: 'flex',
|
|
607
|
+
alignItems: 'center',
|
|
608
|
+
justifyContent: 'center',
|
|
609
|
+
color: 'white',
|
|
610
|
+
fontSize: '18px',
|
|
611
|
+
fontWeight: 'bold',
|
|
612
|
+
}}
|
|
613
|
+
>
|
|
614
|
+
Theme Variables
|
|
615
|
+
</div>
|
|
616
|
+
</div>
|
|
617
|
+
</div>
|
|
618
|
+
</div>
|
|
619
|
+
),
|
|
620
|
+
},
|
|
621
|
+
];
|
|
622
|
+
|
|
623
|
+
export const Basic: Story = {
|
|
624
|
+
args: {
|
|
625
|
+
slides: basicSlides,
|
|
626
|
+
height: 300,
|
|
627
|
+
onInit: fn(),
|
|
628
|
+
slidesToShow: 1,
|
|
629
|
+
loop: true,
|
|
630
|
+
},
|
|
631
|
+
parameters: {
|
|
632
|
+
docs: {
|
|
633
|
+
description: {
|
|
634
|
+
story: 'A basic slider with gradient slides and loop enabled.',
|
|
635
|
+
},
|
|
636
|
+
},
|
|
637
|
+
},
|
|
638
|
+
};
|
|
639
|
+
|
|
640
|
+
export const WithNavigation: Story = {
|
|
641
|
+
args: {
|
|
642
|
+
slides: basicSlides,
|
|
643
|
+
height: 300,
|
|
644
|
+
width: '100%',
|
|
645
|
+
navigation: true,
|
|
646
|
+
onInit: fn(),
|
|
647
|
+
},
|
|
648
|
+
parameters: {
|
|
649
|
+
docs: {
|
|
650
|
+
description: {
|
|
651
|
+
story: 'Slider with navigation buttons to move between slides.',
|
|
652
|
+
},
|
|
653
|
+
},
|
|
654
|
+
},
|
|
655
|
+
};
|
|
656
|
+
|
|
657
|
+
export const WithPagination: Story = {
|
|
658
|
+
args: {
|
|
659
|
+
slides: basicSlides,
|
|
660
|
+
height: 300,
|
|
661
|
+
width: '100%',
|
|
662
|
+
pagination: true,
|
|
663
|
+
onInit: fn(),
|
|
664
|
+
},
|
|
665
|
+
parameters: {
|
|
666
|
+
docs: {
|
|
667
|
+
description: {
|
|
668
|
+
story:
|
|
669
|
+
'Slider with pagination bullets to indicate current slide and allow direct navigation.',
|
|
670
|
+
},
|
|
671
|
+
},
|
|
672
|
+
},
|
|
673
|
+
};
|
|
674
|
+
|
|
675
|
+
export const WithNavigationAndPagination: Story = {
|
|
676
|
+
args: {
|
|
677
|
+
slides: basicSlides,
|
|
678
|
+
height: 300,
|
|
679
|
+
width: '100%',
|
|
680
|
+
navigation: true,
|
|
681
|
+
pagination: true,
|
|
682
|
+
onInit: fn(),
|
|
683
|
+
},
|
|
684
|
+
parameters: {
|
|
685
|
+
docs: {
|
|
686
|
+
description: {
|
|
687
|
+
story: 'Slider with both navigation buttons and pagination bullets for complete control.',
|
|
688
|
+
},
|
|
689
|
+
},
|
|
690
|
+
},
|
|
691
|
+
};
|
|
692
|
+
|
|
693
|
+
export const ProductShowcase: Story = {
|
|
694
|
+
args: {
|
|
695
|
+
slides: productSlides,
|
|
696
|
+
height: 350,
|
|
697
|
+
width: '100%',
|
|
698
|
+
spaceBetween: 20,
|
|
699
|
+
navigation: true,
|
|
700
|
+
pagination: true,
|
|
701
|
+
onInit: fn(),
|
|
702
|
+
},
|
|
703
|
+
parameters: {
|
|
704
|
+
docs: {
|
|
705
|
+
description: {
|
|
706
|
+
story: 'Product showcase slider with card-based slides.',
|
|
707
|
+
},
|
|
708
|
+
},
|
|
709
|
+
},
|
|
710
|
+
};
|
|
711
|
+
|
|
712
|
+
export const Testimonials: Story = {
|
|
713
|
+
args: {
|
|
714
|
+
slides: testimonialSlides,
|
|
715
|
+
height: 300,
|
|
716
|
+
width: '100%',
|
|
717
|
+
navigation: true,
|
|
718
|
+
pagination: true,
|
|
719
|
+
onInit: fn(),
|
|
720
|
+
},
|
|
721
|
+
parameters: {
|
|
722
|
+
docs: {
|
|
723
|
+
description: {
|
|
724
|
+
story: 'Testimonial slider with customer feedback cards.',
|
|
725
|
+
},
|
|
726
|
+
},
|
|
727
|
+
},
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
export const Features: Story = {
|
|
731
|
+
args: {
|
|
732
|
+
slides: featureSlides,
|
|
733
|
+
height: 300,
|
|
734
|
+
width: '100%',
|
|
735
|
+
navigation: true,
|
|
736
|
+
pagination: true,
|
|
737
|
+
onInit: fn(),
|
|
738
|
+
},
|
|
739
|
+
parameters: {
|
|
740
|
+
docs: {
|
|
741
|
+
description: {
|
|
742
|
+
story: 'Feature showcase slider with split layout content.',
|
|
743
|
+
},
|
|
744
|
+
},
|
|
745
|
+
},
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
export const MultipleSlides: Story = {
|
|
749
|
+
args: {
|
|
750
|
+
slides: basicSlides,
|
|
751
|
+
height: 250,
|
|
752
|
+
width: '100%',
|
|
753
|
+
slidesToShow: 3,
|
|
754
|
+
spaceBetween: 20,
|
|
755
|
+
navigation: true,
|
|
756
|
+
onInit: fn(),
|
|
757
|
+
},
|
|
758
|
+
parameters: {
|
|
759
|
+
docs: {
|
|
760
|
+
description: {
|
|
761
|
+
story: 'Slider showing multiple slides at once with spacing between them.',
|
|
762
|
+
},
|
|
763
|
+
},
|
|
764
|
+
},
|
|
765
|
+
};
|
|
766
|
+
|
|
767
|
+
export const CenteredSlides: Story = {
|
|
768
|
+
args: {
|
|
769
|
+
slides: basicSlides,
|
|
770
|
+
height: 250,
|
|
771
|
+
width: '100%',
|
|
772
|
+
slidesToShow: 2.5,
|
|
773
|
+
spaceBetween: 15,
|
|
774
|
+
centeredSlides: true,
|
|
775
|
+
navigation: true,
|
|
776
|
+
pagination: true,
|
|
777
|
+
onInit: fn(),
|
|
778
|
+
},
|
|
779
|
+
parameters: {
|
|
780
|
+
docs: {
|
|
781
|
+
description: {
|
|
782
|
+
story: 'Slider with centered slides and partial visibility of adjacent slides.',
|
|
783
|
+
},
|
|
784
|
+
},
|
|
785
|
+
},
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
export const Autoplay: Story = {
|
|
789
|
+
args: {
|
|
790
|
+
slides: basicSlides,
|
|
791
|
+
height: 300,
|
|
792
|
+
width: '100%',
|
|
793
|
+
autoplay: true,
|
|
794
|
+
loop: true,
|
|
795
|
+
navigation: true,
|
|
796
|
+
pagination: true,
|
|
797
|
+
onInit: fn(),
|
|
798
|
+
},
|
|
799
|
+
parameters: {
|
|
800
|
+
docs: {
|
|
801
|
+
description: {
|
|
802
|
+
story: 'Slider with automatic playback that cycles through slides every 3 seconds.'
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
export const Vertical: Story = {
|
|
809
|
+
args: {
|
|
810
|
+
slides: basicSlides.slice(0, 3),
|
|
811
|
+
height: 400,
|
|
812
|
+
width: '100%',
|
|
813
|
+
direction: 'vertical',
|
|
814
|
+
navigation: true,
|
|
815
|
+
pagination: true,
|
|
816
|
+
onInit: fn(),
|
|
817
|
+
},
|
|
818
|
+
parameters: {
|
|
819
|
+
docs: {
|
|
820
|
+
description: {
|
|
821
|
+
story: 'Vertical slider that moves through slides in a vertical direction.',
|
|
822
|
+
},
|
|
823
|
+
},
|
|
824
|
+
},
|
|
825
|
+
};
|