@material/web 2.5.1-nightly.47adb65.0 → 2.5.1-nightly.5a95667.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 (33) hide show
  1. package/custom-elements.json +1291 -0
  2. package/labs/gb/components/navrail/_nav-rail-tokens.scss +123 -0
  3. package/labs/gb/components/navrail/md-gb-nav-rail-item.d.ts +12 -0
  4. package/labs/gb/components/navrail/md-gb-nav-rail-item.js +10 -0
  5. package/labs/gb/components/navrail/md-gb-nav-rail-item.js.map +1 -0
  6. package/labs/gb/components/navrail/md-gb-nav-rail.d.ts +12 -0
  7. package/labs/gb/components/navrail/md-gb-nav-rail.js +10 -0
  8. package/labs/gb/components/navrail/md-gb-nav-rail.js.map +1 -0
  9. package/labs/gb/components/navrail/nav-rail-element.d.ts +120 -0
  10. package/labs/gb/components/navrail/nav-rail-element.js +366 -0
  11. package/labs/gb/components/navrail/nav-rail-element.js.map +1 -0
  12. package/labs/gb/components/navrail/nav-rail-item-element.d.ts +44 -0
  13. package/labs/gb/components/navrail/nav-rail-item-element.js +178 -0
  14. package/labs/gb/components/navrail/nav-rail-item-element.js.map +1 -0
  15. package/labs/gb/components/navrail/nav-rail.css +4 -0
  16. package/labs/gb/components/navrail/nav-rail.css.map +1 -0
  17. package/labs/gb/components/navrail/nav-rail.cssresult.d.ts +3 -0
  18. package/labs/gb/components/navrail/nav-rail.cssresult.js +14 -0
  19. package/labs/gb/components/navrail/nav-rail.cssresult.js.map +1 -0
  20. package/labs/gb/components/navrail/nav-rail.d.ts +108 -0
  21. package/labs/gb/components/navrail/nav-rail.js +115 -0
  22. package/labs/gb/components/navrail/nav-rail.js.map +1 -0
  23. package/labs/gb/components/navrail/nav-rail.scss +418 -0
  24. package/labs/gb/components/snackbar/harness.d.ts +1 -1
  25. package/labs/gb/components/snackbar/harness.js.map +1 -1
  26. package/labs/gb/components/snackbar/snackbar-element.d.ts +1 -1
  27. package/labs/gb/components/snackbar/snackbar-element.js.map +1 -1
  28. package/labs/gb/components/snackbar/snackbar.css +1 -1
  29. package/labs/gb/components/snackbar/snackbar.css.map +1 -1
  30. package/labs/gb/components/snackbar/snackbar.cssresult.js +1 -1
  31. package/labs/gb/components/snackbar/snackbar.cssresult.js.map +1 -1
  32. package/labs/gb/components/snackbar/snackbar.scss +21 -22
  33. package/package.json +1 -1
@@ -47920,6 +47920,1297 @@
47920
47920
  }
47921
47921
  ]
47922
47922
  },
