@covalent/components 6.3.0 → 7.0.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 (173) hide show
  1. package/action-ribbon.js +6 -6
  2. package/action-ribbon.mjs +23 -24
  3. package/alert.js +4 -4
  4. package/alert.mjs +27 -28
  5. package/app-shell.js +4 -4
  6. package/app-shell.mjs +10 -10
  7. package/{base-element-d5abe37a.js → base-element-58a3f9ea.js} +1 -1
  8. package/{base-element-c3dc926e.mjs → base-element-67ae173f.mjs} +2 -2
  9. package/button.js +4 -4
  10. package/button.mjs +13 -13
  11. package/card.js +8 -8
  12. package/card.mjs +4 -4
  13. package/check-list-item.js +3 -3
  14. package/check-list-item.mjs +16 -16
  15. package/checkbox.js +1 -1
  16. package/checkbox.mjs +15 -15
  17. package/circular-progress.js +7 -7
  18. package/circular-progress.mjs +6 -6
  19. package/class-map-4b94b017.mjs +62 -0
  20. package/class-map-b5efe8da.js +9 -0
  21. package/code-snippet.js +9 -9
  22. package/code-snippet.mjs +1276 -1213
  23. package/{dialog-8ee07177.js → dialog-79036d60.js} +4 -4
  24. package/{dialog-85c21333.mjs → dialog-9ac44447.mjs} +39 -39
  25. package/dialog.js +1 -1
  26. package/dialog.mjs +8 -8
  27. package/{directive-helpers-fce8cf91.js → directive-helpers-0ce1f995.js} +2 -2
  28. package/{directive-helpers-725a181d.mjs → directive-helpers-e3ea6592.mjs} +3 -3
  29. package/drawer.js +1 -1
  30. package/drawer.mjs +8 -8
  31. package/empty-state.js +7 -7
  32. package/empty-state.mjs +4 -4
  33. package/{event-options-7bc382d8.js → event-options-3f5eb195.js} +1 -1
  34. package/{event-options-3937d997.mjs → event-options-78d6cf94.mjs} +1 -1
  35. package/{form-element-6dbd7afa.mjs → form-element-bd973124.mjs} +4 -4
  36. package/{form-element-d4e7bcdb.js → form-element-ead758d4.js} +2 -2
  37. package/{foundation-c580100a.mjs → foundation-3f556da7.mjs} +78 -28
  38. package/{foundation-3f55a9dc.js → foundation-62d4413d.js} +24 -3
  39. package/icon-button.js +5 -5
  40. package/icon-button.mjs +12 -12
  41. package/icon-check-toggle.js +5 -5
  42. package/icon-check-toggle.mjs +15 -15
  43. package/icon-radio-toggle.js +4 -4
  44. package/icon-radio-toggle.mjs +15 -15
  45. package/icon.js +1 -1
  46. package/icon.mjs +3 -3
  47. package/{if-defined-639ed018.mjs → if-defined-c367f208.mjs} +1 -1
  48. package/if-defined-f1c45245.js +5 -0
  49. package/index.js +1 -1
  50. package/index.mjs +120 -121
  51. package/linear-progress.js +6 -6
  52. package/linear-progress.mjs +13 -13
  53. package/{list-defdaa3b.js → list-05db7fed.js} +2 -2
  54. package/{list-d616957b.mjs → list-066f5de4.mjs} +3 -3
  55. package/list-expansion.js +4 -4
  56. package/list-expansion.mjs +25 -25
  57. package/{list-item-3fa66f09.js → list-item-8da7ba96.js} +3 -3
  58. package/{list-item-d5c05e10.mjs → list-item-ba77097d.mjs} +6 -6
  59. package/list-item.js +1 -1
  60. package/list-item.mjs +13 -13
  61. package/list.js +1 -1
  62. package/list.mjs +15 -15
  63. package/menu.js +1 -1
  64. package/menu.mjs +15 -15
  65. package/{mwc-checkbox-base-10e977f2.mjs → mwc-checkbox-base-3da36456.mjs} +21 -21
  66. package/{mwc-checkbox-base-435c1f1d.js → mwc-checkbox-base-d46c7666.js} +9 -9
  67. package/{mwc-checkbox.css-b7abc7fd.mjs → mwc-checkbox.css-8f4f1a9b.mjs} +1 -1
  68. package/{mwc-checkbox.css-956e3d6c.js → mwc-checkbox.css-b3434429.js} +1 -1
  69. package/{mwc-drawer-base-f44fcf34.js → mwc-drawer-base-8eecb1de.js} +6 -6
  70. package/{mwc-drawer-base-b2b772c3.mjs → mwc-drawer-base-fe660bdf.mjs} +10 -10
  71. package/{mwc-icon-b96fb867.js → mwc-icon-8c9cd0c9.js} +2 -2
  72. package/{mwc-icon-c7013880.mjs → mwc-icon-ba18383d.mjs} +2 -2
  73. package/{mwc-line-ripple-directive-a97ce725.js → mwc-line-ripple-directive-d1cf9570.js} +3 -3
  74. package/{mwc-line-ripple-directive-c3e1f04a.mjs → mwc-line-ripple-directive-ffce2cff.mjs} +6 -6
  75. package/{mwc-list-base-c0f8af1c.mjs → mwc-list-base-32d4ac31.mjs} +9 -9
  76. package/{mwc-list-base-7d5f7278.js → mwc-list-base-cb3500b4.js} +4 -4
  77. package/{mwc-list-item-base-803b9771.js → mwc-list-item-base-4a4d1e1b.js} +8 -8
  78. package/{mwc-list-item-base-acef0223.mjs → mwc-list-item-base-8654347d.mjs} +7 -7
  79. package/{mwc-list-item.css-401e2407.js → mwc-list-item.css-25adc0c4.js} +1 -1
  80. package/{mwc-list-item.css-b5481d96.mjs → mwc-list-item.css-b0009fc7.mjs} +1 -1
  81. package/{mwc-menu-base-8970b43d.mjs → mwc-menu-base-572a76b9.mjs} +11 -11
  82. package/{mwc-menu-base-ac49fe54.js → mwc-menu-base-f14ec544.js} +17 -17
  83. package/{mwc-radio-base-442d495a.js → mwc-radio-base-470b4fcc.js} +4 -4
  84. package/{mwc-radio-base-c29e6f42.mjs → mwc-radio-base-9446d39b.mjs} +11 -11
  85. package/{mwc-radio.css-388ad26d.js → mwc-radio.css-4e140252.js} +1 -1
  86. package/{mwc-radio.css-4694aa9c.mjs → mwc-radio.css-7454bb11.mjs} +1 -1
  87. package/{mwc-slider.css-336f809b.mjs → mwc-slider.css-10adbaf8.mjs} +12 -12
  88. package/{mwc-slider.css-48f02f1e.js → mwc-slider.css-9dd57b10.js} +11 -11
  89. package/{mwc-tab-base-7fb3d339.mjs → mwc-tab-base-4ba47acc.mjs} +14 -14
  90. package/{mwc-tab-base-1a19b299.js → mwc-tab-base-fc3ffb43.js} +13 -13
  91. package/{mwc-top-app-bar-base-14e0a018.js → mwc-top-app-bar-base-0304e67f.js} +8 -8
  92. package/{mwc-top-app-bar-base-79c87e69.mjs → mwc-top-app-bar-base-adc4168a.mjs} +22 -24
  93. package/nav-list-item.js +2 -2
  94. package/nav-list-item.mjs +13 -13
  95. package/package.json +1 -1
  96. package/{property-074570d1.js → property-57f6f6fe.js} +1 -1
  97. package/{property-ca27685b.mjs → property-9b6ea53b.mjs} +9 -9
  98. package/{query-2ba749b7.js → query-680f1868.js} +1 -1
  99. package/{query-assigned-elements-514e5265.mjs → query-assigned-elements-4a39219d.mjs} +153 -152
  100. package/query-assigned-elements-f623705d.js +31 -0
  101. package/{query-assigned-nodes-9ec0fa5f.js → query-assigned-nodes-99eae71d.js} +1 -1
  102. package/{query-assigned-nodes-bea12e0c.mjs → query-assigned-nodes-df691e78.mjs} +1 -1
  103. package/{query-1e7846ea.mjs → query-d843aa92.mjs} +1 -1
  104. package/radio-list-item.js +3 -3
  105. package/radio-list-item.mjs +18 -18
  106. package/radio.js +1 -1
  107. package/radio.mjs +15 -15
  108. package/{ripple-handlers-227497d3.mjs → ripple-handlers-321219b8.mjs} +10 -10
  109. package/{ripple-handlers-2176f137.js → ripple-handlers-c82b1232.js} +5 -5
  110. package/select.js +10 -10
  111. package/select.mjs +20 -20
  112. package/side-sheet.js +2 -2
  113. package/side-sheet.mjs +21 -21
  114. package/slider-range.js +7 -7
  115. package/slider-range.mjs +13 -13
  116. package/slider.js +3 -3
  117. package/slider.mjs +15 -15
  118. package/snackbar.js +6 -6
  119. package/snackbar.mjs +12 -12
  120. package/state-0974a8e5.js +5 -0
  121. package/{state-6f7e570d.mjs → state-b5e865db.mjs} +1 -1
  122. package/status-header-item.js +3 -3
  123. package/status-header-item.mjs +15 -15
  124. package/status-header.js +2 -2
  125. package/status-header.mjs +3 -3
  126. package/style-map-88d2563f.js +5 -0
  127. package/style-map-bc3ed3e0.mjs +44 -0
  128. package/style.css +1 -1
  129. package/switch.js +8 -8
  130. package/switch.mjs +13 -13
  131. package/tab-bar.js +5 -5
  132. package/tab-bar.mjs +16 -16
  133. package/tab.js +1 -1
  134. package/tab.mjs +12 -12
  135. package/text-lockup.js +4 -4
  136. package/text-lockup.mjs +7 -7
  137. package/textarea.js +4 -4
  138. package/textarea.mjs +26 -26
  139. package/{textfield-507c6a06.js → textfield-0993c163.js} +12 -12
  140. package/{textfield-276b0ded.mjs → textfield-2cee5a1a.mjs} +14 -14
  141. package/textfield.js +1 -1
  142. package/textfield.mjs +14 -14
  143. package/toolbar.js +1 -1
  144. package/toolbar.mjs +8 -8
  145. package/tooltip/tooltip.d.ts.map +1 -1
  146. package/tooltip.js +32 -11
  147. package/tooltip.mjs +611 -516
  148. package/{top-app-bar-34e85527.js → top-app-bar-a531c1b4.js} +1 -1
  149. package/{top-app-bar-a236c3bc.mjs → top-app-bar-f83386e0.mjs} +1 -1
  150. package/top-app-bar-fixed.js +89 -5
  151. package/top-app-bar-fixed.mjs +279 -37
  152. package/top-app-bar.js +1 -1
  153. package/top-app-bar.mjs +9 -9
  154. package/tree-list-item.js +7 -7
  155. package/tree-list-item.mjs +6 -6
  156. package/tree-list.js +2 -2
  157. package/tree-list.mjs +1 -1
  158. package/tslib.es6-e6a11c8a.js +1 -0
  159. package/tslib.es6-f1eaf65c.mjs +82 -0
  160. package/typography.js +3 -3
  161. package/typography.mjs +2 -2
  162. package/{utils-dc65fdc9.mjs → utils-2932417c.mjs} +2 -2
  163. package/class-map-08c84aeb.mjs +0 -62
  164. package/class-map-50b8edb4.js +0 -9
  165. package/foundation-2334d146.mjs +0 -60
  166. package/foundation-e830bd94.js +0 -22
  167. package/if-defined-cb12d481.js +0 -5
  168. package/query-assigned-elements-07e38f46.js +0 -33
  169. package/state-949232e6.js +0 -5
  170. package/style-map-2cb0fb63.mjs +0 -40
  171. package/style-map-3056a771.js +0 -5
  172. package/tslib.es6-6b53b818.js +0 -1
  173. package/tslib.es6-b5e819a6.mjs +0 -82
