@shohojdhara/atomix 0.1.17 → 0.1.18
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/CONTRIBUTING.md +151 -0
- package/NEXTJS_INTEGRATION.md +358 -0
- package/README.md +168 -119
- package/babel.config.js +58 -0
- package/css.d.ts +10 -0
- package/dist/css/atomix.css +1 -1
- package/dist/js/244.js +1 -0
- package/dist/js/atomix.react.cjs.js +1 -0
- package/dist/js/atomix.react.esm.js +1 -1
- package/dist/js/atomix.react.umd.js +1 -1
- package/dist/js/chunks/cjs/202.9d3b1ef1eaa0d5c8a309.js +1 -0
- package/dist/js/chunks/cjs/308.6ea9685ea38ead4120d0.js +1 -0
- package/dist/js/chunks/cjs/54.73db6922594e421ba6b1.js +1 -0
- package/dist/js/chunks/cjs/619.51feecaadcab819780d4.js +1 -0
- package/dist/js/chunks/cjs/690.90f6d11164081cbcbc4d.js +1 -0
- package/dist/js/chunks/cjs/894.24877561df336a8dfd14.js +1 -0
- package/dist/js/chunks/cjs/897.6c2a71fae95338890de7.js +1 -0
- package/dist/types/components/{Navbar → Navigation/Menu}/MegaMenu.d.ts +1 -1
- package/dist/types/components/{Navbar → Navigation/Menu}/Menu.d.ts +1 -1
- package/dist/types/components/Navigation/Nav/Nav.d.ts +20 -0
- package/dist/types/components/{Navbar → Navigation/Nav}/NavDropdown.d.ts +1 -1
- package/dist/types/components/Navigation/Nav/NavItem.d.ts +33 -0
- package/dist/types/components/Navigation/Navbar/Navbar.d.ts +19 -0
- package/dist/types/components/Navigation/SideMenu/SideMenu.d.ts +20 -0
- package/dist/types/components/Navigation/SideMenu/SideMenuItem.d.ts +30 -0
- package/dist/types/components/Navigation/SideMenu/SideMenuList.d.ts +17 -0
- package/dist/types/components/Navigation/index.d.ts +10 -0
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/lib/composables/index.d.ts +1 -0
- package/dist/types/lib/composables/useSideMenu.d.ts +28 -0
- package/dist/types/lib/constants/components.d.ts +72 -0
- package/dist/types/lib/types/components.d.ts +103 -0
- package/examples/nextjs-example.tsx +271 -0
- package/implementation-guide.md +505 -0
- package/next.config.js +69 -0
- package/package.json +26 -5
- package/postcss.config.js +28 -0
- package/src/Introduction.mdx +44 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Alternatives.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Alternatives.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Alternatives.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Alternatives.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Expert.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Expert.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Expert.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-Expert.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-ItalicSwash.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-ItalicSwash.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-ItalicSwash.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-ItalicSwash.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-SmallCaps.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-SmallCaps.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-SmallCaps.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslon-SmallCaps.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Black.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Black.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Black.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Black.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BlackItalic.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BlackItalic.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BlackItalic.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BlackItalic.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Bold.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Bold.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Bold.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Bold.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BoldItalic.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BoldItalic.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BoldItalic.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-BoldItalic.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Italic.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Italic.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Italic.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Italic.woff2 +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Regular.eot +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Regular.ttf +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Regular.woff +0 -0
- package/src/assets/fonts/BigCaslon/BigCaslonFB-Regular.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Black.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Black.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Black.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Black.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BlackItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BlackItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BlackItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BlackItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Bold.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Bold.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Bold.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Bold.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BoldItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BoldItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BoldItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BoldItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Book.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Book.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Book.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Book.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BookItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BookItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BookItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-BookItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Heavy.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Heavy.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Heavy.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Heavy.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-HeavyItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-HeavyItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-HeavyItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-HeavyItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Light.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Light.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Light.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Light.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-LightItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-LightItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-LightItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-LightItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Medium.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Medium.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Medium.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Medium.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-MediumItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-MediumItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-MediumItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-MediumItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Regular.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Regular.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Regular.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Regular.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-RegularItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-RegularItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-RegularItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-RegularItalic.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Thin.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Thin.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Thin.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-Thin.woff2 +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-ThinItalic.eot +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-ThinItalic.ttf +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-ThinItalic.woff +0 -0
- package/src/assets/fonts/FilsonPro/FilsonPro-ThinItalic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Bold.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Bold.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Bold.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Bold.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-BoldItalic.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-BoldItalic.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-BoldItalic.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-BoldItalic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBlack.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBlack.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBlack.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBlack.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBold.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBold.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBold.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-CondensedBold.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Italic.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Italic.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Italic.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Italic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Light.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Light.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Light.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Light.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-LightItalic.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-LightItalic.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-LightItalic.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-LightItalic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Medium.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Medium.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Medium.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Medium.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-MediumItalic.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-MediumItalic.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-MediumItalic.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-MediumItalic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Thin.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Thin.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Thin.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-Thin.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-ThinItalic.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-ThinItalic.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-ThinItalic.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-ThinItalic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLight.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLight.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLight.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLight.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLightItalic.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLightItalic.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLightItalic.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue-UltraLightItalic.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue.eot +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue.ttf +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue.woff +0 -0
- package/src/assets/fonts/HelveticaNeue/HelveticaNeue.woff2 +0 -0
- package/src/assets/fonts/HelveticaNeue/demo.html +569 -0
- package/src/assets/fonts/HelveticaNeue/stylesheet.css +181 -0
- package/src/assets/fonts/Lato/Lato-Black.eot +0 -0
- package/src/assets/fonts/Lato/Lato-Black.ttf +0 -0
- package/src/assets/fonts/Lato/Lato-Black.woff +0 -0
- package/src/assets/fonts/Lato/Lato-Black.woff2 +0 -0
- package/src/assets/fonts/Lato/Lato-Bold.eot +0 -0
- package/src/assets/fonts/Lato/Lato-Bold.ttf +0 -0
- package/src/assets/fonts/Lato/Lato-Bold.woff +0 -0
- package/src/assets/fonts/Lato/Lato-Bold.woff2 +0 -0
- package/src/assets/fonts/Lato/Lato-Light.eot +0 -0
- package/src/assets/fonts/Lato/Lato-Light.ttf +0 -0
- package/src/assets/fonts/Lato/Lato-Light.woff +0 -0
- package/src/assets/fonts/Lato/Lato-Light.woff2 +0 -0
- package/src/assets/fonts/Lato/Lato-Regular.eot +0 -0
- package/src/assets/fonts/Lato/Lato-Regular.ttf +0 -0
- package/src/assets/fonts/Lato/Lato-Regular.woff +0 -0
- package/src/assets/fonts/Lato/Lato-Regular.woff2 +0 -0
- package/src/assets/fonts/Lux-Icons.woff2 +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.eot +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.ttf +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.woff +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.woff2 +0 -0
- package/src/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/src/assets/fonts/Roboto-Regular.ttf +0 -0
- package/src/assets/images/logo-transparent.png +0 -0
- package/src/assets/svgs/atomix-logo.svg +9 -0
- 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/Accordion/scripts/accordionInteractions.ts +70 -0
- package/src/components/Accordion/scripts/bundle.ts +24 -0
- package/src/components/Accordion/scripts/constants.ts +11 -0
- package/src/components/Accordion/scripts/index.ts +212 -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 +263 -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/Avatar/scripts/index.ts +497 -0
- package/src/components/Badge/Badge.stories.tsx +374 -0
- package/src/components/Badge/Badge.tsx +39 -0
- package/src/components/Badge/index.ts +3 -0
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +108 -0
- package/src/components/Breadcrumb/Breadcrumb.tsx +98 -0
- package/src/components/Breadcrumb/index.ts +3 -0
- package/src/components/Breadcrumb/scripts/breadcrumb.ts +208 -0
- package/src/components/Breadcrumb/scripts/demo.html +246 -0
- package/src/components/Breadcrumb/scripts/index.ts +5 -0
- package/src/components/Breadcrumb/scripts/types.ts +69 -0
- package/src/components/Button/Button.stories.tsx +313 -0
- package/src/components/Button/Button.tsx +70 -0
- package/src/components/Button/index.ts +3 -0
- package/src/components/Button/scripts/buttonInteractions.ts +73 -0
- package/src/components/Button/scripts/index.ts +1 -0
- package/src/components/Callout/Callout.stories.tsx +595 -0
- package/src/components/Callout/Callout.tsx +78 -0
- package/src/components/Callout/index.ts +1 -0
- package/src/components/Callout/scripts/CalloutInteractions.ts +350 -0
- package/src/components/Callout/scripts/bundle.ts +18 -0
- package/src/components/Callout/scripts/index.ts +130 -0
- package/src/components/Card/Card.stories.tsx +107 -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/Card/scripts/bundle.ts +30 -0
- package/src/components/Card/scripts/cardInteractions.ts +171 -0
- package/src/components/Card/scripts/demo.html +322 -0
- package/src/components/Card/scripts/index.ts +318 -0
- package/src/components/ColorModeToggle/ColorModeToggle.stories.tsx +46 -0
- package/src/components/ColorModeToggle/ColorModeToggle.tsx +85 -0
- package/src/components/ColorModeToggle/index.ts +2 -0
- package/src/components/Countdown/Countdown.stories.tsx +47 -0
- package/src/components/Countdown/Countdown.tsx +90 -0
- package/src/components/Countdown/index.ts +2 -0
- package/src/components/Countdown/scripts/index.ts +238 -0
- package/src/components/DataTable/DataTable.stories.tsx +249 -0
- package/src/components/DataTable/DataTable.tsx +213 -0
- package/src/components/DataTable/index.ts +3 -0
- package/src/components/DataTable/scripts/bundle.ts +20 -0
- package/src/components/DataTable/scripts/index.ts +781 -0
- package/src/components/DatePicker/DatePicker.stories.tsx +365 -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/scripts/bundle.ts +39 -0
- package/src/components/DatePicker/scripts/componentInteractions.ts +230 -0
- package/src/components/DatePicker/scripts/index.ts +907 -0
- package/src/components/DatePicker/types.ts +167 -0
- package/src/components/DatePicker/utils.ts +163 -0
- package/src/components/Dropdown/Dropdown.stories.tsx +359 -0
- package/src/components/Dropdown/Dropdown.tsx +342 -0
- package/src/components/Dropdown/index.ts +14 -0
- package/src/components/Dropdown/readme.md +151 -0
- package/src/components/Dropdown/scripts/bundle.ts +24 -0
- package/src/components/Dropdown/scripts/componentInteractions.ts +39 -0
- package/src/components/Dropdown/scripts/index.ts +612 -0
- package/src/components/EdgePanel/EdgePanel.stories.tsx +267 -0
- package/src/components/EdgePanel/EdgePanel.tsx +73 -0
- package/src/components/EdgePanel/index.ts +1 -0
- package/src/components/EdgePanel/scripts/bundle.ts +30 -0
- package/src/components/EdgePanel/scripts/edgePanelInteractions.ts +206 -0
- package/src/components/EdgePanel/scripts/index.ts +415 -0
- package/src/components/Form/Checkbox.stories.tsx +77 -0
- package/src/components/Form/Checkbox.tsx +69 -0
- package/src/components/Form/Form.stories.tsx +491 -0
- package/src/components/Form/Form.tsx +46 -0
- package/src/components/Form/FormGroup.stories.tsx +163 -0
- package/src/components/Form/FormGroup.tsx +53 -0
- package/src/components/Form/Input.stories.tsx +107 -0
- package/src/components/Form/Input.tsx +87 -0
- package/src/components/Form/Radio.stories.tsx +95 -0
- package/src/components/Form/Radio.tsx +65 -0
- package/src/components/Form/Select.stories.tsx +152 -0
- package/src/components/Form/Select.tsx +191 -0
- package/src/components/Form/Textarea.stories.tsx +124 -0
- package/src/components/Form/Textarea.tsx +78 -0
- package/src/components/Form/index.ts +7 -0
- package/src/components/Hero/Hero.stories.tsx +297 -0
- package/src/components/Hero/Hero.tsx +175 -0
- package/src/components/Hero/index.ts +6 -0
- package/src/components/Hero/scripts/bundle.ts +33 -0
- package/src/components/Hero/scripts/heroInteractions.ts +130 -0
- package/src/components/Hero/scripts/index.ts +144 -0
- package/src/components/Icon/Icon.tsx +87 -0
- package/src/components/Icon/index.ts +2 -0
- package/src/components/List/List.stories.tsx +123 -0
- package/src/components/List/List.tsx +35 -0
- package/src/components/List/ListGroup.tsx +34 -0
- package/src/components/List/index.ts +2 -0
- package/src/components/Messages/Messages.stories.tsx +161 -0
- package/src/components/Messages/Messages.tsx +172 -0
- package/src/components/Messages/index.ts +3 -0
- package/src/components/Messages/scripts/bundle.ts +47 -0
- package/src/components/Messages/scripts/componentInteractions.ts +132 -0
- package/src/components/Messages/scripts/index.ts +378 -0
- package/src/components/Modal/Modal.stories.tsx +288 -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/Modal/scripts/bundle.ts +23 -0
- package/src/components/Modal/scripts/index.ts +374 -0
- package/src/components/Modal/scripts/modalInteractions.ts +141 -0
- package/src/components/Navigation/Menu/MegaMenu.tsx +107 -0
- package/src/components/Navigation/Menu/Menu.stories.tsx +340 -0
- package/src/components/Navigation/Menu/Menu.tsx +110 -0
- package/src/components/Navigation/Nav/Nav.stories.tsx +458 -0
- package/src/components/Navigation/Nav/Nav.tsx +50 -0
- package/src/components/Navigation/Nav/NavDropdown.tsx +105 -0
- package/src/components/Navigation/Nav/NavItem.tsx +159 -0
- package/src/components/Navigation/Navbar/Navbar.stories.tsx +552 -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 +618 -0
- package/src/components/Navigation/SideMenu/SideMenu.tsx +101 -0
- package/src/components/Navigation/SideMenu/SideMenuItem.tsx +95 -0
- package/src/components/Navigation/SideMenu/SideMenuList.tsx +41 -0
- package/src/components/Navigation/index.ts +23 -0
- package/src/components/Navigation/scripts/NavbarInteractions.ts +171 -0
- package/src/components/Navigation/scripts/SideMenu.ts +319 -0
- package/src/components/Navigation/scripts/SideMenuBundle.ts +69 -0
- package/src/components/Navigation/scripts/SideMenuInteractions.ts +250 -0
- package/src/components/Navigation/scripts/bundle.ts +58 -0
- package/src/components/Navigation/scripts/index.ts +248 -0
- package/src/components/Pagination/Pagination.stories.tsx +194 -0
- package/src/components/Pagination/Pagination.tsx +162 -0
- package/src/components/Pagination/index.ts +1 -0
- package/src/components/Pagination/scripts/bundle.ts +15 -0
- package/src/components/Pagination/scripts/index.ts +315 -0
- package/src/components/PhotoViewer/PhotoViewer.stories.tsx +160 -0
- package/src/components/PhotoViewer/PhotoViewer.tsx +246 -0
- package/src/components/PhotoViewer/PhotoViewerHeader.tsx +177 -0
- package/src/components/PhotoViewer/PhotoViewerImage.tsx +173 -0
- package/src/components/PhotoViewer/PhotoViewerInfo.tsx +65 -0
- package/src/components/PhotoViewer/PhotoViewerNavigation.tsx +82 -0
- package/src/components/PhotoViewer/PhotoViewerThumbnails.tsx +53 -0
- package/src/components/PhotoViewer/README.md +358 -0
- package/src/components/PhotoViewer/examples/ImageGallery.tsx +190 -0
- package/src/components/PhotoViewer/examples/SimpleGallery.tsx +77 -0
- package/src/components/PhotoViewer/examples/index.ts +2 -0
- package/src/components/PhotoViewer/index.ts +14 -0
- package/src/components/PhotoViewer/scripts/PhotoViewerInteractions.ts +253 -0
- package/src/components/PhotoViewer/scripts/bundle.ts +81 -0
- package/src/components/PhotoViewer/scripts/index.ts +947 -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/Popover/scripts/bundle.ts +12 -0
- package/src/components/Popover/scripts/componentInteractions.ts +299 -0
- package/src/components/Popover/scripts/index.ts +342 -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/ProductReview/scripts/bundle.ts +3 -0
- package/src/components/ProductReview/scripts/componentInteractions.ts +129 -0
- package/src/components/ProductReview/scripts/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/Progress/scripts/bundle.ts +17 -0
- package/src/components/Progress/scripts/componentInteractions.ts +101 -0
- package/src/components/Progress/scripts/index.ts +184 -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/Rating/scripts/bundle.ts +39 -0
- package/src/components/Rating/scripts/index.d.ts +12 -0
- package/src/components/Rating/scripts/index.ts +336 -0
- package/src/components/Rating/scripts/ratingInteractions.ts +160 -0
- package/src/components/River/River.stories.tsx +230 -0
- package/src/components/River/River.tsx +162 -0
- package/src/components/River/examples.html +223 -0
- package/src/components/River/index.ts +2 -0
- package/src/components/River/scripts/index.ts +137 -0
- package/src/components/SectionIntro/SectionIntro.stories.tsx +145 -0
- package/src/components/SectionIntro/SectionIntro.tsx +197 -0
- package/src/components/SectionIntro/index.ts +3 -0
- package/src/components/SectionIntro/scripts/bundle.ts +9 -0
- package/src/components/SectionIntro/scripts/componentInteractions.ts +37 -0
- package/src/components/SectionIntro/scripts/index.ts +163 -0
- package/src/components/Spinner/Spinner.stories.tsx +66 -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 +154 -0
- package/src/components/Steps/index.ts +3 -0
- package/src/components/Steps/scripts/index.ts +159 -0
- package/src/components/Tab/Tab.stories.tsx +129 -0
- package/src/components/Tab/Tab.tsx +133 -0
- package/src/components/Tab/index.ts +2 -0
- package/src/components/Tab/scripts/index.ts +200 -0
- package/src/components/Testimonial/Testimonial.stories.tsx +180 -0
- package/src/components/Testimonial/Testimonial.tsx +148 -0
- package/src/components/Testimonial/index.ts +3 -0
- package/src/components/Testimonial/scripts/index.ts +107 -0
- package/src/components/Todo/Todo.stories.tsx +155 -0
- package/src/components/Todo/Todo.tsx +158 -0
- package/src/components/Todo/index.ts +1 -0
- package/src/components/Todo/scripts/bundle.ts +14 -0
- package/src/components/Todo/scripts/index.ts +534 -0
- package/src/components/Todo/scripts/todoInteractions.ts +118 -0
- package/src/components/Todo/scripts/types.ts +19 -0
- package/src/components/Toggle/Toggle.stories.tsx +50 -0
- package/src/components/Toggle/Toggle.tsx +114 -0
- package/src/components/Toggle/index.ts +2 -0
- package/src/components/Toggle/scripts/bundle.ts +19 -0
- package/src/components/Toggle/scripts/index.ts +118 -0
- package/src/components/Toggle/scripts/toggleInteractions.ts +77 -0
- package/src/components/Tooltip/Tooltip.stories.tsx +115 -0
- package/src/components/Tooltip/Tooltip.tsx +105 -0
- package/src/components/Tooltip/index.ts +3 -0
- package/src/components/Tooltip/scripts/bundle.ts +0 -0
- package/src/components/Tooltip/scripts/index.ts +395 -0
- package/src/components/Tooltip/scripts/tooltipInteractions.ts +165 -0
- package/src/components/Upload/Upload.stories.tsx +221 -0
- package/src/components/Upload/Upload.tsx +422 -0
- package/src/components/Upload/index.ts +3 -0
- package/src/components/Upload/scripts/index.ts +467 -0
- package/src/components/index.ts +117 -0
- package/src/design-tokens/BoxShadow/BoxShadow.stories.tsx +115 -0
- package/src/design-tokens/Colors/colors.scss +121 -0
- package/src/design-tokens/Colors/colors.stories.tsx +313 -0
- package/src/design-tokens/Spacing/Spacing.scss +62 -0
- package/src/design-tokens/Spacing/Spacing.stories.tsx +115 -0
- package/src/design-tokens/Typography/Typography.scss +240 -0
- package/src/design-tokens/Typography/Typography.stories.tsx +167 -0
- package/src/docs/atomix-component-guidelines.mdx +942 -0
- package/src/docs/atomix-roadmap.mdx +325 -0
- package/src/docs/implementation-guide.mdx +506 -0
- package/src/htmlComponentsEntry.ts +318 -0
- package/src/index.ts +21 -0
- package/src/layouts/Grid/Container.tsx +56 -0
- package/src/layouts/Grid/Grid.stories.tsx +560 -0
- package/src/layouts/Grid/Grid.tsx +67 -0
- package/src/layouts/Grid/GridCol.tsx +160 -0
- package/src/layouts/Grid/README.md +108 -0
- package/src/layouts/Grid/Row.tsx +68 -0
- package/src/layouts/Grid/index.ts +8 -0
- package/src/layouts/MasonryGrid/MasonryGrid.stories.tsx +388 -0
- package/src/layouts/MasonryGrid/MasonryGrid.tsx +406 -0
- package/src/layouts/MasonryGrid/MasonryGridItem.tsx +42 -0
- package/src/layouts/MasonryGrid/README.md +117 -0
- package/src/layouts/MasonryGrid/index.ts +4 -0
- package/src/layouts/index.ts +9 -0
- package/src/lib/README.md +89 -0
- package/src/lib/composables/index.ts +44 -0
- package/src/lib/composables/useAccordion.ts +129 -0
- package/src/lib/composables/useBadge.ts +42 -0
- package/src/lib/composables/useBreadcrumb.ts +74 -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/useCheckbox.ts +70 -0
- package/src/lib/composables/useDataTable.ts +208 -0
- package/src/lib/composables/useDatePicker.ts +562 -0
- package/src/lib/composables/useDropdown.ts +272 -0
- package/src/lib/composables/useEdgePanel.ts +261 -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/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 +904 -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/useSpinner.ts +42 -0
- package/src/lib/composables/useTextarea.ts +55 -0
- package/src/lib/composables/useTodo.ts +142 -0
- package/src/lib/constants/components.ts +1050 -0
- package/src/lib/constants/index.ts +4 -0
- package/src/lib/index.ts +11 -0
- package/src/lib/types/components.ts +2498 -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 +7 -0
- package/src/lib/utils/useForkRef.ts +36 -0
- package/src/styles/01-settings/_index.scss +64 -0
- package/src/styles/01-settings/_settings.accordion.scss +29 -0
- package/src/styles/01-settings/_settings.animations.scss +2 -0
- package/src/styles/01-settings/_settings.avatar-group.scss +20 -0
- package/src/styles/01-settings/_settings.avatar.scss +46 -0
- package/src/styles/01-settings/_settings.badge.scss +12 -0
- package/src/styles/01-settings/_settings.border-radius.scss +12 -0
- package/src/styles/01-settings/_settings.border.scss +14 -0
- package/src/styles/01-settings/_settings.box-shadow.scss +28 -0
- package/src/styles/01-settings/_settings.breadcrumb.scss +19 -0
- package/src/styles/01-settings/_settings.breakpoints.scss +8 -0
- package/src/styles/01-settings/_settings.btn-group.scss +1 -0
- package/src/styles/01-settings/_settings.button.scss +81 -0
- package/src/styles/01-settings/_settings.callout.scss +61 -0
- package/src/styles/01-settings/_settings.card.scss +36 -0
- package/src/styles/01-settings/_settings.checkbox-group.scss +2 -0
- package/src/styles/01-settings/_settings.checkbox.scss +20 -0
- package/src/styles/01-settings/_settings.color-mode.scss +5 -0
- package/src/styles/01-settings/_settings.colors.scss +252 -0
- package/src/styles/01-settings/_settings.config.scss +4 -0
- package/src/styles/01-settings/_settings.countdown.scss +15 -0
- package/src/styles/01-settings/_settings.data-table.scss +52 -0
- package/src/styles/01-settings/_settings.datepicker.scss +44 -0
- package/src/styles/01-settings/_settings.dropdown.scss +38 -0
- package/src/styles/01-settings/_settings.edge-panel.scss +17 -0
- package/src/styles/01-settings/_settings.fonts.scss +17 -0
- package/src/styles/01-settings/_settings.form-group.scss +11 -0
- package/src/styles/01-settings/_settings.form.scss +3 -0
- package/src/styles/01-settings/_settings.grid.scss +15 -0
- package/src/styles/01-settings/_settings.hero.scss +30 -0
- package/src/styles/01-settings/_settings.input.scss +38 -0
- package/src/styles/01-settings/_settings.link.scss +12 -0
- package/src/styles/01-settings/_settings.list-group.scss +14 -0
- package/src/styles/01-settings/_settings.list.scss +10 -0
- package/src/styles/01-settings/_settings.maps.scss +278 -0
- package/src/styles/01-settings/_settings.masonry-grid.scss +17 -0
- package/src/styles/01-settings/_settings.menu.scss +35 -0
- package/src/styles/01-settings/_settings.messages.scss +71 -0
- package/src/styles/01-settings/_settings.modal.scss +31 -0
- package/src/styles/01-settings/_settings.nav.scss +18 -0
- package/src/styles/01-settings/_settings.navbar.scss +46 -0
- package/src/styles/01-settings/_settings.pagination.scss +29 -0
- package/src/styles/01-settings/_settings.photoviewer.scss +35 -0
- package/src/styles/01-settings/_settings.popover.scss +13 -0
- package/src/styles/01-settings/_settings.position.scss +7 -0
- package/src/styles/01-settings/_settings.progress.scss +15 -0
- package/src/styles/01-settings/_settings.rating.scss +8 -0
- package/src/styles/01-settings/_settings.river.scss +34 -0
- package/src/styles/01-settings/_settings.sectionintro.scss +21 -0
- package/src/styles/01-settings/_settings.select.scss +32 -0
- package/src/styles/01-settings/_settings.side-menu.scss +64 -0
- package/src/styles/01-settings/_settings.skeleton.scss +14 -0
- package/src/styles/01-settings/_settings.spacing.scss +68 -0
- package/src/styles/01-settings/_settings.spinner.scss +13 -0
- package/src/styles/01-settings/_settings.steps.scss +26 -0
- package/src/styles/01-settings/_settings.tabs.scss +28 -0
- package/src/styles/01-settings/_settings.testimonials.scss +18 -0
- package/src/styles/01-settings/_settings.todo.scss +50 -0
- package/src/styles/01-settings/_settings.toggle.scss +34 -0
- package/src/styles/01-settings/_settings.tooltip.scss +19 -0
- package/src/styles/01-settings/_settings.typography.scss +93 -0
- package/src/styles/01-settings/_settings.upload.scss +70 -0
- package/src/styles/01-settings/_settings.z-layers.scss +9 -0
- package/src/styles/02-tools/_index.scss +20 -0
- package/src/styles/02-tools/_tools.animations.scss +19 -0
- package/src/styles/02-tools/_tools.border-radius.scss +78 -0
- package/src/styles/02-tools/_tools.breakpoints.scss +48 -0
- package/src/styles/02-tools/_tools.button.scss +115 -0
- package/src/styles/02-tools/_tools.clearfix.scss +10 -0
- package/src/styles/02-tools/_tools.color-functions.scss +28 -0
- package/src/styles/02-tools/_tools.color-mode.scss +22 -0
- package/src/styles/02-tools/_tools.event.scss +22 -0
- package/src/styles/02-tools/_tools.grid.scss +76 -0
- package/src/styles/02-tools/_tools.hidden-visually.scss +32 -0
- package/src/styles/02-tools/_tools.hidden.scss +2 -0
- package/src/styles/02-tools/_tools.map-loop.scss +31 -0
- package/src/styles/02-tools/_tools.media-queries.scss +69 -0
- package/src/styles/02-tools/_tools.object-fit.scss +4 -0
- package/src/styles/02-tools/_tools.placeholder.scss +17 -0
- package/src/styles/02-tools/_tools.rem.scss +5 -0
- package/src/styles/02-tools/_tools.size.scss +8 -0
- package/src/styles/02-tools/_tools.spacing.scss +140 -0
- package/src/styles/02-tools/_tools.to-rgb.scss +9 -0
- package/src/styles/02-tools/_tools.transition.scss +50 -0
- package/src/styles/02-tools/_tools.utilities.scss +14 -0
- package/src/styles/02-tools/_tools.utility-api.scss +144 -0
- package/src/styles/03-generic/_generic.fonts.scss +24 -0
- package/src/styles/03-generic/_generic.reset.scss +402 -0
- package/src/styles/03-generic/_generic.root.scss +184 -0
- package/src/styles/03-generic/_generic.selection.scss +15 -0
- package/src/styles/03-generic/_index.scss +5 -0
- package/src/styles/04-elements/_elements.all.scss +16 -0
- package/src/styles/04-elements/_elements.body.scss +15 -0
- package/src/styles/04-elements/_elements.heading.scss +54 -0
- package/src/styles/04-elements/_elements.html.scss +9 -0
- package/src/styles/04-elements/_elements.links.scss +11 -0
- package/src/styles/04-elements/_index.scss +6 -0
- package/src/styles/05-objects/_index.scss +4 -0
- package/src/styles/05-objects/_objects.container.scss +36 -0
- package/src/styles/05-objects/_objects.grid.scss +25 -0
- package/src/styles/05-objects/_objects.masonry-grid.scss +96 -0
- package/src/styles/06-components/_components.accordion.scss +109 -0
- package/src/styles/06-components/_components.avatar-group.scss +85 -0
- package/src/styles/06-components/_components.avatar.scss +101 -0
- package/src/styles/06-components/_components.badge.scss +62 -0
- package/src/styles/06-components/_components.breadcrumb.scss +80 -0
- package/src/styles/06-components/_components.btn-group.scss +35 -0
- package/src/styles/06-components/_components.button.scss +134 -0
- package/src/styles/06-components/_components.callout.scss +272 -0
- package/src/styles/06-components/_components.card.scss +148 -0
- package/src/styles/06-components/_components.checkbox-group.scss +17 -0
- package/src/styles/06-components/_components.checkbox.scss +135 -0
- package/src/styles/06-components/_components.color-mode-toggle.scss +36 -0
- package/src/styles/06-components/_components.countdown.scss +63 -0
- package/src/styles/06-components/_components.data-table.scss +183 -0
- package/src/styles/06-components/_components.datepicker.scss +546 -0
- package/src/styles/06-components/_components.dropdown.scss +255 -0
- package/src/styles/06-components/_components.edge-panel.scss +350 -0
- package/src/styles/06-components/_components.form-group.scss +78 -0
- package/src/styles/06-components/_components.form.scss +21 -0
- package/src/styles/06-components/_components.hero.scss +147 -0
- package/src/styles/06-components/_components.icon.scss +80 -0
- package/src/styles/06-components/_components.image-gallery.scss +72 -0
- package/src/styles/06-components/_components.input.scss +107 -0
- package/src/styles/06-components/_components.list-group.scss +63 -0
- package/src/styles/06-components/_components.list.scss +57 -0
- package/src/styles/06-components/_components.menu.scss +239 -0
- package/src/styles/06-components/_components.messages.scss +332 -0
- package/src/styles/06-components/_components.modal.scss +153 -0
- package/src/styles/06-components/_components.nav.scss +172 -0
- package/src/styles/06-components/_components.navbar.scss +310 -0
- package/src/styles/06-components/_components.pagination.scss +155 -0
- package/src/styles/06-components/_components.photoviewer.scss +878 -0
- package/src/styles/06-components/_components.popover.scss +99 -0
- package/src/styles/06-components/_components.product-review.scss +128 -0
- package/src/styles/06-components/_components.progress.scss +43 -0
- package/src/styles/06-components/_components.rating.scss +161 -0
- package/src/styles/06-components/_components.river.scss +216 -0
- package/src/styles/06-components/_components.sectionintro.scss +163 -0
- package/src/styles/06-components/_components.select.scss +125 -0
- package/src/styles/06-components/_components.side-menu.scss +234 -0
- package/src/styles/06-components/_components.skeleton.scss +55 -0
- package/src/styles/06-components/_components.spinner.scss +45 -0
- package/src/styles/06-components/_components.steps.scss +99 -0
- package/src/styles/06-components/_components.tabs.scss +124 -0
- package/src/styles/06-components/_components.testimonials.scss +65 -0
- package/src/styles/06-components/_components.todo.scss +163 -0
- package/src/styles/06-components/_components.toggle.scss +100 -0
- package/src/styles/06-components/_components.tooltip.scss +136 -0
- package/src/styles/06-components/_components.upload.scss +250 -0
- package/src/styles/06-components/_index.scss +49 -0
- package/src/styles/99-utilities/_index.scss +21 -0
- package/src/styles/99-utilities/_utilities.background.scss +28 -0
- package/src/styles/99-utilities/_utilities.border.scss +157 -0
- package/src/styles/99-utilities/_utilities.clearfix.scss +5 -0
- package/src/styles/99-utilities/_utilities.display.scss +13 -0
- package/src/styles/99-utilities/_utilities.flex.scss +109 -0
- package/src/styles/99-utilities/_utilities.link.scss +96 -0
- package/src/styles/99-utilities/_utilities.object-fit.scss +17 -0
- package/src/styles/99-utilities/_utilities.opacity.scss +16 -0
- package/src/styles/99-utilities/_utilities.overflow.scss +20 -0
- package/src/styles/99-utilities/_utilities.position.scss +40 -0
- package/src/styles/99-utilities/_utilities.scss +42 -0
- package/src/styles/99-utilities/_utilities.shadow.scss +19 -0
- package/src/styles/99-utilities/_utilities.sizes.scss +81 -0
- package/src/styles/99-utilities/_utilities.spacing.scss +188 -0
- package/src/styles/99-utilities/_utilities.text.scss +87 -0
- package/src/styles/99-utilities/_utilities.visibility.scss +13 -0
- package/src/styles/99-utilities/_utilities.visually-hidden.scss +5 -0
- package/src/styles/99-utilities/_utilities.z-index.scss +11 -0
- package/src/styles/index.scss +12 -0
- package/tsconfig.json +74 -0
- package/webpack.config.js +463 -0
- package/dist/types/components/Navbar/Nav.d.ts +0 -5
- package/dist/types/components/Navbar/NavItem.d.ts +0 -5
- package/dist/types/components/Navbar/Navbar.d.ts +0 -5
- package/dist/types/components/Navbar/index.d.ts +0 -6
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
@use '../01-settings/_settings.config' as *;
|
|
2
|
+
@use '../01-settings/_settings.dropdown' as *;
|
|
3
|
+
@use '../02-tools/_tools.rem' as *;
|
|
4
|
+
@use '../02-tools/_tools.animations' as *;
|
|
5
|
+
@use '../02-tools/_tools.spacing' as *;
|
|
6
|
+
|
|
7
|
+
// Add keyframe animations for dropdown
|
|
8
|
+
@keyframes #{$prefix}dropdown-fade-in {
|
|
9
|
+
from {
|
|
10
|
+
opacity: 0;
|
|
11
|
+
transform: translateY(-15px) scale(0.95);
|
|
12
|
+
}
|
|
13
|
+
to {
|
|
14
|
+
opacity: 1;
|
|
15
|
+
transform: translateY(0) scale(1);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@keyframes #{$prefix}dropdown-fade-out {
|
|
20
|
+
from {
|
|
21
|
+
opacity: 1;
|
|
22
|
+
transform: translateY(0) scale(1);
|
|
23
|
+
}
|
|
24
|
+
to {
|
|
25
|
+
opacity: 0;
|
|
26
|
+
transform: translateY(-15px) scale(0.95);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Add keyframe for toggle icon rotation
|
|
31
|
+
@keyframes #{$prefix}dropdown-icon-rotate {
|
|
32
|
+
from {
|
|
33
|
+
transform: rotate(0deg);
|
|
34
|
+
}
|
|
35
|
+
to {
|
|
36
|
+
transform: rotate(-180deg);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.c-dropdown {
|
|
41
|
+
$root: &;
|
|
42
|
+
|
|
43
|
+
--#{$prefix}dropdown-min-width: #{rem($dropdown-min-width)};
|
|
44
|
+
--#{$prefix}dropdown-padding-x: #{if($dropdown-padding-x == 0, 0, rem($dropdown-padding-x))};
|
|
45
|
+
--#{$prefix}dropdown-padding-y: #{rem($dropdown-padding-y)};
|
|
46
|
+
--#{$prefix}dropdown-spacer: #{rem($dropdown-spacer)};
|
|
47
|
+
--#{$prefix}dropdown-font-size: #{$dropdown-font-size};
|
|
48
|
+
--#{$prefix}dropdown-color: #{$dropdown-color};
|
|
49
|
+
--#{$prefix}dropdown-bg: #{$dropdown-bg};
|
|
50
|
+
--#{$prefix}dropdown-border-color: #{$dropdown-border-color};
|
|
51
|
+
--#{$prefix}dropdown-border-radius: #{$dropdown-border-radius};
|
|
52
|
+
--#{$prefix}dropdown-border-width: #{$dropdown-border-width};
|
|
53
|
+
--#{$prefix}dropdown-box-shadow: #{$dropdown-box-shadow};
|
|
54
|
+
--#{$prefix}dropdown-link-color: #{$dropdown-link-color};
|
|
55
|
+
--#{$prefix}dropdown-link-hover-color: #{$dropdown-link-hover-color};
|
|
56
|
+
--#{$prefix}dropdown-link-hover-bg: #{$dropdown-link-hover-bg};
|
|
57
|
+
--#{$prefix}dropdown-link-border-radius: #{$dropdown-link-border-radius};
|
|
58
|
+
--#{$prefix}dropdown-active-color: #{$dropdown-link-active-color};
|
|
59
|
+
--#{$prefix}dropdown-active-bg: #{$dropdown-link-active-bg};
|
|
60
|
+
--#{$prefix}dropdown-item-padding-x: #{rem($dropdown-item-padding-x)};
|
|
61
|
+
--#{$prefix}dropdown-item-padding-y: #{rem($dropdown-item-padding-y)};
|
|
62
|
+
// Use animation variables from settings
|
|
63
|
+
--#{$prefix}dropdown-animation-duration: #{$dropdown-animation-duration};
|
|
64
|
+
--#{$prefix}dropdown-animation-timing: #{$dropdown-animation-timing};
|
|
65
|
+
|
|
66
|
+
display: inline-block;
|
|
67
|
+
position: relative;
|
|
68
|
+
|
|
69
|
+
&__toggle {
|
|
70
|
+
width: 100%;
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
display: inline-flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
gap: 0.5rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&__toggle-icon {
|
|
78
|
+
transition: transform var(--#{$prefix}dropdown-animation-duration)
|
|
79
|
+
var(--#{$prefix}dropdown-animation-timing);
|
|
80
|
+
margin-left: 0.25rem;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&__menu-wrapper {
|
|
84
|
+
position: absolute;
|
|
85
|
+
left: 0;
|
|
86
|
+
z-index: 99;
|
|
87
|
+
display: flex;
|
|
88
|
+
opacity: 0;
|
|
89
|
+
visibility: hidden;
|
|
90
|
+
transform-origin: top center;
|
|
91
|
+
// Improved transitions - shorter and with better easing
|
|
92
|
+
transition:
|
|
93
|
+
opacity var(--#{$prefix}dropdown-animation-duration)
|
|
94
|
+
var(--#{$prefix}dropdown-animation-timing),
|
|
95
|
+
visibility var(--#{$prefix}dropdown-animation-duration)
|
|
96
|
+
var(--#{$prefix}dropdown-animation-timing),
|
|
97
|
+
transform var(--#{$prefix}dropdown-animation-duration)
|
|
98
|
+
var(--#{$prefix}dropdown-animation-timing);
|
|
99
|
+
transform: translateY(-15px) scale(0.95);
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
will-change: transform, opacity, visibility;
|
|
102
|
+
|
|
103
|
+
&.is-open {
|
|
104
|
+
opacity: 1;
|
|
105
|
+
transform: translateY(0) scale(1);
|
|
106
|
+
visibility: visible;
|
|
107
|
+
animation: #{$prefix}dropdown-fade-in var(--#{$prefix}dropdown-animation-duration)
|
|
108
|
+
var(--#{$prefix}dropdown-animation-timing) forwards;
|
|
109
|
+
pointer-events: auto;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&:not(.is-open) {
|
|
113
|
+
animation: #{$prefix}dropdown-fade-out var(--#{$prefix}dropdown-animation-duration)
|
|
114
|
+
var(--#{$prefix}dropdown-animation-timing) forwards;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// Placement variations - using a mixin to reduce duplication
|
|
118
|
+
@mixin dropdown-placement($position, $alignment, $property, $value) {
|
|
119
|
+
&--#{$position}-#{$alignment} {
|
|
120
|
+
@if $position == 'bottom' {
|
|
121
|
+
top: 100%;
|
|
122
|
+
margin-top: var(--#{$prefix}dropdown-spacer);
|
|
123
|
+
transform-origin: top center;
|
|
124
|
+
} @else if $position == 'top' {
|
|
125
|
+
bottom: 100%;
|
|
126
|
+
margin-bottom: var(--#{$prefix}dropdown-spacer);
|
|
127
|
+
transform-origin: bottom center;
|
|
128
|
+
} @else if $position == 'left' {
|
|
129
|
+
right: 100%;
|
|
130
|
+
margin-right: var(--#{$prefix}dropdown-spacer);
|
|
131
|
+
transform-origin: right center;
|
|
132
|
+
} @else if $position == 'right' {
|
|
133
|
+
left: 100%;
|
|
134
|
+
margin-left: var(--#{$prefix}dropdown-spacer);
|
|
135
|
+
transform-origin: left center;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@if $alignment == 'start' {
|
|
139
|
+
@if $position == 'top' or $position == 'bottom' {
|
|
140
|
+
left: 0;
|
|
141
|
+
} @else {
|
|
142
|
+
top: 0;
|
|
143
|
+
}
|
|
144
|
+
} @else if $alignment == 'end' {
|
|
145
|
+
@if $position == 'top' or $position == 'bottom' {
|
|
146
|
+
right: 0;
|
|
147
|
+
left: auto;
|
|
148
|
+
} @else {
|
|
149
|
+
bottom: 0;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
// Apply the mixin for all placement variations
|
|
156
|
+
@include dropdown-placement('bottom', 'start', 'top', '100%');
|
|
157
|
+
@include dropdown-placement('bottom', 'end', 'top', '100%');
|
|
158
|
+
@include dropdown-placement('top', 'start', 'bottom', '100%');
|
|
159
|
+
@include dropdown-placement('top', 'end', 'bottom', '100%');
|
|
160
|
+
@include dropdown-placement('left', 'start', 'right', '100%');
|
|
161
|
+
@include dropdown-placement('left', 'end', 'right', '100%');
|
|
162
|
+
@include dropdown-placement('right', 'start', 'left', '100%');
|
|
163
|
+
@include dropdown-placement('right', 'end', 'left', '100%');
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&__menu-inner {
|
|
167
|
+
width: 100%;
|
|
168
|
+
min-width: var(--#{$prefix}dropdown-min-width);
|
|
169
|
+
border-radius: var(--#{$prefix}dropdown-border-radius);
|
|
170
|
+
box-shadow: var(--#{$prefix}dropdown-box-shadow);
|
|
171
|
+
overflow: hidden;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&__menu {
|
|
175
|
+
width: 100%;
|
|
176
|
+
padding: var(--#{$prefix}dropdown-padding-y) var(--#{$prefix}dropdown-padding-x);
|
|
177
|
+
list-style: none;
|
|
178
|
+
@include mb(0);
|
|
179
|
+
background-color: var(--#{$prefix}dropdown-bg);
|
|
180
|
+
border-radius: var(--#{$prefix}dropdown-border-radius);
|
|
181
|
+
box-shadow: var(--#{$prefix}dropdown-box-shadow);
|
|
182
|
+
overflow: hidden;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&__menu-item {
|
|
186
|
+
display: block;
|
|
187
|
+
width: 100%;
|
|
188
|
+
padding: var(--#{$prefix}dropdown-item-padding-y) var(--#{$prefix}dropdown-item-padding-x);
|
|
189
|
+
border: 0;
|
|
190
|
+
border-radius: var(--#{$prefix}dropdown-link-border-radius);
|
|
191
|
+
background: transparent;
|
|
192
|
+
color: var(--#{$prefix}dropdown-link-color);
|
|
193
|
+
font-size: var(--#{$prefix}dropdown-font-size);
|
|
194
|
+
text-align: left;
|
|
195
|
+
text-decoration: none;
|
|
196
|
+
cursor: pointer;
|
|
197
|
+
transition: all 0.2s ease;
|
|
198
|
+
|
|
199
|
+
&:hover,
|
|
200
|
+
&:focus {
|
|
201
|
+
color: var(--#{$prefix}dropdown-link-hover-color);
|
|
202
|
+
background-color: var(--#{$prefix}dropdown-link-hover-bg);
|
|
203
|
+
outline: none;
|
|
204
|
+
padding-left: calc(var(--#{$prefix}dropdown-item-padding-x) + 3px);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&.is-active {
|
|
208
|
+
color: var(--#{$prefix}dropdown-active-color);
|
|
209
|
+
background-color: var(--#{$prefix}dropdown-active-bg);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&.is-disabled {
|
|
213
|
+
color: var(--#{$prefix}dropdown-color);
|
|
214
|
+
opacity: 0.5;
|
|
215
|
+
pointer-events: none;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&__menu-item-icon {
|
|
220
|
+
display: inline-flex;
|
|
221
|
+
align-items: center;
|
|
222
|
+
margin-right: 0.5rem;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
&__divider {
|
|
226
|
+
height: 1px;
|
|
227
|
+
margin: 0.5rem 0;
|
|
228
|
+
background-color: var(--#{$prefix}dropdown-border-color);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
&__header {
|
|
232
|
+
display: block;
|
|
233
|
+
padding: var(--#{$prefix}dropdown-item-padding-y) var(--#{$prefix}dropdown-item-padding-x);
|
|
234
|
+
margin-bottom: 0;
|
|
235
|
+
font-size: 0.875em;
|
|
236
|
+
color: var(--#{$prefix}dropdown-color);
|
|
237
|
+
white-space: nowrap;
|
|
238
|
+
opacity: 0.8;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
// Color variants
|
|
242
|
+
@each $color in (brand, secondary, tertiary, success, info, warning, error, light, dark) {
|
|
243
|
+
&--#{$color} {
|
|
244
|
+
--#{$prefix}dropdown-link-color: var(--#{$prefix}#{$color}-text-emphasis);
|
|
245
|
+
--#{$prefix}dropdown-link-hover-color: var(--#{$prefix}#{$color}-text-emphasis);
|
|
246
|
+
--#{$prefix}dropdown-link-hover-bg: var(--#{$prefix}#{$color}-bg-subtle);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
&.is-open {
|
|
251
|
+
#{$root}__toggle-icon {
|
|
252
|
+
transform: rotate(-180deg);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../01-settings/settings.config' as *;
|
|
3
|
+
@use '../01-settings/settings.edge-panel' as *;
|
|
4
|
+
@use '../01-settings/settings.z-layers' as *;
|
|
5
|
+
@use '../02-tools/tools.rem' as *;
|
|
6
|
+
@use '../02-tools/tools.animations' as *;
|
|
7
|
+
|
|
8
|
+
// EdgePanel SCSS Styling
|
|
9
|
+
.c-edge-panel {
|
|
10
|
+
$root: &;
|
|
11
|
+
|
|
12
|
+
// CSS Custom Properties for Easy Theming
|
|
13
|
+
--#{$prefix}edge-panel-zindex: #{$edge-panel-zindex};
|
|
14
|
+
--#{$prefix}edge-panel-width: #{rem($edge-panel-width)};
|
|
15
|
+
--#{$prefix}edge-panel-height: #{$edge-panel-height};
|
|
16
|
+
--#{$prefix}edge-panel-padding-x: #{rem($edge-panel-padding-x)};
|
|
17
|
+
--#{$prefix}edge-panel-padding-y: #{rem($edge-panel-padding-y)};
|
|
18
|
+
--#{$prefix}edge-panel-bg: #{$edge-panel-bg};
|
|
19
|
+
--#{$prefix}edge-panel-color: #{$edge-panel-color};
|
|
20
|
+
--#{$prefix}edge-panel-shadow: #{$edge-panel-shadow};
|
|
21
|
+
--#{$prefix}edge-panel-backdrop-bg: #{$edge-panel-backdrop-bg};
|
|
22
|
+
--#{$prefix}edge-panel-backdrop-opacity: #{$edge-panel-backdrop-opacity};
|
|
23
|
+
--#{$prefix}edge-panel-backdrop-blur: #{$edge-panel-backdrop-blur};
|
|
24
|
+
--#{$prefix}edge-panel-animation-duration: #{$edge-panel-animation-duration}ms;
|
|
25
|
+
--#{$prefix}edge-panel-border-color: #{$edge-panel-border-color};
|
|
26
|
+
|
|
27
|
+
position: fixed;
|
|
28
|
+
inset: 0;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
z-index: var(--#{$prefix}edge-panel-zindex);
|
|
32
|
+
|
|
33
|
+
// Backdrop Styling
|
|
34
|
+
&__backdrop {
|
|
35
|
+
position: absolute;
|
|
36
|
+
inset: 0;
|
|
37
|
+
background: var(--#{$prefix}edge-panel-backdrop-bg);
|
|
38
|
+
backdrop-filter: blur(var(--#{$prefix}edge-panel-backdrop-blur));
|
|
39
|
+
opacity: 0;
|
|
40
|
+
z-index: map.get($z-layers, 1);
|
|
41
|
+
transition: opacity var(--#{$prefix}edge-panel-animation-duration) ease;
|
|
42
|
+
will-change: opacity;
|
|
43
|
+
|
|
44
|
+
&.is-animating {
|
|
45
|
+
animation: fadeIn 0.3s ease forwards;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.is-animating-out {
|
|
49
|
+
animation: fadeOut 0.3s ease forwards;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Panel Container
|
|
54
|
+
&__container {
|
|
55
|
+
position: absolute;
|
|
56
|
+
color: var(--#{$prefix}edge-panel-color);
|
|
57
|
+
width: var(--#{$prefix}edge-panel-width);
|
|
58
|
+
height: 100%;
|
|
59
|
+
background-color: var(--#{$prefix}edge-panel-bg);
|
|
60
|
+
box-shadow: var(--#{$prefix}edge-panel-shadow);
|
|
61
|
+
z-index: map.get($z-layers, 2);
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
65
|
+
will-change: transform, opacity;
|
|
66
|
+
|
|
67
|
+
&.is-animating {
|
|
68
|
+
animation: slideIn var(--#{$prefix}edge-panel-animation-duration)
|
|
69
|
+
cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.is-animating-out {
|
|
73
|
+
animation: slideOut var(--#{$prefix}edge-panel-animation-duration)
|
|
74
|
+
cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// Panel Header
|
|
79
|
+
&__header {
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: space-between;
|
|
83
|
+
padding: var(--#{$prefix}edge-panel-padding-y) var(--#{$prefix}edge-panel-padding-x);
|
|
84
|
+
border-bottom: 1px solid var(--#{$prefix}edge-panel-border-color);
|
|
85
|
+
flex-shrink: 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// Close Button
|
|
89
|
+
&__close {
|
|
90
|
+
user-select: none;
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
padding: 0.5rem;
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
justify-content: center;
|
|
96
|
+
border-radius: 50%;
|
|
97
|
+
transition: background-color 0.2s ease;
|
|
98
|
+
|
|
99
|
+
&:hover {
|
|
100
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&:focus-visible {
|
|
104
|
+
outline: 2px solid var(--#{$prefix}primary);
|
|
105
|
+
outline-offset: 2px;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// Panel Body
|
|
110
|
+
&__body {
|
|
111
|
+
padding: var(--#{$prefix}edge-panel-padding-y) var(--#{$prefix}edge-panel-padding-x);
|
|
112
|
+
overflow-y: auto;
|
|
113
|
+
flex: 1;
|
|
114
|
+
-webkit-overflow-scrolling: touch;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// Variants for Panel Positioning
|
|
118
|
+
&--start {
|
|
119
|
+
#{$root}__container {
|
|
120
|
+
left: 0;
|
|
121
|
+
top: 0;
|
|
122
|
+
bottom: 0;
|
|
123
|
+
border-right: 1px solid var(--#{$prefix}edge-panel-border-color);
|
|
124
|
+
transform: translateX(-100%);
|
|
125
|
+
|
|
126
|
+
&.is-animating {
|
|
127
|
+
animation-name: slideInStart;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&.is-animating-out {
|
|
131
|
+
animation-name: slideOutStart;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&--end {
|
|
137
|
+
#{$root}__container {
|
|
138
|
+
right: 0;
|
|
139
|
+
top: 0;
|
|
140
|
+
bottom: 0;
|
|
141
|
+
left: auto;
|
|
142
|
+
border-left: 1px solid var(--#{$prefix}edge-panel-border-color);
|
|
143
|
+
transform: translateX(100%);
|
|
144
|
+
|
|
145
|
+
&.is-animating {
|
|
146
|
+
animation-name: slideInEnd;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&.is-animating-out {
|
|
150
|
+
animation-name: slideOutEnd;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&--top {
|
|
156
|
+
#{$root}__container {
|
|
157
|
+
left: 0;
|
|
158
|
+
right: 0;
|
|
159
|
+
top: 0;
|
|
160
|
+
bottom: auto;
|
|
161
|
+
width: 100%;
|
|
162
|
+
height: var(--#{$prefix}edge-panel-height);
|
|
163
|
+
transform: translateY(-100%);
|
|
164
|
+
border-bottom: 1px solid var(--#{$prefix}edge-panel-border-color);
|
|
165
|
+
|
|
166
|
+
&.is-animating {
|
|
167
|
+
animation-name: slideInTop;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&.is-animating-out {
|
|
171
|
+
animation-name: slideOutTop;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&--bottom {
|
|
177
|
+
#{$root}__container {
|
|
178
|
+
left: 0;
|
|
179
|
+
right: 0;
|
|
180
|
+
bottom: 0;
|
|
181
|
+
top: auto;
|
|
182
|
+
width: 100%;
|
|
183
|
+
height: var(--#{$prefix}edge-panel-height);
|
|
184
|
+
transform: translateY(100%);
|
|
185
|
+
border-top: 1px solid var(--#{$prefix}edge-panel-border-color);
|
|
186
|
+
|
|
187
|
+
&.is-animating {
|
|
188
|
+
animation-name: slideInBottom;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&.is-animating-out {
|
|
192
|
+
animation-name: slideOutBottom;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
// Active State (When Open)
|
|
198
|
+
&.is-open {
|
|
199
|
+
#{$root}__backdrop {
|
|
200
|
+
opacity: var(--#{$prefix}edge-panel-backdrop-opacity);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
#{$root}__container {
|
|
204
|
+
transform: translateX(0) translateY(0);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
// No animation mode
|
|
209
|
+
&[data-mode='none'] {
|
|
210
|
+
#{$root}__container {
|
|
211
|
+
// Disable all transitions
|
|
212
|
+
transition: none !important;
|
|
213
|
+
animation: none !important;
|
|
214
|
+
|
|
215
|
+
&.is-animating,
|
|
216
|
+
&.is-animating-out {
|
|
217
|
+
animation: none !important;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
#{$root}__backdrop {
|
|
222
|
+
transition: none !important;
|
|
223
|
+
animation: none !important;
|
|
224
|
+
|
|
225
|
+
&.is-animating,
|
|
226
|
+
&.is-animating-out {
|
|
227
|
+
animation: none !important;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
// Body Modifier When Panel is Open
|
|
234
|
+
.is-edgepanel-open {
|
|
235
|
+
--#{$prefix}edge-panel-animation-duration: #{$edge-panel-animation-duration}ms;
|
|
236
|
+
overflow: hidden;
|
|
237
|
+
|
|
238
|
+
&.is-pushed {
|
|
239
|
+
transition:
|
|
240
|
+
padding-left var(--#{$prefix}edge-panel-animation-duration) cubic-bezier(0.16, 1, 0.3, 1),
|
|
241
|
+
padding-right var(--#{$prefix}edge-panel-animation-duration) cubic-bezier(0.16, 1, 0.3, 1),
|
|
242
|
+
padding-top var(--#{$prefix}edge-panel-animation-duration) cubic-bezier(0.16, 1, 0.3, 1),
|
|
243
|
+
padding-bottom var(--#{$prefix}edge-panel-animation-duration) cubic-bezier(0.16, 1, 0.3, 1);
|
|
244
|
+
|
|
245
|
+
// Disable scrolling on iOS
|
|
246
|
+
position: fixed;
|
|
247
|
+
width: 100%;
|
|
248
|
+
height: 100%;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
&:not(.is-pushed) {
|
|
252
|
+
// Disable scrolling on iOS
|
|
253
|
+
position: fixed;
|
|
254
|
+
width: 100%;
|
|
255
|
+
height: 100%;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
// Simple fade in animation
|
|
260
|
+
@keyframes fadeIn {
|
|
261
|
+
from {
|
|
262
|
+
opacity: 0;
|
|
263
|
+
}
|
|
264
|
+
to {
|
|
265
|
+
opacity: var(--#{$prefix}edge-panel-backdrop-opacity);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
// Simple fade out animation
|
|
270
|
+
@keyframes fadeOut {
|
|
271
|
+
from {
|
|
272
|
+
opacity: var(--#{$prefix}edge-panel-backdrop-opacity);
|
|
273
|
+
}
|
|
274
|
+
to {
|
|
275
|
+
opacity: 0;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
// Position-specific animations
|
|
280
|
+
@keyframes slideInStart {
|
|
281
|
+
from {
|
|
282
|
+
transform: translateX(-100%);
|
|
283
|
+
}
|
|
284
|
+
to {
|
|
285
|
+
transform: translateX(0);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
@keyframes slideOutStart {
|
|
290
|
+
from {
|
|
291
|
+
transform: translateX(0);
|
|
292
|
+
}
|
|
293
|
+
to {
|
|
294
|
+
transform: translateX(-100%);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
@keyframes slideInEnd {
|
|
299
|
+
from {
|
|
300
|
+
transform: translateX(100%);
|
|
301
|
+
}
|
|
302
|
+
to {
|
|
303
|
+
transform: translateX(0);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
@keyframes slideOutEnd {
|
|
308
|
+
from {
|
|
309
|
+
transform: translateX(0);
|
|
310
|
+
}
|
|
311
|
+
to {
|
|
312
|
+
transform: translateX(100%);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
@keyframes slideInTop {
|
|
317
|
+
from {
|
|
318
|
+
transform: translateY(-100%);
|
|
319
|
+
}
|
|
320
|
+
to {
|
|
321
|
+
transform: translateY(0);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
@keyframes slideOutTop {
|
|
326
|
+
from {
|
|
327
|
+
transform: translateY(0);
|
|
328
|
+
}
|
|
329
|
+
to {
|
|
330
|
+
transform: translateY(-100%);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
@keyframes slideInBottom {
|
|
335
|
+
from {
|
|
336
|
+
transform: translateY(100%);
|
|
337
|
+
}
|
|
338
|
+
to {
|
|
339
|
+
transform: translateY(0);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
@keyframes slideOutBottom {
|
|
344
|
+
from {
|
|
345
|
+
transform: translateY(0);
|
|
346
|
+
}
|
|
347
|
+
to {
|
|
348
|
+
transform: translateY(100%);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@use '../01-settings/settings.config' as *;
|
|
2
|
+
@use '../01-settings/settings.form-group' as *;
|
|
3
|
+
@use '../02-tools/tools.rem' as *;
|
|
4
|
+
|
|
5
|
+
.c-form-group {
|
|
6
|
+
$root: &;
|
|
7
|
+
|
|
8
|
+
--#{$prefix}input-group-width: #{$input-group-width};
|
|
9
|
+
--#{$prefix}input-group-label-color: #{$input-group-label-color};
|
|
10
|
+
--#{$prefix}input-group-label-font-size: #{$input-group-label-font-size};
|
|
11
|
+
--#{$prefix}input-group-label-margin-bottom: #{rem($input-group-label-margin-bottom)};
|
|
12
|
+
--#{$prefix}input-group-helper-text-color: #{$input-group-helper-text-color};
|
|
13
|
+
--#{$prefix}input-group-helper-text-font-size: #{$input-group-helper-text-font-size};
|
|
14
|
+
--#{$prefix}input-group-helper-text-margin-top: #{rem($input-group-helper-text-margin-top)};
|
|
15
|
+
|
|
16
|
+
position: relative;
|
|
17
|
+
width: 100%;
|
|
18
|
+
max-width: var(--#{$prefix}input-group-width);
|
|
19
|
+
|
|
20
|
+
&__label {
|
|
21
|
+
display: block;
|
|
22
|
+
color: var(--#{$prefix}input-group-label-color);
|
|
23
|
+
font-size: var(--#{$prefix}input-group-label-font-size);
|
|
24
|
+
margin-bottom: var(--#{$prefix}input-group-label-margin-bottom);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__field {
|
|
28
|
+
display: inline-block;
|
|
29
|
+
width: 100%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__helper {
|
|
33
|
+
color: var(--#{$prefix}input-group-helper-text-color);
|
|
34
|
+
font-size: var(--#{$prefix}input-group-helper-text-font-size);
|
|
35
|
+
margin-top: var(--#{$prefix}input-group-helper-text-margin-top);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&--lg {
|
|
39
|
+
#{$root}__field {
|
|
40
|
+
@extend .c-input--lg !optional;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&--sm {
|
|
45
|
+
--#{$prefix}input-group-label-font-size: #{$input-group-label-font-size-sm};
|
|
46
|
+
|
|
47
|
+
#{$root}__field {
|
|
48
|
+
@extend .c-input--sm !optional;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.is-success {
|
|
53
|
+
--#{$prefix}input-group-helper-text-color: var(--#{$prefix}success-text-emphasis);
|
|
54
|
+
|
|
55
|
+
#{$root}__field {
|
|
56
|
+
@extend .is-success !optional;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.is-invalid {
|
|
61
|
+
--#{$prefix}input-group-helper-text-color: var(--#{$prefix}error-text-emphasis);
|
|
62
|
+
|
|
63
|
+
#{$root}__field {
|
|
64
|
+
@extend .is-invalid !optional;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&:disabled,
|
|
69
|
+
&.is-disabled {
|
|
70
|
+
> * {
|
|
71
|
+
pointer-events: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
#{$root}__field {
|
|
75
|
+
@extend .is-disabled !optional;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@use '../01-settings/settings.config' as *;
|
|
2
|
+
@use '../01-settings/settings.form' as *;
|
|
3
|
+
@use '../02-tools/tools.rem' as *;
|
|
4
|
+
|
|
5
|
+
.c-form {
|
|
6
|
+
--#{$prefix}form-width: #{$form-width};
|
|
7
|
+
--#{$prefix}form-items-spacer-y: #{rem($form-items-spacer-y)};
|
|
8
|
+
--#{$prefix}form-items-spacer-x: #{rem($form-items-spacer-x)};
|
|
9
|
+
|
|
10
|
+
width: 100%;
|
|
11
|
+
max-width: var(--#{$prefix}form-width);
|
|
12
|
+
|
|
13
|
+
> * + * {
|
|
14
|
+
margin-top: var(--#{$prefix}form-items-spacer-y);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.o-grid {
|
|
18
|
+
--#{$prefix}gutter-x: var(--#{$prefix}form-items-spacer-x);
|
|
19
|
+
--#{$prefix}gutter-y: var(--#{$prefix}form-items-spacer-y);
|
|
20
|
+
}
|
|
21
|
+
}
|