@raylang/elements 0.5.2 → 0.7.0

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 (44) hide show
  1. package/check/check.d.ts +2 -0
  2. package/check/check.js +27 -6
  3. package/check/cli.js +10 -6
  4. package/components/accordion/accordion.js +1 -1
  5. package/components/alert/alert.js +1 -1
  6. package/components/attachment/attachment.js +1 -1
  7. package/components/avatar/avatar.js +1 -1
  8. package/components/bottom-nav/bottom-nav.js +2 -0
  9. package/components/breadcrumbs/breadcrumbs.js +1 -1
  10. package/components/button/button.js +17 -0
  11. package/components/carousel/carousel.js +4 -4
  12. package/components/checkbox/checkbox.js +1 -1
  13. package/components/code/code.js +1 -1
  14. package/components/color-picker/color-picker.js +1 -1
  15. package/components/combobox/combobox.js +3 -3
  16. package/components/command-palette/command-palette.js +1 -1
  17. package/components/date-picker/date-picker.js +4 -4
  18. package/components/dialog/dialog.js +1 -1
  19. package/components/drawer/drawer.js +1 -1
  20. package/components/file-upload/file-upload.js +1 -1
  21. package/components/icon/icon.js +6 -1
  22. package/components/nav-link/nav-link.js +1 -1
  23. package/components/notification/notification.js +1 -1
  24. package/components/number-input/number-input.js +55 -9
  25. package/components/pagination/pagination.js +4 -4
  26. package/components/password-input/password-input.js +2 -2
  27. package/components/radio/radio.js +68 -5
  28. package/components/ring-progress/ring-progress.js +127 -0
  29. package/components/search/search.js +2 -2
  30. package/components/select/select.js +2 -2
  31. package/components/stat/stat.js +1 -1
  32. package/components/step-dots/step-dots.js +95 -0
  33. package/components/stepper/stepper.js +1 -1
  34. package/components/table/table.js +1 -1
  35. package/components/theme-toggle/theme-toggle.js +2 -2
  36. package/core/core.js +4 -3
  37. package/core/icons.js +95 -8
  38. package/custom-elements.json +700 -43
  39. package/index.js +3 -1
  40. package/llms-full.txt +117 -21
  41. package/llms.txt +18 -5
  42. package/package.json +9 -1
  43. package/ray-elements.d.ts +77 -19
  44. package/vscode.html-custom-data.json +1203 -73
@@ -44,9 +44,9 @@
44
44
  {
45
45
  "name": "size",
46
46
  "type": {
47
- "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
47
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | (string & {})"
48
48
  },
49
- "description": "Height, padding and font size.",
49
+ "description": "Height, padding and font size: xs…xl or any CSS length (the padding and the font follow).",
50
50
  "fieldName": "size",
51
51
  "default": "sm"
52
52
  },
@@ -160,9 +160,9 @@
160
160
  "kind": "field",
161
161
  "name": "size",
162
162
  "type": {
163
- "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
163
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | (string & {})"
164
164
  },
165
- "description": "Height, padding and font size.",
165
+ "description": "Height, padding and font size: xs…xl or any CSS length (the padding and the font follow).",
166
166
  "attribute": "size",
167
167
  "reflects": true,
168
168
  "default": "sm"
@@ -462,9 +462,9 @@
462
462
  {
463
463
  "name": "size",
464
464
  "type": {
465
- "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
465
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | (string & {})"
466
466
  },
467
- "description": "Width and height.",
467
+ "description": "Width and height: xs…xl or any CSS length (\"5.5rem\": a big main action, round with radius=full); the icon scales with it.",
468
468
  "fieldName": "size",
469
469
  "default": "sm"
470
470
  },
@@ -588,9 +588,9 @@
588
588
  "kind": "field",
589
589
  "name": "size",
590
590
  "type": {
591
- "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
591
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | (string & {})"
592
592
  },
593
- "description": "Width and height.",
593
+ "description": "Width and height: xs…xl or any CSS length (\"5.5rem\": a big main action, round with radius=full); the icon scales with it.",
594
594
  "attribute": "size",
595
595
  "reflects": true,
596
596
  "default": "sm"
@@ -787,9 +787,9 @@
787
787
  {
788
788
  "name": "size",
789
789
  "type": {
790
- "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
790
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | (string & {})"
791
791
  },
792
- "description": "Height, padding and font size.",
792
+ "description": "Height, padding and font size: xs…xl or any CSS length (the padding and the font follow).",
793
793
  "fieldName": "size",
794
794
  "default": "sm"
795
795
  },
@@ -933,9 +933,9 @@
933
933
  "kind": "field",
934
934
  "name": "size",
935
935
  "type": {
936
- "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
936
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | (string & {})"
937
937
  },
