@shohojdhara/atomix 0.4.3 → 0.4.5

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.
Files changed (45) hide show
  1. package/dist/atomix.css +26 -5
  2. package/dist/atomix.css.map +1 -1
  3. package/dist/atomix.min.css +1 -1
  4. package/dist/atomix.min.css.map +1 -1
  5. package/dist/charts.js +4 -16
  6. package/dist/charts.js.map +1 -1
  7. package/dist/core.d.ts +4 -4
  8. package/dist/core.js +14 -26
  9. package/dist/core.js.map +1 -1
  10. package/dist/forms.js +4 -16
  11. package/dist/forms.js.map +1 -1
  12. package/dist/heavy.js +9 -21
  13. package/dist/heavy.js.map +1 -1
  14. package/dist/index.d.ts +40 -16
  15. package/dist/index.esm.js +307 -341
  16. package/dist/index.esm.js.map +1 -1
  17. package/dist/index.js +337 -357
  18. package/dist/index.js.map +1 -1
  19. package/dist/index.min.js +1 -1
  20. package/dist/index.min.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/components/AtomixGlass/AtomixGlass.tsx +2 -15
  23. package/src/components/AtomixGlass/AtomixGlassContainer.tsx +3 -8
  24. package/src/components/Breadcrumb/Breadcrumb.tsx +5 -5
  25. package/src/components/Breadcrumb/BreadcrumbCompound.test.tsx +2 -2
  26. package/src/components/Button/Button.tsx +6 -6
  27. package/src/components/Card/Card.tsx +3 -3
  28. package/src/components/Dropdown/Dropdown.tsx +5 -3
  29. package/src/components/Footer/Footer.tsx +124 -166
  30. package/src/components/Footer/FooterLink.tsx +16 -19
  31. package/src/components/Footer/FooterSection.tsx +40 -39
  32. package/src/components/Footer/FooterSocialLink.tsx +59 -58
  33. package/src/components/Footer/README.md +1 -1
  34. package/src/components/Hero/Hero.tsx +72 -142
  35. package/src/components/Navigation/Menu/MegaMenu.tsx +17 -12
  36. package/src/components/Navigation/Menu/Menu.tsx +49 -24
  37. package/src/components/Navigation/Nav/NavItem.tsx +5 -3
  38. package/src/components/Navigation/SideMenu/SideMenu.tsx +2 -2
  39. package/src/components/Navigation/SideMenu/SideMenuItem.tsx +4 -4
  40. package/src/components/Slider/Slider.tsx +7 -4
  41. package/src/lib/composables/useFooter.ts +117 -20
  42. package/src/lib/composables/useSlider.ts +3 -1
  43. package/src/lib/types/components.ts +44 -12
  44. package/src/styles/06-components/_components.atomix-glass.scss +39 -5
  45. package/src/components/AtomixGlass/__snapshots__/AtomixGlass.test.tsx.snap +0 -222
package/dist/forms.js CHANGED
@@ -467,7 +467,7 @@ const sharedShaderCache = new Map, AtomixGlassContainer = forwardRef((({childre
467
467
  }, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onMouseDown: onMouseDown, onMouseUp: onMouseUp, isHovered: isHovered = !1, isActive: isActive = !1, overLight: overLight = !1, overLightConfig: overLightConfig = {}, borderRadius: borderRadius = 0, padding: padding = "0 0", glassSize: glassSize = {
468
468
  width: 0,
469
469
  height: 0
470
- }, onClick: onClick, mode: mode = "standard", effectiveWithoutEffects: effectiveWithoutEffects = !1, effectiveReducedMotion: effectiveReducedMotion = !1, shaderVariant: shaderVariant = "liquidGlass", withLiquidBlur: withLiquidBlur = !1, elasticity: elasticity = 0, contentRef: contentRef}, ref) => {
470
+ }, onClick: onClick, mode: mode = "standard", effectiveWithoutEffects: effectiveWithoutEffects = !1, effectiveReducedMotion: effectiveReducedMotion = !1, shaderVariant: shaderVariant = "liquidGlass", withLiquidBlur: withLiquidBlur = !1, contentRef: contentRef}, ref) => {
471
471
  // Generate a stable, deterministic ID for SSR compatibility
472
472
  // Use a module-level counter that's consistent across server and client
473
473
  const filterId = useMemo((() => "atomix-glass-filter-" + ++idCounter), []), [shaderMapUrl, setShaderMapUrl] = useState(""), shaderGeneratorRef = useRef(null), shaderUtilsRef = useRef(null), shaderDebounceTimeoutRef = useRef(null);
@@ -663,7 +663,6 @@ const sharedShaderCache = new Map, AtomixGlassContainer = forwardRef((({childre
663
663
  children: [ jsxs("div", {
664
664
  className: ATOMIX_GLASS.FILTER_CLASS,
665
665
  style: {
666
- zIndex: 1,
667
666
  position: "absolute",
668
667
  inset: 0
669
668
  },
@@ -699,9 +698,7 @@ const sharedShaderCache = new Map, AtomixGlassContainer = forwardRef((({childre
699
698
  className: ATOMIX_GLASS.CONTENT_CLASS,
700
699
  style: {
701
700
  position: "relative",
702
- textShadow: "var(--atomix-glass-container-text-shadow)",
703
- // Ensure content is always above the filter layer (zIndex 1)
704
- zIndex: elasticity > 0 ? 100 : 2
701
+ textShadow: "var(--atomix-glass-container-text-shadow)"
705
702
  },
706
703
  children: children
707
704
  }) ]
@@ -1574,7 +1571,6 @@ function useAtomixGlass({glassRef: glassRef, contentRef: contentRef, wrapperRef:
1574
1571
  effectiveWithoutEffects: effectiveWithoutEffects,
1575
1572
  effectiveReducedMotion: effectiveReducedMotion,
1576
1573
  shaderVariant: shaderVariant,
1577
- elasticity: elasticity,
1578
1574
  withLiquidBlur: withLiquidBlur,
1579
1575
  children: children
1580
1576
  }), Boolean(onClick) && jsxs(Fragment, {
@@ -1599,17 +1595,9 @@ function useAtomixGlass({glassRef: glassRef, contentRef: contentRef, wrapperRef:
1599
1595
  }) ]
1600
1596
  }), withBorder && jsxs(Fragment, {
1601
1597
  children: [ jsx("span", {
1602
- className: ATOMIX_GLASS.BORDER_1_CLASS,
1603
- style: {
1604
- width: glassSize.width,
1605
- height: glassSize.height
1606
- }
1598
+ className: ATOMIX_GLASS.BORDER_1_CLASS
1607
1599
  }), jsx("span", {
1608
- className: ATOMIX_GLASS.BORDER_2_CLASS,
1609
- style: {
1610
- width: glassSize.width,
1611
- height: glassSize.height
1612
- }
1600
+ className: ATOMIX_GLASS.BORDER_2_CLASS
1613
1601
  }) ]
1614
1602
  }) ]
1615
1603
  });