@abhir9/pd-design-system 0.1.14 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.css +1232 -31
  2. package/package.json +2 -2
package/dist/index.css CHANGED
@@ -1,8 +1,504 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
1
+ *, ::before, ::after {
2
+ --tw-border-spacing-x: 0;
3
+ --tw-border-spacing-y: 0;
4
+ --tw-translate-x: 0;
5
+ --tw-translate-y: 0;
6
+ --tw-rotate: 0;
7
+ --tw-skew-x: 0;
8
+ --tw-skew-y: 0;
9
+ --tw-scale-x: 1;
10
+ --tw-scale-y: 1;
11
+ --tw-pan-x: ;
12
+ --tw-pan-y: ;
13
+ --tw-pinch-zoom: ;
14
+ --tw-scroll-snap-strictness: proximity;
15
+ --tw-gradient-from-position: ;
16
+ --tw-gradient-via-position: ;
17
+ --tw-gradient-to-position: ;
18
+ --tw-ordinal: ;
19
+ --tw-slashed-zero: ;
20
+ --tw-numeric-figure: ;
21
+ --tw-numeric-spacing: ;
22
+ --tw-numeric-fraction: ;
23
+ --tw-ring-inset: ;
24
+ --tw-ring-offset-width: 0px;
25
+ --tw-ring-offset-color: #fff;
26
+ --tw-ring-color: rgb(59 130 246 / 0.5);
27
+ --tw-ring-offset-shadow: 0 0 #0000;
28
+ --tw-ring-shadow: 0 0 #0000;
29
+ --tw-shadow: 0 0 #0000;
30
+ --tw-shadow-colored: 0 0 #0000;
31
+ --tw-blur: ;
32
+ --tw-brightness: ;
33
+ --tw-contrast: ;
34
+ --tw-grayscale: ;
35
+ --tw-hue-rotate: ;
36
+ --tw-invert: ;
37
+ --tw-saturate: ;
38
+ --tw-sepia: ;
39
+ --tw-drop-shadow: ;
40
+ --tw-backdrop-blur: ;
41
+ --tw-backdrop-brightness: ;
42
+ --tw-backdrop-contrast: ;
43
+ --tw-backdrop-grayscale: ;
44
+ --tw-backdrop-hue-rotate: ;
45
+ --tw-backdrop-invert: ;
46
+ --tw-backdrop-opacity: ;
47
+ --tw-backdrop-saturate: ;
48
+ --tw-backdrop-sepia: ;
49
+ --tw-contain-size: ;
50
+ --tw-contain-layout: ;
51
+ --tw-contain-paint: ;
52
+ --tw-contain-style: ;
53
+ }
54
+
55
+ ::backdrop {
56
+ --tw-border-spacing-x: 0;
57
+ --tw-border-spacing-y: 0;
58
+ --tw-translate-x: 0;
59
+ --tw-translate-y: 0;
60
+ --tw-rotate: 0;
61
+ --tw-skew-x: 0;
62
+ --tw-skew-y: 0;
63
+ --tw-scale-x: 1;
64
+ --tw-scale-y: 1;
65
+ --tw-pan-x: ;
66
+ --tw-pan-y: ;
67
+ --tw-pinch-zoom: ;
68
+ --tw-scroll-snap-strictness: proximity;
69
+ --tw-gradient-from-position: ;
70
+ --tw-gradient-via-position: ;
71
+ --tw-gradient-to-position: ;
72
+ --tw-ordinal: ;
73
+ --tw-slashed-zero: ;
74
+ --tw-numeric-figure: ;
75
+ --tw-numeric-spacing: ;
76
+ --tw-numeric-fraction: ;
77
+ --tw-ring-inset: ;
78
+ --tw-ring-offset-width: 0px;
79
+ --tw-ring-offset-color: #fff;
80
+ --tw-ring-color: rgb(59 130 246 / 0.5);
81
+ --tw-ring-offset-shadow: 0 0 #0000;
82
+ --tw-ring-shadow: 0 0 #0000;
83
+ --tw-shadow: 0 0 #0000;
84
+ --tw-shadow-colored: 0 0 #0000;
85
+ --tw-blur: ;
86
+ --tw-brightness: ;
87
+ --tw-contrast: ;
88
+ --tw-grayscale: ;
89
+ --tw-hue-rotate: ;
90
+ --tw-invert: ;
91
+ --tw-saturate: ;
92
+ --tw-sepia: ;
93
+ --tw-drop-shadow: ;
94
+ --tw-backdrop-blur: ;
95
+ --tw-backdrop-brightness: ;
96
+ --tw-backdrop-contrast: ;
97
+ --tw-backdrop-grayscale: ;
98
+ --tw-backdrop-hue-rotate: ;
99
+ --tw-backdrop-invert: ;
100
+ --tw-backdrop-opacity: ;
101
+ --tw-backdrop-saturate: ;
102
+ --tw-backdrop-sepia: ;
103
+ --tw-contain-size: ;
104
+ --tw-contain-layout: ;
105
+ --tw-contain-paint: ;
106
+ --tw-contain-style: ;
107
+ }/*
108
+ ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
109
+ *//*
110
+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
111
+ 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
112
+ */
113
+
114
+ *,
115
+ ::before,
116
+ ::after {
117
+ box-sizing: border-box; /* 1 */
118
+ border-width: 0; /* 2 */
119
+ border-style: solid; /* 2 */
120
+ border-color: #e5e7eb; /* 2 */
121
+ }
122
+
123
+ ::before,
124
+ ::after {
125
+ --tw-content: '';
126
+ }
127
+
128
+ /*
129
+ 1. Use a consistent sensible line-height in all browsers.
130
+ 2. Prevent adjustments of font size after orientation changes in iOS.
131
+ 3. Use a more readable tab size.
132
+ 4. Use the user's configured `sans` font-family by default.
133
+ 5. Use the user's configured `sans` font-feature-settings by default.
134
+ 6. Use the user's configured `sans` font-variation-settings by default.
135
+ 7. Disable tap highlights on iOS
136
+ */
137
+
138
+ html,
139
+ :host {
140
+ line-height: 1.5; /* 1 */
141
+ -webkit-text-size-adjust: 100%; /* 2 */
142
+ -moz-tab-size: 4; /* 3 */
143
+ -o-tab-size: 4;
144
+ tab-size: 4; /* 3 */
145
+ font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
146
+ font-feature-settings: normal; /* 5 */
147
+ font-variation-settings: normal; /* 6 */
148
+ -webkit-tap-highlight-color: transparent; /* 7 */
149
+ }
150
+
151
+ /*
152
+ 1. Remove the margin in all browsers.
153
+ 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
154
+ */
155
+
156
+ body {
157
+ margin: 0; /* 1 */
158
+ line-height: inherit; /* 2 */
159
+ }
160
+
161
+ /*
162
+ 1. Add the correct height in Firefox.
163
+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
164
+ 3. Ensure horizontal rules are visible by default.
165
+ */
166
+
167
+ hr {
168
+ height: 0; /* 1 */
169
+ color: inherit; /* 2 */
170
+ border-top-width: 1px; /* 3 */
171
+ }
172
+
173
+ /*
174
+ Add the correct text decoration in Chrome, Edge, and Safari.
175
+ */
176
+
177
+ abbr:where([title]) {
178
+ -webkit-text-decoration: underline dotted;
179
+ text-decoration: underline dotted;
180
+ }
181
+
182
+ /*
183
+ Remove the default font size and weight for headings.
184
+ */
185
+
186
+ h1,
187
+ h2,
188
+ h3,
189
+ h4,
190
+ h5,
191
+ h6 {
192
+ font-size: inherit;
193
+ font-weight: inherit;
194
+ }
195
+
196
+ /*
197
+ Reset links to optimize for opt-in styling instead of opt-out.
198
+ */
199
+
200
+ a {
201
+ color: inherit;
202
+ text-decoration: inherit;
203
+ }
204
+
205
+ /*
206
+ Add the correct font weight in Edge and Safari.
207
+ */
208
+
209
+ b,
210
+ strong {
211
+ font-weight: bolder;
212
+ }
213
+
214
+ /*
215
+ 1. Use the user's configured `mono` font-family by default.
216
+ 2. Use the user's configured `mono` font-feature-settings by default.
217
+ 3. Use the user's configured `mono` font-variation-settings by default.
218
+ 4. Correct the odd `em` font sizing in all browsers.
219
+ */
220
+
221
+ code,
222
+ kbd,
223
+ samp,
224
+ pre {
225
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
226
+ font-feature-settings: normal; /* 2 */
227
+ font-variation-settings: normal; /* 3 */
228
+ font-size: 1em; /* 4 */
229
+ }
230
+
231
+ /*
232
+ Add the correct font size in all browsers.
233
+ */
234
+
235
+ small {
236
+ font-size: 80%;
237
+ }
238
+
239
+ /*
240
+ Prevent `sub` and `sup` elements from affecting the line height in all browsers.
241
+ */
242
+
243
+ sub,
244
+ sup {
245
+ font-size: 75%;
246
+ line-height: 0;
247
+ position: relative;
248
+ vertical-align: baseline;
249
+ }
250
+
251
+ sub {
252
+ bottom: -0.25em;
253
+ }
254
+
255
+ sup {
256
+ top: -0.5em;
257
+ }
258
+
259
+ /*
260
+ 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
261
+ 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
262
+ 3. Remove gaps between table borders by default.
263
+ */
264
+
265
+ table {
266
+ text-indent: 0; /* 1 */
267
+ border-color: inherit; /* 2 */
268
+ border-collapse: collapse; /* 3 */
269
+ }
270
+
271
+ /*
272
+ 1. Change the font styles in all browsers.
273
+ 2. Remove the margin in Firefox and Safari.
274
+ 3. Remove default padding in all browsers.
275
+ */
276
+
277
+ button,
278
+ input,
279
+ optgroup,
280
+ select,
281
+ textarea {
282
+ font-family: inherit; /* 1 */
283
+ font-feature-settings: inherit; /* 1 */
284
+ font-variation-settings: inherit; /* 1 */
285
+ font-size: 100%; /* 1 */
286
+ font-weight: inherit; /* 1 */
287
+ line-height: inherit; /* 1 */
288
+ letter-spacing: inherit; /* 1 */
289
+ color: inherit; /* 1 */
290
+ margin: 0; /* 2 */
291
+ padding: 0; /* 3 */
292
+ }
293
+
294
+ /*
295
+ Remove the inheritance of text transform in Edge and Firefox.
296
+ */
297
+
298
+ button,
299
+ select {
300
+ text-transform: none;
301
+ }
302
+
303
+ /*
304
+ 1. Correct the inability to style clickable types in iOS and Safari.
305
+ 2. Remove default button styles.
306
+ */
307
+
308
+ button,
309
+ input:where([type='button']),
310
+ input:where([type='reset']),
311
+ input:where([type='submit']) {
312
+ -webkit-appearance: button; /* 1 */
313
+ background-color: transparent; /* 2 */
314
+ background-image: none; /* 2 */
315
+ }
316
+
317
+ /*
318
+ Use the modern Firefox focus style for all focusable elements.
319
+ */
320
+
321
+ :-moz-focusring {
322
+ outline: auto;
323
+ }
324
+
325
+ /*
326
+ Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
327
+ */
328
+
329
+ :-moz-ui-invalid {
330
+ box-shadow: none;
331
+ }
332
+
333
+ /*
334
+ Add the correct vertical alignment in Chrome and Firefox.
335
+ */
336
+
337
+ progress {
338
+ vertical-align: baseline;
339
+ }
340
+
341
+ /*
342
+ Correct the cursor style of increment and decrement buttons in Safari.
343
+ */
344
+
345
+ ::-webkit-inner-spin-button,
346
+ ::-webkit-outer-spin-button {
347
+ height: auto;
348
+ }
349
+
350
+ /*
351
+ 1. Correct the odd appearance in Chrome and Safari.
352
+ 2. Correct the outline style in Safari.
353
+ */
354
+
355
+ [type='search'] {
356
+ -webkit-appearance: textfield; /* 1 */
357
+ outline-offset: -2px; /* 2 */
358
+ }
359
+
360
+ /*
361
+ Remove the inner padding in Chrome and Safari on macOS.
362
+ */
363
+
364
+ ::-webkit-search-decoration {
365
+ -webkit-appearance: none;
366
+ }
367
+
368
+ /*
369
+ 1. Correct the inability to style clickable types in iOS and Safari.
370
+ 2. Change font properties to `inherit` in Safari.
371
+ */
372
+
373
+ ::-webkit-file-upload-button {
374
+ -webkit-appearance: button; /* 1 */
375
+ font: inherit; /* 2 */
376
+ }
377
+
378
+ /*
379
+ Add the correct display in Chrome and Safari.
380
+ */
381
+
382
+ summary {
383
+ display: list-item;
384
+ }
385
+
386
+ /*
387
+ Removes the default spacing and border for appropriate elements.
388
+ */
389
+
390
+ blockquote,
391
+ dl,
392
+ dd,
393
+ h1,
394
+ h2,
395
+ h3,
396
+ h4,
397
+ h5,
398
+ h6,
399
+ hr,
400
+ figure,
401
+ p,
402
+ pre {
403
+ margin: 0;
404
+ }
405
+
406
+ fieldset {
407
+ margin: 0;
408
+ padding: 0;
409
+ }
410
+
411
+ legend {
412
+ padding: 0;
413
+ }
414
+
415
+ ol,
416
+ ul,
417
+ menu {
418
+ list-style: none;
419
+ margin: 0;
420
+ padding: 0;
421
+ }
422
+
423
+ /*
424
+ Reset default styling for dialogs.
425
+ */
426
+ dialog {
427
+ padding: 0;
428
+ }
429
+
430
+ /*
431
+ Prevent resizing textareas horizontally by default.
432
+ */
433
+
434
+ textarea {
435
+ resize: vertical;
436
+ }
437
+
438
+ /*
439
+ 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
440
+ 2. Set the default placeholder color to the user's configured gray 400 color.
441
+ */
442
+
443
+ input::-moz-placeholder, textarea::-moz-placeholder {
444
+ opacity: 1; /* 1 */
445
+ color: #9ca3af; /* 2 */
446
+ }
4
447
 
