@projectdiscoveryio/design-system 1.0.0 → 1.0.2
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/fallback.css +24 -3
- package/dist/index.cjs +28 -43
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +228 -5
- package/dist/index.d.cts +10 -5
- package/dist/index.d.ts +10 -5
- package/dist/index.js +28 -43
- package/dist/index.js.map +1 -1
- package/dist/styles.css +245 -5
- package/package.json +8 -9
package/dist/styles.css
CHANGED
|
@@ -91,15 +91,18 @@
|
|
|
91
91
|
--pd-z-sticky: 1020;
|
|
92
92
|
--pd-z-tooltip: 1070;
|
|
93
93
|
--pd-button-gap: 0.5em;
|
|
94
|
+
--pd-button-height-lg: 44px;
|
|
95
|
+
--pd-button-height-md: 36px;
|
|
96
|
+
--pd-button-height-sm: 28px;
|
|
94
97
|
--pd-button-letter-spacing: 0.00833em;
|
|
95
|
-
--pd-button-line-height-lg: 1.
|
|
98
|
+
--pd-button-line-height-lg: 1.25em;
|
|
96
99
|
--pd-button-line-height-md: 1.333em;
|
|
97
100
|
--pd-button-line-height-sm: 1.333em;
|
|
98
|
-
--pd-button-padding-lg-horizontal: 1.
|
|
101
|
+
--pd-button-padding-lg-horizontal: 1.5em;
|
|
99
102
|
--pd-button-padding-lg-vertical: 0.75em;
|
|
100
|
-
--pd-button-padding-md-horizontal:
|
|
101
|
-
--pd-button-padding-md-vertical: 0.
|
|
102
|
-
--pd-button-padding-sm-horizontal:
|
|
103
|
+
--pd-button-padding-md-horizontal: 1.3333em;
|
|
104
|
+
--pd-button-padding-md-vertical: 0.8333em;
|
|
105
|
+
--pd-button-padding-sm-horizontal: 1em;
|
|
103
106
|
--pd-button-padding-sm-vertical: 0.5em;
|
|
104
107
|
--pd-background-base: #FFFFFF;
|
|
105
108
|
--pd-background-green-on-hover: #BDFFD5;
|
|
@@ -774,18 +777,31 @@ html body.pd-root,
|
|
|
774
777
|
white-space: nowrap;
|
|
775
778
|
border-width: 0;
|
|
776
779
|
}
|
|
780
|
+
.pd-pointer-events-none {
|
|
781
|
+
pointer-events: none;
|
|
782
|
+
}
|
|
777
783
|
.pd-absolute {
|
|
778
784
|
position: absolute;
|
|
779
785
|
}
|
|
780
786
|
.pd-relative {
|
|
781
787
|
position: relative;
|
|
782
788
|
}
|
|
789
|
+
.pd-inset-y-0 {
|
|
790
|
+
top: 0em;
|
|
791
|
+
bottom: 0em;
|
|
792
|
+
}
|
|
783
793
|
.pd-bottom-1 {
|
|
784
794
|
bottom: 0.25em;
|
|
785
795
|
}
|
|
796
|
+
.pd-left-0 {
|
|
797
|
+
left: 0em;
|
|
798
|
+
}
|
|
786
799
|
.pd-left-1\/2 {
|
|
787
800
|
left: 50%;
|
|
788
801
|
}
|
|
802
|
+
.pd-right-0 {
|
|
803
|
+
right: 0em;
|
|
804
|
+
}
|
|
789
805
|
.pd-m-0 {
|
|
790
806
|
margin: 0em;
|
|
791
807
|
}
|
|
@@ -793,9 +809,21 @@ html body.pd-root,
|
|
|
793
809
|
margin-left: auto;
|
|
794
810
|
margin-right: auto;
|
|
795
811
|
}
|
|
812
|
+
.pd-mb-10 {
|
|
813
|
+
margin-bottom: 2.5em;
|
|
814
|
+
}
|
|
796
815
|
.pd-mb-2 {
|
|
797
816
|
margin-bottom: 0.5em;
|
|
798
817
|
}
|
|
818
|
+
.pd-mb-4 {
|
|
819
|
+
margin-bottom: 1em;
|
|
820
|
+
}
|
|
821
|
+
.pd-mb-6 {
|
|
822
|
+
margin-bottom: 1.5em;
|
|
823
|
+
}
|
|
824
|
+
.pd-mb-8 {
|
|
825
|
+
margin-bottom: 2em;
|
|
826
|
+
}
|
|
799
827
|
.pd-ml-2 {
|
|
800
828
|
margin-left: 0.5em;
|
|
801
829
|
}
|
|
@@ -805,6 +833,9 @@ html body.pd-root,
|
|
|
805
833
|
.pd-mt-2 {
|
|
806
834
|
margin-top: 0.5em;
|
|
807
835
|
}
|
|
836
|
+
.pd-block {
|
|
837
|
+
display: block;
|
|
838
|
+
}
|
|
808
839
|
.pd-flex {
|
|
809
840
|
display: flex;
|
|
810
841
|
}
|
|
@@ -826,6 +857,9 @@ html body.pd-root,
|
|
|
826
857
|
.pd-h-5 {
|
|
827
858
|
height: 1.25em;
|
|
828
859
|
}
|
|
860
|
+
.pd-h-6 {
|
|
861
|
+
height: 1.5em;
|
|
862
|
+
}
|
|
829
863
|
.pd-h-8 {
|
|
830
864
|
height: 2em;
|
|
831
865
|
}
|
|
@@ -835,6 +869,9 @@ html body.pd-root,
|
|
|
835
869
|
.pd-min-h-screen {
|
|
836
870
|
min-height: 100vh;
|
|
837
871
|
}
|
|
872
|
+
.pd-w-1 {
|
|
873
|
+
width: 0.25em;
|
|
874
|
+
}
|
|
838
875
|
.pd-w-3 {
|
|
839
876
|
width: 0.75em;
|
|
840
877
|
}
|
|
@@ -844,15 +881,39 @@ html body.pd-root,
|
|
|
844
881
|
.pd-w-5 {
|
|
845
882
|
width: 1.25em;
|
|
846
883
|
}
|
|
884
|
+
.pd-w-6 {
|
|
885
|
+
width: 1.5em;
|
|
886
|
+
}
|
|
887
|
+
.pd-w-\[20\%\] {
|
|
888
|
+
width: 20%;
|
|
889
|
+
}
|
|
890
|
+
.pd-w-\[25\%\] {
|
|
891
|
+
width: 25%;
|
|
892
|
+
}
|
|
893
|
+
.pd-w-\[35\%\] {
|
|
894
|
+
width: 35%;
|
|
895
|
+
}
|
|
896
|
+
.pd-w-\[40\%\] {
|
|
897
|
+
width: 40%;
|
|
898
|
+
}
|
|
847
899
|
.pd-w-full {
|
|
848
900
|
width: 100%;
|
|
849
901
|
}
|
|
902
|
+
.pd-max-w-2xl {
|
|
903
|
+
max-width: 42rem;
|
|
904
|
+
}
|
|
905
|
+
.pd-max-w-6xl {
|
|
906
|
+
max-width: 72rem;
|
|
907
|
+
}
|
|
850
908
|
.pd-max-w-\[1400px\] {
|
|
851
909
|
max-width: 1400px;
|
|
852
910
|
}
|
|
853
911
|
.pd-max-w-md {
|
|
854
912
|
max-width: 28rem;
|
|
855
913
|
}
|
|
914
|
+
.pd-border-collapse {
|
|
915
|
+
border-collapse: collapse;
|
|
916
|
+
}
|
|
856
917
|
.pd--translate-x-1\/2 {
|
|
857
918
|
--tw-translate-x: -50%;
|
|
858
919
|
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));
|
|
@@ -928,9 +989,20 @@ html body.pd-root,
|
|
|
928
989
|
margin-top: calc(1em * calc(1 - var(--tw-space-y-reverse)));
|
|
929
990
|
margin-bottom: calc(1em * var(--tw-space-y-reverse));
|
|
930
991
|
}
|
|
992
|
+
.pd-divide-y > :not([hidden]) ~ :not([hidden]) {
|
|
993
|
+
--tw-divide-y-reverse: 0;
|
|
994
|
+
border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
|
|
995
|
+
border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
|
|
996
|
+
}
|
|
997
|
+
.pd-divide-\[var\(--pd-border-secondary\)\] > :not([hidden]) ~ :not([hidden]) {
|
|
998
|
+
border-color: var(--pd-border-secondary);
|
|
999
|
+
}
|
|
931
1000
|
.pd-overflow-auto {
|
|
932
1001
|
overflow: auto;
|
|
933
1002
|
}
|
|
1003
|
+
.pd-overflow-hidden {
|
|
1004
|
+
overflow: hidden;
|
|
1005
|
+
}
|
|
934
1006
|
.pd-whitespace-nowrap {
|
|
935
1007
|
white-space: nowrap;
|
|
936
1008
|
}
|
|
@@ -952,12 +1024,18 @@ html body.pd-root,
|
|
|
952
1024
|
.pd-rounded-sm {
|
|
953
1025
|
border-radius: calc(var(--pd-radius) - 0.25em);
|
|
954
1026
|
}
|
|
1027
|
+
.pd-rounded-xl {
|
|
1028
|
+
border-radius: 0.75rem;
|
|
1029
|
+
}
|
|
955
1030
|
.pd-border {
|
|
956
1031
|
border-width: 1px;
|
|
957
1032
|
}
|
|
958
1033
|
.pd-border-0 {
|
|
959
1034
|
border-width: 0px;
|
|
960
1035
|
}
|
|
1036
|
+
.pd-border-b {
|
|
1037
|
+
border-bottom-width: 1px;
|
|
1038
|
+
}
|
|
961
1039
|
.pd-border-\[var\(--pd-border-red\)\] {
|
|
962
1040
|
border-color: var(--pd-border-red);
|
|
963
1041
|
}
|
|
@@ -991,9 +1069,21 @@ html body.pd-root,
|
|
|
991
1069
|
.pd-bg-\[var\(--pd-background-red-on-hover\)\] {
|
|
992
1070
|
background-color: var(--pd-background-red-on-hover);
|
|
993
1071
|
}
|
|
1072
|
+
.pd-bg-\[var\(--pd-background-secondary\)\] {
|
|
1073
|
+
background-color: var(--pd-background-secondary);
|
|
1074
|
+
}
|
|
1075
|
+
.pd-bg-\[var\(--pd-background-system\)\] {
|
|
1076
|
+
background-color: var(--pd-background-system);
|
|
1077
|
+
}
|
|
994
1078
|
.pd-bg-\[var\(--pd-background-tertiary\)\] {
|
|
995
1079
|
background-color: var(--pd-background-tertiary);
|
|
996
1080
|
}
|
|
1081
|
+
.pd-bg-\[var\(--pd-border-blue\)\] {
|
|
1082
|
+
background-color: var(--pd-border-blue);
|
|
1083
|
+
}
|
|
1084
|
+
.pd-bg-\[var\(--pd-content-subtle\)\] {
|
|
1085
|
+
background-color: var(--pd-content-subtle);
|
|
1086
|
+
}
|
|
997
1087
|
.pd-bg-\[var\(--pd-intent-danger-bg\)\] {
|
|
998
1088
|
background-color: var(--pd-intent-danger-bg);
|
|
999
1089
|
}
|
|
@@ -1018,6 +1108,13 @@ html body.pd-root,
|
|
|
1018
1108
|
.pd-p-5 {
|
|
1019
1109
|
padding: 1.25em;
|
|
1020
1110
|
}
|
|
1111
|
+
.pd-p-8 {
|
|
1112
|
+
padding: 2em;
|
|
1113
|
+
}
|
|
1114
|
+
.pd-px-2 {
|
|
1115
|
+
padding-left: 0.5em;
|
|
1116
|
+
padding-right: 0.5em;
|
|
1117
|
+
}
|
|
1021
1118
|
.pd-px-3 {
|
|
1022
1119
|
padding-left: 0.75em;
|
|
1023
1120
|
padding-right: 0.75em;
|
|
@@ -1046,12 +1143,39 @@ html body.pd-root,
|
|
|
1046
1143
|
padding-top: 1em;
|
|
1047
1144
|
padding-bottom: 1em;
|
|
1048
1145
|
}
|
|
1146
|
+
.pd-pl-3 {
|
|
1147
|
+
padding-left: 0.75em;
|
|
1148
|
+
}
|
|
1149
|
+
.pd-pr-2 {
|
|
1150
|
+
padding-right: 0.5em;
|
|
1151
|
+
}
|
|
1152
|
+
.pd-text-left {
|
|
1153
|
+
text-align: left;
|
|
1154
|
+
}
|
|
1049
1155
|
.pd-text-center {
|
|
1050
1156
|
text-align: center;
|
|
1051
1157
|
}
|
|
1158
|
+
.pd-font-mono {
|
|
1159
|
+
font-family:
|
|
1160
|
+
ui-monospace,
|
|
1161
|
+
SFMono-Regular,
|
|
1162
|
+
Menlo,
|
|
1163
|
+
Monaco,
|
|
1164
|
+
Consolas,
|
|
1165
|
+
"Liberation Mono",
|
|
1166
|
+
"Courier New",
|
|
1167
|
+
monospace;
|
|
1168
|
+
}
|
|
1169
|
+
.pd-text-4xl {
|
|
1170
|
+
font-size: 2.25em;
|
|
1171
|
+
line-height: 2.5em;
|
|
1172
|
+
}
|
|
1052
1173
|
.pd-text-\[10px\] {
|
|
1053
1174
|
font-size: 10px;
|
|
1054
1175
|
}
|
|
1176
|
+
.pd-text-\[11px\] {
|
|
1177
|
+
font-size: 11px;
|
|
1178
|
+
}
|
|
1055
1179
|
.pd-text-base {
|
|
1056
1180
|
font-size: 1em;
|
|
1057
1181
|
line-height: 1.5em;
|
|
@@ -1064,10 +1188,17 @@ html body.pd-root,
|
|
|
1064
1188
|
font-size: 0.875em;
|
|
1065
1189
|
line-height: 1.25em;
|
|
1066
1190
|
}
|
|
1191
|
+
.pd-text-xl {
|
|
1192
|
+
font-size: 1.25em;
|
|
1193
|
+
line-height: 1.75em;
|
|
1194
|
+
}
|
|
1067
1195
|
.pd-text-xs {
|
|
1068
1196
|
font-size: 0.75em;
|
|
1069
1197
|
line-height: 1em;
|
|
1070
1198
|
}
|
|
1199
|
+
.pd-font-black {
|
|
1200
|
+
font-weight: 900;
|
|
1201
|
+
}
|
|
1071
1202
|
.pd-font-bold {
|
|
1072
1203
|
font-weight: 700;
|
|
1073
1204
|
}
|
|
@@ -1077,12 +1208,30 @@ html body.pd-root,
|
|
|
1077
1208
|
.pd-font-semibold {
|
|
1078
1209
|
font-weight: 600;
|
|
1079
1210
|
}
|
|
1211
|
+
.pd-uppercase {
|
|
1212
|
+
text-transform: uppercase;
|
|
1213
|
+
}
|
|
1080
1214
|
.pd-leading-normal {
|
|
1081
1215
|
line-height: 1.5;
|
|
1082
1216
|
}
|
|
1217
|
+
.pd-leading-relaxed {
|
|
1218
|
+
line-height: 1.625;
|
|
1219
|
+
}
|
|
1220
|
+
.pd-tracking-tight {
|
|
1221
|
+
letter-spacing: -0.025em;
|
|
1222
|
+
}
|
|
1223
|
+
.pd-tracking-tighter {
|
|
1224
|
+
letter-spacing: -0.05em;
|
|
1225
|
+
}
|
|
1226
|
+
.pd-tracking-widest {
|
|
1227
|
+
letter-spacing: 0.1em;
|
|
1228
|
+
}
|
|
1083
1229
|
.pd-text-\[var\(--pd-content-on-color\)\] {
|
|
1084
1230
|
color: var(--pd-content-on-color);
|
|
1085
1231
|
}
|
|
1232
|
+
.pd-text-\[var\(--pd-content-primary\)\] {
|
|
1233
|
+
color: var(--pd-content-primary);
|
|
1234
|
+
}
|
|
1086
1235
|
.pd-text-\[var\(--pd-content-red\)\] {
|
|
1087
1236
|
color: var(--pd-content-red);
|
|
1088
1237
|
}
|
|
@@ -1110,6 +1259,20 @@ html body.pd-root,
|
|
|
1110
1259
|
.pd-text-\[var\(--pd-intent-warning-text\)\] {
|
|
1111
1260
|
color: var(--pd-intent-warning-text);
|
|
1112
1261
|
}
|
|
1262
|
+
.pd-text-gray-400 {
|
|
1263
|
+
--tw-text-opacity: 1;
|
|
1264
|
+
color: rgb(156 163 175 / var(--tw-text-opacity, 1));
|
|
1265
|
+
}
|
|
1266
|
+
.pd-text-gray-500 {
|
|
1267
|
+
--tw-text-opacity: 1;
|
|
1268
|
+
color: rgb(107 114 128 / var(--tw-text-opacity, 1));
|
|
1269
|
+
}
|
|
1270
|
+
.pd-opacity-0 {
|
|
1271
|
+
opacity: 0;
|
|
1272
|
+
}
|
|
1273
|
+
.pd-opacity-100 {
|
|
1274
|
+
opacity: 1;
|
|
1275
|
+
}
|
|
1113
1276
|
.pd-shadow-none {
|
|
1114
1277
|
--tw-shadow: 0 0 #0000;
|
|
1115
1278
|
--tw-shadow-colored: 0 0 #0000;
|
|
@@ -1118,6 +1281,18 @@ html body.pd-root,
|
|
|
1118
1281
|
var(--tw-ring-shadow, 0 0 #0000),
|
|
1119
1282
|
var(--tw-shadow);
|
|
1120
1283
|
}
|
|
1284
|
+
.pd-shadow-sm {
|
|
1285
|
+
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
1286
|
+
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
|
|
1287
|
+
box-shadow:
|
|
1288
|
+
var(--tw-ring-offset-shadow, 0 0 #0000),
|
|
1289
|
+
var(--tw-ring-shadow, 0 0 #0000),
|
|
1290
|
+
var(--tw-shadow);
|
|
1291
|
+
}
|
|
1292
|
+
.pd-backdrop-blur-sm {
|
|
1293
|
+
--tw-backdrop-blur: blur(4px);
|
|
1294
|
+
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
1295
|
+
}
|
|
1121
1296
|
.pd-transition-all {
|
|
1122
1297
|
transition-property: all;
|
|
1123
1298
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -1145,6 +1320,9 @@ html body.pd-root,
|
|
|
1145
1320
|
white-space: nowrap;
|
|
1146
1321
|
border-width: 0;
|
|
1147
1322
|
}
|
|
1323
|
+
.pd-backdrop-blur-sm {
|
|
1324
|
+
backdrop-filter: blur(4px);
|
|
1325
|
+
}
|
|
1148
1326
|
.pd-transition-all {
|
|
1149
1327
|
transition: all 0.15s ease-in-out;
|
|
1150
1328
|
}
|
|
@@ -1175,12 +1353,24 @@ html body.pd-root,
|
|
|
1175
1353
|
.\[border-radius\:var\(--pd-radius-button\)\] {
|
|
1176
1354
|
border-radius: var(--pd-radius-button);
|
|
1177
1355
|
}
|
|
1356
|
+
.\[box-sizing\:border-box\] {
|
|
1357
|
+
box-sizing: border-box;
|
|
1358
|
+
}
|
|
1178
1359
|
.\[font-family\:var\(--pd-font-sans\,Geist\,sans-serif\)\] {
|
|
1179
1360
|
font-family: var(--pd-font-sans,Geist,sans-serif);
|
|
1180
1361
|
}
|
|
1181
1362
|
.\[gap\:var\(--pd-button-gap\)\] {
|
|
1182
1363
|
gap: var(--pd-button-gap);
|
|
1183
1364
|
}
|
|
1365
|
+
.\[height\:var\(--pd-button-height-lg\)\] {
|
|
1366
|
+
height: var(--pd-button-height-lg);
|
|
1367
|
+
}
|
|
1368
|
+
.\[height\:var\(--pd-button-height-md\)\] {
|
|
1369
|
+
height: var(--pd-button-height-md);
|
|
1370
|
+
}
|
|
1371
|
+
.\[height\:var\(--pd-button-height-sm\)\] {
|
|
1372
|
+
height: var(--pd-button-height-sm);
|
|
1373
|
+
}
|
|
1184
1374
|
.\[letter-spacing\:var\(--pd-button-letter-spacing\)\] {
|
|
1185
1375
|
letter-spacing: var(--pd-button-letter-spacing);
|
|
1186
1376
|
}
|
|
@@ -1229,6 +1419,11 @@ html body.pd-root,
|
|
|
1229
1419
|
.\[padding-top\:var\(--pd-button-padding-sm-vertical\)\] {
|
|
1230
1420
|
padding-top: var(--pd-button-padding-sm-vertical);
|
|
1231
1421
|
}
|
|
1422
|
+
.hover\:pd-scale-\[1\.02\]:hover {
|
|
1423
|
+
--tw-scale-x: 1.02;
|
|
1424
|
+
--tw-scale-y: 1.02;
|
|
1425
|
+
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));
|
|
1426
|
+
}
|
|
1232
1427
|
.hover\:pd-bg-\[var\(--pd-background-invert-light\)\]:hover {
|
|
1233
1428
|
background-color: var(--pd-background-invert-light);
|
|
1234
1429
|
}
|
|
@@ -1238,6 +1433,9 @@ html body.pd-root,
|
|
|
1238
1433
|
.hover\:pd-bg-\[var\(--pd-background-red-on-hover\)\]:hover {
|
|
1239
1434
|
background-color: var(--pd-background-red-on-hover);
|
|
1240
1435
|
}
|
|
1436
|
+
.hover\:pd-bg-\[var\(--pd-background-system\)\]:hover {
|
|
1437
|
+
background-color: var(--pd-background-system);
|
|
1438
|
+
}
|
|
1241
1439
|
.hover\:pd-bg-\[var\(--pd-intent-danger-bg\)\]:hover {
|
|
1242
1440
|
background-color: var(--pd-intent-danger-bg);
|
|
1243
1441
|
}
|
|
@@ -1259,6 +1457,10 @@ html body.pd-root,
|
|
|
1259
1457
|
.hover\:pd-bg-\[var\(--pd-intent-warning-bg-hover\)\]:hover {
|
|
1260
1458
|
background-color: var(--pd-intent-warning-bg-hover);
|
|
1261
1459
|
}
|
|
1460
|
+
.hover\:pd-bg-gray-100:hover {
|
|
1461
|
+
--tw-bg-opacity: 1;
|
|
1462
|
+
background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
|
|
1463
|
+
}
|
|
1262
1464
|
.hover\:pd-text-\[var\(--pd-content-primary\)\]:hover {
|
|
1263
1465
|
color: var(--pd-content-primary);
|
|
1264
1466
|
}
|
|
@@ -1277,6 +1479,34 @@ html body.pd-root,
|
|
|
1277
1479
|
.hover\:pd-text-\[var\(--pd-intent-warning-hover\)\]:hover {
|
|
1278
1480
|
color: var(--pd-intent-warning-hover);
|
|
1279
1481
|
}
|
|
1482
|
+
.hover\:pd-text-gray-600:hover {
|
|
1483
|
+
--tw-text-opacity: 1;
|
|
1484
|
+
color: rgb(75 85 99 / var(--tw-text-opacity, 1));
|
|
1485
|
+
}
|
|
1486
|
+
.focus\:pd-border-blue-500:focus {
|
|
1487
|
+
--tw-border-opacity: 1;
|
|
1488
|
+
border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
|
|
1489
|
+
}
|
|
1490
|
+
.focus\:pd-outline-none:focus {
|
|
1491
|
+
outline: 2px solid transparent;
|
|
1492
|
+
outline-offset: 2px;
|
|
1493
|
+
}
|
|
1494
|
+
.focus\:pd-ring-2:focus {
|
|
1495
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1496
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1497
|
+
box-shadow:
|
|
1498
|
+
var(--tw-ring-offset-shadow),
|
|
1499
|
+
var(--tw-ring-shadow),
|
|
1500
|
+
var(--tw-shadow, 0 0 #0000);
|
|
1501
|
+
}
|
|
1502
|
+
.focus\:pd-ring-blue-500\/10:focus {
|
|
1503
|
+
--tw-ring-color: rgb(59 130 246 / 0.1);
|
|
1504
|
+
}
|
|
1505
|
+
.active\:pd-scale-\[0\.98\]:active {
|
|
1506
|
+
--tw-scale-x: 0.98;
|
|
1507
|
+
--tw-scale-y: 0.98;
|
|
1508
|
+
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));
|
|
1509
|
+
}
|
|
1280
1510
|
.active\:pd-bg-\[var\(--pd-background-invert\)\]:active {
|
|
1281
1511
|
background-color: var(--pd-background-invert);
|
|
1282
1512
|
}
|
|
@@ -1298,4 +1528,14 @@ html body.pd-root,
|
|
|
1298
1528
|
.active\:pd-text-\[var\(--pd-content-primary\)\]:active {
|
|
1299
1529
|
color: var(--pd-content-primary);
|
|
1300
1530
|
}
|
|
1531
|
+
.pd-group:focus-within .group-focus-within\:pd-text-blue-500 {
|
|
1532
|
+
--tw-text-opacity: 1;
|
|
1533
|
+
color: rgb(59 130 246 / var(--tw-text-opacity, 1));
|
|
1534
|
+
}
|
|
1535
|
+
.pd-group:hover .group-hover\:pd-text-\[var\(--pd-content-blue\)\] {
|
|
1536
|
+
color: var(--pd-content-blue);
|
|
1537
|
+
}
|
|
1538
|
+
.pd-group:hover .group-hover\:pd-opacity-60 {
|
|
1539
|
+
opacity: 0.6;
|
|
1540
|
+
}
|
|
1301
1541
|
/*# sourceMappingURL=index.css.map */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@projectdiscoveryio/design-system",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Production-grade design system with adapter layer support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -109,13 +109,11 @@
|
|
|
109
109
|
"tailwind-merge": "^2.2.0"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
|
-
"@storybook/addon-a11y": "^
|
|
113
|
-
"@storybook/addon-
|
|
114
|
-
"@storybook/addon-interactions": "^7.6.17",
|
|
115
|
-
"@storybook/addon-links": "^7.6.17",
|
|
112
|
+
"@storybook/addon-a11y": "^10.1.11",
|
|
113
|
+
"@storybook/addon-links": "^10.1.11",
|
|
116
114
|
"@storybook/blocks": "^7.6.17",
|
|
117
|
-
"@storybook/react": "^
|
|
118
|
-
"@storybook/react-vite": "^
|
|
115
|
+
"@storybook/react": "^10.1.11",
|
|
116
|
+
"@storybook/react-vite": "^10.1.11",
|
|
119
117
|
"@storybook/test": "^7.6.17",
|
|
120
118
|
"@testing-library/jest-dom": "^6.1.5",
|
|
121
119
|
"@testing-library/react": "^14.1.2",
|
|
@@ -141,12 +139,13 @@
|
|
|
141
139
|
"postcss-cli": "^11.0.1",
|
|
142
140
|
"react": "^18.2.0",
|
|
143
141
|
"react-dom": "^18.2.0",
|
|
144
|
-
"storybook": "^
|
|
142
|
+
"storybook": "^10.1.11",
|
|
145
143
|
"tailwindcss": "^3.4.1",
|
|
146
144
|
"tsup": "^8.0.1",
|
|
147
145
|
"tsx": "^4.21.0",
|
|
148
146
|
"typescript": "^5.3.3",
|
|
149
147
|
"vite": "^5.0.11",
|
|
150
|
-
"vitest": "^1.2.0"
|
|
148
|
+
"vitest": "^1.2.0",
|
|
149
|
+
"@storybook/addon-docs": "^10.1.11"
|
|
151
150
|
}
|
|
152
151
|
}
|