@nswds/app 1.125.13 → 1.125.15

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/index.js CHANGED
@@ -4929,7 +4929,7 @@ var Legend = React5__default.forwardRef((props, ref) => {
4929
4929
  tabIndex: 0,
4930
4930
  className: cn(
4931
4931
  "flex h-full",
4932
- enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory items-center overflow-auto pr-12 pl-4 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden" : "" : "flex-wrap"
4932
+ enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory [scrollbar-width:none] items-center overflow-auto pr-12 pl-4 [&::-webkit-scrollbar]:hidden" : "" : "flex-wrap"
4933
4933
  ),
4934
4934
  children: categories.map((category, index) => /* @__PURE__ */ jsx(
4935
4935
  LegendItem,
@@ -6202,7 +6202,7 @@ var Legend2 = React5__default.forwardRef((props, ref) => {
6202
6202
  tabIndex: 0,
6203
6203
  className: cn(
6204
6204
  "flex h-full",
6205
- enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory items-center overflow-auto pr-12 pl-4 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden" : "" : "flex-wrap"
6205
+ enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory [scrollbar-width:none] items-center overflow-auto pr-12 pl-4 [&::-webkit-scrollbar]:hidden" : "" : "flex-wrap"
6206
6206
  ),
6207
6207
  children: categories.map((category, index) => /* @__PURE__ */ jsx(
6208
6208
  LegendItem2,
@@ -15465,7 +15465,7 @@ function TokenRow({ color: color2, token, value }) {
15465
15465
  }
15466
15466
  ),
15467
15467
  /* @__PURE__ */ jsx("span", { className: "shrink-0 text-[0.66rem] font-medium text-grey-800", children: token }),
15468
- /* @__PURE__ */ jsx("span", { className: "flex-1 overflow-x-auto text-[0.6rem] tracking-[0.08em] whitespace-nowrap text-grey-600 [scrollbar-width:thin]", children: value })
15468
+ /* @__PURE__ */ jsx("span", { className: "flex-1 [scrollbar-width:thin] overflow-x-auto text-[0.6rem] tracking-[0.08em] whitespace-nowrap text-grey-600", children: value })
15469
15469
  ] });
15470
15470
  }
15471
15471
  function ForegroundOption({
@@ -16357,7 +16357,7 @@ var Legend4 = React5__default.forwardRef((props, ref) => {
16357
16357
  ref: scrollableRef,
16358
16358
  className: cn(
16359
16359
  "flex h-full",
16360
- enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory items-center overflow-auto pr-12 pl-4 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden" : "" : "flex-wrap"
16360
+ enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory [scrollbar-width:none] items-center overflow-auto pr-12 pl-4 [&::-webkit-scrollbar]:hidden" : "" : "flex-wrap"
16361
16361
  ),
16362
16362
  children: categories.map((category, index) => {
16363
16363
  const barColor = barCategoryColors.get(category.name);
@@ -18993,7 +18993,7 @@ function FormatToggle({ format, setFormat }) {
18993
18993
 
18994
18994
  // package.json
18995
18995
  var package_default = {
18996
- version: "1.125.10"};
18996
+ version: "1.125.14"};
18997
18997
  var SluggerContext = React5__default.createContext(null);
18998
18998
  function flattenText(nodes) {
18999
18999
  if (nodes == null || typeof nodes === "boolean") return "";
@@ -19769,7 +19769,7 @@ var Legend7 = React5__default.forwardRef((props, ref) => {
19769
19769
  tabIndex: 0,
19770
19770
  className: cn(
19771
19771
  "flex h-full",
19772
- enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory items-center overflow-auto pr-12 pl-4 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden" : "" : "flex-wrap"
19772
+ enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory [scrollbar-width:none] items-center overflow-auto pr-12 pl-4 [&::-webkit-scrollbar]:hidden" : "" : "flex-wrap"
19773
19773
  ),
19774
19774
  children: categories.map((category, index) => /* @__PURE__ */ jsx(
19775
19775
  LegendItem4,
@@ -29833,7 +29833,7 @@ function NavigationMenuList({
29833
29833
  "data-slot": "navigation-menu-list",
29834
29834
  className: cn(
29835
29835
  "group flex flex-1 list-none items-center justify-center gap-1",
29836
- "flex items-center justify-start border-b whitespace-nowrap [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
29836
+ "flex [scrollbar-width:none] items-center justify-start border-b whitespace-nowrap [&::-webkit-scrollbar]:hidden",
29837
29837
  // border color
29838
29838
  "border-gray-200 dark:border-gray-800",
29839
29839
  className
@@ -32946,7 +32946,7 @@ var TabNavigation = React5__default.forwardRef(({ className, children, ...props
32946
32946
  {
32947
32947
  className: cn(
32948
32948
  // base
32949
- "relative flex cursor-pointer items-center justify-start border-b whitespace-nowrap [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
32949
+ "relative flex cursor-pointer [scrollbar-width:none] items-center justify-start border-b whitespace-nowrap [&::-webkit-scrollbar]:hidden",
32950
32950
  // border color
32951
32951
  "border-grey-200 dark:border-grey-800",
32952
32952
  className