@redvars/peacock 3.6.2 → 3.6.3

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 (75) hide show
  1. package/dist/assets/components.css.map +1 -1
  2. package/dist/assets/styles.css.map +1 -1
  3. package/dist/{button-colors-AvGh22Zn.js → button-colors-Cg6oxiz-.js} +126 -116
  4. package/dist/{button-colors-AvGh22Zn.js.map → button-colors-Cg6oxiz-.js.map} +1 -1
  5. package/dist/button-group.js +2 -2
  6. package/dist/button.js +17 -14
  7. package/dist/button.js.map +1 -1
  8. package/dist/canvas.js +126 -107
  9. package/dist/canvas.js.map +1 -1
  10. package/dist/custom-elements-jsdocs.json +665 -162
  11. package/dist/custom-elements.json +859 -326
  12. package/dist/{flow-designer-node-BWrPuxAR.js → flow-designer-node-9Bqyn6qx.js} +2 -1
  13. package/dist/flow-designer-node-9Bqyn6qx.js.map +1 -0
  14. package/dist/flow-designer-node.js +1 -1
  15. package/dist/flow-designer.js +3 -3
  16. package/dist/{icon-button-ohxHhy4t.js → icon-button-AdJBEoNy.js} +34 -30
  17. package/dist/icon-button-AdJBEoNy.js.map +1 -0
  18. package/dist/index.js +4 -4
  19. package/dist/{navigation-rail-CD7IrqbN.js → navigation-rail-DAUuJ_Yp.js} +735 -370
  20. package/dist/navigation-rail-DAUuJ_Yp.js.map +1 -0
  21. package/dist/peacock-loader.js +6 -3
  22. package/dist/peacock-loader.js.map +1 -1
  23. package/dist/popover-content.js +1 -1
  24. package/dist/popover-content.js.map +1 -1
  25. package/dist/search.js +11 -14
  26. package/dist/search.js.map +1 -1
  27. package/dist/src/canvas/canvas.d.ts +3 -3
  28. package/dist/src/field/field.d.ts +1 -0
  29. package/dist/src/flow-designer/flow-designer-node.d.ts +1 -0
  30. package/dist/src/image/image.d.ts +2 -2
  31. package/dist/src/index.d.ts +1 -0
  32. package/dist/src/input/input.d.ts +1 -3
  33. package/dist/src/item/index.d.ts +1 -0
  34. package/dist/src/item/item.d.ts +48 -0
  35. package/dist/src/menu/menu-item/menu-item.d.ts +8 -9
  36. package/dist/src/menu/sub-menu/sub-menu.d.ts +1 -0
  37. package/dist/src/navigation-rail/navigation-rail.d.ts +2 -6
  38. package/dist/src/popover/popover-content.d.ts +1 -1
  39. package/dist/src/search/search.d.ts +2 -6
  40. package/dist/test/item.test.d.ts +1 -0
  41. package/dist/tsconfig.tsbuildinfo +1 -1
  42. package/package.json +1 -1
  43. package/scss/mixin.scss +23 -0
  44. package/src/button/button/button-sizes.scss +11 -11
  45. package/src/button/button/button.scss +96 -122
  46. package/src/button/button/button.ts +37 -34
  47. package/src/button/icon-button/icon-button-sizes.scss +8 -8
  48. package/src/button/icon-button/icon-button.ts +23 -20
  49. package/src/canvas/canvas.scss +18 -6
  50. package/src/canvas/canvas.ts +125 -103
  51. package/src/chip/chip/chip.scss +1 -1
  52. package/src/empty-state/empty-state.scss +1 -0
  53. package/src/field/field.ts +6 -0
  54. package/src/flow-designer/flow-designer-node.ts +1 -0
  55. package/src/image/image.scss +21 -16
  56. package/src/image/image.ts +13 -14
  57. package/src/index.ts +1 -0
  58. package/src/input/input.ts +16 -25
  59. package/src/item/index.ts +1 -0
  60. package/src/item/item.scss +184 -0
  61. package/src/item/item.ts +340 -0
  62. package/src/menu/menu/menu.ts +5 -9
  63. package/src/menu/menu-item/menu-item.scss +30 -108
  64. package/src/menu/menu-item/menu-item.ts +89 -129
  65. package/src/menu/sub-menu/sub-menu.ts +6 -2
  66. package/src/navigation-rail/navigation-rail.ts +2 -6
  67. package/src/peacock-loader.ts +4 -0
  68. package/src/popover/popover-content.ts +1 -1
  69. package/src/search/search.ts +11 -16
  70. package/src/select/option.ts +1 -1
  71. package/src/select/select.scss +1 -10
  72. package/src/select/select.ts +2 -0
  73. package/dist/flow-designer-node-BWrPuxAR.js.map +0 -1
  74. package/dist/icon-button-ohxHhy4t.js.map +0 -1
  75. package/dist/navigation-rail-CD7IrqbN.js.map +0 -1
