@raylang/elements 0.6.0 → 0.8.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 (61) hide show
  1. package/base.css +1 -1
  2. package/check/check.d.ts +2 -0
  3. package/check/check.js +18 -4
  4. package/check/cli.js +10 -6
  5. package/components/accordion/accordion.js +8 -5
  6. package/components/alert/alert.js +3 -2
  7. package/components/attachment/attachment.js +5 -6
  8. package/components/avatar/avatar.js +1 -1
  9. package/components/blockquote/blockquote.js +2 -2
  10. package/components/bottom-nav/bottom-nav.js +5 -3
  11. package/components/breadcrumbs/breadcrumbs.js +1 -1
  12. package/components/carousel/carousel.js +26 -14
  13. package/components/checkbox/checkbox.js +6 -3
  14. package/components/checkbox-group/checkbox-group.js +1 -1
  15. package/components/code/code.js +9 -7
  16. package/components/color-picker/color-picker.js +6 -6
  17. package/components/combobox/combobox.js +5 -4
  18. package/components/command-palette/command-palette.js +2 -2
  19. package/components/date-picker/date-picker.js +9 -7
  20. package/components/dialog/dialog.js +2 -2
  21. package/components/drawer/drawer.js +28 -10
  22. package/components/file-upload/file-upload.js +1 -1
  23. package/components/icon/icon.js +9 -1
  24. package/components/indicator/indicator.js +2 -1
  25. package/components/menu/menu.js +1 -1
  26. package/components/nav-link/nav-link.js +6 -3
  27. package/components/notification/notification.js +16 -13
  28. package/components/number-input/number-input.js +1 -1
  29. package/components/pagination/pagination.js +4 -4
  30. package/components/password-input/password-input.js +2 -2
  31. package/components/progress/progress.js +2 -2
  32. package/components/radio/radio.js +4 -2
  33. package/components/scroll-area/scroll-area.js +14 -11
  34. package/components/search/search.js +5 -5
  35. package/components/segmented-control/segmented-control.js +5 -3
  36. package/components/select/select.js +5 -5
  37. package/components/separator/separator.js +8 -3
  38. package/components/sidebar/sidebar.js +14 -6
  39. package/components/slider/slider.js +5 -2
  40. package/components/split/split.js +12 -6
  41. package/components/stat/stat.js +1 -1
  42. package/components/step-dots/step-dots.js +11 -2
  43. package/components/stepper/stepper.js +5 -5
  44. package/components/switch/switch.js +3 -3
  45. package/components/table/table.js +6 -6
  46. package/components/tabs/tabs.js +11 -8
  47. package/components/theme-toggle/theme-toggle.js +2 -2
  48. package/components/timeline/timeline.js +13 -8
  49. package/components/toggle-group/toggle-group.js +6 -4
  50. package/core/core.js +10 -4
  51. package/core/direction.js +19 -0
  52. package/core/icons.js +107 -8
  53. package/core/position.js +11 -3
  54. package/core/styles.js +1 -1
  55. package/core.js +1 -0
  56. package/custom-elements.json +151 -79
  57. package/llms-full.txt +75 -31
  58. package/llms.txt +32 -3
  59. package/package.json +1 -1
  60. package/ray-elements.d.ts +56 -39
  61. package/vscode.html-custom-data.json +1102 -39
@@ -1504,11 +1504,11 @@
1504
1504
  {
1505
1505
  "name": "label-position",
1506
1506
  "type": {
1507
- "text": "\"right\" | \"left\""
1507
+ "text": "\"end\" | \"start\" | \"right\" | \"left\""
1508
1508
  },
1509
- "description": "Side of the label.",
1509
+ "description": "Side of the label: start/end follow the writing direction; left/right are sides of the screen.",
1510
1510
  "fieldName": "labelPosition",
1511
- "default": "right"
1511
+ "default": "end"
1512
1512
  },
