@pure-ds/core 0.6.8 → 0.6.10

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 (42) hide show
  1. package/custom-elements.json +71 -28
  2. package/dist/types/pds.d.ts +30 -0
  3. package/dist/types/public/assets/js/pds-manager.d.ts +146 -429
  4. package/dist/types/public/assets/js/pds-manager.d.ts.map +1 -1
  5. package/dist/types/public/assets/js/pds.d.ts +3 -4
  6. package/dist/types/public/assets/js/pds.d.ts.map +1 -1
  7. package/dist/types/public/assets/pds/components/pds-form.d.ts.map +1 -1
  8. package/dist/types/public/assets/pds/components/pds-live-edit.d.ts +1 -169
  9. package/dist/types/public/assets/pds/components/pds-live-edit.d.ts.map +1 -1
  10. package/dist/types/public/assets/pds/components/pds-omnibox.d.ts +0 -2
  11. package/dist/types/public/assets/pds/components/pds-omnibox.d.ts.map +1 -1
  12. package/dist/types/src/js/pds-core/pds-config.d.ts +1306 -13
  13. package/dist/types/src/js/pds-core/pds-config.d.ts.map +1 -1
  14. package/dist/types/src/js/pds-core/pds-enhancers-meta.d.ts.map +1 -1
  15. package/dist/types/src/js/pds-core/pds-enhancers.d.ts.map +1 -1
  16. package/dist/types/src/js/pds-core/pds-generator.d.ts.map +1 -1
  17. package/dist/types/src/js/pds-core/pds-live.d.ts.map +1 -1
  18. package/dist/types/src/js/pds-core/pds-ontology.d.ts.map +1 -1
  19. package/dist/types/src/js/pds-core/pds-start-helpers.d.ts +1 -4
  20. package/dist/types/src/js/pds-core/pds-start-helpers.d.ts.map +1 -1
  21. package/dist/types/src/js/pds-manager.d.ts +1 -0
  22. package/dist/types/src/js/pds.d.ts.map +1 -1
  23. package/package.json +2 -2
  24. package/packages/pds-cli/bin/pds-static.js +16 -1
  25. package/public/assets/js/app.js +21 -21
  26. package/public/assets/js/pds-manager.js +291 -161
  27. package/public/assets/js/pds.js +16 -16
  28. package/public/assets/pds/components/pds-form.js +124 -27
  29. package/public/assets/pds/components/pds-live-edit.js +1214 -104
  30. package/public/assets/pds/components/pds-omnibox.js +10 -18
  31. package/public/assets/pds/custom-elements.json +71 -28
  32. package/public/assets/pds/pds-css-complete.json +1 -6
  33. package/public/assets/pds/pds.css-data.json +5 -35
  34. package/src/js/pds-core/pds-config.js +822 -31
  35. package/src/js/pds-core/pds-enhancers-meta.js +11 -0
  36. package/src/js/pds-core/pds-enhancers.js +113 -5
  37. package/src/js/pds-core/pds-generator.js +183 -23
  38. package/src/js/pds-core/pds-live.js +177 -2
  39. package/src/js/pds-core/pds-ontology.js +6 -0
  40. package/src/js/pds-core/pds-start-helpers.js +14 -6
  41. package/src/js/pds.d.ts +30 -0
  42. package/src/js/pds.js +36 -60
@@ -1,3 +1,36 @@
1
+ export function buildDesignConfigFormSchema(designConfig?: {}): {
2
+ schema: {
3
+ type: string;
4
+ properties: {};
5
+ } | {
6
+ type: string;
7
+ items: {
8
+ type: any;
9
+ };
10
+ } | {
11
+ type: any;
12
+ title: any;
13
+ };
14
+ uiSchema: {
15
+ "/colors": {
16
+ "ui:layout": string;
17
+ "ui:layoutOptions": {
18
+ wrap: boolean;
19
+ gap: string;
20
+ };
21
+ };
22
+ "/colors/darkMode": {
23
+ "ui:layout": string;
24
+ "ui:layoutOptions": {
25
+ wrap: boolean;
26
+ gap: string;
27
+ };
28
+ };
29
+ };
30
+ values: any;
31
+ metadata: {};
32
+ };
33
+ export function getDesignConfigEditorMetadata(designConfig?: {}): {};
1
34
  export function validateDesignConfig(designConfig: any, { log, context }?: {
2
35
  context?: string;
3
36
  }): any[];
@@ -17,6 +50,1183 @@ export function defaultLog(level: string, message: string, ...data: any[]): void
17
50
  * Keys are design config paths (e.g., "colors.accent").
18
51
  */
19
52
  export const PDS_CONFIG_RELATIONS: {};
