playbook_ui 16.4.0.pre.alpha.testingmetadata15451 → 16.4.0.pre.alpha.testingmetadata15483

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad7665b0e0228f1fdc181e63385f1c9753a1622228b52ac9e971db17ec738ea3
4
- data.tar.gz: b79b48a87f203827fcf6498fd60fdcc52621fdae015fc96568afdb22a7983393
3
+ metadata.gz: f1e0a6094a1bd407fd587bee871ce7a562bb88735fa7e8610a294a2bbb734752
4
+ data.tar.gz: 5b69b1b2276245ee68a636d3d8d9ee06655c6b8b0436a57fcebb04a6ea88f4b3
5
5
  SHA512:
6
- metadata.gz: 86ff2ff126d9de6a01d8bb9066098a578ae88a38d33f6f757b70f52215d48f34e56628e47096c3d2deea8cd114ffdd936a13310850012343c909188e63dd7890
7
- data.tar.gz: 861382f43f67421bc4a54418a41ffe8e8cd36e56c8dbf415f6af4918fd184b62b2b3bd9fc073073fb10d9c6d071066f1d0e1495118429d1dd2903365212a74ff
6
+ metadata.gz: 5e392211795494560a3e69408ed03396ce856d62b87f7afd1dd084115ab4b9297faf3254e14bb4b368a1200803234a096c491774306957c15f039786d181d1de
7
+ data.tar.gz: 31a9086eacb6744d5cd99eb2452daaac5e4893584fe9668154d2724f1ecd977a640cb1bf2a33b0ba22224e60519011e585c14adb3c1537b141c352ecb838974a
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "$schema": "https://playbook.powerapp.cloud/schemas/global-props-schema.json",
3
3
  "name": "GlobalProps",
4
- "description": "Global props available on all Playbook components. These props provide consistent spacing, layout, display, and styling across the design system.",
4
+ "description": "Global props available on all Playbook components for consistent spacing, layout, and styling.",
5
5
  "breakpoints": {
6
6
  "xs": "0-575px",
7
- "sm": "576-767px",
8
- "md": "768-991px",
9
- "lg": "992-1199px",
7
+ "sm": "576px-767px",
8
+ "md": "768px-991px",
9
+ "lg": "992px-1199px",
10
10
  "xl": "1200px+"
11
11
  },
12
12
  "spacing": {
@@ -23,18 +23,32 @@
23
23
  "initial",
24
24
  "inherit"
25
25
  ],
26
- "description": "Standard spacing scale used for margin and padding props.",
26
+ "description": "Standard spacing scale for margin/padding.",
27
27
  "tokens": {
28
- "none": "0",
29
28
  "xxs": "4px",
30
29
  "xs": "8px",
31
- "sm": "12px",
32
- "md": "16px",
33
- "lg": "24px",
34
- "xl": "32px"
30
+ "sm": "16px",
31
+ "md": "24px",
32
+ "lg": "32px",
33
+ "xl": "40px",
34
+ "none": "0"
35
35
  }
36
36
  },
37
37
  "props": {
38
+ "alignContent": {
39
+ "type": "enum | responsive",
40
+ "values": [
41
+ "start",
42
+ "end",
43
+ "center",
44
+ "spaceBetween",
45
+ "spaceAround",
46
+ "spaceEvenly"
47
+ ],
48
+ "responsive": true,
49
+ "description": "Align multi-line content.",
50
+ "example": "alignContent=\"start\" or alignContent={{ default: \"start\", md: \"end\" }}"
51
+ },
38
52
  "alignItems": {
39
53
  "type": "enum | responsive",
40
54
  "values": [
@@ -43,7 +57,8 @@
43
57
  "center"
44
58
  ],
45
59
  "responsive": true,
46
- "description": "Align items (cross axis alignment)."
60
+ "description": "Align items.",
61
+ "example": "alignItems=\"start\" or alignItems={{ default: \"start\", md: \"end\" }}"
47
62
  },
48
63
  "borderRadius": {
49
64
  "type": "enum",
@@ -71,11 +86,11 @@
71
86
  "wait",
72
87
  "cell"
73
88
  ],
74
- "description": "CSS cursor type."
89
+ "description": "CSS cursor."
75
90
  },
