@material/web 2.5.1-nightly.d797a00.0 → 2.5.1-nightly.de5470f.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.
- package/custom-elements.json +225 -260
- package/labs/gb/components/button/button-element.d.ts +1 -9
- package/labs/gb/components/button/button-element.js +6 -65
- package/labs/gb/components/button/button-element.js.map +1 -1
- package/labs/gb/components/button/button.css +1 -1
- package/labs/gb/components/button/button.css.map +1 -1
- package/labs/gb/components/button/button.cssresult.js +1 -1
- package/labs/gb/components/button/button.cssresult.js.map +1 -1
- package/labs/gb/components/button/button.scss +10 -3
- package/labs/gb/components/card/card-element.d.ts +1 -9
- package/labs/gb/components/card/card-element.js +4 -59
- package/labs/gb/components/card/card-element.js.map +1 -1
- package/labs/gb/components/card/card.css +1 -1
- package/labs/gb/components/card/card.css.map +1 -1
- package/labs/gb/components/card/card.cssresult.js +1 -1
- package/labs/gb/components/card/card.cssresult.js.map +1 -1
- package/labs/gb/components/card/card.scss +18 -5
- package/labs/gb/components/checkbox/checkbox.css +1 -1
- package/labs/gb/components/checkbox/checkbox.css.map +1 -1
- package/labs/gb/components/checkbox/checkbox.cssresult.js +1 -1
- package/labs/gb/components/checkbox/checkbox.cssresult.js.map +1 -1
- package/labs/gb/components/checkbox/checkbox.scss +1 -0
- package/labs/gb/components/chip/chip.css +1 -1
- package/labs/gb/components/chip/chip.css.map +1 -1
- package/labs/gb/components/chip/chip.cssresult.js +1 -1
- package/labs/gb/components/chip/chip.cssresult.js.map +1 -1
- package/labs/gb/components/chip/chip.scss +1 -0
- package/labs/gb/components/iconbutton/icon-button-element.js +1 -1
- package/labs/gb/components/iconbutton/icon-button-element.js.map +1 -1
- package/labs/gb/components/iconbutton/icon-button.css +1 -1
- package/labs/gb/components/iconbutton/icon-button.css.map +1 -1
- package/labs/gb/components/iconbutton/icon-button.cssresult.js +1 -1
- package/labs/gb/components/iconbutton/icon-button.cssresult.js.map +1 -1
- package/labs/gb/components/iconbutton/icon-button.scss +6 -3
- package/labs/gb/components/list/list.css +1 -1
- package/labs/gb/components/list/list.css.map +1 -1
- package/labs/gb/components/list/list.cssresult.js +1 -1
- package/labs/gb/components/list/list.cssresult.js.map +1 -1
- package/labs/gb/components/list/list.scss +1 -0
- package/labs/gb/components/menu/menu.css +1 -1
- package/labs/gb/components/menu/menu.css.map +1 -1
- package/labs/gb/components/menu/menu.cssresult.js +1 -1
- package/labs/gb/components/menu/menu.cssresult.js.map +1 -1
- package/labs/gb/components/menu/menu.scss +1 -0
- package/labs/gb/components/navbar/nav-bar.css +1 -1
- package/labs/gb/components/navbar/nav-bar.css.map +1 -1
- package/labs/gb/components/navbar/nav-bar.cssresult.js +1 -1
- package/labs/gb/components/navbar/nav-bar.cssresult.js.map +1 -1
- package/labs/gb/components/navbar/nav-bar.scss +1 -0
- package/labs/gb/components/navrail/nav-rail.css +1 -1
- package/labs/gb/components/navrail/nav-rail.css.map +1 -1
- package/labs/gb/components/navrail/nav-rail.cssresult.js +1 -1
- package/labs/gb/components/navrail/nav-rail.cssresult.js.map +1 -1
- package/labs/gb/components/navrail/nav-rail.scss +1 -0
- package/labs/gb/components/radio/radio.css +1 -1
- package/labs/gb/components/radio/radio.css.map +1 -1
- package/labs/gb/components/radio/radio.cssresult.js +1 -1
- package/labs/gb/components/radio/radio.cssresult.js.map +1 -1
- package/labs/gb/components/radio/radio.scss +1 -0
- package/labs/gb/components/shared/fx.d.ts +63 -0
- package/labs/gb/components/shared/fx.js +102 -0
- package/labs/gb/components/shared/fx.js.map +1 -0
- package/labs/gb/components/slider/slider.css +1 -1
- package/labs/gb/components/slider/slider.css.map +1 -1
- package/labs/gb/components/slider/slider.cssresult.js +1 -1
- package/labs/gb/components/slider/slider.cssresult.js.map +1 -1
- package/labs/gb/components/slider/slider.scss +1 -0
- package/labs/gb/components/switch/switch.css +1 -1
- package/labs/gb/components/switch/switch.css.map +1 -1
- package/labs/gb/components/switch/switch.cssresult.js +1 -1
- package/labs/gb/components/switch/switch.cssresult.js.map +1 -1
- package/labs/gb/components/switch/switch.scss +4 -2
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -39829,15 +39829,6 @@
|
|
|
39829
39829
|
"module": "labs/gb/components/button/button-element.js"
|
|
39830
39830
|
},
|
|
39831
39831
|
"members": [
|
|
39832
|
-
{
|
|
39833
|
-
"kind": "field",
|
|
39834
|
-
"name": "hideOutline",
|
|
39835
|
-
"privacy": "private",
|
|
39836
|
-
"type": {
|
|
39837
|
-
"text": "boolean"
|
|
39838
|
-
},
|
|
39839
|
-
"default": "false"
|
|
39840
|
-
},
|
|
39841
39832
|
{
|
|
39842
39833
|
"kind": "field",
|
|
39843
39834
|
"name": "color",
|
|
@@ -39950,31 +39941,6 @@
|
|
|
39950
39941
|
"default": "''",
|
|
39951
39942
|
"attribute": "referrerpolicy"
|
|
39952
39943
|
},
|
|
39953
|
-
{
|
|
39954
|
-
"kind": "field",
|
|
39955
|
-
"name": "lastFiredEnabledState",
|
|
39956
|
-
"privacy": "private",
|
|
39957
|
-
"type": {
|
|
39958
|
-
"text": "boolean"
|
|
39959
|
-
}
|
|
39960
|
-
},
|
|
39961
|
-
{
|
|
39962
|
-
"kind": "field",
|
|
39963
|
-
"name": "handleSetShowOutline",
|
|
39964
|
-
"privacy": "private",
|
|
39965
|
-
"type": {
|
|
39966
|
-
"text": "(event: Event) => void",
|
|
39967
|
-
"references": [
|
|
39968
|
-
{
|
|
39969
|
-
"name": "Event",
|
|
39970
|
-
"package": "global:",
|
|
39971
|
-
"start": 8,
|
|
39972
|
-
"end": 13
|
|
39973
|
-
}
|
|
39974
|
-
]
|
|
39975
|
-
},
|
|
39976
|
-
"default": "(event: Event) => {\n const customEvent = event as CustomEvent<{shown: boolean}>;\n this.hideOutline = !customEvent.detail.shown;\n }"
|
|
39977
|
-
},
|
|
39978
39944
|
{
|
|
39979
39945
|
"kind": "field",
|
|
39980
39946
|
"name": "type",
|
|
@@ -40019,76 +39985,7 @@
|
|
|
40019
39985
|
}
|
|
40020
39986
|
]
|
|
40021
39987
|
},
|
|
40022
|
-
"default": "[\n focusRingStyles,\n rippleStyles,\n buttonStyles,\n css`\n :host {\n --md-icon-fill: 1;\n display: inline-flex;\n isolation: isolate;\n }\n\n :host([type='toggle']:not([selected])) {\n --md-icon-fill: 0;\n }\n\n :host([type='toggle'][selected]) {\n --md-icon-fill: 1;\n }\n\n .btn {\n flex: 1;\n position: relative;\n }\n .btn:has([name='container'].has-slotted) {\n background-color: transparent;\n }\n
|
|
40023
|
-
},
|
|
40024
|
-
{
|
|
40025
|
-
"kind": "method",
|
|
40026
|
-
"name": "connectedCallback",
|
|
40027
|
-
"privacy": "public",
|
|
40028
|
-
"return": {
|
|
40029
|
-
"type": {
|
|
40030
|
-
"text": "void"
|
|
40031
|
-
}
|
|
40032
|
-
}
|
|
40033
|
-
},
|
|
40034
|
-
{
|
|
40035
|
-
"kind": "method",
|
|
40036
|
-
"name": "disconnectedCallback",
|
|
40037
|
-
"privacy": "public",
|
|
40038
|
-
"return": {
|
|
40039
|
-
"type": {
|
|
40040
|
-
"text": "void"
|
|
40041
|
-
}
|
|
40042
|
-
}
|
|
40043
|
-
},
|
|
40044
|
-
{
|
|
40045
|
-
"kind": "method",
|
|
40046
|
-
"name": "updated",
|
|
40047
|
-
"privacy": "protected",
|
|
40048
|
-
"parameters": [
|
|
40049
|
-
{
|
|
40050
|
-
"name": "changedProperties",
|
|
40051
|
-
"type": {
|
|
40052
|
-
"text": "PropertyValueMap<any> | Map<PropertyKey, unknown>",
|
|
40053
|
-
"references": [
|
|
40054
|
-
{
|
|
40055
|
-
"name": "PropertyValueMap",
|
|
40056
|
-
"package": "lit",
|
|
40057
|
-
"module": "development/index.js",
|
|
40058
|
-
"start": 0,
|
|
40059
|
-
"end": 16
|
|
40060
|
-
},
|
|
40061
|
-
{
|
|
40062
|
-
"name": "Map",
|
|
40063
|
-
"package": "global:",
|
|
40064
|
-
"start": 24,
|
|
40065
|
-
"end": 27
|
|
40066
|
-
},
|
|
40067
|
-
{
|
|
40068
|
-
"name": "PropertyKey",
|
|
40069
|
-
"package": "global:",
|
|
40070
|
-
"start": 28,
|
|
40071
|
-
"end": 39
|
|
40072
|
-
}
|
|
40073
|
-
]
|
|
40074
|
-
}
|
|
40075
|
-
}
|
|
40076
|
-
],
|
|
40077
|
-
"return": {
|
|
40078
|
-
"type": {
|
|
40079
|
-
"text": "void"
|
|
40080
|
-
}
|
|
40081
|
-
}
|
|
40082
|
-
},
|
|
40083
|
-
{
|
|
40084
|
-
"kind": "method",
|
|
40085
|
-
"name": "dispatchSetEnabledEvent",
|
|
40086
|
-
"privacy": "private",
|
|
40087
|
-
"return": {
|
|
40088
|
-
"type": {
|
|
40089
|
-
"text": "void"
|
|
40090
|
-
}
|
|
40091
|
-
}
|
|
39988
|
+
"default": "[\n focusRingStyles,\n rippleStyles,\n buttonStyles,\n css`\n :host {\n --md-icon-fill: 1;\n display: inline-flex;\n isolation: isolate;\n }\n\n :host([type='toggle']:not([selected])) {\n --md-icon-fill: 0;\n }\n\n :host([type='toggle'][selected]) {\n --md-icon-fill: 1;\n }\n\n .btn {\n flex: 1;\n position: relative;\n }\n .btn:has([name='container'].has-slotted) {\n background-color: transparent;\n }\n slot[name='container'] {\n display: block;\n position: absolute;\n inset: 0;\n border-radius: inherit;\n pointer-events: none;\n --color: var(--container-color);\n z-index: -1;\n transition: inherit;\n }\n slot[name='container']::slotted(*) {\n width: 100%;\n height: 100%;\n }\n `,\n ]"
|
|
40092
39989
|
},
|
|
40093
39990
|
{
|
|
40094
39991
|
"kind": "method",
|
|
@@ -40109,32 +40006,6 @@
|
|
|
40109
40006
|
}
|
|
40110
40007
|
}
|
|
40111
40008
|
},
|
|
40112
|
-
{
|
|
40113
|
-
"kind": "method",
|
|
40114
|
-
"name": "handleContainerSlotChange",
|
|
40115
|
-
"privacy": "private",
|
|
40116
|
-
"parameters": [
|
|
40117
|
-
{
|
|
40118
|
-
"name": "event",
|
|
40119
|
-
"type": {
|
|
40120
|
-
"text": "Event",
|
|
40121
|
-
"references": [
|
|
40122
|
-
{
|
|
40123
|
-
"name": "Event",
|
|
40124
|
-
"package": "global:",
|
|
40125
|
-
"start": 0,
|
|
40126
|
-
"end": 5
|
|
40127
|
-
}
|
|
40128
|
-
]
|
|
40129
|
-
}
|
|
40130
|
-
}
|
|
40131
|
-
],
|
|
40132
|
-
"return": {
|
|
40133
|
-
"type": {
|
|
40134
|
-
"text": "void"
|
|
40135
|
-
}
|
|
40136
|
-
}
|
|
40137
|
-
},
|
|
40138
40009
|
{
|
|
40139
40010
|
"kind": "method",
|
|
40140
40011
|
"name": "handleChange",
|
|
@@ -41498,23 +41369,6 @@
|
|
|
41498
41369
|
"module": "labs/gb/components/card/card-element.js"
|
|
41499
41370
|
},
|
|
41500
41371
|
"members": [
|
|
41501
|
-
{
|
|
41502
|
-
"kind": "field",
|
|
41503
|
-
"name": "hideOutline",
|
|
41504
|
-
"privacy": "private",
|
|
41505
|
-
"type": {
|
|
41506
|
-
"text": "boolean"
|
|
41507
|
-
},
|
|
41508
|
-
"default": "false"
|
|
41509
|
-
},
|
|
41510
|
-
{
|
|
41511
|
-
"kind": "field",
|
|
41512
|
-
"name": "lastFiredEnabledState",
|
|
41513
|
-
"privacy": "private",
|
|
41514
|
-
"type": {
|
|
41515
|
-
"text": "boolean"
|
|
41516
|
-
}
|
|
41517
|
-
},
|
|
41518
41372
|
{
|
|
41519
41373
|
"kind": "field",
|
|
41520
41374
|
"name": "color",
|
|
@@ -41557,23 +41411,6 @@
|
|
|
41557
41411
|
"default": "false",
|
|
41558
41412
|
"attribute": "interactive"
|
|
41559
41413
|
},
|
|
41560
|
-
{
|
|
41561
|
-
"kind": "field",
|
|
41562
|
-
"name": "handleSetShowOutline",
|
|
41563
|
-
"privacy": "private",
|
|
41564
|
-
"type": {
|
|
41565
|
-
"text": "(event: Event) => void",
|
|
41566
|
-
"references": [
|
|
41567
|
-
{
|
|
41568
|
-
"name": "Event",
|
|
41569
|
-
"package": "global:",
|
|
41570
|
-
"start": 8,
|
|
41571
|
-
"end": 13
|
|
41572
|
-
}
|
|
41573
|
-
]
|
|
41574
|
-
},
|
|
41575
|
-
"default": "(event: Event) => {\n const customEvent = event as CustomEvent<{shown: boolean}>;\n this.hideOutline = !customEvent.detail.shown;\n }"
|
|
41576
|
-
},
|
|
41577
41414
|
{
|
|
41578
41415
|
"kind": "field",
|
|
41579
41416
|
"name": "shadowRootOptions",
|
|
@@ -41608,76 +41445,7 @@
|
|
|
41608
41445
|
}
|
|
41609
41446
|
]
|
|
41610
41447
|
},
|
|
41611
|
-
"default": "[\n focusRingStyles,\n rippleStyles,\n cardStyles,\n css`\n :host {\n display: inline-flex;\n isolation: isolate;\n }\n .card {\n flex: 1;\n position: relative;\n }\n .card:has([name='container'].has-slotted) {\n background-color: transparent;\n }\n
|
|
41612
|
-
},
|
|
41613
|
-
{
|
|
41614
|
-
"kind": "method",
|
|
41615
|
-
"name": "connectedCallback",
|
|
41616
|
-
"privacy": "public",
|
|
41617
|
-
"return": {
|
|
41618
|
-
"type": {
|
|
41619
|
-
"text": "void"
|
|
41620
|
-
}
|
|
41621
|
-
}
|
|
41622
|
-
},
|
|
41623
|
-
{
|
|
41624
|
-
"kind": "method",
|
|
41625
|
-
"name": "disconnectedCallback",
|
|
41626
|
-
"privacy": "public",
|
|
41627
|
-
"return": {
|
|
41628
|
-
"type": {
|
|
41629
|
-
"text": "void"
|
|
41630
|
-
}
|
|
41631
|
-
}
|
|
41632
|
-
},
|
|
41633
|
-
{
|
|
41634
|
-
"kind": "method",
|
|
41635
|
-
"name": "updated",
|
|
41636
|
-
"privacy": "protected",
|
|
41637
|
-
"parameters": [
|
|
41638
|
-
{
|
|
41639
|
-
"name": "changedProperties",
|
|
41640
|
-
"type": {
|
|
41641
|
-
"text": "PropertyValueMap<any> | Map<PropertyKey, unknown>",
|
|
41642
|
-
"references": [
|
|
41643
|
-
{
|
|
41644
|
-
"name": "PropertyValueMap",
|
|
41645
|
-
"package": "lit",
|
|
41646
|
-
"module": "development/index.js",
|
|
41647
|
-
"start": 0,
|
|
41648
|
-
"end": 16
|
|
41649
|
-
},
|
|
41650
|
-
{
|
|
41651
|
-
"name": "Map",
|
|
41652
|
-
"package": "global:",
|
|
41653
|
-
"start": 24,
|
|
41654
|
-
"end": 27
|
|
41655
|
-
},
|
|
41656
|
-
{
|
|
41657
|
-
"name": "PropertyKey",
|
|
41658
|
-
"package": "global:",
|
|
41659
|
-
"start": 28,
|
|
41660
|
-
"end": 39
|
|
41661
|
-
}
|
|
41662
|
-
]
|
|
41663
|
-
}
|
|
41664
|
-
}
|
|
41665
|
-
],
|
|
41666
|
-
"return": {
|
|
41667
|
-
"type": {
|
|
41668
|
-
"text": "void"
|
|
41669
|
-
}
|
|
41670
|
-
}
|
|
41671
|
-
},
|
|
41672
|
-
{
|
|
41673
|
-
"kind": "method",
|
|
41674
|
-
"name": "dispatchSetEnabledEvent",
|
|
41675
|
-
"privacy": "private",
|
|
41676
|
-
"return": {
|
|
41677
|
-
"type": {
|
|
41678
|
-
"text": "void"
|
|
41679
|
-
}
|
|
41680
|
-
}
|
|
41448
|
+
"default": "[\n focusRingStyles,\n rippleStyles,\n cardStyles,\n css`\n :host {\n display: inline-flex;\n isolation: isolate;\n }\n .card {\n flex: 1;\n position: relative;\n }\n .card:has([name='container'].has-slotted) {\n background-color: transparent;\n }\n slot[name='container'] {\n display: block;\n position: absolute;\n inset: 0;\n border-radius: inherit;\n pointer-events: none;\n --color: var(--container-color);\n z-index: -1;\n transition: inherit;\n }\n slot[name='container']::slotted(*) {\n width: 100%;\n height: 100%;\n }\n `,\n ]"
|
|
41681
41449
|
},
|
|
41682
41450
|
{
|
|
41683
41451
|
"kind": "method",
|
|
@@ -41697,32 +41465,6 @@
|
|
|
41697
41465
|
]
|
|
41698
41466
|
}
|
|
41699
41467
|
}
|
|
41700
|
-
},
|
|
41701
|
-
{
|
|
41702
|
-
"kind": "method",
|
|
41703
|
-
"name": "handleContainerSlotChange",
|
|
41704
|
-
"privacy": "private",
|
|
41705
|
-
"parameters": [
|
|
41706
|
-
{
|
|
41707
|
-
"name": "event",
|
|
41708
|
-
"type": {
|
|
41709
|
-
"text": "Event",
|
|
41710
|
-
"references": [
|
|
41711
|
-
{
|
|
41712
|
-
"name": "Event",
|
|
41713
|
-
"package": "global:",
|
|
41714
|
-
"start": 0,
|
|
41715
|
-
"end": 5
|
|
41716
|
-
}
|
|
41717
|
-
]
|
|
41718
|
-
}
|
|
41719
|
-
}
|
|
41720
|
-
],
|
|
41721
|
-
"return": {
|
|
41722
|
-
"type": {
|
|
41723
|
-
"text": "void"
|
|
41724
|
-
}
|
|
41725
|
-
}
|
|
41726
41468
|
}
|
|
41727
41469
|
],
|
|
41728
41470
|
"customElement": true,
|
|
@@ -50369,6 +50111,229 @@
|
|
|
50369
50111
|
}
|
|
50370
50112
|
]
|
|
50371
50113
|
},
|
|
50114
|
+
{
|
|
50115
|
+
"kind": "javascript-module",
|
|
50116
|
+
"path": "labs/gb/components/shared/fx.js",
|
|
50117
|
+
"declarations": [
|
|
50118
|
+
{
|
|
50119
|
+
"kind": "variable",
|
|
50120
|
+
"name": "FX_CLASSES",
|
|
50121
|
+
"description": "CSS classes applied to visual effects elements and slots.",
|
|
50122
|
+
"type": {
|
|
50123
|
+
"text": "{ readonly playing: \"fx-playing\"; }"
|
|
50124
|
+
}
|
|
50125
|
+
},
|
|
50126
|
+
{
|
|
50127
|
+
"kind": "function",
|
|
50128
|
+
"name": "fxClasses",
|
|
50129
|
+
"description": "Returns the `.fx-*` classes for a visual effects state.",
|
|
50130
|
+
"parameters": [
|
|
50131
|
+
{
|
|
50132
|
+
"name": "{playing = false}",
|
|
50133
|
+
"type": {
|
|
50134
|
+
"text": "FxState",
|
|
50135
|
+
"references": [
|
|
50136
|
+
{
|
|
50137
|
+
"name": "FxState",
|
|
50138
|
+
"package": "@material/web",
|
|
50139
|
+
"module": "labs/gb/components/shared/fx.js",
|
|
50140
|
+
"start": 0,
|
|
50141
|
+
"end": 7
|
|
50142
|
+
}
|
|
50143
|
+
]
|
|
50144
|
+
},
|
|
50145
|
+
"default": "{}",
|
|
50146
|
+
"optional": true
|
|
50147
|
+
}
|
|
50148
|
+
],
|
|
50149
|
+
"return": {
|
|
50150
|
+
"type": {
|
|
50151
|
+
"text": "ClassInfo",
|
|
50152
|
+
"references": [
|
|
50153
|
+
{
|
|
50154
|
+
"name": "ClassInfo",
|
|
50155
|
+
"package": "lit",
|
|
50156
|
+
"module": "directives/class-map.js",
|
|
50157
|
+
"start": 0,
|
|
50158
|
+
"end": 9
|
|
50159
|
+
}
|
|
50160
|
+
]
|
|
50161
|
+
}
|
|
50162
|
+
}
|
|
50163
|
+
},
|
|
50164
|
+
{
|
|
50165
|
+
"kind": "class",
|
|
50166
|
+
"name": "FxChangeEvent",
|
|
50167
|
+
"description": "Event dispatched by visual effects elements when their state changes.",
|
|
50168
|
+
"superclass": {
|
|
50169
|
+
"name": "Event",
|
|
50170
|
+
"package": "global:"
|
|
50171
|
+
},
|
|
50172
|
+
"members": [
|
|
50173
|
+
{
|
|
50174
|
+
"kind": "field",
|
|
50175
|
+
"name": "playing",
|
|
50176
|
+
"privacy": "public",
|
|
50177
|
+
"type": {
|
|
50178
|
+
"text": "boolean"
|
|
50179
|
+
}
|
|
50180
|
+
},
|
|
50181
|
+
{
|
|
50182
|
+
"kind": "field",
|
|
50183
|
+
"name": "type",
|
|
50184
|
+
"static": true,
|
|
50185
|
+
"privacy": "public",
|
|
50186
|
+
"type": {
|
|
50187
|
+
"text": "string"
|
|
50188
|
+
},
|
|
50189
|
+
"default": "'fx-change'"
|
|
50190
|
+
}
|
|
50191
|
+
]
|
|
50192
|
+
},
|
|
50193
|
+
{
|
|
50194
|
+
"kind": "function",
|
|
50195
|
+
"name": "updateFxElement",
|
|
50196
|
+
"description": "Updates a visual effects element's `.fx-*` classes and dispatches an\n`FxChangeEvent` when its state changes.\n\nVisual effects elements own their playback state machine and call this\nfunction with a state snapshot whenever that state may have changed.",
|
|
50197
|
+
"parameters": [
|
|
50198
|
+
{
|
|
50199
|
+
"name": "element",
|
|
50200
|
+
"type": {
|
|
50201
|
+
"text": "HTMLElement",
|
|
50202
|
+
"references": [
|
|
50203
|
+
{
|
|
50204
|
+
"name": "HTMLElement",
|
|
50205
|
+
"package": "global:",
|
|
50206
|
+
"start": 0,
|
|
50207
|
+
"end": 11
|
|
50208
|
+
}
|
|
50209
|
+
]
|
|
50210
|
+
}
|
|
50211
|
+
},
|
|
50212
|
+
{
|
|
50213
|
+
"name": "state",
|
|
50214
|
+
"type": {
|
|
50215
|
+
"text": "FxState",
|
|
50216
|
+
"references": [
|
|
50217
|
+
{
|
|
50218
|
+
"name": "FxState",
|
|
50219
|
+
"package": "@material/web",
|
|
50220
|
+
"module": "labs/gb/components/shared/fx.js",
|
|
50221
|
+
"start": 0,
|
|
50222
|
+
"end": 7
|
|
50223
|
+
}
|
|
50224
|
+
]
|
|
50225
|
+
}
|
|
50226
|
+
}
|
|
50227
|
+
],
|
|
50228
|
+
"return": {
|
|
50229
|
+
"type": {
|
|
50230
|
+
"text": "void"
|
|
50231
|
+
}
|
|
50232
|
+
}
|
|
50233
|
+
},
|
|
50234
|
+
{
|
|
50235
|
+
"kind": "function",
|
|
50236
|
+
"name": "setupFxSlot",
|
|
50237
|
+
"description": "Mirrors the `.fx-*` classes of assigned visual effects elements onto a\n`<slot>`, so shadow stylesheets can match `:has(.fx-playing)` across the\nslot boundary.",
|
|
50238
|
+
"parameters": [
|
|
50239
|
+
{
|
|
50240
|
+
"name": "element",
|
|
50241
|
+
"type": {
|
|
50242
|
+
"text": "HTMLElement",
|
|
50243
|
+
"references": [
|
|
50244
|
+
{
|
|
50245
|
+
"name": "HTMLElement",
|
|
50246
|
+
"package": "global:",
|
|
50247
|
+
"start": 0,
|
|
50248
|
+
"end": 11
|
|
50249
|
+
}
|
|
50250
|
+
]
|
|
50251
|
+
}
|
|
50252
|
+
},
|
|
50253
|
+
{
|
|
50254
|
+
"name": "opts",
|
|
50255
|
+
"type": {
|
|
50256
|
+
"text": "{ signal: AbortSignal; }",
|
|
50257
|
+
"references": [
|
|
50258
|
+
{
|
|
50259
|
+
"name": "AbortSignal",
|
|
50260
|
+
"package": "global:",
|
|
50261
|
+
"start": 10,
|
|
50262
|
+
"end": 21
|
|
50263
|
+
}
|
|
50264
|
+
]
|
|
50265
|
+
}
|
|
50266
|
+
}
|
|
50267
|
+
],
|
|
50268
|
+
"return": {
|
|
50269
|
+
"type": {
|
|
50270
|
+
"text": "void"
|
|
50271
|
+
}
|
|
50272
|
+
}
|
|
50273
|
+
},
|
|
50274
|
+
{
|
|
50275
|
+
"kind": "variable",
|
|
50276
|
+
"name": "fxSlot",
|
|
50277
|
+
"description": "Mirrors the `.fx-*` classes of assigned visual effects elements onto a\n`<slot>`.",
|
|
50278
|
+
"type": {
|
|
50279
|
+
"text": "() => DirectiveResult<DirectiveClass>",
|
|
50280
|
+
"references": [
|
|
50281
|
+
{
|
|
50282
|
+
"name": "DirectiveResult",
|
|
50283
|
+
"package": "lit-html",
|
|
50284
|
+
"module": "development/directive.js",
|
|
50285
|
+
"start": 6,
|
|
50286
|
+
"end": 21
|
|
50287
|
+
}
|
|
50288
|
+
]
|
|
50289
|
+
}
|
|
50290
|
+
}
|
|
50291
|
+
],
|
|
50292
|
+
"exports": [
|
|
50293
|
+
{
|
|
50294
|
+
"kind": "js",
|
|
50295
|
+
"name": "FX_CLASSES",
|
|
50296
|
+
"declaration": {
|
|
50297
|
+
"name": "FX_CLASSES"
|
|
50298
|
+
}
|
|
50299
|
+
},
|
|
50300
|
+
{
|
|
50301
|
+
"kind": "js",
|
|
50302
|
+
"name": "fxClasses",
|
|
50303
|
+
"declaration": {
|
|
50304
|
+
"name": "fxClasses"
|
|
50305
|
+
}
|
|
50306
|
+
},
|
|
50307
|
+
{
|
|
50308
|
+
"kind": "js",
|
|
50309
|
+
"name": "FxChangeEvent",
|
|
50310
|
+
"declaration": {
|
|
50311
|
+
"name": "FxChangeEvent"
|
|
50312
|
+
}
|
|
50313
|
+
},
|
|
50314
|
+
{
|
|
50315
|
+
"kind": "js",
|
|
50316
|
+
"name": "updateFxElement",
|
|
50317
|
+
"declaration": {
|
|
50318
|
+
"name": "updateFxElement"
|
|
50319
|
+
}
|
|
50320
|
+
},
|
|
50321
|
+
{
|
|
50322
|
+
"kind": "js",
|
|
50323
|
+
"name": "setupFxSlot",
|
|
50324
|
+
"declaration": {
|
|
50325
|
+
"name": "setupFxSlot"
|
|
50326
|
+
}
|
|
50327
|
+
},
|
|
50328
|
+
{
|
|
50329
|
+
"kind": "js",
|
|
50330
|
+
"name": "fxSlot",
|
|
50331
|
+
"declaration": {
|
|
50332
|
+
"name": "fxSlot"
|
|
50333
|
+
}
|
|
50334
|
+
}
|
|
50335
|
+
]
|
|
50336
|
+
},
|
|
50372
50337
|
{
|
|
50373
50338
|
"kind": "javascript-module",
|
|
50374
50339
|
"path": "labs/gb/components/shared/has-slotted.js",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2026 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { CSSResultOrNative, LitElement
|
|
6
|
+
import { CSSResultOrNative, LitElement } from 'lit';
|
|
7
7
|
declare const baseClass: import("@material/web/labs/behaviors/mixin.js").MixinReturn<import("@material/web/labs/behaviors/mixin.js").MixinReturn<import("@material/web/labs/behaviors/mixin.js").MixinReturn<(abstract new (...args: any[]) => import("../../../behaviors/element-internals.js").WithElementInternals) & typeof LitElement & import("../../../behaviors/form-associated.js").FormAssociatedConstructor, import("../../../behaviors/form-associated.js").FormAssociated>, import("../../../behaviors/form-submitter.js").FormSubmitter>>;
|
|
8
8
|
/**
|
|
9
9
|
* A Material Design button.
|
|
@@ -36,7 +36,6 @@ export declare class ButtonElement extends baseClass {
|
|
|
36
36
|
static shadowRootOptions: ShadowRootInit;
|
|
37
37
|
/** @nocollapse */
|
|
38
38
|
static styles: CSSResultOrNative[];
|
|
39
|
-
private hideOutline;
|
|
40
39
|
/**
|
|
41
40
|
* The color of the button.
|
|
42
41
|
*/
|
|
@@ -100,14 +99,7 @@ export declare class ButtonElement extends baseClass {
|
|
|
100
99
|
* `href` is set.
|
|
101
100
|
*/
|
|
102
101
|
referrerPolicy: string;
|
|
103
|
-
private lastFiredEnabledState?;
|
|
104
|
-
connectedCallback(): void;
|
|
105
|
-
disconnectedCallback(): void;
|
|
106
|
-
private readonly handleSetShowOutline;
|
|
107
|
-
protected updated(changedProperties: PropertyValues): void;
|
|
108
|
-
private dispatchSetEnabledEvent;
|
|
109
102
|
protected render(): import("lit-html").TemplateResult<1>;
|
|
110
|
-
private handleContainerSlotChange;
|
|
111
103
|
private handleChange;
|
|
112
104
|
}
|
|
113
105
|
export {};
|