@@ -1,4 +1,4 @@
1
- "use strict";const p=require("./query-assigned-elements-07e38f46.js");/**
1
+ "use strict";const p=require("./query-assigned-elements-f623705d.js");/**
2
2
  * @license
3
3
  * Copyright 2021 Google LLC
4
4
  * SPDX-LIcense-Identifier: Apache-2.0
@@ -1,4 +1,4 @@
1
- import { i as p } from "./query-assigned-elements-514e5265.mjs";
1
+ import { i as p } from "./query-assigned-elements-4a39219d.mjs";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2021 Google LLC
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements-07e38f46.js"),a=require("./mwc-top-app-bar-base-14e0a018.js"),d=require("./tslib.es6-6b53b818.js"),n=require("./top-app-bar-34e85527.js");require("./property-074570d1.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.js");require("./query-2ba749b7.js");require("./class-map-50b8edb4.js");/**
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./query-assigned-elements-f623705d.js"),d=require("./mwc-top-app-bar-base-0304e67f.js"),s=require("./tslib.es6-e6a11c8a.js"),f=require("./top-app-bar-a531c1b4.js");require("./property-57f6f6fe.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./query-680f1868.js");require("./class-map-b5efe8da.js");/**
2
2
  * @license
3
3
  * Copyright 2018 Google Inc.
4
4
  *
@@ -19,10 +19,94 @@
19
19
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  * THE SOFTWARE.
22
- */var c=function(e){d.__extends(r,e);function r(){var s=e!==null&&e.apply(this,arguments)||this;return s.wasScrolled=!1,s}return r.prototype.handleTargetScroll=function(){var s=this.adapter.getViewportScrollY();s<=0?this.wasScrolled&&(this.adapter.removeClass(a.cssClasses.FIXED_SCROLLED_CLASS),this.wasScrolled=!1):this.wasScrolled||(this.adapter.addClass(a.cssClasses.FIXED_SCROLLED_CLASS),this.wasScrolled=!0)},r}(a.MDCTopAppBarFoundation);const u=c;/**
22
+ */var c={FIXED_CLASS:"mdc-top-app-bar--fixed",FIXED_SCROLLED_CLASS:"mdc-top-app-bar--fixed-scrolled",SHORT_CLASS:"mdc-top-app-bar--short",SHORT_COLLAPSED_CLASS:"mdc-top-app-bar--short-collapsed",SHORT_HAS_ACTION_ITEM_CLASS:"mdc-top-app-bar--short-has-action-item"},p={DEBOUNCE_THROTTLE_RESIZE_TIME_MS:100,MAX_TOP_APP_BAR_HEIGHT:128},h={ACTION_ITEM_SELECTOR:".mdc-top-app-bar__action-item",NAVIGATION_EVENT:"MDCTopAppBar:nav",NAVIGATION_ICON_SELECTOR:".mdc-top-app-bar__navigation-icon",ROOT_SELECTOR:".mdc-top-app-bar",TITLE_SELECTOR:".mdc-top-app-bar__title"};/**
23
+ * @license
24
+ * Copyright 2016 Google Inc.
25
+ *
26
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
27
+ * of this software and associated documentation files (the "Software"), to deal
28
+ * in the Software without restriction, including without limitation the rights
29
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30
+ * copies of the Software, and to permit persons to whom the Software is
31
+ * furnished to do so, subject to the following conditions:
32
+ *
33
+ * The above copyright notice and this permission notice shall be included in
34
+ * all copies or substantial portions of the Software.
35
+ *
36
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42
+ * THE SOFTWARE.
43
+ */var T=function(){function r(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(r,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),r.prototype.init=function(){},r.prototype.destroy=function(){},r}();/**
44
+ * @license
45
+ * Copyright 2018 Google Inc.
46
+ *
47
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
48
+ * of this software and associated documentation files (the "Software"), to deal
49
+ * in the Software without restriction, including without limitation the rights
50
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
51
+ * copies of the Software, and to permit persons to whom the Software is
52
+ * furnished to do so, subject to the following conditions:
53
+ *
54
+ * The above copyright notice and this permission notice shall be included in
55
+ * all copies or substantial portions of the Software.
56
+ *
57
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
58
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
59
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
60
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
63
+ * THE SOFTWARE.
64
+ */var A=function(r){s.__extends(e,r);function e(t){return r.call(this,s.__assign(s.__assign({},e.defaultAdapter),t))||this}return Object.defineProperty(e,"strings",{get:function(){return h},enumerable:!1,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return c},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return p},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},getTopAppBarHeight:function(){return 0},notifyNavigationIconClicked:function(){},getViewportScrollY:function(){return 0},getTotalActionItems:function(){return 0}}},enumerable:!1,configurable:!0}),e.prototype.handleTargetScroll=function(){},e.prototype.handleWindowResize=function(){},e.prototype.handleNavigationClick=function(){this.adapter.notifyNavigationIconClicked()},e}(T);/**
65
+ * @license
66
+ * Copyright 2018 Google Inc.
67
+ *
68
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
69
+ * of this software and associated documentation files (the "Software"), to deal
70
+ * in the Software without restriction, including without limitation the rights
71
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
72
+ * copies of the Software, and to permit persons to whom the Software is
73
+ * furnished to do so, subject to the following conditions:
74
+ *
75
+ * The above copyright notice and this permission notice shall be included in
76
+ * all copies or substantial portions of the Software.
77
+ *
78
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
79
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
80
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
81
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
82
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
83
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
84
+ * THE SOFTWARE.
85
+ */var a=0,g=function(r){s.__extends(e,r);function e(t){var i=r.call(this,t)||this;return i.wasDocked=!0,i.isDockedShowing=!0,i.currentAppBarOffsetTop=0,i.isCurrentlyBeingResized=!1,i.resizeThrottleId=a,i.resizeDebounceId=a,i.lastScrollPosition=i.adapter.getViewportScrollY(),i.topAppBarHeight=i.adapter.getTopAppBarHeight(),i}return e.prototype.destroy=function(){r.prototype.destroy.call(this),this.adapter.setStyle("top","")},e.prototype.handleTargetScroll=function(){var t=Math.max(this.adapter.getViewportScrollY(),0),i=t-this.lastScrollPosition;this.lastScrollPosition=t,this.isCurrentlyBeingResized||(this.currentAppBarOffsetTop-=i,this.currentAppBarOffsetTop>0?this.currentAppBarOffsetTop=0:Math.abs(this.currentAppBarOffsetTop)>this.topAppBarHeight&&(this.currentAppBarOffsetTop=-this.topAppBarHeight),this.moveTopAppBar())},e.prototype.handleWindowResize=function(){var t=this;this.resizeThrottleId||(this.resizeThrottleId=setTimeout(function(){t.resizeThrottleId=a,t.throttledResizeHandler()},p.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)),this.isCurrentlyBeingResized=!0,this.resizeDebounceId&&clearTimeout(this.resizeDebounceId),this.resizeDebounceId=setTimeout(function(){t.handleTargetScroll(),t.isCurrentlyBeingResized=!1,t.resizeDebounceId=a},p.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)},e.prototype.checkForUpdate=function(){var t=-this.topAppBarHeight,i=this.currentAppBarOffsetTop<0,o=this.currentAppBarOffsetTop>t,n=i&&o;if(n)this.wasDocked=!1;else if(this.wasDocked){if(this.isDockedShowing!==o)return this.isDockedShowing=o,!0}else return this.wasDocked=!0,!0;return n},e.prototype.moveTopAppBar=function(){if(this.checkForUpdate()){var t=this.currentAppBarOffsetTop;Math.abs(t)>=this.topAppBarHeight&&(t=-p.MAX_TOP_APP_BAR_HEIGHT),this.adapter.setStyle("top",t+"px")}},e.prototype.throttledResizeHandler=function(){var t=this.adapter.getTopAppBarHeight();this.topAppBarHeight!==t&&(this.wasDocked=!1,this.currentAppBarOffsetTop-=this.topAppBarHeight-t,this.topAppBarHeight=t),this.handleTargetScroll()},e}(A);/**
86
+ * @license
87
+ * Copyright 2018 Google Inc.
88
+ *
89
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
90
+ * of this software and associated documentation files (the "Software"), to deal
91
+ * in the Software without restriction, including without limitation the rights
92
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
93
+ * copies of the Software, and to permit persons to whom the Software is
94
+ * furnished to do so, subject to the following conditions:
95
+ *
96
+ * The above copyright notice and this permission notice shall be included in
97
+ * all copies or substantial portions of the Software.
98
+ *
99
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
100
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
101
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
102
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
103
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
104
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
105
+ * THE SOFTWARE.
106
+ */var _=function(r){s.__extends(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.wasScrolled=!1,t}return e.prototype.handleTargetScroll=function(){var t=this.adapter.getViewportScrollY();t<=0?this.wasScrolled&&(this.adapter.removeClass(c.FIXED_SCROLLED_CLASS),this.wasScrolled=!1):this.wasScrolled||(this.adapter.addClass(c.FIXED_SCROLLED_CLASS),this.wasScrolled=!0)},e}(g);const S=_;/**
23
107
  * @license
24
108
  * Copyright 2019 Google LLC
25
109
  * SPDX-License-Identifier: Apache-2.0
26
- */class v extends a.TopAppBarBase{constructor(){super(...arguments),this.mdcFoundationClass=u}barClasses(){return Object.assign(Object.assign({},super.barClasses()),{"mdc-top-app-bar--fixed":!0})}registerListeners(){this.scrollTarget.addEventListener("scroll",this.handleTargetScroll,a.passiveEventOptionsIfSupported)}unregisterListeners(){this.scrollTarget.removeEventListener("scroll",this.handleTargetScroll)}}var C=Object.defineProperty,S=Object.getOwnPropertyDescriptor,T=(e,r,s,o)=>{for(var t=o>1?void 0:o?S(r,s):r,p=e.length-1,l;p>=0;p--)(l=e[p])&&(t=(o?l(r,s,t):l(t))||t);return o&&t&&C(r,s,t),t};exports.CovalentTopAppBarFixed=class extends v{};exports.CovalentTopAppBarFixed.styles=[n.styles,i.i`
27
- ${i.r(n.baseStyles)}
28
- `];exports.CovalentTopAppBarFixed=T([i.e("cv-top-app-bar-fixed")],exports.CovalentTopAppBarFixed);const h=exports.CovalentTopAppBarFixed;exports.default=h;
110
+ */class B extends d.TopAppBarBase{constructor(){super(...arguments),this.mdcFoundationClass=S}barClasses(){return Object.assign(Object.assign({},super.barClasses()),{"mdc-top-app-bar--fixed":!0})}registerListeners(){this.scrollTarget.addEventListener("scroll",this.handleTargetScroll,d.passiveEventOptionsIfSupported)}unregisterListeners(){this.scrollTarget.removeEventListener("scroll",this.handleTargetScroll)}}var C=Object.defineProperty,b=Object.getOwnPropertyDescriptor,O=(r,e,t,i)=>{for(var o=i>1?void 0:i?b(e,t):e,n=r.length-1,l;n>=0;n--)(l=r[n])&&(o=(i?l(e,t,o):l(o))||o);return i&&o&&C(e,t,o),o};exports.CovalentTopAppBarFixed=class extends B{};exports.CovalentTopAppBarFixed.styles=[f.styles,u.i`
111
+ ${u.r(f.baseStyles)}
112
+ `];exports.CovalentTopAppBarFixed=O([u.e("cv-top-app-bar-fixed")],exports.CovalentTopAppBarFixed);const v=exports.CovalentTopAppBarFixed;exports.default=v;
@@ -1,12 +1,107 @@
1
- import { i as n, r as c, e as d } from "./query-assigned-elements-514e5265.mjs";
2
- import { c as l, M as u, T as f, p as h } from "./mwc-top-app-bar-base-79c87e69.mjs";
3
- import { a as m } from "./tslib.es6-b5e819a6.mjs";
4
- import { s as v, b as S } from "./top-app-bar-a236c3bc.mjs";
5
- import "./property-ca27685b.mjs";
6
- import "./base-element-c3dc926e.mjs";
7
- import "./utils-dc65fdc9.mjs";
8
- import "./query-1e7846ea.mjs";
9
- import "./class-map-08c84aeb.mjs";
1
+ import { i as d, r as h, e as T } from "./query-assigned-elements-4a39219d.mjs";
2
+ import { T as g, p as A } from "./mwc-top-app-bar-base-adc4168a.mjs";
3
+ import { _ as u, a as f } from "./tslib.es6-f1eaf65c.mjs";
4
+ import { s as S, b as _ } from "./top-app-bar-f83386e0.mjs";
5
+ import "./property-9b6ea53b.mjs";
6
+ import "./base-element-67ae173f.mjs";
7
+ import "./utils-2932417c.mjs";
8
+ import "./query-d843aa92.mjs";
9
+ import "./class-map-4b94b017.mjs";
10
+ /**
11
+ * @license
12
+ * Copyright 2018 Google Inc.
13
+ *
14
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
15
+ * of this software and associated documentation files (the "Software"), to deal
16
+ * in the Software without restriction, including without limitation the rights
17
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
+ * copies of the Software, and to permit persons to whom the Software is
19
+ * furnished to do so, subject to the following conditions:
20
+ *
21
+ * The above copyright notice and this permission notice shall be included in
22
+ * all copies or substantial portions of the Software.
23
+ *
24
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
30
+ * THE SOFTWARE.
31
+ */
32
+ var c = {
33
+ FIXED_CLASS: "mdc-top-app-bar--fixed",
34
+ FIXED_SCROLLED_CLASS: "mdc-top-app-bar--fixed-scrolled",
35
+ SHORT_CLASS: "mdc-top-app-bar--short",
36
+ SHORT_COLLAPSED_CLASS: "mdc-top-app-bar--short-collapsed",
37
+ SHORT_HAS_ACTION_ITEM_CLASS: "mdc-top-app-bar--short-has-action-item"
38
+ }, s = {
39
+ DEBOUNCE_THROTTLE_RESIZE_TIME_MS: 100,
40
+ MAX_TOP_APP_BAR_HEIGHT: 128
41
+ }, b = {
42
+ ACTION_ITEM_SELECTOR: ".mdc-top-app-bar__action-item",
43
+ NAVIGATION_EVENT: "MDCTopAppBar:nav",
44
+ NAVIGATION_ICON_SELECTOR: ".mdc-top-app-bar__navigation-icon",
45
+ ROOT_SELECTOR: ".mdc-top-app-bar",
46
+ TITLE_SELECTOR: ".mdc-top-app-bar__title"
47
+ };
48
+ /**
49
+ * @license
50
+ * Copyright 2016 Google Inc.
51
+ *
52
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
53
+ * of this software and associated documentation files (the "Software"), to deal
54
+ * in the Software without restriction, including without limitation the rights
55
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
56
+ * copies of the Software, and to permit persons to whom the Software is
57
+ * furnished to do so, subject to the following conditions:
58
+ *
59
+ * The above copyright notice and this permission notice shall be included in
60
+ * all copies or substantial portions of the Software.
61
+ *
62
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
63
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
64
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
65
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
66
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
67
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
68
+ * THE SOFTWARE.
69
+ */
70
+ var O = (
71
+ /** @class */
72
+ function() {
73
+ function r(e) {
74
+ e === void 0 && (e = {}), this.adapter = e;
75
+ }
76
+ return Object.defineProperty(r, "cssClasses", {
77
+ get: function() {
78
+ return {};
79
+ },
80
+ enumerable: !1,
81
+ configurable: !0
82
+ }), Object.defineProperty(r, "strings", {
83
+ get: function() {
84
+ return {};
85
+ },
86
+ enumerable: !1,
87
+ configurable: !0
88
+ }), Object.defineProperty(r, "numbers", {
89
+ get: function() {
90
+ return {};
91
+ },
92
+ enumerable: !1,
93
+ configurable: !0
94
+ }), Object.defineProperty(r, "defaultAdapter", {
95
+ get: function() {
96
+ return {};
97
+ },
98
+ enumerable: !1,
99
+ configurable: !0
100
+ }), r.prototype.init = function() {
101
+ }, r.prototype.destroy = function() {
102
+ }, r;
103
+ }()
104
+ );
10
105
  /**
11
106
  * @license
12
107
  * Copyright 2018 Google Inc.
@@ -32,55 +127,202 @@ import "./class-map-08c84aeb.mjs";
32
127
  var C = (
33
128
  /** @class */
