@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/charts.js CHANGED
@@ -1773,7 +1773,7 @@ const sharedShaderCache = new Map, AtomixGlassContainer = forwardRef((({childre
1773
1773
  }, 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 = {
1774
1774
  width: 0,
1775
1775
  height: 0
1776
- }, onClick: onClick, mode: mode = "standard", effectiveWithoutEffects: effectiveWithoutEffects = !1, effectiveReducedMotion: effectiveReducedMotion = !1, shaderVariant: shaderVariant = "liquidGlass", withLiquidBlur: withLiquidBlur = !1, elasticity: elasticity = 0, contentRef: contentRef}, ref) => {
1776
+ }, onClick: onClick, mode: mode = "standard", effectiveWithoutEffects: effectiveWithoutEffects = !1, effectiveReducedMotion: effectiveReducedMotion = !1, shaderVariant: shaderVariant = "liquidGlass", withLiquidBlur: withLiquidBlur = !1, contentRef: contentRef}, ref) => {
1777
1777
  // Generate a stable, deterministic ID for SSR compatibility
1778
1778
  // Use a module-level counter that's consistent across server and client
1779
1779
  const filterId = useMemo((() => "atomix-glass-filter-" + ++idCounter), []), [shaderMapUrl, setShaderMapUrl] = useState(""), shaderGeneratorRef = useRef(null), shaderUtilsRef = useRef(null), shaderDebounceTimeoutRef = useRef(null);
@@ -1969,7 +1969,6 @@ const sharedShaderCache = new Map, AtomixGlassContainer = forwardRef((({childre
1969
1969
  children: [ jsxs("div", {
1970
1970
  className: ATOMIX_GLASS.FILTER_CLASS,
1971
1971
  style: {
1972
- zIndex: 1,
1973
1972
  position: "absolute",
1974
1973
  inset: 0
1975
1974
  },
@@ -2005,9 +2004,7 @@ const sharedShaderCache = new Map, AtomixGlassContainer = forwardRef((({childre
2005
2004
  className: ATOMIX_GLASS.CONTENT_CLASS,
2006
2005
  style: {
2007
2006
  position: "relative",
2008
- textShadow: "var(--atomix-glass-container-text-shadow)",
2009
- // Ensure content is always above the filter layer (zIndex 1)
2010
- zIndex: elasticity > 0 ? 100 : 2
2007
+ textShadow: "var(--atomix-glass-container-text-shadow)"
2011
2008
  },
2012
2009
  children: children
2013
2010
  }) ]
@@ -2880,7 +2877,6 @@ function useAtomixGlass({glassRef: glassRef, contentRef: contentRef, wrapperRef:
2880
2877
  effectiveWithoutEffects: effectiveWithoutEffects,
2881
2878
  effectiveReducedMotion: effectiveReducedMotion,
2882
2879
  shaderVariant: shaderVariant,
2883
- elasticity: elasticity,
2884
2880
  withLiquidBlur: withLiquidBlur,
2885
2881
  children: children
2886
2882
  }), Boolean(onClick) && jsxs(Fragment, {
@@ -2905,17 +2901,9 @@ function useAtomixGlass({glassRef: glassRef, contentRef: contentRef, wrapperRef:
2905
2901
  }) ]
2906
2902
  }), withBorder && jsxs(Fragment, {
2907
2903
  children: [ jsx("span", {
2908
- className: ATOMIX_GLASS.BORDER_1_CLASS,
2909
- style: {
2910
- width: glassSize.width,
2911
- height: glassSize.height
2912
- }
2904
+ className: ATOMIX_GLASS.BORDER_1_CLASS
2913
2905
  }), jsx("span", {
2914
- className: ATOMIX_GLASS.BORDER_2_CLASS,
2915
- style: {
2916
- width: glassSize.width,
2917
- height: glassSize.height
2918
- }
2906
+ className: ATOMIX_GLASS.BORDER_2_CLASS
2919
2907
  }) ]
2920
2908
  }) ]
2921
2909
  });