76
91
  "dark": {
77
92
  "type": "boolean",
78
- "description": "Applies dark mode styling.",
93
+ "description": "Dark.",
79
94
  "default": false
80
95
  },
81
96
  "flex": {
@@ -99,7 +114,8 @@
99
114
  "none"
100
115
  ],
101
116
  "responsive": true,
102
- "description": "Flex shorthand property."
117
+ "description": "Flex.",
118
+ "example": "flex=\"auto\" or flex={{ default: \"auto\", md: \"initial\" }}"
103
119
  },
104
120
  "flexDirection": {
105
121
  "type": "enum | responsive",
@@ -110,7 +126,8 @@
110
126
  "columnReverse"
111
127
  ],
112
128
  "responsive": true,
113
- "description": "Flex direction."
129
+ "description": "Flex direction.",
130
+ "example": "flexDirection=\"row\" or flexDirection={{ default: \"row\", md: \"column\" }}"
114
131
  },
115
132
  "flexWrap": {
116
133
  "type": "enum | responsive",
@@ -120,7 +137,22 @@
120
137
  "wrapReverse"
121
138
  ],
122
139
  "responsive": true,
123
- "description": "Flex wrap behavior."
140
+ "description": "Flex wrap.",
141
+ "example": "flexWrap=\"wrap\" or flexWrap={{ default: \"wrap\", md: \"nowrap\" }}"
142
+ },
143
+ "justifyContent": {
144
+ "type": "enum | responsive",
145
+ "values": [
146
+ "start",
147
+ "end",
148
+ "center",
149
+ "spaceBetween",
150
+ "spaceAround",
151
+ "spaceEvenly"
152
+ ],
153
+ "responsive": true,
154
+ "description": "Justify multi-line content.",
155
+ "example": "justifyContent=\"start\" or justifyContent={{ default: \"start\", md: \"end\" }}"
124
156
  },
125
157
  "lineHeight": {
126
158
  "type": "enum",
@@ -151,7 +183,8 @@
151
183
  "inherit"
152
184
  ],
153
185
  "responsive": true,
154
- "description": "Right margin."
186
+ "description": "Right margin.",
187
+ "example": "marginRight=\"none\" or marginRight={{ default: \"none\", md: \"xxs\" }}"
155
188
  },
156
189
  "marginLeft": {
157
190
  "type": "enum | responsive",
@@ -169,7 +202,8 @@
169
202
  "inherit"
170
203
  ],
171
204
  "responsive": true,
172
- "description": "Left margin."
205
+ "description": "Left margin.",
206
+ "example": "marginLeft=\"none\" or marginLeft={{ default: \"none\", md: \"xxs\" }}"
173
207
  },
174
208
  "marginTop": {
175
209
  "type": "enum | responsive",
@@ -187,7 +221,8 @@
187
221
  "inherit"
188
222
  ],
189
223
  "responsive": true,
190
- "description": "Top margin."
224
+ "description": "Top margin.",
225
+ "example": "marginTop=\"none\" or marginTop={{ default: \"none\", md: \"xxs\" }}"
191
226
  },
192
227
  "marginBottom": {
193
228
  "type": "enum | responsive",
@@ -205,7 +240,8 @@
205
240
  "inherit"
206
241
  ],
207
242
  "responsive": true,
208
- "description": "Bottom margin."
243
+ "description": "Bottom margin.",
244
+ "example": "marginBottom=\"none\" or marginBottom={{ default: \"none\", md: \"xxs\" }}"
209
245
  },
210
246
  "marginX": {
211
247
  "type": "enum | responsive",
@@ -223,7 +259,8 @@
223
259
  "inherit"
224
260
  ],
225
261
  "responsive": true,
226
- "description": "Horizontal margin (left and right)."
262
+ "description": "Horizontal margin (left + right).",
263
+ "example": "marginX=\"none\" or marginX={{ default: \"none\", md: \"xxs\" }}"
227
264
  },
228
265
  "marginY": {
229
266
  "type": "enum | responsive",
@@ -241,7 +278,8 @@
241
278
  "inherit"
242
279
  ],