@@ -1291,7 +1291,7 @@
1291
1291
  {
1292
1292
  "name": "variant",
1293
1293
  "type": {
1294
- "text": "| 'elevated'\n | 'filled'\n | 'tonal'\n | 'outlined'\n | 'text'\n | 'neo'"
1294
+ "text": "| 'elevated'\n | 'filled'\n | 'tonal'\n | 'outlined'\n | 'text'\n | 'neo'"
1295
1295
  },
1296
1296
  "default": "'filled'",
1297
1297
  "description": "The visual style of the button.\n\n Possible variant values:\n`\"filled\"` is a filled button.\n`\"outlined\"` is an outlined button.\n`\"text\"` is a transparent button.\n`\"tonal\"` is a light color button.\n`\"elevated\"` is elevated button",
@@ -1300,7 +1300,7 @@
1300
1300
  {
1301
1301
  "name": "color",
1302
1302
  "type": {
1303
- "text": "| 'primary'\n | 'success'\n | 'danger'\n | 'warning'\n | 'surface'\n | 'on-surface'"
1303
+ "text": "| 'primary'\n | 'success'\n | 'danger'\n | 'warning'\n | 'surface'\n | 'on-surface'"
1304
1304
  },
1305
1305
  "default": "'primary'",
1306
1306
  "description": "Defines the primary color of the button. This can be set to predefined color names to apply specific color themes.",
@@ -2567,23 +2567,6 @@
2567
2567
  "description": "Optional viewbox override string (e.g. \"0 0 100 100\").",
2568
2568
  "attribute": "viewbox"
2569
2569
  },
2570
- {
2571
- "kind": "field",
2572
- "name": "unitSize",
2573
- "type": {
2574
- "text": "number"
2575
- },
2576
- "privacy": "private",
2577
- "default": "1"
2578
- },
2579
- {
2580
- "kind": "field",
2581
- "name": "gap",
2582
- "type": {
2583
- "text": "number"
2584
- },
2585
- "privacy": "private"
2586
- },
2587
2570
  {
2588
2571
  "kind": "method",
2589
2572
  "name": "getNextPoint",
@@ -2617,25 +2600,26 @@
2617
2600
  },
2618
2601
  {
2619
2602
  "kind": "method",
2620
- "name": "updateComputationArea",
2603
+ "name": "updateExtents",
2621
2604
  "privacy": "private",
2622
2605
  "static": true,
2623
- "return": {
2624
- "type": {
2625
- "text": "CanvasBounds"
2626
- }
2627
- },
2628
2606
  "parameters": [
2629
2607
  {
2630
- "name": "point",
2608
+ "name": "extents",
2631
2609
  "type": {
2632
- "text": "CanvasPoint"
2610
+ "text": "CanvasExtents"
2633
2611
  }
2634
2612
  },
2635
2613
  {
2636
- "name": "area",
2614
+ "name": "x",
2637
2615
  "type": {
2638
- "text": "CanvasBounds"
2616
+ "text": "number"
2617
+ }
2618
+ },
2619
+ {
2620
+ "name": "y",
2621
+ "type": {
2622
+ "text": "number"
2639
2623
  }
2640
2624
  }
2641
2625
  ]
@@ -2667,6 +2651,44 @@
2667
2651
  }
2668
2652
  }
2669
2653
  ]
2654
+ },
2655
+ {
2656
+ "kind": "method",
2657
+ "name": "renderBackgroundSvg",
2658
+ "privacy": "private",
2659
+ "parameters": [
2660
+ {
2661
+ "name": "computedViewBox",
2662
+ "type": {
2663
+ "text": "CanvasViewBox"
2664
+ }
2665
+ },
2666
+ {
2667
+ "name": "svgViewBox",
2668
+ "type": {
2669
+ "text": "string"
2670
+ }
2671
+ }
2672
+ ]
2673
+ },
2674
+ {
2675
+ "kind": "method",
2676
+ "name": "renderShapesSvg",
2677
+ "privacy": "private",
2678
+ "parameters": [
2679
+ {
2680
+ "name": "shapes",
2681
+ "type": {
2682
+ "text": "unknown[]"
2683
+ }
2684
+ },
2685
+ {
2686
+ "name": "svgViewBox",
2687
+ "type": {
2688
+ "text": "string"
2689
+ }
2690
+ }
2691
+ ]
2670
2692
  }
2671
2693
  ],
