@nswds/app 1.55.0 → 1.56.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/dist/globals.css +45 -0
- package/dist/index.cjs +9 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/styles.css +45 -0
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/globals.css
CHANGED
|
@@ -438,6 +438,9 @@
|
|
|
438
438
|
.bottom-0 {
|
|
439
439
|
bottom: calc(var(--spacing) * 0);
|
|
440
440
|
}
|
|
441
|
+
.bottom-2 {
|
|
442
|
+
bottom: calc(var(--spacing) * 2);
|
|
443
|
+
}
|
|
441
444
|
.-left-12 {
|
|
442
445
|
left: calc(var(--spacing) * -12);
|
|
443
446
|
}
|
|
@@ -1078,6 +1081,9 @@
|
|
|
1078
1081
|
.mb-4 {
|
|
1079
1082
|
margin-bottom: calc(var(--spacing) * 4);
|
|
1080
1083
|
}
|
|
1084
|
+
.mb-8 {
|
|
1085
|
+
margin-bottom: calc(var(--spacing) * 8);
|
|
1086
|
+
}
|
|
1081
1087
|
.mb-12 {
|
|
1082
1088
|
margin-bottom: calc(var(--spacing) * 12);
|
|
1083
1089
|
}
|
|
@@ -2525,6 +2531,9 @@
|
|
|
2525
2531
|
.bg-grey-100 {
|
|
2526
2532
|
background-color: oklch(0.9700350548225147 0 0);
|
|
2527
2533
|
}
|
|
2534
|
+
.bg-grey-150 {
|
|
2535
|
+
background-color: oklch(0.9550525822337722 0 0);
|
|
2536
|
+
}
|
|
2528
2537
|
.bg-grey-200 {
|
|
2529
2538
|
background-color: oklch(0.9400701096450296 0 0);
|
|
2530
2539
|
}
|
|
@@ -4415,6 +4424,13 @@
|
|
|
4415
4424
|
}
|
|
4416
4425
|
}
|
|
4417
4426
|
}
|
|
4427
|
+
.group-hover\:text-grey-900 {
|
|
4428
|
+
&:is(:where(.group):hover *) {
|
|
4429
|
+
@media (hover: hover) {
|
|
4430
|
+
color: oklch(0.17511812981113217 0.007251980042076026 242.08383926925922);
|
|
4431
|
+
}
|
|
4432
|
+
}
|
|
4433
|
+
}
|
|
4418
4434
|
.group-hover\:text-white {
|
|
4419
4435
|
&:is(:where(.group):hover *) {
|
|
4420
4436
|
@media (hover: hover) {
|
|
@@ -8710,6 +8726,11 @@
|
|
|
8710
8726
|
border-color: oklch(0.426426783985819 0.011202235626284581 232.61715023407646);
|
|
8711
8727
|
}
|
|
8712
8728
|
}
|
|
8729
|
+
.dark\:border-grey-700 {
|
|
8730
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
8731
|
+
border-color: oklch(0.3479196456937804 0.010781103557482309 237.35049475166784);
|
|
8732
|
+
}
|
|
8733
|
+
}
|
|
8713
8734
|
.dark\:border-grey-800 {
|
|
8714
8735
|
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
8715
8736
|
border-color: oklch(0.26941250740174183 0.010359971488680036 242.08383926925922);
|
|
@@ -8720,6 +8741,11 @@
|
|
|
8720
8741
|
border-color: var(--input);
|
|
8721
8742
|
}
|
|
8722
8743
|
}
|
|
8744
|
+
.dark\:border-primary-600 {
|
|
8745
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
8746
|
+
border-color: oklch(0.5751126532766045 0.2298336295034379 260.75633298199585);
|
|
8747
|
+
}
|
|
8748
|
+
}
|
|
8723
8749
|
.dark\:border-slate-800 {
|
|
8724
8750
|
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
8725
8751
|
border-color: var(--color-slate-800);
|
|
@@ -9138,6 +9164,11 @@
|
|
|
9138
9164
|
color: oklch(0.6447616500965888 0.009489236713901311 230.74294411759388);
|
|
9139
9165
|
}
|
|
9140
9166
|
}
|
|
9167
|
+
.dark\:text-grey-700 {
|
|
9168
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
9169
|
+
color: oklch(0.3479196456937804 0.010781103557482309 237.35049475166784);
|
|
9170
|
+
}
|
|
9171
|
+
}
|
|
9141
9172
|
.dark\:text-muted-foreground {
|
|
9142
9173
|
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
9143
9174
|
color: var(--muted-foreground);
|
|
@@ -9148,6 +9179,11 @@
|
|
|
9148
9179
|
color: oklch(0.719602022988773 0.1609881523353869 242.17574150873253);
|
|
9149
9180
|
}
|
|
9150
9181
|
}
|
|
9182
|
+
.dark\:text-primary-600 {
|
|
9183
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
9184
|
+
color: oklch(0.5751126532766045 0.2298336295034379 260.75633298199585);
|
|
9185
|
+
}
|
|
9186
|
+
}
|
|
9151
9187
|
.dark\:text-red-500 {
|
|
9152
9188
|
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
9153
9189
|
color: var(--color-red-500);
|
|
@@ -9471,6 +9507,15 @@
|
|
|
9471
9507
|
}
|
|
9472
9508
|
}
|
|
9473
9509
|
}
|
|
9510
|
+
.dark\:group-hover\:text-grey-400 {
|
|
9511
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
9512
|
+
&:is(:where(.group):hover *) {
|
|
9513
|
+
@media (hover: hover) {
|
|
9514
|
+
color: oklch(0.8630965162073586 0.007776237801518043 228.8687380011113);
|
|
9515
|
+
}
|
|
9516
|
+
}
|
|
9517
|
+
}
|
|
9518
|
+
}
|
|
9474
9519
|
.dark\:group-data-active\:border-white\/20 {
|
|
9475
9520
|
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
9476
9521
|
&:is(:where(.group)[data-active] *) {
|
package/dist/index.cjs
CHANGED
|
@@ -16459,7 +16459,13 @@ function NavigationMenuList({
|
|
|
16459
16459
|
NavigationMenuPrimitive__namespace.List,
|
|
16460
16460
|
{
|
|
16461
16461
|
"data-slot": "navigation-menu-list",
|
|
16462
|
-
className: cn(
|
|
16462
|
+
className: cn(
|
|
16463
|
+
"group flex flex-1 list-none items-center justify-center gap-1",
|
|
16464
|
+
"flex items-center justify-start border-b whitespace-nowrap [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
16465
|
+
// border color
|
|
16466
|
+
"border-gray-200 dark:border-gray-800",
|
|
16467
|
+
className
|
|
16468
|
+
),
|
|
16463
16469
|
...props
|
|
16464
16470
|
}
|
|
16465
16471
|
);
|
|
@@ -16478,7 +16484,7 @@ function NavigationMenuItem({
|
|
|
16478
16484
|
);
|
|
16479
16485
|
}
|
|
16480
16486
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
16481
|
-
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-primary-800/10 hover:text-accent-foreground focus:bg-primary-800/10 focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-primary-800/10 data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-primary-800/10 data-[state=open]:bg-primary-800/10 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
|
|
16487
|
+
"mb-2 group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-primary-800/10 hover:text-accent-foreground focus:bg-primary-800/10 focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-primary-800/10 data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-primary-800/10 data-[state=open]:bg-primary-800/10 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
|
|
16482
16488
|
);
|
|
16483
16489
|
function NavigationMenuTrigger({
|
|
16484
16490
|
className,
|
|
@@ -16497,7 +16503,7 @@ function NavigationMenuTrigger({
|
|
|
16497
16503
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16498
16504
|
Icons.chevron_down,
|
|
16499
16505
|
{
|
|
16500
|
-
className: "relative top-[1px] ml-1 size-
|
|
16506
|
+
className: "relative top-[1px] ml-1 size-5 transition duration-300 group-data-[state=open]:rotate-180",
|
|
16501
16507
|
"aria-hidden": "true"
|
|
16502
16508
|
}
|
|
16503
16509
|
)
|