938
- "description": "Height, padding and font size.",
938
+ "description": "Height, padding and font size: xs…xl or any CSS length (the padding and the font follow).",
939
939
  "attribute": "size",
940
940
  "reflects": true,
941
941
  "default": "sm"
@@ -4877,6 +4877,15 @@
4877
4877
  "fieldName": "clamp",
4878
4878
  "default": "blur"
4879
4879
  },
4880
+ {
4881
+ "name": "format",
4882
+ "type": {
4883
+ "text": "\"number\" | \"duration\""
4884
+ },
4885
+ "description": "duration: the value is seconds, shown and typed as m:ss (h:mm:ss when min or max reaches an hour; a plain number is seconds); aria-valuetext says \"3 minutes, 15 seconds\" in the page's language. decimals, prefix, suffix and the separators do not apply.",
4886
+ "fieldName": "format",
4887
+ "default": "number"
4888
+ },
4880
4889
  {
4881
4890
  "name": "hide-controls",
4882
4891
  "type": {
@@ -5089,6 +5098,17 @@
5089
5098
  "reflects": false,
5090
5099
  "default": "blur"
5091
5100
  },
5101
+ {
5102
+ "kind": "field",
5103
+ "name": "format",
5104
+ "type": {
5105
+ "text": "\"number\" | \"duration\""
5106
+ },
5107
+ "description": "duration: the value is seconds, shown and typed as m:ss (h:mm:ss when min or max reaches an hour; a plain number is seconds); aria-valuetext says \"3 minutes, 15 seconds\" in the page's language. decimals, prefix, suffix and the separators do not apply.",
5108
+ "attribute": "format",
5109
+ "reflects": true,
5110
+ "default": "number"
5111
+ },
5092
5112
  {
5093
5113
  "kind": "field",
5094
5114
  "name": "hideControls",
@@ -6388,7 +6408,7 @@
6388
6408
  {
6389
6409
  "kind": "field",
6390
6410
  "name": "radios",
6391
- "description": "The radios of the group."
6411
+ "description": "The radios (and radio cards) of the group."
6392
6412
  }
6393
6413
  ],
6394
6414
  "events": [
@@ -6410,7 +6430,7 @@
6410
6430
  "slots": [
6411
6431
  {
6412
6432
  "name": "",
6413
- "description": "ray-radio elements (may be wrapped in layout elements)."
6433
+ "description": "ray-radio or ray-radio-card elements (may be wrapped in layout elements: a ray-grid of cards)."
6414
6434
  }
6415
6435
  ],
6416
6436
  "cssParts": []
@@ -6420,7 +6440,7 @@
6420
6440
  "name": "RayRadio",
6421
6441
  "tagName": "ray-radio",
6422
6442
  "customElement": true,
6423
- "description": "One choice among options: ray-radio elements inside a ray-radio-group, which is the form control.",
6443
+ "description": "One choice among options: ray-radio (or ray-radio-card) elements inside a ray-radio-group, which is the form control.",
6424
6444
  "superclass": {
6425
6445
  "name": "RayElement"
6426
6446
  },
@@ -6586,6 +6606,200 @@
6586
6606
  "description": "The label."
6587
6607
  }
6588
6608
  ]