5
- @layer base {
448
+ input::placeholder,
449
+ textarea::placeholder {
450
+ opacity: 1; /* 1 */
451
+ color: #9ca3af; /* 2 */
452
+ }
453
+
454
+ /*
455
+ Set the default cursor for buttons.
456
+ */
457
+
458
+ button,
459
+ [role="button"] {
460
+ cursor: pointer;
461
+ }
462
+
463
+ /*
464
+ Make sure disabled buttons don't get the pointer cursor.
465
+ */
466
+ :disabled {
467
+ cursor: default;
468
+ }
469
+
470
+ /*
471
+ 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
472
+ 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
473
+ This can trigger a poorly considered lint error in some tools but is included by design.
474
+ */
475
+
476
+ img,
477
+ svg,
478
+ video,
479
+ canvas,
480
+ audio,
481
+ iframe,
482
+ embed,
483
+ object {
484
+ display: block; /* 1 */
485
+ vertical-align: middle; /* 2 */
486
+ }
487
+
488
+ /*
489
+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
490
+ */
491
+
492
+ img,
493
+ video {
494
+ max-width: 100%;
495
+ height: auto;
496
+ }
497
+
498
+ /* Make elements with the HTML hidden attribute stay hidden by default */
499
+ [hidden]:where(:not([hidden="until-found"])) {
500
+ display: none;
501
+ }
6
502
  /**
7
503
  * Light Mode (Default Theme)
8
504
  * Source: src/tokens/semantic.ts -> borderTokens.light, contentTokens.light, backgroundTokens.light
@@ -405,9 +901,6 @@
405
901
  outline: 2px solid var(--intent-primary);
406
902
  outline-offset: 2px;
407
903
  }
408
- }
409
-
410
- @layer base {
411
904
  * {
412
905
  border-color: var(--border-primary);
413
906
  }
@@ -415,10 +908,6 @@
415
908
  background-color: var(--background-primary);
416
909
  color: var(--content-primary);
417
910
  }
418
- }
419
-
420
- /* Non-color global defaults derived from consumer app (safe subset) */
421
- @layer base {
422
911
  html {
423
912
  font-size: 10px;
424
913
  }
@@ -449,15 +938,556 @@
449
938
  input:-webkit-autofill:focus,
450
939
  input:-webkit-autofill:active {
451
940
  background-color: transparent;
941
+ -webkit-transition: background-color 5000s ease-in-out 0s;
452
942
  transition: background-color 5000s ease-in-out 0s;
453
943
  -webkit-text-fill-color: var(--content-primary);
454
944
  }
945
+ .container {
946
+ width: 100%;
455
947
  }
948
+ @media (min-width: 640px) {
456
949
 
457
- /* Utilities */
458
- @layer utilities {
459
- /* Screen reader only utility - visually hidden but accessible to assistive technologies */
460
- .sr-only {
950
+ .container {
951
+ max-width: 640px;
952
+ }
953
+ }
954
+ @media (min-width: 768px) {
955
+
956
+ .container {
957
+ max-width: 768px;
958
+ }
959
+ }
960
+ @media (min-width: 1024px) {
961
+
962
+ .container {
963
+ max-width: 1024px;
964
+ }
965
+ }
966
+ @media (min-width: 1280px) {
967
+
968
+ .container {
969
+ max-width: 1280px;
970
+ }
971
+ }
972
+ @media (min-width: 1536px) {
973
+
974
+ .container {
975
+ max-width: 1536px;
976
+ }
977
+ }
978
+ button { font-family: inherit; font-size: inherit; }
979
+ .sr-only {
980
+ position: absolute;
981
+ width: 1px;
982
+ height: 1px;
983
+ padding: 0;
984
+ margin: -1px;
985
+ overflow: hidden;
986
+ clip: rect(0, 0, 0, 0);
987
+ white-space: nowrap;
988
+ border-width: 0;
989
+ }
990
+ .fixed {
991
+ position: fixed;
992
+ }
993
+ .absolute {
994
+ position: absolute;
995
+ }
996
+ .relative {
997
+ position: relative;
998
+ }
999
+ .sticky {
1000
+ position: sticky;
1001
+ }
1002
+ .bottom-1 {
1003
+ bottom: 0.25rem;
1004
+ }
1005
+ .left-1\/2 {
1006
+ left: 50%;
1007
+ }
1008
+ .mx-auto {
1009
+ margin-left: auto;
1010
+ margin-right: auto;
1011
+ }
1012
+ .mb-1 {
1013
+ margin-bottom: 0.25rem;
1014
+ }
1015
+ .mb-2 {
1016
+ margin-bottom: 0.5rem;
1017
+ }
1018
+ .mb-6 {
1019
+ margin-bottom: 1.5rem;
1020
+ }
1021
+ .ml-1\.5 {
1022
+ margin-left: 0.375rem;
1023
+ }
1024
+ .ml-2 {
1025
+ margin-left: 0.5rem;
1026
+ }
1027
+ .ml-2\.5 {
1028
+ margin-left: 0.625rem;
1029
+ }
1030
+ .mr-1\.5 {
1031
+ margin-right: 0.375rem;
1032
+ }
1033
+ .mr-2 {
1034
+ margin-right: 0.5rem;
1035
+ }
1036
+ .mr-2\.5 {
1037
+ margin-right: 0.625rem;
1038
+ }
1039
+ .inline {
1040
+ display: inline;
1041
+ }
1042
+ .flex {
1043
+ display: flex;
1044
+ }
1045
+ .inline-flex {
1046
+ display: inline-flex;
1047
+ }
1048
+ .table {
1049
+ display: table;
1050
+ }
1051
+ .grid {
1052
+ display: grid;
1053
+ }
1054
+ .hidden {
1055
+ display: none;
1056
+ }
1057
+ .h-10 {
1058
+ height: 2.5rem;
1059
+ }
1060
+ .h-12 {
1061
+ height: 3rem;
1062
+ }
1063
+ .h-16 {
1064
+ height: 4rem;
1065
+ }
1066
+ .h-2 {
1067
+ height: 0.5rem;
1068
+ }
1069
+ .h-28 {
1070
+ height: 7rem;
1071
+ }
1072
+ .h-3 {
1073
+ height: 0.75rem;
1074
+ }
1075
+ .h-4 {
1076
+ height: 1rem;
1077
+ }
1078
+ .h-5 {
1079
+ height: 1.25rem;
1080
+ }
1081
+ .h-8 {
1082
+ height: 2rem;
1083
+ }
1084
+ .min-h-\[100px\] {
1085
+ min-height: 100px;
1086
+ }
1087
+ .min-h-screen {
1088
+ min-height: 100vh;
1089
+ }
1090
+ .w-2 {
1091
+ width: 0.5rem;
1092
+ }
1093
+ .w-20 {
1094
+ width: 5rem;
1095
+ }
1096
+ .w-24 {
1097
+ width: 6rem;
1098
+ }
1099
+ .w-3 {
1100
+ width: 0.75rem;
1101
+ }
1102
+ .w-4 {
1103
+ width: 1rem;
1104
+ }
1105
+ .w-5 {
1106
+ width: 1.25rem;
1107
+ }
1108
+ .w-full {
1109
+ width: 100%;
1110
+ }
1111
+ .min-w-0 {
1112
+ min-width: 0px;
1113
+ }
1114
+ .max-w-3xl {
1115
+ max-width: 48rem;
1116
+ }
1117
+ .max-w-4xl {
1118
+ max-width: 56rem;
1119
+ }
1120
+ .max-w-7xl {
1121
+ max-width: 80rem;
1122
+ }
1123
+ .max-w-\[1400px\] {
1124
+ max-width: 1400px;
1125
+ }
1126
+ .max-w-md {
1127
+ max-width: 28rem;
1128
+ }
1129
+ .flex-1 {
1130
+ flex: 1 1 0%;
1131
+ }
1132
+ .flex-shrink-0 {
1133
+ flex-shrink: 0;
1134
+ }
1135
+ .-translate-x-1\/2 {
1136
+ --tw-translate-x: -50%;
1137
+ 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));
1138
+ }
1139
+ @keyframes spin {
1140
+
1141
+ to {
1142
+ transform: rotate(360deg);
1143
+ }
1144
+ }
1145
+ .animate-spin {
1146
+ animation: spin 1s linear infinite;
1147
+ }
1148
+ .cursor-pointer {
1149
+ cursor: pointer;
1150
+ }
1151
+ .grid-cols-1 {
1152
+ grid-template-columns: repeat(1, minmax(0, 1fr));
1153
+ }
1154
+ .grid-cols-3 {
1155
+ grid-template-columns: repeat(3, minmax(0, 1fr));
1156
+ }
1157
+ .grid-cols-\[150px_repeat\(5\2c 1fr\)\] {
1158
+ grid-template-columns: 150px repeat(5,1fr);
1159
+ }
1160
+ .flex-row {
1161
+ flex-direction: row;
1162
+ }
1163
+ .flex-col {
1164
+ flex-direction: column;
1165
+ }
1166
+ .flex-wrap {
1167
+ flex-wrap: wrap;
1168
+ }
1169
+ .items-start {
1170
+ align-items: flex-start;
1171
+ }
1172
+ .items-center {
1173
+ align-items: center;
1174
+ }
1175
+ .justify-center {
1176
+ justify-content: center;
1177
+ }
1178
+ .gap-1 {
1179
+ gap: 0.25rem;
1180
+ }
1181
+ .gap-2 {
1182
+ gap: 0.5rem;
1183
+ }
1184
+ .gap-3 {
1185
+ gap: 0.75rem;
1186
+ }
1187
+ .gap-4 {
1188
+ gap: 1rem;
1189
+ }
1190
+ .gap-6 {
1191
+ gap: 1.5rem;
1192
+ }
1193
+ .gap-8 {
1194
+ gap: 2rem;
1195
+ }
1196
+ .gap-x-6 {
1197
+ -moz-column-gap: 1.5rem;
1198
+ column-gap: 1.5rem;
1199
+ }
1200
+ .space-y-10 > :not([hidden]) ~ :not([hidden]) {
1201
+ --tw-space-y-reverse: 0;
1202
+ margin-top: calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));
1203
+ margin-bottom: calc(2.5rem * var(--tw-space-y-reverse));
1204
+ }
1205
+ .space-y-3 > :not([hidden]) ~ :not([hidden]) {
1206
+ --tw-space-y-reverse: 0;
1207
+ margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
1208
+ margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
1209
+ }
1210
+ .space-y-4 > :not([hidden]) ~ :not([hidden]) {
1211
+ --tw-space-y-reverse: 0;
1212
+ margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
1213
+ margin-bottom: calc(1rem * var(--tw-space-y-reverse));
1214
+ }
1215
+ .space-y-6 > :not([hidden]) ~ :not([hidden]) {
1216
+ --tw-space-y-reverse: 0;
1217
+ margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
1218
+ margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
1219
+ }
1220
+ .space-y-8 > :not([hidden]) ~ :not([hidden]) {
1221
+ --tw-space-y-reverse: 0;
1222
+ margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
1223
+ margin-bottom: calc(2rem * var(--tw-space-y-reverse));
1224
+ }
1225
+ .overflow-hidden {
1226
+ overflow: hidden;
1227
+ }
1228
+ .overflow-x-auto {
1229
+ overflow-x: auto;
1230
+ }
1231
+ .truncate {
1232
+ overflow: hidden;
1233
+ text-overflow: ellipsis;
1234
+ white-space: nowrap;
1235
+ }
1236
+ .whitespace-nowrap {
1237
+ white-space: nowrap;
1238
+ }
1239
+ .rounded-full {
1240
+ border-radius: 9999px;
1241
+ }
1242
+ .rounded-lg {
1243
+ border-radius: 0.5rem;
1244
+ }
1245
+ .rounded-md {
1246
+ border-radius: 0.375rem;
1247
+ }
1248
+ .rounded-xl {
1249
+ border-radius: 0.75rem;
1250
+ }
1251
+ .border {
1252
+ border-width: 1px;
1253
+ }
1254
+ .border-2 {
1255
+ border-width: 2px;
1256
+ }
1257
+ .border-\[var\(--border-blue\)\] {
1258
+ border-color: var(--border-blue);
1259
+ }
1260
+ .border-\[var\(--border-green\)\] {
1261
+ border-color: var(--border-green);
1262
+ }
1263
+ .border-\[var\(--border-green-subtle\)\] {
1264
+ border-color: var(--border-green-subtle);
1265
+ }
1266
+ .border-\[var\(--border-primary\)\] {
1267
+ border-color: var(--border-primary);
1268
+ }
1269
+ .border-\[var\(--border-red\)\] {
1270
+ border-color: var(--border-red);
1271
+ }
1272
+ .border-\[var\(--border-secondary\)\] {
1273
+ border-color: var(--border-secondary);
1274
+ }
1275
+ .border-\[var\(--border-subtle\)\] {
1276
+ border-color: var(--border-subtle);
1277
+ }
1278
+ .border-\[var\(--border-yellow\)\] {
1279
+ border-color: var(--border-yellow);
1280
+ }
1281
+ .border-\[var\(--border-yellow-subtle\)\] {
1282
+ border-color: var(--border-yellow-subtle);
1283
+ }
1284
+ .bg-\[var\(--background-base\)\] {
1285
+ background-color: var(--background-base);
1286
+ }
1287
+ .bg-\[var\(--background-green\)\] {
1288
+ background-color: var(--background-green);
1289
+ }
1290
+ .bg-\[var\(--background-info\)\] {
1291
+ background-color: var(--background-info);
1292
+ }
1293
+ .bg-\[var\(--background-invert\)\] {
1294
+ background-color: var(--background-invert);
1295
+ }
1296
+ .bg-\[var\(--background-low\)\] {
1297
+ background-color: var(--background-low);
1298
+ }
1299
+ .bg-\[var\(--background-primary\)\] {
1300
+ background-color: var(--background-primary);
1301
+ }
1302
+ .bg-\[var\(--background-red\)\] {
1303
+ background-color: var(--background-red);
1304
+ }
1305
+ .bg-\[var\(--background-secondary\)\] {
1306
+ background-color: var(--background-secondary);
1307
+ }
1308
+ .bg-\[var\(--background-yellow\)\] {
1309
+ background-color: var(--background-yellow);
1310
+ }
1311
+ .bg-\[var\(--content-primary\)\] {
1312
+ background-color: var(--content-primary);
1313
+ }
1314
+ .bg-blue-400 {
1315
+ --tw-bg-opacity: 1;
1316
+ background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
1317
+ }
1318
+ .bg-yellow-400 {
1319
+ --tw-bg-opacity: 1;
1320
+ background-color: rgb(250 204 21 / var(--tw-bg-opacity, 1));
1321
+ }
1322
+ .p-12 {
1323
+ padding: 3rem;
1324
+ }
1325
+ .p-2 {
1326
+ padding: 0.5rem;
1327
+ }
1328
+ .p-4 {
1329
+ padding: 1rem;
1330
+ }
1331
+ .p-5 {
1332
+ padding: 1.25rem;
1333
+ }
1334
+ .p-6 {
1335
+ padding: 1.5rem;
1336
+ }
1337
+ .p-8 {
1338
+ padding: 2rem;
1339
+ }
1340
+ .px-1 {
1341
+ padding-left: 0.25rem;
1342
+ padding-right: 0.25rem;
1343
+ }
1344
+ .px-3 {
1345
+ padding-left: 0.75rem;
1346
+ padding-right: 0.75rem;
1347
+ }
1348
+ .px-4 {
1349
+ padding-left: 1rem;
1350
+ padding-right: 1rem;
1351
+ }
1352
+ .px-6 {
1353
+ padding-left: 1.5rem;
1354
+ padding-right: 1.5rem;
1355
+ }
1356
+ .pt-2 {
1357
+ padding-top: 0.5rem;
1358
+ }
1359
+ .text-center {
1360
+ text-align: center;
1361
+ }
1362
+ .font-mono {
1363
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
1364
+ }
1365
+ .text-2xl {
1366
+ font-size: 1.5rem;
1367
+ line-height: 2rem;
1368
+ }
1369
+ .text-3xl {
1370
+ font-size: 1.875rem;
1371
+ line-height: 2.25rem;
1372
+ }
1373
+ .text-4xl {
1374
+ font-size: 2.25rem;
1375
+ line-height: 2.5rem;
1376
+ }
1377
+ .text-\[10px\] {
1378
+ font-size: 10px;
1379
+ }
1380
+ .text-\[8px\] {
1381
+ font-size: 8px;
1382
+ }
1383
+ .text-base {
1384
+ font-size: 1rem;
1385
+ line-height: 1.5rem;
1386
+ }
1387
+ .text-lg {
1388
+ font-size: 1.125rem;
1389
+ line-height: 1.75rem;
1390
+ }
1391
+ .text-sm {
1392
+ font-size: 0.875rem;
1393
+ line-height: 1.25rem;
1394
+ }
1395
+ .text-xl {
1396
+ font-size: 1.25rem;
1397
+ line-height: 1.75rem;
1398
+ }
1399
+ .text-xs {
1400
+ font-size: 0.75rem;
1401
+ line-height: 1rem;
1402
+ }
1403
+ .font-bold {
1404
+ font-weight: 700;
1405
+ }
1406
+ .font-medium {
1407
+ font-weight: 500;
1408
+ }
1409
+ .font-semibold {
1410
+ font-weight: 600;
1411
+ }
1412
+ .capitalize {
1413
+ text-transform: capitalize;
1414
+ }
1415
+ .leading-relaxed {
1416
+ line-height: 1.625;
1417
+ }
1418
+ .leading-tight {
1419
+ line-height: 1.25;
1420
+ }
1421
+ .text-\[var\(--content-blue\)\] {
1422
+ color: var(--content-blue);
1423
+ }
1424
+ .text-\[var\(--content-green\)\] {
1425
+ color: var(--content-green);
1426
+ }
1427
+ .text-\[var\(--content-on-color\)\] {
1428
+ color: var(--content-on-color);
1429
+ }
1430
+ .text-\[var\(--content-primary\)\] {
1431
+ color: var(--content-primary);
1432
+ }
1433
+ .text-\[var\(--content-red\)\] {
1434
+ color: var(--content-red);
1435
+ }
1436
+ .text-\[var\(--content-secondary\)\] {
1437
+ color: var(--content-secondary);
1438
+ }
1439
+ .text-\[var\(--content-subtle\)\] {
1440
+ color: var(--content-subtle);
1441
+ }
1442
+ .text-\[var\(--content-yellow\)\] {
1443
+ color: var(--content-yellow);
1444
+ }
1445
+ .text-gray-500 {
1446
+ --tw-text-opacity: 1;
1447
+ color: rgb(107 114 128 / var(--tw-text-opacity, 1));
1448
+ }
1449
+ .shadow-sm {
1450
+ --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
1451
+ --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
1452
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1453
+ }
1454
+ .outline {
1455
+ outline-style: solid;
1456
+ }
1457
+ .invert {
1458
+ --tw-invert: invert(100%);
1459
+ filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
1460
+ }
1461
+ .filter {
1462
+ filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
1463
+ }
1464
+ .transition {
1465
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1466
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1467
+ transition-duration: 150ms;
1468
+ }
1469
+ .transition-all {
1470
+ transition-property: all;
1471
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1472
+ transition-duration: 150ms;
1473
+ }
1474
+ .transition-colors {
1475
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
1476
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1477
+ transition-duration: 150ms;
1478
+ }
1479
+ .transition-shadow {
1480
+ transition-property: box-shadow;
1481
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1482
+ transition-duration: 150ms;
1483
+ }
1484
+ .transition-transform {
1485
+ transition-property: transform;
1486
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1487
+ transition-duration: 150ms;
1488
+ }
1489
+ /* Screen reader only utility - visually hidden but accessible to assistive technologies */
1490
+ .sr-only {
461
1491
  position: absolute;
462
1492
  width: 1px;
463
1493
  height: 1px;
@@ -468,22 +1498,193 @@
468
1498
  white-space: nowrap;
469
1499
  border-width: 0;
470
1500
  }
