@pzh-ui/css 0.0.99 → 0.0.100
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.json +3 -3
- package/src/tailwind.css +101 -27
- package/src/tailwind.src.css +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pzh-ui/css",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.100",
|
|
4
4
|
"description": "Contains default styling for projects within Provincie Zuid-Holland.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"publishConfig": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"react-datepicker": "^4.7.0",
|
|
22
22
|
"react-toastify": "^9.1.2"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "5dcde75eef9a890194f7c5e7e06591fea2628ffd",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"tailwindcss": "^3.
|
|
26
|
+
"tailwindcss": "^3.4.10"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/src/tailwind.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
! tailwindcss v3.
|
|
2
|
+
! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/*
|
|
@@ -32,9 +32,11 @@
|
|
|
32
32
|
4. Use the user's configured `sans` font-family by default.
|
|
33
33
|
5. Use the user's configured `sans` font-feature-settings by default.
|
|
34
34
|
6. Use the user's configured `sans` font-variation-settings by default.
|
|
35
|
+
7. Disable tap highlights on iOS
|
|
35
36
|
*/
|
|
36
37
|
|
|
37
|
-
html
|
|
38
|
+
html,
|
|
39
|
+
:host {
|
|
38
40
|
line-height: 1.5;
|
|
39
41
|
/* 1 */
|
|
40
42
|
-webkit-text-size-adjust: 100%;
|
|
@@ -44,12 +46,14 @@ html {
|
|
|
44
46
|
-o-tab-size: 4;
|
|
45
47
|
tab-size: 4;
|
|
46
48
|
/* 3 */
|
|
47
|
-
font-family: ui-sans-serif, system-ui,
|
|
49
|
+
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
48
50
|
/* 4 */
|
|
49
51
|
font-feature-settings: normal;
|
|
50
52
|
/* 5 */
|
|
51
53
|
font-variation-settings: normal;
|
|
52
54
|
/* 6 */
|
|
55
|
+
-webkit-tap-highlight-color: transparent;
|
|
56
|
+
/* 7 */
|
|
53
57
|
}
|
|
54
58
|
|
|
55
59
|
/*
|
|
@@ -121,8 +125,10 @@ strong {
|
|
|
121
125
|
}
|
|
122
126
|
|
|
123
127
|
/*
|
|
124
|
-
1. Use the user's configured `mono` font
|
|
125
|
-
2.
|
|
128
|
+
1. Use the user's configured `mono` font-family by default.
|
|
129
|
+
2. Use the user's configured `mono` font-feature-settings by default.
|
|
130
|
+
3. Use the user's configured `mono` font-variation-settings by default.
|
|
131
|
+
4. Correct the odd `em` font sizing in all browsers.
|
|
126
132
|
*/
|
|
127
133
|
|
|
128
134
|
code,
|
|
@@ -131,8 +137,12 @@ samp,
|
|
|
131
137
|
pre {
|
|
132
138
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
133
139
|
/* 1 */
|
|
134
|
-
font-
|
|
140
|
+
font-feature-settings: normal;
|
|
135
141
|
/* 2 */
|
|
142
|
+
font-variation-settings: normal;
|
|
143
|
+
/* 3 */
|
|
144
|
+
font-size: 1em;
|
|
145
|
+
/* 4 */
|
|
136
146
|
}
|
|
137
147
|
|
|
138
148
|
/*
|
|
@@ -191,12 +201,18 @@ select,
|
|
|
191
201
|
textarea {
|
|
192
202
|
font-family: inherit;
|
|
193
203
|
/* 1 */
|
|
204
|
+
font-feature-settings: inherit;
|
|
205
|
+
/* 1 */
|
|
206
|
+
font-variation-settings: inherit;
|
|
207
|
+
/* 1 */
|
|
194
208
|
font-size: 100%;
|
|
195
209
|
/* 1 */
|
|
196
210
|
font-weight: inherit;
|
|
197
211
|
/* 1 */
|
|
198
212
|
line-height: inherit;
|
|
199
213
|
/* 1 */
|
|
214
|
+
letter-spacing: inherit;
|
|
215
|
+
/* 1 */
|
|
200
216
|
color: inherit;
|
|
201
217
|
/* 1 */
|
|
202
218
|
margin: 0;
|
|
@@ -220,9 +236,9 @@ select {
|
|
|
220
236
|
*/
|
|
221
237
|
|
|
222
238
|
button,
|
|
223
|
-
[type='button'],
|
|
224
|
-
[type='reset'],
|
|
225
|
-
[type='submit'] {
|
|
239
|
+
input:where([type='button']),
|
|
240
|
+
input:where([type='reset']),
|
|
241
|
+
input:where([type='submit']) {
|
|
226
242
|
-webkit-appearance: button;
|
|
227
243
|
/* 1 */
|
|
228
244
|
background-color: transparent;
|
|
@@ -341,6 +357,14 @@ menu {
|
|
|
341
357
|
padding: 0;
|
|
342
358
|
}
|
|
343
359
|
|
|
360
|
+
/*
|
|
361
|
+
Reset default styling for dialogs.
|
|
362
|
+
*/
|
|
363
|
+
|
|
364
|
+
dialog {
|
|
365
|
+
padding: 0;
|
|
366
|
+
}
|
|
367
|
+
|
|
344
368
|
/*
|
|
345
369
|
Prevent resizing textareas horizontally by default.
|
|
346
370
|
*/
|
|
@@ -635,6 +659,10 @@ select {
|
|
|
635
659
|
--tw-backdrop-opacity: ;
|
|
636
660
|
--tw-backdrop-saturate: ;
|
|
637
661
|
--tw-backdrop-sepia: ;
|
|
662
|
+
--tw-contain-size: ;
|
|
663
|
+
--tw-contain-layout: ;
|
|
664
|
+
--tw-contain-paint: ;
|
|
665
|
+
--tw-contain-style: ;
|
|
638
666
|
}
|
|
639
667
|
|
|
640
668
|
::backdrop {
|
|
@@ -685,6 +713,10 @@ select {
|
|
|
685
713
|
--tw-backdrop-opacity: ;
|
|
686
714
|
--tw-backdrop-saturate: ;
|
|
687
715
|
--tw-backdrop-sepia: ;
|
|
716
|
+
--tw-contain-size: ;
|
|
717
|
+
--tw-contain-layout: ;
|
|
718
|
+
--tw-contain-paint: ;
|
|
719
|
+
--tw-contain-style: ;
|
|
688
720
|
}
|
|
689
721
|
|
|
690
722
|
.container {
|
|
@@ -1326,7 +1358,7 @@ select {
|
|
|
1326
1358
|
.pzh-form-radio:not(:checked) + span:before {
|
|
1327
1359
|
position: absolute;
|
|
1328
1360
|
left: 0px;
|
|
1329
|
-
top: 0.
|
|
1361
|
+
top: 0.25rem;
|
|
1330
1362
|
height: 1.25rem;
|
|
1331
1363
|
width: 1.25rem;
|
|
1332
1364
|
border-radius: 9999px;
|
|
@@ -1348,7 +1380,7 @@ select {
|
|
|
1348
1380
|
.pzh-form-radio:not(:checked) + span:after {
|
|
1349
1381
|
position: absolute;
|
|
1350
1382
|
left: 0.375rem;
|
|
1351
|
-
top: 0.
|
|
1383
|
+
top: 0.625rem;
|
|
1352
1384
|
height: 0.5rem;
|
|
1353
1385
|
width: 0.5rem;
|
|
1354
1386
|
border-radius: 9999px;
|
|
@@ -1392,7 +1424,7 @@ select {
|
|
|
1392
1424
|
.pzh-form-checkbox + span:before {
|
|
1393
1425
|
position: absolute;
|
|
1394
1426
|
left: 0px;
|
|
1395
|
-
top: 0.
|
|
1427
|
+
top: 0.25rem;
|
|
1396
1428
|
height: 1.25rem;
|
|
1397
1429
|
width: 1.25rem;
|
|
1398
1430
|
border-radius: 0.25rem;
|
|
@@ -1418,7 +1450,7 @@ select {
|
|
|
1418
1450
|
.pzh-form-checkbox:not(:checked) + span:after {
|
|
1419
1451
|
position: absolute;
|
|
1420
1452
|
left: 0.25rem;
|
|
1421
|
-
top:
|
|
1453
|
+
top: 0.125rem;
|
|
1422
1454
|
height: 0.75rem;
|
|
1423
1455
|
width: 0.75rem;
|
|
1424
1456
|
--tw-text-opacity: 1;
|
|
@@ -1763,10 +1795,6 @@ select {
|
|
|
1763
1795
|
margin-bottom: -1px;
|
|
1764
1796
|
}
|
|
1765
1797
|
|
|
1766
|
-
.-mt-0 {
|
|
1767
|
-
margin-top: -0px;
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
1798
|
.-mt-0\.5 {
|
|
1771
1799
|
margin-top: -0.125rem;
|
|
1772
1800
|
}
|
|
@@ -1815,10 +1843,6 @@ select {
|
|
|
1815
1843
|
margin-right: 1rem;
|
|
1816
1844
|
}
|
|
1817
1845
|
|
|
1818
|
-
.mr-8 {
|
|
1819
|
-
margin-right: 2rem;
|
|
1820
|
-
}
|
|
1821
|
-
|
|
1822
1846
|
.mt-1 {
|
|
1823
1847
|
margin-top: 0.25rem;
|
|
1824
1848
|
}
|
|
@@ -2133,6 +2157,10 @@ select {
|
|
|
2133
2157
|
gap: 1rem;
|
|
2134
2158
|
}
|
|
2135
2159
|
|
|
2160
|
+
.gap-6 {
|
|
2161
|
+
gap: 1.5rem;
|
|
2162
|
+
}
|
|
2163
|
+
|
|
2136
2164
|
.gap-8 {
|
|
2137
2165
|
gap: 2rem;
|
|
2138
2166
|
}
|
|
@@ -2225,10 +2253,6 @@ select {
|
|
|
2225
2253
|
border-color: rgb(40 31 107 / var(--tw-border-opacity));
|
|
2226
2254
|
}
|
|
2227
2255
|
|
|
2228
|
-
.border-pzh-blue-dark\/35 {
|
|
2229
|
-
border-color: rgb(22 17 59 / 0.35);
|
|
2230
|
-
}
|
|
2231
|
-
|
|
2232
2256
|
.border-pzh-cool-gray-dark {
|
|
2233
2257
|
--tw-border-opacity: 1;
|
|
2234
2258
|
border-color: rgb(92 92 92 / var(--tw-border-opacity));
|
|
@@ -2527,6 +2551,10 @@ select {
|
|
|
2527
2551
|
padding-right: 0.5rem;
|
|
2528
2552
|
}
|
|
2529
2553
|
|
|
2554
|
+
.pr-4 {
|
|
2555
|
+
padding-right: 1rem;
|
|
2556
|
+
}
|
|
2557
|
+
|
|
2530
2558
|
.pr-8 {
|
|
2531
2559
|
padding-right: 2rem;
|
|
2532
2560
|
}
|
|
@@ -2708,6 +2736,11 @@ select {
|
|
|
2708
2736
|
color: rgb(0 128 77 / var(--tw-text-opacity));
|
|
2709
2737
|
}
|
|
2710
2738
|
|
|
2739
|
+
.text-pzh-green-500 {
|
|
2740
|
+
--tw-text-opacity: 1;
|
|
2741
|
+
color: rgb(0 128 77 / var(--tw-text-opacity));
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2711
2744
|
.text-pzh-green-900 {
|
|
2712
2745
|
--tw-text-opacity: 1;
|
|
2713
2746
|
color: rgb(0 77 46 / var(--tw-text-opacity));
|
|
@@ -3085,6 +3118,11 @@ ol li ol li ol li {
|
|
|
3085
3118
|
border-color: rgb(22 17 59 / var(--tw-border-opacity));
|
|
3086
3119
|
}
|
|
3087
3120
|
|
|
3121
|
+
.hover\:border-pzh-green-500:hover {
|
|
3122
|
+
--tw-border-opacity: 1;
|
|
3123
|
+
border-color: rgb(0 128 77 / var(--tw-border-opacity));
|
|
3124
|
+
}
|
|
3125
|
+
|
|
3088
3126
|
.hover\:border-pzh-green-dark:hover {
|
|
3089
3127
|
--tw-border-opacity: 1;
|
|
3090
3128
|
border-color: rgb(0 77 46 / var(--tw-border-opacity));
|
|
@@ -3129,6 +3167,11 @@ ol li ol li ol li {
|
|
|
3129
3167
|
color: rgb(0 128 77 / var(--tw-text-opacity));
|
|
3130
3168
|
}
|
|
3131
3169
|
|
|
3170
|
+
.hover\:text-pzh-green-500:hover {
|
|
3171
|
+
--tw-text-opacity: 1;
|
|
3172
|
+
color: rgb(0 128 77 / var(--tw-text-opacity));
|
|
3173
|
+
}
|
|
3174
|
+
|
|
3132
3175
|
.hover\:text-pzh-white:hover {
|
|
3133
3176
|
--tw-text-opacity: 1;
|
|
3134
3177
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
@@ -3172,6 +3215,33 @@ ol li ol li ol li {
|
|
|
3172
3215
|
opacity: 0.4;
|
|
3173
3216
|
}
|
|
3174
3217
|
|
|
3218
|
+
.has-\[\:checked\]\:border-pzh-green-500:has(:checked) {
|
|
3219
|
+
--tw-border-opacity: 1;
|
|
3220
|
+
border-color: rgb(0 128 77 / var(--tw-border-opacity));
|
|
3221
|
+
}
|
|
3222
|
+
|
|
3223
|
+
.has-\[\:checked\]\:bg-pzh-green-10:has(:checked) {
|
|
3224
|
+
--tw-bg-opacity: 1;
|
|
3225
|
+
background-color: rgb(237 250 240 / var(--tw-bg-opacity));
|
|
3226
|
+
}
|
|
3227
|
+
|
|
3228
|
+
.has-\[\:focus\]\:ring:has(:focus) {
|
|
3229
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
3230
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
3231
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
.has-\[\:focus\]\:ring-2:has(:focus) {
|
|
3235
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
3236
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
3237
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
3238
|
+
}
|
|
3239
|
+
|
|
3240
|
+
.has-\[\:focus\]\:ring-pzh-focus:has(:focus) {
|
|
3241
|
+
--tw-ring-opacity: 1;
|
|
3242
|
+
--tw-ring-color: rgb(35 96 197 / var(--tw-ring-opacity));
|
|
3243
|
+
}
|
|
3244
|
+
|
|
3175
3245
|
@keyframes accordion-up {
|
|
3176
3246
|
from {
|
|
3177
3247
|
height: var(--radix-accordion-content-height);
|
|
@@ -3182,7 +3252,7 @@ ol li ol li ol li {
|
|
|
3182
3252
|
}
|
|
3183
3253
|
}
|
|
3184
3254
|
|
|
3185
|
-
.data-\[state\=closed\]\:animate-accordion-up[data-state=closed] {
|
|
3255
|
+
.data-\[state\=closed\]\:animate-accordion-up[data-state="closed"] {
|
|
3186
3256
|
animation: accordion-up 0.2s ease-out;
|
|
3187
3257
|
}
|
|
3188
3258
|
|
|
@@ -3196,7 +3266,7 @@ ol li ol li ol li {
|
|
|
3196
3266
|
}
|
|
3197
3267
|
}
|
|
3198
3268
|
|
|
3199
|
-
.data-\[state\=open\]\:animate-accordion-down[data-state=open] {
|
|
3269
|
+
.data-\[state\=open\]\:animate-accordion-down[data-state="open"] {
|
|
3200
3270
|
animation: accordion-down 0.2s ease-out;
|
|
3201
3271
|
}
|
|
3202
3272
|
|
|
@@ -3256,6 +3326,10 @@ ol li ol li ol li {
|
|
|
3256
3326
|
grid-column: span 4 / span 4;
|
|
3257
3327
|
}
|
|
3258
3328
|
|
|
3329
|
+
.md\:gap-4 {
|
|
3330
|
+
gap: 1rem;
|
|
3331
|
+
}
|
|
3332
|
+
|
|
3259
3333
|
.md\:gap-8 {
|
|
3260
3334
|
gap: 2rem;
|
|
3261
3335
|
}
|
package/src/tailwind.src.css
CHANGED
|
@@ -96,7 +96,7 @@ ol li ol li ol li {
|
|
|
96
96
|
|
|
97
97
|
.pzh-form-radio:checked + span:before,
|
|
98
98
|
.pzh-form-radio:not(:checked) + span:before {
|
|
99
|
-
@apply border-pzh-gray-600 absolute left-0 top-
|
|
99
|
+
@apply border-pzh-gray-600 absolute left-0 top-1 h-5 w-5 rounded-full border;
|
|
100
100
|
content: "";
|
|
101
101
|
}
|
|
102
102
|
.pzh-form-radio:not(:checked):not(:disabled):hover + span:before,
|
|
@@ -105,7 +105,7 @@ ol li ol li ol li {
|
|
|
105
105
|
}
|
|
106
106
|
.pzh-form-radio:checked + span:after,
|
|
107
107
|
.pzh-form-radio:not(:checked) + span:after {
|
|
108
|
-
@apply bg-pzh-white absolute left-1.5 top-2 h-2 w-2 rounded-full transition duration-200;
|
|
108
|
+
@apply bg-pzh-white absolute left-1.5 top-2.5 h-2 w-2 rounded-full transition duration-200;
|
|
109
109
|
content: "";
|
|
110
110
|
}
|
|
111
111
|
.pzh-form-radio:checked + span:before {
|
|
@@ -127,7 +127,7 @@ ol li ol li ol li {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.pzh-form-checkbox + span:before {
|
|
130
|
-
@apply border-pzh-gray-600 absolute left-0 top-
|
|
130
|
+
@apply border-pzh-gray-600 absolute left-0 top-1 h-5 w-5 rounded border transition duration-200;
|
|
131
131
|
content: "";
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -137,7 +137,7 @@ ol li ol li ol li {
|
|
|
137
137
|
|
|
138
138
|
.pzh-form-checkbox:checked + span:after,
|
|
139
139
|
.pzh-form-checkbox:not(:checked) + span:after {
|
|
140
|
-
@apply absolute left-1 top-
|
|
140
|
+
@apply absolute left-1 top-0.5 h-3 w-3 text-white transition duration-200;
|
|
141
141
|
content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='white' d='M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z'/></svg>");
|
|
142
142
|
}
|
|
143
143
|
|