6609
+ },
6610
+ {
6611
+ "kind": "class",
6612
+ "name": "RayRadioCard",
6613
+ "tagName": "ray-radio-card",
6614
+ "customElement": true,
6615
+ "description": "A radio drawn as a card: a title (label), a detail (description), an icon, more content; checked, it takes the color's border and light background. Inside a ray-radio-group like a ray-radio (arrow keys, the form, required, disabled); put the cards in a ray-grid for columns.",
6616
+ "superclass": {
6617
+ "name": "RayRadio"
6618
+ },
6619
+ "attributes": [
6620
+ {
6621
+ "name": "hide-indicator",
6622
+ "type": {
6623
+ "text": "boolean"
6624
+ },
6625
+ "description": "No radio circle: the card's border and background alone show the choice.",
6626
+ "fieldName": "hideIndicator"
6627
+ },
6628
+ {
6629
+ "name": "value",
6630
+ "type": {
6631
+ "text": "string"
6632
+ },
6633
+ "description": "Value given to the group when chosen.",
6634
+ "fieldName": "value"
6635
+ },
6636
+ {
6637
+ "name": "checked",
6638
+ "type": {
6639
+ "text": "boolean"
6640
+ },
6641
+ "description": "The initial value of checked. Whether this radio is the group's value; setting it sets the group's value. The checked attribute marks the group's initial value (when the group has no value attribute)."
6642
+ },
6643
+ {
6644
+ "name": "label",
6645
+ "type": {
6646
+ "text": "string"
6647
+ },
6648
+ "description": "Label text (or the content).",
6649
+ "fieldName": "label"
6650
+ },
6651
+ {
6652
+ "name": "description",
6653
+ "type": {
6654
+ "text": "string"
6655
+ },
6656
+ "description": "Help text under the label.",
6657
+ "fieldName": "description"
6658
+ },
6659
+ {
6660
+ "name": "disabled",
6661
+ "type": {
6662
+ "text": "boolean"
6663
+ },
6664
+ "description": "Cannot be chosen.",
6665
+ "fieldName": "disabled"
6666
+ },
6667
+ {
6668
+ "name": "color",
6669
+ "type": {
6670
+ "text": "string"
6671
+ },
6672
+ "description": "Overrides the group color.",
6673
+ "fieldName": "color"
6674
+ },
6675
+ {
6676
+ "name": "size",
6677
+ "type": {
6678
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
6679
+ },
6680
+ "description": "Overrides the group size.",
6681
+ "fieldName": "size"
6682
+ },
6683
+ {
6684
+ "name": "variant",
6685
+ "type": {
6686
+ "text": "\"filled\" | \"outline\""
6687
+ },
6688
+ "description": "Overrides the group variant.",
6689
+ "fieldName": "variant"
6690
+ }
6691
+ ],
6692
+ "members": [
6693
+ {
6694
+ "kind": "field",
6695
+ "name": "hideIndicator",
6696
+ "type": {
6697
+ "text": "boolean"
6698
+ },
6699
+ "description": "No radio circle: the card's border and background alone show the choice.",
6700
+ "attribute": "hide-indicator",
6701
+ "reflects": true
6702
+ },
6703
+ {
6704
+ "kind": "field",
6705
+ "name": "value",
6706
+ "type": {
6707
+ "text": "string"
6708
+ },
6709
+ "description": "Value given to the group when chosen.",
6710
+ "attribute": "value",
6711
+ "reflects": true
6712
+ },
6713
+ {
6714
+ "kind": "field",
6715
+ "name": "checked",
6716
+ "type": {
6717
+ "text": "boolean"
6718
+ },
6719
+ "description": "Whether this radio is the group's value; setting it sets the group's value. The checked attribute marks the group's initial value (when the group has no value attribute)."
6720
+ },
6721
+ {
6722
+ "kind": "field",
6723
+ "name": "label",
6724
+ "type": {
6725
+ "text": "string"
6726
+ },
6727
+ "description": "Label text (or the content).",
6728
+ "attribute": "label",
6729
+ "reflects": false
6730
+ },
6731
+ {
6732
+ "kind": "field",
6733
+ "name": "description",
6734
+ "type": {
6735
+ "text": "string"
6736
+ },
6737
+ "description": "Help text under the label.",
6738
+ "attribute": "description",
6739
+ "reflects": false
6740
+ },
6741
+ {
6742
+ "kind": "field",
6743
+ "name": "disabled",
6744
+ "type": {
6745
+ "text": "boolean"
6746
+ },
6747
+ "description": "Cannot be chosen.",
6748
+ "attribute": "disabled",
6749
+ "reflects": false
6750
+ },
6751
+ {
6752
+ "kind": "field",
6753
+ "name": "color",
6754
+ "type": {
6755
+ "text": "string"
6756
+ },
6757
+ "description": "Overrides the group color.",
6758
+ "attribute": "color",
6759
+ "reflects": false
6760
+ },
6761
+ {
6762
+ "kind": "field",
6763
+ "name": "size",
6764
+ "type": {
6765
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
6766
+ },
6767
+ "description": "Overrides the group size.",
6768
+ "attribute": "size",
6769
+ "reflects": false
6770
+ },
6771
+ {
6772
+ "kind": "field",
6773
+ "name": "variant",
6774
+ "type": {
6775
+ "text": "\"filled\" | \"outline\""
6776
+ },
6777
+ "description": "Overrides the group variant.",
6778
+ "attribute": "variant",
6779
+ "reflects": true
6780
+ }
6781
+ ],
6782
+ "events": [],
6783
+ "slots": [
6784
+ {
6785
+ "name": "",
6786
+ "description": "More content under the description."
6787
+ },
6788
+ {
6789
+ "name": "icon",
6790
+ "description": "An icon before the title."
6791
+ }
6792
+ ],
6793
+ "cssParts": [
6794
+ {
6795
+ "name": "root",
6796
+ "description": "The card."
6797
+ },
6798
+ {
6799
+ "name": "icon",
6800
+ "description": "Around the icon slot."
6801
+ }
6802
+ ]
6589
6803
  }
6590
6804
  ],
6591
6805
  "exports": [
@@ -6620,6 +6834,22 @@
6620
6834
  "name": "RayRadio",
6621
6835
  "module": "components/radio/radio.js"
6622
6836
  }
