@material/web 2.5.1-nightly.56a486b.0 → 2.5.1-nightly.849b4dc.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 (72) hide show
  1. package/custom-elements.json +563 -8
  2. package/labs/gb/components/appbar/app-bar.css +1 -1
  3. package/labs/gb/components/appbar/app-bar.css.map +1 -1
  4. package/labs/gb/components/appbar/app-bar.cssresult.js +1 -1
  5. package/labs/gb/components/appbar/app-bar.cssresult.js.map +1 -1
  6. package/labs/gb/components/appbar/app-bar.scss +1 -0
  7. package/labs/gb/components/badge/badge.css +1 -1
  8. package/labs/gb/components/badge/badge.css.map +1 -1
  9. package/labs/gb/components/badge/badge.cssresult.js +1 -1
  10. package/labs/gb/components/badge/badge.cssresult.js.map +1 -1
  11. package/labs/gb/components/badge/badge.scss +1 -0
  12. package/labs/gb/components/button/button-element.d.ts +2 -0
  13. package/labs/gb/components/button/button-element.js +15 -2
  14. package/labs/gb/components/button/button-element.js.map +1 -1
  15. package/labs/gb/components/button/button.css +1 -1
  16. package/labs/gb/components/button/button.css.map +1 -1
  17. package/labs/gb/components/button/button.cssresult.js +1 -1
  18. package/labs/gb/components/button/button.cssresult.js.map +1 -1
  19. package/labs/gb/components/button/button.scss +1 -0
  20. package/labs/gb/components/chip/chip.css +1 -1
  21. package/labs/gb/components/chip/chip.css.map +1 -1
  22. package/labs/gb/components/chip/chip.cssresult.js +1 -1
  23. package/labs/gb/components/chip/chip.cssresult.js.map +1 -1
  24. package/labs/gb/components/chip/chip.scss +1 -0
  25. package/labs/gb/components/fab/fab.css +1 -1
  26. package/labs/gb/components/fab/fab.css.map +1 -1
  27. package/labs/gb/components/fab/fab.cssresult.js +1 -1
  28. package/labs/gb/components/fab/fab.cssresult.js.map +1 -1
  29. package/labs/gb/components/fab/fab.scss +1 -0
  30. package/labs/gb/components/iconbutton/icon-button-element.d.ts +2 -0
  31. package/labs/gb/components/iconbutton/icon-button-element.js +15 -2
  32. package/labs/gb/components/iconbutton/icon-button-element.js.map +1 -1
  33. package/labs/gb/components/iconbutton/icon-button.css +1 -1
  34. package/labs/gb/components/iconbutton/icon-button.css.map +1 -1
  35. package/labs/gb/components/iconbutton/icon-button.cssresult.js +1 -1
  36. package/labs/gb/components/iconbutton/icon-button.cssresult.js.map +1 -1
  37. package/labs/gb/components/iconbutton/icon-button.scss +1 -0
  38. package/labs/gb/components/list/list.css +1 -1
  39. package/labs/gb/components/list/list.css.map +1 -1
  40. package/labs/gb/components/list/list.cssresult.js +1 -1
  41. package/labs/gb/components/list/list.cssresult.js.map +1 -1
  42. package/labs/gb/components/list/list.scss +1 -0
  43. package/labs/gb/components/menu/menu.css +1 -1
  44. package/labs/gb/components/menu/menu.css.map +1 -1
  45. package/labs/gb/components/menu/menu.cssresult.js +1 -1
  46. package/labs/gb/components/menu/menu.cssresult.js.map +1 -1
  47. package/labs/gb/components/menu/menu.scss +1 -0
  48. package/labs/gb/components/shared/update-class-list.d.ts +22 -0
  49. package/labs/gb/components/shared/update-class-list.js +26 -0
  50. package/labs/gb/components/shared/update-class-list.js.map +1 -0
  51. package/labs/gb/components/toolbar/_toolbar-tokens.scss +70 -0
  52. package/labs/gb/components/toolbar/md-gb-toolbar.d.ts +12 -0
  53. package/labs/gb/components/toolbar/md-gb-toolbar.js +8 -0
  54. package/labs/gb/components/toolbar/md-gb-toolbar.js.map +1 -0
  55. package/labs/gb/components/toolbar/toolbar-element.d.ts +56 -0
  56. package/labs/gb/components/toolbar/toolbar-element.js +120 -0
  57. package/labs/gb/components/toolbar/toolbar-element.js.map +1 -0
  58. package/labs/gb/components/toolbar/toolbar.css +4 -0
  59. package/labs/gb/components/toolbar/toolbar.css.map +1 -0
  60. package/labs/gb/components/toolbar/toolbar.cssresult.d.ts +3 -0
  61. package/labs/gb/components/toolbar/toolbar.cssresult.js +14 -0
  62. package/labs/gb/components/toolbar/toolbar.cssresult.js.map +1 -0
  63. package/labs/gb/components/toolbar/toolbar.d.ts +56 -0
  64. package/labs/gb/components/toolbar/toolbar.js +60 -0
  65. package/labs/gb/components/toolbar/toolbar.js.map +1 -0
  66. package/labs/gb/components/toolbar/toolbar.scss +240 -0
  67. package/labs/gb/styles/tailwind.css +1 -1
  68. package/labs/gb/styles/tailwind.css.map +1 -1
  69. package/labs/gb/styles/tailwind.cssresult.js +1 -1
  70. package/labs/gb/styles/tailwind.cssresult.js.map +1 -1
  71. package/labs/gb/styles/tailwind.scss +2 -0
  72. package/package.json +1 -1
