@slotted/react 0.1.0-beta.35 → 0.1.0-beta.36

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 (193) hide show
  1. package/dist/{app-shell-DzgUaTI_.js → app-shell-ClwskWBN.js} +1 -1
  2. package/dist/app-shell.js +1 -1
  3. package/dist/{attachment-BMVfyrfb.js → attachment-AAjprQyU.js} +1 -1
  4. package/dist/attachment.js +1 -1
  5. package/dist/{button-DWqgjdVT.js → button-BMRInd-t.js} +3 -3
  6. package/dist/button.js +2 -2
  7. package/dist/{cascader-DuHG1xmi.js → cascader-DqrFX3Ob.js} +1 -1
  8. package/dist/cascader.js +1 -1
  9. package/dist/{column-manager-qJX80g4n.js → column-manager-D2PXs80l.js} +1 -1
  10. package/dist/column-manager.js +1 -1
  11. package/dist/{dashboard-grid-CLRtbO05.js → dashboard-grid-B6jxBz4j.js} +1 -1
  12. package/dist/dashboard-grid.js +1 -1
  13. package/dist/{data-grid-B1AhnXmo.js → data-grid-DOMm7-ew.js} +1 -1
  14. package/dist/data-grid.js +1 -1
  15. package/dist/{data-list-BWseCMYO.js → data-list-DgXGmRQx.js} +1 -1
  16. package/dist/data-list.js +1 -1
  17. package/dist/{detail-panel-D3AT1upM.js → detail-panel-DEZewVVV.js} +2 -2
  18. package/dist/detail-panel.js +1 -1
  19. package/dist/docs/button.json +10 -7
  20. package/dist/docs/button.md +6 -6
  21. package/dist/docs/command-palette.json +2 -1
  22. package/dist/docs/command-palette.md +1 -1
  23. package/dist/docs/dashboard-grid.json +2 -1
  24. package/dist/docs/dashboard-grid.md +1 -1
  25. package/dist/docs/entity-picker.json +2 -1
  26. package/dist/docs/entity-picker.md +1 -1
  27. package/dist/docs/field-group.json +1 -1
  28. package/dist/docs/field-group.md +1 -1
  29. package/dist/docs/guidelines/index.md +2 -0
  30. package/dist/docs/guidelines/own-elements.md +20 -0
  31. package/dist/docs/index.md +1 -1
  32. package/dist/docs/list.json +2 -1
  33. package/dist/docs/list.md +2 -2
  34. package/dist/docs/page.json +1 -1
  35. package/dist/docs/page.md +1 -1
  36. package/dist/docs/progress-indicator.json +1 -39
  37. package/dist/docs/progress-indicator.md +1 -6
  38. package/dist/docs/radio-group.json +1 -18
  39. package/dist/docs/radio-group.md +1 -3
  40. package/dist/docs/skills/build-own-element/SKILL.md +42 -2
  41. package/dist/docs/sparkline.json +1 -412
  42. package/dist/docs/sparkline.md +2 -177
  43. package/dist/docs/tokens.md +12 -0
  44. package/dist/{event-calendar-l17xA1Uw.js → event-calendar-CM302ec0.js} +1 -1
  45. package/dist/event-calendar.js +1 -1
  46. package/dist/{filter-bar-CYPaGUt2.js → filter-bar-CDEpYvq4.js} +1 -1
  47. package/dist/filter-bar.js +1 -1
  48. package/dist/{icon-button-CSjgX1pQ.js → icon-button-N8Madx6i.js} +11 -17
  49. package/dist/{import-export-center-Da8o-xT6.js → import-export-center-DdANj0_T.js} +5 -5
  50. package/dist/import-export-center.js +1 -1
  51. package/dist/index.js +125 -125
  52. package/dist/{loading-overlay-CjUmvxqX.js → loading-overlay-BLIrcaoj.js} +1 -1
  53. package/dist/loading-overlay.js +1 -1
  54. package/dist/{markdown-JPxAdShq.js → markdown-CfPMPahy.js} +1 -1
  55. package/dist/markdown.js +1 -1
  56. package/dist/{notification-center-B9rX_ZOu.js → notification-center-BngAw_kt.js} +1 -1
  57. package/dist/notification-center.js +1 -1
  58. package/dist/{page-Tesi7Z_n.js → page-DT8L0iRT.js} +5 -4
  59. package/dist/{page-header-ByhInJv-.js → page-header-NN3Jq5vb.js} +2 -2
  60. package/dist/page-header.js +1 -1
  61. package/dist/page.js +1 -1
  62. package/dist/progress-indicator-D0acshNn.js +292 -0
  63. package/dist/progress-indicator.js +2 -2
  64. package/dist/{radio-group-C59cfjry.js → radio-group-doL7tde1.js} +42 -49
  65. package/dist/radio-group.js +1 -1
  66. package/dist/{saved-views-D1h4jRTs.js → saved-views-fg5PoMgv.js} +1 -1
  67. package/dist/saved-views.js +1 -1
  68. package/dist/{side-navigation-fTRK3wuI.js → side-navigation-Cwi2FHOz.js} +1 -1
  69. package/dist/side-navigation.js +1 -1
  70. package/dist/sparkline-CYU4_lCD.js +152 -0
  71. package/dist/sparkline.js +2 -2
  72. package/dist/{split-button-ugark7Xc.js → split-button-BYowsA6Q.js} +1 -1
  73. package/dist/split-button.js +1 -1
  74. package/dist/{stat-card-DjuW65lA.js → stat-card-CmpabaTc.js} +3 -3
  75. package/dist/stat-card.js +1 -1
  76. package/dist/styles/app-shell.css +1 -1
  77. package/dist/styles/attachment.css +1 -1
  78. package/dist/styles/button.css +1 -1
  79. package/dist/styles/cascader.css +2 -2
  80. package/dist/styles/chart.css +1 -1
  81. package/dist/styles/checkbox-group.css +2 -2
  82. package/dist/styles/checkbox.css +2 -2
  83. package/dist/styles/color-picker.css +1 -1
  84. package/dist/styles/column-manager.css +3 -3
  85. package/dist/styles/combobox.css +1 -1
  86. package/dist/styles/command-palette.css +1 -1
  87. package/dist/styles/currency-field.css +1 -1
  88. package/dist/styles/dashboard-grid.css +2 -2
  89. package/dist/styles/data-grid.css +3 -3
  90. package/dist/styles/data-list.css +5 -5
  91. package/dist/styles/date-field.css +1 -1
  92. package/dist/styles/date-picker.css +1 -1
  93. package/dist/styles/date-range-picker.css +1 -1
  94. package/dist/styles/datetime-field.css +1 -1
  95. package/dist/styles/datetime-picker.css +1 -1
  96. package/dist/styles/datetime-range-picker.css +1 -1
  97. package/dist/styles/detail-panel.css +1 -1
  98. package/dist/styles/entity-picker.css +2 -2
  99. package/dist/styles/event-calendar.css +3 -3
  100. package/dist/styles/field-group.css +2 -2
  101. package/dist/styles/field.css +1 -1
  102. package/dist/styles/filter-bar.css +3 -3
  103. package/dist/styles/import-export-center.css +5 -5
  104. package/dist/styles/index.css +11 -11
  105. package/dist/styles/list-item.css +2 -2
  106. package/dist/styles/list.css +1 -1
  107. package/dist/styles/listbox.css +1 -1
  108. package/dist/styles/loading-overlay.css +1 -1
  109. package/dist/styles/markdown.css +3 -3
  110. package/dist/styles/multi-select.css +1 -1
  111. package/dist/styles/notification-center.css +2 -2
  112. package/dist/styles/number-field.css +1 -1
  113. package/dist/styles/otp-input.css +1 -1
  114. package/dist/styles/page-header.css +1 -1
  115. package/dist/styles/progress-indicator.css +1 -1
  116. package/dist/styles/prompt-composer.css +1 -1
  117. package/dist/styles/radio-group.css +3 -3
  118. package/dist/styles/rating.css +1 -1
  119. package/dist/styles/saved-views.css +2 -2
  120. package/dist/styles/segmented-control.css +2 -2
  121. package/dist/styles/select.css +1 -1
  122. package/dist/styles/side-navigation.css +2 -2
  123. package/dist/styles/slider.css +1 -1
  124. package/dist/styles/sparkline.css +1 -1
  125. package/dist/styles/split-button.css +1 -1
  126. package/dist/styles/stat-card.css +1 -1
  127. package/dist/styles/switch.css +1 -1
  128. package/dist/styles/table.css +4 -4
  129. package/dist/styles/tags-input.css +1 -1
  130. package/dist/styles/text-field.css +1 -1
  131. package/dist/styles/textarea.css +1 -1
  132. package/dist/styles/time-field.css +1 -1
  133. package/dist/styles/time-picker.css +1 -1
  134. package/dist/styles/time-range-picker.css +1 -1
  135. package/dist/styles/toast.css +1 -1
  136. package/dist/styles/toggle-group.css +1 -1
  137. package/dist/styles/tooltip.css +1 -1
  138. package/dist/styles/top-navigation.css +2 -2
  139. package/dist/styles/tour.css +1 -1
  140. package/dist/styles/transfer.css +3 -3
  141. package/dist/styles/upload.css +2 -2
  142. package/dist/styles/wizard.css +1 -1
  143. package/dist/styles.css +1 -1
  144. package/dist/{table-BsdRSKob.js → table-D8-WlkFz.js} +2 -2
  145. package/dist/table.js +1 -1
  146. package/dist/{toast-D0xdff1C.js → toast-DHDVXIew.js} +1 -1
  147. package/dist/toast.js +1 -1
  148. package/dist/{top-navigation-B8jVv3rJ.js → top-navigation-C73WDqLg.js} +1 -1
  149. package/dist/top-navigation.js +1 -1
  150. package/dist/{tour-CuM6SrwJ.js → tour-ALH5CYMY.js} +1 -1
  151. package/dist/tour.js +1 -1
  152. package/dist/{transfer-CJLJumb8.js → transfer-CuNCXEoR.js} +1 -1
  153. package/dist/transfer.js +1 -1
  154. package/dist/types/button/button-content.d.ts +1 -3
  155. package/dist/types/button/button-content.d.ts.map +1 -1
  156. package/dist/types/button/button-root.d.ts +5 -2
  157. package/dist/types/button/button-root.d.ts.map +1 -1
  158. package/dist/types/button/button.d.ts.map +1 -1
  159. package/dist/types/button/button.types.d.ts +8 -4
  160. package/dist/types/button/button.types.d.ts.map +1 -1
  161. package/dist/types/button/toggle-button.d.ts.map +1 -1
  162. package/dist/types/list/list.types.d.ts +6 -4
  163. package/dist/types/list/list.types.d.ts.map +1 -1
  164. package/dist/types/page/page.d.ts.map +1 -1
  165. package/dist/types/progress-indicator/index.d.ts +1 -2
  166. package/dist/types/progress-indicator/index.d.ts.map +1 -1
  167. package/dist/types/progress-indicator/progress-indicator.types.d.ts +1 -26
  168. package/dist/types/progress-indicator/progress-indicator.types.d.ts.map +1 -1
  169. package/dist/types/radio-group/index.d.ts +1 -1
  170. package/dist/types/radio-group/index.d.ts.map +1 -1
  171. package/dist/types/radio-group/radio-group-parts.d.ts +1 -1
  172. package/dist/types/radio-group/radio-group-parts.d.ts.map +1 -1
  173. package/dist/types/radio-group/radio-group.d.ts +1 -1
  174. package/dist/types/radio-group/radio-group.d.ts.map +1 -1
  175. package/dist/types/radio-group/radio-group.types.d.ts +0 -16
  176. package/dist/types/radio-group/radio-group.types.d.ts.map +1 -1
  177. package/dist/types/sparkline/index.d.ts +1 -3
  178. package/dist/types/sparkline/index.d.ts.map +1 -1
  179. package/dist/types/sparkline/sparkline.types.d.ts +0 -70
  180. package/dist/types/sparkline/sparkline.types.d.ts.map +1 -1
  181. package/dist/{upload-Jx3gJJ2f.js → upload-Bpjlax3i.js} +1 -1
  182. package/dist/upload.js +1 -1
  183. package/dist/{wizard-CxtTDlWR.js → wizard-CL6u1aJb.js} +1 -1
  184. package/dist/wizard.js +1 -1
  185. package/package.json +6 -6
  186. package/dist/progress-indicator-iIoarHsj.js +0 -329
  187. package/dist/sparkline-SVDPBBav.js +0 -307
  188. package/dist/types/progress-indicator/segmented-bar.d.ts +0 -12
  189. package/dist/types/progress-indicator/segmented-bar.d.ts.map +0 -1
  190. package/dist/types/sparkline/bar-compare.d.ts +0 -11
  191. package/dist/types/sparkline/bar-compare.d.ts.map +0 -1
  192. package/dist/types/sparkline/position-strip.d.ts +0 -12
  193. package/dist/types/sparkline/position-strip.d.ts.map +0 -1