53
+ export namespace PDS_DESIGN_CONFIG_SPEC {
54
+ let type: string;
55
+ let allowUnknown: boolean;
56
+ namespace properties {
57
+ export namespace id {
58
+ let type_1: string;
59
+ export { type_1 as type };
60
+ export let minLength: number;
61
+ export let maxLength: number;
62
+ }
63
+ export namespace name {
64
+ let type_2: string;
65
+ export { type_2 as type };
66
+ let minLength_1: number;
67
+ export { minLength_1 as minLength };
68
+ let maxLength_1: number;
69
+ export { maxLength_1 as maxLength };
70
+ }
71
+ export namespace tags {
72
+ let type_3: string;
73
+ export { type_3 as type };
74
+ export let uniqueItems: boolean;
75
+ export namespace items {
76
+ let type_4: string;
77
+ export { type_4 as type };
78
+ }
79
+ }
80
+ export namespace themes {
81
+ let type_5: string;
82
+ export { type_5 as type };
83
+ let uniqueItems_1: boolean;
84
+ export { uniqueItems_1 as uniqueItems };
85
+ export namespace items_1 {
86
+ let type_6: string;
87
+ export { type_6 as type };
88
+ export let oneOf: {
89
+ const: string;
90
+ title: string;
91
+ }[];
92
+ }
93
+ export { items_1 as items };
94
+ }
95
+ export namespace description {
96
+ let type_7: string;
97
+ export { type_7 as type };
98
+ let maxLength_2: number;
99
+ export { maxLength_2 as maxLength };
100
+ }
101
+ export namespace options {
102
+ let type_8: string;
103
+ export { type_8 as type };
104
+ let allowUnknown_1: boolean;
105
+ export { allowUnknown_1 as allowUnknown };
106
+ export namespace properties_1 {
107
+ namespace liquidGlassEffects {
108
+ let type_9: string;
109
+ export { type_9 as type };
110
+ }
111
+ namespace backgroundMesh {
112
+ let type_10: string;
113
+ export { type_10 as type };
114
+ }
115
+ }
116
+ export { properties_1 as properties };
117
+ }
118
+ export namespace form {
119
+ let type_11: string;
120
+ export { type_11 as type };
121
+ let allowUnknown_2: boolean;
122
+ export { allowUnknown_2 as allowUnknown };
123
+ export namespace properties_2 {
124
+ export namespace options_1 {
125
+ let type_12: string;
126
+ export { type_12 as type };
127
+ let allowUnknown_3: boolean;
128
+ export { allowUnknown_3 as allowUnknown };
129
+ export namespace properties_3 {
130
+ namespace widgets {
131
+ let type_13: string;
132
+ export { type_13 as type };
133
+ let allowUnknown_4: boolean;
134
+ export { allowUnknown_4 as allowUnknown };
135
+ export namespace properties_4 {
136
+ namespace booleans {
137
+ let type_14: string;
138
+ export { type_14 as type };
139
+ }
140
+ namespace numbers {
141
+ let type_15: string;
142
+ export { type_15 as type };
143
+ }
144
+ namespace selects {
145
+ let type_16: string;
146
+ export { type_16 as type };
147
+ }
148
+ }
149
+ export { properties_4 as properties };
150
+ }
151
+ namespace layouts {
152
+ let type_17: string;
153
+ export { type_17 as type };
154
+ let allowUnknown_5: boolean;
155
+ export { allowUnknown_5 as allowUnknown };
156
+ export namespace properties_5 {
157
+ namespace fieldsets {
158
+ let type_18: string;
159
+ export { type_18 as type };
160
+ }
161
+ namespace arrays {
162
+ let type_19: string;
163
+ export { type_19 as type };
164
+ }
165
+ }
166
+ export { properties_5 as properties };
167
+ }
168
+ namespace enhancements {
169
+ let type_20: string;
170
+ export { type_20 as type };
171
+ let allowUnknown_6: boolean;
172
+ export { allowUnknown_6 as allowUnknown };
173
+ export namespace properties_6 {
174
+ namespace icons {
175
+ let type_21: string;
176
+ export { type_21 as type };
177
+ }
178
+ namespace datalists {
179
+ let type_22: string;
180
+ export { type_22 as type };
181
+ }
182
+ namespace rangeOutput {
183
+ let type_23: string;
184
+ export { type_23 as type };
185
+ }
186
+ namespace colorInput {
187
+ let type_24: string;
188
+ export { type_24 as type };
189
+ }
190
+ }
191
+ export { properties_6 as properties };
192
+ }
193
+ namespace validation {
194
+ let type_25: string;
195
+ export { type_25 as type };
196
+ let allowUnknown_7: boolean;
197
+ export { allowUnknown_7 as allowUnknown };
198
+ export namespace properties_7 {
199
+ namespace showErrors {
200
+ let type_26: string;
201
+ export { type_26 as type };
202
+ }
203
+ namespace validateOnChange {
204
+ let type_27: string;
205
+ export { type_27 as type };
206
+ }
207
+ }
208
+ export { properties_7 as properties };
209
+ }
210
+ }
211
+ export { properties_3 as properties };
212
+ }
213
+ export { options_1 as options };
214
+ }
215
+ export { properties_2 as properties };
216
+ }
217
+ export namespace colors {
218
+ let type_28: string;
219
+ export { type_28 as type };
220
+ let allowUnknown_8: boolean;
221
+ export { allowUnknown_8 as allowUnknown };
222
+ export namespace properties_8 {
223
+ namespace primary {
224
+ let type_29: string;
225
+ export { type_29 as type };
226
+ export namespace relations {
227
+ let tokens: string[];
228
+ }
229
+ }
230
+ namespace secondary {
231
+ let type_30: string;
232
+ export { type_30 as type };
233
+ export namespace relations_1 {
234
+ let tokens_1: string[];
235
+ export { tokens_1 as tokens };
236
+ }
237
+ export { relations_1 as relations };
238
+ }
239
+ namespace accent {
240
+ let type_31: string;
241
+ export { type_31 as type };
242
+ export namespace relations_2 {
243
+ let tokens_2: string[];
244
+ export { tokens_2 as tokens };
245
+ }
246
+ export { relations_2 as relations };
247
+ }
248
+ namespace background {
249
+ let type_32: string;
250
+ export { type_32 as type };
251
+ export namespace relations_3 {
252
+ let tokens_3: string[];
253
+ export { tokens_3 as tokens };
254
+ }
255
+ export { relations_3 as relations };
256
+ }
257
+ namespace success {
258
+ let type_33: string[];
259
+ export { type_33 as type };
260
+ export namespace relations_4 {
261
+ let tokens_4: string[];
262
+ export { tokens_4 as tokens };
263
+ }
264
+ export { relations_4 as relations };
265
+ }
266
+ namespace warning {
267
+ let type_34: string[];
268
+ export { type_34 as type };
269
+ export namespace relations_5 {
270
+ let tokens_5: string[];
271
+ export { tokens_5 as tokens };
272
+ }
273
+ export { relations_5 as relations };
274
+ }
275
+ namespace danger {
276
+ let type_35: string[];
277
+ export { type_35 as type };
278
+ export namespace relations_6 {
279
+ let tokens_6: string[];
280
+ export { tokens_6 as tokens };
281
+ }
282
+ export { relations_6 as relations };
283
+ }
284
+ namespace info {
285
+ let type_36: string[];
286
+ export { type_36 as type };
287
+ export namespace relations_7 {
288
+ let tokens_7: string[];
289
+ export { tokens_7 as tokens };
290
+ }
291
+ export { relations_7 as relations };
292
+ }
293
+ namespace gradientStops {
294
+ let type_37: string;
295
+ export { type_37 as type };
296
+ }
297
+ namespace elevationOpacity {
298
+ let type_38: string;
299
+ export { type_38 as type };
300
+ export namespace relations_8 {
301
+ let tokens_8: string[];
302
+ export { tokens_8 as tokens };
303
+ }
304
+ export { relations_8 as relations };
305
+ }
306
+ namespace darkMode {
307
+ let type_39: string;
308
+ export { type_39 as type };
309
+ let allowUnknown_9: boolean;
310
+ export { allowUnknown_9 as allowUnknown };
311
+ export namespace properties_9 {
312
+ export namespace background_1 {
313
+ let type_40: string;
314
+ export { type_40 as type };
315
+ export namespace relations_9 {
316
+ export let theme: string;
317
+ let tokens_9: string[];
318
+ export { tokens_9 as tokens };
319
+ }
320
+ export { relations_9 as relations };
321
+ }
322
+ export { background_1 as background };
323
+ export namespace primary_1 {
324
+ let type_41: string;
325
+ export { type_41 as type };
326
+ export namespace relations_10 {
327
+ let theme_1: string;
328
+ export { theme_1 as theme };
329
+ let tokens_10: string[];
330
+ export { tokens_10 as tokens };
331
+ }
332
+ export { relations_10 as relations };
333
+ }
334
+ export { primary_1 as primary };
335
+ export namespace secondary_1 {
336
+ let type_42: string;
337
+ export { type_42 as type };
338
+ export namespace relations_11 {
339
+ let theme_2: string;
340
+ export { theme_2 as theme };
341
+ let tokens_11: string[];
342
+ export { tokens_11 as tokens };
343
+ }
344
+ export { relations_11 as relations };
345
+ }
346
+ export { secondary_1 as secondary };
347
+ export namespace accent_1 {
348
+ let type_43: string;
349
+ export { type_43 as type };
350
+ export namespace relations_12 {
351
+ let theme_3: string;
352
+ export { theme_3 as theme };
353
+ let tokens_12: string[];
354
+ export { tokens_12 as tokens };
355
+ }
356
+ export { relations_12 as relations };
357
+ }
358
+ export { accent_1 as accent };
359
+ }
360
+ export { properties_9 as properties };
361
+ }
362
+ }
363
+ export { properties_8 as properties };
364
+ }
365
+ export namespace typography {
366
+ let type_44: string;
367
+ export { type_44 as type };
368
+ let allowUnknown_10: boolean;
369
+ export { allowUnknown_10 as allowUnknown };
370
+ export namespace properties_10 {
371
+ namespace fontFamilyHeadings {
372
+ let type_45: string;
373
+ export { type_45 as type };
374
+ export namespace relations_13 {
375
+ let tokens_13: string[];
376
+ export { tokens_13 as tokens };
377
+ }
378
+ export { relations_13 as relations };
379
+ }
380
+ namespace fontFamilyBody {
381
+ let type_46: string;
382
+ export { type_46 as type };
383
+ export namespace relations_14 {
384
+ let tokens_14: string[];
385
+ export { tokens_14 as tokens };
386
+ }
387
+ export { relations_14 as relations };
388
+ }
389
+ namespace fontFamilyMono {
390
+ let type_47: string;
391
+ export { type_47 as type };
392
+ export namespace relations_15 {
393
+ let tokens_15: string[];
394
+ export { tokens_15 as tokens };
395
+ }
396
+ export { relations_15 as relations };
397
+ }
398
+ namespace baseFontSize {
399
+ let type_48: string;
400
+ export { type_48 as type };
401
+ export namespace relations_16 {
402
+ let tokens_16: string[];
403
+ export { tokens_16 as tokens };
404
+ }
405
+ export { relations_16 as relations };
406
+ }
407
+ namespace fontScale {
408
+ let type_49: string;
409
+ export { type_49 as type };
410
+ export namespace relations_17 {
411
+ let tokens_17: string[];
412
+ export { tokens_17 as tokens };
413
+ }
414
+ export { relations_17 as relations };
415
+ }
416
+ namespace fontWeightLight {
417
+ let type_50: string[];
418
+ export { type_50 as type };
419
+ export namespace relations_18 {
420
+ let tokens_18: string[];
421
+ export { tokens_18 as tokens };
422
+ }
423
+ export { relations_18 as relations };
424
+ }
425
+ namespace fontWeightNormal {
426
+ let type_51: string[];
427
+ export { type_51 as type };
428
+ export namespace relations_19 {
429
+ let tokens_19: string[];
430
+ export { tokens_19 as tokens };
431
+ }
432
+ export { relations_19 as relations };
433
+ }
434
+ namespace fontWeightMedium {
435
+ let type_52: string[];
436
+ export { type_52 as type };
437
+ export namespace relations_20 {
438
+ let tokens_20: string[];
439
+ export { tokens_20 as tokens };
440
+ }
441
+ export { relations_20 as relations };
442
+ }
443
+ namespace fontWeightSemibold {
444
+ let type_53: string[];
445
+ export { type_53 as type };
446
+ export namespace relations_21 {
447
+ let tokens_21: string[];
448
+ export { tokens_21 as tokens };
449
+ }
450
+ export { relations_21 as relations };
451
+ }
452
+ namespace fontWeightBold {
453
+ let type_54: string[];
454
+ export { type_54 as type };
455
+ export namespace relations_22 {
456
+ let tokens_22: string[];
457
+ export { tokens_22 as tokens };
458
+ }
459
+ export { relations_22 as relations };
460
+ }
461
+ namespace lineHeightTight {
462
+ let type_55: string[];
463
+ export { type_55 as type };
464
+ export namespace relations_23 {
465
+ let tokens_23: string[];
466
+ export { tokens_23 as tokens };
467
+ }
468
+ export { relations_23 as relations };
469
+ }
470
+ namespace lineHeightNormal {
471
+ let type_56: string[];
472
+ export { type_56 as type };
473
+ export namespace relations_24 {
474
+ let tokens_24: string[];
475
+ export { tokens_24 as tokens };
476
+ }
477
+ export { relations_24 as relations };
478
+ }
479
+ namespace lineHeightRelaxed {
480
+ let type_57: string[];
481
+ export { type_57 as type };
482
+ export namespace relations_25 {
483
+ let tokens_25: string[];
484
+ export { tokens_25 as tokens };
485
+ }
486
+ export { relations_25 as relations };
487
+ }
488
+ namespace letterSpacingTight {
489
+ let type_58: string;
490
+ export { type_58 as type };
491
+ }
492
+ namespace letterSpacingNormal {
493
+ let type_59: string;
494
+ export { type_59 as type };
495
+ }
496
+ namespace letterSpacingWide {
497
+ let type_60: string;
498
+ export { type_60 as type };
499
+ }
500
+ }
501
+ export { properties_10 as properties };
502
+ }
503
+ export namespace spatialRhythm {
504
+ let type_61: string;
505
+ export { type_61 as type };
506
+ let allowUnknown_11: boolean;
507
+ export { allowUnknown_11 as allowUnknown };
508
+ export namespace properties_11 {
509
+ namespace baseUnit {
510
+ let type_62: string;
511
+ export { type_62 as type };
512
+ export namespace relations_26 {
513
+ let tokens_26: string[];
514
+ export { tokens_26 as tokens };
515
+ }
516
+ export { relations_26 as relations };
517
+ }
518
+ namespace scaleRatio {
519
+ let type_63: string;
520
+ export { type_63 as type };
521
+ }
522
+ namespace maxSpacingSteps {
523
+ let type_64: string;
524
+ export { type_64 as type };
525
+ export namespace relations_27 {
526
+ let tokens_27: string[];
527
+ export { tokens_27 as tokens };
528
+ }
529
+ export { relations_27 as relations };
530
+ }
531
+ namespace containerPadding {
532
+ let type_65: string;
533
+ export { type_65 as type };
534
+ }
535
+ namespace inputPadding {
536
+ let type_66: string;
537
+ export { type_66 as type };
538
+ export namespace relations_28 {
539
+ let rules: {
540
+ selectors: string[];
541
+ properties: string[];
542
+ }[];
543
+ }
544
+ export { relations_28 as relations };
545
+ }
546
+ namespace buttonPadding {
547
+ let type_67: string;
548
+ export { type_67 as type };
549
+ export namespace relations_29 {
550
+ let rules_1: {
551
+ selectors: string[];
552
+ properties: string[];
553
+ }[];
554
+ export { rules_1 as rules };
555
+ }
556
+ export { relations_29 as relations };
557
+ }
558
+ namespace sectionSpacing {
559
+ let type_68: string;
560
+ export { type_68 as type };
561
+ export namespace relations_30 {
562
+ let rules_2: {
563
+ selectors: string[];
564
+ properties: string[];
565
+ }[];
566
+ export { rules_2 as rules };
567
+ }
568
+ export { relations_30 as relations };
569
+ }
570
+ }
571
+ export { properties_11 as properties };
572
+ }
573
+ export namespace shape {
574
+ let type_69: string;
575
+ export { type_69 as type };
576
+ let allowUnknown_12: boolean;
577
+ export { allowUnknown_12 as allowUnknown };
578
+ export namespace properties_12 {
579
+ namespace radiusSize {
580
+ let type_70: string[];
581
+ export { type_70 as type };
582
+ export namespace relations_31 {
583
+ let tokens_28: string[];
584
+ export { tokens_28 as tokens };
585
+ }
586
+ export { relations_31 as relations };
587
+ }
588
+ namespace customRadius {
589
+ let type_71: string[];
590
+ export { type_71 as type };
591
+ }
592
+ namespace borderWidth {
593
+ let type_72: string[];
594
+ export { type_72 as type };
595
+ export namespace relations_32 {
596
+ let tokens_29: string[];
597
+ export { tokens_29 as tokens };
598
+ }
599
+ export { relations_32 as relations };
600
+ }
601
+ }
602
+ export { properties_12 as properties };
603
+ }
604
+ export namespace behavior {
605
+ let type_73: string;
606
+ export { type_73 as type };
607
+ let allowUnknown_13: boolean;
608
+ export { allowUnknown_13 as allowUnknown };
609
+ export namespace properties_13 {
610
+ namespace transitionSpeed {
611
+ let type_74: string[];
612
+ export { type_74 as type };
613
+ export namespace relations_33 {
614
+ let tokens_30: string[];
615
+ export { tokens_30 as tokens };
616
+ }
617
+ export { relations_33 as relations };
618
+ }
619
+ namespace animationEasing {
620
+ let type_75: string;
621
+ export { type_75 as type };
622
+ }
623
+ namespace customTransitionSpeed {
624
+ let type_76: string[];
625
+ export { type_76 as type };
626
+ }
627
+ namespace customEasing {
628
+ let type_77: string[];
629
+ export { type_77 as type };
630
+ }
631
+ namespace focusRingWidth {
632
+ let type_78: string;
633
+ export { type_78 as type };
634
+ export namespace relations_34 {
635
+ let rules_3: {
636
+ selectors: string[];
637
+ properties: string[];
638
+ }[];
639
+ export { rules_3 as rules };
640
+ }
641
+ export { relations_34 as relations };
642
+ }
643
+ namespace focusRingOpacity {
644
+ let type_79: string;
645
+ export { type_79 as type };
646
+ export namespace relations_35 {
647
+ let rules_4: {
648
+ selectors: string[];
649
+ properties: string[];
650
+ }[];
651
+ export { rules_4 as rules };
652
+ }
653
+ export { relations_35 as relations };
654
+ }
655
+ namespace hoverOpacity {
656
+ let type_80: string;
657
+ export { type_80 as type };
658
+ }
659
+ }
660
+ export { properties_13 as properties };
661
+ }
662
+ export namespace layout {
663
+ let type_81: string;
664
+ export { type_81 as type };
665
+ let allowUnknown_14: boolean;
666
+ export { allowUnknown_14 as allowUnknown };
667
+ export namespace properties_14 {
668
+ export namespace maxWidth {
669
+ let type_82: string[];
670
+ export { type_82 as type };
671
+ export namespace relations_36 {
672
+ let tokens_31: string[];
673
+ export { tokens_31 as tokens };
674
+ }
675
+ export { relations_36 as relations };
676
+ }
677
+ export namespace maxWidths {
678
+ let type_83: string;
679
+ export { type_83 as type };
680
+ let allowUnknown_15: boolean;
681
+ export { allowUnknown_15 as allowUnknown };
682
+ export namespace properties_15 {
683
+ namespace sm {
684
+ let type_84: string[];
685
+ export { type_84 as type };
686
+ export namespace relations_37 {
687
+ let tokens_32: string[];
688
+ export { tokens_32 as tokens };
689
+ }
690
+ export { relations_37 as relations };
691
+ }
692
+ namespace md {
693
+ let type_85: string[];
694
+ export { type_85 as type };
695
+ export namespace relations_38 {
696
+ let tokens_33: string[];
697
+ export { tokens_33 as tokens };
698
+ }
699
+ export { relations_38 as relations };
700
+ }
701
+ namespace lg {
702
+ let type_86: string[];
703
+ export { type_86 as type };
704
+ export namespace relations_39 {
705
+ let tokens_34: string[];
706
+ export { tokens_34 as tokens };
707
+ }
708
+ export { relations_39 as relations };
709
+ }
710
+ namespace xl {
711
+ let type_87: string[];
712
+ export { type_87 as type };
713
+ export namespace relations_40 {
714
+ let tokens_35: string[];
715
+ export { tokens_35 as tokens };
716
+ }
717
+ export { relations_40 as relations };
718
+ }
719
+ }
720
+ export { properties_15 as properties };
721
+ }
722
+ export namespace containerPadding_1 {
723
+ let type_88: string[];
724
+ export { type_88 as type };
725
+ export namespace relations_41 {
726
+ let tokens_36: string[];
727
+ export { tokens_36 as tokens };
728
+ }
729
+ export { relations_41 as relations };
730
+ }
731
+ export { containerPadding_1 as containerPadding };
732
+ export namespace breakpoints {
733
+ let type_89: string;
734
+ export { type_89 as type };
735
+ let allowUnknown_16: boolean;
736
+ export { allowUnknown_16 as allowUnknown };
737
+ export namespace properties_16 {
738
+ export namespace sm_1 {
739
+ let type_90: string;
740
+ export { type_90 as type };
741
+ }
742
+ export { sm_1 as sm };
743
+ export namespace md_1 {
744
+ let type_91: string;
745
+ export { type_91 as type };
746
+ }
747
+ export { md_1 as md };
748
+ export namespace lg_1 {
749
+ let type_92: string;
750
+ export { type_92 as type };
751
+ }
752
+ export { lg_1 as lg };
753
+ export namespace xl_1 {
754
+ let type_93: string;
755
+ export { type_93 as type };
756
+ }
757
+ export { xl_1 as xl };
758
+ }
759
+ export { properties_16 as properties };
760
+ }
761
+ export namespace gridColumns {
762
+ let type_94: string;
763
+ export { type_94 as type };
764
+ }
765
+ export namespace gridGutter {
766
+ let type_95: string;
767
+ export { type_95 as type };
768
+ }
769
+ export namespace densityCompact {
770
+ let type_96: string;
771
+ export { type_96 as type };
772
+ }
773
+ export namespace densityNormal {
774
+ let type_97: string;
775
+ export { type_97 as type };
776
+ }
777
+ export namespace densityComfortable {
778
+ let type_98: string;
779
+ export { type_98 as type };
780
+ }
781
+ export namespace buttonMinHeight {
782
+ let type_99: string;
783
+ export { type_99 as type };
784
+ }
785
+ export namespace inputMinHeight {
786
+ let type_100: string;
787
+ export { type_100 as type };
788
+ }
789
+ export namespace baseShadowOpacity {
790
+ let type_101: string;
791
+ export { type_101 as type };
792
+ export namespace relations_42 {
793
+ let tokens_37: string[];
794
+ export { tokens_37 as tokens };
795
+ }
796
+ export { relations_42 as relations };
797
+ }
798
+ export namespace darkMode_1 {
799
+ let type_102: string;
800
+ export { type_102 as type };
801
+ let allowUnknown_17: boolean;
802
+ export { allowUnknown_17 as allowUnknown };
803
+ export namespace properties_17 {
804
+ export namespace baseShadowOpacity_1 {
805
+ let type_103: string;
806
+ export { type_103 as type };
807
+ export namespace relations_43 {
808
+ let theme_4: string;
809
+ export { theme_4 as theme };
810
+ let tokens_38: string[];
811
+ export { tokens_38 as tokens };
812
+ }
813
+ export { relations_43 as relations };
814
+ }
815
+ export { baseShadowOpacity_1 as baseShadowOpacity };
816
+ }
817
+ export { properties_17 as properties };
818
+ }
819
+ export { darkMode_1 as darkMode };
820
+ export namespace utilities {
821
+ let type_104: string;
822
+ export { type_104 as type };
823
+ let allowUnknown_18: boolean;
824
+ export { allowUnknown_18 as allowUnknown };
825
+ export namespace properties_18 {
826
+ namespace grid {
827
+ let type_105: string;
828
+ export { type_105 as type };
829
+ }
830
+ namespace flex {
831
+ let type_106: string;
832
+ export { type_106 as type };
833
+ }
834
+ namespace spacing {
835
+ let type_107: string;
836
+ export { type_107 as type };
837
+ }
838
+ namespace container {
839
+ let type_108: string;
840
+ export { type_108 as type };
841
+ }
842
+ }
843
+ export { properties_18 as properties };
844
+ }
845
+ export namespace gridSystem {
846
+ let type_109: string;
847
+ export { type_109 as type };
848
+ let allowUnknown_19: boolean;
849
+ export { allowUnknown_19 as allowUnknown };
850
+ export namespace properties_19 {
851
+ namespace columns {
852
+ let type_110: string;
853
+ export { type_110 as type };
854
+ export namespace items_2 {
855
+ let type_111: string;
856
+ export { type_111 as type };
857
+ }
858
+ export { items_2 as items };
859
+ }
860
+ namespace autoFitBreakpoints {
861
+ let type_112: string;
862
+ export { type_112 as type };
863
+ let allowUnknown_20: boolean;
864
+ export { allowUnknown_20 as allowUnknown };
865
+ export namespace properties_20 {
866
+ export namespace sm_2 {
867
+ let type_113: string;
868
+ export { type_113 as type };
869
+ }
870
+ export { sm_2 as sm };
871
+ export namespace md_2 {
872
+ let type_114: string;
873
+ export { type_114 as type };
874
+ }
875
+ export { md_2 as md };
876
+ export namespace lg_2 {
877
+ let type_115: string;
878
+ export { type_115 as type };
879
+ }
880
+ export { lg_2 as lg };
881
+ export namespace xl_2 {
882
+ let type_116: string;
883
+ export { type_116 as type };
884
+ }
885
+ export { xl_2 as xl };
886
+ }
887
+ export { properties_20 as properties };
888
+ }
889
+ namespace enableGapUtilities {
890
+ let type_117: string;
891
+ export { type_117 as type };
892
+ }
893
+ }
894
+ export { properties_19 as properties };
895
+ }
896
+ export namespace containerMaxWidth {
897
+ let type_118: string[];
898
+ export { type_118 as type };
899
+ }
900
+ }
901
+ export { properties_14 as properties };
902
+ }
903
+ export namespace layers {
904
+ let type_119: string;
905
+ export { type_119 as type };
906
+ let allowUnknown_21: boolean;
907
+ export { allowUnknown_21 as allowUnknown };
908
+ export namespace properties_21 {
909
+ export namespace baseShadowOpacity_2 {
910
+ let type_120: string;
911
+ export { type_120 as type };
912
+ export namespace relations_44 {
913
+ let tokens_39: string[];
914
+ export { tokens_39 as tokens };
915
+ }
916
+ export { relations_44 as relations };
917
+ }
918
+ export { baseShadowOpacity_2 as baseShadowOpacity };
919
+ export namespace shadowBlurMultiplier {
920
+ let type_121: string;
921
+ export { type_121 as type };
922
+ export namespace relations_45 {
923
+ let tokens_40: string[];
924
+ export { tokens_40 as tokens };
925
+ }
926
+ export { relations_45 as relations };
927
+ }
928
+ export namespace shadowOffsetMultiplier {
929
+ let type_122: string;
930
+ export { type_122 as type };
931
+ export namespace relations_46 {
932
+ let tokens_41: string[];
933
+ export { tokens_41 as tokens };
934
+ }
935
+ export { relations_46 as relations };
936
+ }
937
+ export namespace shadowDepth {
938
+ let type_123: string;
939
+ export { type_123 as type };
940
+ }
941
+ export namespace blurLight {
942
+ let type_124: string;
943
+ export { type_124 as type };
944
+ }
945
+ export namespace blurMedium {
946
+ let type_125: string;
947
+ export { type_125 as type };
948
+ }
949
+ export namespace blurHeavy {
950
+ let type_126: string;
951
+ export { type_126 as type };
952
+ }
953
+ export namespace baseZIndex {
954
+ let type_127: string;
955
+ export { type_127 as type };
956
+ export namespace relations_47 {
957
+ let tokens_42: string[];
958
+ export { tokens_42 as tokens };
959
+ }
960
+ export { relations_47 as relations };
961
+ }
962
+ export namespace zIndexStep {
963
+ let type_128: string;
964
+ export { type_128 as type };
965
+ export namespace relations_48 {
966
+ let tokens_43: string[];
967
+ export { tokens_43 as tokens };
968
+ }
969
+ export { relations_48 as relations };
970
+ }
971
+ export namespace zIndexBase {
972
+ let type_129: string;
973
+ export { type_129 as type };
974
+ }
975
+ export namespace zIndexDropdown {
976
+ let type_130: string;
977
+ export { type_130 as type };
978
+ }
979
+ export namespace zIndexSticky {
980
+ let type_131: string;
981
+ export { type_131 as type };
982
+ }
983
+ export namespace zIndexFixed {
984
+ let type_132: string;
985
+ export { type_132 as type };
986
+ }
987
+ export namespace zIndexModal {
988
+ let type_133: string;
989
+ export { type_133 as type };
990
+ }
991
+ export namespace zIndexPopover {
992
+ let type_134: string;
993
+ export { type_134 as type };
994
+ }
995
+ export namespace zIndexTooltip {
996
+ let type_135: string;
997
+ export { type_135 as type };
998
+ }
999
+ export namespace zIndexNotification {
1000
+ let type_136: string;
1001
+ export { type_136 as type };
1002
+ }
1003
+ export namespace darkMode_2 {
1004
+ let type_137: string;
1005
+ export { type_137 as type };
1006
+ let allowUnknown_22: boolean;
1007
+ export { allowUnknown_22 as allowUnknown };
1008
+ export namespace properties_22 {
1009
+ export namespace baseShadowOpacity_3 {
1010
+ let type_138: string;
1011
+ export { type_138 as type };
1012
+ export namespace relations_49 {
1013
+ let theme_5: string;
1014
+ export { theme_5 as theme };
1015
+ let tokens_44: string[];
1016
+ export { tokens_44 as tokens };
1017
+ }
1018
+ export { relations_49 as relations };
1019
+ }
1020
+ export { baseShadowOpacity_3 as baseShadowOpacity };
1021
+ }
1022
+ export { properties_22 as properties };
1023
+ }
1024
+ export { darkMode_2 as darkMode };
1025
+ }
1026
+ export { properties_21 as properties };
1027
+ }
1028
+ export namespace advanced {
1029
+ let type_139: string;
1030
+ export { type_139 as type };
1031
+ let allowUnknown_23: boolean;
1032
+ export { allowUnknown_23 as allowUnknown };
1033
+ export namespace properties_23 {
1034
+ namespace linkStyle {
1035
+ let type_140: string;
1036
+ export { type_140 as type };
1037
+ }
1038
+ namespace colorDerivation {
1039
+ let type_141: string;
1040
+ export { type_141 as type };
1041
+ }
1042
+ }
1043
+ export { properties_23 as properties };
1044
+ }
1045
+ export namespace a11y {
1046
+ let type_142: string;
1047
+ export { type_142 as type };
1048
+ let allowUnknown_24: boolean;
1049
+ export { allowUnknown_24 as allowUnknown };
1050
+ export namespace properties_24 {
1051
+ namespace minTouchTarget {
1052
+ let type_143: string[];
1053
+ export { type_143 as type };
1054
+ }
1055
+ namespace prefersReducedMotion {
1056
+ let type_144: string;
1057
+ export { type_144 as type };
1058
+ }
1059
+ namespace focusStyle {
1060
+ let type_145: string;
1061
+ export { type_145 as type };
1062
+ }
1063
+ }
1064
+ export { properties_24 as properties };
1065
+ }
1066
+ export namespace icons_1 {
1067
+ let type_146: string;
1068
+ export { type_146 as type };
1069
+ let allowUnknown_25: boolean;
1070
+ export { allowUnknown_25 as allowUnknown };
1071
+ export namespace properties_25 {
1072
+ namespace set {
1073
+ let type_147: string;
1074
+ export { type_147 as type };
1075
+ }
1076
+ namespace weight {
1077
+ let type_148: string;
1078
+ export { type_148 as type };
1079
+ }
1080
+ namespace defaultSize {
1081
+ let type_149: string;
1082
+ export { type_149 as type };
1083
+ export namespace relations_50 {
1084
+ let tokens_45: string[];
1085
+ export { tokens_45 as tokens };
1086
+ }
1087
+ export { relations_50 as relations };
1088
+ }
1089
+ namespace sizes {
1090
+ let type_150: string;
1091
+ export { type_150 as type };
1092
+ let allowUnknown_26: boolean;
1093
+ export { allowUnknown_26 as allowUnknown };
1094
+ let properties_26: {
1095
+ xs: {
1096
+ type: string[];
1097
+ };
1098
+ sm: {
1099
+ type: string[];
1100
+ };
1101
+ md: {
1102
+ type: string[];
1103
+ };
1104
+ lg: {
1105
+ type: string[];
1106
+ };
1107
+ xl: {
1108
+ type: string[];
1109
+ };
1110
+ "2xl": {
1111
+ type: string[];
1112
+ };
1113
+ };
1114
+ export { properties_26 as properties };
1115
+ }
1116
+ namespace spritePath {
1117
+ let type_151: string;
1118
+ export { type_151 as type };
1119
+ }
1120
+ namespace externalPath {
1121
+ let type_152: string;
1122
+ export { type_152 as type };
1123
+ }
1124
+ namespace include {
1125
+ let type_153: string;
1126
+ export { type_153 as type };
1127
+ let allowUnknown_27: boolean;
1128
+ export { allowUnknown_27 as allowUnknown };
1129
+ export namespace properties_27 {
1130
+ namespace navigation {
1131
+ let type_154: string;
1132
+ export { type_154 as type };
1133
+ export namespace items_3 {
1134
+ let type_155: string;
1135
+ export { type_155 as type };
1136
+ }
1137
+ export { items_3 as items };
1138
+ }
1139
+ namespace actions {
1140
+ let type_156: string;
1141
+ export { type_156 as type };
1142
+ export namespace items_4 {
1143
+ let type_157: string;
1144
+ export { type_157 as type };
1145
+ }
1146
+ export { items_4 as items };
1147
+ }
1148
+ namespace communication {
1149
+ let type_158: string;
1150
+ export { type_158 as type };
1151
+ export namespace items_5 {
1152
+ let type_159: string;
1153
+ export { type_159 as type };
1154
+ }
1155
+ export { items_5 as items };
1156
+ }
1157
+ namespace content {
1158
+ let type_160: string;
1159
+ export { type_160 as type };
1160
+ export namespace items_6 {
1161
+ let type_161: string;
1162
+ export { type_161 as type };
1163
+ }
1164
+ export { items_6 as items };
1165
+ }
1166
+ namespace status {
1167
+ let type_162: string;
1168
+ export { type_162 as type };
1169
+ export namespace items_7 {
1170
+ let type_163: string;
1171
+ export { type_163 as type };
1172
+ }
1173
+ export { items_7 as items };
1174
+ }
1175
+ namespace time {
1176
+ let type_164: string;
1177
+ export { type_164 as type };
1178
+ export namespace items_8 {
1179
+ let type_165: string;
1180
+ export { type_165 as type };
1181
+ }
1182
+ export { items_8 as items };
1183
+ }
1184
+ namespace commerce {
1185
+ let type_166: string;
1186
+ export { type_166 as type };
1187
+ export namespace items_9 {
1188
+ let type_167: string;
1189
+ export { type_167 as type };
1190
+ }
1191
+ export { items_9 as items };
1192
+ }
1193
+ namespace formatting {
1194
+ let type_168: string;
1195
+ export { type_168 as type };
1196
+ export namespace items_10 {
1197
+ let type_169: string;
1198
+ export { type_169 as type };
1199
+ }
1200
+ export { items_10 as items };
1201
+ }
1202
+ namespace system {
1203
+ let type_170: string;
1204
+ export { type_170 as type };
1205
+ export namespace items_11 {
1206
+ let type_171: string;
1207
+ export { type_171 as type };
1208
+ }
1209
+ export { items_11 as items };
1210
+ }
1211
+ }
1212
+ export { properties_27 as properties };
1213
+ }
1214
+ }
1215
+ export { properties_25 as properties };
1216
+ }
1217
+ export { icons_1 as icons };
1218
+ export namespace components {
1219
+ let type_172: string;
1220
+ export { type_172 as type };
1221
+ let allowUnknown_28: boolean;
1222
+ export { allowUnknown_28 as allowUnknown };
1223
+ }
1224
+ export namespace debug {
1225
+ let type_173: string;
1226
+ export { type_173 as type };
1227
+ }
1228
+ }
1229
+ }
20
1230
  /**
21
1231
  * Design system presets - pre-configured themes for quick starts.
22
1232
  * Expose as an object keyed by preset id.
@@ -537,7 +1747,6 @@ export const presets: {
537
1747
  spatialRhythm: {
538
1748
  baseUnit: number;
539
1749
  scaleRatio: number;
540
- containerMaxWidth: number;
541
1750
  containerPadding: number;
542
1751
  sectionSpacing: number;
543
1752
  };
@@ -638,7 +1847,6 @@ export const presets: {
638
1847
  spatialRhythm: {
639
1848
  baseUnit: number;
640
1849
  scaleRatio: number;
641
- containerMaxWidth: number;
642
1850
  sectionSpacing: number;
643
1851
  };
644
1852
  shape: {
@@ -694,7 +1902,6 @@ export const presets: {
694
1902
  spatialRhythm: {
695
1903
  baseUnit: number;
696
1904
  scaleRatio: number;
697
- containerMaxWidth: number;
698
1905
  sectionSpacing: number;
699
1906
  };
700
1907
  shape: {
@@ -744,7 +1951,6 @@ export const presets: {
744
1951
  spatialRhythm: {
745
1952
  baseUnit: number;
746
1953
  scaleRatio: number;
747
- containerMaxWidth: number;
748
1954
  containerPadding: number;
749
1955
  sectionSpacing: number;
750
1956
  };
@@ -767,6 +1973,24 @@ export const presets: {
767
1973
  };
768
1974
  };
769
1975
  };
1976
+ export const PDS_DEFAULT_CONFIG_EDITOR_METADATA: {};
1977
+ export namespace PDS_DEFAULT_CONFIG_FORM_SCHEMA {
1978
+ export let schema: {
1979
+ type: string;
1980
+ properties: {};
1981
+ } | {
1982
+ type: string;
1983
+ items: {
1984
+ type: any;
1985
+ };
1986
+ } | {
1987
+ type: any;
1988
+ title: any;
1989
+ };
1990
+ export { uiSchema };
1991
+ export let values: any;
1992
+ export { metadata };
1993
+ }
770
1994
  export type PDSDarkModeColorsConfig = {
771
1995
  /**
772
1996
  * - Affects dark surface palette and smart surface tokens.
@@ -910,10 +2134,6 @@ export type PDSSpatialRhythmConfig = {
910
2134
  * - Caps spacing tokens output.
911
2135
  */
