@nswds/app 1.36.0 → 1.37.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 +65 -0
- package/dist/index.cjs +183 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -2
- package/dist/index.d.ts +20 -2
- package/dist/index.js +166 -55
- package/dist/index.js.map +1 -1
- package/dist/styles.css +65 -0
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/globals.css
CHANGED
|
@@ -150,6 +150,7 @@
|
|
|
150
150
|
--color-danger-350: oklch(0.6894558094295998 0.12762346824748136 18.339098516052807);
|
|
151
151
|
--color-danger-450: oklch(0.5961466901234453 0.1600594003984286 18.251840020312933);
|
|
152
152
|
--color-danger-500: oklch(0.5647631027123693 0.17094795668235796 18.194273652364046);
|
|
153
|
+
--color-danger-600: oklch(0.5019959278902173 0.19272506925021668 18.079140916466272);
|
|
153
154
|
--color-border: var(--border);
|
|
154
155
|
--animate-hide: hide 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
155
156
|
--animate-slide-down-and-fade: slideDownAndFade 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
@@ -2752,6 +2753,10 @@
|
|
|
2752
2753
|
font-size: var(--text-base);
|
|
2753
2754
|
line-height: calc(var(--spacing) * 5);
|
|
2754
2755
|
}
|
|
2756
|
+
.text-base\/6 {
|
|
2757
|
+
font-size: var(--text-base);
|
|
2758
|
+
line-height: calc(var(--spacing) * 6);
|
|
2759
|
+
}
|
|
2755
2760
|
.text-base\/7 {
|
|
2756
2761
|
font-size: var(--text-base);
|
|
2757
2762
|
line-height: calc(var(--spacing) * 7);
|
|
@@ -2991,6 +2996,9 @@
|
|
|
2991
2996
|
.text-cyan-500 {
|
|
2992
2997
|
color: var(--color-cyan-500);
|
|
2993
2998
|
}
|
|
2999
|
+
.text-danger-600 {
|
|
3000
|
+
color: var(--color-danger-600);
|
|
3001
|
+
}
|
|
2994
3002
|
.text-destructive {
|
|
2995
3003
|
color: var(--destructive);
|
|
2996
3004
|
}
|
|
@@ -5489,6 +5497,14 @@
|
|
|
5489
5497
|
}
|
|
5490
5498
|
}
|
|
5491
5499
|
}
|
|
5500
|
+
.\*\:data-\[slot\=label\]\:font-medium {
|
|
5501
|
+
:is(& > *) {
|
|
5502
|
+
&[data-slot="label"] {
|
|
5503
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
5504
|
+
font-weight: var(--font-weight-medium);
|
|
5505
|
+
}
|
|
5506
|
+
}
|
|
5507
|
+
}
|
|
5492
5508
|
.\*\*\:data-\[slot\=navigation-menu-link\]\:focus\:ring-0 {
|
|
5493
5509
|
:is(& *) {
|
|
5494
5510
|
&[data-slot="navigation-menu-link"] {
|
|
@@ -5540,6 +5556,13 @@
|
|
|
5540
5556
|
}
|
|
5541
5557
|
}
|
|
5542
5558
|
}
|
|
5559
|
+
.\*\:data-\[slot\=text\]\:mt-1 {
|
|
5560
|
+
:is(& > *) {
|
|
5561
|
+
&[data-slot="text"] {
|
|
5562
|
+
margin-top: calc(var(--spacing) * 1);
|
|
5563
|
+
}
|
|
5564
|
+
}
|
|
5565
|
+
}
|
|
5543
5566
|
.data-\[state\=active\]\:border-accent {
|
|
5544
5567
|
&[data-state="active"] {
|
|
5545
5568
|
border-color: var(--accent);
|
|
@@ -7080,6 +7103,11 @@
|
|
|
7080
7103
|
}
|
|
7081
7104
|
}
|
|
7082
7105
|
}
|
|
7106
|
+
.dark\:text-danger-500 {
|
|
7107
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
7108
|
+
color: var(--color-danger-500);
|
|
7109
|
+
}
|
|
7110
|
+
}
|
|
7083
7111
|
.dark\:text-gray-50 {
|
|
7084
7112
|
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
7085
7113
|
color: var(--color-gray-50);
|
|
@@ -7373,6 +7401,13 @@
|
|
|
7373
7401
|
}
|
|
7374
7402
|
}
|
|
7375
7403
|
}
|
|
7404
|
+
.dark\:group-data-\[disabled\=true\]\:text-grey-400 {
|
|
7405
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
7406
|
+
&:is(:where(.group)[data-disabled="true"] *) {
|
|
7407
|
+
color: oklch(0.8630965162073586 0.007776237801518043 228.8687380011113);
|
|
7408
|
+
}
|
|
7409
|
+
}
|
|
7410
|
+
}
|
|
7376
7411
|
.dark\:group-data-\[state\=checked\]\:border-nsw-grey-400 {
|
|
7377
7412
|
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
7378
7413
|
&:is(:where(.group)[data-state="checked"] *) {
|
|
@@ -8321,6 +8356,36 @@
|
|
|
8321
8356
|
border-bottom-width: 1px;
|
|
8322
8357
|
}
|
|
8323
8358
|
}
|
|
8359
|
+
.\[\&\>\*\+\[data-slot\=control\]\]\:mt-6 {
|
|
8360
|
+
&>*+[data-slot=control] {
|
|
8361
|
+
margin-top: calc(var(--spacing) * 6);
|
|
8362
|
+
}
|
|
8363
|
+
}
|
|
8364
|
+
.\[\&\>\[data-slot\=control\]\+\[data-slot\=description\]\]\:mt-3 {
|
|
8365
|
+
&>[data-slot=control]+[data-slot=description] {
|
|
8366
|
+
margin-top: calc(var(--spacing) * 3);
|
|
8367
|
+
}
|
|
8368
|
+
}
|
|
8369
|
+
.\[\&\>\[data-slot\=control\]\+\[data-slot\=error\]\]\:mt-3 {
|
|
8370
|
+
&>[data-slot=control]+[data-slot=error] {
|
|
8371
|
+
margin-top: calc(var(--spacing) * 3);
|
|
8372
|
+
}
|
|
8373
|
+
}
|
|
8374
|
+
.\[\&\>\[data-slot\=description\]\+\[data-slot\=control\]\]\:mt-3 {
|
|
8375
|
+
&>[data-slot=description]+[data-slot=control] {
|
|
8376
|
+
margin-top: calc(var(--spacing) * 3);
|
|
8377
|
+
}
|
|
8378
|
+
}
|
|
8379
|
+
.\[\&\>\[data-slot\=label\]\+\[data-slot\=control\]\]\:mt-3 {
|
|
8380
|
+
&>[data-slot=label]+[data-slot=control] {
|
|
8381
|
+
margin-top: calc(var(--spacing) * 3);
|
|
8382
|
+
}
|
|
8383
|
+
}
|
|
8384
|
+
.\[\&\>\[data-slot\=label\]\+\[data-slot\=description\]\]\:mt-1 {
|
|
8385
|
+
&>[data-slot=label]+[data-slot=description] {
|
|
8386
|
+
margin-top: calc(var(--spacing) * 1);
|
|
8387
|
+
}
|
|
8388
|
+
}
|
|
8324
8389
|
.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\] {
|
|
8325
8390
|
&>[role=checkbox] {
|
|
8326
8391
|
--tw-translate-y: 2px;
|