243
280
  "responsive": true,
244
- "description": "Vertical margin (top and bottom)."
281
+ "description": "Vertical margin (top + bottom).",
282
+ "example": "marginY=\"none\" or marginY={{ default: \"none\", md: \"xxs\" }}"
245
283
  },
246
284
  "margin": {
247
285
  "type": "enum | responsive",
@@ -260,41 +298,44 @@
260
298
  ],
261
299
  "responsive": true,
262
300
  "description": "Margin on all sides.",
263
- "example": "margin=\"md\" or margin={{ default: \"sm\", md: \"lg\" }}"
301
+ "example": "margin=\"none\" or margin={{ default: \"none\", md: \"xxs\" }}"
264
302
  },
265
303
  "width": {
266
304
  "type": "string",
267
- "description": "CSS width. Supports values like \"100%\", \"50px\", \"auto\"."
305
+ "description": "CSS width."
268
306
  },
269
307
  "minWidth": {
270
308
  "type": "string",
271
- "description": "CSS min-width."
309
+ "description": "Minimum width."
272
310
  },
273
311
  "maxWidth": {
274
312
  "type": "string",
275
- "description": "CSS max-width."
313
+ "description": "Maximum width."
276
314
  },
277
315
  "gap": {
278
316
  "type": "string | responsive",
279
317
  "responsive": true,
280
- "description": "Gap between flex/grid items."
318
+ "description": "Gap.",
319
+ "example": "gap=\"md\" or gap={{ default: \"md\", md: \"lg\" }}"
281
320
  },
282
321
  "columnGap": {
283
322
  "type": "string | responsive",
284
323
  "responsive": true,
285
- "description": "Gap between columns."
324
+ "description": "Column gap.",
325
+ "example": "columnGap=\"md\" or columnGap={{ default: \"md\", md: \"lg\" }}"
286
326
  },
287
327
  "rowGap": {
288
328
  "type": "string | responsive",
289
329
  "responsive": true,
290
- "description": "Gap between rows."
330
+ "description": "Row gap.",
331
+ "example": "rowGap=\"md\" or rowGap={{ default: \"md\", md: \"lg\" }}"
291
332
  },
292
333
  "numberSpacing": {
293
334
  "type": "enum",
294
335
  "values": [
295
336
  "tabular"
296
337
  ],
297
- "description": "Number spacing for tabular alignment."
338
+ "description": "Number spacing."
298
339
  },
299
340
  "order": {
300
341
  "type": "enum | responsive",
@@ -315,7 +356,8 @@
315
356
  12
316
357
  ],
317
358
  "responsive": true,
318
- "description": "Flex order."
359
+ "description": "Order.",
360
+ "example": "order=\"none\" or order={{ default: \"none\", md: \"first\" }}"
319
361
  },
320
362
  "overflowX": {
321
363
  "type": "enum",
@@ -325,7 +367,7 @@
325
367
  "hidden",
326
368
  "auto"
327
369
  ],
328
- "description": "CSS overflow-x property."
370
+ "description": "Horizontal overflow (left + right)."
329
371
  },
330
372
  "overflowY": {
331
373
  "type": "enum",
@@ -335,7 +377,7 @@
335
377
  "hidden",
336
378
  "auto"
337
379
  ],
338
- "description": "CSS overflow-y property."
380
+ "description": "Vertical overflow (top + bottom)."
339
381
  },
340
382
  "overflow": {
341
383
  "type": "enum",
@@ -345,7 +387,7 @@
345
387
  "hidden",
346
388
  "auto"
347
389
  ],
348
- "description": "CSS overflow property."
390
+ "description": "CSS overflow."
349
391
  },
350
392
  "paddingRight": {
351
393
  "type": "enum | responsive",
@@ -363,7 +405,8 @@
363
405
  "inherit"
364
406
  ],
365
407
  "responsive": true,
366
- "description": "Right padding."
408
+ "description": "Right padding.",
409
+ "example": "paddingRight=\"none\" or paddingRight={{ default: \"none\", md: \"xxs\" }}"
367
410
  },