912
2136
  maxSpacingSteps?: number;
913
- /**
914
- * - Affects layout container sizing.
915
- */
916
- containerMaxWidth?: number | string;
917
2137
  /**
918
2138
  * - Affects container padding tokens.
919
2139
  */
@@ -1150,13 +2370,69 @@ export type PDSAutoDefineConfig = {
1150
2370
  debounceMs?: number;
1151
2371
  onError?: (error: any) => void;
1152
2372
  };
2373
+ export type PDSDesignOptionsConfig = {
2374
+ liquidGlassEffects?: boolean;
2375
+ backgroundMesh?: number;
2376
+ };
2377
+ export type PDSFormOptionsWidgetsConfig = {
2378
+ booleans?: "toggle" | "toggle-with-icons" | "checkbox";
2379
+ numbers?: "input" | "range";
2380
+ selects?: "standard" | "dropdown";
2381
+ };
2382
+ export type PDSFormOptionsLayoutsConfig = {
2383
+ fieldsets?: "default" | "flex" | "grid" | "accordion" | "tabs" | "card";
2384
+ arrays?: "default" | "compact";
2385
+ };
2386
+ export type PDSFormOptionsEnhancementsConfig = {
2387
+ icons?: boolean;
2388
+ datalists?: boolean;
2389
+ rangeOutput?: boolean;
2390
+ colorInput?: boolean;
2391
+ };
2392
+ export type PDSFormOptionsValidationConfig = {
2393
+ showErrors?: boolean;
2394
+ validateOnChange?: boolean;
2395
+ };
2396
+ export type PDSFormOptionsConfig = {
2397
+ widgets?: PDSFormOptionsWidgetsConfig;
2398
+ layouts?: PDSFormOptionsLayoutsConfig;
2399
+ enhancements?: PDSFormOptionsEnhancementsConfig;
2400
+ validation?: PDSFormOptionsValidationConfig;
2401
+ };
2402
+ export type PDSFormConfig = {
2403
+ options?: PDSFormOptionsConfig;
2404
+ };
2405
+ export type PDSAdvancedConfig = {
2406
+ linkStyle?: string;
2407
+ colorDerivation?: string;
2408
+ };
2409
+ export type PDSA11yConfig = {
2410
+ minTouchTarget?: string | number;
2411
+ prefersReducedMotion?: boolean;
2412
+ focusStyle?: string;
2413
+ };
2414
+ export type PDSConfigEditorFieldMetadata = {
2415
+ label?: string;
2416
+ description?: string;
2417
+ widget?: string;
2418
+ icon?: string;
2419
+ min?: number;
2420
+ max?: number;
2421
+ step?: number;
2422
+ enum?: string[];
2423
+ placeholder?: string;
2424
+ maxLength?: number;
2425
+ rows?: number;
2426
+ options?: Record<string, any>;
2427
+ };
1153
2428
  export type PDSDesignConfig = {
1154
2429
  id?: string;
1155
2430
  name?: string;
1156
2431
  tags?: string[];
2432
+ themes?: string[];
1157
2433
  description?: string;
1158
- options?: Record<string, any>;
1159
- form?: Record<string, any>;
2434
+ options?: PDSDesignOptionsConfig;
2435
+ form?: PDSFormConfig;
1160
2436
  /**
1161
2437
  * - Affects tokens.colors and --color-* variables.
1162
2438
  */
@@ -1185,14 +2461,13 @@ export type PDSDesignConfig = {
1185
2461
  * - Affects tokens.shadows/zIndex and layer effects.
1186
2462
  */
1187
2463
  layers?: PDSLayersConfig;
1188
- advanced?: Record<string, any>;
1189
- a11y?: Record<string, any>;
2464
+ advanced?: PDSAdvancedConfig;
2465
+ a11y?: PDSA11yConfig;
1190
2466
  /**
1191
2467
  * - Affects tokens.icons and icon component behavior.
1192
2468
  */
1193
2469
  icons?: PDSIconsConfig;
1194
2470
  components?: Record<string, any>;
1195
- gap?: number;
1196
2471
  debug?: boolean;
1197
2472
  };
1198
2473
  export type PDSInitConfig = {
@@ -1211,4 +2486,22 @@ export type PDSInitConfig = {
1211
2486
  liveEdit?: boolean;
1212
2487
  log?: any;
1213
2488
  };
2489
+ declare const uiSchema: {
2490
+ "/colors": {
2491
+ "ui:layout": string;
2492
+ "ui:layoutOptions": {
2493
+ wrap: boolean;
2494
+ gap: string;
2495
+ };
2496
+ };
2497
+ "/colors/darkMode": {
2498
+ "ui:layout": string;
2499
+ "ui:layoutOptions": {
2500
+ wrap: boolean;
2501
+ gap: string;
2502
+ };
2503
+ };
2504
+ };
2505
+ declare const metadata: {};
2506
+ export {};
1214
2507
  //# sourceMappingURL=pds-config.d.ts.map