@abhir9/pd-design-system 0.1.9 → 0.1.11
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/index.css +2 -0
- package/dist/styles.css +115 -93
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
@tailwind base;
|
|
2
2
|
@tailwind components;
|
|
3
3
|
@tailwind utilities;
|
|
4
|
+
/* Note: @tailwind utilities is required for @layer utilities to work, but won't generate utilities
|
|
5
|
+
since we don't use Tailwind utility classes in this CSS file. Consumer's Tailwind will generate utilities. */
|
|
4
6
|
|
|
5
7
|
@layer base {
|
|
6
8
|
/**
|
package/dist/styles.css
CHANGED
|
@@ -852,7 +852,7 @@ button {
|
|
|
852
852
|
position: sticky;
|
|
853
853
|
}
|
|
854
854
|
.bottom-1 {
|
|
855
|
-
bottom: 0.
|
|
855
|
+
bottom: 0.1rem;
|
|
856
856
|
}
|
|
857
857
|
.left-1\/2 {
|
|
858
858
|
left: 50%;
|
|
@@ -862,31 +862,19 @@ button {
|
|
|
862
862
|
margin-right: auto;
|
|
863
863
|
}
|
|
864
864
|
.mb-1 {
|
|
865
|
-
margin-bottom: 0.
|
|
865
|
+
margin-bottom: 0.1rem;
|
|
866
866
|
}
|
|
867
867
|
.mb-2 {
|
|
868
|
-
margin-bottom: 0.
|
|
868
|
+
margin-bottom: 0.2rem;
|
|
869
869
|
}
|
|
870
870
|
.mb-6 {
|
|
871
|
-
margin-bottom:
|
|
872
|
-
}
|
|
873
|
-
.ml-1\.5 {
|
|
874
|
-
margin-left: 0.375rem;
|
|
871
|
+
margin-bottom: 0.6rem;
|
|
875
872
|
}
|
|
876
873
|
.ml-2 {
|
|
877
|
-
margin-left: 0.
|
|
878
|
-
}
|
|
879
|
-
.ml-2\.5 {
|
|
880
|
-
margin-left: 0.625rem;
|
|
881
|
-
}
|
|
882
|
-
.mr-1\.5 {
|
|
883
|
-
margin-right: 0.375rem;
|
|
874
|
+
margin-left: 0.2rem;
|
|
884
875
|
}
|
|
885
876
|
.mr-2 {
|
|
886
|
-
margin-right: 0.
|
|
887
|
-
}
|
|
888
|
-
.mr-2\.5 {
|
|
889
|
-
margin-right: 0.625rem;
|
|
877
|
+
margin-right: 0.2rem;
|
|
890
878
|
}
|
|
891
879
|
.inline {
|
|
892
880
|
display: inline;
|
|
@@ -907,31 +895,31 @@ button {
|
|
|
907
895
|
display: none;
|
|
908
896
|
}
|
|
909
897
|
.h-10 {
|
|
910
|
-
height:
|
|
898
|
+
height: 1rem;
|
|
911
899
|
}
|
|
912
900
|
.h-12 {
|
|
913
|
-
height:
|
|
901
|
+
height: 1.2rem;
|
|
914
902
|
}
|
|
915
903
|
.h-16 {
|
|
916
|
-
height:
|
|
904
|
+
height: 1.6rem;
|
|
917
905
|
}
|
|
918
906
|
.h-2 {
|
|
919
|
-
height: 0.
|
|
907
|
+
height: 0.2rem;
|
|
920
908
|
}
|
|
921
909
|
.h-28 {
|
|
922
|
-
height:
|
|
910
|
+
height: 2.8rem;
|
|
923
911
|
}
|
|
924
912
|
.h-3 {
|
|
925
|
-
height: 0.
|
|
913
|
+
height: 0.3rem;
|
|
926
914
|
}
|
|
927
915
|
.h-4 {
|
|
928
|
-
height:
|
|
916
|
+
height: 0.4rem;
|
|
929
917
|
}
|
|
930
918
|
.h-5 {
|
|
931
|
-
height:
|
|
919
|
+
height: 0.5rem;
|
|
932
920
|
}
|
|
933
921
|
.h-8 {
|
|
934
|
-
height:
|
|
922
|
+
height: 0.8rem;
|
|
935
923
|
}
|
|
936
924
|
.min-h-\[100px\] {
|
|
937
925
|
min-height: 100px;
|
|
@@ -940,28 +928,28 @@ button {
|
|
|
940
928
|
min-height: 100vh;
|
|
941
929
|
}
|
|
942
930
|
.w-2 {
|
|
943
|
-
width: 0.
|
|
931
|
+
width: 0.2rem;
|
|
944
932
|
}
|
|
945
933
|
.w-20 {
|
|
946
|
-
width:
|
|
934
|
+
width: 2rem;
|
|
947
935
|
}
|
|
948
936
|
.w-24 {
|
|
949
|
-
width:
|
|
937
|
+
width: 2.4rem;
|
|
950
938
|
}
|
|
951
939
|
.w-3 {
|
|
952
|
-
width: 0.
|
|
940
|
+
width: 0.3rem;
|
|
953
941
|
}
|
|
954
942
|
.w-4 {
|
|
955
|
-
width:
|
|
943
|
+
width: 0.4rem;
|
|
956
944
|
}
|
|
957
945
|
.w-5 {
|
|
958
|
-
width:
|
|
946
|
+
width: 0.5rem;
|
|
959
947
|
}
|
|
960
948
|
.w-full {
|
|
961
949
|
width: 100%;
|
|
962
950
|
}
|
|
963
951
|
.min-w-0 {
|
|
964
|
-
min-width:
|
|
952
|
+
min-width: 0.0rem;
|
|
965
953
|
}
|
|
966
954
|
.max-w-3xl {
|
|
967
955
|
max-width: 48rem;
|
|
@@ -1027,51 +1015,51 @@ button {
|
|
|
1027
1015
|
justify-content: center;
|
|
1028
1016
|
}
|
|
1029
1017
|
.gap-1 {
|
|
1030
|
-
gap: 0.
|
|
1018
|
+
gap: 0.1rem;
|
|
1031
1019
|
}
|
|
1032
1020
|
.gap-2 {
|
|
1033
|
-
gap: 0.
|
|
1021
|
+
gap: 0.2rem;
|
|
1034
1022
|
}
|
|
1035
1023
|
.gap-3 {
|
|
1036
|
-
gap: 0.
|
|
1024
|
+
gap: 0.3rem;
|
|
1037
1025
|
}
|
|
1038
1026
|
.gap-4 {
|
|
1039
|
-
gap:
|
|
1027
|
+
gap: 0.4rem;
|
|
1040
1028
|
}
|
|
1041
1029
|
.gap-6 {
|
|
1042
|
-
gap:
|
|
1030
|
+
gap: 0.6rem;
|
|
1043
1031
|
}
|
|
1044
1032
|
.gap-8 {
|
|
1045
|
-
gap:
|
|
1033
|
+
gap: 0.8rem;
|
|
1046
1034
|
}
|
|
1047
1035
|
.gap-x-6 {
|
|
1048
|
-
-moz-column-gap:
|
|
1049
|
-
column-gap:
|
|
1036
|
+
-moz-column-gap: 0.6rem;
|
|
1037
|
+
column-gap: 0.6rem;
|
|
1050
1038
|
}
|
|
1051
1039
|
.space-y-10 > :not([hidden]) ~ :not([hidden]) {
|
|
1052
1040
|
--tw-space-y-reverse: 0;
|
|
1053
|
-
margin-top: calc(
|
|
1054
|
-
margin-bottom: calc(
|
|
1041
|
+
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
|
1042
|
+
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
|
|
1055
1043
|
}
|
|
1056
1044
|
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
|
|
1057
1045
|
--tw-space-y-reverse: 0;
|
|
1058
|
-
margin-top: calc(0.
|
|
1059
|
-
margin-bottom: calc(0.
|
|
1046
|
+
margin-top: calc(0.3rem * calc(1 - var(--tw-space-y-reverse)));
|
|
1047
|
+
margin-bottom: calc(0.3rem * var(--tw-space-y-reverse));
|
|
1060
1048
|
}
|
|
1061
1049
|
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
|
|
1062
1050
|
--tw-space-y-reverse: 0;
|
|
1063
|
-
margin-top: calc(
|
|
1064
|
-
margin-bottom: calc(
|
|
1051
|
+
margin-top: calc(0.4rem * calc(1 - var(--tw-space-y-reverse)));
|
|
1052
|
+
margin-bottom: calc(0.4rem * var(--tw-space-y-reverse));
|
|
1065
1053
|
}
|
|
1066
1054
|
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
|
|
1067
1055
|
--tw-space-y-reverse: 0;
|
|
1068
|
-
margin-top: calc(
|
|
1069
|
-
margin-bottom: calc(
|
|
1056
|
+
margin-top: calc(0.6rem * calc(1 - var(--tw-space-y-reverse)));
|
|
1057
|
+
margin-bottom: calc(0.6rem * var(--tw-space-y-reverse));
|
|
1070
1058
|
}
|
|
1071
1059
|
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
|
|
1072
1060
|
--tw-space-y-reverse: 0;
|
|
1073
|
-
margin-top: calc(
|
|
1074
|
-
margin-bottom: calc(
|
|
1061
|
+
margin-top: calc(0.8rem * calc(1 - var(--tw-space-y-reverse)));
|
|
1062
|
+
margin-bottom: calc(0.8rem * var(--tw-space-y-reverse));
|
|
1075
1063
|
}
|
|
1076
1064
|
.overflow-hidden {
|
|
1077
1065
|
overflow: hidden;
|
|
@@ -1087,17 +1075,11 @@ button {
|
|
|
1087
1075
|
.whitespace-nowrap {
|
|
1088
1076
|
white-space: nowrap;
|
|
1089
1077
|
}
|
|
1090
|
-
.rounded-full {
|
|
1091
|
-
border-radius: 9999px;
|
|
1092
|
-
}
|
|
1093
1078
|
.rounded-lg {
|
|
1094
|
-
border-radius: 0.
|
|
1079
|
+
border-radius: 0.8rem;
|
|
1095
1080
|
}
|
|
1096
1081
|
.rounded-md {
|
|
1097
|
-
border-radius: 0.
|
|
1098
|
-
}
|
|
1099
|
-
.rounded-xl {
|
|
1100
|
-
border-radius: 0.75rem;
|
|
1082
|
+
border-radius: 0.6rem;
|
|
1101
1083
|
}
|
|
1102
1084
|
.border {
|
|
1103
1085
|
border-width: 1px;
|
|
@@ -1132,6 +1114,12 @@ button {
|
|
|
1132
1114
|
.border-\[var\(--border-yellow-subtle\)\] {
|
|
1133
1115
|
border-color: var(--border-yellow-subtle);
|
|
1134
1116
|
}
|
|
1117
|
+
.border-\[var\(--pd-border-primary\)\] {
|
|
1118
|
+
border-color: var(--pd-border-primary);
|
|
1119
|
+
}
|
|
1120
|
+
.border-\[var\(--pd-border-red\)\] {
|
|
1121
|
+
border-color: var(--pd-border-red);
|
|
1122
|
+
}
|
|
1135
1123
|
.bg-\[var\(--background-base\)\] {
|
|
1136
1124
|
background-color: var(--background-base);
|
|
1137
1125
|
}
|
|
@@ -1162,6 +1150,9 @@ button {
|
|
|
1162
1150
|
.bg-\[var\(--content-primary\)\] {
|
|
1163
1151
|
background-color: var(--content-primary);
|
|
1164
1152
|
}
|
|
1153
|
+
.bg-\[var\(--pd-background-base\)\] {
|
|
1154
|
+
background-color: var(--pd-background-base);
|
|
1155
|
+
}
|
|
1165
1156
|
.bg-blue-400 {
|
|
1166
1157
|
--tw-bg-opacity: 1;
|
|
1167
1158
|
background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
|
|
@@ -1171,41 +1162,41 @@ button {
|
|
|
1171
1162
|
background-color: rgb(250 204 21 / var(--tw-bg-opacity, 1));
|
|
1172
1163
|
}
|
|
1173
1164
|
.p-12 {
|
|
1174
|
-
padding:
|
|
1165
|
+
padding: 1.2rem;
|
|
1175
1166
|
}
|
|
1176
1167
|
.p-2 {
|
|
1177
|
-
padding: 0.
|
|
1168
|
+
padding: 0.2rem;
|
|
1178
1169
|
}
|
|
1179
1170
|
.p-4 {
|
|
1180
|
-
padding:
|
|
1171
|
+
padding: 0.4rem;
|
|
1181
1172
|
}
|
|
1182
1173
|
.p-5 {
|
|
1183
|
-
padding:
|
|
1174
|
+
padding: 0.5rem;
|
|
1184
1175
|
}
|
|
1185
1176
|
.p-6 {
|
|
1186
|
-
padding:
|
|
1177
|
+
padding: 0.6rem;
|
|
1187
1178
|
}
|
|
1188
1179
|
.p-8 {
|
|
1189
|
-
padding:
|
|
1180
|
+
padding: 0.8rem;
|
|
1190
1181
|
}
|
|
1191
1182
|
.px-1 {
|
|
1192
|
-
padding-left: 0.
|
|
1193
|
-
padding-right: 0.
|
|
1183
|
+
padding-left: 0.1rem;
|
|
1184
|
+
padding-right: 0.1rem;
|
|
1194
1185
|
}
|
|
1195
1186
|
.px-3 {
|
|
1196
|
-
padding-left: 0.
|
|
1197
|
-
padding-right: 0.
|
|
1187
|
+
padding-left: 0.3rem;
|
|
1188
|
+
padding-right: 0.3rem;
|
|
1198
1189
|
}
|
|
1199
1190
|
.px-4 {
|
|
1200
|
-
padding-left:
|
|
1201
|
-
padding-right:
|
|
1191
|
+
padding-left: 0.4rem;
|
|
1192
|
+
padding-right: 0.4rem;
|
|
1202
1193
|
}
|
|
1203
1194
|
.px-6 {
|
|
1204
|
-
padding-left:
|
|
1205
|
-
padding-right:
|
|
1195
|
+
padding-left: 0.6rem;
|
|
1196
|
+
padding-right: 0.6rem;
|
|
1206
1197
|
}
|
|
1207
1198
|
.pt-2 {
|
|
1208
|
-
padding-top: 0.
|
|
1199
|
+
padding-top: 0.2rem;
|
|
1209
1200
|
}
|
|
1210
1201
|
.text-center {
|
|
1211
1202
|
text-align: center;
|
|
@@ -1222,16 +1213,13 @@ button {
|
|
|
1222
1213
|
monospace;
|
|
1223
1214
|
}
|
|
1224
1215
|
.text-2xl {
|
|
1225
|
-
font-size:
|
|
1226
|
-
line-height: 2rem;
|
|
1216
|
+
font-size: 18px;
|
|
1227
1217
|
}
|
|
1228
1218
|
.text-3xl {
|
|
1229
|
-
font-size:
|
|
1230
|
-
line-height: 2.25rem;
|
|
1219
|
+
font-size: 22px;
|
|
1231
1220
|
}
|
|
1232
1221
|
.text-4xl {
|
|
1233
|
-
font-size:
|
|
1234
|
-
line-height: 2.5rem;
|
|
1222
|
+
font-size: 32px;
|
|
1235
1223
|
}
|
|
1236
1224
|
.text-\[10px\] {
|
|
1237
1225
|
font-size: 10px;
|
|
@@ -1240,24 +1228,16 @@ button {
|
|
|
1240
1228
|
font-size: 8px;
|
|
1241
1229
|
}
|
|
1242
1230
|
.text-base {
|
|
1243
|
-
font-size:
|
|
1244
|
-
line-height: 1.5rem;
|
|
1245
|
-
}
|
|
1246
|
-
.text-lg {
|
|
1247
|
-
font-size: 1.125rem;
|
|
1248
|
-
line-height: 1.75rem;
|
|
1231
|
+
font-size: 13px;
|
|
1249
1232
|
}
|
|
1250
1233
|
.text-sm {
|
|
1251
|
-
font-size:
|
|
1252
|
-
line-height: 1.25rem;
|
|
1234
|
+
font-size: 12px;
|
|
1253
1235
|
}
|
|
1254
1236
|
.text-xl {
|
|
1255
|
-
font-size:
|
|
1256
|
-
line-height: 1.75rem;
|
|
1237
|
+
font-size: 14px;
|
|
1257
1238
|
}
|
|
1258
1239
|
.text-xs {
|
|
1259
|
-
font-size:
|
|
1260
|
-
line-height: 1rem;
|
|
1240
|
+
font-size: 11px;
|
|
1261
1241
|
}
|
|
1262
1242
|
.font-bold {
|
|
1263
1243
|
font-weight: 700;
|
|
@@ -1301,6 +1281,12 @@ button {
|
|
|
1301
1281
|
.text-\[var\(--content-yellow\)\] {
|
|
1302
1282
|
color: var(--content-yellow);
|
|
1303
1283
|
}
|
|
1284
|
+
.text-\[var\(--pd-content-primary\)\] {
|
|
1285
|
+
color: var(--pd-content-primary);
|
|
1286
|
+
}
|
|
1287
|
+
.text-\[var\(--pd-content-red\)\] {
|
|
1288
|
+
color: var(--pd-content-red);
|
|
1289
|
+
}
|
|
1304
1290
|
.text-gray-500 {
|
|
1305
1291
|
--tw-text-opacity: 1;
|
|
1306
1292
|
color: rgb(107 114 128 / var(--tw-text-opacity, 1));
|
|
@@ -1385,6 +1371,24 @@ button {
|
|
|
1385
1371
|
background-color 0.15s ease-in-out,
|
|
1386
1372
|
border-color 0.15s ease-in-out;
|
|
1387
1373
|
}
|
|
1374
|
+
.file\:border-0::file-selector-button {
|
|
1375
|
+
border-width: 0px;
|
|
1376
|
+
}
|
|
1377
|
+
.file\:bg-transparent::file-selector-button {
|
|
1378
|
+
background-color: transparent;
|
|
1379
|
+
}
|
|
1380
|
+
.file\:text-sm::file-selector-button {
|
|
1381
|
+
font-size: 12px;
|
|
1382
|
+
}
|
|
1383
|
+
.file\:font-medium::file-selector-button {
|
|
1384
|
+
font-weight: 500;
|
|
1385
|
+
}
|
|
1386
|
+
.placeholder\:text-\[var\(--pd-content-subtle\)\]::-moz-placeholder {
|
|
1387
|
+
color: var(--pd-content-subtle);
|
|
1388
|
+
}
|
|
1389
|
+
.placeholder\:text-\[var\(--pd-content-subtle\)\]::placeholder {
|
|
1390
|
+
color: var(--pd-content-subtle);
|
|
1391
|
+
}
|
|
1388
1392
|
.hover\:border-\[var\(--border-green-on-hover\)\]:hover {
|
|
1389
1393
|
border-color: var(--border-green-on-hover);
|
|
1390
1394
|
}
|
|
@@ -1455,6 +1459,12 @@ button {
|
|
|
1455
1459
|
var(--tw-ring-shadow, 0 0 #0000),
|
|
1456
1460
|
var(--tw-shadow);
|
|
1457
1461
|
}
|
|
1462
|
+
.focus-visible\:border-\[var\(--pd-border-blueOnHover\)\]:focus-visible {
|
|
1463
|
+
border-color: var(--pd-border-blueOnHover);
|
|
1464
|
+
}
|
|
1465
|
+
.focus-visible\:border-\[var\(--pd-border-redOnHover\)\]:focus-visible {
|
|
1466
|
+
border-color: var(--pd-border-redOnHover);
|
|
1467
|
+
}
|
|
1458
1468
|
.focus-visible\:outline-none:focus-visible {
|
|
1459
1469
|
outline: 2px solid transparent;
|
|
1460
1470
|
outline-offset: 2px;
|
|
@@ -1470,6 +1480,12 @@ button {
|
|
|
1470
1480
|
.focus-visible\:ring-\[var\(--border-blue\)\]:focus-visible {
|
|
1471
1481
|
--tw-ring-color: var(--border-blue);
|
|
1472
1482
|
}
|
|
1483
|
+
.focus-visible\:ring-\[var\(--pd-border-blue\)\]:focus-visible {
|
|
1484
|
+
--tw-ring-color: var(--pd-border-blue);
|
|
1485
|
+
}
|
|
1486
|
+
.focus-visible\:ring-\[var\(--pd-border-red\)\]:focus-visible {
|
|
1487
|
+
--tw-ring-color: var(--pd-border-red);
|
|
1488
|
+
}
|
|
1473
1489
|
.focus-visible\:ring-offset-2:focus-visible {
|
|
1474
1490
|
--tw-ring-offset-width: 2px;
|
|
1475
1491
|
}
|
|
@@ -1494,6 +1510,9 @@ button {
|
|
|
1494
1510
|
.disabled\:pointer-events-none:disabled {
|
|
1495
1511
|
pointer-events: none;
|
|
1496
1512
|
}
|
|
1513
|
+
.disabled\:cursor-not-allowed:disabled {
|
|
1514
|
+
cursor: not-allowed;
|
|
1515
|
+
}
|
|
1497
1516
|
.disabled\:border-\[var\(--border-subtle\)\]:disabled {
|
|
1498
1517
|
border-color: var(--border-subtle);
|
|
1499
1518
|
}
|
|
@@ -1509,6 +1528,9 @@ button {
|
|
|
1509
1528
|
.disabled\:text-\[var\(--content-subtle\)\]:disabled {
|
|
1510
1529
|
color: var(--content-subtle);
|
|
1511
1530
|
}
|
|
1531
|
+
.disabled\:text-\[var\(--pd-content-subtle\)\]:disabled {
|
|
1532
|
+
color: var(--pd-content-subtle);
|
|
1533
|
+
}
|
|
1512
1534
|
.disabled\:opacity-50:disabled {
|
|
1513
1535
|
opacity: 0.5;
|
|
1514
1536
|
}
|