@nuskin/nextgen-header 1.16.1 → 1.17.0
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/package-dist/index.mjs
CHANGED
|
@@ -1619,16 +1619,16 @@ function TopRibbon_styled_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tr
|
|
|
1619
1619
|
var StyledTopRibbon = /*#__PURE__*/createStyled("header", true ? {
|
|
1620
1620
|
target: "ei9etl03"
|
|
1621
1621
|
} : 0)( true ? {
|
|
1622
|
-
name: "
|
|
1623
|
-
styles: "background-color:#000000;width:100%;position:relative
|
|
1622
|
+
name: "ah54qx",
|
|
1623
|
+
styles: "background-color:#000000;width:100%;position:relative;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;&::-webkit-scrollbar{display:none;}&:focus-within{outline:none;}"
|
|
1624
1624
|
} : 0);
|
|
1625
1625
|
|
|
1626
1626
|
// Navigation list container
|
|
1627
1627
|
var StyledNavigationList = /*#__PURE__*/createStyled("ul", true ? {
|
|
1628
1628
|
target: "ei9etl02"
|
|
1629
1629
|
} : 0)( true ? {
|
|
1630
|
-
name: "
|
|
1631
|
-
styles: "margin:0;padding:0;list-style:none;display:flex;align-items:center;justify-content:center;gap:24px;padding:10px 24px;width:100%;box-sizing:border-box"
|
|
1630
|
+
name: "m78rlq",
|
|
1631
|
+
styles: "margin:0 auto;padding:0;list-style:none;display:flex;align-items:center;justify-content:center;gap:24px;padding:10px 24px;min-width:100%;width:max-content;box-sizing:border-box"
|
|
1632
1632
|
} : 0);
|
|
1633
1633
|
|
|
1634
1634
|
// Individual navigation item container
|
|
@@ -1661,12 +1661,13 @@ function TopRibbon_toPrimitive(t, r) { if ("object" != TopRibbon_typeof(t) || !t
|
|
|
1661
1661
|
/**
|
|
1662
1662
|
* TopRibbon Navigation Component
|
|
1663
1663
|
*
|
|
1664
|
-
* Renders a
|
|
1664
|
+
* Renders a navigation ribbon visible on all screen sizes with:
|
|
1665
1665
|
* - Pure black background (#000000) per Figma specifications
|
|
1666
1666
|
* - White text links (#FFFFFF) with Figma-exact hover underlines
|
|
1667
1667
|
* - Figma-exact typography (14px/20px, Inter font)
|
|
1668
1668
|
* - Full WCAG 2.1 AA accessibility compliance
|
|
1669
|
-
* - Responsive behavior (
|
|
1669
|
+
* - Responsive behavior (visible on mobile, tablet, and desktop)
|
|
1670
|
+
* - Horizontal scroll on small viewports when items overflow
|
|
1670
1671
|
* - CSR & SSR compatible (no direct window/document access at render time)
|
|
1671
1672
|
*
|
|
1672
1673
|
* @param {Object} props - Component props
|