34
129
  function(r) {
35
- m(s, r);
36
- function s() {
37
- var e = r !== null && r.apply(this, arguments) || this;
38
- return e.wasScrolled = !1, e;
130
+ u(e, r);
131
+ function e(t) {
132
+ return r.call(this, f(f({}, e.defaultAdapter), t)) || this;
133
+ }
134
+ return Object.defineProperty(e, "strings", {
135
+ get: function() {
136
+ return b;
137
+ },
138
+ enumerable: !1,
139
+ configurable: !0
140
+ }), Object.defineProperty(e, "cssClasses", {
141
+ get: function() {
142
+ return c;
143
+ },
144
+ enumerable: !1,
145
+ configurable: !0
146
+ }), Object.defineProperty(e, "numbers", {
147
+ get: function() {
148
+ return s;
149
+ },
150
+ enumerable: !1,
151
+ configurable: !0
152
+ }), Object.defineProperty(e, "defaultAdapter", {
153
+ /**
154
+ * See {@link MDCTopAppBarAdapter} for typing information on parameters and return types.
155
+ */
156
+ get: function() {
157
+ return {
158
+ addClass: function() {
159
+ },
160
+ removeClass: function() {
161
+ },
162
+ hasClass: function() {
163
+ return !1;
164
+ },
165
+ setStyle: function() {
166
+ },
167
+ getTopAppBarHeight: function() {
168
+ return 0;
169
+ },
170
+ notifyNavigationIconClicked: function() {
171
+ },
172
+ getViewportScrollY: function() {
173
+ return 0;
174
+ },
175
+ getTotalActionItems: function() {
176
+ return 0;
177
+ }
178
+ };
179
+ },
180
+ enumerable: !1,
181
+ configurable: !0
182
+ }), e.prototype.handleTargetScroll = function() {
183
+ }, e.prototype.handleWindowResize = function() {
184
+ }, e.prototype.handleNavigationClick = function() {
185
+ this.adapter.notifyNavigationIconClicked();
186
+ }, e;
187
+ }(O)
188
+ );
189
+ /**
190
+ * @license
191
+ * Copyright 2018 Google Inc.
192
+ *
193
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
194
+ * of this software and associated documentation files (the "Software"), to deal
195
+ * in the Software without restriction, including without limitation the rights
196
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
197
+ * copies of the Software, and to permit persons to whom the Software is
198
+ * furnished to do so, subject to the following conditions:
199
+ *
200
+ * The above copyright notice and this permission notice shall be included in
201
+ * all copies or substantial portions of the Software.
202
+ *
203
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
204
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
205
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
206
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
207
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
208
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
209
+ * THE SOFTWARE.
210
+ */
211
+ var a = 0, m = (
212
+ /** @class */
213
+ function(r) {
214
+ u(e, r);
215
+ function e(t) {
216
+ var i = r.call(this, t) || this;
217
+ return i.wasDocked = !0, i.isDockedShowing = !0, i.currentAppBarOffsetTop = 0, i.isCurrentlyBeingResized = !1, i.resizeThrottleId = a, i.resizeDebounceId = a, i.lastScrollPosition = i.adapter.getViewportScrollY(), i.topAppBarHeight = i.adapter.getTopAppBarHeight(), i;
218
+ }
219
+ return e.prototype.destroy = function() {
220
+ r.prototype.destroy.call(this), this.adapter.setStyle("top", "");
221
+ }, e.prototype.handleTargetScroll = function() {
222
+ var t = Math.max(this.adapter.getViewportScrollY(), 0), i = t - this.lastScrollPosition;
223
+ this.lastScrollPosition = t, this.isCurrentlyBeingResized || (this.currentAppBarOffsetTop -= i, this.currentAppBarOffsetTop > 0 ? this.currentAppBarOffsetTop = 0 : Math.abs(this.currentAppBarOffsetTop) > this.topAppBarHeight && (this.currentAppBarOffsetTop = -this.topAppBarHeight), this.moveTopAppBar());
224
+ }, e.prototype.handleWindowResize = function() {
225
+ var t = this;
226
+ this.resizeThrottleId || (this.resizeThrottleId = setTimeout(function() {
227
+ t.resizeThrottleId = a, t.throttledResizeHandler();
228
+ }, s.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)), this.isCurrentlyBeingResized = !0, this.resizeDebounceId && clearTimeout(this.resizeDebounceId), this.resizeDebounceId = setTimeout(function() {
229
+ t.handleTargetScroll(), t.isCurrentlyBeingResized = !1, t.resizeDebounceId = a;
230
+ }, s.DEBOUNCE_THROTTLE_RESIZE_TIME_MS);
231
+ }, e.prototype.checkForUpdate = function() {
232
+ var t = -this.topAppBarHeight, i = this.currentAppBarOffsetTop < 0, o = this.currentAppBarOffsetTop > t, n = i && o;
233
+ if (n)
234
+ this.wasDocked = !1;
235
+ else if (this.wasDocked) {
236
+ if (this.isDockedShowing !== o)
237
+ return this.isDockedShowing = o, !0;
238
+ } else
239
+ return this.wasDocked = !0, !0;
240
+ return n;
241
+ }, e.prototype.moveTopAppBar = function() {
242
+ if (this.checkForUpdate()) {
243
+ var t = this.currentAppBarOffsetTop;
244
+ Math.abs(t) >= this.topAppBarHeight && (t = -s.MAX_TOP_APP_BAR_HEIGHT), this.adapter.setStyle("top", t + "px");
245
+ }
246
+ }, e.prototype.throttledResizeHandler = function() {
247
+ var t = this.adapter.getTopAppBarHeight();
248
+ this.topAppBarHeight !== t && (this.wasDocked = !1, this.currentAppBarOffsetTop -= this.topAppBarHeight - t, this.topAppBarHeight = t), this.handleTargetScroll();
249
+ }, e;
250
+ }(C)
251
+ );
252
+ /**
253
+ * @license
254
+ * Copyright 2018 Google Inc.
255
+ *
256
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
257
+ * of this software and associated documentation files (the "Software"), to deal
258
+ * in the Software without restriction, including without limitation the rights
259
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
260
+ * copies of the Software, and to permit persons to whom the Software is
261
+ * furnished to do so, subject to the following conditions:
262
+ *
263
+ * The above copyright notice and this permission notice shall be included in
264
+ * all copies or substantial portions of the Software.
265
+ *
266
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
267
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
268
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
269
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
270
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
271
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
272
+ * THE SOFTWARE.
273
+ */
274
+ var B = (
275
+ /** @class */
276
+ function(r) {
277
+ u(e, r);
278
+ function e() {
279
+ var t = r !== null && r.apply(this, arguments) || this;
280
+ return t.wasScrolled = !1, t;
39
281
  }
40
- return s.prototype.handleTargetScroll = function() {
41
- var e = this.adapter.getViewportScrollY();
42
- e <= 0 ? this.wasScrolled && (this.adapter.removeClass(l.FIXED_SCROLLED_CLASS), this.wasScrolled = !1) : this.wasScrolled || (this.adapter.addClass(l.FIXED_SCROLLED_CLASS), this.wasScrolled = !0);
43
- }, s;
44
- }(u)
282
+ return e.prototype.handleTargetScroll = function() {
283
+ var t = this.adapter.getViewportScrollY();
284
+ t <= 0 ? this.wasScrolled && (this.adapter.removeClass(c.FIXED_SCROLLED_CLASS), this.wasScrolled = !1) : this.wasScrolled || (this.adapter.addClass(c.FIXED_SCROLLED_CLASS), this.wasScrolled = !0);
285
+ }, e;
286
+ }(m)
45
287
  );
