@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.js
CHANGED
|
@@ -1649,16 +1649,16 @@ function TopRibbon_styled_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tr
|
|
|
1649
1649
|
var StyledTopRibbon = /*#__PURE__*/createStyled("header", true ? {
|
|
1650
1650
|
target: "ei9etl03"
|
|
1651
1651
|
} : 0)( true ? {
|
|
1652
|
-
name: "
|
|
1653
|
-
styles: "background-color:#000000;width:100%;position:relative
|
|
1652
|
+
name: "ah54qx",
|
|
1653
|
+
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;}"
|
|
1654
1654
|
} : 0);
|
|
1655
1655
|
|
|
1656
1656
|
// Navigation list container
|
|
1657
1657
|
var StyledNavigationList = /*#__PURE__*/createStyled("ul", true ? {
|
|
1658
1658
|
target: "ei9etl02"
|
|
1659
1659
|
} : 0)( true ? {
|
|
1660
|
-
name: "
|
|
1661
|
-
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"
|
|
1660
|
+
name: "m78rlq",
|
|
1661
|
+
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"
|
|
1662
1662
|
} : 0);
|
|
1663
1663
|
|
|
1664
1664
|
// Individual navigation item container
|
|
@@ -1691,12 +1691,13 @@ function TopRibbon_toPrimitive(t, r) { if ("object" != TopRibbon_typeof(t) || !t
|
|
|
1691
1691
|
/**
|
|
1692
1692
|
* TopRibbon Navigation Component
|
|
1693
1693
|
*
|
|
1694
|
-
* Renders a
|
|
1694
|
+
* Renders a navigation ribbon visible on all screen sizes with:
|
|
1695
1695
|
* - Pure black background (#000000) per Figma specifications
|
|
1696
1696
|
* - White text links (#FFFFFF) with Figma-exact hover underlines
|
|
1697
1697
|
* - Figma-exact typography (14px/20px, Inter font)
|
|
1698
1698
|
* - Full WCAG 2.1 AA accessibility compliance
|
|
1699
|
-
* - Responsive behavior (
|
|
1699
|
+
* - Responsive behavior (visible on mobile, tablet, and desktop)
|
|
1700
|
+
* - Horizontal scroll on small viewports when items overflow
|
|
1700
1701
|
* - CSR & SSR compatible (no direct window/document access at render time)
|
|
1701
1702
|
*
|
|
1702
1703
|
* @param {Object} props - Component props
|