368
411
  "paddingLeft": {
369
412
  "type": "enum | responsive",
@@ -381,7 +424,8 @@
381
424
  "inherit"
382
425
  ],
383
426
  "responsive": true,
384
- "description": "Left padding."
427
+ "description": "Left padding.",
428
+ "example": "paddingLeft=\"none\" or paddingLeft={{ default: \"none\", md: \"xxs\" }}"
385
429
  },
386
430
  "paddingTop": {
387
431
  "type": "enum | responsive",
@@ -399,7 +443,8 @@
399
443
  "inherit"
400
444
  ],
401
445
  "responsive": true,
402
- "description": "Top padding."
446
+ "description": "Top padding.",
447
+ "example": "paddingTop=\"none\" or paddingTop={{ default: \"none\", md: \"xxs\" }}"
403
448
  },
404
449
  "paddingBottom": {
405
450
  "type": "enum | responsive",
@@ -417,7 +462,8 @@
417
462
  "inherit"
418
463
  ],
419
464
  "responsive": true,
420
- "description": "Bottom padding."
465
+ "description": "Bottom padding.",
466
+ "example": "paddingBottom=\"none\" or paddingBottom={{ default: \"none\", md: \"xxs\" }}"
421
467
  },
422
468
  "paddingX": {
423
469
  "type": "enum | responsive",
@@ -435,7 +481,8 @@
435
481
  "inherit"
436
482
  ],
437
483
  "responsive": true,
438
- "description": "Horizontal padding (left and right)."
484
+ "description": "Horizontal padding (left + right).",
485
+ "example": "paddingX=\"none\" or paddingX={{ default: \"none\", md: \"xxs\" }}"
439
486
  },
440
487
  "paddingY": {
441
488
  "type": "enum | responsive",
@@ -453,7 +500,8 @@
453
500
  "inherit"
454
501
  ],
455
502
  "responsive": true,
456
- "description": "Vertical padding (top and bottom)."
503
+ "description": "Vertical padding (top + bottom).",
504
+ "example": "paddingY=\"none\" or paddingY={{ default: \"none\", md: \"xxs\" }}"
457
505
  },
458
506
  "padding": {
459
507
  "type": "enum | responsive",
@@ -472,7 +520,7 @@
472
520
  ],
473
521
  "responsive": true,
474
522
  "description": "Padding on all sides.",
475
- "example": "padding=\"md\" or padding={{ default: \"sm\", md: \"lg\" }}"
523
+ "example": "padding=\"none\" or padding={{ default: \"none\", md: \"xxs\" }}"
476
524
  },
477
525
  "position": {
478
526
  "type": "enum",
@@ -483,7 +531,7 @@
483
531
  "sticky",
484
532
  "static"
485
533
  ],
486
- "description": "CSS position property."
534
+ "description": "CSS position."
487
535
  },
488
536
  "shadow": {
489
537
  "type": "enum",
@@ -493,7 +541,7 @@
493
541
  "deeper",
494
542
  "deepest"
495
543
  ],
496
- "description": "Box shadow depth."
544
+ "description": "Shadow."
497
545
  },
498
546
  "textAlign": {
499
547
  "type": "enum | responsive",
@@ -508,7 +556,8 @@
508
556
  "matchParent"
509
557
  ],
510
558
  "responsive": true,
511
- "description": "Text alignment."
559
+ "description": "Text align.",
560
+ "example": "textAlign=\"start\" or textAlign={{ default: \"start\", md: \"end\" }}"
512
561
  },
513
562
  "truncate": {
514
563
  "type": "enum",
@@ -520,7 +569,7 @@
520
569
  4,
521
570
  5
522
571
  ],
523
- "description": "Truncates text with ellipsis after specified number of lines."
572
+ "description": "Truncate."
524
573
  },
525
574
  "verticalAlign": {
526
575
  "type": "enum | responsive",
@@ -535,7 +584,8 @@
535
584
  "text-bottom"
536
585
  ],
537
586
  "responsive": true,
538
- "description": "Vertical alignment."
587
+ "description": "Vertical align.",
588
+ "example": "verticalAlign=\"baseline\" or verticalAlign={{ default: \"baseline\", md: \"super\" }}"
539
589
  },