46
- const T = C;
288
+ const E = B;
47
289
  /**
48
290
  * @license
49
291
  * Copyright 2019 Google LLC
50
292
  * SPDX-License-Identifier: Apache-2.0
51
293
  */
52
- class F extends f {
294
+ class v extends g {
53
295
  constructor() {
54
- super(...arguments), this.mdcFoundationClass = T;
296
+ super(...arguments), this.mdcFoundationClass = E;
55
297
  }
56
298
  barClasses() {
57
299
  return Object.assign(Object.assign({}, super.barClasses()), { "mdc-top-app-bar--fixed": !0 });
58
300
  }
59
301
  registerListeners() {
60
- this.scrollTarget.addEventListener("scroll", this.handleTargetScroll, h);
302
+ this.scrollTarget.addEventListener("scroll", this.handleTargetScroll, A);
61
303
  }
62
304
  unregisterListeners() {
63
305
  this.scrollTarget.removeEventListener("scroll", this.handleTargetScroll);
64
306
  }
65
307
  }
66
- var g = Object.defineProperty, x = Object.getOwnPropertyDescriptor, _ = (r, s, e, a) => {
67
- for (var t = a > 1 ? void 0 : a ? x(s, e) : s, p = r.length - 1, i; p >= 0; p--)
68
- (i = r[p]) && (t = (a ? i(s, e, t) : i(t)) || t);
69
- return a && t && g(s, e, t), t;
308
+ var y = Object.defineProperty, I = Object.getOwnPropertyDescriptor, D = (r, e, t, i) => {
309
+ for (var o = i > 1 ? void 0 : i ? I(e, t) : e, n = r.length - 1, l; n >= 0; n--)
310
+ (l = r[n]) && (o = (i ? l(e, t, o) : l(o)) || o);
311
+ return i && o && y(e, t, o), o;
70
312
  };
71
- let o = class extends F {
313
+ let p = class extends v {
72
314
  };
73
- o.styles = [
74
- v,
75
- n`
76
- ${c(S)}
315
+ p.styles = [
316
+ S,
317
+ d`
318
+ ${h(_)}
77
319
  `
78
320
  ];
79
- o = _([
80
- d("cv-top-app-bar-fixed")
81
- ], o);
82
- const M = o;
321
+ p = D([
322
+ T("cv-top-app-bar-fixed")
323
+ ], p);
324
+ const N = p;
83
325
  export {
84
- o as CovalentTopAppBarFixed,
85
- M as default
326
+ p as CovalentTopAppBarFixed,
327
+ N as default
86
328
  };
package/top-app-bar.js CHANGED
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./query-assigned-elements-07e38f46.js"),n=require("./mwc-top-app-bar-base-14e0a018.js"),u=require("./top-app-bar-34e85527.js");require("./tslib.es6-6b53b818.js");require("./property-074570d1.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.js");require("./query-2ba749b7.js");require("./class-map-50b8edb4.js");var v=Object.defineProperty,i=Object.getOwnPropertyDescriptor,B=(o,r,a,p)=>{for(var e=p>1?void 0:p?i(r,a):r,t=o.length-1,s;t>=0;t--)(s=o[t])&&(e=(p?s(r,a,e):s(e))||e);return p&&e&&v(r,a,e),e};exports.CovalentTopAppBar=class extends n.TopAppBarBase{};exports.CovalentTopAppBar.styles=[u.styles,l.i`
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./query-assigned-elements-f623705d.js"),n=require("./mwc-top-app-bar-base-0304e67f.js"),u=require("./top-app-bar-a531c1b4.js");require("./tslib.es6-e6a11c8a.js");require("./property-57f6f6fe.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./query-680f1868.js");require("./class-map-b5efe8da.js");var v=Object.defineProperty,i=Object.getOwnPropertyDescriptor,B=(o,r,a,p)=>{for(var e=p>1?void 0:p?i(r,a):r,t=o.length-1,s;t>=0;t--)(s=o[t])&&(e=(p?s(r,a,e):s(e))||e);return p&&e&&v(r,a,e),e};exports.CovalentTopAppBar=class extends n.TopAppBarBase{};exports.CovalentTopAppBar.styles=[u.styles,l.i`
2
2
  ${l.r(u.baseStyles)}
3
3
  `];exports.CovalentTopAppBar=B([l.e("cv-top-app-bar")],exports.CovalentTopAppBar);const c=exports.CovalentTopAppBar;exports.default=c;
package/top-app-bar.mjs CHANGED
@@ -1,12 +1,12 @@
1
- import { i as l, r as i, e as f } from "./query-assigned-elements-514e5265.mjs";
2
- import { T as v } from "./mwc-top-app-bar-base-79c87e69.mjs";
3
- import { s as n, b as _ } from "./top-app-bar-a236c3bc.mjs";
4
- import "./tslib.es6-b5e819a6.mjs";
5
- import "./property-ca27685b.mjs";
6
- import "./base-element-c3dc926e.mjs";
7
- import "./utils-dc65fdc9.mjs";
8
- import "./query-1e7846ea.mjs";
9
- import "./class-map-08c84aeb.mjs";
1
+ import { i as l, r as i, e as f } from "./query-assigned-elements-4a39219d.mjs";
2
+ import { T as v } from "./mwc-top-app-bar-base-adc4168a.mjs";
3
+ import { s as n, b as _ } from "./top-app-bar-f83386e0.mjs";
4
+ import "./tslib.es6-f1eaf65c.mjs";
5
+ import "./property-9b6ea53b.mjs";
6
+ import "./base-element-67ae173f.mjs";
7
+ import "./utils-2932417c.mjs";
8
+ import "./query-d843aa92.mjs";
9
+ import "./class-map-4b94b017.mjs";
10
10
  var b = Object.defineProperty, c = Object.getOwnPropertyDescriptor, B = (m, r, e, o) => {
11
11
  for (var p = o > 1 ? void 0 : o ? c(r, e) : r, s = m.length - 1, a; s >= 0; s--)
12
12
  (a = m[s]) && (p = (o ? a(r, e, p) : a(p)) || p);
package/tree-list-item.js CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./query-assigned-elements-07e38f46.js"),n=require("./property-074570d1.js"),d=require("./class-map-50b8edb4.js"),l=`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-ripple-surface:before,.mdc-ripple-surface:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded:after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface:before,.mdc-ripple-surface:after{top:0%;left:0%;width:100%;height:100%}.mdc-ripple-surface.mdc-ripple-upgraded:after{width:var(--mdc-ripple-fg-size, 50%);height:var(--mdc-ripple-fg-size, 50%)}.mdc-ripple-surface:before,.mdc-ripple-surface:after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover:before,.mdc-ripple-surface.mdc-ripple-surface--hover:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused:before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded):after{transition:opacity .15s linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface:after,.mdc-ripple-surface:before{border-radius:0 16px 16px 0}.itemContent{padding:0 32px 0 var(--indent);margin-right:16px}.itemContent:hover{cursor:pointer;background-color:var(--mdc-theme-surface-neutral-highlight-hover);border-radius:0 16px 16px 0}.selected{background-color:var(--mdc-theme-surface-primary-highlight);color:var(--mdc-theme-primary);border-radius:0 16px 16px 0}.selected:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}.mainContent{display:flex;flex-direction:row;padding:4px 0}[name=label]::slotted(*){font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);letter-spacing:.25px;padding-left:16px}[name=extraContent]::slotted(*){padding-left:64px;padding-bottom:4px;margin-top:-4px;letter-spacing:.4px;color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}.hidden{display:none}.visible{display:flex;flex-direction:column}.endOfNest{padding:8px;padding-left:calc(var(--indent) + 20px);letter-spacing:.4px;user-select:none;color:var(--mdc-theme-text-disabled-on-background);font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}.arrowIcon{color:var(--mdc-theme-text-primary-on-background)}.open{transition:transform .1s ease-out;transform:rotate(90deg)}.close{transition:transform .1s ease-in;transform:rotate(0)}
2
- `;var m=Object.defineProperty,f=Object.getOwnPropertyDescriptor,o=(c,r,a,i)=>{for(var e=i>1?void 0:i?f(r,a):r,p=c.length-1,s;p>=0;p--)(s=c[p])&&(e=(i?s(r,a,e):s(e))||e);return i&&e&&m(r,a,e),e};exports.CovalentTreeListItem=class extends t.s{constructor(){super(...arguments),this.isOpen=!1,this.icon="",this.indentLevel=0,this.indentMultiple=16}render(){const r={hidden:!this.isOpen,visible:this.isOpen},a={open:this.isOpen,close:!this.isOpen},i="arrow_right",e=t.y`<cv-icon>${this.icon}</cv-icon>`,p=t.y`<cv-icon class="${d.o(a)} arrowIcon"
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./query-assigned-elements-f623705d.js"),n=require("./property-57f6f6fe.js"),d=require("./class-map-b5efe8da.js"),l=`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-ripple-surface:before,.mdc-ripple-surface:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded:after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface:before,.mdc-ripple-surface:after{top:0%;left:0%;width:100%;height:100%}.mdc-ripple-surface.mdc-ripple-upgraded:after{width:var(--mdc-ripple-fg-size, 50%);height:var(--mdc-ripple-fg-size, 50%)}.mdc-ripple-surface:before,.mdc-ripple-surface:after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover:before,.mdc-ripple-surface.mdc-ripple-surface--hover:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused:before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded):after{transition:opacity .15s linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface:after,.mdc-ripple-surface:before{border-radius:0 16px 16px 0}.itemContent{padding:0 32px 0 var(--indent);margin-right:16px}.itemContent:hover{cursor:pointer;background-color:var(--mdc-theme-surface-neutral-highlight-hover);border-radius:0 16px 16px 0}.selected{background-color:var(--mdc-theme-surface-primary-highlight);color:var(--mdc-theme-primary);border-radius:0 16px 16px 0}.selected:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}.mainContent{display:flex;flex-direction:row;padding:4px 0}[name=label]::slotted(*){font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);letter-spacing:.25px;padding-left:16px}[name=extraContent]::slotted(*){padding-left:64px;padding-bottom:4px;margin-top:-4px;letter-spacing:.4px;color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}.hidden{display:none}.visible{display:flex;flex-direction:column}.endOfNest{padding:8px;padding-left:calc(var(--indent) + 20px);letter-spacing:.4px;-webkit-user-select:none;user-select:none;color:var(--mdc-theme-text-disabled-on-background);font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}.arrowIcon{color:var(--mdc-theme-text-primary-on-background)}.open{transition:transform .1s ease-out;transform:rotate(90deg)}.close{transition:transform .1s ease-in;transform:rotate(0)}
2
+ `;var m=Object.defineProperty,f=Object.getOwnPropertyDescriptor,o=(c,t,a,i)=>{for(var e=i>1?void 0:i?f(t,a):t,p=c.length-1,s;p>=0;p--)(s=c[p])&&(e=(i?s(t,a,e):s(e))||e);return i&&e&&m(t,a,e),e};exports.CovalentTreeListItem=class extends r.s{constructor(){super(...arguments),this.isOpen=!1,this.icon="",this.indentLevel=0,this.indentMultiple=16}render(){const t={hidden:!this.isOpen,visible:this.isOpen},a={open:this.isOpen,close:!this.isOpen},i="arrow_right",e=r.x`<cv-icon>${this.icon}</cv-icon>`,p=r.x`<cv-icon class="${d.o(a)} arrowIcon"
3
3
  >${i}</cv-icon
4
- >`;return t.y`
4
+ >`;return r.x`
5
5
  <div
6
6
  class="itemContent mdc-ripple-surface"
7
7
  @click="${this._handleClick}"
@@ -13,7 +13,7 @@
13
13
  </div>
14
14
  <slot name="extraContent"></slot>
15
15
  </div>
16
- <slot name="nest" class="${d.o(r)}">
16
+ <slot name="nest" class="${d.o(t)}">
17
17
  <div
18
18
  class="endOfNest"
19
19
  style="--indent:${this.indentLevel*this.indentMultiple+this.indentMultiple}px"
@@ -21,6 +21,6 @@
21
21
  No results
22
22
  </div>
23
23
  </slot>
24
- `}_handleClick(){this.isOpen=!this.isOpen;const r=new CustomEvent("select",{detail:{message:`Emitting an event from ${this}`},bubbles:!0,composed:!0});this.dispatchEvent(r)}};exports.CovalentTreeListItem.styles=[t.i`
25
- ${t.r(l)}
26
- `];o([n.e({type:Boolean})],exports.CovalentTreeListItem.prototype,"isOpen",2);o([n.e({type:String})],exports.CovalentTreeListItem.prototype,"icon",2);o([n.e({type:Number})],exports.CovalentTreeListItem.prototype,"indentLevel",2);o([n.e({type:Number})],exports.CovalentTreeListItem.prototype,"indentMultiple",2);exports.CovalentTreeListItem=o([t.e("cv-tree-list-item")],exports.CovalentTreeListItem);const u=exports.CovalentTreeListItem;exports.default=u;
24
+ `}_handleClick(){this.isOpen=!this.isOpen;const t=new CustomEvent("select",{detail:{message:`Emitting an event from ${this}`},bubbles:!0,composed:!0});this.dispatchEvent(t)}};exports.CovalentTreeListItem.styles=[r.i`
25
+ ${r.r(l)}
26
+ `];o([n.n({type:Boolean})],exports.CovalentTreeListItem.prototype,"isOpen",2);o([n.n({type:String})],exports.CovalentTreeListItem.prototype,"icon",2);o([n.n({type:Number})],exports.CovalentTreeListItem.prototype,"indentLevel",2);o([n.n({type:Number})],exports.CovalentTreeListItem.prototype,"indentMultiple",2);exports.CovalentTreeListItem=o([r.e("cv-tree-list-item")],exports.CovalentTreeListItem);const u=exports.CovalentTreeListItem;exports.default=u;
@@ -1,7 +1,7 @@
1
- import { i as m, r as f, s as g, y as s, e as h } from "./query-assigned-elements-514e5265.mjs";
2
- import { e as n } from "./property-ca27685b.mjs";
3
- import { o as l } from "./class-map-08c84aeb.mjs";
4
- const u = `.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-ripple-surface:before,.mdc-ripple-surface:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded:after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface:before,.mdc-ripple-surface:after{top:0%;left:0%;width:100%;height:100%}.mdc-ripple-surface.mdc-ripple-upgraded:after{width:var(--mdc-ripple-fg-size, 50%);height:var(--mdc-ripple-fg-size, 50%)}.mdc-ripple-surface:before,.mdc-ripple-surface:after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover:before,.mdc-ripple-surface.mdc-ripple-surface--hover:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused:before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded):after{transition:opacity .15s linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface:after,.mdc-ripple-surface:before{border-radius:0 16px 16px 0}.itemContent{padding:0 32px 0 var(--indent);margin-right:16px}.itemContent:hover{cursor:pointer;background-color:var(--mdc-theme-surface-neutral-highlight-hover);border-radius:0 16px 16px 0}.selected{background-color:var(--mdc-theme-surface-primary-highlight);color:var(--mdc-theme-primary);border-radius:0 16px 16px 0}.selected:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}.mainContent{display:flex;flex-direction:row;padding:4px 0}[name=label]::slotted(*){font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);letter-spacing:.25px;padding-left:16px}[name=extraContent]::slotted(*){padding-left:64px;padding-bottom:4px;margin-top:-4px;letter-spacing:.4px;color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}.hidden{display:none}.visible{display:flex;flex-direction:column}.endOfNest{padding:8px;padding-left:calc(var(--indent) + 20px);letter-spacing:.4px;user-select:none;color:var(--mdc-theme-text-disabled-on-background);font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}.arrowIcon{color:var(--mdc-theme-text-primary-on-background)}.open{transition:transform .1s ease-out;transform:rotate(90deg)}.close{transition:transform .1s ease-in;transform:rotate(0)}
1
+ import { i as m, r as f, s as g, x as s, e as u } from "./query-assigned-elements-4a39219d.mjs";
2
+ import { n } from "./property-9b6ea53b.mjs";
3
+ import { o as l } from "./class-map-4b94b017.mjs";
4
+ const h = `.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-ripple-surface:before,.mdc-ripple-surface:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded:after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface:before,.mdc-ripple-surface:after{top:0%;left:0%;width:100%;height:100%}.mdc-ripple-surface.mdc-ripple-upgraded:after{width:var(--mdc-ripple-fg-size, 50%);height:var(--mdc-ripple-fg-size, 50%)}.mdc-ripple-surface:before,.mdc-ripple-surface:after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover:before,.mdc-ripple-surface.mdc-ripple-surface--hover:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused:before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded):after{transition:opacity .15s linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface:after,.mdc-ripple-surface:before{border-radius:0 16px 16px 0}.itemContent{padding:0 32px 0 var(--indent);margin-right:16px}.itemContent:hover{cursor:pointer;background-color:var(--mdc-theme-surface-neutral-highlight-hover);border-radius:0 16px 16px 0}.selected{background-color:var(--mdc-theme-surface-primary-highlight);color:var(--mdc-theme-primary);border-radius:0 16px 16px 0}.selected:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}.mainContent{display:flex;flex-direction:row;padding:4px 0}[name=label]::slotted(*){font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);letter-spacing:.25px;padding-left:16px}[name=extraContent]::slotted(*){padding-left:64px;padding-bottom:4px;margin-top:-4px;letter-spacing:.4px;color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}.hidden{display:none}.visible{display:flex;flex-direction:column}.endOfNest{padding:8px;padding-left:calc(var(--indent) + 20px);letter-spacing:.4px;-webkit-user-select:none;user-select:none;color:var(--mdc-theme-text-disabled-on-background);font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}.arrowIcon{color:var(--mdc-theme-text-primary-on-background)}.open{transition:transform .1s ease-out;transform:rotate(90deg)}.close{transition:transform .1s ease-in;transform:rotate(0)}
5
5
  `;
6
6
  var v = Object.defineProperty, y = Object.getOwnPropertyDescriptor, o = (t, i, a, p) => {
7
7
  for (var e = p > 1 ? void 0 : p ? y(i, a) : i, c = t.length - 1, d; c >= 0; c--)
@@ -59,7 +59,7 @@ let r = class extends g {
59
59
  };
60
60
  r.styles = [
61
61
  m`
62
- ${f(u)}
62
+ ${f(h)}
63
63
  `
64
64
  ];
65
65
  o([
@@ -75,7 +75,7 @@ o([
75
75
  n({ type: Number })
76
76
  ], r.prototype, "indentMultiple", 2);
77
77
  r = o([
78
- h("cv-tree-list-item")
78
+ u("cv-tree-list-item")
79
79
  ], r);
80
80
  const z = r;
81
81
  export {