6837
+ },
6838
+ {
6839
+ "kind": "js",
6840
+ "name": "RayRadioCard",
6841
+ "declaration": {
6842
+ "name": "RayRadioCard",
6843
+ "module": "components/radio/radio.js"
6844
+ }
6845
+ },
6846
+ {
6847
+ "kind": "custom-element-definition",
6848
+ "name": "ray-radio-card",
6849
+ "declaration": {
6850
+ "name": "RayRadioCard",
6851
+ "module": "components/radio/radio.js"
6852
+ }
6623
6853
  }
6624
6854
  ]
6625
6855
  },
@@ -8911,9 +9141,9 @@
8911
9141
  {
8912
9142
  "name": "icon",
8913
9143
  "type": {
8914
- "text": "string"
9144
+ "text": "IconName"
8915
9145
  },
8916
- "description": "An icon of the registry (or put one in the icon slot).",
9146
+ "description": "An icon of the registry, drawn filled on the current item when it has a filled version (or put one in the icon slot: yours, as it is).",
8917
9147
  "fieldName": "icon"
8918
9148
  },
8919
9149
  {
@@ -8990,9 +9220,9 @@
8990
9220
  "kind": "field",
8991
9221
  "name": "icon",
8992
9222
  "type": {
8993
- "text": "string"
9223
+ "text": "IconName"
8994
9224
  },
8995
- "description": "An icon of the registry (or put one in the icon slot).",
9225
+ "description": "An icon of the registry, drawn filled on the current item when it has a filled version (or put one in the icon slot: yours, as it is).",
8996
9226
  "attribute": "icon",
8997
9227
  "reflects": false
8998
9228
  },
