@pzh-ui/css 0.0.14 → 0.0.17
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/config/index.js +1 -0
- package/package.json +2 -2
- package/src/tailwind.css +77 -15
- package/src/tailwind.src.css +24 -0
package/config/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pzh-ui/css",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"description": "Contains default styling for projects whitin Provincie Zuid-Holland.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"publishConfig": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@tailwindcss/line-clamp": "^0.3.1",
|
|
20
20
|
"react-datepicker": "^4.7.0"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "8dc2a9aa4ea3a425ac7d0b2f384570032f6af27b",
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"tailwindcss": "^3.0.23"
|
|
25
25
|
}
|
package/src/tailwind.css
CHANGED
|
@@ -739,18 +739,14 @@ select{
|
|
|
739
739
|
left: -9999px;
|
|
740
740
|
}
|
|
741
741
|
|
|
742
|
-
.
|
|
743
|
-
|
|
742
|
+
.right-\[14px\]{
|
|
743
|
+
right: 14px;
|
|
744
744
|
}
|
|
745
745
|
|
|
746
746
|
.top-\[14px\]{
|
|
747
747
|
top: 14px;
|
|
748
748
|
}
|
|
749
749
|
|
|
750
|
-
.right-\[14px\]{
|
|
751
|
-
right: 14px;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
750
|
.z-10{
|
|
755
751
|
z-index: 10;
|
|
756
752
|
}
|
|
@@ -812,12 +808,12 @@ select{
|
|
|
812
808
|
margin-bottom: 0.5rem;
|
|
813
809
|
}
|
|
814
810
|
|
|
815
|
-
.
|
|
816
|
-
margin-
|
|
811
|
+
.mt-2{
|
|
812
|
+
margin-top: 0.5rem;
|
|
817
813
|
}
|
|
818
814
|
|
|
819
|
-
.
|
|
820
|
-
margin-
|
|
815
|
+
.ml-1{
|
|
816
|
+
margin-left: 0.25rem;
|
|
821
817
|
}
|
|
822
818
|
|
|
823
819
|
.block{
|
|
@@ -876,10 +872,6 @@ select{
|
|
|
876
872
|
width: 1rem;
|
|
877
873
|
}
|
|
878
874
|
|
|
879
|
-
.w-\[48px\]{
|
|
880
|
-
width: 48px;
|
|
881
|
-
}
|
|
882
|
-
|
|
883
875
|
.max-w-screen-xl{
|
|
884
876
|
max-width: 1280px;
|
|
885
877
|
}
|
|
@@ -888,6 +880,10 @@ select{
|
|
|
888
880
|
max-width: 72rem;
|
|
889
881
|
}
|
|
890
882
|
|
|
883
|
+
.max-w-\[2rem\]{
|
|
884
|
+
max-width: 2rem;
|
|
885
|
+
}
|
|
886
|
+
|
|
891
887
|
.translate-y-2{
|
|
892
888
|
--tw-translate-y: 0.5rem;
|
|
893
889
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -923,6 +919,10 @@ select{
|
|
|
923
919
|
justify-content: center;
|
|
924
920
|
}
|
|
925
921
|
|
|
922
|
+
.justify-between{
|
|
923
|
+
justify-content: space-between;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
926
|
.overflow-hidden{
|
|
927
927
|
overflow: hidden;
|
|
928
928
|
}
|
|
@@ -947,6 +947,10 @@ select{
|
|
|
947
947
|
border-radius: 0.375rem;
|
|
948
948
|
}
|
|
949
949
|
|
|
950
|
+
.rounded-\[4px\]{
|
|
951
|
+
border-radius: 4px;
|
|
952
|
+
}
|
|
953
|
+
|
|
950
954
|
.rounded-t-md{
|
|
951
955
|
border-top-left-radius: 0.375rem;
|
|
952
956
|
border-top-right-radius: 0.375rem;
|
|
@@ -956,6 +960,10 @@ select{
|
|
|
956
960
|
border-width: 1px;
|
|
957
961
|
}
|
|
958
962
|
|
|
963
|
+
.border-dashed{
|
|
964
|
+
border-style: dashed;
|
|
965
|
+
}
|
|
966
|
+
|
|
959
967
|
.border-pzh-blue-dark{
|
|
960
968
|
--tw-border-opacity: 1;
|
|
961
969
|
border-color: rgb(22 17 59 / var(--tw-border-opacity));
|
|
@@ -1054,6 +1062,11 @@ select{
|
|
|
1054
1062
|
padding-right: 1.5rem;
|
|
1055
1063
|
}
|
|
1056
1064
|
|
|
1065
|
+
.py-6{
|
|
1066
|
+
padding-top: 1.5rem;
|
|
1067
|
+
padding-bottom: 1.5rem;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1057
1070
|
.py-1{
|
|
1058
1071
|
padding-top: 0.25rem;
|
|
1059
1072
|
padding-bottom: 0.25rem;
|
|
@@ -1155,10 +1168,18 @@ select{
|
|
|
1155
1168
|
font-size: 1rem;
|
|
1156
1169
|
}
|
|
1157
1170
|
|
|
1171
|
+
.text-\[16px\]{
|
|
1172
|
+
font-size: 16px;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1158
1175
|
.text-\[0\.8rem\]{
|
|
1159
1176
|
font-size: 0.8rem;
|
|
1160
1177
|
}
|
|
1161
1178
|
|
|
1179
|
+
.italic{
|
|
1180
|
+
font-style: italic;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1162
1183
|
.leading-normal{
|
|
1163
1184
|
line-height: 1.5;
|
|
1164
1185
|
}
|
|
@@ -1190,6 +1211,11 @@ select{
|
|
|
1190
1211
|
color: rgb(22 17 59 / var(--tw-text-opacity));
|
|
1191
1212
|
}
|
|
1192
1213
|
|
|
1214
|
+
.text-pzh-green{
|
|
1215
|
+
--tw-text-opacity: 1;
|
|
1216
|
+
color: rgb(0 128 77 / var(--tw-text-opacity));
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1193
1219
|
.text-pzh-red{
|
|
1194
1220
|
--tw-text-opacity: 1;
|
|
1195
1221
|
color: rgb(209 31 61 / var(--tw-text-opacity));
|
|
@@ -1199,10 +1225,19 @@ select{
|
|
|
1199
1225
|
--tw-text-opacity: 0.35;
|
|
1200
1226
|
}
|
|
1201
1227
|
|
|
1228
|
+
.text-opacity-50{
|
|
1229
|
+
--tw-text-opacity: 0.5;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1202
1232
|
.text-opacity-55{
|
|
1203
1233
|
--tw-text-opacity: 0.55;
|
|
1204
1234
|
}
|
|
1205
1235
|
|
|
1236
|
+
.underline{
|
|
1237
|
+
-webkit-text-decoration-line: underline;
|
|
1238
|
+
text-decoration-line: underline;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1206
1241
|
.opacity-0{
|
|
1207
1242
|
opacity: 0;
|
|
1208
1243
|
}
|
|
@@ -1325,6 +1360,10 @@ h6,
|
|
|
1325
1360
|
font-weight: 700;
|
|
1326
1361
|
}
|
|
1327
1362
|
|
|
1363
|
+
/*
|
|
1364
|
+
* Form elements
|
|
1365
|
+
*/
|
|
1366
|
+
|
|
1328
1367
|
.pzh-button{
|
|
1329
1368
|
display: inline-block;
|
|
1330
1369
|
border-radius: 0.25rem;
|
|
@@ -1503,6 +1542,10 @@ h6,
|
|
|
1503
1542
|
content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='rgba(22, 17, 59, 0.35)' 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>");
|
|
1504
1543
|
}
|
|
1505
1544
|
|
|
1545
|
+
/*
|
|
1546
|
+
* React Datepicker
|
|
1547
|
+
*/
|
|
1548
|
+
|
|
1506
1549
|
.react-datepicker {
|
|
1507
1550
|
font-family: 'Karbon Regular', sans-serif;
|
|
1508
1551
|
font-weight: 400;
|
|
@@ -1570,19 +1613,38 @@ h6,
|
|
|
1570
1613
|
border-radius: 9999px;
|
|
1571
1614
|
}
|
|
1572
1615
|
|
|
1573
|
-
.react-datepicker__day--today, .react-datepicker__day--keyboard-selected{
|
|
1616
|
+
.react-datepicker__day--today, .react-datepicker__day--today:hover, .react-datepicker__day--keyboard-selected{
|
|
1574
1617
|
background-color: rgb(22 17 59 / var(--tw-bg-opacity));
|
|
1575
1618
|
--tw-bg-opacity: 0.1;
|
|
1576
1619
|
--tw-text-opacity: 1;
|
|
1577
1620
|
color: rgb(22 17 59 / var(--tw-text-opacity));
|
|
1578
1621
|
}
|
|
1579
1622
|
|
|
1623
|
+
.react-datepicker__day--keyboard-selected:hover{
|
|
1624
|
+
background-color: rgb(22 17 59 / var(--tw-bg-opacity));
|
|
1625
|
+
--tw-bg-opacity: 0.1;
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1580
1628
|
.react-datepicker__day--selected, .react-datepicker__day--selected:hover{
|
|
1581
1629
|
--tw-bg-opacity: 1;
|
|
1582
1630
|
background-color: rgb(0 128 77 / var(--tw-bg-opacity));
|
|
1583
1631
|
font-weight: 700;
|
|
1584
1632
|
}
|
|
1585
1633
|
|
|
1634
|
+
.react-datepicker__year-read-view--down-arrow, .react-datepicker__month-read-view--down-arrow, .react-datepicker__month-year-read-view--down-arrow, .react-datepicker__navigation-icon::before{
|
|
1635
|
+
height: 7px;
|
|
1636
|
+
width: 7px;
|
|
1637
|
+
border-width: 0px;
|
|
1638
|
+
border-top-width: 1px;
|
|
1639
|
+
border-right-width: 1px;
|
|
1640
|
+
--tw-border-opacity: 1;
|
|
1641
|
+
border-color: rgb(0 0 0 / var(--tw-border-opacity));
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
.react-datepicker__navigation-icon{
|
|
1645
|
+
line-height: 14px;
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1586
1648
|
.hover\:translate-y-0:hover{
|
|
1587
1649
|
--tw-translate-y: 0px;
|
|
1588
1650
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
package/src/tailwind.src.css
CHANGED
|
@@ -49,6 +49,10 @@ h6,
|
|
|
49
49
|
font-weight: 700;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
/*
|
|
53
|
+
* Form elements
|
|
54
|
+
*/
|
|
55
|
+
|
|
52
56
|
.pzh-button {
|
|
53
57
|
@apply inline-block transition duration-200 ease-in rounded focus:outline-none focus:ring font-bold leading-none disabled:bg-pzh-gray disabled:text-pzh-blue-dark disabled:text-opacity-35 disabled:cursor-not-allowed;
|
|
54
58
|
}
|
|
@@ -101,6 +105,10 @@ h6,
|
|
|
101
105
|
content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='rgba(22, 17, 59, 0.35)' 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>");
|
|
102
106
|
}
|
|
103
107
|
|
|
108
|
+
/*
|
|
109
|
+
* React Datepicker
|
|
110
|
+
*/
|
|
111
|
+
|
|
104
112
|
.react-datepicker {
|
|
105
113
|
font-family: 'Karbon Regular', sans-serif;
|
|
106
114
|
font-weight: 400;
|
|
@@ -150,11 +158,27 @@ h6,
|
|
|
150
158
|
}
|
|
151
159
|
|
|
152
160
|
.react-datepicker__day--today,
|
|
161
|
+
.react-datepicker__day--today:hover,
|
|
153
162
|
.react-datepicker__day--keyboard-selected {
|
|
154
163
|
@apply bg-pzh-blue-dark bg-opacity-10 text-pzh-blue-dark;
|
|
155
164
|
}
|
|
156
165
|
|
|
166
|
+
.react-datepicker__day--keyboard-selected:hover {
|
|
167
|
+
@apply bg-pzh-blue-dark bg-opacity-10;
|
|
168
|
+
}
|
|
169
|
+
|
|
157
170
|
.react-datepicker__day--selected,
|
|
158
171
|
.react-datepicker__day--selected:hover {
|
|
159
172
|
@apply bg-pzh-green bold;
|
|
160
173
|
}
|
|
174
|
+
|
|
175
|
+
.react-datepicker__year-read-view--down-arrow,
|
|
176
|
+
.react-datepicker__month-read-view--down-arrow,
|
|
177
|
+
.react-datepicker__month-year-read-view--down-arrow,
|
|
178
|
+
.react-datepicker__navigation-icon::before {
|
|
179
|
+
@apply w-[7px] h-[7px] border border-black border-0 border-t-[1px] border-r-[1px];
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.react-datepicker__navigation-icon {
|
|
183
|
+
@apply leading-[14px];
|
|
184
|
+
}
|