@@ -4,7 +4,7 @@
4
4
  "binding": "react",
5
5
  "catalog": {
6
6
  "group": "Data display",
7
- "summary": "Word-sized graphics: a trend, a position, a comparison."
7
+ "summary": "Word-sized graphics: a trend in a line or bars."
8
8
  },
9
9
  "axes": {
10
10
  "type": [
@@ -69,55 +69,6 @@
69
69
  "ring",
70
70
  "marker"
71
71
  ]
72
- },
73
- "positionStrip": {
74
- "nativeElement": "span",
75
- "defaults": {
76
- "size": "md",
77
- "hideValue": false
78
- },
79
- "capabilities": [
80
- "appearance",
81
- "size",
82
- "measurement",
83
- "content"
84
- ],
85
- "states": [
86
- "default"
87
- ],
88
- "parts": [
89
- "root",
90
- "track",
91
- "band",
92
- "dot",
93
- "value",
94
- "reference",
95
- "zero",
96
- "start",
97
- "end"
98
- ]
99
- },
100
- "barCompare": {
101
- "nativeElement": "span",
102
- "defaults": {},
103
- "capabilities": [
104
- "appearance",
105
- "measurement",
106
- "content"
107
- ],
108
- "states": [
109
- "default"
110
- ],
111
- "parts": [
112
- "root",
113
- "row",
114
- "label",
115
- "track",
116
- "bar",
117
- "value",
118
- "zero",
119
- "tick"
120
- ]
121
72
  }
