@pzh-ui/css 0.0.66 → 0.0.67
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 +2 -2
- package/src/tailwind.css +77 -13
- package/src/tailwind.src.css +45 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pzh-ui/css",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.67",
|
|
4
4
|
"description": "Contains default styling for projects whitin Provincie Zuid-Holland.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"publishConfig": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"react-datepicker": "^4.7.0",
|
|
22
22
|
"react-toastify": "^9.1.2"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "39b583329c63a8f7dc7cd5bb5b1ed144311cb817",
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"tailwindcss": "^3.3.2"
|
|
27
27
|
}
|
package/src/tailwind.css
CHANGED
|
@@ -1271,8 +1271,8 @@ select {
|
|
|
1271
1271
|
border-width: 1px;
|
|
1272
1272
|
--tw-border-opacity: 1;
|
|
1273
1273
|
border-color: rgb(138 136 157 / var(--tw-border-opacity));
|
|
1274
|
-
padding-top: 10px;
|
|
1275
1274
|
padding-bottom: 6px;
|
|
1275
|
+
padding-top: 10px;
|
|
1276
1276
|
line-height: 30px;
|
|
1277
1277
|
--tw-text-opacity: 1;
|
|
1278
1278
|
color: rgb(22 17 59 / var(--tw-text-opacity));
|
|
@@ -1338,8 +1338,8 @@ select {
|
|
|
1338
1338
|
.pzh-form-radio:checked + span:after,
|
|
1339
1339
|
.pzh-form-radio:not(:checked) + span:after {
|
|
1340
1340
|
position: absolute;
|
|
1341
|
-
top: 0.25rem;
|
|
1342
1341
|
left: 0.25rem;
|
|
1342
|
+
top: 0.25rem;
|
|
1343
1343
|
height: 14px;
|
|
1344
1344
|
width: 14px;
|
|
1345
1345
|
border-radius: 9999px;
|
|
@@ -1401,8 +1401,8 @@ select {
|
|
|
1401
1401
|
.pzh-form-checkbox:checked + span:after,
|
|
1402
1402
|
.pzh-form-checkbox:not(:checked) + span:after {
|
|
1403
1403
|
position: absolute;
|
|
1404
|
-
top: 2px;
|
|
1405
1404
|
left: 0.25rem;
|
|
1405
|
+
top: 2px;
|
|
1406
1406
|
height: 14px;
|
|
1407
1407
|
width: 14px;
|
|
1408
1408
|
--tw-text-opacity: 1;
|
|
@@ -1441,7 +1441,8 @@ select {
|
|
|
1441
1441
|
font-family: 'Karbon Regular', sans-serif;
|
|
1442
1442
|
font-weight: 400;
|
|
1443
1443
|
font-size: 0.8rem;
|
|
1444
|
-
box-shadow:
|
|
1444
|
+
box-shadow:
|
|
1445
|
+
0px 18px 60px rgba(0, 0, 0, 0.07),
|
|
1445
1446
|
0px 4.02054px 13.4018px rgba(0, 0, 0, 0.0417275),
|
|
1446
1447
|
0px 1.19702px 3.99006px rgba(0, 0, 0, 0.0282725);
|
|
1447
1448
|
border-style: none;
|
|
@@ -1482,7 +1483,9 @@ select {
|
|
|
1482
1483
|
}
|
|
1483
1484
|
|
|
1484
1485
|
.pzh-datepicker
|
|
1485
|
-
.react-datepicker__day--outside-month:not(
|
|
1486
|
+
.react-datepicker__day--outside-month:not(
|
|
1487
|
+
.react-datepicker__day--selected
|
|
1488
|
+
) {
|
|
1486
1489
|
color: rgb(22 17 59 / var(--tw-text-opacity));
|
|
1487
1490
|
--tw-text-opacity: 0.35;
|
|
1488
1491
|
}
|
|
@@ -1507,8 +1510,12 @@ select {
|
|
|
1507
1510
|
border-radius: 9999px;
|
|
1508
1511
|
}
|
|
1509
1512
|
|
|
1510
|
-
.pzh-datepicker
|
|
1511
|
-
|
|
1513
|
+
.pzh-datepicker
|
|
1514
|
+
.react-datepicker__day--today:not(.react-datepicker__day--selected),
|
|
1515
|
+
.pzh-datepicker
|
|
1516
|
+
.react-datepicker__day--today:hover:not(
|
|
1517
|
+
.react-datepicker__day--selected
|
|
1518
|
+
),
|
|
1512
1519
|
.pzh-datepicker .react-datepicker__day--keyboard-selected {
|
|
1513
1520
|
background-color: rgb(22 17 59 / var(--tw-bg-opacity));
|
|
1514
1521
|
--tw-bg-opacity: 0.1;
|
|
@@ -1535,8 +1542,8 @@ select {
|
|
|
1535
1542
|
height: 7px;
|
|
1536
1543
|
width: 7px;
|
|
1537
1544
|
border-width: 0px;
|
|
1538
|
-
border-top-width: 1px;
|
|
1539
1545
|
border-right-width: 1px;
|
|
1546
|
+
border-top-width: 1px;
|
|
1540
1547
|
--tw-border-opacity: 1;
|
|
1541
1548
|
border-color: rgb(0 0 0 / var(--tw-border-opacity));
|
|
1542
1549
|
}
|
|
@@ -1549,6 +1556,25 @@ select {
|
|
|
1549
1556
|
box-shadow: none !important;
|
|
1550
1557
|
}
|
|
1551
1558
|
|
|
1559
|
+
.pzh-modal {
|
|
1560
|
+
&[data-entering] {
|
|
1561
|
+
animation: fade 150ms;
|
|
1562
|
+
}
|
|
1563
|
+
&[data-exiting] {
|
|
1564
|
+
animation: fade 150ms reverse ease-in;
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
@keyframes fade {
|
|
1569
|
+
from {
|
|
1570
|
+
opacity: 0;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
to {
|
|
1574
|
+
opacity: 1;
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1552
1578
|
.sr-only {
|
|
1553
1579
|
position: absolute;
|
|
1554
1580
|
width: 1px;
|
|
@@ -1614,6 +1640,10 @@ select {
|
|
|
1614
1640
|
right: 0.75rem;
|
|
1615
1641
|
}
|
|
1616
1642
|
|
|
1643
|
+
.right-8 {
|
|
1644
|
+
right: 2rem;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1617
1647
|
.right-\[14px\] {
|
|
1618
1648
|
right: 14px;
|
|
1619
1649
|
}
|
|
@@ -1622,6 +1652,10 @@ select {
|
|
|
1622
1652
|
top: 0px;
|
|
1623
1653
|
}
|
|
1624
1654
|
|
|
1655
|
+
.top-4 {
|
|
1656
|
+
top: 1rem;
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1625
1659
|
.top-\[14px\] {
|
|
1626
1660
|
top: 14px;
|
|
1627
1661
|
}
|
|
@@ -1642,6 +1676,10 @@ select {
|
|
|
1642
1676
|
z-index: 50;
|
|
1643
1677
|
}
|
|
1644
1678
|
|
|
1679
|
+
.z-\[100\] {
|
|
1680
|
+
z-index: 100;
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1645
1683
|
.col-span-6 {
|
|
1646
1684
|
grid-column: span 6 / span 6;
|
|
1647
1685
|
}
|
|
@@ -1915,6 +1953,10 @@ select {
|
|
|
1915
1953
|
max-width: 72rem;
|
|
1916
1954
|
}
|
|
1917
1955
|
|
|
1956
|
+
.max-w-\[1200px\] {
|
|
1957
|
+
max-width: 1200px;
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1918
1960
|
.max-w-\[2rem\] {
|
|
1919
1961
|
max-width: 2rem;
|
|
1920
1962
|
}
|
|
@@ -1927,6 +1969,18 @@ select {
|
|
|
1927
1969
|
max-width: 400px;
|
|
1928
1970
|
}
|
|
1929
1971
|
|
|
1972
|
+
.max-w-\[600px\] {
|
|
1973
|
+
max-width: 600px;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
.max-w-\[812px\] {
|
|
1977
|
+
max-width: 812px;
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
.max-w-\[980px\] {
|
|
1981
|
+
max-width: 980px;
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1930
1984
|
.max-w-full {
|
|
1931
1985
|
max-width: 100%;
|
|
1932
1986
|
}
|
|
@@ -2175,6 +2229,10 @@ select {
|
|
|
2175
2229
|
background-color: rgb(51 51 51 / var(--tw-bg-opacity));
|
|
2176
2230
|
}
|
|
2177
2231
|
|
|
2232
|
+
.bg-black\/30 {
|
|
2233
|
+
background-color: rgb(0 0 0 / 0.3);
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2178
2236
|
.bg-pzh-blue {
|
|
2179
2237
|
--tw-bg-opacity: 1;
|
|
2180
2238
|
background-color: rgb(40 31 107 / var(--tw-bg-opacity));
|
|
@@ -2596,6 +2654,12 @@ select {
|
|
|
2596
2654
|
opacity: 0.5;
|
|
2597
2655
|
}
|
|
2598
2656
|
|
|
2657
|
+
.shadow-\[0_1\.1970183849334717px_3\.9900612831115723px_0_rgba\(0\2c 0\2c 0\2c 0\.0283\)\2c 0_4\.020535469055176px_13\.401785850524902px_0_rgba\(0\2c 0\2c 0\2c 0\.0417\)\2c 0_18px_60px_0_rgba\(0\2c 0\2c 0\2c 0\.07\)\] {
|
|
2658
|
+
--tw-shadow: 0 1.1970183849334717px 3.9900612831115723px 0 rgba(0,0,0,0.0283),0 4.020535469055176px 13.401785850524902px 0 rgba(0,0,0,0.0417),0 18px 60px 0 rgba(0,0,0,0.07);
|
|
2659
|
+
--tw-shadow-colored: 0 1.1970183849334717px 3.9900612831115723px 0 var(--tw-shadow-color), 0 4.020535469055176px 13.401785850524902px 0 var(--tw-shadow-color), 0 18px 60px 0 var(--tw-shadow-color);
|
|
2660
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2661
|
+
}
|
|
2662
|
+
|
|
2599
2663
|
.shadow-card {
|
|
2600
2664
|
--tw-shadow: 0px 18px 60px rgba(0, 0, 0, 0.07), 0px 4.02054px 13.4018px rgba(0, 0, 0, 0.0417275), 0px 1.19702px 3.99006px rgba(0, 0, 0, 0.0282725);
|
|
2601
2665
|
--tw-shadow-colored: 0px 18px 60px var(--tw-shadow-color), 0px 4.02054px 13.4018px var(--tw-shadow-color), 0px 1.19702px 3.99006px var(--tw-shadow-color);
|
|
@@ -2804,6 +2868,11 @@ b {
|
|
|
2804
2868
|
border-color: rgb(22 17 59 / var(--tw-border-opacity));
|
|
2805
2869
|
}
|
|
2806
2870
|
|
|
2871
|
+
.hover\:border-pzh-green-dark:hover {
|
|
2872
|
+
--tw-border-opacity: 1;
|
|
2873
|
+
border-color: rgb(0 77 46 / var(--tw-border-opacity));
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2807
2876
|
.hover\:bg-pzh-blue-dark:hover {
|
|
2808
2877
|
--tw-bg-opacity: 1;
|
|
2809
2878
|
background-color: rgb(22 17 59 / var(--tw-bg-opacity));
|
|
@@ -2814,11 +2883,6 @@ b {
|
|
|
2814
2883
|
background-color: rgb(245 245 245 / var(--tw-bg-opacity));
|
|
2815
2884
|
}
|
|
2816
2885
|
|
|
2817
|
-
.hover\:bg-pzh-green:hover {
|
|
2818
|
-
--tw-bg-opacity: 1;
|
|
2819
|
-
background-color: rgb(0 128 77 / var(--tw-bg-opacity));
|
|
2820
|
-
}
|
|
2821
|
-
|
|
2822
2886
|
.hover\:bg-pzh-green-dark:hover {
|
|
2823
2887
|
--tw-bg-opacity: 1;
|
|
2824
2888
|
background-color: rgb(0 77 46 / var(--tw-bg-opacity));
|
package/src/tailwind.src.css
CHANGED
|
@@ -64,11 +64,11 @@ b {
|
|
|
64
64
|
*/
|
|
65
65
|
|
|
66
66
|
.pzh-button {
|
|
67
|
-
@apply
|
|
67
|
+
@apply focus:ring-pzh-blue-dark disabled:bg-pzh-gray-200 disabled:text-pzh-blue-dark disabled:text-opacity-35 inline-block rounded leading-none ring-offset-2 transition duration-200 ease-in focus:outline-none focus:ring disabled:cursor-not-allowed;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.pzh-form-input {
|
|
71
|
-
@apply
|
|
71
|
+
@apply placeholder-pzh-gray-600 text-pzh-blue-dark border-pzh-gray-600 hover:border-pzh-blue focus:ring-pzh-blue focus:border-pzh-blue disabled:bg-pzh-gray-200 block w-full appearance-none rounded border pb-[6px] pt-[10px] leading-[30px] focus:outline-none focus:outline-none focus:ring focus:ring-2;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.pzh-form-error,
|
|
@@ -80,12 +80,12 @@ b {
|
|
|
80
80
|
|
|
81
81
|
.pzh-form-radio:checked + span:before,
|
|
82
82
|
.pzh-form-radio:not(:checked) + span:before {
|
|
83
|
-
@apply absolute left-0 top-0
|
|
83
|
+
@apply border-pzh-gray-600 bg-pzh-gray-200 absolute left-0 top-0 h-[24px] w-[24px] rounded-full border;
|
|
84
84
|
content: '';
|
|
85
85
|
}
|
|
86
86
|
.pzh-form-radio:checked + span:after,
|
|
87
87
|
.pzh-form-radio:not(:checked) + span:after {
|
|
88
|
-
@apply absolute
|
|
88
|
+
@apply bg-pzh-green absolute left-1 top-1 h-[14px] w-[14px] rounded-full transition duration-200;
|
|
89
89
|
content: '';
|
|
90
90
|
}
|
|
91
91
|
.pzh-form-radio:not(:checked) + span:after,
|
|
@@ -104,7 +104,7 @@ b {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.pzh-form-checkbox + span:before {
|
|
107
|
-
@apply absolute left-0 top-0
|
|
107
|
+
@apply border-pzh-gray-600 bg-pzh-gray-200 absolute left-0 top-0 h-[24px] w-[24px] rounded-[4px] border transition duration-200;
|
|
108
108
|
content: '';
|
|
109
109
|
}
|
|
110
110
|
|
|
@@ -114,7 +114,7 @@ b {
|
|
|
114
114
|
|
|
115
115
|
.pzh-form-checkbox:checked + span:after,
|
|
116
116
|
.pzh-form-checkbox:not(:checked) + span:after {
|
|
117
|
-
@apply absolute top-[2px]
|
|
117
|
+
@apply absolute left-1 top-[2px] h-[14px] w-[14px] text-white transition duration-200;
|
|
118
118
|
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>");
|
|
119
119
|
}
|
|
120
120
|
|
|
@@ -124,11 +124,11 @@ b {
|
|
|
124
124
|
|
|
125
125
|
.pzh-form-radio:focus + span:before,
|
|
126
126
|
.pzh-form-checkbox:focus + span:before {
|
|
127
|
-
@apply ring
|
|
127
|
+
@apply ring-pzh-blue border-pzh-blue outline-none ring ring-2;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.form-field-label {
|
|
131
|
-
@apply
|
|
131
|
+
@apply mb-2 block text-xs uppercase tracking-wide text-gray-700;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
.form-field-description {
|
|
@@ -143,7 +143,8 @@ b {
|
|
|
143
143
|
font-family: 'Karbon Regular', sans-serif;
|
|
144
144
|
font-weight: 400;
|
|
145
145
|
font-size: 0.8rem;
|
|
146
|
-
box-shadow:
|
|
146
|
+
box-shadow:
|
|
147
|
+
0px 18px 60px rgba(0, 0, 0, 0.07),
|
|
147
148
|
0px 4.02054px 13.4018px rgba(0, 0, 0, 0.0417275),
|
|
148
149
|
0px 1.19702px 3.99006px rgba(0, 0, 0, 0.0282725);
|
|
149
150
|
@apply text-pzh-blue-dark border-none;
|
|
@@ -154,11 +155,11 @@ b {
|
|
|
154
155
|
}
|
|
155
156
|
|
|
156
157
|
.pzh-datepicker .react-datepicker__header {
|
|
157
|
-
@apply bg-white
|
|
158
|
+
@apply border-none bg-white;
|
|
158
159
|
}
|
|
159
160
|
|
|
160
161
|
.pzh-datepicker .react-datepicker__month {
|
|
161
|
-
@apply
|
|
162
|
+
@apply mx-0.5 mt-0;
|
|
162
163
|
}
|
|
163
164
|
|
|
164
165
|
.pzh-datepicker .react-datepicker__day-names {
|
|
@@ -166,7 +167,7 @@ b {
|
|
|
166
167
|
}
|
|
167
168
|
|
|
168
169
|
.pzh-datepicker .react-datepicker__day-name {
|
|
169
|
-
@apply bold leading-[26px]
|
|
170
|
+
@apply bold my-0 leading-[26px];
|
|
170
171
|
}
|
|
171
172
|
|
|
172
173
|
.pzh-datepicker .react-datepicker__current-month {
|
|
@@ -174,24 +175,30 @@ b {
|
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
.pzh-datepicker
|
|
177
|
-
.react-datepicker__day--outside-month:not(
|
|
178
|
+
.react-datepicker__day--outside-month:not(
|
|
179
|
+
.react-datepicker__day--selected
|
|
180
|
+
) {
|
|
178
181
|
@apply text-pzh-blue-dark text-opacity-35;
|
|
179
182
|
}
|
|
180
183
|
|
|
181
184
|
.pzh-datepicker .react-datepicker__day-name,
|
|
182
185
|
.pzh-datepicker .react-datepicker__day,
|
|
183
186
|
.pzh-datepicker .react-datepicker__time-name {
|
|
184
|
-
@apply
|
|
187
|
+
@apply mx-2 my-1 h-[26px] w-[26px] leading-[28px];
|
|
185
188
|
}
|
|
186
189
|
|
|
187
190
|
.pzh-datepicker .react-datepicker__day {
|
|
188
191
|
@apply rounded-full hover:rounded-full;
|
|
189
192
|
}
|
|
190
193
|
|
|
191
|
-
.pzh-datepicker
|
|
192
|
-
|
|
194
|
+
.pzh-datepicker
|
|
195
|
+
.react-datepicker__day--today:not(.react-datepicker__day--selected),
|
|
196
|
+
.pzh-datepicker
|
|
197
|
+
.react-datepicker__day--today:hover:not(
|
|
198
|
+
.react-datepicker__day--selected
|
|
199
|
+
),
|
|
193
200
|
.pzh-datepicker .react-datepicker__day--keyboard-selected {
|
|
194
|
-
@apply bg-pzh-blue-dark
|
|
201
|
+
@apply bg-pzh-blue-dark text-pzh-blue-dark bg-opacity-10;
|
|
195
202
|
}
|
|
196
203
|
|
|
197
204
|
.pzh-datepicker .react-datepicker__day--keyboard-selected:hover {
|
|
@@ -207,7 +214,7 @@ b {
|
|
|
207
214
|
.pzh-datepicker .react-datepicker__month-read-view--down-arrow,
|
|
208
215
|
.pzh-datepicker .react-datepicker__month-year-read-view--down-arrow,
|
|
209
216
|
.pzh-datepicker .react-datepicker__navigation-icon::before {
|
|
210
|
-
@apply
|
|
217
|
+
@apply h-[7px] w-[7px] border border-0 border-r-[1px] border-t-[1px] border-black;
|
|
211
218
|
}
|
|
212
219
|
|
|
213
220
|
.pzh-datepicker .react-datepicker__navigation-icon {
|
|
@@ -225,4 +232,24 @@ b {
|
|
|
225
232
|
pointer-events: none;
|
|
226
233
|
height: 0;
|
|
227
234
|
}
|
|
235
|
+
|
|
236
|
+
.pzh-modal {
|
|
237
|
+
&[data-entering] {
|
|
238
|
+
animation: fade 150ms;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
&[data-exiting] {
|
|
242
|
+
animation: fade 150ms reverse ease-in;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
@keyframes fade {
|
|
247
|
+
from {
|
|
248
|
+
opacity: 0;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
to {
|
|
252
|
+
opacity: 1;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
228
255
|
}
|