@abhir9/pd-design-system 0.1.28 → 0.1.30

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/README.md CHANGED
@@ -130,7 +130,7 @@ function ThemeToggle() {
130
130
  const { config, setConfig } = useTheme();
131
131
 
132
132
  return (
133
- <button onClick={() => {
133
+ <Button onClick={() => {
134
134
  const nextMode = config.mode === 'dark' ? 'light' : 'dark';
135
135
  setConfig({ mode: nextMode });
136
136
  // ✅ Automatically saved to localStorage
@@ -138,7 +138,7 @@ function ThemeToggle() {
138
138
  // ✅ Updates theme immediately
139
139
  }}>
140
140
  Switch to {config.mode === 'dark' ? 'Light' : 'Dark'} Mode
141
- </button>
141
+ </Button>
142
142
  );
143
143
  }
144
144
  ```
@@ -713,11 +713,11 @@ function ThemeToggle() {
713
713
  };
714
714
 
715
715
  return (
716
- <button onClick={toggle}>
716
+ <Button onClick={toggle}>
717
717
  {config.mode === 'system' && '🌓 System'}
718
718
  {config.mode === 'light' && '☀️ Light'}
719
719
  {config.mode === 'dark' && '🌙 Dark'}
720
- </button>
720
+ </Button>
721
721
  );
722
722
  }
723
723
  ```
@@ -0,0 +1,581 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');
2
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;600;700&display=swap');
3
+ @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400&display=swap');
4
+ @import url('../styles/atoms/jsonHighlighter.css');
5
+
6
+ @tailwind base;
7
+ @tailwind components;
8
+ @tailwind utilities;
9
+
10
+ html,
11
+ body {
12
+ height: 100vh !important;
13
+ width: 100vw !important;
14
+ min-height: 100vh !important;
15
+ min-width: 100vw !important;
16
+ margin: 0;
17
+ padding: 0;
18
+ font-family: var(--font-geist-sans) !important;
19
+ color: var(--pd-content-primary)
20
+ }
21
+
22
+ html {
23
+ font-size: 10px;
24
+ }
25
+
26
+ body {
27
+ scrollbar-width: thin; /* for Firefox */
28
+ scrollbar-color: rgba(0,0,0,0.8) transparent; /* for Firefox */
29
+ }
30
+
31
+ .pd-root [class*="pd-"] {
32
+ font-size: 12px !important;
33
+ }
34
+
35
+ @media (min-width: 1550px) {
36
+ html {
37
+ font-size: 10px;
38
+ }
39
+ }
40
+
41
+ *,
42
+ ::before,
43
+ ::after {
44
+ border-width: 0;
45
+ }
46
+
47
+ * {
48
+ box-sizing: border-box;
49
+ }
50
+
51
+ [cmdk-group-items] {
52
+ /* height: 15rem;
53
+ max-height: 500px;
54
+ transition: height 100ms ease;
55
+ overflow: scroll; */
56
+ display: flex;
57
+ flex-direction: column;
58
+ }
59
+
60
+ .ant-picker-time-panel-cell-selected > div {
61
+ background-color: #5456cf !important;
62
+ }
63
+
64
+ /* Line gradients */
65
+ /* ============== */
66
+ .steps-gradient {
67
+ background: linear-gradient(
68
+ 180deg,
69
+ transparent,
70
+ hsl(227, 4%, 15%) 10%,
71
+ hsl(227, 4%, 15%) 90%,
72
+ transparent
73
+ );
74
+ }
75
+ .steps-gradient-horizontal {
76
+ background: linear-gradient(
77
+ 90deg,
78
+ transparent,
79
+ hsl(227, 4%, 15%) 10%,
80
+ hsl(227, 4%, 15%) 90%,
81
+ transparent
82
+ );
83
+ }
84
+
85
+ /* Custom overlay scrollbars (Webkit browsers) */
86
+ ::-webkit-scrollbar {
87
+ width: 8px;
88
+ height: 8px;
89
+ }
90
+
91
+ ::-webkit-scrollbar-track {
92
+ background: transparent;
93
+ }
94
+
95
+ ::-webkit-scrollbar-thumb {
96
+ background: rgba(0, 0, 0, 0.2);
97
+ border-radius: 4px;
98
+ }
99
+
100
+ ::-webkit-scrollbar-thumb:hover {
101
+ background: rgba(0, 0, 0, 0.4);
102
+ }
103
+
104
+ :root {
105
+ /* --app-background: #09090b; */
106
+ --dark-border-color: #212121;
107
+ }
108
+
109
+ :focus {
110
+ outline: 0 !important;
111
+ box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
112
+ }
113
+
114
+ input:-webkit-autofill,
115
+ input:-webkit-autofill:hover,
116
+ input:-webkit-autofill:focus,
117
+ input:-webkit-autofill:active {
118
+ background-color: transparent;
119
+ transition: background-color 5000s ease-in-out 0s;
120
+ -webkit-text-fill-color: #ffffff;
121
+ }
122
+
123
+ @layer base {
124
+ * {
125
+ @apply border-border;
126
+ }
127
+ body {
128
+ @apply bg-background text-content-primary;
129
+ }
130
+ input::placeholder,
131
+ textarea::placeholder {
132
+ color: var(--pd-content-subtle) !important;
133
+ }
134
+ input::placeholder,
135
+ textarea::placeholder {
136
+ font-size: 1.25rem
137
+ }
138
+ }
139
+
140
+ .monaco-editor {
141
+ outline-style: none !important;
142
+ outline-color: transparent !important;
143
+ }
144
+
145
+ .monaco-editor:focus {
146
+ outline-style: none !important;
147
+ outline-color: transparent !important;
148
+ }
149
+
150
+ @layer base {
151
+ :root {
152
+ /* PD Design System Variables - Dark Theme (Default) */
153
+ --radius: 0.5rem;
154
+
155
+ /* PD Background tokens */
156
+ --pd-background-primary: #09090B;
157
+ --pd-background-secondary: #17171C;
158
+ --pd-background-tertiary: #2F2F37;
159
+ --pd-background-invert: #FFFFFF;
160
+ --pd-background-green: #001F0B;
161
+ --pd-background-red: #29050C;
162
+ --pd-background-orange: #240F00;
163
+ --pd-background-yellow: #241600;
164
+ --pd-background-info: #00091F;
165
+
166
+ /* PD Content tokens */
167
+ --pd-content-primary: #DFDFE2;
168
+ --pd-content-secondary: #7E7E8B;
169
+ --pd-content-subtle: #4E4E5A;
170
+ --pd-content-on-color: #09090B;
171
+ --pd-content-blue: #709AFF;
172
+ --pd-content-green: #00E052;
173
+ --pd-content-red: #EB758A;
174
+ --pd-content-orange: #EC9C64;
175
+ --pd-content-yellow: #FFCA70;
176
+
177
+ /* PD Border tokens */
178
+ --pd-border-primary: #4E4E5A;
179
+ --pd-border-secondary: #2F2F37;
180
+ --pd-border-subtle: #2F2F37;
181
+ --pd-border-invert: #FFFFFF;
182
+ --pd-border-blue: #709AFF;
183
+ --pd-border-green: #5CFF98;
184
+ --pd-border-red: #EB758A;
185
+ --pd-border-orange: #EC9C64;
186
+ --pd-border-yellow: #FFCA70;
187
+
188
+ /* Legacy variables mapped to PD tokens for backward compatibility */
189
+ --background: var(--pd-background-primary);
190
+ --foreground: var(--pd-content-primary);
191
+ --card: var(--pd-background-secondary);
192
+ --card-foreground: var(--pd-content-primary);
193
+ --popover: var(--pd-background-secondary);
194
+ --popover-foreground: var(--pd-content-primary);
195
+ --primary: var(--pd-content-primary);
196
+ --primary-foreground: var(--pd-background-primary);
197
+ --secondary: var(--pd-background-tertiary);
198
+ --secondary-foreground: var(--pd-content-primary);
199
+ --muted: var(--pd-background-tertiary);
200
+ --muted-foreground: var(--pd-content-secondary);
201
+ --accent: var(--pd-background-tertiary);
202
+ --accent-foreground: var(--pd-content-primary);
203
+ --destructive: #C41C3B;
204
+ --destructive-foreground: #FFFFFF;
205
+ --border: var(--pd-border-primary);
206
+ --input: var(--pd-border-primary);
207
+ --ring: #3772FF;
208
+
209
+ /* Status colors using PD design system */
210
+ --color-success: #00E052;
211
+ --color-error: #C41C3B;
212
+ --color-warning: #F09700;
213
+ --color-info: #004BFF;
214
+ --color-other: #7E7E8B;
215
+
216
+ /* Legacy color mappings to PD tokens */
217
+ --indigo-900: #001E66;
218
+ --indigo-600: #004BFF;
219
+ --indigo-500: #3772FF;
220
+ --indigo-300: #99B7FF;
221
+ --transparent-bg: rgba(255, 255, 255, 0.06);
222
+ --transparent: transparent;
223
+ --blue-600: #004BFF;
224
+ --blue-900: #001E66;
225
+ --black-900: #17171C;
226
+ --card-800: #2F2F37;
227
+ --border-gray: #4E4E5A;
228
+ --stroke-700: #4E4E5A;
229
+ --600: #60606C;
230
+ --500: #7E7E8B;
231
+ --body-text-400: #BEBEC1;
232
+ --active-text-50: #DFDFE2;
233
+ --yellow-30-percent: #F097004d;
234
+ --yellow-500: #FFAD22;
235
+ --yellow-600: #F09700;
236
+ --amber-30-percent: #F097004d;
237
+ --amber-600: #F09700;
238
+ --red-30-percent: #C41C3B4d;
239
+ --red-500: #E12D4E;
240
+ --red-600: #C41C3B;
241
+ --red-900: #4C0B17;
242
+ --transparent-grey: rgba(255, 255, 255, 0.1);
243
+ --emerald-900: #006625;
244
+ --emerald-500: #00E052;
245
+ --body-text-500: #7E7E8B;
246
+ }
247
+
248
+ .dark {
249
+ /* Dark theme - same as root since PD tokens are dark by default */
250
+ --pd-background-primary: #09090B;
251
+ --pd-background-secondary: #17171C;
252
+ --pd-background-tertiary: #2F2F37;
253
+ --pd-content-primary: #DFDFE2;
254
+ --pd-content-secondary: #7E7E8B;
255
+ --pd-content-subtle: #4E4E5A;
256
+ --pd-border-primary: #4E4E5A;
257
+ --pd-border-secondary: #2F2F37;
258
+ }
259
+
260
+ .light {
261
+ /* Light theme using PD light tokens */
262
+ --pd-background-primary: #FFFFFF;
263
+ --pd-background-secondary: #EDEDED;
264
+ --pd-background-tertiary: #DFDFE2;
265
+ --pd-background-invert: #09090B;
266
+ --pd-background-green: #E0FFEC;
267
+ --pd-background-red: #FDF2F4;
268
+ --pd-background-orange: #FFF3EB;
269
+ --pd-background-yellow: #FFF4E0;
270
+ --pd-background-info: #EBF1FF;
271
+
272
+ --pd-content-primary: #17171C;
273
+ --pd-content-secondary: #60606C;
274
+ --pd-content-subtle: #BEBEC1;
275
+ --pd-content-on-color: #FFFFFF;
276
+ --pd-content-blue: #3772FF;
277
+ --pd-content-green: #00B241;
278
+ --pd-content-red: #C41C3B;
279
+ --pd-content-orange: #D65700;
280
+ --pd-content-yellow: #F09700;
281
+
282
+ --pd-border-primary: #BEBEC1;
283
+ --pd-border-secondary: #DFDFE2;
284
+ --pd-border-subtle: #DFDFE2;
285
+ --pd-border-invert: #09090B;
286
+ --pd-border-blue: #3772FF;
287
+ --pd-border-green: #00E052;
288
+ --pd-border-red: #C41C3B;
289
+ --pd-border-orange: #D65700;
290
+ --pd-border-yellow: #F09700;
291
+
292
+ /* Update legacy variables for light theme */
293
+ --active-text-50: #17171C;
294
+ --body-text-400: #BEBEC1;
295
+ --body-text-500: #60606C;
296
+ }
297
+ }
298
+
299
+ .ant-picker-outlined:focus-within {
300
+ box-shadow: none !important;
301
+ background-color: 'transparent';
302
+ }
303
+
304
+ /* split.js */
305
+ .gutter-horizontal {
306
+ @apply bg-zinc-800;
307
+ transition: all 100ms;
308
+ }
309
+ .gutter-horizontal:hover {
310
+ cursor: col-resize;
311
+ @apply bg-zinc-600;
312
+ }
313
+ .gutter-horizontal:active {
314
+ cursor: col-resize;
315
+ @apply bg-zinc-600;
316
+ }
317
+
318
+ /* */
319
+ .steps-gradient {
320
+ background: linear-gradient(
321
+ 180deg,
322
+ transparent,
323
+ hsl(227, 4%, 15%) 10%,
324
+ hsl(227, 4%, 15%) 90%,
325
+ transparent
326
+ );
327
+ }
328
+
329
+ @layer utilities {
330
+ /* Hide scrollbar for Chrome, Safari and Opera */
331
+ .no-scrollbar::-webkit-scrollbar {
332
+ display: none;
333
+ }
334
+ /* Hide scrollbar for IE, Edge and Firefox */
335
+ .no-scrollbar {
336
+ -ms-overflow-style: none; /* IE and Edge */
337
+ scrollbar-width: none; /* Firefox */
338
+ }
339
+ }
340
+
341
+
342
+
343
+ .ant-tree {
344
+ height: 100% !important;
345
+ }
346
+ .ant-tree-list {
347
+ height: 100% !important;
348
+ }
349
+ .ant-tree-list-holder {
350
+ max-height: 100% !important;
351
+ height: 100% !important;
352
+ }
353
+ .ant-tree-checkbox-inner {
354
+ background-color: #0d0d10 !important;
355
+ border: 1px solid #3f3f40 !important;
356
+ }
357
+
358
+ .ant-tree-checkbox-indeterminate > .ant-tree-checkbox-inner::after {
359
+ background-color: #5456cf !important;
360
+ border-radius: 1rem !important;
361
+ }
362
+
363
+ .ant-tree-checkbox-checked > .ant-tree-checkbox-inner:after {
364
+ border-color: #c5c5d3 !important;
365
+ }
366
+
367
+ .animate-caret-blink {
368
+ height: 1.6rem;
369
+ }
370
+
371
+ .ant-tree-treenode {
372
+ width: 98% !important;
373
+ padding-top: 0.2rem !important;
374
+ padding-bottom: 0.2rem !important;
375
+ }
376
+
377
+ .ant-tree-node-content-wrapper {
378
+ width: 98% !important;
379
+ padding: 0 0 !important;
380
+ }
381
+
382
+ /* Selection colors */
383
+ *::selection {
384
+ background-color: #0062d1;
385
+ color: #fff;
386
+ }
387
+
388
+ .embla {
389
+ max-width: 400rem;
390
+ max-height: 209rem;
391
+ margin: auto;
392
+ --slide-height: 45rem;
393
+ --slide-spacing: 1rem;
394
+ --slide-size: 70%;
395
+ }
396
+ .embla__viewport {
397
+ overflow: hidden;
398
+ }
399
+ .embla__container {
400
+ backface-visibility: hidden;
401
+ display: flex;
402
+ touch-action: pan-y pinch-zoom;
403
+ margin-left: calc(var(--slide-spacing) * -1);
404
+ }
405
+ .embla__slide {
406
+ flex: 0 0 var(--slide-size);
407
+ min-width: 0;
408
+ padding-left: var(--slide-spacing);
409
+ }
410
+ .embla__slide__img {
411
+ border-radius: 1.8rem;
412
+ display: block;
413
+ height: var(--slide-height);
414
+ width: 100%;
415
+ object-fit: cover;
416
+ }
417
+ .embla__controls {
418
+ margin-top: 4rem;
419
+ }
420
+ /* .embla__button.embla__button--prev {
421
+
422
+ } */
423
+
424
+ .embla__buttons {
425
+ width: max-content;
426
+ }
427
+ .embla__button {
428
+ -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
429
+ -webkit-appearance: none;
430
+ appearance: none;
431
+ background-color: transparent;
432
+ touch-action: manipulation;
433
+ display: inline-flex;
434
+ text-decoration: none;
435
+ border: 0;
436
+ padding: 0;
437
+ margin: 0;
438
+ box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
439
+ width: 3.6rem;
440
+ height: 3.6rem;
441
+ z-index: 1;
442
+ border-radius: 50%;
443
+ color: var(--text-body);
444
+ display: flex;
445
+ align-items: center;
446
+ justify-content: center;
447
+ }
448
+ .embla__button:disabled {
449
+ color: var(--detail-high-contrast);
450
+ }
451
+ .embla__button__svg {
452
+ width: 35%;
453
+ height: 35%;
454
+ }
455
+ .embla__dots {
456
+ display: flex;
457
+ flex-wrap: wrap;
458
+ justify-content: flex-end;
459
+ align-items: center;
460
+ margin-right: calc((2.6rem - 1.4rem) / 2 * -1);
461
+ }
462
+ .embla__dot {
463
+ -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
464
+ -webkit-appearance: none;
465
+ appearance: none;
466
+ background-color: transparent;
467
+ touch-action: manipulation;
468
+ display: inline-flex;
469
+ text-decoration: none;
470
+ cursor: pointer;
471
+ border: 0;
472
+ padding: 0;
473
+ margin: 0;
474
+ width: 2.6rem;
475
+ height: 2.6rem;
476
+ display: flex;
477
+ align-items: center;
478
+ justify-content: center;
479
+ border-radius: 50%;
480
+ }
481
+ .embla__dot:after {
482
+ box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
483
+ width: 1.4rem;
484
+ height: 1.4rem;
485
+ border-radius: 50%;
486
+ display: flex;
487
+ align-items: center;
488
+ content: '';
489
+ }
490
+ .embla__dot--selected:after {
491
+ box-shadow: inset 0 0 0 0.2rem var(--text-body);
492
+ background: red;
493
+ }
494
+
495
+ /* for graph */
496
+ :root {
497
+ --critical: #e11d4826;
498
+ --high: #ea580c26;
499
+ --medium: #eab30826;
500
+ --low: #6366f126;
501
+ --unknown: #ffffff37;
502
+ --critical-rgb: 255 29 72;
503
+ --high-rgb: 234 88 12;
504
+ --medium-rgb: 234 179 8;
505
+ --low-rgb: 99 102 241;
506
+ --unknown-rgb: 100 100 100;
507
+ --critical-dark: 62 23 35;
508
+ --high-dark: 64 35 23;
509
+ --medium-dark: 64 54 23;
510
+ --low-dark: 37 37 69;
511
+ --unknown-dark: 40 40 40;
512
+ }
513
+
514
+ .theme-light {
515
+ --brand-primary: rgb(47, 112, 193);
516
+ --brand-secondary: rgb(116, 97, 195);
517
+ --brand-alternative: rgb(19, 120, 134);
518
+ --background-site: rgb(249, 249, 249);
519
+ --background-code: rgb(244, 244, 244);
520
+ --text-body: rgb(54, 49, 61);
521
+ --text-comment: rgb(99, 94, 105);
522
+ --text-high-contrast: rgb(49, 49, 49);
523
+ --text-medium-contrast: rgb(99, 94, 105);
524
+ --text-low-contrast: rgb(116, 109, 118);
525
+ --detail-high-contrast: rgb(192, 192, 192);
526
+ --detail-medium-contrast: rgb(234, 234, 234);
527
+ --detail-low-contrast: rgb(240, 240, 242);
528
+ --admonition-note: rgb(46, 109, 188);
529
+ --admonition-warning: rgb(255, 196, 9);
530
+ --admonition-danger: rgb(220, 38, 38);
531
+ --brand-primary-rgb-value: 47, 112, 193;
532
+ --brand-secondary-rgb-value: 116, 97, 195;
533
+ --brand-alternative-rgb-value: 19, 120, 134;
534
+ --background-site-rgb-value: 249, 249, 249;
535
+ --background-code-rgb-value: 244, 244, 244;
536
+ --text-body-rgb-value: 54, 49, 61;
537
+ --text-comment-rgb-value: 99, 94, 105;
538
+ --text-high-contrast-rgb-value: 49, 49, 49;
539
+ --text-medium-contrast-rgb-value: 99, 94, 105;
540
+ --text-low-contrast-rgb-value: 116, 109, 118;
541
+ --detail-high-contrast-rgb-value: 192, 192, 192;
542
+ --detail-medium-contrast-rgb-value: 234, 234, 234;
543
+ --detail-low-contrast-rgb-value: 240, 240, 242;
544
+ --admonition-note-rgb-value: 46, 109, 188;
545
+ --admonition-warning-rgb-value: 255, 196, 9;
546
+ --admonition-danger-rgb-value: 220, 38, 38;
547
+ }
548
+ .theme-dark {
549
+ --brand-primary: rgb(138, 180, 248);
550
+ --brand-secondary: rgb(193, 168, 226);
551
+ --brand-alternative: rgb(136, 186, 191);
552
+ --background-site: rgb(0, 0, 0);
553
+ --background-code: rgb(12, 12, 12);
554
+ --text-body: rgb(222, 222, 222);
555
+ --text-comment: rgb(170, 170, 170);
556
+ --text-high-contrast: rgb(230, 230, 230);
557
+ --text-medium-contrast: rgb(202, 202, 202);
558
+ --text-low-contrast: rgb(170, 170, 170);
559
+ --detail-high-contrast: rgb(101, 101, 101);
560
+ --detail-medium-contrast: rgb(25, 25, 25);
561
+ --detail-low-contrast: rgb(21, 21, 21);
562
+ --admonition-note: rgb(138, 180, 248);
563
+ --admonition-warning: rgb(253, 186, 116);
564
+ --admonition-danger: rgb(220, 38, 38);
565
+ --brand-primary-rgb-value: 138, 180, 248;
566
+ --brand-secondary-rgb-value: 193, 168, 226;
567
+ --brand-alternative-rgb-value: 136, 186, 191;
568
+ --background-site-rgb-value: 0, 0, 0;
569
+ --background-code-rgb-value: 12, 12, 12;
570
+ --text-body-rgb-value: 222, 222, 222;
571
+ --text-comment-rgb-value: 170, 170, 170;
572
+ --text-high-contrast-rgb-value: 230, 230, 230;
573
+ --text-medium-contrast-rgb-value: 202, 202, 202;
574
+ --text-low-contrast-rgb-value: 170, 170, 170;
575
+ --detail-high-contrast-rgb-value: 101, 101, 101;
576
+ --detail-medium-contrast-rgb-value: 25, 25, 25;
577
+ --detail-low-contrast-rgb-value: 21, 21, 21;
578
+ --admonition-note-rgb-value: 138, 180, 248;
579
+ --admonition-warning-rgb-value: 253, 186, 116;
580
+ --admonition-danger-rgb-value: 220, 38, 38;
581
+ }
package/dist/index.css CHANGED
@@ -1267,6 +1267,9 @@ html body.pd-root,
1267
1267
  .pd-border-t {
1268
1268
  border-top-width: 1px;
1269
1269
  }
1270
+ .pd-border-none {
1271
+ border-style: none;
1272
+ }
1270
1273
  .pd-border-\[var\(--pd-border-blue-subtle\)\] {
1271
1274
  border-color: var(--pd-border-blue-subtle);
1272
1275
  }
@@ -1468,6 +1471,9 @@ html body.pd-root,
1468
1471
  -webkit-background-clip: text;
1469
1472
  background-clip: text;
1470
1473
  }
1474
+ .pd-p-0 {
1475
+ padding: 0em;
1476
+ }
1471
1477
  .pd-p-1 {
1472
1478
  padding: 0.25em;
1473
1479
  }
package/dist/styles.css CHANGED
@@ -1227,6 +1227,9 @@ html body.pd-root,
1227
1227
  .pd-border-t {
1228
1228
  border-top-width: 1px;
1229
1229
  }
1230
+ .pd-border-none {
1231
+ border-style: none;
1232
+ }
1230
1233
  .pd-border-\[var\(--pd-border-blue-subtle\)\] {
1231
1234
  border-color: var(--pd-border-blue-subtle);
1232
1235
  }
@@ -1447,6 +1450,9 @@ html body.pd-root,
1447
1450
  -webkit-background-clip: text;
1448
1451
  background-clip: text;
1449
1452
  }
1453
+ .pd-p-0 {
1454
+ padding: 0em;
1455
+ }
1450
1456
  .pd-p-1 {
1451
1457
  padding: 0.25em;
1452
1458
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abhir9/pd-design-system",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "description": "Production-grade design system with adapter layer support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -15,6 +15,7 @@
15
15
  },
16
16
  "./styles": "./dist/index.css",
17
17
  "./styles.css": "./dist/index.css",
18
+ "./fallback.css": "./dist/fallback.css",
18
19
  "./tokens": {
19
20
  "types": "./dist/tokens/index.d.ts",
20
21
  "import": "./dist/tokens/index.js",
@@ -33,10 +34,11 @@
33
34
  "scripts": {
34
35
  "storybook": "storybook dev -p 6006",
35
36
  "build-storybook": "storybook build",
36
- "build": "npm run generate:tokens-css && npm run generate:tailwind-config && tsup && npm run build:css && rm -f dist/*.css.map",
37
+ "build": "npm run generate:tokens-css && npm run generate:tailwind-config && tsup && npm run build:css && npm run copy:fallback-css && rm -f dist/*.css.map",
37
38
  "generate:tokens-css": "tsx scripts/generate-tokens-css.ts",
38
39
  "generate:tailwind-config": "tsx scripts/generate-tailwind-config.ts",
39
40
  "build:css": "postcss src/styles.css -o dist/index.css",
41
+ "copy:fallback-css": "cp fallback.css dist/fallback.css",
40
42
  "dev": "tsup --watch",
41
43
  "type-check": "tsc --noEmit",
42
44
  "lint": "eslint src --ext .ts,.tsx",