2672
2694
  "attributes": [
@@ -7659,6 +7681,15 @@
7659
7681
  "description": "",
7660
7682
  "name": "Field",
7661
7683
  "members": [
7684
+ {
7685
+ "kind": "field",
7686
+ "name": "shadowRootOptions",
7687
+ "type": {
7688
+ "text": "ShadowRootInit"
7689
+ },
7690
+ "static": true,
7691
+ "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
7692
+ },
7662
7693
  {
7663
7694
  "kind": "field",
7664
7695
  "name": "label",
@@ -8515,6 +8546,7 @@
8515
8546
  {
8516
8547
  "tag": "wc-flow-designer-node",
8517
8548
  "rawTag": "flow-designer-node",
8549
+ "parentRawTag": "flow-designer",
8518
8550
  "wip": "true",
8519
8551
  "customElement": {
8520
8552
  "kind": "class",
@@ -10350,12 +10382,11 @@
10350
10382
  },
10351
10383
  {
10352
10384
  "kind": "field",
10353
- "name": "_previewOpen",
10385
+ "name": "_dialog",
10354
10386
  "type": {
10355
- "text": "boolean"
10387
+ "text": "HTMLDialogElement | undefined"
10356
10388
  },
10357
- "privacy": "private",
10358
- "default": "false"
10389
+ "privacy": "private"
10359
10390
  },
10360
10391
  {
10361
10392
  "kind": "field",
@@ -10396,13 +10427,13 @@
10396
10427
  },
10397
10428
  {
10398
10429
  "kind": "method",
10399
- "name": "_closePreview",
10430
+ "name": "_handleDialogClick",
10400
10431
  "privacy": "private",
10401
10432
  "parameters": [
10402
10433
  {
10403
10434
  "name": "e",
10404
10435
  "type": {
10405
- "text": "Event"
10436
+ "text": "MouseEvent"
10406
10437
  }
10407
10438
  }
10408
10439
  ]
@@ -10649,12 +10680,8 @@
10649
10680
  "privacy": "private"
10650
10681
  },
10651
10682
  {
10652
- "kind": "field",
10653
- "name": "tabindex",
10654
- "type": {
10655
- "text": "string | undefined"
10656
- },
10657
- "privacy": "private"
10683
+ "kind": "method",
10684
+ "name": "focus"
10658
10685
  },
10659
10686
  {
10660
10687
  "kind": "method",
@@ -10675,15 +10702,7 @@
10675
10702
  ]
10676
10703
  },
10677
10704
  {
10678
- "kind": "method",
10679
- "name": "focus"
10680
- },
10681
- {
10682
- "kind": "method",
10683
- "name": "blur"
10684
- },
10685
- {
10686
- "kind": "method",
10705
+ "kind": "field",
10687
10706
  "name": "__handleFocusChange",
10688
10707
  "privacy": "private"
10689
10708
  },
@@ -10942,129 +10961,601 @@
10942
10961
  }
10943
10962
  },
10944
10963
  {
10945
- "label": "Linear Progress",
10946
- "tag": "wc-linear-progress",
10947
- "rawTag": "linear-progress",
10948
- "summary": "A linear progress indicator is a visual representation of progress toward a specific goal.",
10964
+ "label": "Item",
10965
+ "tag": "wc-item",
10966
+ "rawTag": "item",
10967
+ "summary": "A Material 3 item with start, text and end slots.",
10968
+ "example": "```html\n<wc-item selected>\n <wc-icon slot=\"start\" name=\"home\"></wc-icon>\n <div slot=\"overline\">Overline</div>\n <div slot=\"headline\">Headline</div>\n <div slot=\"supporting-text\">Supporting text</div>\n <div slot=\"trailing-supporting-text\">Trailing</div>\n <wc-icon slot=\"end\" name=\"chevron_right\"></wc-icon>\n</wc-item>\n```",
10949
10969
  "tags": "display",
10950
- "example": "```html\n<wc-linear-progress value=\"30\" style=\"width:10rem\"></wc-linear-progress>\n```",
10951
10970
  "customElement": {
10952
10971
  "kind": "class",
10953
10972
  "description": "",
10954
- "name": "LinearProgress",
10973
+ "name": "Item",
10955
10974
  "members": [
10956
10975
  {
10957
10976
  "kind": "field",
10958
- "name": "value",
10977
+ "name": "__contentObserver",
10978
+ "privacy": "private",
10979
+ "readonly": true,
10980
+ "default": "new MutationObserver(() => { this.requestUpdate(); })"
10981
+ },
10982
+ {
10983
+ "kind": "field",
10984
+ "name": "__capturedTabIndex",
10959
10985
  "type": {
10960
- "text": "number | undefined"
10986
+ "text": "string | undefined"
10961
10987
  },
10962
- "description": "The current value.",
10963
- "attribute": "value",
10964
- "inheritedFrom": {
10965
- "name": "BaseProgress",
10966
- "module": "src/progress/base-progress.ts"
10967
- }
10988
+ "privacy": "private"
10968
10989
  },
10969
10990
  {
10970
10991
  "kind": "field",
10971
- "name": "indeterminate",
10992
+ "name": "__isCapturingTabIndex",
10972
10993
  "type": {
10973
10994
  "text": "boolean"
10974
10995
  },
10975
- "default": "false",
10976
- "attribute": "indeterminate",
10977
- "inheritedFrom": {
10978
- "name": "BaseProgress",
10979
- "module": "src/progress/base-progress.ts"
10980
- }
10996
+ "privacy": "private",
10997
+ "default": "false"
10981
10998
  },
10982
10999
  {
10983
11000
  "kind": "field",
10984
- "name": "label",
11001
+ "name": "selected",
10985
11002
  "type": {
10986
- "text": "string | undefined"
11003
+ "text": "boolean"
10987
11004
  },
10988
- "description": "A label describing the progress bar.",
10989
- "attribute": "label",
10990
- "inheritedFrom": {
10991
- "name": "BaseProgress",
10992
- "module": "src/progress/base-progress.ts"
10993
- }
11005
+ "default": "false",
11006
+ "attribute": "selected",
11007
+ "reflects": true
10994
11008
  },
10995
11009
  {
10996
11010
  "kind": "field",
10997
- "name": "helperText",
11011
+ "name": "itemElement",
10998
11012
  "type": {
10999
- "text": "string | undefined"
11013
+ "text": "HTMLElement | null"
11000
11014
  },
11001
- "attribute": "helper-text",
11002
- "inheritedFrom": {
11003
- "name": "BaseProgress",
11004
- "module": "src/progress/base-progress.ts"
11005
- }
11015
+ "readonly": true
11006
11016
  },
11007
11017
  {
11008
11018
  "kind": "field",
11009
- "name": "inline",
11019
+ "name": "isPressed",
11010
11020
  "type": {
11011
11021
  "text": "boolean"
11012
11022
  },
11013
- "default": "false",
11014
- "attribute": "inline",
11015
- "inheritedFrom": {
11016
- "name": "BaseProgress",
11017
- "module": "src/progress/base-progress.ts"
11018
- }
11023
+ "default": "false"
11024
+ },
11025
+ {
11026
+ "kind": "field",
11027
+ "name": "__handleSlotChange",
11028
+ "privacy": "private"
11019
11029
  },
11020
11030
  {
11021
11031
  "kind": "method",
11022
- "name": "__getPercentageValue",
11023
- "return": {
11024
- "type": {
11025
- "text": "number"
11032
+ "name": "__hasNamedSlot",
11033
+ "privacy": "private",
11034
+ "parameters": [
11035
+ {
11036
+ "name": "names",
11037
+ "type": {
11038
+ "text": "string[]"
11039
+ }
11026
11040
  }
11027
- },
11028
- "inheritedFrom": {
11029
- "name": "BaseProgress",
11030
- "module": "src/progress/base-progress.ts"
11031
- }
11032
- }
11033
- ],
11034
- "superclass": {
11035
- "name": "BaseProgress",
11036
- "module": "/src/progress/base-progress.js"
11037
- },
11038
- "tagName": "wc-linear-progress",
11039
- "customElement": true,
11040
- "summary": "A linear progress indicator is a visual representation of progress toward a specific goal.",
11041
- "rawTag": {
11042
- "name": "linear-progress",
11043
- "description": ""
11044
- },
11045
- "attributes": [
11041
+ ]
11042
+ },
11046
11043
  {
11047
- "name": "value",
11044
+ "kind": "method",
11045
+ "name": "__hasDefaultSlot",
11046
+ "privacy": "private"
11047
+ },
11048
+ {
11049
+ "kind": "method",
11050
+ "name": "focus"
11051
+ },
11052
+ {
11053
+ "kind": "method",
11054
+ "name": "blur"
11055
+ },
11056
+ {
11057
+ "kind": "field",
11058
+ "name": "__dispatchClick"
11059
+ },
11060
+ {
11061
+ "kind": "field",
11062
+ "name": "__handleKeyDown"
11063
+ },
11064
+ {
11065
+ "kind": "field",
11066
+ "name": "__handlePress"
11067
+ },
11068
+ {
11069
+ "kind": "method",
11070
+ "name": "__getForwardedAttribute",
11071
+ "privacy": "private",
11072
+ "parameters": [
11073
+ {
11074
+ "name": "name",
11075
+ "type": {
11076
+ "text": "string"
11077
+ }
11078
+ }
11079
+ ]
11080
+ },
11081
+ {
11082
+ "kind": "method",
11083
+ "name": "__captureHostTabIndex",
11084
+ "privacy": "private"
11085
+ },
11086
+ {
11087
+ "kind": "method",
11088
+ "name": "renderContent"
11089
+ },
11090
+ {
11091
+ "kind": "field",
11092
+ "name": "htmlType",
11048
11093
  "type": {
11049
- "text": "number | undefined"
11094
+ "text": "'button' | 'submit' | 'reset'"
11050
11095
  },
11051
- "description": "The current value.",
11052
- "fieldName": "value",
11096
+ "default": "'button'",
11097
+ "description": "The type of the underlying `<button>` element. Maps to the native `type` attribute.\nPossible values are `\"button\"`, `\"submit\"`, `\"reset\"`. Defaults to `\"button\"`.",
11098
+ "attribute": "htmlType",
11053
11099
  "inheritedFrom": {
11054
- "name": "BaseProgress",
11055
- "module": "src/progress/base-progress.ts"
11100
+ "name": "BaseButtonMixin",
11101
+ "module": "src/__mixins/BaseButtonMixin.ts"
11056
11102
  }
11057
11103
  },
11058
11104
  {
11059
- "name": "indeterminate",
11105
+ "kind": "field",
11106
+ "name": "disabled",
11060
11107
  "type": {
11061
11108
  "text": "boolean"
11062
11109
  },
11063
11110
  "default": "false",
11064
- "fieldName": "indeterminate",
11111
+ "description": "When `true`, the button is disabled and cannot be interacted with. Reflects to the `disabled` attribute. Defaults to `false`.",
11112
+ "attribute": "disabled",
11113
+ "reflects": true,
11065
11114
  "inheritedFrom": {
11066
- "name": "BaseProgress",
11067
- "module": "src/progress/base-progress.ts"
11115
+ "name": "BaseButtonMixin",
11116
+ "module": "src/__mixins/BaseButtonMixin.ts"
11117
+ }
11118
+ },
11119
+ {
11120
+ "kind": "field",
11121
+ "name": "softDisabled",
11122
+ "type": {
11123
+ "text": "boolean"
11124
+ },
11125
+ "default": "false",
11126
+ "description": "When `true`, the button is visually styled as disabled and cannot be interacted with, but remains focusable.\nUse this in combination with `disabledReason` to communicate why the button is unavailable.\nReflects to the `soft-disabled` attribute. Defaults to `false`.",
11127
+ "attribute": "soft-disabled",
11128
+ "reflects": true,
11129
+ "inheritedFrom": {
11130
+ "name": "BaseButtonMixin",
11131
+ "module": "src/__mixins/BaseButtonMixin.ts"
11132
+ }
11133
+ },
11134
+ {
11135
+ "kind": "field",
11136
+ "name": "disabledReason",
11137
+ "type": {
11138
+ "text": "string"
11139
+ },
11140
+ "default": "''",
11141
+ "description": "A human-readable explanation of why the button is disabled or soft-disabled.\nRendered as a visually hidden tooltip and linked via `aria-describedby` for accessibility.\nMaps to the `disabled-reason` attribute.",
11142
+ "attribute": "disabled-reason",
11143
+ "inheritedFrom": {
11144
+ "name": "BaseButtonMixin",
11145
+ "module": "src/__mixins/BaseButtonMixin.ts"
11146
+ }
11147
+ },
11148
+ {
11149
+ "kind": "field",
11150
+ "name": "form",
11151
+ "type": {
11152
+ "text": "string"
11153
+ },
11154
+ "default": "''",
11155
+ "description": "The `id` of the `<form>` element to associate the button with.\nIf omitted, the button is associated with its nearest ancestor form.\nMaps to the native `form` attribute.",
11156
+ "attribute": "form",
11157
+ "inheritedFrom": {
11158
+ "name": "BaseButtonMixin",
11159
+ "module": "src/__mixins/BaseButtonMixin.ts"
11160
+ }
11161
+ },
11162
+ {
11163
+ "kind": "field",
11164
+ "name": "name",
11165
+ "type": {
11166
+ "text": "string"
11167
+ },
11168
+ "default": "''",
11169
+ "description": "The name of the button, submitted as part of a name/value pair when the associated form is submitted.\nMaps to the native `name` attribute.",
11170
+ "attribute": "name",
11171
+ "inheritedFrom": {
11172
+ "name": "BaseButtonMixin",
11173
+ "module": "src/__mixins/BaseButtonMixin.ts"
11174
+ }
11175
+ },
11176
+ {
11177
+ "kind": "field",
11178
+ "name": "value",
11179
+ "type": {
11180
+ "text": "string"
11181
+ },
11182
+ "default": "''",
11183
+ "description": "The value of the button, submitted as part of a name/value pair when the associated form is submitted.\nMaps to the native `value` attribute.",
11184
+ "attribute": "value",
11185
+ "inheritedFrom": {
11186
+ "name": "BaseButtonMixin",
11187
+ "module": "src/__mixins/BaseButtonMixin.ts"
11188
+ }
11189
+ },
11190
+ {
11191
+ "kind": "field",
11192
+ "name": "href",
11193
+ "type": {
11194
+ "text": "string | undefined"
11195
+ },
11196
+ "description": "The URL that the hyperlink points to. When set, the component renders as an `<a>` element.\nMaps to the native `href` attribute.",
11197
+ "attribute": "href",
11198
+ "reflects": true,
11199
+ "inheritedFrom": {
11200
+ "name": "BaseHyperlinkMixin",
11201
+ "module": "src/__mixins/BaseHyperlinkMixin.ts"
11202
+ }
11203
+ },
11204
+ {
11205
+ "kind": "field",
11206
+ "name": "target",
11207
+ "type": {
11208
+ "text": "'_self' | '_parent' | '_blank' | '_top' | string"
11209
+ },
11210
+ "default": "'_self'",
11211
+ "description": "Where to display the linked URL. Maps to the native `target` attribute.\nPossible values are `\"_self\"`, `\"_blank\"`, `\"_parent\"`, `\"_top\"`, or a custom frame name.\nWhen using `\"_blank\"`, consider setting `rel=\"noopener noreferrer\"` for security. Defaults to `\"_self\"`.",
11212
+ "attribute": "target",
11213
+ "inheritedFrom": {
11214
+ "name": "BaseHyperlinkMixin",
11215
+ "module": "src/__mixins/BaseHyperlinkMixin.ts"
11216
+ }
11217
+ },
11218
+ {
11219
+ "kind": "field",
11220
+ "name": "rel",
11221
+ "type": {
11222
+ "text": "string | undefined"
11223
+ },
11224
+ "description": "The relationship between the current document and the linked URL.\nMaps to the native `rel` attribute on the rendered `<a>` element.\nWhen `target=\"_blank\"`, use `\"noopener noreferrer\"` to prevent tab-napping attacks.",
11225
+ "attribute": "rel",
11226
+ "inheritedFrom": {
11227
+ "name": "BaseHyperlinkMixin",
11228
+ "module": "src/__mixins/BaseHyperlinkMixin.ts"
11229
+ }
11230
+ },
11231
+ {
11232
+ "kind": "field",
11233
+ "name": "download",
11234
+ "type": {
11235
+ "text": "string | undefined"
11236
+ },
11237
+ "description": "Causes the browser to download the linked URL instead of navigating to it.\nIf a string value is provided, it is used as the suggested filename.\nOmit or leave undefined to preserve normal navigation behaviour.\nMaps to the native `download` attribute. Only applies when `href` is set.",
11238
+ "attribute": "download",
11239
+ "inheritedFrom": {
11240
+ "name": "BaseHyperlinkMixin",
11241
+ "module": "src/__mixins/BaseHyperlinkMixin.ts"
11242
+ }
11243
+ },
11244
+ {
11245
+ "kind": "method",
11246
+ "name": "__isLink",
11247
+ "return": {
11248
+ "type": {
11249
+ "text": "boolean"
11250
+ }
11251
+ },
11252
+ "description": "Returns `true` when `href` is set, indicating the component should render as a link.",
11253
+ "inheritedFrom": {
11254
+ "name": "BaseHyperlinkMixin",
11255
+ "module": "src/__mixins/BaseHyperlinkMixin.ts"
11256
+ }
11257
+ }
11258
+ ],
11259
+ "attributes": [
11260
+ {
11261
+ "name": "tabindex"
11262
+ },
11263
+ {
11264
+ "name": "selected",
11265
+ "type": {
11266
+ "text": "boolean"
11267
+ },
11268
+ "default": "false",
11269
+ "fieldName": "selected"
11270
+ },
11271
+ {
11272
+ "name": "htmlType",
11273
+ "type": {
11274
+ "text": "'button' | 'submit' | 'reset'"
11275
+ },
11276
+ "default": "'button'",
11277
+ "description": "The type of the underlying `<button>` element. Maps to the native `type` attribute.\nPossible values are `\"button\"`, `\"submit\"`, `\"reset\"`. Defaults to `\"button\"`.",
11278
+ "fieldName": "htmlType",
11279
+ "inheritedFrom": {
11280
+ "name": "BaseButtonMixin",
11281
+ "module": "src/__mixins/BaseButtonMixin.ts"
11282
+ }
11283
+ },
11284
+ {
11285
+ "name": "disabled",
11286
+ "type": {
11287
+ "text": "boolean"
11288
+ },
11289
+ "default": "false",
11290
+ "description": "When `true`, the button is disabled and cannot be interacted with. Reflects to the `disabled` attribute. Defaults to `false`.",
11291
+ "fieldName": "disabled",
11292
+ "inheritedFrom": {
11293
+ "name": "BaseButtonMixin",
11294
+ "module": "src/__mixins/BaseButtonMixin.ts"
11295
+ }
11296
+ },
11297
+ {
11298
+ "name": "soft-disabled",
11299
+ "type": {
11300
+ "text": "boolean"
11301
+ },
11302
+ "default": "false",
11303
+ "description": "When `true`, the button is visually styled as disabled and cannot be interacted with, but remains focusable.\nUse this in combination with `disabledReason` to communicate why the button is unavailable.\nReflects to the `soft-disabled` attribute. Defaults to `false`.",
11304
+ "fieldName": "softDisabled",
11305
+ "inheritedFrom": {
11306
+ "name": "BaseButtonMixin",
11307
+ "module": "src/__mixins/BaseButtonMixin.ts"
11308
+ }
11309
+ },
11310
+ {
11311
+ "name": "disabled-reason",
11312
+ "type": {
11313
+ "text": "string"
11314
+ },
11315
+ "default": "''",
11316
+ "description": "A human-readable explanation of why the button is disabled or soft-disabled.\nRendered as a visually hidden tooltip and linked via `aria-describedby` for accessibility.\nMaps to the `disabled-reason` attribute.",
11317
+ "fieldName": "disabledReason",
11318
+ "inheritedFrom": {
11319
+ "name": "BaseButtonMixin",
11320
+ "module": "src/__mixins/BaseButtonMixin.ts"
11321
+ }
11322
+ },
11323
+ {
11324
+ "name": "form",
11325
+ "type": {
11326
+ "text": "string"
11327
+ },
11328
+ "default": "''",
11329
+ "description": "The `id` of the `<form>` element to associate the button with.\nIf omitted, the button is associated with its nearest ancestor form.\nMaps to the native `form` attribute.",
11330
+ "fieldName": "form",
11331
+ "inheritedFrom": {
11332
+ "name": "BaseButtonMixin",
11333
+ "module": "src/__mixins/BaseButtonMixin.ts"
11334
+ }
11335
+ },
11336
+ {
11337
+ "name": "name",
11338
+ "type": {
11339
+ "text": "string"
11340
+ },
11341
+ "default": "''",
11342
+ "description": "The name of the button, submitted as part of a name/value pair when the associated form is submitted.\nMaps to the native `name` attribute.",
11343
+ "fieldName": "name",
11344
+ "inheritedFrom": {
11345
+ "name": "BaseButtonMixin",
11346
+ "module": "src/__mixins/BaseButtonMixin.ts"
11347
+ }
11348
+ },
11349
+ {
11350
+ "name": "value",
11351
+ "type": {
11352
+ "text": "string"
11353
+ },
11354
+ "default": "''",
11355
+ "description": "The value of the button, submitted as part of a name/value pair when the associated form is submitted.\nMaps to the native `value` attribute.",
11356
+ "fieldName": "value",
11357
+ "inheritedFrom": {
11358
+ "name": "BaseButtonMixin",
11359
+ "module": "src/__mixins/BaseButtonMixin.ts"
11360
+ }
11361
+ },
11362
+ {
11363
+ "name": "href",
11364
+ "type": {
11365
+ "text": "string | undefined"
11366
+ },
11367
+ "description": "The URL that the hyperlink points to. When set, the component renders as an `<a>` element.\nMaps to the native `href` attribute.",
11368
+ "fieldName": "href",
11369
+ "inheritedFrom": {
11370
+ "name": "BaseHyperlinkMixin",
11371
+ "module": "src/__mixins/BaseHyperlinkMixin.ts"
11372
+ }
11373
+ },
11374
+ {
11375
+ "name": "target",
11376
+ "type": {
11377
+ "text": "'_self' | '_parent' | '_blank' | '_top' | string"
11378
+ },
11379
+ "default": "'_self'",
11380
+ "description": "Where to display the linked URL. Maps to the native `target` attribute.\nPossible values are `\"_self\"`, `\"_blank\"`, `\"_parent\"`, `\"_top\"`, or a custom frame name.\nWhen using `\"_blank\"`, consider setting `rel=\"noopener noreferrer\"` for security. Defaults to `\"_self\"`.",
11381
+ "fieldName": "target",
11382
+ "inheritedFrom": {
11383
+ "name": "BaseHyperlinkMixin",
11384
+ "module": "src/__mixins/BaseHyperlinkMixin.ts"
11385
+ }
11386
+ },
11387
+ {
11388
+ "name": "rel",
11389
+ "type": {
11390
+ "text": "string | undefined"
11391
+ },
11392
+ "description": "The relationship between the current document and the linked URL.\nMaps to the native `rel` attribute on the rendered `<a>` element.\nWhen `target=\"_blank\"`, use `\"noopener noreferrer\"` to prevent tab-napping attacks.",
11393
+ "fieldName": "rel",
11394
+ "inheritedFrom": {
11395
+ "name": "BaseHyperlinkMixin",
11396
+ "module": "src/__mixins/BaseHyperlinkMixin.ts"
11397
+ }
11398
+ },
11399
+ {
11400
+ "name": "download",
11401
+ "type": {
11402
+ "text": "string | undefined"
11403
+ },
11404
+ "description": "Causes the browser to download the linked URL instead of navigating to it.\nIf a string value is provided, it is used as the suggested filename.\nOmit or leave undefined to preserve normal navigation behaviour.\nMaps to the native `download` attribute. Only applies when `href` is set.",
11405
+ "fieldName": "download",
11406
+ "inheritedFrom": {
11407
+ "name": "BaseHyperlinkMixin",
11408
+ "module": "src/__mixins/BaseHyperlinkMixin.ts"
11409
+ }
11410
+ }
11411
+ ],
11412
+ "mixins": [
11413
+ {
11414
+ "name": "BaseButtonMixin",
11415
+ "package": "@/__mixins/BaseButtonMixin.js"
11416
+ },
11417
+ {
11418
+ "name": "BaseHyperlinkMixin",
11419
+ "package": "@/__mixins/BaseHyperlinkMixin.js"
11420
+ }
11421
+ ],
11422
+ "superclass": {
11423
+ "name": "LitElement",
11424
+ "package": "lit"
11425
+ },
11426
+ "tagName": "wc-item",
11427
+ "customElement": true,
11428
+ "summary": "A Material 3 item with start, text and end slots.",
11429
+ "rawTag": {
11430
+ "name": "item",
11431
+ "description": ""
11432
+ }
11433
+ }
11434
+ },
11435
+ {
11436
+ "label": "Linear Progress",
11437
+ "tag": "wc-linear-progress",
11438
+ "rawTag": "linear-progress",
11439
+ "summary": "A linear progress indicator is a visual representation of progress toward a specific goal.",
11440
+ "tags": "display",
11441
+ "example": "```html\n<wc-linear-progress value=\"30\" style=\"width:10rem\"></wc-linear-progress>\n```",
11442
+ "customElement": {
11443
+ "kind": "class",
11444
+ "description": "",
11445
+ "name": "LinearProgress",
11446
+ "members": [
11447
+ {
11448
+ "kind": "field",
11449
+ "name": "value",
11450
+ "type": {
11451
+ "text": "number | undefined"
11452
+ },
11453
+ "description": "The current value.",
11454
+ "attribute": "value",
11455
+ "inheritedFrom": {
11456
+ "name": "BaseProgress",
11457
+ "module": "src/progress/base-progress.ts"
11458
+ }
11459
+ },
11460
+ {
11461
+ "kind": "field",
11462
+ "name": "indeterminate",
11463
+ "type": {
11464
+ "text": "boolean"
11465
+ },
11466
+ "default": "false",
11467
+ "attribute": "indeterminate",
11468
+ "inheritedFrom": {
11469
+ "name": "BaseProgress",
11470
+ "module": "src/progress/base-progress.ts"
11471
+ }
11472
+ },
11473
+ {
11474
+ "kind": "field",
11475
+ "name": "label",
11476
+ "type": {
11477
+ "text": "string | undefined"
11478
+ },
11479
+ "description": "A label describing the progress bar.",
11480
+ "attribute": "label",
11481
+ "inheritedFrom": {
11482
+ "name": "BaseProgress",
11483
+ "module": "src/progress/base-progress.ts"
11484
+ }
11485
+ },
11486
+ {
11487
+ "kind": "field",
11488
+ "name": "helperText",
11489
+ "type": {
11490
+ "text": "string | undefined"
11491
+ },
11492
+ "attribute": "helper-text",
11493
+ "inheritedFrom": {
11494
+ "name": "BaseProgress",
11495
+ "module": "src/progress/base-progress.ts"
11496
+ }
11497
+ },
11498
+ {
11499
+ "kind": "field",
11500
+ "name": "inline",
11501
+ "type": {
11502
+ "text": "boolean"
11503
+ },
11504
+ "default": "false",
11505
+ "attribute": "inline",
11506
+ "inheritedFrom": {
11507
+ "name": "BaseProgress",
11508
+ "module": "src/progress/base-progress.ts"
11509
+ }
11510
+ },
11511
+ {
11512
+ "kind": "method",
11513
+ "name": "__getPercentageValue",
11514
+ "return": {
11515
+ "type": {
11516
+ "text": "number"
11517
+ }
11518
+ },
11519
+ "inheritedFrom": {
11520
+ "name": "BaseProgress",
11521
+ "module": "src/progress/base-progress.ts"
11522
+ }
11523
+ }
11524
+ ],
11525
+ "superclass": {
11526
+ "name": "BaseProgress",
11527
+ "module": "/src/progress/base-progress.js"
11528
+ },
11529
+ "tagName": "wc-linear-progress",
11530
+ "customElement": true,
11531
+ "summary": "A linear progress indicator is a visual representation of progress toward a specific goal.",
11532
+ "rawTag": {
11533
+ "name": "linear-progress",
11534
+ "description": ""
11535
+ },
11536
+ "attributes": [
11537
+ {
11538
+ "name": "value",
11539
+ "type": {
11540
+ "text": "number | undefined"
11541
+ },
11542
+ "description": "The current value.",
11543
+ "fieldName": "value",
11544
+ "inheritedFrom": {
11545
+ "name": "BaseProgress",
11546
+ "module": "src/progress/base-progress.ts"
11547
+ }
11548
+ },
11549
+ {
11550
+ "name": "indeterminate",
11551
+ "type": {
11552
+ "text": "boolean"
11553
+ },
11554
+ "default": "false",
11555
+ "fieldName": "indeterminate",
11556
+ "inheritedFrom": {
11557
+ "name": "BaseProgress",
11558
+ "module": "src/progress/base-progress.ts"
11068
11559
  }
11069
11560
  },
11070
11561
  {
@@ -12222,18 +12713,29 @@
12222
12713
  "kind": "field",
12223
12714
  "name": "itemElement",
12224
12715
  "type": {
12225
- "text": "HTMLElement | null"
12716
+ "text": "Item | null"
12226
12717
  },
12227
12718
  "readonly": true
12228
12719
  },
12229
12720
  {
12230
12721
  "kind": "field",
12231
- "name": "isPressed",
12722
+ "name": "_contentObserver",
12723
+ "privacy": "private",
12724
+ "readonly": true,
12725
+ "default": "new MutationObserver(() => { this.requestUpdate(); })"
12726
+ },
12727
+ {
12728
+ "kind": "field",
12729
+ "name": "_rovingTabIndex",
12232
12730
  "type": {
12233
- "text": "boolean"
12731
+ "text": "number"
12234
12732
  },
12235
- "default": "false",
12236
- "description": "States"
12733
+ "privacy": "private",
12734
+ "default": "-1"
12735
+ },
12736
+ {
12737
+ "kind": "field",
12738
+ "name": "tabIndex"
12237
12739
  },
12238
12740
  {
12239
12741
  "kind": "method",
@@ -12244,23 +12746,22 @@
12244
12746
  "name": "blur"
12245
12747
  },
12246
12748
  {
12247
- "kind": "field",
12248
- "name": "__dispatchClickWithThrottle",
12249
- "type": {
12250
- "text": "(event: MouseEvent | KeyboardEvent) => void"
12251
- }
12252
- },
12253
- {
12254
- "kind": "field",
12255
- "name": "__dispatchClick"
12256
- },
12257
- {
12258
- "kind": "field",
12259
- "name": "__handleKeyDown"
12749
+ "kind": "method",
12750
+ "name": "_hasNamedSlot",
12751
+ "privacy": "private",
12752
+ "parameters": [
12753
+ {
12754
+ "name": "names",
12755
+ "type": {
12756
+ "text": "string[]"
12757
+ }
12758
+ }
12759
+ ]
12260
12760
  },
12261
12761
  {
12262
- "kind": "field",
12263
- "name": "__handlePress"
12762
+ "kind": "method",
12763
+ "name": "_hasDefaultSlot",
12764
+ "privacy": "private"
12264
12765
  },
12265
12766
  {
12266
12767
  "kind": "method",
@@ -12895,7 +13396,7 @@
12895
13396
  "overview": "<p>Navigation rail provides access to primary destinations in an app using icons—with or without labels—on a vertical rail.</p>\n<p>Use navigation rail on medium-sized screens (tablets) with 3–7 destinations.</p>",
12896
13397
  "slot": "footer - Content pinned to the bottom of the rail.",
12897
13398
  "cssprop": "--nav-rail-active-label-color - Color of active labels. Defaults to on-surface.",
12898
- "example": "```html\n<wc-navigation-rail>\n <wc-navigation-rail-item active>\n <wc-icon slot=\"icon\">home</wc-icon>\n Home\n </wc-navigation-rail-item>\n <wc-navigation-rail-item>\n <wc-icon slot=\"icon\">search</wc-icon>\n Search\n </wc-navigation-rail-item>\n <wc-navigation-rail-item>\n <wc-icon slot=\"icon\">settings</wc-icon>\n Settings\n </wc-navigation-rail-item>\n</wc-navigation-rail>\n```",
13399
+ "example": "```html\n<wc-navigation-rail>\n <wc-navigation-rail-item active>\n <wc-icon slot=\"icon\" name=\"home\"></wc-icon>\n Home\n </wc-navigation-rail-item>\n <wc-navigation-rail-item>\n <wc-icon slot=\"icon\" name=\"search\"></wc-icon>\n Search\n </wc-navigation-rail-item>\n</wc-navigation-rail>\n```",
12899
13400
  "tags": "navigation",
12900
13401
  "customElement": {
12901
13402
  "kind": "class",
@@ -14653,7 +15154,7 @@
14653
15154
  "tag": "wc-popover-content",
14654
15155
  "rawTag": "popover-content",
14655
15156
  "summary": "Content container for the wc-popover component.",
14656
- "childComponent": "true",
15157
+ "parentRawTag": "popover",
14657
15158
  "tags": "display",
14658
15159
  "cssprop": "--popover-content-min-width - Minimum width of the popover content. Defaults to `10rem`.",
14659
15160
  "example": "```html\n<wc-popover-content>\n <p>Popover body text</p>\n</wc-popover-content>\n```",
@@ -15160,13 +15661,7 @@
15160
15661
  },
15161
15662
  {
15162
15663
  "kind": "method",
15163
- "name": "focus",
15164
- "description": "Focuses the internal input element."
15165
- },
15166
- {
15167
- "kind": "method",
15168
- "name": "blur",
15169
- "description": "Blurs the internal input element."
15664
+ "name": "focus"
15170
15665
  },
15171
15666
  {
15172
15667
  "kind": "method",
@@ -15208,13 +15703,8 @@
15208
15703
  ]
15209
15704
  },
15210
15705
  {
15211
- "kind": "method",
15212
- "name": "__handleFocus",
15213
- "privacy": "private"
15214
- },
15215
- {
15216
- "kind": "method",
15217
- "name": "__handleBlur",
15706
+ "kind": "field",
15707
+ "name": "__handleFocusChange",
15218
15708
  "privacy": "private"
15219
15709
  },
15220
15710
  {
@@ -18132,6 +18622,19 @@
18132
18622
  },
18133
18623
  "privacy": "private"
18134
18624
  },
18625
+ {
18626
+ "kind": "method",
18627
+ "name": "_resolveAnchorElement",
18628
+ "privacy": "private",
18629
+ "parameters": [
18630
+ {
18631
+ "name": "item",
18632
+ "type": {
18633
+ "text": "MenuItem"
18634
+ }
18635
+ }
18636
+ ]
18637
+ },
18135
18638
  {
18136
18639
  "kind": "field",
18137
18640
  "name": "_onChildMenuOpened",