@@ -38835,13 +38835,14 @@
38835
38835
  {
38836
38836
  "kind": "field",
38837
38837
  "name": "selected",
38838
- "description": "Whether or not the button is selected, when `type=\"toggle\"`.",
38838
+ "description": "Whether or not the button is selected, when `type=\"toggle\"`.\n\nTODO: replace reflected `[selected]` with `:state(selected)`",
38839
38839
  "privacy": "public",
38840
38840
  "type": {
38841
38841
  "text": "boolean"
38842
38842
  },
38843
38843
  "default": "false",
38844
- "attribute": "selected"
38844
+ "attribute": "selected",
38845
+ "reflects": true
38845
38846
  },
38846
38847
  {
38847
38848
  "kind": "field",
@@ -38930,7 +38931,8 @@
38930
38931
  "type": {
38931
38932
  "text": "string"
38932
38933
  },
38933
- "attribute": "type"
38934
+ "attribute": "type",
38935
+ "reflects": true
38934
38936
  },
38935
38937
  {
38936
38938
  "kind": "field",
@@ -38966,7 +38968,7 @@
38966
38968
  }
38967
38969
  ]
38968
38970
  },
38969
- "default": "[\n focusRingStyles,\n rippleStyles,\n buttonStyles,\n css`\n :host {\n display: inline-flex;\n isolation: isolate;\n }\n .btn {\n flex: 1;\n position: relative;\n }\n .btn:has([name='container'].has-slotted) {\n background-color: transparent;\n }\n .btn.btn-hide-outline {\n --outline-color: transparent;\n --container-elevation: var(--md-sys-elevation-shadow-0);\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 ]"
38971
+ "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 .btn.btn-hide-outline {\n --outline-color: transparent;\n --container-elevation: var(--md-sys-elevation-shadow-0);\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 ]"
38970
38972
  },
38971
38973
  {
38972
38974
  "kind": "method",
@@ -42624,13 +42626,14 @@
42624
42626
  {
42625
42627
  "kind": "field",
42626
42628
  "name": "selected",
42627
- "description": "Whether or not the button is selected, when `type=\"toggle\"`.",
42629
+ "description": "Whether or not the button is selected, when `type=\"toggle\"`.\n\nTODO: replace reflected `[selected]` with `:state(selected)`",
42628
42630
  "privacy": "public",
42629
42631
  "type": {
42630
42632
  "text": "boolean"
42631
42633
  },
42632
42634
  "default": "false",
42633
- "attribute": "selected"
42635
+ "attribute": "selected",
42636
+ "reflects": true
42634
42637
  },
42635
42638
  {
42636
42639
  "kind": "field",
@@ -42694,7 +42697,8 @@
42694
42697
  "type": {
42695
42698
  "text": "string"
42696
42699
  },
42697
- "attribute": "type"
42700
+ "attribute": "type",
42701
+ "reflects": true
42698
42702
  },
42699
42703
  {
42700
42704
  "kind": "field",
@@ -42730,7 +42734,7 @@
42730
42734
  }
42731
42735
  ]
42732
42736
  },
42733
- "default": "[\n focusRingStyles,\n rippleStyles,\n iconButtonStyles,\n css`\n :host {\n display: inline-flex;\n }\n .icon-btn {\n flex: 1;\n }\n `,\n ]"
42737
+ "default": "[\n focusRingStyles,\n rippleStyles,\n iconButtonStyles,\n css`\n :host {\n --md-icon-fill: 1;\n display: inline-flex;\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 .icon-btn {\n flex: 1;\n }\n `,\n ]"
42734
42738
  },
42735
42739
  {
42736
42740
  "kind": "method",
@@ -46386,6 +46390,64 @@
46386
46390
  }
46387
46391
  ]
46388
46392
  },
46393
+ {
46394
+ "kind": "javascript-module",
46395
+ "path": "labs/gb/components/shared/update-class-list.js",
46396
+ "declarations": [
46397
+ {
46398
+ "kind": "function",
46399
+ "name": "updateClassList",
46400
+ "description": "Updates an element's class list based on a key-value set of class names to\ntruthy values.\n\nAdds class names where the value is truthy, and removes class names where the\nvalue is falsy.\n\nNote: this function only iterates keys present in `classInfo`. A key that\ndisappears from the record across calls will NOT be removed (unlike Lit's\n`classMap` directive, which retains previous state). Callers must ensure\nthe same class keys are provided in all calls to the function.",
46401
+ "parameters": [
46402
+ {
46403
+ "name": "element",
46404
+ "description": "The element whose class list will be updated.",
46405
+ "type": {
46406
+ "text": "Element",
46407
+ "references": [
46408
+ {
46409
+ "name": "Element",
46410
+ "package": "global:",
46411
+ "start": 0,
46412
+ "end": 7
46413
+ }
46414
+ ]
46415
+ }
46416
+ },
46417
+ {
46418
+ "name": "classInfo",
46419
+ "description": "A ClassInfo record representing classes to toggle.",
46420
+ "type": {
46421
+ "text": "ClassInfo",
46422
+ "references": [
46423
+ {
46424
+ "name": "ClassInfo",
46425
+ "package": "lit",
46426
+ "module": "directives/class-map.js",
46427
+ "start": 0,
46428
+ "end": 9
46429
+ }
46430
+ ]
46431
+ }
46432
+ }
46433
+ ],
46434
+ "return": {
46435
+ "type": {
46436
+ "text": "void"
46437
+ }
46438
+ }
46439
+ }
46440
+ ],
46441
+ "exports": [
46442
+ {
46443
+ "kind": "js",
46444
+ "name": "updateClassList",
46445
+ "declaration": {
46446
+ "name": "updateClassList"
46447
+ }
46448
+ }
46449
+ ]
46450
+ },
46389
46451
  {
46390
46452
  "kind": "javascript-module",
46391
46453
  "path": "labs/gb/components/splitbutton/md-gb-split-button.js"
@@ -47480,6 +47542,499 @@
47480
47542
  }