@@ -13767,7 +13997,7 @@
13767
13997
  {
13768
13998
  "name": "icon",
13769
13999
  "type": {
13770
- "text": "string"
14000
+ "text": "IconName"
13771
14001
  },
13772
14002
  "description": "Registry icon of the mark, or none. The icon slot replaces it.",
13773
14003
  "fieldName": "icon",
@@ -13853,7 +14083,7 @@
13853
14083
  "kind": "field",
13854
14084
  "name": "icon",
13855
14085
  "type": {
13856
- "text": "string"
14086
+ "text": "IconName"
13857
14087
  },
13858
14088
  "description": "Registry icon of the mark, or none. The icon slot replaces it.",
13859
14089
  "attribute": "icon",
@@ -14614,7 +14844,7 @@
14614
14844
  "name": "RayIcon",
14615
14845
  "tagName": "ray-icon",
14616
14846
  "customElement": true,
14617
- "description": "setIcons({ name: '<svg…>' }) replaces or adds icons (SVG markup or an SVGElement, drawn with currentColor); iconNames() lists them. Sizes follow the font unless size; --ray-icon-size and --ray-icon-stroke tune the whole system.",
14847
+ "description": "setIcons({ name: '<svg…>' }) replaces or adds icons (SVG markup or an SVGElement, drawn with currentColor); iconNames() lists them. An icon may have a filled version for a state (filled; \"<name>:filled\" in setIcons; iconNames({ filled: true }) lists them). The components draw roles (\"ui.close\", \"ui.remove\", \"ui.expand\"…; iconAliases()), each its glyph until the app registers the role: setIcons({ \"ui.remove\": … }) changes only the chips' ×. Sizes follow the font unless size; --ray-icon-size and --ray-icon-stroke tune the whole system.",
14618
14848
  "superclass": {
14619
14849
  "name": "RayElement"
14620
14850
  },
@@ -14622,11 +14852,19 @@
14622
14852
  {
14623
14853
  "name": "name",
14624
14854
  "type": {
14625
- "text": "string"
14855
+ "text": "IconName"
14626
14856
  },
14627
14857
  "description": "Registered icon name (iconNames()); \"none\" draws nothing, a blank that keeps the alignment (a menu item without its check).",
14628
14858
  "fieldName": "name"
14629
14859
  },
14860
+ {
14861
+ "name": "filled",
14862
+ "type": {
14863
+ "text": "boolean"
14864
+ },
14865
+ "description": "The filled version, for a state (active, selected, favorite, unread); the outline icon when there is none. Built in: user, info, circle-check, alert-triangle, circle-x, folder, bell, star, settings, home, message-circle.",
14866
+ "fieldName": "filled"
14867
+ },
14630
14868
  {
14631
14869
  "name": "size",
14632
14870
  "type": {
@@ -14665,12 +14903,22 @@
14665
14903
  "kind": "field",
14666
14904
  "name": "name",
14667
14905
  "type": {
14668
- "text": "string"
14906
+ "text": "IconName"
14669
14907
  },
14670
14908
  "description": "Registered icon name (iconNames()); \"none\" draws nothing, a blank that keeps the alignment (a menu item without its check).",
14671
14909
  "attribute": "name",
14672
14910
  "reflects": true
14673
14911
  },
14912
+ {
14913
+ "kind": "field",
14914
+ "name": "filled",
14915
+ "type": {
14916
+ "text": "boolean"
14917
+ },
14918
+ "description": "The filled version, for a state (active, selected, favorite, unread); the outline icon when there is none. Built in: user, info, circle-check, alert-triangle, circle-x, folder, bell, star, settings, home, message-circle.",
14919
+ "attribute": "filled",
14920
+ "reflects": true
14921
+ },
14674
14922
  {
14675
14923
  "kind": "field",
14676
14924
  "name": "size",
@@ -15769,7 +16017,7 @@
15769
16017
  {
15770
16018
  "name": "icon",
15771
16019
  "type": {
15772
- "text": "string"
16020
+ "text": "IconName"
15773
16021
  },
15774
16022
  "description": "An icon of the registry in the bullet.",
15775
16023
  "fieldName": "icon"
@@ -15817,7 +16065,7 @@
15817
16065
  "kind": "field",
15818
16066
  "name": "icon",
15819
16067
  "type": {
15820
- "text": "string"
16068
+ "text": "IconName"
15821
16069
  },
15822
16070
  "description": "An icon of the registry in the bullet.",
15823
16071
  "attribute": "icon",
@@ -15965,7 +16213,7 @@
15965
16213
  {
15966
16214
  "name": "icon",
15967
16215
  "type": {
15968
- "text": "string"
16216
+ "text": "IconName"
15969
16217
  },
15970
16218
  "description": "A registered icon name, or none.",
15971
16219
  "fieldName": "icon"
@@ -16034,7 +16282,7 @@
16034
16282
  "kind": "field",
16035
16283
  "name": "icon",
16036
16284
  "type": {
16037
- "text": "string"
16285
+ "text": "IconName"
16038
16286
  },
16039
16287
  "description": "A registered icon name, or none.",
16040
16288
  "attribute": "icon",
@@ -16253,7 +16501,7 @@
16253
16501
  {
16254
16502
  "name": "icon",
16255
16503
  "type": {
16256
- "text": "string"
16504
+ "text": "IconName"
16257
16505
  },
16258
16506
  "description": "Status icon from the registry (default: from the color); \"none\" for no icon.",
16259
16507
  "fieldName": "icon"
@@ -16316,7 +16564,7 @@
16316
16564
  "kind": "field",
16317
16565
  "name": "icon",
16318
16566
  "type": {
16319
- "text": "string"
16567
+ "text": "IconName"
16320
16568
  },
16321
16569
  "description": "Status icon from the registry (default: from the color); \"none\" for no icon.",
16322
16570
  "attribute": "icon",
@@ -16849,36 +17097,243 @@
16849
17097
  },
16850
17098
  {
16851
17099
  "kind": "javascript-module",
16852
- "path": "components/skeleton/skeleton.js",
17100
+ "path": "components/ring-progress/ring-progress.js",
16853
17101
  "declarations": [
16854
17102
  {
16855
17103
  "kind": "class",
16856
- "name": "RaySkeleton",
16857
- "tagName": "ray-skeleton",
17104
+ "name": "RayRingProgress",
17105
+ "tagName": "ray-ring-progress",
16858
17106
  "customElement": true,
16859
- "description": "aria-busy=\"true\" on the host while loading; the placeholder is aria-hidden.",
17107
+ "description": "The arc starts at 12 o'clock and runs clockwise; a countdown is a value that goes down. Without value it spins (indeterminate). The middle holds the default slot (a clock), or the percentage with show-value.",
16860
17108
  "superclass": {
16861
17109
  "name": "RayElement"
16862
17110
  },
16863
17111
  "attributes": [
16864
17112
  {
16865
- "name": "width",
17113
+ "name": "value",
16866
17114
  "type": {
16867
- "text": "string"
17115
+ "text": "number"
16868
17116
  },
16869
- "description": "Width (CSS length, a number is px). Default: 100% (a circle: 2.5rem).",
16870
- "fieldName": "width"
17117
+ "description": "Progress, from 0 to max. Unset: indeterminate (a spinning arc).",
17118
+ "fieldName": "value"
16871
17119
  },
16872
17120
  {
16873
- "name": "height",
17121
+ "name": "max",
16874
17122
  "type": {
16875
- "text": "string"
17123
+ "text": "number"
16876
17124
  },
16877
- "description": "Height of a block or of each line (CSS length, a number is px). Default: 1rem.",
16878
- "fieldName": "height"
17125
+ "description": "The value of a full ring.",
17126
+ "fieldName": "max",
17127
+ "default": "100"
16879
17128
  },
16880
17129
  {
16881
- "name": "circle",
17130
+ "name": "color",
17131
+ "type": {
17132
+ "text": "string"
17133
+ },
17134
+ "description": "A palette color or any CSS color. Default: the primary color.",
17135
+ "fieldName": "color"
17136
+ },
17137
+ {
17138
+ "name": "size",
17139
+ "type": {
17140
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | (string & {})"
17141
+ },
17142
+ "description": "Diameter: xs…xl (3, 5, 7.5, 10, 12.5rem) or any CSS length.",
17143
+ "fieldName": "size",
17144
+ "default": "md"
17145
+ },
17146
+ {
17147
+ "name": "thickness",
17148
+ "type": {
17149
+ "text": "string"
17150
+ },
17151
+ "description": "Width of the ring: a CSS length (a bare number is px). Default: a tenth of the diameter.",
17152
+ "fieldName": "thickness"
17153
+ },
17154
+ {
17155
+ "name": "round-caps",
17156
+ "type": {
17157
+ "text": "boolean"
17158
+ },
17159
+ "description": "Rounded ends of the arc.",
17160
+ "fieldName": "roundCaps"
17161
+ },
17162
+ {
17163
+ "name": "show-value",
17164
+ "type": {
17165
+ "text": "boolean"
17166
+ },
17167
+ "description": "Shows the percentage in the middle (when the default slot is empty).",
17168
+ "fieldName": "showValue"
17169
+ },
17170
+ {
17171
+ "name": "label",
17172
+ "type": {
17173
+ "text": "string"
17174
+ },
17175
+ "description": "Accessible name (default: Progress).",
17176
+ "fieldName": "label"
17177
+ }
17178
+ ],
17179
+ "members": [
17180
+ {
17181
+ "kind": "field",
17182
+ "name": "value",
17183
+ "type": {
17184
+ "text": "number"
17185
+ },
17186
+ "description": "Progress, from 0 to max. Unset: indeterminate (a spinning arc).",
17187
+ "attribute": "value",
17188
+ "reflects": false
17189
+ },
17190
+ {
17191
+ "kind": "field",
17192
+ "name": "max",
17193
+ "type": {
17194
+ "text": "number"
17195
+ },
17196
+ "description": "The value of a full ring.",
17197
+ "attribute": "max",
17198
+ "reflects": false,
17199
+ "default": "100"
17200
+ },
17201
+ {
17202
+ "kind": "field",
17203
+ "name": "color",
17204
+ "type": {
17205
+ "text": "string"
17206
+ },
17207
+ "description": "A palette color or any CSS color. Default: the primary color.",
17208
+ "attribute": "color",
17209
+ "reflects": true
17210
+ },
17211
+ {
17212
+ "kind": "field",
17213
+ "name": "size",
17214
+ "type": {
17215
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | (string & {})"
17216
+ },
17217
+ "description": "Diameter: xs…xl (3, 5, 7.5, 10, 12.5rem) or any CSS length.",
17218
+ "attribute": "size",
17219
+ "reflects": true,
17220
+ "default": "md"
17221
+ },
17222
+ {
17223
+ "kind": "field",
17224
+ "name": "thickness",
17225
+ "type": {
17226
+ "text": "string"
17227
+ },
17228
+ "description": "Width of the ring: a CSS length (a bare number is px). Default: a tenth of the diameter.",
17229
+ "attribute": "thickness",
17230
+ "reflects": true
17231
+ },
17232
+ {
17233
+ "kind": "field",
17234
+ "name": "roundCaps",
17235
+ "type": {
17236
+ "text": "boolean"
17237
+ },
17238
+ "description": "Rounded ends of the arc.",
17239
+ "attribute": "round-caps",
17240
+ "reflects": true
17241
+ },
17242
+ {
17243
+ "kind": "field",
17244
+ "name": "showValue",
17245
+ "type": {
17246
+ "text": "boolean"
17247
+ },
17248
+ "description": "Shows the percentage in the middle (when the default slot is empty).",
17249
+ "attribute": "show-value",
17250
+ "reflects": true
17251
+ },
17252
+ {
17253
+ "kind": "field",
17254
+ "name": "label",
17255
+ "type": {
17256
+ "text": "string"
17257
+ },
17258
+ "description": "Accessible name (default: Progress).",
17259
+ "attribute": "label",
17260
+ "reflects": false
17261
+ }
17262
+ ],
17263
+ "events": [],
17264
+ "slots": [
17265
+ {
17266
+ "name": "",
17267
+ "description": "The middle of the ring (a clock, a figure, an icon); its font scales with size."
17268
+ }
17269
+ ],
17270
+ "cssParts": [
17271
+ {
17272
+ "name": "track",
17273
+ "description": "The background circle."
17274
+ },
17275
+ {
17276
+ "name": "bar",
17277
+ "description": "The arc."
17278
+ },
17279
+ {
17280
+ "name": "center",
17281
+ "description": "The middle, around the default slot."
17282
+ }
17283
+ ]
17284
+ }
17285
+ ],
17286
+ "exports": [
17287
+ {
17288
+ "kind": "js",
17289
+ "name": "RayRingProgress",
17290
+ "declaration": {
17291
+ "name": "RayRingProgress",
17292
+ "module": "components/ring-progress/ring-progress.js"
17293
+ }
17294
+ },
17295
+ {
17296
+ "kind": "custom-element-definition",
17297
+ "name": "ray-ring-progress",
17298
+ "declaration": {
17299
+ "name": "RayRingProgress",
17300
+ "module": "components/ring-progress/ring-progress.js"
17301
+ }
17302
+ }
17303
+ ]
17304
+ },
17305
+ {
17306
+ "kind": "javascript-module",
17307
+ "path": "components/skeleton/skeleton.js",
17308
+ "declarations": [
17309
+ {
17310
+ "kind": "class",
17311
+ "name": "RaySkeleton",
17312
+ "tagName": "ray-skeleton",
17313
+ "customElement": true,
17314
+ "description": "aria-busy=\"true\" on the host while loading; the placeholder is aria-hidden.",
17315
+ "superclass": {
17316
+ "name": "RayElement"
17317
+ },
17318
+ "attributes": [
17319
+ {
17320
+ "name": "width",
17321
+ "type": {
17322
+ "text": "string"
17323
+ },
17324
+ "description": "Width (CSS length, a number is px). Default: 100% (a circle: 2.5rem).",
17325
+ "fieldName": "width"
17326
+ },
17327
+ {
17328
+ "name": "height",
17329
+ "type": {
17330
+ "text": "string"
17331
+ },
17332
+ "description": "Height of a block or of each line (CSS length, a number is px). Default: 1rem.",
17333
+ "fieldName": "height"
17334
+ },
17335
+ {
17336
+ "name": "circle",
16882
17337
  "type": {
16883
17338
  "text": "boolean"
16884
17339
  },
@@ -17134,6 +17589,208 @@
17134
17589
  }
17135
17590
  ]
17136
17591
  },
17592
+ {
17593
+ "kind": "javascript-module",
17594
+ "path": "components/step-dots/step-dots.js",
17595
+ "declarations": [
17596
+ {
17597
+ "kind": "class",
17598
+ "name": "RayStepDots",
17599
+ "tagName": "ray-step-dots",
17600
+ "customElement": true,
17601
+ "description": "Dots before value are done (filled), the one at value is current (a filled pill), the rest are to do (empty). Not interactive: for steps the user picks, use ray-stepper (or the dots of ray-carousel). Many dots wrap onto more lines.",
17602
+ "superclass": {
17603
+ "name": "RayElement"
17604
+ },
17605
+ "attributes": [
17606
+ {
17607
+ "name": "count",
17608
+ "type": {
17609
+ "text": "number"
17610
+ },
17611
+ "description": "Number of steps (dots).",
17612
+ "fieldName": "count",
17613
+ "default": "0"
17614
+ },
17615
+ {
17616
+ "name": "value",
17617
+ "type": {
17618
+ "text": "number"
17619
+ },
17620
+ "description": "The current step, 0-based; count means every step is done.",
17621
+ "fieldName": "value",
17622
+ "default": "0"
17623
+ },
17624
+ {
17625
+ "name": "color",
17626
+ "type": {
17627
+ "text": "string"
17628
+ },
17629
+ "description": "A palette color or any CSS color for done and current dots. Default: the primary color.",
17630
+ "fieldName": "color"
17631
+ },
17632
+ {
17633
+ "name": "size",
17634
+ "type": {
17635
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
17636
+ },
17637
+ "description": "Size of a dot.",
17638
+ "fieldName": "size",
17639
+ "default": "sm"
17640
+ },
17641
+ {
17642
+ "name": "align",
17643
+ "type": {
17644
+ "text": "\"start\" | \"center\" | \"end\""
17645
+ },
17646
+ "description": "Where the row sits in its width.",
17647
+ "fieldName": "align",
17648
+ "default": "center"
17649
+ },
17650
+ {
17651
+ "name": "label",
17652
+ "type": {
17653
+ "text": "string"
17654
+ },
17655
+ "description": "What a step is called: \"Round\" is announced \"Round 4 of 12\" and names the element. Default: Step (named Steps). In another language, use value-text.",
17656
+ "fieldName": "label"
17657
+ },
17658
+ {
17659
+ "name": "value-text",
17660
+ "type": {
17661
+ "text": "string"
17662
+ },
17663
+ "description": "The announced text, {step} (the current one, from 1) and {count} replaced, numbers in the page's language: value-text=\"Asalto {step} de {count}\". Default: \"<label> {step} of {count}\".",
17664
+ "fieldName": "valueText"
17665
+ },
17666
+ {
17667
+ "name": "done-text",
17668
+ "type": {
17669
+ "text": "string"
17670
+ },
17671
+ "description": "The announced text once every step is done (value = count), with {count}. Default: value-text, else \"{count} of {count}, done\".",
17672
+ "fieldName": "doneText"
17673
+ }
17674
+ ],
17675
+ "members": [
17676
+ {
17677
+ "kind": "field",
17678
+ "name": "count",
17679
+ "type": {
17680
+ "text": "number"
17681
+ },
17682
+ "description": "Number of steps (dots).",
17683
+ "attribute": "count",
17684
+ "reflects": false,
17685
+ "default": "0"
17686
+ },
17687
+ {
17688
+ "kind": "field",
17689
+ "name": "value",
17690
+ "type": {
17691
+ "text": "number"
17692
+ },
17693
+ "description": "The current step, 0-based; count means every step is done.",
17694
+ "attribute": "value",
17695
+ "reflects": false,
17696
+ "default": "0"
17697
+ },
17698
+ {
17699
+ "kind": "field",
17700
+ "name": "color",
17701
+ "type": {
17702
+ "text": "string"
17703
+ },
17704
+ "description": "A palette color or any CSS color for done and current dots. Default: the primary color.",
17705
+ "attribute": "color",
17706
+ "reflects": true
17707
+ },
17708
+ {
17709
+ "kind": "field",
17710
+ "name": "size",
17711
+ "type": {
17712
+ "text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
17713
+ },
17714
+ "description": "Size of a dot.",
17715
+ "attribute": "size",
17716
+ "reflects": true,
17717
+ "default": "sm"
17718
+ },
17719
+ {
17720
+ "kind": "field",
17721
+ "name": "align",
17722
+ "type": {
17723
+ "text": "\"start\" | \"center\" | \"end\""
17724
+ },
17725
+ "description": "Where the row sits in its width.",
17726
+ "attribute": "align",
17727
+ "reflects": true,
17728
+ "default": "center"
17729
+ },
17730
+ {
17731
+ "kind": "field",
17732
+ "name": "label",
17733
+ "type": {
17734
+ "text": "string"
17735
+ },
17736
+ "description": "What a step is called: \"Round\" is announced \"Round 4 of 12\" and names the element. Default: Step (named Steps). In another language, use value-text.",
17737
+ "attribute": "label",
17738
+ "reflects": false
17739
+ },
17740
+ {
17741
+ "kind": "field",
17742
+ "name": "valueText",
17743
+ "type": {
17744
+ "text": "string"
17745
+ },
17746
+ "description": "The announced text, {step} (the current one, from 1) and {count} replaced, numbers in the page's language: value-text=\"Asalto {step} de {count}\". Default: \"<label> {step} of {count}\".",
17747
+ "attribute": "value-text",
17748
+ "reflects": false
17749
+ },
17750
+ {
17751
+ "kind": "field",
17752
+ "name": "doneText",
17753
+ "type": {
17754
+ "text": "string"
17755
+ },
17756
+ "description": "The announced text once every step is done (value = count), with {count}. Default: value-text, else \"{count} of {count}, done\".",
17757
+ "attribute": "done-text",
17758
+ "reflects": false
17759
+ }
17760
+ ],
17761
+ "events": [],
17762
+ "slots": [],
17763
+ "cssParts": [
17764
+ {
17765
+ "name": "dots",
17766
+ "description": "The row."
17767
+ },
17768
+ {
17769
+ "name": "dot",
17770
+ "description": "Each dot ([data-state] done, current or todo)."
17771
+ }
17772
+ ]
17773
+ }
17774
+ ],
17775
+ "exports": [
17776
+ {
17777
+ "kind": "js",
17778
+ "name": "RayStepDots",
17779
+ "declaration": {
17780
+ "name": "RayStepDots",
17781
+ "module": "components/step-dots/step-dots.js"
17782
+ }
17783
+ },
17784
+ {
17785
+ "kind": "custom-element-definition",
17786
+ "name": "ray-step-dots",
17787
+ "declaration": {
17788
+ "name": "RayStepDots",
17789
+ "module": "components/step-dots/step-dots.js"
17790
+ }
17791
+ }
17792
+ ]
17793
+ },
17137
17794
  {
17138
17795
  "kind": "javascript-module",
17139
17796
  "path": "components/app-bar/app-bar.js",