@shohojdhara/atomix 0.4.4 → 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.
- package/dist/atomix.css +25 -5
- package/dist/atomix.css.map +1 -1
- package/dist/atomix.min.css +1 -1
- package/dist/atomix.min.css.map +1 -1
- package/dist/charts.js +2 -6
- package/dist/charts.js.map +1 -1
- package/dist/core.d.ts +4 -4
- package/dist/core.js +12 -16
- package/dist/core.js.map +1 -1
- package/dist/forms.js +2 -6
- package/dist/forms.js.map +1 -1
- package/dist/heavy.js +7 -11
- package/dist/heavy.js.map +1 -1
- package/dist/index.d.ts +40 -16
- package/dist/index.esm.js +305 -331
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +335 -347
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AtomixGlass/AtomixGlass.tsx +0 -1
- package/src/components/AtomixGlass/AtomixGlassContainer.tsx +3 -8
- package/src/components/Breadcrumb/Breadcrumb.tsx +5 -5
- package/src/components/Breadcrumb/BreadcrumbCompound.test.tsx +2 -2
- package/src/components/Button/Button.tsx +6 -6
- package/src/components/Card/Card.tsx +3 -3
- package/src/components/Dropdown/Dropdown.tsx +5 -3
- package/src/components/Footer/Footer.tsx +124 -166
- package/src/components/Footer/FooterLink.tsx +16 -19
- package/src/components/Footer/FooterSection.tsx +40 -39
- package/src/components/Footer/FooterSocialLink.tsx +59 -58
- package/src/components/Footer/README.md +1 -1
- package/src/components/Hero/Hero.tsx +72 -142
- package/src/components/Navigation/Menu/MegaMenu.tsx +17 -12
- package/src/components/Navigation/Menu/Menu.tsx +49 -24
- package/src/components/Navigation/Nav/NavItem.tsx +5 -3
- package/src/components/Navigation/SideMenu/SideMenu.tsx +2 -2
- package/src/components/Navigation/SideMenu/SideMenuItem.tsx +4 -4
- package/src/components/Slider/Slider.tsx +7 -4
- package/src/lib/composables/useFooter.ts +117 -20
- package/src/lib/composables/useSlider.ts +3 -1
- package/src/lib/types/components.ts +44 -12
- package/src/styles/06-components/_components.atomix-glass.scss +38 -5
- 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,
|
|
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, {
|