122
73
  },
123
74
  "docs": {
@@ -335,294 +286,6 @@
335
286
  "Under forced colors the data scale and the tones map to CanvasText, the wash is withdrawn, earlier bars take GrayText and the current one CanvasText, so a series still reads as one.",
336
287
  "The eight slots of the data scale were chosen by measurement: adjacent slots separate by at least ΔE 16.8 under simulated protanopia and deuteranopia in every scheme, and every slot clears 3:1 against every surface."
337
288
  ]
338
- },
339
- "positionStrip": {
340
- "imports": {
341
- "source": "import { PositionStrip } from '@slotted/react';"
342
- },
343
- "anatomy": [
344
- {
345
- "part": "root",
346
- "element": "span",
347
- "required": true,
348
- "purpose": "role=\"img\", data-type=\"strip\", named by the value, the span of the periods and the reference. Three columns: the two ends, each as wide as its text, and the track between them."
349
- },
350
- {
351
- "part": "track",
352
- "element": "span",
353
- "required": true,
354
- "purpose": "The axis every mark is placed on."
355
- },
356
- {
357
- "part": "band",
358
- "element": "span",
359
- "required": false,
360
- "purpose": "The span of the periods, smallest to largest, in a wash of the series color."
361
- },
362
- {
363
- "part": "dot",
364
- "element": "span",
365
- "required": false,
366
- "purpose": "One period, in the dimmed color."
367
- },
368
- {
369
- "part": "value",
370
- "element": "span",
371
- "required": false,
372
- "purpose": "The current value, larger and ringed in the ground. Absent under hideValue."
373
- },
374
- {
375
- "part": "reference",
376
- "element": "span",
377
- "required": false,
378
- "purpose": "A dashed tick at the reference: it is the one mark that is not data."
379
- },
380
- {
381
- "part": "zero",
382
- "element": "span",
383
- "required": false,
384
- "purpose": "A solid tick at zero, present when the extent crosses it."
385
- },
386
- {
387
- "part": "start",
388
- "element": "span",
389
- "required": true,
390
- "purpose": "The low end of the extent, written."
391
- },
392
- {
393
- "part": "end",
394
- "element": "span",
395
- "required": true,
396
- "purpose": "The high end of the extent, written."
397
- }
398
- ],
399
- "api": [
400
- {
401
- "name": "value",
402
- "type": "number | null",
403
- "defaultValue": "—",
404
- "appliesTo": "PositionStrip",
405
- "description": "The current value"
406
- },
407
- {
408
- "name": "values",
409
- "type": "(number | null)[]",
410
- "defaultValue": "—",
411
- "appliesTo": "PositionStrip",
412
- "description": "The periods, oldest first; null is a gap"
413
- },
414
- {
415
- "name": "reference",
416
- "type": "number",
417
- "defaultValue": "—",
418
- "appliesTo": "PositionStrip",
419
- "description": "A dashed tick, which widens the extent"
420
- },
421
- {
422
- "name": "min",
423
- "type": "number",
424
- "defaultValue": "—",
425
- "appliesTo": "PositionStrip",
426
- "description": "Widens the extent, for rows that line up"
427
- },
428
- {
429
- "name": "max",
430
- "type": "number",
431
- "defaultValue": "—",
432
- "appliesTo": "PositionStrip",
433
- "description": "Widens the extent, for rows that line up"
434
- },
435
- {
436
- "name": "hideValue",
437
- "type": "boolean",
438
- "defaultValue": "false",
439
- "appliesTo": "PositionStrip",
440
- "description": "Leaves the value dot out, and says so"
441
- },
442
- {
443
- "name": "size",
444
- "type": "'sm' | 'md' | 'lg'",
445
- "defaultValue": "md",
446
- "appliesTo": "PositionStrip",
447
- "description": "The height of the track"
448
- },
449
- {
450
- "name": "label",
451
- "type": "string",
452
- "defaultValue": "—",
453
- "appliesTo": "PositionStrip",
454
- "description": "What the strip is, said first in the name"
455
- },
456
- {
457
- "name": "formatOptions",
458
- "type": "Intl.NumberFormatOptions",
459
- "defaultValue": "—",
460
- "appliesTo": "PositionStrip",
461
- "description": "How a number is written, on the page and in the name"
462
- },
463
- {
464
- "name": "valueFormatter",
465
- "type": "(value: number) => string",
466
- "defaultValue": "—",
467
- "appliesTo": "PositionStrip",
468
- "description": "Writes a number instead"
469
- },
470
- {
471
- "name": "locale",
472
- "type": "string",
473
- "defaultValue": "—",
474
- "appliesTo": "PositionStrip",
475
- "description": "The locale; the language in force when absent"
476
- },
477
- {
478
- "name": "description",
479
- "type": "string",
480
- "defaultValue": "—",
481
- "appliesTo": "PositionStrip",
482
- "description": "The whole accessible name"
483
- },
484
- {
485
- "name": "tone",
486
- "type": "'neutral' | 'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
487
- "defaultValue": "—",
488
- "appliesTo": "PositionStrip",
489
- "description": "How the value is doing"
490
- }
491
- ],
492
- "composition": [],
493
- "events": [],
494
- "accessibility": [
495
- "The root carries role=\"img\" and a name built from the value, the smallest and largest period and the reference, because those are the numbers the strip exists to compare.",
496
- "Every mark is aria-hidden by being inside the image: nothing is focusable and nothing answers a key, as for a sparkline.",
497
- "The value is told apart by size and a ring as well as by color, and the reference by its dash; under forced colors the dots and the band take GrayText and the value CanvasText."
498
- ]
499
- },
500
- "barCompare": {
501
- "imports": {
502
- "source": "import { BarCompare } from '@slotted/react';"
503
- },
504
- "anatomy": [
505
- {
506
- "part": "root",
507
- "element": "span",
508
- "required": true,
509
- "purpose": "role=\"img\", data-type=\"compare\", named by every row’s label and value. Two columns: the labels, then the axis."
510
- },
511
- {
512
- "part": "row",
513
- "element": "span",
514
- "required": true,
515
- "purpose": "One value. data-negative below zero, data-texture with a hatched fill. Rows touch, so the zero line and the ticks run unbroken."
516
- },
517
- {
518
- "part": "label",
519
- "element": "span",
520
- "required": true,
521
- "purpose": "What the value is."
522
- },
523
- {
524
- "part": "track",
525
- "element": "span",
526
- "required": true,
527
- "purpose": "The axis, with room on both sides for the value written past a bar."
528
- },
529
- {
530
- "part": "bar",
531
- "element": "span",
532
- "required": true,
533
- "purpose": "From zero to the value, in the series color or hatched."
534
- },
535
- {
536
- "part": "value",
537
- "element": "span",
538
- "required": true,
539
- "purpose": "The value, written past the bar’s far end: after a positive bar, before a negative one."
540
- },
541
- {
542
- "part": "zero",
543
- "element": "span",
544
- "required": false,
545
- "purpose": "The zero line, present when the domain crosses it."
546
- },
547
- {
548
- "part": "tick",
549
- "element": "span",
550
- "required": false,
551
- "purpose": "A faint line at each step."
552
- }
553
- ],
554
- "api": [
555
- {
556
- "name": "data",
557
- "type": "{ label: string; value: number; texture?: boolean }[]",
558
- "defaultValue": "—",
559
- "appliesTo": "BarCompare",
560
- "description": "One row per value"
561
- },
562
- {
563
- "name": "min",
564
- "type": "number",
565
- "defaultValue": "—",
566
- "appliesTo": "BarCompare",
567
- "description": "The low end of the domain; zero and the data widen it"
568
- },
569
- {
570
- "name": "max",
571
- "type": "number",
572
- "defaultValue": "—",
573
- "appliesTo": "BarCompare",
574
- "description": "The high end of the domain; zero and the data widen it"
575
- },
576
- {
577
- "name": "step",
578
- "type": "number",
579
- "defaultValue": "—",
580
- "appliesTo": "BarCompare",
581
- "description": "The distance between two ticks"
582
- },
583
- {
584
- "name": "formatOptions",
585
- "type": "Intl.NumberFormatOptions",
586
- "defaultValue": "—",
587
- "appliesTo": "BarCompare",
588
- "description": "How a number is written, on the page and in the name"
589
- },
590
- {
591
- "name": "valueFormatter",
592
- "type": "(value: number) => string",
593
- "defaultValue": "—",
594
- "appliesTo": "BarCompare",
595
- "description": "Writes a number instead"
596
- },
597
- {
598
- "name": "locale",
599
- "type": "string",
600
- "defaultValue": "—",
601
- "appliesTo": "BarCompare",
602
- "description": "The locale; the language in force when absent"
603
- },
604
- {
605
- "name": "description",
606
- "type": "string",
607
- "defaultValue": "—",
608
- "appliesTo": "BarCompare",
609
- "description": "The whole accessible name"
610
- },
611
- {
612
- "name": "tone",
613
- "type": "'neutral' | 'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
614
- "defaultValue": "—",
615
- "appliesTo": "BarCompare",
616
- "description": "How the value is doing"
617
- }
618
- ],
619
- "composition": [],
620
- "events": [],
621
- "accessibility": [
622
- "The root carries role=\"img\" named by every row’s label and value, in order: the comparison is read as the list of numbers it draws.",
623
- "A negative value is written with its sign and drawn left of the zero line; the sign never depends on the color.",
624
- "texture tells a reference from the subject without color, and forced colors draw it as CanvasText stripes over Canvas."
625
- ]
626
289
  }