1513
1513
  {
1514
1514
  "name": "radius",
@@ -1654,12 +1654,12 @@
1654
1654
  "kind": "field",
1655
1655
  "name": "labelPosition",
1656
1656
  "type": {
1657
- "text": "\"right\" | \"left\""
1657
+ "text": "\"end\" | \"start\" | \"right\" | \"left\""
1658
1658
  },
1659
- "description": "Side of the label.",
1659
+ "description": "Side of the label: start/end follow the writing direction; left/right are sides of the screen.",
1660
1660
  "attribute": "label-position",
1661
1661
  "reflects": true,
1662
- "default": "right"
1662
+ "default": "end"
1663
1663
  },
1664
1664
  {
1665
1665
  "kind": "field",
@@ -8238,11 +8238,11 @@
8238
8238
  {
8239
8239
  "name": "label-position",
8240
8240
  "type": {
8241
- "text": "\"right\" | \"left\""
8241
+ "text": "\"end\" | \"start\" | \"right\" | \"left\""
8242
8242
  },
8243
- "description": "Side of the label.",
8243
+ "description": "Side of the label: start/end follow the writing direction; left/right are sides of the screen.",
8244
8244
  "fieldName": "labelPosition",
8245
- "default": "right"
8245
+ "default": "end"
8246
8246
  },
8247
8247
  {
8248
8248
  "name": "color",
@@ -8376,12 +8376,12 @@
8376
8376
  "kind": "field",
8377
8377
  "name": "labelPosition",
8378
8378
  "type": {
8379
- "text": "\"right\" | \"left\""
8379
+ "text": "\"end\" | \"start\" | \"right\" | \"left\""
8380
8380
  },
8381
- "description": "Side of the label.",
8381
+ "description": "Side of the label: start/end follow the writing direction; left/right are sides of the screen.",
8382
8382
  "attribute": "label-position",
8383
8383
  "reflects": true,
8384
- "default": "right"
8384
+ "default": "end"
8385
8385
  },
8386
8386
  {
8387
8387
  "kind": "field",
@@ -9141,9 +9141,9 @@
9141
9141
  {
9142
9142
  "name": "icon",
9143
9143
  "type": {
9144
- "text": "string"
9144
+ "text": "IconName"
9145
9145
  },
9146
- "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).",
9147
9147
  "fieldName": "icon"
9148
9148
  },
9149
9149
  {
@@ -9220,9 +9220,9 @@
9220
9220
  "kind": "field",
9221
9221
  "name": "icon",
9222
9222
  "type": {
9223
- "text": "string"
9223
+ "text": "IconName"
9224
9224
  },
9225
- "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).",
9226
9226
  "attribute": "icon",
9227
9227
  "reflects": false
9228
9228
  },
@@ -10183,11 +10183,11 @@
10183
10183
  {
10184
10184
  "name": "side",
10185
10185
  "type": {
10186
- "text": "\"left\" | \"right\""
10186
+ "text": "\"start\" | \"end\" | \"left\" | \"right\""
10187
10187
  },
10188
- "description": "The edge it sits on.",
10188
+ "description": "The edge it sits on (its border faces the content, its narrow-screen drawer slides from there): start/end follow the writing direction; left/right are sides of the screen.",
10189
10189
  "fieldName": "side",
10190
- "default": "left"
10190
+ "default": "start"
10191
10191
  },
10192
10192
  {
10193
10193
  "name": "variant",
@@ -10258,12 +10258,12 @@
10258
10258
  "kind": "field",
10259
10259
  "name": "side",
10260
10260
  "type": {
10261
- "text": "\"left\" | \"right\""
10261
+ "text": "\"start\" | \"end\" | \"left\" | \"right\""
10262
10262
  },
10263
- "description": "The edge it sits on.",
10263
+ "description": "The edge it sits on (its border faces the content, its narrow-screen drawer slides from there): start/end follow the writing direction; left/right are sides of the screen.",
10264
10264
  "attribute": "side",
10265
10265
  "reflects": true,
10266
- "default": "left"
10266
+ "default": "start"
10267
10267
  },
10268
10268
  {
10269
10269
  "kind": "field",
@@ -10509,11 +10509,11 @@
10509
10509
  {
10510
10510
  "name": "icon-position",
10511
10511
  "type": {
10512
- "text": "\"left\" | \"top\""
10512
+ "text": "\"start\" | \"top\" | \"left\""
10513
10513
  },
10514
- "description": "Label beside the number, or under it (narrow screens, many steps).",
10514
+ "description": "Label beside the number (after it in the reading direction), or under it (narrow screens, many steps). \"left\", its former name, still works.",
10515
10515
  "fieldName": "iconPosition",
10516
- "default": "left"
10516
+ "default": "start"
10517
10517
  },
10518
10518
  {
10519
10519
  "name": "allow-step-select",
@@ -10586,12 +10586,12 @@
10586
10586
  "kind": "field",
10587
10587
  "name": "iconPosition",
10588
10588
  "type": {
10589
- "text": "\"left\" | \"top\""
10589
+ "text": "\"start\" | \"top\" | \"left\""
10590
10590
  },
10591
- "description": "Label beside the number, or under it (narrow screens, many steps).",
10591
+ "description": "Label beside the number (after it in the reading direction), or under it (narrow screens, many steps). \"left\", its former name, still works.",
10592
10592
  "attribute": "icon-position",
10593
10593
  "reflects": true,
10594
- "default": "left"
10594
+ "default": "start"
10595
10595
  },
10596
10596
  {
10597
10597
  "kind": "field",
@@ -11877,11 +11877,11 @@
11877
11877
  {
11878
11878
  "name": "position",
11879
11879
  "type": {
11880
- "text": "\"right\" | \"left\" | \"top\" | \"bottom\""
11880
+ "text": "\"end\" | \"start\" | \"right\" | \"left\" | \"top\" | \"bottom\""
11881
11881
  },
11882
- "description": "The edge it slides from.",
11882
+ "description": "The edge it slides from: start/end follow the writing direction; left/right are sides of the screen.",
11883
11883
  "fieldName": "position",
11884
- "default": "right"
11884
+ "default": "end"
11885
11885
  },
11886
11886
  {
11887
11887
  "name": "size",
@@ -11968,12 +11968,12 @@
11968
11968
  "kind": "field",
11969
11969
  "name": "position",
11970
11970
  "type": {
11971
- "text": "\"right\" | \"left\" | \"top\" | \"bottom\""
11971
+ "text": "\"end\" | \"start\" | \"right\" | \"left\" | \"top\" | \"bottom\""
11972
11972
  },
11973
- "description": "The edge it slides from.",
11973
+ "description": "The edge it slides from: start/end follow the writing direction; left/right are sides of the screen.",
11974
11974
  "attribute": "position",
11975
11975
  "reflects": true,
11976
- "default": "right"
11976
+ "default": "end"
11977
11977
  },
11978
11978
  {
11979
11979
  "kind": "field",
@@ -12147,7 +12147,7 @@
12147
12147
  "type": {
12148
12148
  "text": "\"bottom-start\" | \"bottom\" | \"bottom-end\" | \"top-start\" | \"top\" | \"top-end\" | \"right-start\" | \"left-start\""
12149
12149
  },
12150
- "description": "Preferred side and alignment.",
12150
+ "description": "Preferred side and alignment: top/bottom/left/right are sides of the screen; on top and bottom, -start/-end follow the writing direction (right to left, \"bottom-start\" lines up the right edges).",
12151
12151
  "fieldName": "placement",
12152
12152
  "default": "bottom-start"
12153
12153
  },
@@ -12202,7 +12202,7 @@
12202
12202
  "type": {
12203
12203
  "text": "\"bottom-start\" | \"bottom\" | \"bottom-end\" | \"top-start\" | \"top\" | \"top-end\" | \"right-start\" | \"left-start\""
12204
12204
  },
12205
- "description": "Preferred side and alignment.",
12205
+ "description": "Preferred side and alignment: top/bottom/left/right are sides of the screen; on top and bottom, -start/-end follow the writing direction (right to left, \"bottom-start\" lines up the right edges).",
12206
12206
  "attribute": "placement",
12207
12207
  "reflects": true,
12208
12208
  "default": "bottom-start"
@@ -12528,7 +12528,7 @@
12528
12528
  "type": {
12529
12529
  "text": "\"bottom\" | \"bottom-start\" | \"bottom-end\" | \"top\" | \"top-start\" | \"top-end\" | \"left\" | \"left-start\" | \"left-end\" | \"right\" | \"right-start\" | \"right-end\""
12530
12530
  },
12531
- "description": "Preferred side and alignment.",
12531
+ "description": "Preferred side and alignment: top/bottom/left/right are sides of the screen; on top and bottom, -start/-end follow the writing direction (right to left, \"bottom-start\" lines up the right edges).",
12532
12532
  "fieldName": "placement",
12533
12533
  "default": "bottom"
12534
12534
  },
@@ -12592,7 +12592,7 @@
12592
12592
  "type": {
12593
12593
  "text": "\"bottom\" | \"bottom-start\" | \"bottom-end\" | \"top\" | \"top-start\" | \"top-end\" | \"left\" | \"left-start\" | \"left-end\" | \"right\" | \"right-start\" | \"right-end\""
12594
12594
  },
12595
- "description": "Preferred side and alignment.",
12595
+ "description": "Preferred side and alignment: top/bottom/left/right are sides of the screen; on top and bottom, -start/-end follow the writing direction (right to left, \"bottom-start\" lines up the right edges).",
12596
12596
  "attribute": "placement",
12597
12597
  "reflects": true,
12598
12598
  "default": "bottom"
@@ -12750,7 +12750,7 @@
12750
12750
  "type": {
12751
12751
  "text": "\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\""
12752
12752
  },
12753
- "description": "Preferred side.",
12753
+ "description": "Preferred side; -start/-end follow the writing direction.",
12754
12754
  "fieldName": "placement",
12755
12755
  "default": "top"
12756
12756
  },
@@ -12823,7 +12823,7 @@
12823
12823
  "type": {
12824
12824
  "text": "\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\""
12825
12825
  },
12826
- "description": "Preferred side.",
12826
+ "description": "Preferred side; -start/-end follow the writing direction.",
12827
12827
  "attribute": "placement",
12828
12828
  "reflects": true,
12829
12829
  "default": "top"
@@ -12988,11 +12988,11 @@
12988
12988
  {
12989
12989
  "name": "chevron-position",
12990
12990
  "type": {
12991
- "text": "\"right\" | \"left\""
12991
+ "text": "\"end\" | \"start\" | \"right\" | \"left\""
12992
12992
  },
12993
- "description": "Side of the chevron.",
12993
+ "description": "Side of the chevron: start/end follow the writing direction; left/right are sides of the screen.",
12994
12994
  "fieldName": "chevronPosition",
12995
- "default": "right"
12995
+ "default": "end"
12996
12996
  }
12997
12997
  ],
12998
12998
  "members": [
@@ -13031,12 +13031,12 @@
13031
13031
  "kind": "field",
13032
13032
  "name": "chevronPosition",
13033
13033
  "type": {
13034
- "text": "\"right\" | \"left\""
13034
+ "text": "\"end\" | \"start\" | \"right\" | \"left\""
13035
13035
  },
13036
- "description": "Side of the chevron.",
13036
+ "description": "Side of the chevron: start/end follow the writing direction; left/right are sides of the screen.",
13037
13037
  "attribute": "chevron-position",
13038
13038
  "reflects": true,
13039
- "default": "right"
13039
+ "default": "end"
13040
13040
  },
13041
13041
  {
13042
13042
  "kind": "field",
@@ -13997,7 +13997,7 @@
13997
13997
  {
13998
13998
  "name": "icon",
13999
13999
  "type": {
14000
- "text": "string"
14000
+ "text": "IconName"
14001
14001
  },
14002
14002
  "description": "Registry icon of the mark, or none. The icon slot replaces it.",
14003
14003
  "fieldName": "icon",
@@ -14083,7 +14083,7 @@
14083
14083
  "kind": "field",
14084
14084
  "name": "icon",
14085
14085
  "type": {
14086
- "text": "string"
14086
+ "text": "IconName"
14087
14087
  },
14088
14088
  "description": "Registry icon of the mark, or none. The icon slot replaces it.",
14089
14089
  "attribute": "icon",
@@ -14844,7 +14844,7 @@
14844
14844
  "name": "RayIcon",
14845
14845
  "tagName": "ray-icon",
14846
14846
  "customElement": true,
14847
- "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.",
14848
14848
  "superclass": {
14849
14849
  "name": "RayElement"
14850
14850
  },
@@ -14852,11 +14852,27 @@
14852
14852
  {
14853
14853
  "name": "name",
14854
14854
  "type": {
14855
- "text": "string"
14855
+ "text": "IconName"
14856
14856
  },
14857
14857
  "description": "Registered icon name (iconNames()); \"none\" draws nothing, a blank that keeps the alignment (a menu item without its check).",
14858
14858
  "fieldName": "name"
14859
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
+ },
14868
+ {
14869
+ "name": "mirror",
14870
+ "type": {
14871
+ "text": "boolean"
14872
+ },
14873
+ "description": "Mirrored in a right-to-left context (dir=\"rtl\"), for an icon that points along the text: back, forward, send, undo. The roles that do (ui.next, ui.previous, ui.first, ui.last, ui.disclosure, ui.separator) mirror by themselves.",
14874
+ "fieldName": "mirror"
14875
+ },
14860
14876
  {
14861
14877
  "name": "size",
14862
14878
  "type": {
@@ -14895,12 +14911,32 @@
14895
14911
  "kind": "field",
14896
14912
  "name": "name",
14897
14913
  "type": {
14898
- "text": "string"
14914
+ "text": "IconName"
14899
14915
  },
14900
14916
  "description": "Registered icon name (iconNames()); \"none\" draws nothing, a blank that keeps the alignment (a menu item without its check).",
14901
14917
  "attribute": "name",
14902
14918
  "reflects": true
14903
14919
  },
14920
+ {
14921
+ "kind": "field",
14922
+ "name": "filled",
14923
+ "type": {
14924
+ "text": "boolean"
14925
+ },
14926
+ "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.",
14927
+ "attribute": "filled",
14928
+ "reflects": true
14929
+ },
14930
+ {
14931
+ "kind": "field",
14932
+ "name": "mirror",
14933
+ "type": {
14934
+ "text": "boolean"
14935
+ },
14936
+ "description": "Mirrored in a right-to-left context (dir=\"rtl\"), for an icon that points along the text: back, forward, send, undo. The roles that do (ui.next, ui.previous, ui.first, ui.last, ui.disclosure, ui.separator) mirror by themselves.",
14937
+ "attribute": "mirror",
14938
+ "reflects": true
14939
+ },
14904
14940
  {
14905
14941
  "kind": "field",
14906
14942
  "name": "size",
@@ -15853,11 +15889,11 @@
15853
15889
  {
15854
15890
  "name": "align",
15855
15891
  "type": {
15856
- "text": "\"left\" | \"right\""
15892
+ "text": "\"start\" | \"end\" | \"left\" | \"right\""
15857
15893
  },
15858
- "description": "Side of the line.",
15894
+ "description": "Side of the line: start/end follow the writing direction; left/right are sides of the screen.",
15859
15895
  "fieldName": "align",
15860
- "default": "left"
15896
+ "default": "start"
15861
15897
  },
15862
15898
  {
15863
15899
  "name": "bullet-size",
@@ -15908,12 +15944,12 @@
15908
15944
  "kind": "field",
15909
15945
  "name": "align",
15910
15946
  "type": {
15911
- "text": "\"left\" | \"right\""
15947
+ "text": "\"start\" | \"end\" | \"left\" | \"right\""
15912
15948
  },
15913
- "description": "Side of the line.",
15949
+ "description": "Side of the line: start/end follow the writing direction; left/right are sides of the screen.",
15914
15950
  "attribute": "align",
15915
15951
  "reflects": true,
15916
- "default": "left"
15952
+ "default": "start"
15917
15953
  },
15918
15954
  {
15919
15955
  "kind": "field",
@@ -15999,7 +16035,7 @@
15999
16035
  {
16000
16036
  "name": "icon",
16001
16037
  "type": {
16002
- "text": "string"
16038
+ "text": "IconName"
16003
16039
  },
16004
16040
  "description": "An icon of the registry in the bullet.",
16005
16041
  "fieldName": "icon"
@@ -16047,7 +16083,7 @@
16047
16083
  "kind": "field",
16048
16084
  "name": "icon",
16049
16085
  "type": {
16050
- "text": "string"
16086
+ "text": "IconName"
16051
16087
  },
16052
16088
  "description": "An icon of the registry in the bullet.",
16053
16089
  "attribute": "icon",
@@ -16195,7 +16231,7 @@
16195
16231
  {
16196
16232
  "name": "icon",
16197
16233
  "type": {
16198
- "text": "string"
16234
+ "text": "IconName"
16199
16235
  },
16200
16236
  "description": "A registered icon name, or none.",
16201
16237
  "fieldName": "icon"
@@ -16264,7 +16300,7 @@
16264
16300
  "kind": "field",
16265
16301
  "name": "icon",
16266
16302
  "type": {
16267
- "text": "string"
16303
+ "text": "IconName"
16268
16304
  },
16269
16305
  "description": "A registered icon name, or none.",
16270
16306
  "attribute": "icon",
@@ -16483,7 +16519,7 @@
16483
16519
  {
16484
16520
  "name": "icon",
16485
16521
  "type": {
16486
- "text": "string"
16522
+ "text": "IconName"
16487
16523
  },
16488
16524
  "description": "Status icon from the registry (default: from the color); \"none\" for no icon.",
16489
16525
  "fieldName": "icon"
@@ -16546,7 +16582,7 @@
16546
16582
  "kind": "field",
16547
16583
  "name": "icon",
16548
16584
  "type": {
16549
- "text": "string"
16585
+ "text": "IconName"
16550
16586
  },
16551
16587
  "description": "Status icon from the registry (default: from the color); \"none\" for no icon.",
16552
16588
  "attribute": "icon",
@@ -16639,11 +16675,11 @@
16639
16675
  {
16640
16676
  "name": "position",
16641
16677
  "type": {
16642
- "text": "\"bottom-right\" | \"bottom-left\" | \"bottom-center\" | \"top-right\" | \"top-left\" | \"top-center\""
16678
+ "text": "\"bottom-end\" | \"bottom-start\" | \"bottom-center\" | \"top-end\" | \"top-start\" | \"top-center\" | \"bottom-right\" | \"bottom-left\" | \"top-right\" | \"top-left\""
16643
16679
  },
16644
- "description": "Corner of the stack.",
16680
+ "description": "Corner of the stack: -start/-end follow the writing direction; -left/-right are sides of the screen.",
16645
16681
  "fieldName": "position",
16646
- "default": "bottom-right"
16682
+ "default": "bottom-end"
16647
16683
  },
16648
16684
  {
16649
16685
  "name": "limit",
@@ -16686,12 +16722,12 @@
16686
16722
  "kind": "field",
16687
16723
  "name": "position",
16688
16724
  "type": {
16689
- "text": "\"bottom-right\" | \"bottom-left\" | \"bottom-center\" | \"top-right\" | \"top-left\" | \"top-center\""
16725
+ "text": "\"bottom-end\" | \"bottom-start\" | \"bottom-center\" | \"top-end\" | \"top-start\" | \"top-center\" | \"bottom-right\" | \"bottom-left\" | \"top-right\" | \"top-left\""
16690
16726
  },
16691
- "description": "Corner of the stack.",
16727
+ "description": "Corner of the stack: -start/-end follow the writing direction; -left/-right are sides of the screen.",
16692
16728
  "attribute": "position",
16693
16729
  "reflects": true,
16694
- "default": "bottom-right"
16730
+ "default": "bottom-end"
16695
16731
  },
16696
16732
  {
16697
16733
  "kind": "field",
@@ -17634,8 +17670,24 @@
17634
17670
  "type": {
17635
17671
  "text": "string"
17636
17672
  },
17637
- "description": "What a step is called: \"Round\" is announced \"Round 4 of 12\" and names the element. Default: Step (named Steps).",
17673
+ "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.",
17638
17674
  "fieldName": "label"
17675
+ },
17676
+ {
17677
+ "name": "value-text",
17678
+ "type": {
17679
+ "text": "string"
17680
+ },
17681
+ "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}\".",
17682
+ "fieldName": "valueText"
17683
+ },
17684
+ {
17685
+ "name": "done-text",
17686
+ "type": {
17687
+ "text": "string"
17688
+ },
17689
+ "description": "The announced text once every step is done (value = count), with {count}. Default: value-text, else \"{count} of {count}, done\".",
17690
+ "fieldName": "doneText"
17639
17691
  }
17640
17692
  ],
17641
17693
  "members": [
@@ -17699,9 +17751,29 @@
17699
17751
  "type": {
17700
17752
  "text": "string"
17701
17753
  },
17702
- "description": "What a step is called: \"Round\" is announced \"Round 4 of 12\" and names the element. Default: Step (named Steps).",
17754
+ "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.",
17703
17755
  "attribute": "label",
17704
17756
  "reflects": false
17757
+ },
17758
+ {
17759
+ "kind": "field",
17760
+ "name": "valueText",
17761
+ "type": {
17762
+ "text": "string"
17763
+ },
17764
+ "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}\".",
17765
+ "attribute": "value-text",
17766
+ "reflects": false
17767
+ },
17768
+ {
17769
+ "kind": "field",
17770
+ "name": "doneText",
17771
+ "type": {
17772
+ "text": "string"
17773
+ },
17774
+ "description": "The announced text once every step is done (value = count), with {count}. Default: value-text, else \"{count} of {count}, done\".",
17775
+ "attribute": "done-text",
17776
+ "reflects": false
17705
17777
  }
17706
17778
  ],
17707
17779
  "events": [],
@@ -19080,21 +19152,21 @@
19080
19152
  {
19081
19153
  "kind": "method",
19082
19154
  "name": "scrollToStart",
19083
- "description": "Scrolls to the top (left)."
19155
+ "description": "Scrolls to the start: the top, or the left when horizontal (the right right to left)."
19084
19156
  },
19085
19157
  {
19086
19158
  "kind": "method",
19087
19159
  "name": "scrollToEnd",
19088
- "description": "Scrolls to the bottom (right when horizontal)."
19160
+ "description": "Scrolls to the end: the bottom, or the right when horizontal (the left right to left)."
19089
19161
  }
19090
19162
  ],
19091
19163
  "events": [
19092
19164
  {
19093
19165
  "name": "ray-reach-end",
19094
19166
  "type": {
19095
- "text": "CustomEvent<{ edge: \"bottom\" | \"right\" }>"
19167
+ "text": "CustomEvent<{ edge: \"bottom\" | \"right\" | \"left\" }>"
19096
19168
  },
19097
- "description": "The end came within threshold (once per arrival)."
19169
+ "description": "The end came within threshold (once per arrival): the bottom, or the right when horizontal (the left right to left)."
19098
19170
  }
19099
19171
  ],
19100
19172
  "slots": [
@@ -19168,9 +19240,9 @@
19168
19240
  {
19169
19241
  "name": "label-position",
19170
19242
  "type": {
19171
- "text": "\"left\" | \"center\" | \"right\""
19243
+ "text": "\"start\" | \"center\" | \"end\" | \"left\" | \"right\""
19172
19244
  },
19173
- "description": "Where the label sits.",
19245
+ "description": "Where the label sits: start/end follow the writing direction; left/right are sides of the screen.",
19174
19246
  "fieldName": "labelPosition",
19175
19247
  "default": "center"
19176
19248
  },
@@ -19219,9 +19291,9 @@
19219
19291
  "kind": "field",
19220
19292
  "name": "labelPosition",
19221
19293
  "type": {
19222
- "text": "\"left\" | \"center\" | \"right\""
19294
+ "text": "\"start\" | \"center\" | \"end\" | \"left\" | \"right\""
19223
19295
  },
19224
- "description": "Where the label sits.",
19296
+ "description": "Where the label sits: start/end follow the writing direction; left/right are sides of the screen.",
19225
19297
  "attribute": "label-position",
19226
19298
  "reflects": true,
19227
19299
  "default": "center"