@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/globals.css +602 -546
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/styles.css +602 -546
- package/dist/styles.css.map +1 -1
- package/package.json +9 -5
package/dist/index.cjs
CHANGED
|
@@ -4985,7 +4985,7 @@ var Legend = React5__namespace.default.forwardRef((props, ref) => {
|
|
|
4985
4985
|
tabIndex: 0,
|
|
4986
4986
|
className: cn(
|
|
4987
4987
|
"flex h-full",
|
|
4988
|
-
enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory items-center overflow-auto pr-12 pl-4 [
|
|
4988
|
+
enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory [scrollbar-width:none] items-center overflow-auto pr-12 pl-4 [&::-webkit-scrollbar]:hidden" : "" : "flex-wrap"
|
|
4989
4989
|
),
|
|
4990
4990
|
children: categories.map((category, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4991
4991
|
LegendItem,
|
|
@@ -6258,7 +6258,7 @@ var Legend2 = React5__namespace.default.forwardRef((props, ref) => {
|
|
|
6258
6258
|
tabIndex: 0,
|
|
6259
6259
|
className: cn(
|
|
6260
6260
|
"flex h-full",
|
|
6261
|
-
enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory items-center overflow-auto pr-12 pl-4 [
|
|
6261
|
+
enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory [scrollbar-width:none] items-center overflow-auto pr-12 pl-4 [&::-webkit-scrollbar]:hidden" : "" : "flex-wrap"
|
|
6262
6262
|
),
|
|
6263
6263
|
children: categories.map((category, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
6264
6264
|
LegendItem2,
|
|
@@ -15521,7 +15521,7 @@ function TokenRow({ color: color2, token, value }) {
|
|
|
15521
15521
|
}
|
|
15522
15522
|
),
|
|
15523
15523
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-[0.66rem] font-medium text-grey-800", children: token }),
|
|
15524
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 overflow-x-auto text-[0.6rem] tracking-[0.08em] whitespace-nowrap text-grey-600
|
|
15524
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 [scrollbar-width:thin] overflow-x-auto text-[0.6rem] tracking-[0.08em] whitespace-nowrap text-grey-600", children: value })
|
|
15525
15525
|
] });
|
|
15526
15526
|
}
|
|
15527
15527
|
function ForegroundOption({
|
|
@@ -16413,7 +16413,7 @@ var Legend4 = React5__namespace.default.forwardRef((props, ref) => {
|
|
|
16413
16413
|
ref: scrollableRef,
|
|
16414
16414
|
className: cn(
|
|
16415
16415
|
"flex h-full",
|
|
16416
|
-
enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory items-center overflow-auto pr-12 pl-4 [
|
|
16416
|
+
enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory [scrollbar-width:none] items-center overflow-auto pr-12 pl-4 [&::-webkit-scrollbar]:hidden" : "" : "flex-wrap"
|
|
16417
16417
|
),
|
|
16418
16418
|
children: categories.map((category, index) => {
|
|
16419
16419
|
const barColor = barCategoryColors.get(category.name);
|
|
@@ -19049,7 +19049,7 @@ function FormatToggle({ format, setFormat }) {
|
|
|
19049
19049
|
|
|
19050
19050
|
// package.json
|
|
19051
19051
|
var package_default = {
|
|
19052
|
-
version: "1.125.
|
|
19052
|
+
version: "1.125.14"};
|
|
19053
19053
|
var SluggerContext = React5__namespace.default.createContext(null);
|
|
19054
19054
|
function flattenText(nodes) {
|
|
19055
19055
|
if (nodes == null || typeof nodes === "boolean") return "";
|
|
@@ -19825,7 +19825,7 @@ var Legend7 = React5__namespace.default.forwardRef((props, ref) => {
|
|
|
19825
19825
|
tabIndex: 0,
|
|
19826
19826
|
className: cn(
|
|
19827
19827
|
"flex h-full",
|
|
19828
|
-
enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory items-center overflow-auto pr-12 pl-4 [
|
|
19828
|
+
enableLegendSlider ? hasScroll?.right || hasScroll?.left ? "snap-mandatory [scrollbar-width:none] items-center overflow-auto pr-12 pl-4 [&::-webkit-scrollbar]:hidden" : "" : "flex-wrap"
|
|
19829
19829
|
),
|
|
19830
19830
|
children: categories.map((category, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
19831
19831
|
LegendItem4,
|
|
@@ -29889,7 +29889,7 @@ function NavigationMenuList({
|
|
|
29889
29889
|
"data-slot": "navigation-menu-list",
|
|
29890
29890
|
className: cn(
|
|
29891
29891
|
"group flex flex-1 list-none items-center justify-center gap-1",
|
|
29892
|
-
"flex items-center justify-start border-b whitespace-nowrap [
|
|
29892
|
+
"flex [scrollbar-width:none] items-center justify-start border-b whitespace-nowrap [&::-webkit-scrollbar]:hidden",
|
|
29893
29893
|
// border color
|
|
29894
29894
|
"border-gray-200 dark:border-gray-800",
|
|
29895
29895
|
className
|
|
@@ -33002,7 +33002,7 @@ var TabNavigation = React5__namespace.default.forwardRef(({ className, children,
|
|
|
33002
33002
|
{
|
|
33003
33003
|
className: cn(
|
|
33004
33004
|
// base
|
|
33005
|
-
"relative flex cursor-pointer items-center justify-start border-b whitespace-nowrap [
|
|
33005
|
+
"relative flex cursor-pointer [scrollbar-width:none] items-center justify-start border-b whitespace-nowrap [&::-webkit-scrollbar]:hidden",
|
|
33006
33006
|
// border color
|
|
33007
33007
|
"border-grey-200 dark:border-grey-800",
|
|
33008
33008
|
className
|