@pzh-ui/css 0.0.14 → 0.0.15

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 CHANGED
@@ -39,6 +39,7 @@ module.exports = {
39
39
  '6xl': '4rem',
40
40
  },
41
41
  colors: {
42
+ black: '#000000',
42
43
  white: '#FFF',
43
44
  'pzh-form': '#F4F4F7',
44
45
  gray: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pzh-ui/css",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Contains default styling for projects whitin Provincie Zuid-Holland.",
5
5
  "license": "ISC",
6
6
  "publishConfig": {
@@ -16,10 +16,9 @@
16
16
  "@rollup/plugin-typescript": "^8.3.1",
17
17
  "@tailwindcss/custom-forms": "^0.2.1",
18
18
  "@tailwindcss/forms": "^0.5.0",
19
- "@tailwindcss/line-clamp": "^0.3.1",
20
- "react-datepicker": "^4.7.0"
19
+ "@tailwindcss/line-clamp": "^0.3.1"
21
20
  },
22
- "gitHead": "700912b564406368f0e712b8a3fd25e968af82fa",
21
+ "gitHead": "c26e24a3c13c2acb1c3cbcdee431afac3a58b04e",
23
22
  "devDependencies": {
24
23
  "tailwindcss": "^3.0.23"
25
24
  }
package/src/tailwind.css CHANGED
@@ -739,18 +739,14 @@ select{
739
739
  left: -9999px;
740
740
  }
741
741
 
742
- .top-\[9px\]{
743
- top: 9px;
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
  }
@@ -816,8 +812,16 @@ select{
816
812
  margin-left: 0.25rem;
817
813
  }
818
814
 
819
- .mt-\[9px\]{
820
- margin-top: 9px;
815
+ .mb-6{
816
+ margin-bottom: 1.5rem;
817
+ }
818
+
819
+ .mb-4{
820
+ margin-bottom: 1rem;
821
+ }
822
+
823
+ .mt-2{
824
+ margin-top: 0.5rem;
821
825
  }
822
826
 
823
827
  .block{
@@ -876,10 +880,6 @@ select{
876
880
  width: 1rem;
877
881
  }
878
882
 
879
- .w-\[48px\]{
880
- width: 48px;
881
- }
882
-
883
883
  .max-w-screen-xl{
884
884
  max-width: 1280px;
885
885
  }
@@ -923,6 +923,10 @@ select{
923
923
  justify-content: center;
924
924
  }
925
925
 
926
+ .justify-between{
927
+ justify-content: space-between;
928
+ }
929
+
926
930
  .overflow-hidden{
927
931
  overflow: hidden;
928
932
  }
@@ -947,6 +951,10 @@ select{
947
951
  border-radius: 0.375rem;
948
952
  }
949
953
 
954
+ .rounded-\[4px\]{
955
+ border-radius: 4px;
956
+ }
957
+
950
958
  .rounded-t-md{
951
959
  border-top-left-radius: 0.375rem;
952
960
  border-top-right-radius: 0.375rem;
@@ -956,6 +964,10 @@ select{
956
964
  border-width: 1px;
957
965
  }
958
966
 
967
+ .border-dashed{
968
+ border-style: dashed;
969
+ }
970
+
959
971
  .border-pzh-blue-dark{
960
972
  --tw-border-opacity: 1;
961
973
  border-color: rgb(22 17 59 / var(--tw-border-opacity));
@@ -1059,6 +1071,11 @@ select{
1059
1071
  padding-bottom: 0.25rem;
1060
1072
  }
1061
1073
 
1074
+ .py-6{
1075
+ padding-top: 1.5rem;
1076
+ padding-bottom: 1.5rem;
1077
+ }
1078
+
1062
1079
  .pr-16{
1063
1080
  padding-right: 4rem;
1064
1081
  }
@@ -1159,6 +1176,14 @@ select{
1159
1176
  font-size: 0.8rem;
1160
1177
  }
1161
1178
 
1179
+ .text-\[16px\]{
1180
+ font-size: 16px;
1181
+ }
1182
+
1183
+ .italic{
1184
+ font-style: italic;
1185
+ }
1186
+
1162
1187
  .leading-normal{
1163
1188
  line-height: 1.5;
1164
1189
  }
@@ -1195,6 +1220,11 @@ select{
1195
1220
  color: rgb(209 31 61 / var(--tw-text-opacity));
1196
1221
  }
1197
1222
 
1223
+ .text-pzh-green{
1224
+ --tw-text-opacity: 1;
1225
+ color: rgb(0 128 77 / var(--tw-text-opacity));
1226
+ }
1227
+
1198
1228
  .text-opacity-35{
1199
1229
  --tw-text-opacity: 0.35;
1200
1230
  }
@@ -1203,6 +1233,15 @@ select{
1203
1233
  --tw-text-opacity: 0.55;
1204
1234
  }
1205
1235
 
1236
+ .text-opacity-50{
1237
+ --tw-text-opacity: 0.5;
1238
+ }
1239
+
1240
+ .underline{
1241
+ -webkit-text-decoration-line: underline;
1242
+ text-decoration-line: underline;
1243
+ }
1244
+
1206
1245
  .opacity-0{
1207
1246
  opacity: 0;
1208
1247
  }
@@ -1325,6 +1364,10 @@ h6,
1325
1364
  font-weight: 700;
1326
1365
  }
1327
1366
 
1367
+ /*
1368
+ * Form elements
1369
+ */
1370
+
1328
1371
  .pzh-button{
1329
1372
  display: inline-block;
1330
1373
  border-radius: 0.25rem;
@@ -1503,6 +1546,10 @@ h6,
1503
1546
  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
1547
  }
1505
1548
 
1549
+ /*
1550
+ * React Datepicker
1551
+ */
1552
+
1506
1553
  .react-datepicker {
1507
1554
  font-family: 'Karbon Regular', sans-serif;
1508
1555
  font-weight: 400;
@@ -1570,7 +1617,7 @@ h6,
1570
1617
  border-radius: 9999px;
1571
1618
  }
1572
1619
 
1573
- .react-datepicker__day--today, .react-datepicker__day--keyboard-selected{
1620
+ .react-datepicker__day--today, .react-datepicker__day--today:hover, .react-datepicker__day--keyboard-selected{
1574
1621
  background-color: rgb(22 17 59 / var(--tw-bg-opacity));
1575
1622
  --tw-bg-opacity: 0.1;
1576
1623
  --tw-text-opacity: 1;
@@ -1583,6 +1630,20 @@ h6,
1583
1630
  font-weight: 700;
1584
1631
  }
1585
1632
 
1633
+ .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{
1634
+ height: 7px;
1635
+ width: 7px;
1636
+ border-width: 0px;
1637
+ border-top-width: 1px;
1638
+ border-right-width: 1px;
1639
+ --tw-border-opacity: 1;
1640
+ border-color: rgb(0 0 0 / var(--tw-border-opacity));
1641
+ }
1642
+
1643
+ .react-datepicker__navigation-icon{
1644
+ line-height: 14px;
1645
+ }
1646
+
1586
1647
  .hover\:translate-y-0:hover{
1587
1648
  --tw-translate-y: 0px;
1588
1649
  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));
@@ -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,6 +158,7 @@ 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
  }
@@ -158,3 +167,14 @@ h6,
158
167
  .react-datepicker__day--selected:hover {
159
168
  @apply bg-pzh-green bold;
160
169
  }
170
+
171
+ .react-datepicker__year-read-view--down-arrow,
172
+ .react-datepicker__month-read-view--down-arrow,
173
+ .react-datepicker__month-year-read-view--down-arrow,
174
+ .react-datepicker__navigation-icon::before {
175
+ @apply w-[7px] h-[7px] border border-black border-0 border-t-[1px] border-r-[1px];
176
+ }
177
+
178
+ .react-datepicker__navigation-icon {
179
+ @apply leading-[14px];
180
+ }