471
- /* Hide scrollbar */
472
- .no-scrollbar::-webkit-scrollbar { display: none; }
473
- .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
474
- /* Backdrop blur helpers */
475
- .backdrop-blur-sm { backdrop-filter: blur(4px); }
476
- .backdrop-blur { backdrop-filter: blur(8px); }
477
- /* Transition helpers */
478
- .transition-all { transition: all 0.15s ease-in-out; }
479
- .transition-colors { transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; }
480
- /* Opacity helpers */
481
- .opacity-50 { opacity: 0.5; }
482
- .opacity-60 { opacity: 0.6; }
483
- .opacity-80 { opacity: 0.8; }
484
- }
1501
+ /* Hide scrollbar */
1502
+ /* Backdrop blur helpers */
1503
+ /* Transition helpers */
1504
+ .transition-all { transition: all 0.15s ease-in-out; }
1505
+ .transition-colors { transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; }
1506
+ /* Opacity helpers */
1507
+
1508
+ /* Non-color global defaults derived from consumer app (safe subset) */
1509
+
1510
+ /* Utilities */
485
1511
 
486
1512
  /* Component-friendly defaults (non-color) */
487
- @layer components {
488
- button { font-family: inherit; font-size: inherit; }
1513
+
1514
+ .hover\:border-\[var\(--border-green-on-hover\)\]:hover {
1515
+ border-color: var(--border-green-on-hover);
1516
+ }
1517
+
1518
+ .hover\:border-\[var\(--border-primary\)\]:hover {
1519
+ border-color: var(--border-primary);
1520
+ }
1521
+
1522
+ .hover\:border-\[var\(--border-red-on-hover\)\]:hover {
1523
+ border-color: var(--border-red-on-hover);
1524
+ }
1525
+
1526
+ .hover\:border-\[var\(--border-secondary\)\]:hover {
1527
+ border-color: var(--border-secondary);
1528
+ }
1529
+
1530
+ .hover\:border-\[var\(--border-yellow-on-hover\)\]:hover {
1531
+ border-color: var(--border-yellow-on-hover);
1532
+ }
1533
+
1534
+ .hover\:bg-\[var\(--background-green\)\]:hover {
1535
+ background-color: var(--background-green);
1536
+ }
1537
+
1538
+ .hover\:bg-\[var\(--background-green-on-hover\)\]:hover {
1539
+ background-color: var(--background-green-on-hover);
1540
+ }
1541
+
1542
+ .hover\:bg-\[var\(--background-invert-light\)\]:hover {
1543
+ background-color: var(--background-invert-light);
1544
+ }
1545
+
1546
+ .hover\:bg-\[var\(--background-low\)\]:hover {
1547
+ background-color: var(--background-low);
1548
+ }
1549
+
1550
+ .hover\:bg-\[var\(--background-low-on-hover\)\]:hover {
1551
+ background-color: var(--background-low-on-hover);
1552
+ }
1553
+
1554
+ .hover\:bg-\[var\(--background-red\)\]:hover {
1555
+ background-color: var(--background-red);
1556
+ }
1557
+
1558
+ .hover\:bg-\[var\(--background-red-on-hover\)\]:hover {
1559
+ background-color: var(--background-red-on-hover);
1560
+ }
1561
+
1562
+ .hover\:bg-\[var\(--background-yellow\)\]:hover {
1563
+ background-color: var(--background-yellow);
1564
+ }
1565
+
1566
+ .hover\:bg-\[var\(--background-yellow-on-hover\)\]:hover {
1567
+ background-color: var(--background-yellow-on-hover);
1568
+ }
1569
+
1570
+ .hover\:text-\[var\(--content-green-on-hover\)\]:hover {
1571
+ color: var(--content-green-on-hover);
1572
+ }
1573
+
1574
+ .hover\:text-\[var\(--content-primary\)\]:hover {
1575
+ color: var(--content-primary);
1576
+ }
1577
+
1578
+ .hover\:text-\[var\(--content-red-on-hover\)\]:hover {
1579
+ color: var(--content-red-on-hover);
1580
+ }
1581
+
1582
+ .hover\:text-\[var\(--content-yellow-on-hover\)\]:hover {
1583
+ color: var(--content-yellow-on-hover);
1584
+ }
1585
+
1586
+ .hover\:shadow-lg:hover {
1587
+ --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
1588
+ --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
1589
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1590
+ }
1591
+
1592
+ .hover\:shadow-md:hover {
1593
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
1594
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
1595
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1596
+ }
1597
+
1598
+ .focus-visible\:outline-none:focus-visible {
1599
+ outline: 2px solid transparent;
1600
+ outline-offset: 2px;
1601
+ }
1602
+
1603
+ .focus-visible\:ring-2:focus-visible {
1604
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1605
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1606
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1607
+ }
1608
+
1609
+ .focus-visible\:ring-\[var\(--border-blue\)\]:focus-visible {
1610
+ --tw-ring-color: var(--border-blue);
1611
+ }
1612
+
1613
+ .focus-visible\:ring-offset-2:focus-visible {
1614
+ --tw-ring-offset-width: 2px;
1615
+ }
1616
+
1617
+ .active\:bg-\[var\(--background-green\)\]:active {
1618
+ background-color: var(--background-green);
1619
+ }
1620
+
1621
+ .active\:bg-\[var\(--background-invert\)\]:active {
1622
+ background-color: var(--background-invert);
1623
+ }
1624
+
1625
+ .active\:bg-\[var\(--background-red\)\]:active {
1626
+ background-color: var(--background-red);
1627
+ }
1628
+
1629
+ .active\:bg-\[var\(--background-secondary\)\]:active {
1630
+ background-color: var(--background-secondary);
1631
+ }
1632
+
1633
+ .active\:bg-\[var\(--background-tertiary\)\]:active {
1634
+ background-color: var(--background-tertiary);
1635
+ }
1636
+
1637
+ .active\:bg-\[var\(--background-yellow\)\]:active {
1638
+ background-color: var(--background-yellow);
1639
+ }
1640
+
1641
+ .disabled\:pointer-events-none:disabled {
1642
+ pointer-events: none;
1643
+ }
1644
+
1645
+ .disabled\:border-\[var\(--border-subtle\)\]:disabled {
1646
+ border-color: var(--border-subtle);
1647
+ }
1648
+
1649
+ .disabled\:bg-\[var\(--background-red\)\]:disabled {
1650
+ background-color: var(--background-red);
1651
+ }
1652
+
1653
+ .disabled\:bg-\[var\(--background-secondary\)\]:disabled {
1654
+ background-color: var(--background-secondary);
1655
+ }
1656
+
1657
+ .disabled\:bg-\[var\(--background-tertiary\)\]:disabled {
1658
+ background-color: var(--background-tertiary);
1659
+ }
1660
+
1661
+ .disabled\:text-\[var\(--content-subtle\)\]:disabled {
1662
+ color: var(--content-subtle);
1663
+ }
1664
+
1665
+ .disabled\:opacity-50:disabled { opacity: 0.5;
1666
+ }
1667
+
1668
+ .group:hover .group-hover\:scale-105 {
1669
+ --tw-scale-x: 1.05;
1670
+ --tw-scale-y: 1.05;
1671
+ 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));
1672
+ }
1673
+
1674
+ @media (min-width: 768px) {
1675
+
1676
+ .md\:grid-cols-2 {
1677
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1678
+ }
1679
+ }
1680
+
1681
+ @media (min-width: 1024px) {
1682
+
1683
+ .lg\:grid-cols-2 {
1684
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1685
+ }
1686
+
1687
+ .lg\:grid-cols-3 {
1688
+ grid-template-columns: repeat(3, minmax(0, 1fr));
1689
+ }
489
1690
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abhir9/pd-design-system",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Production-grade design system with adapter layer support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -33,7 +33,7 @@
33
33
  "build-storybook": "storybook build",
34
34
  "build": "npm run generate:css-variables && tsup && npm run build:css && rm -f dist/*.css.map",
35
35
  "generate:css-variables": "tsx scripts/generate-css-variables.ts",
36
- "build:css": "cp src/styles.css dist/index.css",
36
+ "build:css": "postcss src/styles.css -o dist/index.css",
37
37
  "dev": "tsup --watch",
38
38
  "type-check": "tsc --noEmit",
39
39
  "lint": "eslint src --ext .ts,.tsx",