627
290
  },
628
291
  "tokens": [
@@ -641,25 +304,18 @@
641
304
  "--slotted-duration-medium",
642
305
  "--slotted-duration-short",
643
306
  "--slotted-easing-standard",
644
- "--slotted-font-size-xs",
645
- "--slotted-line-height-sm",
646
- "--slotted-radius-full",
647
307
  "--slotted-space-11",
648
308
  "--slotted-space-2",
649
309
  "--slotted-space-3",
650
310
  "--slotted-space-4",
651
- "--slotted-space-5",
652
311
  "--slotted-space-7",
653
312
  "--slotted-space-9",
654
313
  "--slotted-sparkline-area-opacity",
655
314
  "--slotted-sparkline-bar-share",
656
- "--slotted-sparkline-bar-thickness",
657
315
  "--slotted-sparkline-block-size",
658
316
  "--slotted-sparkline-block-size-lg",
659
317
  "--slotted-sparkline-block-size-sm",
660
318
  "--slotted-sparkline-color",
661
- "--slotted-sparkline-end-size",
662
- "--slotted-sparkline-label-size",
663
319
  "--slotted-sparkline-line-width",
664
320
  "--slotted-sparkline-line-width-sm",
665
321
  "--slotted-sparkline-marker-size",
@@ -670,10 +326,7 @@
670
326
  "--slotted-sparkline-ring-color",
671
327
  "--slotted-sparkline-ring-width",
672
328
  "--slotted-sparkline-ring-width-sm",
673
- "--slotted-sparkline-value-size",
674
- "--slotted-surface",
675
329
  "--slotted-surface-raised",
676
- "--slotted-text",
677
330
  "--slotted-text-muted",
678
331
  "--slotted-tone-accent-text",
679
332
  "--slotted-tone-danger-text",
@@ -762,70 +415,6 @@
762
415
  "language": "tsx",
763
416
  "source": "<Sparkline\n data={fillRate}\n formatOptions={{ style: 'percent', maximumFractionDigits: 1 }}\n label=\"Fill rate\"\n/>;\n\n<SlottedProvider locale=\"pt-BR\" catalogs={{ 'pt-BR': PT_BR }}>\n <App />\n</SlottedProvider>;\n",
764
417
  "verdict": "excerpt"
765
- },
766
- {
767
- "id": "playground",
768
- "title": "Playground",
769
- "note": "This month’s savings against the eight months before it: each small dot is a month, the band their span, the large dot this month, the dashed tick their mean.",
770
- "language": "tsx",
771
- "source": "<PositionStrip label=\"Savings\" reference={1200} value={800} values={periods} />;\n",
772
- "verdict": "excerpt"
773
- },
774
- {
775
- "id": "stacked",
776
- "title": "Rows that line up",
777
- "note": "In a table, a value column writes the number and the strip shows where it stands. Every row states one min and max, so the rows write the same ends and their tracks line up.",
778
- "language": "tsx",
779
- "source": "<PositionStrip label=\"Savings\" max={3000} min={-1000} value={800} values={savings} />;\n<PositionStrip label=\"Debt service\" max={3000} min={-1000} value={2200} values={debt} />;\n",
780
- "verdict": "excerpt"
781
- },
782
- {
783
- "id": "pending",
784
- "title": "A value not known yet",
785
- "note": "hideValue leaves the value dot out while the period is incomplete, and the name says the value is pending rather than reading the last one.",
786
- "language": "tsx",
787
- "source": "<PositionStrip hideValue label=\"Savings\" value={null} values={periods} />;\n",
788
- "verdict": "excerpt"
789
- },
790
- {
791
- "id": "accessibility",
792
- "title": "What a reader hears",
793
- "note": "The root is an image named “Savings: R$800.00, against a range of -R$500.00 to R$2,500.00, reference R$1,200.00”, every number in the locale and format given.",
794
- "language": "tsx",
795
- "source": "<PositionStrip\n formatOptions={{ style: 'currency', currency: 'BRL' }}\n label=\"Savings\"\n reference={1200}\n value={800}\n values={periods}\n/>;\n",
796
- "verdict": "excerpt"
797
- },
798
- {
799
- "id": "playground",
800
- "title": "Playground",
801
- "note": "A result against a benchmark on one signed axis: the negative result hangs left of the zero line and each value is written at its bar’s end.",
802
- "language": "tsx",
803
- "source": "<BarCompare\n data={[\n { label: 'Result', value: -1000 },\n { label: 'Benchmark', value: 33 },\n ]}\n/>;\n",
804
- "verdict": "excerpt"
805
- },
806
- {
807
- "id": "shared-domain",
808
- "title": "One axis across sections",
809
- "note": "Roots that state the same min, max and step draw the same axis and the same ticks, so pairs in separate sections compare at a glance.",
810
- "language": "tsx",
811
- "source": "<BarCompare data={march} max={800} min={-1600} step={800} />;\n<BarCompare data={april} max={800} min={-1600} step={800} />;\n",
812
- "verdict": "excerpt"
813
- },
814
- {
815
- "id": "texture",
816
- "title": "A reference told apart without color",
817
- "note": "texture hatches a row’s fill, so the reference reads as a reference in grayscale, in print and under forced colors.",
818
- "language": "tsx",
819
- "source": "<BarCompare\n data={[\n { label: 'Portfolio', value: 640 },\n { label: 'Index', texture: true, value: 410 },\n ]}\n/>;\n",
820
- "verdict": "excerpt"
821
- },
822
- {
823
- "id": "accessibility",
824
- "title": "What a reader hears",
825
- "note": "The root is an image named by every row: “Result: -1,000; Benchmark: 33”, each value in the locale and format given; description replaces it.",
826
- "language": "tsx",
827
- "source": "<BarCompare data={pair} formatOptions={{ style: 'currency', currency: 'BRL' }} />;\n",
828
- "verdict": "excerpt"
829
418
  }
830
419
  ]
831
420
  }