540
590
  "zIndex": {
541
591
  "type": "enum | responsive",
@@ -553,7 +603,8 @@
553
603
  "max"
554
604
  ],
555
605
  "responsive": true,
556
- "description": "Z-index stacking order."
606
+ "description": "Z index.",
607
+ "example": "zIndex=\"1\" or zIndex={{ default: \"1\", md: \"2\" }}"
557
608
  },
558
609
  "top": {
559
610
  "type": "enum | object",
@@ -566,11 +617,11 @@
566
617
  "xl",
567
618
  "xxl"
568
619
  ],
569
- "description": "Top positioning. Can use object: { value: \"sm\", inset: true }."
620
+ "description": "Top offset."
570
621
  },
571
622
  "inset": {
572
623
  "type": "boolean",
573
- "description": "inset property.",
624
+ "description": "Inset.",
574
625
  "default": false
575
626
  },
576
627
  "right": {
@@ -584,7 +635,7 @@
584
635
  "xl",
585
636
  "xxl"
586
637
  ],
587
- "description": "Right positioning. Can use object: { value: \"sm\", inset: true }."
638
+ "description": "Right offset."
588
639
  },
589
640
  "bottom": {
590
641
  "type": "enum | object",
@@ -597,7 +648,7 @@
597
648
  "xl",
598
649
  "xxl"
599
650
  ],
600
- "description": "Bottom positioning. Can use object: { value: \"sm\", inset: true }."
651
+ "description": "Bottom offset."
601
652
  },
602
653
  "left": {
603
654
  "type": "enum | object",
@@ -610,11 +661,11 @@
610
661
  "xl",
611
662
  "xxl"
612
663
  ],
613
- "description": "Left positioning. Can use object: { value: \"sm\", inset: true }."
664
+ "description": "Left offset."
614
665
  },
615
666
  "height": {
616
667
  "type": "string",
617
- "description": "Height. Predefined values or custom CSS value."
668
+ "description": "CSS height."
618
669
  },
619
670
  "maxHeight": {
620
671
  "type": "string",
@@ -657,34 +708,33 @@
657
708
  "type": "boolean"
658
709
  }
659
710
  },
660
- "description": "Hover state effects.",
711
+ "description": "Hover.",
661
712
  "example": "hover={{ shadow: \"deep\", scale: \"sm\" }}"
662
713
  },
663
714
  "groupHover": {
664
715
  "type": "boolean",
665
716
  "default": false,
666
- "description": "Enables group hover styling."
717
+ "description": "Group hover."
667
718
  }
668
719
  },
669
720
  "responsiveUsage": {
670
- "description": "Many global props support responsive values using an object with breakpoint keys.",
721
+ "description": "Props marked responsive accept breakpoint objects.",
671
722
  "example": {
672
- "padding": "{{ default: \"sm\", xs: \"xs\", md: \"md\", lg: \"lg\" }}",
673
- "display": "{{ default: \"block\", md: \"flex\" }}",
674
- "textAlign": "{{ default: \"center\", lg: \"left\" }}"
723
+ "padding": "{{ default: \"sm\", md: \"lg\" }}",
724
+ "display": "{{ default: \"block\", md: \"flex\" }}"
675
725
  },
676
726
  "breakpoints": {
677
- "default": "Base value (mobile-first)",
727
+ "default": "Base (mobile-first)",
678
728
  "xs": "0-575px",
679
- "sm": "576-767px",
680
- "md": "768-991px",
681
- "lg": "992-1199px",
729
+ "sm": "576px-767px",
730
+ "md": "768px-991px",
731
+ "lg": "992px-1199px",
682
732
  "xl": "1200px+"
683
733
  }
684
734
  },
685
735
  "warnings": {
686
736
  "domSafeProps": {
687
- "description": "When spreading props onto DOM elements in custom components, use domSafeProps() to remove non-DOM props.",
737
+ "description": "Use domSafeProps() to filter non-DOM props when spreading.",
688
738
  "nonSafeProps": [
689
739
  "marginRight",
690
740
  "marginLeft",