47923
+ {
47924
+ "kind": "javascript-module",
47925
+ "path": "labs/gb/components/navrail/md-gb-nav-rail-item.js"
47926
+ },
47927
+ {
47928
+ "kind": "javascript-module",
47929
+ "path": "labs/gb/components/navrail/md-gb-nav-rail.js"
47930
+ },
47931
+ {
47932
+ "kind": "javascript-module",
47933
+ "path": "labs/gb/components/navrail/nav-rail-element.js",
47934
+ "declarations": [
47935
+ {
47936
+ "kind": "variable",
47937
+ "name": "HEADER_TOGGLE_SELECTOR",
47938
+ "type": {
47939
+ "text": "string"
47940
+ }
47941
+ },
47942
+ {
47943
+ "kind": "variable",
47944
+ "name": "HEADER_FAB_SELECTOR",
47945
+ "type": {
47946
+ "text": "string"
47947
+ }
47948
+ },
47949
+ {
47950
+ "kind": "class",
47951
+ "name": "NavRailElement",
47952
+ "description": "A Material Design navigation rail component.",
47953
+ "superclass": {
47954
+ "name": "AriaTablistElement",
47955
+ "package": "@material/web",
47956
+ "module": "labs/aria/tabs/tablist.js"
47957
+ },
47958
+ "members": [
47959
+ {
47960
+ "kind": "field",
47961
+ "name": "orientation",
47962
+ "privacy": "public",
47963
+ "type": {
47964
+ "text": "\"vertical\" | \"horizontal\""
47965
+ },
47966
+ "default": "'vertical'"
47967
+ },
47968
+ {
47969
+ "kind": "field",
47970
+ "name": "expanded",
47971
+ "description": "Whether the navigation rail is expanded to show horizontal items.",
47972
+ "privacy": "public",
47973
+ "type": {
47974
+ "text": "boolean"
47975
+ },
47976
+ "default": "false",
47977
+ "attribute": "expanded",
47978
+ "reflects": true
47979
+ },
47980
+ {
47981
+ "kind": "field",
47982
+ "name": "collapsible",
47983
+ "description": "Whether the navigation rail renders a built-in expand/collapse menu button\nin the header when no toggle button is slotted into `slot=\"header\"`.",
47984
+ "privacy": "public",
47985
+ "type": {
47986
+ "text": "boolean"
47987
+ },
47988
+ "default": "false",
47989
+ "attribute": "collapsible",
47990
+ "reflects": true
47991
+ },
47992
+ {
47993
+ "kind": "field",
47994
+ "name": "modal",
47995
+ "description": "Whether the navigation rail uses modal elevation and shape.",
47996
+ "privacy": "public",
47997
+ "type": {
47998
+ "text": "boolean"
47999
+ },
48000
+ "default": "false",
48001
+ "attribute": "modal",
48002
+ "reflects": true
48003
+ },
48004
+ {
48005
+ "kind": "field",
48006
+ "name": "alignment",
48007
+ "description": "Vertical alignment of items ('top', 'center', or 'bottom').",
48008
+ "privacy": "public",
48009
+ "type": {
48010
+ "text": "NavRailAlignment",
48011
+ "references": [
48012
+ {
48013
+ "name": "NavRailAlignment",
48014
+ "package": "@material/web",
48015
+ "module": "labs/gb/components/navrail/nav-rail.js",
48016
+ "start": 0,
48017
+ "end": 16
48018
+ }
48019
+ ]
48020
+ },
48021
+ "default": "'top'",
48022
+ "attribute": "alignment",
48023
+ "reflects": true
48024
+ },
48025
+ {
48026
+ "kind": "field",
48027
+ "name": "itemLayout",
48028
+ "description": "The layout orientation of items ('vertical' or 'horizontal').",
48029
+ "privacy": "public",
48030
+ "type": {
48031
+ "text": "NavRailItemLayout",
48032
+ "references": [
48033
+ {
48034
+ "name": "NavRailItemLayout",
48035
+ "package": "@material/web",
48036
+ "module": "labs/gb/components/navrail/nav-rail.js",
48037
+ "start": 0,
48038
+ "end": 17
48039
+ }
48040
+ ]
48041
+ },
48042
+ "default": "'vertical'",
48043
+ "attribute": "item-layout",
48044
+ "reflects": true
48045
+ },
48046
+ {
48047
+ "kind": "field",
48048
+ "name": "hasHeader",
48049
+ "privacy": "private",
48050
+ "type": {
48051
+ "text": "boolean"
48052
+ },
48053
+ "default": "false"
48054
+ },
48055
+ {
48056
+ "kind": "field",
48057
+ "name": "hasSlottedToggle",
48058
+ "privacy": "private",
48059
+ "type": {
48060
+ "text": "boolean"
48061
+ },
48062
+ "default": "false"
48063
+ },
48064
+ {
48065
+ "kind": "field",
48066
+ "name": "headerSlot",
48067
+ "privacy": "private",
48068
+ "type": {
48069
+ "text": "HTMLSlotElement",
48070
+ "references": [
48071
+ {
48072
+ "name": "HTMLSlotElement",
48073
+ "package": "global:",
48074
+ "start": 0,
48075
+ "end": 15
48076
+ }
48077
+ ]
48078
+ }
48079
+ },
48080
+ {
48081
+ "kind": "field",
48082
+ "name": "menuButtonElement",
48083
+ "privacy": "private",
48084
+ "type": {
48085
+ "text": "HTMLButtonElement",
48086
+ "references": [
48087
+ {
48088
+ "name": "HTMLButtonElement",
48089
+ "package": "global:",
48090
+ "start": 0,
48091
+ "end": 17
48092
+ }
48093
+ ]
48094
+ }
48095
+ },
48096
+ {
48097
+ "kind": "field",
48098
+ "name": "menuButtonAbortController",
48099
+ "privacy": "private",
48100
+ "type": {
48101
+ "text": "AbortController",
48102
+ "references": [
48103
+ {
48104
+ "name": "AbortController",
48105
+ "package": "global:",
48106
+ "start": 0,
48107
+ "end": 15
48108
+ }
48109
+ ]
48110
+ },
48111
+ "default": "null"
48112
+ },
48113
+ {
48114
+ "kind": "field",
48115
+ "name": "selectedIndex",
48116
+ "privacy": "public",
48117
+ "type": {
48118
+ "text": "number"
48119
+ },
48120
+ "attribute": "selected-index"
48121
+ },
48122
+ {
48123
+ "kind": "field",
48124
+ "name": "styles",
48125
+ "static": true,
48126
+ "privacy": "public",
48127
+ "type": {
48128
+ "text": "CSSResultOrNative[]",
48129
+ "references": [
48130
+ {
48131
+ "name": "CSSResultOrNative",
48132
+ "package": "lit",
48133
+ "start": 0,
48134
+ "end": 17
48135
+ }
48136
+ ]
48137
+ },
48138
+ "default": "[\n focusRingStyles,\n rippleStyles,\n navRailStyles,\n css`\n :host {\n block-size: 100%;\n display: inline-flex;\n flex-direction: column;\n outline: none;\n }\n\n .nav-rail ::slotted(:focus-within),\n .nav-rail-items ::slotted(:focus-within) {\n z-index: 1;\n }\n\n .nav-rail-header ::slotted(md-gb-icon-button),\n .nav-rail-header ::slotted(.icon-btn),\n .nav-rail-header ::slotted([data-nav-rail-toggle]),\n .nav-rail-header ::slotted([nav-rail-toggle]) {\n margin-inline-start: 8px;\n }\n `,\n ]"
48139
+ },
48140
+ {
48141
+ "kind": "method",
48142
+ "name": "toggle",
48143
+ "description": "Toggles the expanded state of the navigation rail.",
48144
+ "privacy": "public",
48145
+ "parameters": [
48146
+ {
48147
+ "name": "force",
48148
+ "description": "Optional boolean to force expanded (`true`) or collapsed (`false`).",
48149
+ "type": {
48150
+ "text": "boolean"
48151
+ },
48152
+ "optional": true
48153
+ }
48154
+ ],
48155
+ "return": {
48156
+ "type": {
48157
+ "text": "boolean"
48158
+ },
48159
+ "description": "The new `expanded` state."
48160
+ }
48161
+ },
48162
+ {
48163
+ "kind": "method",
48164
+ "name": "expand",
48165
+ "description": "Expands the navigation rail.",
48166
+ "privacy": "public",
48167
+ "return": {
48168
+ "type": {
48169
+ "text": "void"
48170
+ }
48171
+ }
48172
+ },
48173
+ {
48174
+ "kind": "method",
48175
+ "name": "collapse",
48176
+ "description": "Collapses the navigation rail.",
48177
+ "privacy": "public",
48178
+ "return": {
48179
+ "type": {
48180
+ "text": "void"
48181
+ }
48182
+ }
48183
+ },
48184
+ {
48185
+ "kind": "method",
48186
+ "name": "connectedCallback",
48187
+ "privacy": "public",
48188
+ "return": {
48189
+ "type": {
48190
+ "text": "void"
48191
+ }
48192
+ }
48193
+ },
48194
+ {
48195
+ "kind": "method",
48196
+ "name": "disconnectedCallback",
48197
+ "privacy": "public",
48198
+ "return": {
48199
+ "type": {
48200
+ "text": "void"
48201
+ }
48202
+ }
48203
+ },
48204
+ {
48205
+ "kind": "method",
48206
+ "name": "updated",
48207
+ "privacy": "protected",
48208
+ "parameters": [
48209
+ {
48210
+ "name": "changedProperties",
48211
+ "type": {
48212
+ "text": "PropertyValues<this>",
48213
+ "references": [
48214
+ {
48215
+ "name": "PropertyValues",
48216
+ "package": "lit",
48217
+ "start": 0,
48218
+ "end": 14
48219
+ }
48220
+ ]
48221
+ }
48222
+ }
48223
+ ],
48224
+ "return": {
48225
+ "type": {
48226
+ "text": "void"
48227
+ }
48228
+ }
48229
+ },
48230
+ {
48231
+ "kind": "method",
48232
+ "name": "render",
48233
+ "privacy": "protected",
48234
+ "return": {
48235
+ "type": {
48236
+ "text": "TemplateResult<1>",
48237
+ "references": [
48238
+ {
48239
+ "name": "TemplateResult",
48240
+ "package": "lit-html",
48241
+ "module": "development/lit-html.js",
48242
+ "start": 0,
48243
+ "end": 14
48244
+ }
48245
+ ]
48246
+ }
48247
+ }
48248
+ },
48249
+ {
48250
+ "kind": "method",
48251
+ "name": "setupBuiltInMenuButton",
48252
+ "privacy": "private",
48253
+ "return": {
48254
+ "type": {
48255
+ "text": "void"
48256
+ }
48257
+ }
48258
+ },
48259
+ {
48260
+ "kind": "method",
48261
+ "name": "handleMenuButtonClick",
48262
+ "privacy": "private",
48263
+ "parameters": [
48264
+ {
48265
+ "name": "event",
48266
+ "type": {
48267
+ "text": "Event",
48268
+ "references": [
48269
+ {
48270
+ "name": "Event",
48271
+ "package": "global:",
48272
+ "start": 0,
48273
+ "end": 5
48274
+ }
48275
+ ]
48276
+ }
48277
+ }
48278
+ ],
48279
+ "return": {
48280
+ "type": {
48281
+ "text": "void"
48282
+ }
48283
+ }
48284
+ },
48285
+ {
48286
+ "kind": "method",
48287
+ "name": "handleHeaderClick",
48288
+ "privacy": "private",
48289
+ "parameters": [
48290
+ {
48291
+ "name": "event",
48292
+ "type": {
48293
+ "text": "Event",
48294
+ "references": [
48295
+ {
48296
+ "name": "Event",
48297
+ "package": "global:",
48298
+ "start": 0,
48299
+ "end": 5
48300
+ }
48301
+ ]
48302
+ }
48303
+ }
48304
+ ],
48305
+ "return": {
48306
+ "type": {
48307
+ "text": "void"
48308
+ }
48309
+ }
48310
+ },
48311
+ {
48312
+ "kind": "method",
48313
+ "name": "handleHeaderSlotChange",
48314
+ "privacy": "private",
48315
+ "parameters": [
48316
+ {
48317
+ "name": "event",
48318
+ "type": {
48319
+ "text": "Event",
48320
+ "references": [
48321
+ {
48322
+ "name": "Event",
48323
+ "package": "global:",
48324
+ "start": 0,
48325
+ "end": 5
48326
+ }
48327
+ ]
48328
+ }
48329
+ }
48330
+ ],
48331
+ "return": {
48332
+ "type": {
48333
+ "text": "void"
48334
+ }
48335
+ }
48336
+ },
48337
+ {
48338
+ "kind": "method",
48339
+ "name": "syncHeaderState",
48340
+ "privacy": "private",
48341
+ "return": {
48342
+ "type": {
48343
+ "text": "void"
48344
+ }
48345
+ }
48346
+ },
48347
+ {
48348
+ "kind": "method",
48349
+ "name": "handleSlotChange",
48350
+ "privacy": "protected",
48351
+ "return": {
48352
+ "type": {
48353
+ "text": "void"
48354
+ }
48355
+ }
48356
+ },
48357
+ {
48358
+ "kind": "method",
48359
+ "name": "syncItemsLayout",
48360
+ "privacy": "private",
48361
+ "return": {
48362
+ "type": {
48363
+ "text": "void"
48364
+ }
48365
+ }
48366
+ }
48367
+ ],
48368
+ "customElement": true,
48369
+ "attributes": [
48370
+ {
48371
+ "name": "expanded",
48372
+ "type": {
48373
+ "text": "boolean"
48374
+ },
48375
+ "fieldName": "expanded"
48376
+ },
48377
+ {
48378
+ "name": "collapsible",
48379
+ "type": {
48380
+ "text": "boolean"
48381
+ },
48382
+ "fieldName": "collapsible"
48383
+ },
48384
+ {
48385
+ "name": "modal",
48386
+ "type": {
48387
+ "text": "boolean"
48388
+ },
48389
+ "fieldName": "modal"
48390
+ },
48391
+ {
48392
+ "name": "alignment",
48393
+ "type": {
48394
+ "text": "string"
48395
+ },
48396
+ "fieldName": "alignment"
48397
+ },
48398
+ {
48399
+ "name": "item-layout",
48400
+ "type": {
48401
+ "text": "string"
48402
+ },
48403
+ "fieldName": "itemLayout"
48404
+ },
48405
+ {
48406
+ "name": "selected-index",
48407
+ "type": {
48408
+ "text": "number"
48409
+ },
48410
+ "fieldName": "selectedIndex"
48411
+ }
48412
+ ],
48413
+ "events": [
48414
+ {
48415
+ "name": "change",
48416
+ "type": {
48417
+ "text": "Event",
48418
+ "references": [
48419
+ {
48420
+ "name": "Event",
48421
+ "package": "global:",
48422
+ "start": 0,
48423
+ "end": 5
48424
+ }
48425
+ ]
48426
+ },
48427
+ "description": "Fired when the selected item changes. --bubbles"
48428
+ },
48429
+ {
48430
+ "name": "toggle",
48431
+ "type": {
48432
+ "text": "Event",
48433
+ "references": [
48434
+ {
48435
+ "name": "Event",
48436
+ "package": "global:",
48437
+ "start": 0,
48438
+ "end": 5
48439
+ }
48440
+ ]
48441
+ },
48442
+ "description": "Fired when the expanded state is toggled. --bubbles"
48443
+ }
48444
+ ],
48445
+ "slots": [
48446
+ {
48447
+ "name": "-",
48448
+ "description": "Used to display navigation rail items (`md-gb-nav-rail-item`)."
48449
+ },
48450
+ {
48451
+ "name": "header",
48452
+ "description": "Used to display optional header controls (menu button, FAB)."
48453
+ }
48454
+ ],
48455
+ "cssParts": [
48456
+ {
48457
+ "name": "nav-rail",
48458
+ "description": "The navigation rail's root container."
48459
+ },
48460
+ {
48461
+ "name": "header",
48462
+ "description": "The navigation rail's header container."
48463
+ },
48464
+ {
48465
+ "name": "menu-button",
48466
+ "description": "The built-in expand/collapse menu button when `collapsible`."
48467
+ },
48468
+ {
48469
+ "name": "items",
48470
+ "description": "The navigation rail's items container."
48471
+ }
48472
+ ],
48473
+ "cssProperties": [
48474
+ {
48475
+ "name": "--container-color"
48476
+ },
48477
+ {
48478
+ "name": "--container-elevation"
48479
+ },
48480
+ {
48481
+ "name": "--container-shape"
48482
+ },
48483
+ {
48484
+ "name": "--container-vertical-padding"
48485
+ },
48486
+ {
48487
+ "name": "--container-width"
48488
+ },
48489
+ {
48490
+ "name": "--expanded-container-color"
48491
+ },
48492
+ {
48493
+ "name": "--expanded-container-width-maximum"
48494
+ },
48495
+ {
48496
+ "name": "--expanded-container-width-minimum"
48497
+ },
48498
+ {
48499
+ "name": "--expanded-modal-container-color"
48500
+ },
48501
+ {
48502
+ "name": "--header-space-minimum"
48503
+ },
48504
+ {
48505
+ "name": "--item-active-focused-icon-color"
48506
+ },
48507
+ {
48508
+ "name": "--item-active-focused-label-text-color"
48509
+ },
48510
+ {
48511
+ "name": "--item-active-hovered-icon-color"
48512
+ },
48513
+ {
48514
+ "name": "--item-active-hovered-label-text-color"
48515
+ },
48516
+ {
48517
+ "name": "--item-active-icon-color"
48518
+ },
48519
+ {
48520
+ "name": "--item-active-indicator-color"
48521
+ },
48522
+ {
48523
+ "name": "--item-active-indicator-height"
48524
+ },
48525
+ {
48526
+ "name": "--item-active-indicator-shape"
48527
+ },
48528
+ {
48529
+ "name": "--item-active-indicator-width"
48530
+ },
48531
+ {
48532
+ "name": "--item-active-label-text-color"
48533
+ },
48534
+ {
48535
+ "name": "--item-active-pressed-icon-color"
48536
+ },
48537
+ {
48538
+ "name": "--item-active-pressed-label-text-color"
48539
+ },
48540
+ {
48541
+ "name": "--item-active-state-layer-color"
48542
+ },
48543
+ {
48544
+ "name": "--item-container-height"
48545
+ },
48546
+ {
48547
+ "name": "--item-container-vertical-space"
48548
+ },
48549
+ {
48550
+ "name": "--item-full-width-leading-space"
48551
+ },
48552
+ {
48553
+ "name": "--item-full-width-trailing-space"
48554
+ },
48555
+ {
48556
+ "name": "--item-horizontal-active-indicator-height"
48557
+ },
48558
+ {
48559
+ "name": "--item-horizontal-icon-label-space"
48560
+ },
48561
+ {
48562
+ "name": "--item-icon-size"
48563
+ },
48564
+ {
48565
+ "name": "--item-inactive-focused-icon-color"
48566
+ },
48567
+ {
48568
+ "name": "--item-inactive-focused-label-text-color"
48569
+ },
48570
+ {
48571
+ "name": "--item-inactive-hovered-icon-color"
48572
+ },
48573
+ {
48574
+ "name": "--item-inactive-hovered-label-text-color"
48575
+ },
48576
+ {
48577
+ "name": "--item-inactive-icon-color"
48578
+ },
48579
+ {
48580
+ "name": "--item-inactive-label-text-color"
48581
+ },
48582
+ {
48583
+ "name": "--item-inactive-pressed-icon-color"
48584
+ },
48585
+ {
48586
+ "name": "--item-inactive-pressed-label-text-color"
48587
+ },
48588
+ {
48589
+ "name": "--item-inactive-state-layer-color"
48590
+ },
48591
+ {
48592
+ "name": "--item-label-text"
48593
+ },
48594
+ {
48595
+ "name": "--item-label-text-axes"
48596
+ },
48597
+ {
48598
+ "name": "--item-label-text-tracking"
48599
+ },
48600
+ {
48601
+ "name": "--item-vertical-icon-label-space"
48602
+ },
48603
+ {
48604
+ "name": "--item-vertical-leading-space"
48605
+ },
48606
+ {
48607
+ "name": "--item-vertical-trailing-space"
48608
+ },
48609
+ {
48610
+ "name": "--modal-container-elevation"
48611
+ },
48612
+ {
48613
+ "name": "--modal-container-shape"
48614
+ },
48615
+ {
48616
+ "name": "--motion-duration"
48617
+ },
48618
+ {
48619
+ "name": "--motion-easing"
48620
+ }
48621
+ ]
48622
+ }
48623
+ ],
48624
+ "exports": [
48625
+ {
48626
+ "kind": "js",
48627
+ "name": "NavRailElement",
48628
+ "declaration": {
48629
+ "name": "NavRailElement"
48630
+ }
48631
+ }
48632
+ ]
48633
+ },
48634
+ {
48635
+ "kind": "javascript-module",
48636
+ "path": "labs/gb/components/navrail/nav-rail-item-element.js",
48637
+ "declarations": [
48638
+ {
48639
+ "kind": "class",
48640
+ "name": "NavRailItemElement",
48641
+ "description": "A Material Design navigation rail item component.",
48642
+ "superclass": {
48643
+ "name": "AriaTabElement",
48644
+ "package": "@material/web",
48645
+ "module": "labs/aria/tabs/tab.js"
48646
+ },
48647
+ "members": [
48648
+ {
48649
+ "kind": "field",
48650
+ "name": "disabled",
48651
+ "description": "Whether the navigation rail item is disabled.",
48652
+ "privacy": "public",
48653
+ "type": {
48654
+ "text": "boolean"
48655
+ },
48656
+ "default": "false",
48657
+ "attribute": "disabled",
48658
+ "reflects": true
48659
+ },
48660
+ {
48661
+ "kind": "field",
48662
+ "name": "itemLayout",
48663
+ "description": "The layout orientation of the item ('vertical' or 'horizontal').",
48664
+ "privacy": "public",
48665
+ "type": {
48666
+ "text": "NavRailItemLayout",
48667
+ "references": [
48668
+ {
48669
+ "name": "NavRailItemLayout",
48670
+ "package": "@material/web",
48671
+ "module": "labs/gb/components/navrail/nav-rail.js",
48672
+ "start": 0,
48673
+ "end": 17
48674
+ }
48675
+ ]
48676
+ },
48677
+ "default": "'vertical'",
48678
+ "attribute": "item-layout",
48679
+ "reflects": true
48680
+ },
48681
+ {
48682
+ "kind": "field",
48683
+ "name": "label",
48684
+ "description": "Optional label text if not provided via default slot.",
48685
+ "privacy": "public",
48686
+ "type": {
48687
+ "text": "string"
48688
+ },
48689
+ "default": "''",
48690
+ "attribute": "label"
48691
+ },
48692
+ {
48693
+ "kind": "field",
48694
+ "name": "badge",
48695
+ "description": "Optional badge text (or 'dot' / 'true' for a small dot badge).",
48696
+ "privacy": "public",
48697
+ "type": {
48698
+ "text": "string"
48699
+ },
48700
+ "default": "''",
48701
+ "attribute": "badge"
48702
+ },
48703
+ {
48704
+ "kind": "field",
48705
+ "name": "selected",
48706
+ "privacy": "public",
48707
+ "type": {
48708
+ "text": "boolean"
48709
+ }
48710
+ },
48711
+ {
48712
+ "kind": "field",
48713
+ "name": "active",
48714
+ "privacy": "public",
48715
+ "type": {
48716
+ "text": "boolean"
48717
+ },
48718
+ "attribute": "active",
48719
+ "reflects": true
48720
+ },
48721
+ {
48722
+ "kind": "field",
48723
+ "name": "styles",
48724
+ "static": true,
48725
+ "privacy": "public",
48726
+ "type": {
48727
+ "text": "CSSResultOrNative[]",
48728
+ "references": [
48729
+ {
48730
+ "name": "CSSResultOrNative",
48731
+ "package": "lit",
48732
+ "start": 0,
48733
+ "end": 17
48734
+ }
48735
+ ]
48736
+ },
48737
+ "default": "[\n focusRingStyles,\n rippleStyles,\n navRailStyles,\n css`\n :host {\n display: flex;\n inline-size: 100%;\n outline: none;\n }\n\n :host(:hover) .nav-rail-item {\n --md-icon-color: var(--item-inactive-hovered-icon-color);\n color: var(--item-inactive-hovered-label-text-color);\n }\n\n :host(:focus-visible) .nav-rail-item,\n :host(:focus-within) .nav-rail-item {\n --md-icon-color: var(--item-inactive-focused-icon-color);\n color: var(--item-inactive-focused-label-text-color);\n }\n\n :host(:active) .nav-rail-item {\n --md-icon-color: var(--item-inactive-pressed-icon-color);\n color: var(--item-inactive-pressed-label-text-color);\n }\n\n :host(:hover)\n .nav-rail-item:is(.nav-rail-item-active, [aria-selected='true']) {\n --md-icon-color: var(--item-active-hovered-icon-color);\n color: var(--item-active-hovered-label-text-color);\n }\n\n :host(:focus-visible)\n .nav-rail-item:is(.nav-rail-item-active, [aria-selected='true']),\n :host(:focus-within)\n .nav-rail-item:is(.nav-rail-item-active, [aria-selected='true']) {\n --md-icon-color: var(--item-active-focused-icon-color);\n color: var(--item-active-focused-label-text-color);\n }\n\n :host(:active)\n .nav-rail-item:is(.nav-rail-item-active, [aria-selected='true']) {\n --md-icon-color: var(--item-active-pressed-icon-color);\n color: var(--item-active-pressed-label-text-color);\n }\n `,\n ]"
48738
+ },
48739
+ {
48740
+ "kind": "method",
48741
+ "name": "connectedCallback",
48742
+ "privacy": "public",
48743
+ "return": {
48744
+ "type": {
48745
+ "text": "void"
48746
+ }
48747
+ }
48748
+ },
48749
+ {
48750
+ "kind": "method",
48751
+ "name": "updated",
48752
+ "privacy": "protected",
48753
+ "parameters": [
48754
+ {
48755
+ "name": "changedProperties",
48756
+ "type": {
48757
+ "text": "PropertyValues<this>",
48758
+ "references": [
48759
+ {
48760
+ "name": "PropertyValues",
48761
+ "package": "lit",
48762
+ "start": 0,
48763
+ "end": 14
48764
+ }
48765
+ ]
48766
+ }
48767
+ }
48768
+ ],
48769
+ "return": {
48770
+ "type": {
48771
+ "text": "void"
48772
+ }
48773
+ }
48774
+ },
48775
+ {
48776
+ "kind": "method",
48777
+ "name": "render",
48778
+ "privacy": "protected",
48779
+ "return": {
48780
+ "type": {
48781
+ "text": "TemplateResult<1>",
48782
+ "references": [
48783
+ {
48784
+ "name": "TemplateResult",
48785
+ "package": "lit-html",
48786
+ "module": "development/lit-html.js",
48787
+ "start": 0,
48788
+ "end": 14
48789
+ }
48790
+ ]
48791
+ }
48792
+ }
48793
+ }
48794
+ ],
48795
+ "customElement": true,
48796
+ "attributes": [
48797
+ {
48798
+ "name": "active",
48799
+ "type": {
48800
+ "text": "boolean"
48801
+ },
48802
+ "fieldName": "active"
48803
+ },
48804
+ {
48805
+ "name": "disabled",
48806
+ "type": {
48807
+ "text": "boolean"
48808
+ },
48809
+ "fieldName": "disabled"
48810
+ },
48811
+ {
48812
+ "name": "item-layout",
48813
+ "type": {
48814
+ "text": "string"
48815
+ },
48816
+ "fieldName": "itemLayout"
48817
+ },
48818
+ {
48819
+ "name": "label",
48820
+ "type": {
48821
+ "text": "string"
48822
+ },
48823
+ "fieldName": "label"
48824
+ },
48825
+ {
48826
+ "name": "badge",
48827
+ "type": {
48828
+ "text": "string"
48829
+ },
48830
+ "fieldName": "badge"
48831
+ }
48832
+ ],
48833
+ "slots": [
48834
+ {
48835
+ "name": "-",
48836
+ "description": "Used to display the item's label text."
48837
+ },
48838
+ {
48839
+ "name": "icon",
48840
+ "description": "Used to display the item's icon (`md-gb-icon`)."
48841
+ },
48842
+ {
48843
+ "name": "badge",
48844
+ "description": "Used to display a custom badge on the item's icon."
48845
+ }
48846
+ ],
48847
+ "cssParts": [
48848
+ {
48849
+ "name": "nav-rail-item",
48850
+ "description": "The navigation rail item's presentational container."
48851
+ },
48852
+ {
48853
+ "name": "indicator",
48854
+ "description": "The active indicator / icon container element."
48855
+ },
48856
+ {
48857
+ "name": "label",
48858
+ "description": "The label text container element."
48859
+ }
48860
+ ]
48861
+ }
48862
+ ],
48863
+ "exports": [
48864
+ {
48865
+ "kind": "js",
48866
+ "name": "NavRailItemElement",
48867
+ "declaration": {
48868
+ "name": "NavRailItemElement"
48869
+ }
48870
+ }
48871
+ ]
48872
+ },
48873
+ {
48874
+ "kind": "javascript-module",
48875
+ "path": "labs/gb/components/navrail/nav-rail.cssresult.js",
48876
+ "declarations": [
48877
+ {
48878
+ "kind": "variable",
48879
+ "name": "styles",
48880
+ "type": {
48881
+ "text": "CSSResult",
48882
+ "references": [
48883
+ {
48884
+ "name": "CSSResult",
48885
+ "package": "lit",
48886
+ "module": "development/index.js",
48887
+ "start": 0,
48888
+ "end": 9
48889
+ }
48890
+ ]
48891
+ }
48892
+ },
48893
+ {
48894
+ "kind": "variable",
48895
+ "name": "default",
48896
+ "type": {
48897
+ "text": "CSSStyleSheet",
48898
+ "references": [
48899
+ {
48900
+ "name": "CSSStyleSheet",
48901
+ "package": "global:",
48902
+ "start": 0,
48903
+ "end": 13
48904
+ }
48905
+ ]
48906
+ }
48907
+ }
48908
+ ],
48909
+ "exports": [
48910
+ {
48911
+ "kind": "js",
48912
+ "name": "styles",
48913
+ "declaration": {
48914
+ "name": "styles"
48915
+ }
48916
+ },
48917
+ {
48918
+ "kind": "js",
48919
+ "name": "default",
48920
+ "declaration": {
48921
+ "name": "default"
48922
+ }
48923
+ }
48924
+ ]
48925
+ },
48926
+ {
48927
+ "kind": "javascript-module",
48928
+ "path": "labs/gb/components/navrail/nav-rail.js",
48929
+ "declarations": [
48930
+ {
48931
+ "kind": "variable",
48932
+ "name": "NAV_RAIL_ALIGNMENTS",
48933
+ "description": "Navigation rail vertical alignment configurations.",
48934
+ "type": {
48935
+ "text": "{ readonly top: \"top\"; readonly center: \"center\"; readonly bottom: \"bottom\"; }"
48936
+ }
48937
+ },
48938
+ {
48939
+ "kind": "variable",
48940
+ "name": "NAV_RAIL_ITEM_LAYOUTS",
48941
+ "description": "Navigation rail item layout configurations.",
48942
+ "type": {
48943
+ "text": "{ readonly vertical: \"vertical\"; readonly horizontal: \"horizontal\"; }"
48944
+ }
48945
+ },
48946
+ {
48947
+ "kind": "variable",
48948
+ "name": "NAV_RAIL_CLASSES",
48949
+ "description": "Navigation rail classes constants.",
48950
+ "type": {
48951
+ "text": "{ readonly navRail: \"nav-rail\"; readonly navRailExpanded: \"nav-rail-expanded\"; readonly navRailModal: \"nav-rail-modal\"; readonly navRailAlignTop: \"nav-rail-align-top\"; readonly navRailAlignCenter: \"nav-rail-align-center\"; ... 5 more ...; readonly navRailItems: \"nav-rail-items\"; }"
48952
+ }
48953
+ },
48954
+ {
48955
+ "kind": "function",
48956
+ "name": "navRailClasses",
48957
+ "description": "Returns navigation rail classes to apply based on the given state.",
48958
+ "parameters": [
48959
+ {
48960
+ "name": "{\n alignment = NAV_RAIL_ALIGNMENTS.top,\n expanded = false,\n itemLayout = NAV_RAIL_ITEM_LAYOUTS.vertical,\n modal = false,\n}",
48961
+ "description": "The state of the navigation rail.",
48962
+ "type": {
48963
+ "text": "NavRailClassesState",
48964
+ "references": [
48965
+ {
48966
+ "name": "NavRailClassesState",
48967
+ "package": "@material/web",
48968
+ "module": "labs/gb/components/navrail/nav-rail.js",
48969
+ "start": 0,
48970
+ "end": 19
48971
+ }
48972
+ ]
48973
+ },
48974
+ "default": "{}",
48975
+ "optional": true
48976
+ }
48977
+ ],
48978
+ "return": {
48979
+ "type": {
48980
+ "text": "ClassInfo",
48981
+ "references": [
48982
+ {
48983
+ "name": "ClassInfo",
48984
+ "package": "lit",
48985
+ "module": "directives/class-map.js",
48986
+ "start": 0,
48987
+ "end": 9
48988
+ }
48989
+ ]
48990
+ },
48991
+ "description": "An object of class names and truthy values if they apply."
48992
+ }
48993
+ },
48994
+ {
48995
+ "kind": "variable",
48996
+ "name": "navRail",
48997
+ "description": "Lit directive for navigation rail element class styling.",
48998
+ "type": {
48999
+ "text": "(state?: NavRailClassesState & AdditionalClasses) => DirectiveResult<DirectiveClass>",
49000
+ "references": [
49001
+ {
49002
+ "name": "NavRailClassesState",
49003
+ "package": "@material/web",
49004
+ "module": "labs/gb/components/navrail/nav-rail.js",
49005
+ "start": 9,
49006
+ "end": 28
49007
+ },
49008
+ {
49009
+ "name": "AdditionalClasses",
49010
+ "package": "@material/web",
49011
+ "module": "labs/gb/components/shared/directives.js",
49012
+ "start": 31,
49013
+ "end": 48
49014
+ },
49015
+ {
49016
+ "name": "DirectiveResult",
49017
+ "package": "lit-html",
49018
+ "module": "development/directive.js",
49019
+ "start": 53,
49020
+ "end": 68
49021
+ }
49022
+ ]
49023
+ }
49024
+ },
49025
+ {
49026
+ "kind": "variable",
49027
+ "name": "NAV_RAIL_ITEM_CLASSES",
49028
+ "description": "Navigation rail item classes constants.",
49029
+ "type": {
49030
+ "text": "{ readonly navRailItem: \"nav-rail-item\"; readonly navRailItemActive: \"nav-rail-item-active\"; readonly navRailItemVertical: \"nav-rail-item-vertical\"; readonly navRailItemHorizontal: \"nav-rail-item-horizontal\"; ... 5 more ...; readonly navRailItemBadgeDot: \"nav-rail-item-badge-dot\"; }"
49031
+ }
49032
+ },
49033
+ {
49034
+ "kind": "function",
49035
+ "name": "navRailItemClasses",
49036
+ "description": "Returns navigation rail item classes to apply based on the given state.",
49037
+ "parameters": [
49038
+ {
49039
+ "name": "{\n active = false,\n disabled = false,\n itemLayout = NAV_RAIL_ITEM_LAYOUTS.vertical,\n selected = false,\n}",
49040
+ "description": "The state of the navigation rail item.",
49041
+ "type": {
49042
+ "text": "NavRailItemClassesState",
49043
+ "references": [
49044
+ {
49045
+ "name": "NavRailItemClassesState",
49046
+ "package": "@material/web",
49047
+ "module": "labs/gb/components/navrail/nav-rail.js",
49048
+ "start": 0,
49049
+ "end": 23
49050
+ }
49051
+ ]
49052
+ },
49053
+ "default": "{}",
49054
+ "optional": true
49055
+ }
49056
+ ],
49057
+ "return": {
49058
+ "type": {
49059
+ "text": "ClassInfo",
49060
+ "references": [
49061
+ {
49062
+ "name": "ClassInfo",
49063
+ "package": "lit",
49064
+ "module": "directives/class-map.js",
49065
+ "start": 0,
49066
+ "end": 9
49067
+ }
49068
+ ]
49069
+ },
49070
+ "description": "An object of class names and truthy values if they apply."
49071
+ }
49072
+ },
49073
+ {
49074
+ "kind": "function",
49075
+ "name": "setupNavRailItem",
49076
+ "description": "Sets up navigation rail item functionality for the given element.",
49077
+ "parameters": [
49078
+ {
49079
+ "name": "item",
49080
+ "description": "The element on which to set up navigation rail item behavior.",
49081
+ "type": {
49082
+ "text": "HTMLElement",
49083
+ "references": [
49084
+ {
49085
+ "name": "HTMLElement",
49086
+ "package": "global:",
49087
+ "start": 0,
49088
+ "end": 11
49089
+ }
49090
+ ]
49091
+ }
49092
+ },
49093
+ {
49094
+ "name": "opts",
49095
+ "description": "Setup options, supports a cleanup `signal`.",
49096
+ "type": {
49097
+ "text": "{ signal?: AbortSignal; }",
49098
+ "references": [
49099
+ {
49100
+ "name": "AbortSignal",
49101
+ "package": "global:",
49102
+ "start": 11,
49103
+ "end": 22
49104
+ }
49105
+ ]
49106
+ },
49107
+ "optional": true
49108
+ }
49109
+ ],
49110
+ "return": {
49111
+ "type": {
49112
+ "text": "void"
49113
+ }
49114
+ }
49115
+ },
49116
+ {
49117
+ "kind": "variable",
49118
+ "name": "navRailItem",
49119
+ "description": "Lit directive for navigation rail item element class styling.",
49120
+ "type": {
49121
+ "text": "(state?: NavRailItemClassesState & AdditionalClasses) => DirectiveResult<DirectiveClass>",
49122
+ "references": [
49123
+ {
49124
+ "name": "NavRailItemClassesState",
49125
+ "package": "@material/web",
49126
+ "module": "labs/gb/components/navrail/nav-rail.js",
49127
+ "start": 9,
49128
+ "end": 32
49129
+ },
49130
+ {
49131
+ "name": "AdditionalClasses",
49132
+ "package": "@material/web",
49133
+ "module": "labs/gb/components/shared/directives.js",
49134
+ "start": 35,
49135
+ "end": 52
49136
+ },
49137
+ {
49138
+ "name": "DirectiveResult",
49139
+ "package": "lit-html",
49140
+ "module": "development/directive.js",
49141
+ "start": 57,
49142
+ "end": 72
49143
+ }
49144
+ ]
49145
+ }
49146
+ }
49147
+ ],
49148
+ "exports": [
49149
+ {
49150
+ "kind": "js",
49151
+ "name": "NAV_RAIL_ALIGNMENTS",
49152
+ "declaration": {
49153
+ "name": "NAV_RAIL_ALIGNMENTS"
49154
+ }
49155
+ },
49156
+ {
49157
+ "kind": "js",
49158
+ "name": "NAV_RAIL_ITEM_LAYOUTS",
49159
+ "declaration": {
49160
+ "name": "NAV_RAIL_ITEM_LAYOUTS"
49161
+ }
49162
+ },
49163
+ {
49164
+ "kind": "js",
49165
+ "name": "NAV_RAIL_CLASSES",
49166
+ "declaration": {
49167
+ "name": "NAV_RAIL_CLASSES"
49168
+ }
49169
+ },
49170
+ {
49171
+ "kind": "js",
49172
+ "name": "navRailClasses",
49173
+ "declaration": {
49174
+ "name": "navRailClasses"
49175
+ }
49176
+ },
49177
+ {
49178
+ "kind": "js",
49179
+ "name": "navRail",
49180
+ "declaration": {
49181
+ "name": "navRail"
49182
+ }
49183
+ },
49184
+ {
49185
+ "kind": "js",
49186
+ "name": "NAV_RAIL_ITEM_CLASSES",
49187
+ "declaration": {
49188
+ "name": "NAV_RAIL_ITEM_CLASSES"
49189
+ }
49190
+ },
49191
+ {
49192
+ "kind": "js",
49193
+ "name": "navRailItemClasses",
49194
+ "declaration": {
49195
+ "name": "navRailItemClasses"
49196
+ }
49197
+ },
49198
+ {
49199
+ "kind": "js",
49200
+ "name": "setupNavRailItem",
49201
+ "declaration": {
49202
+ "name": "setupNavRailItem"
49203
+ }
49204
+ },
49205
+ {
49206
+ "kind": "js",
49207
+ "name": "navRailItem",
49208
+ "declaration": {
49209
+ "name": "navRailItem"
49210
+ }
49211
+ }
49212
+ ]
49213
+ },
47923
49214
  {
47924
49215
  "kind": "javascript-module",
47925
49216
  "path": "labs/gb/components/radio/md-gb-radio.js"