47481
47543
  ]
47482
47544
  },
47545
+ {
47546
+ "kind": "javascript-module",
47547
+ "path": "labs/gb/components/toolbar/md-gb-toolbar.js"
47548
+ },
47549
+ {
47550
+ "kind": "javascript-module",
47551
+ "path": "labs/gb/components/toolbar/toolbar-element.js",
47552
+ "declarations": [
47553
+ {
47554
+ "kind": "class",
47555
+ "name": "ToolbarElement",
47556
+ "description": "A Material Design gBreeze toolbar component.",
47557
+ "superclass": {
47558
+ "name": "LitElement",
47559
+ "package": "lit"
47560
+ },
47561
+ "members": [
47562
+ {
47563
+ "kind": "field",
47564
+ "name": "internals",
47565
+ "privacy": "protected",
47566
+ "type": {
47567
+ "text": "ElementInternals",
47568
+ "references": [
47569
+ {
47570
+ "name": "ElementInternals",
47571
+ "package": "global:",
47572
+ "start": 0,
47573
+ "end": 16
47574
+ }
47575
+ ]
47576
+ },
47577
+ "default": "this.attachInternals()"
47578
+ },
47579
+ {
47580
+ "kind": "field",
47581
+ "name": "color",
47582
+ "description": "The color scheme of the toolbar.",
47583
+ "privacy": "public",
47584
+ "type": {
47585
+ "text": "ToolbarColor",
47586
+ "references": [
47587
+ {
47588
+ "name": "ToolbarColor",
47589
+ "package": "@material/web",
47590
+ "module": "labs/gb/components/toolbar/toolbar.js",
47591
+ "start": 0,
47592
+ "end": 12
47593
+ }
47594
+ ]
47595
+ },
47596
+ "default": "'standard'",
47597
+ "attribute": "color",
47598
+ "reflects": true
47599
+ },
47600
+ {
47601
+ "kind": "field",
47602
+ "name": "orientation",
47603
+ "description": "The layout orientation.",
47604
+ "privacy": "public",
47605
+ "type": {
47606
+ "text": "ToolbarOrientation",
47607
+ "references": [
47608
+ {
47609
+ "name": "ToolbarOrientation",
47610
+ "package": "@material/web",
47611
+ "module": "labs/gb/components/toolbar/toolbar.js",
47612
+ "start": 0,
47613
+ "end": 18
47614
+ }
47615
+ ]
47616
+ },
47617
+ "default": "'horizontal'",
47618
+ "attribute": "orientation",
47619
+ "reflects": true
47620
+ },
47621
+ {
47622
+ "kind": "field",
47623
+ "name": "docked",
47624
+ "description": "Whether the toolbar is docked across full width.",
47625
+ "privacy": "public",
47626
+ "type": {
47627
+ "text": "boolean"
47628
+ },
47629
+ "default": "false",
47630
+ "attribute": "docked",
47631
+ "reflects": true
47632
+ },
47633
+ {
47634
+ "kind": "field",
47635
+ "name": "styles",
47636
+ "static": true,
47637
+ "privacy": "public",
47638
+ "type": {
47639
+ "text": "CSSResultOrNative[]",
47640
+ "references": [
47641
+ {
47642
+ "name": "CSSResultOrNative",
47643
+ "package": "lit",
47644
+ "start": 0,
47645
+ "end": 17
47646
+ }
47647
+ ]
47648
+ },
47649
+ "default": "[\n toolbarStyles,\n css`\n :host {\n display: inline-flex;\n }\n\n :host([docked]) {\n display: flex;\n width: 100%;\n }\n\n :host([docked]) [part='toolbar'] {\n width: 100%;\n }\n `,\n ]"
47650
+ },
47651
+ {
47652
+ "kind": "method",
47653
+ "name": "connectedCallback",
47654
+ "privacy": "public",
47655
+ "return": {
47656
+ "type": {
47657
+ "text": "void"
47658
+ }
47659
+ }
47660
+ },
47661
+ {
47662
+ "kind": "method",
47663
+ "name": "willUpdate",
47664
+ "privacy": "protected",
47665
+ "return": {
47666
+ "type": {
47667
+ "text": "void"
47668
+ }
47669
+ }
47670
+ },
47671
+ {
47672
+ "kind": "method",
47673
+ "name": "updated",
47674
+ "privacy": "protected",
47675
+ "parameters": [
47676
+ {
47677
+ "name": "changedProperties",
47678
+ "type": {
47679
+ "text": "PropertyValues<this>",
47680
+ "references": [
47681
+ {
47682
+ "name": "PropertyValues",
47683
+ "package": "lit",
47684
+ "start": 0,
47685
+ "end": 14
47686
+ }
47687
+ ]
47688
+ }
47689
+ }
47690
+ ],
47691
+ "return": {
47692
+ "type": {
47693
+ "text": "void"
47694
+ }
47695
+ }
47696
+ },
47697
+ {
47698
+ "kind": "method",
47699
+ "name": "render",
47700
+ "privacy": "protected",
47701
+ "return": {
47702
+ "type": {
47703
+ "text": "TemplateResult<1>",
47704
+ "references": [
47705
+ {
47706
+ "name": "TemplateResult",
47707
+ "package": "lit-html",
47708
+ "module": "development/lit-html.js",
47709
+ "start": 0,
47710
+ "end": 14
47711
+ }
47712
+ ]
47713
+ }
47714
+ }
47715
+ }
47716
+ ],
47717
+ "customElement": true,
47718
+ "attributes": [
47719
+ {
47720
+ "name": "color",
47721
+ "type": {
47722
+ "text": "string"
47723
+ },
47724
+ "fieldName": "color"
47725
+ },
47726
+ {
47727
+ "name": "orientation",
47728
+ "type": {
47729
+ "text": "string"
47730
+ },
47731
+ "fieldName": "orientation"
47732
+ },
47733
+ {
47734
+ "name": "docked",
47735
+ "type": {
47736
+ "text": "boolean"
47737
+ },
47738
+ "fieldName": "docked"
47739
+ }
47740
+ ],
47741
+ "slots": [
47742
+ {
47743
+ "name": "-",
47744
+ "description": "Used to display toolbar items (buttons, icon buttons, or custom\ncontent)."
47745
+ },
47746
+ {
47747
+ "name": "leading",
47748
+ "description": "Used to display leading toolbar items."
47749
+ },
47750
+ {
47751
+ "name": "trailing",
47752
+ "description": "Used to display trailing toolbar items."
47753
+ }
47754
+ ],
47755
+ "cssParts": [
47756
+ {
47757
+ "name": "toolbar",
47758
+ "description": "The toolbar's root container."
47759
+ }
47760
+ ],
47761
+ "cssProperties": [
47762
+ {
47763
+ "name": "--button-container-color"
47764
+ },
47765
+ {
47766
+ "name": "--container-color"
47767
+ },
47768
+ {
47769
+ "name": "--container-elevation"
47770
+ },
47771
+ {
47772
+ "name": "--container-leading-space"
47773
+ },
47774
+ {
47775
+ "name": "--container-shape"
47776
+ },
47777
+ {
47778
+ "name": "--container-spacing"
47779
+ },
47780
+ {
47781
+ "name": "--container-trailing-space"
47782
+ },
47783
+ {
47784
+ "name": "--docked-container-elevation"
47785
+ },
47786
+ {
47787
+ "name": "--docked-container-height"
47788
+ },
47789
+ {
47790
+ "name": "--docked-container-leading-space"
47791
+ },
47792
+ {
47793
+ "name": "--docked-container-max-spacing"
47794
+ },
47795
+ {
47796
+ "name": "--docked-container-min-spacing"
47797
+ },
47798
+ {
47799
+ "name": "--docked-container-shape"
47800
+ },
47801
+ {
47802
+ "name": "--docked-container-trailing-space"
47803
+ },
47804
+ {
47805
+ "name": "--horizontal-container-height"
47806
+ },
47807
+ {
47808
+ "name": "--icon-color"
47809
+ },
47810
+ {
47811
+ "name": "--label-text-color"
47812
+ },
47813
+ {
47814
+ "name": "--min-button-size"
47815
+ },
47816
+ {
47817
+ "name": "--motion-duration"
47818
+ },
47819
+ {
47820
+ "name": "--motion-easing"
47821
+ },
47822
+ {
47823
+ "name": "--selected-button-container-color"
47824
+ },
47825
+ {
47826
+ "name": "--selected-icon-color"
47827
+ },
47828
+ {
47829
+ "name": "--selected-label-text-color"
47830
+ },
47831
+ {
47832
+ "name": "--vertical-container-width"
47833
+ }
47834
+ ]
47835
+ }
47836
+ ],
47837
+ "exports": [
47838
+ {
47839
+ "kind": "js",
47840
+ "name": "ToolbarElement",
47841
+ "declaration": {
47842
+ "name": "ToolbarElement"
47843
+ }
47844
+ }
47845
+ ]
47846
+ },
47847
+ {
47848
+ "kind": "javascript-module",
47849
+ "path": "labs/gb/components/toolbar/toolbar.cssresult.js",
47850
+ "declarations": [
47851
+ {
47852
+ "kind": "variable",
47853
+ "name": "styles",
47854
+ "type": {
47855
+ "text": "CSSResult",
47856
+ "references": [
47857
+ {
47858
+ "name": "CSSResult",
47859
+ "package": "lit",
47860
+ "module": "development/index.js",
47861
+ "start": 0,
47862
+ "end": 9
47863
+ }
47864
+ ]
47865
+ }
47866
+ },
47867
+ {
47868
+ "kind": "variable",
47869
+ "name": "default",
47870
+ "type": {
47871
+ "text": "CSSStyleSheet",
47872
+ "references": [
47873
+ {
47874
+ "name": "CSSStyleSheet",
47875
+ "package": "global:",
47876
+ "start": 0,
47877
+ "end": 13
47878
+ }
47879
+ ]
47880
+ }
47881
+ }
47882
+ ],
47883
+ "exports": [
47884
+ {
47885
+ "kind": "js",
47886
+ "name": "styles",
47887
+ "declaration": {
47888
+ "name": "styles"
47889
+ }
47890
+ },
47891
+ {
47892
+ "kind": "js",
47893
+ "name": "default",
47894
+ "declaration": {
47895
+ "name": "default"
47896
+ }
47897
+ }
47898
+ ]
47899
+ },
47900
+ {
47901
+ "kind": "javascript-module",
47902
+ "path": "labs/gb/components/toolbar/toolbar.js",
47903
+ "declarations": [
47904
+ {
47905
+ "kind": "variable",
47906
+ "name": "TOOLBAR_COLORS",
47907
+ "description": "Toolbar color configurations.",
47908
+ "type": {
47909
+ "text": "{ readonly standard: \"standard\"; readonly vibrant: \"vibrant\"; }"
47910
+ }
47911
+ },
47912
+ {
47913
+ "kind": "variable",
47914
+ "name": "TOOLBAR_ORIENTATIONS",
47915
+ "description": "Toolbar orientation configurations.",
47916
+ "type": {
47917
+ "text": "{ readonly horizontal: \"horizontal\"; readonly vertical: \"vertical\"; }"
47918
+ }
47919
+ },
47920
+ {
47921
+ "kind": "variable",
47922
+ "name": "TOOLBAR_CLASSES",
47923
+ "description": "Toolbar classes constants.",
47924
+ "type": {
47925
+ "text": "{ readonly toolbar: \"toolbar\"; readonly toolbarStandard: \"toolbar-standard\"; readonly toolbarVibrant: \"toolbar-vibrant\"; readonly toolbarHorizontal: \"toolbar-horizontal\"; readonly toolbarVertical: \"toolbar-vertical\"; readonly toolbarDocked: \"toolbar-docked\"; }"
47926
+ }
47927
+ },
47928
+ {
47929
+ "kind": "function",
47930
+ "name": "toolbarClasses",
47931
+ "description": "Returns toolbar classes to apply based on the given state.",
47932
+ "parameters": [
47933
+ {
47934
+ "name": "{\n color = TOOLBAR_COLORS.standard,\n orientation = TOOLBAR_ORIENTATIONS.horizontal,\n docked = false,\n}",
47935
+ "description": "The state of the toolbar.",
47936
+ "type": {
47937
+ "text": "ToolbarClassesState",
47938
+ "references": [
47939
+ {
47940
+ "name": "ToolbarClassesState",
47941
+ "package": "@material/web",
47942
+ "module": "labs/gb/components/toolbar/toolbar.js",
47943
+ "start": 0,
47944
+ "end": 19
47945
+ }
47946
+ ]
47947
+ },
47948
+ "default": "{}",
47949
+ "optional": true
47950
+ }
47951
+ ],
47952
+ "return": {
47953
+ "type": {
47954
+ "text": "ClassInfo",
47955
+ "references": [
47956
+ {
47957
+ "name": "ClassInfo",
47958
+ "package": "lit",
47959
+ "module": "directives/class-map.js",
47960
+ "start": 0,
47961
+ "end": 9
47962
+ }
47963
+ ]
47964
+ },
47965
+ "description": "An object of class names and truthy values if they apply."
47966
+ }
47967
+ },
47968
+ {
47969
+ "kind": "variable",
47970
+ "name": "toolbar",
47971
+ "description": "Lit directive for element class styling.",
47972
+ "type": {
47973
+ "text": "(state?: ToolbarClassesState & AdditionalClasses) => DirectiveResult<DirectiveClass>",
47974
+ "references": [
47975
+ {
47976
+ "name": "ToolbarClassesState",
47977
+ "package": "@material/web",
47978
+ "module": "labs/gb/components/toolbar/toolbar.js",
47979
+ "start": 9,
47980
+ "end": 28
47981
+ },
47982
+ {
47983
+ "name": "AdditionalClasses",
47984
+ "package": "@material/web",
47985
+ "module": "labs/gb/components/shared/directives.js",
47986
+ "start": 31,
47987
+ "end": 48
47988
+ },
47989
+ {
47990
+ "name": "DirectiveResult",
47991
+ "package": "lit-html",
47992
+ "module": "development/directive.js",
47993
+ "start": 53,
47994
+ "end": 68
47995
+ }
47996
+ ]
47997
+ }
47998
+ }
47999
+ ],
48000
+ "exports": [
48001
+ {
48002
+ "kind": "js",
48003
+ "name": "TOOLBAR_COLORS",
48004
+ "declaration": {
48005
+ "name": "TOOLBAR_COLORS"
48006
+ }
48007
+ },
48008
+ {
48009
+ "kind": "js",
48010
+ "name": "TOOLBAR_ORIENTATIONS",
48011
+ "declaration": {
48012
+ "name": "TOOLBAR_ORIENTATIONS"
48013
+ }
48014
+ },
48015
+ {
48016
+ "kind": "js",
48017
+ "name": "TOOLBAR_CLASSES",
48018
+ "declaration": {
48019
+ "name": "TOOLBAR_CLASSES"
48020
+ }
48021
+ },
48022
+ {
48023
+ "kind": "js",
48024
+ "name": "toolbarClasses",
48025
+ "declaration": {
48026
+ "name": "toolbarClasses"
48027
+ }
48028
+ },
48029
+ {
48030
+ "kind": "js",
48031
+ "name": "toolbar",
48032
+ "declaration": {
48033
+ "name": "toolbar"
48034
+ }
48035
+ }
48036
+ ]
48037
+ },
47483
48038
  {
47484
48039
  "kind": "javascript-module",
47485
48040
  "path": "labs/gb/styles/adopt-styles.js",
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Copyright 2026 Google LLC
3
3
  * SPDX-License-Identifier: Apache-2.0
4
- */@layer md.sys;@layer md.comp.app-bar{.app-bar{--avatar-size: 32px;--container-color: var(--md-sys-color-surface);--container-elevation: var(--md-sys-elevation-shadow-0);--container-height: 64px;--container-shape: var(--md-sys-shape-corner-none);--icon-button-space: var(--md-sys-space-0);--icon-size: 24px;--label-text: unset;--label-text-axes: unset;--label-text-tracking: unset;--label-color: unset;--leading-icon-color: var(--md-sys-color-on-surface);--leading-space: var(--md-sys-space-50);--subtitle: var(--md-sys-typescale-label-md);--subtitle-axes: var(--md-sys-typescale-label-md-axes);--subtitle-color: var(--md-sys-color-on-surface-variant);--subtitle-tracking: var(--md-sys-typescale-label-md-tracking);--title: var(--md-sys-typescale-title-lg);--title-axes: var(--md-sys-typescale-title-lg-axes);--title-color: var(--md-sys-color-on-surface);--title-tracking: var(--md-sys-typescale-title-lg-tracking);--trailing-icon-color: var(--md-sys-color-on-surface-variant);--trailing-space: var(--md-sys-space-50)}.app-bar-md{--container-height: 112px;--subtitle: var(--md-sys-typescale-label-lg);--subtitle-axes: var(--md-sys-typescale-label-lg-axes);--subtitle-tracking: var(--md-sys-typescale-label-lg-tracking);--title: var(--md-sys-typescale-headline-md);--title-axes: var(--md-sys-typescale-headline-md-axes);--title-tracking: var(--md-sys-typescale-headline-md-tracking)}.app-bar-lg{--container-height: 120px;--subtitle: var(--md-sys-typescale-title-md);--subtitle-axes: var(--md-sys-typescale-title-md-axes);--subtitle-tracking: var(--md-sys-typescale-title-md-tracking);--title: var(--md-sys-typescale-display-sm);--title-axes: var(--md-sys-typescale-display-sm-axes);--title-tracking: var(--md-sys-typescale-display-sm-tracking)}.app-bar-with-subtitle{--container-height: 136px}.app-bar-with-subtitle.app-bar-lg{--container-height: 152px}.app-bar-search{--container-color: var(--md-sys-color-surface-container);--container-height: 56px;--container-shape: var(--md-sys-shape-corner-full);--label-text: var(--md-sys-typescale-body-lg);--label-text-axes: var(--md-sys-typescale-body-lg-axes);--label-text-tracking: var(--md-sys-typescale-body-lg-tracking);--label-color: var(--md-sys-color-on-surface-variant);--leading-space: var(--md-sys-space-100);--trailing-space: var(--md-sys-space-100)}.app-bar-scrolled{--container-color: var(--md-sys-color-surface-container);--container-elevation: var(--md-sys-elevation-shadow-2)}.app-bar-scrolled.app-bar-search{--container-color: var(--md-sys-color-surface-container-highest)}.app-bar{box-sizing:border-box;display:flex;position:relative;width:100%;min-height:var(--container-height);background-color:var(--container-color);border-radius:var(--container-shape);box-shadow:var(--container-elevation);color:var(--title-color);transition:background-color 200ms ease,box-shadow 200ms ease,min-height 200ms ease;padding-inline:var(--leading-space) var(--trailing-space)}.app-bar-sm,.app-bar-search{flex-direction:row;align-items:center;justify-content:space-between}.app-bar-md,.app-bar-lg{flex-direction:column;justify-content:space-between;align-items:stretch}.app-bar-md .app-bar-top-row,.app-bar-lg .app-bar-top-row{display:flex;flex-direction:row;align-items:center;justify-content:space-between;min-height:64px;width:100%}.app-bar-md .app-bar-bottom-row,.app-bar-lg .app-bar-bottom-row{display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:24px;padding-inline:12px;flex:1 1 auto;min-height:0}.app-bar-leading,.app-bar-trailing{display:flex;align-items:center;gap:var(--icon-button-space);flex-shrink:0}.app-bar-leading{color:var(--leading-icon-color)}.app-bar-trailing{color:var(--trailing-icon-color)}.app-bar-title-wrapper{display:flex;flex-direction:column;justify-content:center;flex:1 1 auto;min-width:0;overflow:hidden}.app-bar-sm .app-bar-title-wrapper{margin-inline:4px}.app-bar-title{margin:0;font:var(--title);font-variation-settings:var(--title-axes);letter-spacing:var(--title-tracking);color:var(--title-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-bar-title ::slotted(*){margin:0;font:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit}.app-bar-subtitle{margin:0;margin-top:2px;font:var(--subtitle);font-variation-settings:var(--subtitle-axes);letter-spacing:var(--subtitle-tracking);color:var(--subtitle-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-bar-subtitle ::slotted(*){margin:0;font:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit}.app-bar-search-container{display:flex;flex:1 1 auto;align-items:center;min-width:0;margin-inline:8px}}/*# sourceMappingURL=app-bar.css.map */
4
+ */@layer md.sys;@layer md.comp.app-bar{.app-bar{--avatar-size: 32px;--container-color: var(--md-sys-color-surface);--container-elevation: var(--md-sys-elevation-shadow-0);--container-height: 64px;--container-shape: var(--md-sys-shape-corner-none);--icon-button-space: var(--md-sys-space-0);--icon-size: 24px;--label-text: unset;--label-text-axes: unset;--label-text-tracking: unset;--label-color: unset;--leading-icon-color: var(--md-sys-color-on-surface);--leading-space: var(--md-sys-space-50);--subtitle: var(--md-sys-typescale-label-md);--subtitle-axes: var(--md-sys-typescale-label-md-axes);--subtitle-color: var(--md-sys-color-on-surface-variant);--subtitle-tracking: var(--md-sys-typescale-label-md-tracking);--title: var(--md-sys-typescale-title-lg);--title-axes: var(--md-sys-typescale-title-lg-axes);--title-color: var(--md-sys-color-on-surface);--title-tracking: var(--md-sys-typescale-title-lg-tracking);--trailing-icon-color: var(--md-sys-color-on-surface-variant);--trailing-space: var(--md-sys-space-50)}.app-bar-md{--container-height: 112px;--subtitle: var(--md-sys-typescale-label-lg);--subtitle-axes: var(--md-sys-typescale-label-lg-axes);--subtitle-tracking: var(--md-sys-typescale-label-lg-tracking);--title: var(--md-sys-typescale-headline-md);--title-axes: var(--md-sys-typescale-headline-md-axes);--title-tracking: var(--md-sys-typescale-headline-md-tracking)}.app-bar-lg{--container-height: 120px;--subtitle: var(--md-sys-typescale-title-md);--subtitle-axes: var(--md-sys-typescale-title-md-axes);--subtitle-tracking: var(--md-sys-typescale-title-md-tracking);--title: var(--md-sys-typescale-display-sm);--title-axes: var(--md-sys-typescale-display-sm-axes);--title-tracking: var(--md-sys-typescale-display-sm-tracking)}.app-bar-with-subtitle{--container-height: 136px}.app-bar-with-subtitle.app-bar-lg{--container-height: 152px}.app-bar-search{--container-color: var(--md-sys-color-surface-container);--container-height: 56px;--container-shape: var(--md-sys-shape-corner-full);--label-text: var(--md-sys-typescale-body-lg);--label-text-axes: var(--md-sys-typescale-body-lg-axes);--label-text-tracking: var(--md-sys-typescale-body-lg-tracking);--label-color: var(--md-sys-color-on-surface-variant);--leading-space: var(--md-sys-space-100);--trailing-space: var(--md-sys-space-100)}.app-bar-scrolled{--container-color: var(--md-sys-color-surface-container);--container-elevation: var(--md-sys-elevation-shadow-2)}.app-bar-scrolled.app-bar-search{--container-color: var(--md-sys-color-surface-container-highest)}.app-bar{box-sizing:border-box;display:flex;position:relative;width:100%;min-height:var(--container-height);background-color:var(--container-color);border-radius:var(--container-shape);box-shadow:var(--container-elevation);color:var(--title-color);-webkit-font-smoothing:antialiased;transition:background-color 200ms ease,box-shadow 200ms ease,min-height 200ms ease;padding-inline:var(--leading-space) var(--trailing-space)}.app-bar-sm,.app-bar-search{flex-direction:row;align-items:center;justify-content:space-between}.app-bar-md,.app-bar-lg{flex-direction:column;justify-content:space-between;align-items:stretch}.app-bar-md .app-bar-top-row,.app-bar-lg .app-bar-top-row{display:flex;flex-direction:row;align-items:center;justify-content:space-between;min-height:64px;width:100%}.app-bar-md .app-bar-bottom-row,.app-bar-lg .app-bar-bottom-row{display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:24px;padding-inline:12px;flex:1 1 auto;min-height:0}.app-bar-leading,.app-bar-trailing{display:flex;align-items:center;gap:var(--icon-button-space);flex-shrink:0}.app-bar-leading{color:var(--leading-icon-color)}.app-bar-trailing{color:var(--trailing-icon-color)}.app-bar-title-wrapper{display:flex;flex-direction:column;justify-content:center;flex:1 1 auto;min-width:0;overflow:hidden}.app-bar-sm .app-bar-title-wrapper{margin-inline:4px}.app-bar-title{margin:0;font:var(--title);font-variation-settings:var(--title-axes);letter-spacing:var(--title-tracking);color:var(--title-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-bar-title ::slotted(*){margin:0;font:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit}.app-bar-subtitle{margin:0;margin-top:2px;font:var(--subtitle);font-variation-settings:var(--subtitle-axes);letter-spacing:var(--subtitle-tracking);color:var(--subtitle-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-bar-subtitle ::slotted(*){margin:0;font:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit}.app-bar-search-container{display:flex;flex:1 1 auto;align-items:center;min-width:0;margin-inline:8px}}/*# sourceMappingURL=app-bar.css.map */
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["app-bar.scss","_app-bar-tokens.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA,GASA,cACA,uBAEE,SCGA,oBAEA,+CAEA,wDAEA,yBAEA,mDAEA,2CAEA,kBACA,oBACA,yBACA,6BACA,qBAEA,qDAEA,wCAEA,6CAEA,uDAEA,yDAEA,+DAEA,0CAEA,oDAEA,8CAEA,4DAEA,8DAEA,yCDxCA,YC8CA,0BAEA,6CAEA,uDAEA,+DAEA,6CAEA,uDAEA,+DDvDA,YC4DA,0BAEA,6CAEA,uDAEA,+DAEA,4CAEA,sDAEA,8DDrEA,uBC0EA,0BDvEA,kCC4EA,0BDzEA,gBC8EA,yDAEA,yBAEA,mDAEA,8CAEA,wDAEA,gEAEA,sDAEA,yCAEA,0CD3FA,kBCgGA,yDAEA,wDD/FA,iCCoGA,iED/FA,SACE,sBACA,aACA,kBACA,WACA,mCACA,wCACA,qCACA,sCACA,yBACA,WACE,wEAGF,0DAIF,4BAEE,mBACA,mBACA,8BAIF,wBAEE,sBACA,8BACA,oBAEA,0DACE,aACA,mBACA,mBACA,8BACA,gBACA,WAGF,gEACE,aACA,sBACA,yBACA,oBACA,oBACA,cACA,aAKJ,mCAEE,aACA,mBACA,6BACA,cAGF,iBACE,gCAGF,kBACE,iCAGF,uBACE,aACA,sBACA,uBACA,cACA,YACA,gBAGF,mCACE,kBAGF,eACE,SACA,kBACA,0CACA,qCACA,yBACA,mBACA,gBACA,uBAEA,4BACE,SACA,aACA,gCACA,uBACA,cAIJ,kBACE,SACA,eACA,qBACA,6CACA,wCACA,4BACA,mBACA,gBACA,uBAEA,+BACE,SACA,aACA,gCACA,uBACA,cAIJ,0BACE,aACA,cACA,mBACA,YACA","file":"app-bar.css"}
1
+ {"version":3,"sourceRoot":"","sources":["app-bar.scss","_app-bar-tokens.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA,GASA,cACA,uBAEE,SCGA,oBAEA,+CAEA,wDAEA,yBAEA,mDAEA,2CAEA,kBACA,oBACA,yBACA,6BACA,qBAEA,qDAEA,wCAEA,6CAEA,uDAEA,yDAEA,+DAEA,0CAEA,oDAEA,8CAEA,4DAEA,8DAEA,yCDxCA,YC8CA,0BAEA,6CAEA,uDAEA,+DAEA,6CAEA,uDAEA,+DDvDA,YC4DA,0BAEA,6CAEA,uDAEA,+DAEA,4CAEA,sDAEA,8DDrEA,uBC0EA,0BDvEA,kCC4EA,0BDzEA,gBC8EA,yDAEA,yBAEA,mDAEA,8CAEA,wDAEA,gEAEA,sDAEA,yCAEA,0CD3FA,kBCgGA,yDAEA,wDD/FA,iCCoGA,iED/FA,SACE,sBACA,aACA,kBACA,WACA,mCACA,wCACA,qCACA,sCACA,yBACA,mCACA,WACE,wEAGF,0DAIF,4BAEE,mBACA,mBACA,8BAIF,wBAEE,sBACA,8BACA,oBAEA,0DACE,aACA,mBACA,mBACA,8BACA,gBACA,WAGF,gEACE,aACA,sBACA,yBACA,oBACA,oBACA,cACA,aAKJ,mCAEE,aACA,mBACA,6BACA,cAGF,iBACE,gCAGF,kBACE,iCAGF,uBACE,aACA,sBACA,uBACA,cACA,YACA,gBAGF,mCACE,kBAGF,eACE,SACA,kBACA,0CACA,qCACA,yBACA,mBACA,gBACA,uBAEA,4BACE,SACA,aACA,gCACA,uBACA,cAIJ,kBACE,SACA,eACA,qBACA,6CACA,wCACA,4BACA,mBACA,gBACA,uBAEA,+BACE,SACA,aACA,gCACA,uBACA,cAIJ,0BACE,aACA,cACA,mBACA,YACA","file":"app-bar.css"}