@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,5 +1,4 @@
1
- import { a as f, b as d } from "./tslib.es6-b5e819a6.mjs";
2
- import { M as m } from "./foundation-2334d146.mjs";
1
+ import { _ as p, a as u } from "./tslib.es6-f1eaf65c.mjs";
3
2
  /**
4
3
  * @license
5
4
  * Copyright 2020 Google Inc.
@@ -22,32 +21,89 @@ import { M as m } from "./foundation-2334d146.mjs";
22
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
22
  * THE SOFTWARE.
24
23
  */
25
- var s = {
24
+ var d = {
26
25
  CLOSING: "mdc-banner--closing",
27
26
  OPEN: "mdc-banner--open",
28
27
  OPENING: "mdc-banner--opening"
29
28
  }, c = {
30
29
  BANNER_ANIMATION_CLOSE_TIME_MS: 250,
31
30
  BANNER_ANIMATION_OPEN_TIME_MS: 300
32
- }, C = {
31
+ }, h = {
33
32
  CLOSED: "MDCBanner:closed",
34
33
  CLOSING: "MDCBanner:closing",
35
34
  OPENED: "MDCBanner:opened",
36
35
  OPENING: "MDCBanner:opening",
37
36
  ACTION_CLICKED: "MDCBanner:actionClicked"
38
- }, l = {
37
+ }, N = {
39
38
  CONTENT: ".mdc-banner__content",
40
39
  PRIMARY_ACTION: ".mdc-banner__primary-action",
41
40
  SECONDARY_ACTION: ".mdc-banner__secondary-action",
42
41
  TEXT: ".mdc-banner__text"
43
- }, a;
42
+ }, r;
44
43
  (function(e) {
45
44
  e[e.PRIMARY = 0] = "PRIMARY", e[e.SECONDARY = 1] = "SECONDARY", e[e.UNSPECIFIED = 2] = "UNSPECIFIED";
46
- })(a || (a = {}));
47
- var u;
45
+ })(r || (r = {}));
46
+ var a;
48
47
  (function(e) {
49
48
  e[e.PRIMARY = 0] = "PRIMARY", e[e.SECONDARY = 1] = "SECONDARY", e[e.UNKNOWN = 2] = "UNKNOWN";
50
- })(u || (u = {}));
49
+ })(a || (a = {}));
50
+ /**
51
+ * @license
52
+ * Copyright 2016 Google Inc.
53
+ *
54
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
55
+ * of this software and associated documentation files (the "Software"), to deal
56
+ * in the Software without restriction, including without limitation the rights
57
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
58
+ * copies of the Software, and to permit persons to whom the Software is
59
+ * furnished to do so, subject to the following conditions:
60
+ *
61
+ * The above copyright notice and this permission notice shall be included in
62
+ * all copies or substantial portions of the Software.
63
+ *
64
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
65
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
66
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
67
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
68
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
69
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
70
+ * THE SOFTWARE.
71
+ */
72
+ var m = (
73
+ /** @class */
74
+ function() {
75
+ function e(t) {
76
+ t === void 0 && (t = {}), this.adapter = t;
77
+ }
78
+ return Object.defineProperty(e, "cssClasses", {
79
+ get: function() {
80
+ return {};
81
+ },
82
+ enumerable: !1,
83
+ configurable: !0
84
+ }), Object.defineProperty(e, "strings", {
85
+ get: function() {
86
+ return {};
87
+ },
88
+ enumerable: !1,
89
+ configurable: !0
90
+ }), Object.defineProperty(e, "numbers", {
91
+ get: function() {
92
+ return {};
93
+ },
94
+ enumerable: !1,
95
+ configurable: !0
96
+ }), Object.defineProperty(e, "defaultAdapter", {
97
+ get: function() {
98
+ return {};
99
+ },
100
+ enumerable: !1,
101
+ configurable: !0
102
+ }), e.prototype.init = function() {
103
+ }, e.prototype.destroy = function() {
104
+ }, e;
105
+ }()
106
+ );
51
107
  /**
52
108
  * @license
53
109
  * Copyright 2020 Google Inc.
@@ -70,12 +126,12 @@ var u;
70
126
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
71
127
  * THE SOFTWARE.
72
128
  */
73
- var r = s.OPENING, p = s.OPEN, o = s.CLOSING, O = (
129
+ var o = d.OPENING, f = d.OPEN, s = d.CLOSING, C = (
74
130
  /** @class */
75
131
  function(e) {
76
- f(t, e);
132
+ p(t, e);
77
133
  function t(n) {
78
- var i = e.call(this, d(d({}, t.defaultAdapter), n)) || this;
134
+ var i = e.call(this, u(u({}, t.defaultAdapter), n)) || this;
79
135
  return i.isOpened = !1, i.animationFrame = 0, i.animationTimer = 0, i;
80
136
  }
81
137
  return Object.defineProperty(t, "defaultAdapter", {
@@ -112,41 +168,35 @@ var r = s.OPENING, p = s.OPEN, o = s.CLOSING, O = (
112
168
  cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, clearTimeout(this.animationTimer), this.animationTimer = 0;
113
169
  }, t.prototype.open = function() {
114
170
  var n = this;
115
- this.isOpened = !0, this.adapter.notifyOpening(), this.adapter.removeClass(o), this.adapter.addClass(r);
171
+ this.isOpened = !0, this.adapter.removeClass(s), this.adapter.addClass(o), this.adapter.notifyOpening();
116
172
  var i = this.adapter.getContentHeight();
117
173
  this.animationFrame = requestAnimationFrame(function() {
118
- n.adapter.addClass(p), n.adapter.setStyleProperty("height", i + "px"), n.animationTimer = setTimeout(function() {
174
+ n.adapter.addClass(f), n.adapter.setStyleProperty("height", i + "px"), n.animationTimer = setTimeout(function() {
119
175
  n.handleAnimationTimerEnd(), n.adapter.trapFocus(), n.adapter.notifyOpened();
120
176
  }, c.BANNER_ANIMATION_OPEN_TIME_MS);
121
177
  });
122
178
  }, t.prototype.close = function(n) {
123
179
  var i = this;
124
- this.isOpened && (cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, this.isOpened = !1, this.adapter.notifyClosing(n), this.adapter.addClass(o), this.adapter.setStyleProperty("height", "0"), this.adapter.removeClass(p), this.adapter.removeClass(r), clearTimeout(this.animationTimer), this.animationTimer = setTimeout(function() {
180
+ this.isOpened && (cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, this.isOpened = !1, this.adapter.notifyClosing(n), this.adapter.addClass(s), this.adapter.setStyleProperty("height", "0"), this.adapter.removeClass(f), this.adapter.removeClass(o), clearTimeout(this.animationTimer), this.animationTimer = setTimeout(function() {
125
181
  i.adapter.releaseFocus(), i.handleAnimationTimerEnd(), i.adapter.notifyClosed(n);
126
182
  }, c.BANNER_ANIMATION_CLOSE_TIME_MS));
127
183
  }, t.prototype.isOpen = function() {
128
184
  return this.isOpened;
129
185
  }, t.prototype.handlePrimaryActionClick = function(n) {
130
- n === void 0 && (n = !1), n ? this.adapter.notifyActionClicked(
131
- 0
132
- /* PRIMARY */
133
- ) : this.close(a.PRIMARY);
186
+ n === void 0 && (n = !1), n ? this.adapter.notifyActionClicked(a.PRIMARY) : this.close(r.PRIMARY);
134
187
  }, t.prototype.handleSecondaryActionClick = function(n) {
135
- n === void 0 && (n = !1), n ? this.adapter.notifyActionClicked(
136
- 1
137
- /* SECONDARY */
138
- ) : this.close(a.SECONDARY);
188
+ n === void 0 && (n = !1), n ? this.adapter.notifyActionClicked(a.SECONDARY) : this.close(r.SECONDARY);
139
189
  }, t.prototype.layout = function() {
140
190
  var n = this.adapter.getContentHeight();
141
191
  this.adapter.setStyleProperty("height", n + "px");
142
192
  }, t.prototype.handleAnimationTimerEnd = function() {
143
- this.animationTimer = 0, this.adapter.removeClass(r), this.adapter.removeClass(o);
193
+ this.animationTimer = 0, this.adapter.removeClass(o), this.adapter.removeClass(s);
144
194
  }, t;
145
195
  }(m)
146
196
  );
147
197
  export {
148
- a as C,
149
- O as M,
150
- C as e,
151
- l as s
198
+ r as C,
199
+ C as M,
200
+ h as e,
201
+ N as s
152
202
  };
@@ -1,4 +1,4 @@
1
- "use strict";const a=require("./tslib.es6-6b53b818.js"),f=require("./foundation-e830bd94.js");/**
1
+ "use strict";const a=require("./tslib.es6-e6a11c8a.js");/**
2
2
  * @license
3
3
  * Copyright 2020 Google Inc.
4
4
  *
@@ -19,7 +19,28 @@
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 s={CLOSING:"mdc-banner--closing",OPEN:"mdc-banner--open",OPENING:"mdc-banner--opening"},d={BANNER_ANIMATION_CLOSE_TIME_MS:250,BANNER_ANIMATION_OPEN_TIME_MS:300},p={CLOSED:"MDCBanner:closed",CLOSING:"MDCBanner:closing",OPENED:"MDCBanner:opened",OPENING:"MDCBanner:opening",ACTION_CLICKED:"MDCBanner:actionClicked"},m={CONTENT:".mdc-banner__content",PRIMARY_ACTION:".mdc-banner__primary-action",SECONDARY_ACTION:".mdc-banner__secondary-action",TEXT:".mdc-banner__text"};exports.CloseReason=void 0;(function(e){e[e.PRIMARY=0]="PRIMARY",e[e.SECONDARY=1]="SECONDARY",e[e.UNSPECIFIED=2]="UNSPECIFIED"})(exports.CloseReason||(exports.CloseReason={}));var c;(function(e){e[e.PRIMARY=0]="PRIMARY",e[e.SECONDARY=1]="SECONDARY",e[e.UNKNOWN=2]="UNKNOWN"})(c||(c={}));/**
22
+ */var d={CLOSING:"mdc-banner--closing",OPEN:"mdc-banner--open",OPENING:"mdc-banner--opening"},u={BANNER_ANIMATION_CLOSE_TIME_MS:250,BANNER_ANIMATION_OPEN_TIME_MS:300},f={CLOSED:"MDCBanner:closed",CLOSING:"MDCBanner:closing",OPENED:"MDCBanner:opened",OPENING:"MDCBanner:opening",ACTION_CLICKED:"MDCBanner:actionClicked"},p={CONTENT:".mdc-banner__content",PRIMARY_ACTION:".mdc-banner__primary-action",SECONDARY_ACTION:".mdc-banner__secondary-action",TEXT:".mdc-banner__text"};exports.CloseReason=void 0;(function(e){e[e.PRIMARY=0]="PRIMARY",e[e.SECONDARY=1]="SECONDARY",e[e.UNSPECIFIED=2]="UNSPECIFIED"})(exports.CloseReason||(exports.CloseReason={}));var r;(function(e){e[e.PRIMARY=0]="PRIMARY",e[e.SECONDARY=1]="SECONDARY",e[e.UNKNOWN=2]="UNKNOWN"})(r||(r={}));/**
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 l=function(){function e(t){t===void 0&&(t={}),this.adapter=t}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}();/**
23
44
  * @license
24
45
  * Copyright 2020 Google Inc.
25
46
  *
@@ -40,4 +61,4 @@
40
61
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
62
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42
63
  * THE SOFTWARE.
43
- */var r=s.OPENING,u=s.OPEN,o=s.CLOSING,h=function(e){a.__extends(t,e);function t(n){var i=e.call(this,a.__assign(a.__assign({},t.defaultAdapter),n))||this;return i.isOpened=!1,i.animationFrame=0,i.animationTimer=0,i}return Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},getContentHeight:function(){return 0},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},notifyActionClicked:function(){},releaseFocus:function(){},removeClass:function(){},setStyleProperty:function(){},trapFocus:function(){}}},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=0},t.prototype.open=function(){var n=this;this.isOpened=!0,this.adapter.notifyOpening(),this.adapter.removeClass(o),this.adapter.addClass(r);var i=this.adapter.getContentHeight();this.animationFrame=requestAnimationFrame(function(){n.adapter.addClass(u),n.adapter.setStyleProperty("height",i+"px"),n.animationTimer=setTimeout(function(){n.handleAnimationTimerEnd(),n.adapter.trapFocus(),n.adapter.notifyOpened()},d.BANNER_ANIMATION_OPEN_TIME_MS)})},t.prototype.close=function(n){var i=this;this.isOpened&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=0,this.isOpened=!1,this.adapter.notifyClosing(n),this.adapter.addClass(o),this.adapter.setStyleProperty("height","0"),this.adapter.removeClass(u),this.adapter.removeClass(r),clearTimeout(this.animationTimer),this.animationTimer=setTimeout(function(){i.adapter.releaseFocus(),i.handleAnimationTimerEnd(),i.adapter.notifyClosed(n)},d.BANNER_ANIMATION_CLOSE_TIME_MS))},t.prototype.isOpen=function(){return this.isOpened},t.prototype.handlePrimaryActionClick=function(n){n===void 0&&(n=!1),n?this.adapter.notifyActionClicked(0):this.close(exports.CloseReason.PRIMARY)},t.prototype.handleSecondaryActionClick=function(n){n===void 0&&(n=!1),n?this.adapter.notifyActionClicked(1):this.close(exports.CloseReason.SECONDARY)},t.prototype.layout=function(){var n=this.adapter.getContentHeight();this.adapter.setStyleProperty("height",n+"px")},t.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(r),this.adapter.removeClass(o)},t}(f.MDCFoundation);exports.MDCBannerFoundation=h;exports.events=p;exports.selectors=m;
64
+ */var o=d.OPENING,c=d.OPEN,s=d.CLOSING,m=function(e){a.__extends(t,e);function t(n){var i=e.call(this,a.__assign(a.__assign({},t.defaultAdapter),n))||this;return i.isOpened=!1,i.animationFrame=0,i.animationTimer=0,i}return Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},getContentHeight:function(){return 0},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},notifyActionClicked:function(){},releaseFocus:function(){},removeClass:function(){},setStyleProperty:function(){},trapFocus:function(){}}},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=0},t.prototype.open=function(){var n=this;this.isOpened=!0,this.adapter.removeClass(s),this.adapter.addClass(o),this.adapter.notifyOpening();var i=this.adapter.getContentHeight();this.animationFrame=requestAnimationFrame(function(){n.adapter.addClass(c),n.adapter.setStyleProperty("height",i+"px"),n.animationTimer=setTimeout(function(){n.handleAnimationTimerEnd(),n.adapter.trapFocus(),n.adapter.notifyOpened()},u.BANNER_ANIMATION_OPEN_TIME_MS)})},t.prototype.close=function(n){var i=this;this.isOpened&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=0,this.isOpened=!1,this.adapter.notifyClosing(n),this.adapter.addClass(s),this.adapter.setStyleProperty("height","0"),this.adapter.removeClass(c),this.adapter.removeClass(o),clearTimeout(this.animationTimer),this.animationTimer=setTimeout(function(){i.adapter.releaseFocus(),i.handleAnimationTimerEnd(),i.adapter.notifyClosed(n)},u.BANNER_ANIMATION_CLOSE_TIME_MS))},t.prototype.isOpen=function(){return this.isOpened},t.prototype.handlePrimaryActionClick=function(n){n===void 0&&(n=!1),n?this.adapter.notifyActionClicked(r.PRIMARY):this.close(exports.CloseReason.PRIMARY)},t.prototype.handleSecondaryActionClick=function(n){n===void 0&&(n=!1),n?this.adapter.notifyActionClicked(r.SECONDARY):this.close(exports.CloseReason.SECONDARY)},t.prototype.layout=function(){var n=this.adapter.getContentHeight();this.adapter.setStyleProperty("height",n+"px")},t.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(o),this.adapter.removeClass(s)},t}(l);exports.MDCBannerFoundation=m;exports.events=f;exports.selectors=p;
package/icon-button.js CHANGED
@@ -1,12 +1,12 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./query-assigned-elements-07e38f46.js"),e=require("./tslib.es6-6b53b818.js"),p=require("./ripple-handlers-2176f137.js"),u=require("./aria-property-849c8816.js"),s=require("./property-074570d1.js"),m=require("./state-949232e6.js"),b=require("./event-options-7bc382d8.js"),h=require("./query-2ba749b7.js"),f=require("./if-defined-cb12d481.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.js");require("./class-map-50b8edb4.js");require("./style-map-3056a771.js");/**
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./query-assigned-elements-f623705d.js"),e=require("./tslib.es6-e6a11c8a.js"),p=require("./ripple-handlers-c82b1232.js"),u=require("./aria-property-849c8816.js"),s=require("./property-57f6f6fe.js"),m=require("./state-0974a8e5.js"),b=require("./event-options-3f5eb195.js"),h=require("./query-680f1868.js"),f=require("./if-defined-f1c45245.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./class-map-b5efe8da.js");require("./style-map-88d2563f.js");/**
2
2
  * @license
3
3
  * Copyright 2018 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
- */class o extends n.s{constructor(){super(...arguments),this.disabled=!1,this.icon="",this.shouldRenderRipple=!1,this.rippleHandlers=new p.RippleHandlers(()=>(this.shouldRenderRipple=!0,this.ripple))}renderRipple(){return this.shouldRenderRipple?n.y`
5
+ */class o extends n.s{constructor(){super(...arguments),this.disabled=!1,this.icon="",this.shouldRenderRipple=!1,this.rippleHandlers=new p.RippleHandlers(()=>(this.shouldRenderRipple=!0,this.ripple))}renderRipple(){return this.shouldRenderRipple?n.x`
6
6
  <mwc-ripple
7
7
  .disabled="${this.disabled}"
8
8
  unbounded>
9
- </mwc-ripple>`:""}focus(){const t=this.buttonElement;t&&(this.rippleHandlers.startFocus(),t.focus())}blur(){const t=this.buttonElement;t&&(this.rippleHandlers.endFocus(),t.blur())}render(){return n.y`<button
9
+ </mwc-ripple>`:""}focus(){const t=this.buttonElement;t&&(this.rippleHandlers.startFocus(),t.focus())}blur(){const t=this.buttonElement;t&&(this.rippleHandlers.endFocus(),t.blur())}render(){return n.x`<button
10
10
  class="mdc-icon-button mdc-icon-button--display-flex"
11
11
  aria-label="${this.ariaLabel||this.icon}"
12
12
  aria-haspopup="${f.l(this.ariaHasPopup)}"
@@ -20,11 +20,11 @@
20
20
  @touchend="${this.handleRippleDeactivate}"
21
21
  @touchcancel="${this.handleRippleDeactivate}"
22
22
  >${this.renderRipple()}
23
- ${this.icon?n.y`<i class="material-icons">${this.icon}</i>`:""}
23
+ ${this.icon?n.x`<i class="material-icons">${this.icon}</i>`:""}
24
24
  <span
25
25
  ><slot></slot
26
26
  ></span>
27
- </button>`}handleRippleMouseDown(t){const c=()=>{window.removeEventListener("mouseup",c),this.handleRippleDeactivate()};window.addEventListener("mouseup",c),this.rippleHandlers.startPress(t)}handleRippleTouchStart(t){this.rippleHandlers.startPress(t)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}e.__decorate([s.e({type:Boolean,reflect:!0})],o.prototype,"disabled",void 0);e.__decorate([s.e({type:String})],o.prototype,"icon",void 0);e.__decorate([u.ariaProperty,s.e({type:String,attribute:"aria-label"})],o.prototype,"ariaLabel",void 0);e.__decorate([u.ariaProperty,s.e({type:String,attribute:"aria-haspopup"})],o.prototype,"ariaHasPopup",void 0);e.__decorate([h.i("button")],o.prototype,"buttonElement",void 0);e.__decorate([p.e("mwc-ripple")],o.prototype,"ripple",void 0);e.__decorate([m.t()],o.prototype,"shouldRenderRipple",void 0);e.__decorate([b.e({passive:!0})],o.prototype,"handleRippleMouseDown",null);e.__decorate([b.e({passive:!0})],o.prototype,"handleRippleTouchStart",null);/**
27
+ </button>`}handleRippleMouseDown(t){const c=()=>{window.removeEventListener("mouseup",c),this.handleRippleDeactivate()};window.addEventListener("mouseup",c),this.rippleHandlers.startPress(t)}handleRippleTouchStart(t){this.rippleHandlers.startPress(t)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}e.__decorate([s.n({type:Boolean,reflect:!0})],o.prototype,"disabled",void 0);e.__decorate([s.n({type:String})],o.prototype,"icon",void 0);e.__decorate([u.ariaProperty,s.n({type:String,attribute:"aria-label"})],o.prototype,"ariaLabel",void 0);e.__decorate([u.ariaProperty,s.n({type:String,attribute:"aria-haspopup"})],o.prototype,"ariaHasPopup",void 0);e.__decorate([h.i("button")],o.prototype,"buttonElement",void 0);e.__decorate([p.e("mwc-ripple")],o.prototype,"ripple",void 0);e.__decorate([m.t()],o.prototype,"shouldRenderRipple",void 0);e.__decorate([b.e({passive:!0})],o.prototype,"handleRippleMouseDown",null);e.__decorate([b.e({passive:!0})],o.prototype,"handleRippleTouchStart",null);/**
28
28
  * @license
29
29
  * Copyright 2021 Google LLC
30
30
  * SPDX-LIcense-Identifier: Apache-2.0
package/icon-button.mjs CHANGED
@@ -1,16 +1,16 @@
1
- import { s as h, y as p, i as u, r as f, e as g } from "./query-assigned-elements-514e5265.mjs";
2
- import { _ as n } from "./tslib.es6-b5e819a6.mjs";
3
- import { e as _, R as x } from "./ripple-handlers-227497d3.mjs";
1
+ import { s as h, x as p, i as u, r as f, e as g } from "./query-assigned-elements-4a39219d.mjs";
2
+ import { b as n } from "./tslib.es6-f1eaf65c.mjs";
3
+ import { e as _, R as x } from "./ripple-handlers-321219b8.mjs";
4
4
  import { a as m } from "./aria-property-fa2717fe.mjs";
5
- import { e as d } from "./property-ca27685b.mjs";
6
- import { t as v } from "./state-6f7e570d.mjs";
7
- import { e as b } from "./event-options-3937d997.mjs";
8
- import { i as y } from "./query-1e7846ea.mjs";
9
- import { l as w } from "./if-defined-639ed018.mjs";
10
- import "./base-element-c3dc926e.mjs";
11
- import "./utils-dc65fdc9.mjs";
12
- import "./class-map-08c84aeb.mjs";
13
- import "./style-map-2cb0fb63.mjs";
5
+ import { n as d } from "./property-9b6ea53b.mjs";
6
+ import { t as v } from "./state-b5e865db.mjs";
7
+ import { e as b } from "./event-options-78d6cf94.mjs";
8
+ import { i as y } from "./query-d843aa92.mjs";
9
+ import { l as w } from "./if-defined-c367f208.mjs";
10
+ import "./base-element-67ae173f.mjs";
11
+ import "./utils-2932417c.mjs";
12
+ import "./class-map-4b94b017.mjs";
13
+ import "./style-map-bc3ed3e0.mjs";
14
14
  /**
15
15
  * @license
16
16
  * Copyright 2018 Google LLC
@@ -1,6 +1,6 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements-07e38f46.js"),l=require("./property-074570d1.js"),p=require("./class-map-50b8edb4.js"),s=require("./style-map-3056a771.js"),h=require("./mwc-checkbox-base-435c1f1d.js"),g=require("./mwc-checkbox.css-956e3d6c.js");require("./tslib.es6-6b53b818.js");require("./ripple-handlers-2176f137.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.js");require("./state-949232e6.js");require("./query-2ba749b7.js");require("./aria-property-849c8816.js");require("./form-element-d4e7bcdb.js");require("./event-options-7bc382d8.js");require("./if-defined-cb12d481.js");const m=`:host .mdc-toggle__background{position:absolute;top:4px;right:4px;width:15px;height:15px;border:none;color:var(--mdc-theme-text-icon-on-dark)}:host .mdc-toggle__checkmark-path{transition:stroke-dashoffset .18s cubic-bezier(.4,0,.6,1) 0ms;stroke:currentcolor;stroke-width:3.12px;stroke-dashoffset:29.7833;stroke-dasharray:29.7833}:host .showCheck{stroke-dashoffset:0;opacity:1}:host([width=fill]){width:100%}.container{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;row-gap:8px;width:var(--width);height:var(--height);border:solid 2px var(--mdc-theme-border);border-radius:8px;color:var(--mdc-theme-text-primary-on-background);--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}.container:before,.container:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.container:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.container:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.container.mdc-ripple-upgraded:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.container.mdc-ripple-upgraded:after{top:0;left:0;transform:scale(0);transform-origin:center center}.container.mdc-ripple-upgraded--unbounded:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.container.mdc-ripple-upgraded--foreground-activation:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.container.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))}.container:before,.container:after{top:0%;left:0%;width:100%;height:100%}.container.mdc-ripple-upgraded:before,.container.mdc-ripple-upgraded:after{top:var(--mdc-ripple-top, 0%);left:var(--mdc-ripple-left, 0%);width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.container.mdc-ripple-upgraded:after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.container:before,.container:after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.container:hover:before,.container.mdc-ripple-surface--hover:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.container.mdc-ripple-upgraded--background-focused:before,.container:not(.mdc-ripple-upgraded):focus:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.container:not(.mdc-ripple-upgraded):after{transition:opacity .15s linear}.container:not(.mdc-ripple-upgraded):active:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.container.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.container:after,.container:before{border-radius:8px}.container:hover{cursor:pointer}.cornerFill{background:linear-gradient(225deg,var(--mdc-theme-secondary) 28px,transparent 0)}.checked{border:solid 2px var(--mdc-theme-primary);background-color:var(--mdc-theme-surface-primary-highlight)}.checked:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}[name=icon]::slotted(*){font-size:40px;color:var(--mdc-theme-text-icon-on-background)}[name=text]::slotted(*){color:var(--mdc-theme-text-primary-on-background);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:.4px}[name=text]::slotted(*:last-child){color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}
2
- `;var f=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=(a,r,t,o)=>{for(var e=o>1?void 0:o?u(r,t):r,n=a.length-1,d;n>=0;n--)(d=a[n])&&(e=(o?d(r,t,e):d(e))||e);return o&&e&&f(r,t,e),e};exports.CovalentIconCheckToggle=class extends h.CheckboxBase{constructor(){super(...arguments),this.width="200",this.height="160",this.iconOnly=!1}render(){const r={checked:this.checked,cornerFill:this.checked},t={showCheck:this.checked},o={"--width":this.width=="fill"?"100%":`${this.width}px`,"--height":`${this.height}px`};return i.y`
3
- <div class="${p.o(r)} container" style="${s.i(o)}" @click="${this._handleClick}">
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements-f623705d.js"),l=require("./property-57f6f6fe.js"),p=require("./class-map-b5efe8da.js"),s=require("./style-map-88d2563f.js"),h=require("./mwc-checkbox-base-d46c7666.js"),g=require("./mwc-checkbox.css-b3434429.js");require("./tslib.es6-e6a11c8a.js");require("./ripple-handlers-c82b1232.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./state-0974a8e5.js");require("./query-680f1868.js");require("./aria-property-849c8816.js");require("./form-element-ead758d4.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");const m=`:host .mdc-toggle__background{position:absolute;top:4px;right:4px;width:15px;height:15px;border:none;color:var(--mdc-theme-text-icon-on-dark)}:host .mdc-toggle__checkmark-path{transition:stroke-dashoffset .18s cubic-bezier(.4,0,.6,1) 0ms;stroke:currentcolor;stroke-width:3.12px;stroke-dashoffset:29.7833;stroke-dasharray:29.7833}:host .showCheck{stroke-dashoffset:0;opacity:1}:host([width=fill]){width:100%}.container{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;row-gap:8px;width:var(--width);height:var(--height);border:solid 2px var(--mdc-theme-border);border-radius:8px;color:var(--mdc-theme-text-primary-on-background);--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}.container:before,.container:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.container:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.container:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.container.mdc-ripple-upgraded:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.container.mdc-ripple-upgraded:after{top:0;left:0;transform:scale(0);transform-origin:center center}.container.mdc-ripple-upgraded--unbounded:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.container.mdc-ripple-upgraded--foreground-activation:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.container.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))}.container:before,.container:after{top:0%;left:0%;width:100%;height:100%}.container.mdc-ripple-upgraded:before,.container.mdc-ripple-upgraded:after{top:var(--mdc-ripple-top, 0%);left:var(--mdc-ripple-left, 0%);width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.container.mdc-ripple-upgraded:after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.container:before,.container:after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.container:hover:before,.container.mdc-ripple-surface--hover:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.container.mdc-ripple-upgraded--background-focused:before,.container:not(.mdc-ripple-upgraded):focus:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.container:not(.mdc-ripple-upgraded):after{transition:opacity .15s linear}.container:not(.mdc-ripple-upgraded):active:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.container.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.container:after,.container:before{border-radius:8px}.container:hover{cursor:pointer}.cornerFill{background:linear-gradient(225deg,var(--mdc-theme-secondary) 28px,transparent 0)}.checked{border:solid 2px var(--mdc-theme-primary);background-color:var(--mdc-theme-surface-primary-highlight)}.checked:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}[name=icon]::slotted(*){font-size:40px;color:var(--mdc-theme-text-icon-on-background)}[name=text]::slotted(*){color:var(--mdc-theme-text-primary-on-background);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:.4px}[name=text]::slotted(*:last-child){color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}
2
+ `;var f=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=(a,r,t,o)=>{for(var e=o>1?void 0:o?u(r,t):r,n=a.length-1,d;n>=0;n--)(d=a[n])&&(e=(o?d(r,t,e):d(e))||e);return o&&e&&f(r,t,e),e};exports.CovalentIconCheckToggle=class extends h.CheckboxBase{constructor(){super(...arguments),this.width="200",this.height="160",this.iconOnly=!1}render(){const r={checked:this.checked,cornerFill:this.checked},t={showCheck:this.checked},o={"--width":this.width=="fill"?"100%":`${this.width}px`,"--height":`${this.height}px`};return i.x`
3
+ <div class="${p.o(r)} container" style="${s.o(o)}" @click="${this._handleClick}">
4
4
  <input type="checkbox" class="mdc-checkbox__native-control"></input>
5
5
  <div class="mdc-toggle__background">
6
6
  <svg class="mdc-toggle__checkmark ${p.o(t)}" viewBox="0 0 24 24">
@@ -8,8 +8,8 @@
8
8
  </svg>
9
9
  </div>
10
10
  <slot name="icon"></slot>
11
- ${this.iconOnly?"":i.y`<div><slot name="text"></slot></div>`}
11
+ ${this.iconOnly?"":i.x`<div><slot name="text"></slot></div>`}
12
12
  </div>
13
13
  `}_handleClick(){this.checked=!this.checked}};exports.CovalentIconCheckToggle.styles=[i.i`
14
14
  ${i.r(m)}
15
- `,g.styles];c([l.e()],exports.CovalentIconCheckToggle.prototype,"width",2);c([l.e()],exports.CovalentIconCheckToggle.prototype,"height",2);c([l.e({type:Boolean})],exports.CovalentIconCheckToggle.prototype,"iconOnly",2);exports.CovalentIconCheckToggle=c([i.e("cv-checkbox-icon")],exports.CovalentIconCheckToggle);const v=exports.CovalentIconCheckToggle;exports.default=v;
15
+ `,g.styles];c([l.n()],exports.CovalentIconCheckToggle.prototype,"width",2);c([l.n()],exports.CovalentIconCheckToggle.prototype,"height",2);c([l.n({type:Boolean})],exports.CovalentIconCheckToggle.prototype,"iconOnly",2);exports.CovalentIconCheckToggle=c([i.e("cv-checkbox-icon")],exports.CovalentIconCheckToggle);const v=exports.CovalentIconCheckToggle;exports.default=v;
@@ -1,19 +1,19 @@
1
- import { i as m, r as h, y as l, e as f } from "./query-assigned-elements-514e5265.mjs";
2
- import { e as s } from "./property-ca27685b.mjs";
3
- import { o as d } from "./class-map-08c84aeb.mjs";
4
- import { i as g } from "./style-map-2cb0fb63.mjs";
5
- import { C as y } from "./mwc-checkbox-base-10e977f2.mjs";
6
- import { s as v } from "./mwc-checkbox.css-b7abc7fd.mjs";
7
- import "./tslib.es6-b5e819a6.mjs";
8
- import "./ripple-handlers-227497d3.mjs";
9
- import "./base-element-c3dc926e.mjs";
10
- import "./utils-dc65fdc9.mjs";
11
- import "./state-6f7e570d.mjs";
12
- import "./query-1e7846ea.mjs";
1
+ import { i as m, r as h, x as l, e as f } from "./query-assigned-elements-4a39219d.mjs";
2
+ import { n as s } from "./property-9b6ea53b.mjs";
3
+ import { o as d } from "./class-map-4b94b017.mjs";
4
+ import { o as g } from "./style-map-bc3ed3e0.mjs";
5
+ import { C as y } from "./mwc-checkbox-base-3da36456.mjs";
6
+ import { s as v } from "./mwc-checkbox.css-8f4f1a9b.mjs";
7
+ import "./tslib.es6-f1eaf65c.mjs";
8
+ import "./ripple-handlers-321219b8.mjs";
9
+ import "./base-element-67ae173f.mjs";
10
+ import "./utils-2932417c.mjs";
11
+ import "./state-b5e865db.mjs";
12
+ import "./query-d843aa92.mjs";
13
13
  import "./aria-property-fa2717fe.mjs";
14
- import "./form-element-6dbd7afa.mjs";
15
- import "./event-options-3937d997.mjs";
16
- import "./if-defined-639ed018.mjs";
14
+ import "./form-element-bd973124.mjs";
15
+ import "./event-options-78d6cf94.mjs";
16
+ import "./if-defined-c367f208.mjs";
17
17
  const u = `:host .mdc-toggle__background{position:absolute;top:4px;right:4px;width:15px;height:15px;border:none;color:var(--mdc-theme-text-icon-on-dark)}:host .mdc-toggle__checkmark-path{transition:stroke-dashoffset .18s cubic-bezier(.4,0,.6,1) 0ms;stroke:currentcolor;stroke-width:3.12px;stroke-dashoffset:29.7833;stroke-dasharray:29.7833}:host .showCheck{stroke-dashoffset:0;opacity:1}:host([width=fill]){width:100%}.container{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;row-gap:8px;width:var(--width);height:var(--height);border:solid 2px var(--mdc-theme-border);border-radius:8px;color:var(--mdc-theme-text-primary-on-background);--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}.container:before,.container:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.container:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.container:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.container.mdc-ripple-upgraded:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.container.mdc-ripple-upgraded:after{top:0;left:0;transform:scale(0);transform-origin:center center}.container.mdc-ripple-upgraded--unbounded:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.container.mdc-ripple-upgraded--foreground-activation:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.container.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))}.container:before,.container:after{top:0%;left:0%;width:100%;height:100%}.container.mdc-ripple-upgraded:before,.container.mdc-ripple-upgraded:after{top:var(--mdc-ripple-top, 0%);left:var(--mdc-ripple-left, 0%);width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.container.mdc-ripple-upgraded:after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.container:before,.container:after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.container:hover:before,.container.mdc-ripple-surface--hover:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.container.mdc-ripple-upgraded--background-focused:before,.container:not(.mdc-ripple-upgraded):focus:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.container:not(.mdc-ripple-upgraded):after{transition:opacity .15s linear}.container:not(.mdc-ripple-upgraded):active:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.container.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.container:after,.container:before{border-radius:8px}.container:hover{cursor:pointer}.cornerFill{background:linear-gradient(225deg,var(--mdc-theme-secondary) 28px,transparent 0)}.checked{border:solid 2px var(--mdc-theme-primary);background-color:var(--mdc-theme-surface-primary-highlight)}.checked:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}[name=icon]::slotted(*){font-size:40px;color:var(--mdc-theme-text-icon-on-background)}[name=text]::slotted(*){color:var(--mdc-theme-text-primary-on-background);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:.4px}[name=text]::slotted(*:last-child){color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}
18
18
  `;
19
19
  var b = Object.defineProperty, k = Object.getOwnPropertyDescriptor, c = (i, e, o, a) => {
@@ -1,8 +1,8 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements-07e38f46.js"),l=require("./mwc-radio-base-442d495a.js"),s=require("./mwc-radio.css-388ad26d.js"),h=require("./property-074570d1.js");require("./tslib.es6-6b53b818.js");require("./ripple-handlers-2176f137.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.js");require("./state-949232e6.js");require("./query-2ba749b7.js");require("./class-map-50b8edb4.js");require("./style-map-3056a771.js");require("./aria-property-849c8816.js");require("./form-element-d4e7bcdb.js");require("./observer-a096ab43.js");require("./event-options-7bc382d8.js");require("./if-defined-cb12d481.js");const p=`:host .mdc-radio__background{position:absolute;top:8px;right:8px}:host([width=fill]){width:100%}.mdc-radio{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;row-gap:8px;width:var(--cv-icon-radio-width, 200px);height:var(--cv-icon-radio-height, 160px);border:solid 2px var(--mdc-theme-border);border-radius:8px;color:var(--mdc-theme-text-primary-on-background)}.mdc-radio--touch .mdc-radio__native-control{width:100%;height:100%}:host([checked]) .mdc-radio{border:solid 2px var(--mdc-theme-primary);background-color:var(--mdc-theme-surface-primary-highlight)}:host([checked]) .mdc-radio:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}[name=icon]::slotted(*){font-size:40px;color:var(--mdc-theme-text-icon-on-background)}[name=text]::slotted(*){color:var(--mdc-theme-text-primary-on-background);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:.4px}[name=text]::slotted(*:last-child){color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}
2
- `;var g=Object.defineProperty,m=Object.getOwnPropertyDescriptor,d=(a,t,i,r)=>{for(var e=r>1?void 0:r?m(t,i):t,n=a.length-1,c;n>=0;n--)(c=a[n])&&(e=(r?c(t,i,e):c(e))||e);return r&&e&&g(t,i,e),e};exports.CovalentIconRadioToggle=class extends l.RadioBase{constructor(){super(...arguments),this.iconOnly=!1}renderRipple(){const t=o.y`<slot name="icon"></slot>`,i=this.iconOnly?"":o.y`<div><slot name="text"></slot></div>`,r=this.shouldRenderRipple?o.y`<mwc-ripple
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements-f623705d.js"),l=require("./mwc-radio-base-470b4fcc.js"),s=require("./mwc-radio.css-4e140252.js"),h=require("./property-57f6f6fe.js");require("./tslib.es6-e6a11c8a.js");require("./ripple-handlers-c82b1232.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./state-0974a8e5.js");require("./query-680f1868.js");require("./class-map-b5efe8da.js");require("./style-map-88d2563f.js");require("./aria-property-849c8816.js");require("./form-element-ead758d4.js");require("./observer-a096ab43.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");const p=`:host .mdc-radio__background{position:absolute;top:8px;right:8px}:host([width=fill]){width:100%}.mdc-radio{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;row-gap:8px;width:var(--cv-icon-radio-width, 200px);height:var(--cv-icon-radio-height, 160px);border:solid 2px var(--mdc-theme-border);border-radius:8px;color:var(--mdc-theme-text-primary-on-background)}.mdc-radio--touch .mdc-radio__native-control{width:100%;height:100%}:host([checked]) .mdc-radio{border:solid 2px var(--mdc-theme-primary);background-color:var(--mdc-theme-surface-primary-highlight)}:host([checked]) .mdc-radio:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}[name=icon]::slotted(*){font-size:40px;color:var(--mdc-theme-text-icon-on-background)}[name=text]::slotted(*){color:var(--mdc-theme-text-primary-on-background);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:.4px}[name=text]::slotted(*:last-child){color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}
2
+ `;var g=Object.defineProperty,m=Object.getOwnPropertyDescriptor,d=(a,t,i,r)=>{for(var e=r>1?void 0:r?m(t,i):t,n=a.length-1,c;n>=0;n--)(c=a[n])&&(e=(r?c(t,i,e):c(e))||e);return r&&e&&g(t,i,e),e};exports.CovalentIconRadioToggle=class extends l.RadioBase{constructor(){super(...arguments),this.iconOnly=!1}renderRipple(){const t=o.x`<slot name="icon"></slot>`,i=this.iconOnly?"":o.x`<div><slot name="text"></slot></div>`,r=this.shouldRenderRipple?o.x`<mwc-ripple
3
3
  accent
4
4
  .internalUseStateLayerCustomProperties="${this.useStateLayerCustomProperties}"
5
5
  .disabled="${this.disabled}"
6
- ></mwc-ripple>`:"";return o.y`${t}${i}${r}`}};exports.CovalentIconRadioToggle.styles=[s.styles,o.i`
6
+ ></mwc-ripple>`:"";return o.x`${t}${i}${r}`}};exports.CovalentIconRadioToggle.styles=[s.styles,o.i`
7
7
  ${o.r(p)}
8
- `];d([h.e({type:Boolean})],exports.CovalentIconRadioToggle.prototype,"iconOnly",2);exports.CovalentIconRadioToggle=d([o.e("cv-radio-icon")],exports.CovalentIconRadioToggle);const y=exports.CovalentIconRadioToggle;exports.default=y;
8
+ `];d([h.n({type:Boolean})],exports.CovalentIconRadioToggle.prototype,"iconOnly",2);exports.CovalentIconRadioToggle=d([o.e("cv-radio-icon")],exports.CovalentIconRadioToggle);const u=exports.CovalentIconRadioToggle;exports.default=u;
@@ -1,20 +1,20 @@
1
- import { i as m, r as s, y as n, e as l } from "./query-assigned-elements-514e5265.mjs";
2
- import { R as h } from "./mwc-radio-base-c29e6f42.mjs";
3
- import { s as y } from "./mwc-radio.css-4694aa9c.mjs";
4
- import { e as g } from "./property-ca27685b.mjs";
5
- import "./tslib.es6-b5e819a6.mjs";
6
- import "./ripple-handlers-227497d3.mjs";
7
- import "./base-element-c3dc926e.mjs";
8
- import "./utils-dc65fdc9.mjs";
9
- import "./state-6f7e570d.mjs";
10
- import "./query-1e7846ea.mjs";
11
- import "./class-map-08c84aeb.mjs";
12
- import "./style-map-2cb0fb63.mjs";
1
+ import { i as m, r as s, x as n, e as l } from "./query-assigned-elements-4a39219d.mjs";
2
+ import { R as h } from "./mwc-radio-base-9446d39b.mjs";
3
+ import { s as y } from "./mwc-radio.css-7454bb11.mjs";
4
+ import { n as g } from "./property-9b6ea53b.mjs";
5
+ import "./tslib.es6-f1eaf65c.mjs";
6
+ import "./ripple-handlers-321219b8.mjs";
7
+ import "./base-element-67ae173f.mjs";
8
+ import "./utils-2932417c.mjs";
9
+ import "./state-b5e865db.mjs";
10
+ import "./query-d843aa92.mjs";
11
+ import "./class-map-4b94b017.mjs";
12
+ import "./style-map-bc3ed3e0.mjs";
13
13
  import "./aria-property-fa2717fe.mjs";
14
- import "./form-element-6dbd7afa.mjs";
14
+ import "./form-element-bd973124.mjs";
15
15
  import "./observer-be7b92e2.mjs";
16
- import "./event-options-3937d997.mjs";
17
- import "./if-defined-639ed018.mjs";
16
+ import "./event-options-78d6cf94.mjs";
17
+ import "./if-defined-c367f208.mjs";
18
18
  const f = `:host .mdc-radio__background{position:absolute;top:8px;right:8px}:host([width=fill]){width:100%}.mdc-radio{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;row-gap:8px;width:var(--cv-icon-radio-width, 200px);height:var(--cv-icon-radio-height, 160px);border:solid 2px var(--mdc-theme-border);border-radius:8px;color:var(--mdc-theme-text-primary-on-background)}.mdc-radio--touch .mdc-radio__native-control{width:100%;height:100%}:host([checked]) .mdc-radio{border:solid 2px var(--mdc-theme-primary);background-color:var(--mdc-theme-surface-primary-highlight)}:host([checked]) .mdc-radio:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}[name=icon]::slotted(*){font-size:40px;color:var(--mdc-theme-text-icon-on-background)}[name=text]::slotted(*){color:var(--mdc-theme-text-primary-on-background);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:.4px}[name=text]::slotted(*:last-child){color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}
19
19
  `;
20
20
  var v = Object.defineProperty, u = Object.getOwnPropertyDescriptor, p = (i, o, e, a) => {
package/icon.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./mwc-icon-b96fb867.js"),l=require("./query-assigned-elements-07e38f46.js");require("./tslib.es6-6b53b818.js");/**
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./mwc-icon-8c9cd0c9.js"),l=require("./query-assigned-elements-f623705d.js");require("./tslib.es6-e6a11c8a.js");/**
2
2
  * @license
3
3
  * Copyright 2021 Google LLC
4
4
  * SPDX-LIcense-Identifier: Apache-2.0
package/icon.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { I as l } from "./mwc-icon-c7013880.mjs";
2
- import { i as c, e as f } from "./query-assigned-elements-514e5265.mjs";
3
- import "./tslib.es6-b5e819a6.mjs";
1
+ import { I as l } from "./mwc-icon-ba18383d.mjs";
2
+ import { i as c, e as f } from "./query-assigned-elements-4a39219d.mjs";
3
+ import "./tslib.es6-f1eaf65c.mjs";
4
4
  /**
5
5
  * @license
6
6
  * Copyright 2021 Google LLC
@@ -1,4 +1,4 @@
1
- import { b as r } from "./query-assigned-elements-514e5265.mjs";
1
+ import { A as r } from "./query-assigned-elements-4a39219d.mjs";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2018 Google LLC
@@ -0,0 +1,5 @@
1
+ "use strict";const s=require("./query-assigned-elements-f623705d.js");/**
2
+ * @license
3
+ * Copyright 2018 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */const n=e=>e??s.A;exports.l=n;
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./action-ribbon.js"),t=require("./alert.js"),r=require("./app-shell.js"),n=require("./button.js"),o=require("./checkbox.js"),a=require("./card.js"),i=require("./circular-progress.js"),u=require("./code-snippet.js"),l=require("./dialog-8ee07177.js"),c=require("./drawer.js"),b=require("./empty-state.js"),C=require("./icon.js"),s=require("./icon-button.js"),p=require("./icon-check-toggle.js"),v=require("./icon-radio-toggle.js"),d=require("./linear-progress.js"),q=require("./check-list-item.js"),g=require("./list-defdaa3b.js"),m=require("./list-expansion.js"),y=require("./list-item-3fa66f09.js"),P=require("./nav-list-item.js"),f=require("./radio-list-item.js"),j=require("./menu.js"),O=require("./radio.js"),T=require("./select.js"),S=require("./side-sheet.js"),I=require("./slider.js"),L=require("./slider-range.js"),h=require("./snackbar.js"),x=require("./status-header.js"),k=require("./status-header-item.js"),R=require("./switch.js"),A=require("./tab.js"),B=require("./tab-bar.js"),w=require("./textarea.js"),H=require("./textfield.js"),E=require("./text-lockup.js"),F=require("./toolbar.js"),D=require("./tooltip.js"),M=require("./top-app-bar.js"),N=require("./top-app-bar-fixed.js"),_=require("./tree-list.js"),z=require("./tree-list-item.js"),G=require("./typography.js");require("./query-assigned-elements-07e38f46.js");require("./utils-a8190a39.js");require("./observer-a096ab43.js");require("./foundation-3f55a9dc.js");require("./tslib.es6-6b53b818.js");require("./foundation-e830bd94.js");require("./class-map-50b8edb4.js");require("./property-074570d1.js");require("./query-2ba749b7.js");require("./mwc-drawer-base-f44fcf34.js");require("./inert.esm-2cee6f2e.js");require("./base-element-d5abe37a.js");require("./mwc-icon-b96fb867.js");require("./ripple-handlers-2176f137.js");require("./state-949232e6.js");require("./style-map-3056a771.js");require("./aria-property-849c8816.js");require("./event-options-7bc382d8.js");require("./if-defined-cb12d481.js");require("./mwc-checkbox-base-435c1f1d.js");require("./form-element-d4e7bcdb.js");require("./mwc-checkbox.css-956e3d6c.js");require("./query-assigned-nodes-9ec0fa5f.js");require("./mwc-radio-base-442d495a.js");require("./mwc-radio.css-388ad26d.js");require("./mwc-list-item-base-803b9771.js");require("./mwc-list-item.css-401e2407.js");require("./mwc-list-base-7d5f7278.js");require("./mwc-menu-base-ac49fe54.js");require("./mwc-line-ripple-directive-a97ce725.js");require("./mwc-slider.css-48f02f1e.js");require("./directive-helpers-fce8cf91.js");require("./mwc-tab-base-1a19b299.js");require("./textfield-507c6a06.js");require("./mwc-top-app-bar-base-14e0a018.js");require("./top-app-bar-34e85527.js");Object.defineProperty(exports,"CovalentActionRibbon",{enumerable:!0,get:()=>e.CovalentActionRibbon});Object.defineProperty(exports,"CovalentAlert",{enumerable:!0,get:()=>t.CovalentAlert});Object.defineProperty(exports,"CovalentAppShell",{enumerable:!0,get:()=>r.CovalentAppShell});Object.defineProperty(exports,"CovalentButton",{enumerable:!0,get:()=>n.CovalentButton});Object.defineProperty(exports,"CovalentCheckbox",{enumerable:!0,get:()=>o.CovalentCheckbox});Object.defineProperty(exports,"CovalentCard",{enumerable:!0,get:()=>a.CovalentCard});Object.defineProperty(exports,"CovalentCircularProgress",{enumerable:!0,get:()=>i.CovalentCircularProgress});Object.defineProperty(exports,"CovalentCodeSnippet",{enumerable:!0,get:()=>u.CovalentCodeSnippet});Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>l.CovalentDialog});Object.defineProperty(exports,"CovalentDrawer",{enumerable:!0,get:()=>c.CovalentDrawer});Object.defineProperty(exports,"CovalentEmptyState",{enumerable:!0,get:()=>b.CovalentEmptyState});Object.defineProperty(exports,"CovalentIcon",{enumerable:!0,get:()=>C.CovalentIcon});Object.defineProperty(exports,"CovalentIconButton",{enumerable:!0,get:()=>s.CovalentIconButton});Object.defineProperty(exports,"CovalentIconCheckToggle",{enumerable:!0,get:()=>p.CovalentIconCheckToggle});Object.defineProperty(exports,"CovalentIconRadioToggle",{enumerable:!0,get:()=>v.CovalentIconRadioToggle});Object.defineProperty(exports,"CovalentLinearProgress",{enumerable:!0,get:()=>d.CovalentLinearProgress});Object.defineProperty(exports,"CovalentCheckListItem",{enumerable:!0,get:()=>q.CovalentCheckListItem});Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>g.CovalentList});Object.defineProperty(exports,"CovalentExpansionList",{enumerable:!0,get:()=>m.CovalentExpansionList});Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>y.CovalentListItem});Object.defineProperty(exports,"CovalentNavRailListItem",{enumerable:!0,get:()=>P.CovalentNavRailListItem});Object.defineProperty(exports,"CovalentRadioListItem",{enumerable:!0,get:()=>f.CovalentRadioListItem});Object.defineProperty(exports,"CovalentMenu",{enumerable:!0,get:()=>j.CovalentMenu});Object.defineProperty(exports,"CovalentRadio",{enumerable:!0,get:()=>O.CovalentRadio});Object.defineProperty(exports,"CovalentSelect",{enumerable:!0,get:()=>T.CovalentSelect});Object.defineProperty(exports,"CovalentSideSheet",{enumerable:!0,get:()=>S.CovalentSideSheet});Object.defineProperty(exports,"CovalentSlider",{enumerable:!0,get:()=>I.CovalentSlider});Object.defineProperty(exports,"CovalentSliderRange",{enumerable:!0,get:()=>L.CovalentSliderRange});Object.defineProperty(exports,"CovalentSnackbar",{enumerable:!0,get:()=>h.CovalentSnackbar});Object.defineProperty(exports,"CovalentStatusHeader",{enumerable:!0,get:()=>x.CovalentStatusHeader});Object.defineProperty(exports,"CovalentStatusHeaderItem",{enumerable:!0,get:()=>k.CovalentStatusHeaderItem});Object.defineProperty(exports,"CovalentSwitch",{enumerable:!0,get:()=>R.CovalentSwitch});Object.defineProperty(exports,"CovalentTab",{enumerable:!0,get:()=>A.CovalentTab});Object.defineProperty(exports,"CovalentTabBar",{enumerable:!0,get:()=>B.CovalentTabBar});Object.defineProperty(exports,"CovalentTextArea",{enumerable:!0,get:()=>w.CovalentTextArea});Object.defineProperty(exports,"CovalentTextField",{enumerable:!0,get:()=>H.CovalentTextField});Object.defineProperty(exports,"CovalentTextLockup",{enumerable:!0,get:()=>E.CovalentTextLockup});Object.defineProperty(exports,"CovalentToolbar",{enumerable:!0,get:()=>F.CovalentToolbar});Object.defineProperty(exports,"CovalentTooltip",{enumerable:!0,get:()=>D.CovalentTooltip});Object.defineProperty(exports,"CovalentTopAppBar",{enumerable:!0,get:()=>M.CovalentTopAppBar});Object.defineProperty(exports,"CovalentTopAppBarFixed",{enumerable:!0,get:()=>N.CovalentTopAppBarFixed});Object.defineProperty(exports,"CovalentTreeList",{enumerable:!0,get:()=>_.CovalentTreeList});Object.defineProperty(exports,"CovalentTreeListItem",{enumerable:!0,get:()=>z.CovalentTreeListItem});Object.defineProperty(exports,"CovalentTypography",{enumerable:!0,get:()=>G.CovalentTypography});
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./action-ribbon.js"),t=require("./alert.js"),r=require("./app-shell.js"),n=require("./button.js"),o=require("./checkbox.js"),a=require("./card.js"),i=require("./circular-progress.js"),u=require("./code-snippet.js"),l=require("./dialog-79036d60.js"),c=require("./drawer.js"),b=require("./empty-state.js"),C=require("./icon.js"),s=require("./icon-button.js"),p=require("./icon-check-toggle.js"),v=require("./icon-radio-toggle.js"),d=require("./linear-progress.js"),q=require("./check-list-item.js"),g=require("./list-05db7fed.js"),m=require("./list-expansion.js"),y=require("./list-item-8da7ba96.js"),P=require("./nav-list-item.js"),f=require("./radio-list-item.js"),j=require("./menu.js"),O=require("./radio.js"),T=require("./select.js"),S=require("./side-sheet.js"),I=require("./slider.js"),L=require("./slider-range.js"),h=require("./snackbar.js"),x=require("./status-header.js"),k=require("./status-header-item.js"),R=require("./switch.js"),A=require("./tab.js"),B=require("./tab-bar.js"),w=require("./textarea.js"),H=require("./textfield.js"),E=require("./text-lockup.js"),F=require("./toolbar.js"),D=require("./tooltip.js"),M=require("./top-app-bar.js"),N=require("./top-app-bar-fixed.js"),_=require("./tree-list.js"),z=require("./tree-list-item.js"),G=require("./typography.js");require("./query-assigned-elements-f623705d.js");require("./utils-a8190a39.js");require("./observer-a096ab43.js");require("./foundation-62d4413d.js");require("./tslib.es6-e6a11c8a.js");require("./class-map-b5efe8da.js");require("./property-57f6f6fe.js");require("./query-680f1868.js");require("./mwc-drawer-base-8eecb1de.js");require("./inert.esm-2cee6f2e.js");require("./base-element-58a3f9ea.js");require("./mwc-icon-8c9cd0c9.js");require("./ripple-handlers-c82b1232.js");require("./state-0974a8e5.js");require("./style-map-88d2563f.js");require("./aria-property-849c8816.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");require("./mwc-checkbox-base-d46c7666.js");require("./form-element-ead758d4.js");require("./mwc-checkbox.css-b3434429.js");require("./query-assigned-nodes-99eae71d.js");require("./mwc-radio-base-470b4fcc.js");require("./mwc-radio.css-4e140252.js");require("./mwc-list-item-base-4a4d1e1b.js");require("./mwc-list-item.css-25adc0c4.js");require("./mwc-list-base-cb3500b4.js");require("./mwc-menu-base-f14ec544.js");require("./mwc-line-ripple-directive-d1cf9570.js");require("./mwc-slider.css-9dd57b10.js");require("./directive-helpers-0ce1f995.js");require("./mwc-tab-base-fc3ffb43.js");require("./textfield-0993c163.js");require("./mwc-top-app-bar-base-0304e67f.js");require("./top-app-bar-a531c1b4.js");Object.defineProperty(exports,"CovalentActionRibbon",{enumerable:!0,get:()=>e.CovalentActionRibbon});Object.defineProperty(exports,"CovalentAlert",{enumerable:!0,get:()=>t.CovalentAlert});Object.defineProperty(exports,"CovalentAppShell",{enumerable:!0,get:()=>r.CovalentAppShell});Object.defineProperty(exports,"CovalentButton",{enumerable:!0,get:()=>n.CovalentButton});Object.defineProperty(exports,"CovalentCheckbox",{enumerable:!0,get:()=>o.CovalentCheckbox});Object.defineProperty(exports,"CovalentCard",{enumerable:!0,get:()=>a.CovalentCard});Object.defineProperty(exports,"CovalentCircularProgress",{enumerable:!0,get:()=>i.CovalentCircularProgress});Object.defineProperty(exports,"CovalentCodeSnippet",{enumerable:!0,get:()=>u.CovalentCodeSnippet});Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>l.CovalentDialog});Object.defineProperty(exports,"CovalentDrawer",{enumerable:!0,get:()=>c.CovalentDrawer});Object.defineProperty(exports,"CovalentEmptyState",{enumerable:!0,get:()=>b.CovalentEmptyState});Object.defineProperty(exports,"CovalentIcon",{enumerable:!0,get:()=>C.CovalentIcon});Object.defineProperty(exports,"CovalentIconButton",{enumerable:!0,get:()=>s.CovalentIconButton});Object.defineProperty(exports,"CovalentIconCheckToggle",{enumerable:!0,get:()=>p.CovalentIconCheckToggle});Object.defineProperty(exports,"CovalentIconRadioToggle",{enumerable:!0,get:()=>v.CovalentIconRadioToggle});Object.defineProperty(exports,"CovalentLinearProgress",{enumerable:!0,get:()=>d.CovalentLinearProgress});Object.defineProperty(exports,"CovalentCheckListItem",{enumerable:!0,get:()=>q.CovalentCheckListItem});Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>g.CovalentList});Object.defineProperty(exports,"CovalentExpansionList",{enumerable:!0,get:()=>m.CovalentExpansionList});Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>y.CovalentListItem});Object.defineProperty(exports,"CovalentNavRailListItem",{enumerable:!0,get:()=>P.CovalentNavRailListItem});Object.defineProperty(exports,"CovalentRadioListItem",{enumerable:!0,get:()=>f.CovalentRadioListItem});Object.defineProperty(exports,"CovalentMenu",{enumerable:!0,get:()=>j.CovalentMenu});Object.defineProperty(exports,"CovalentRadio",{enumerable:!0,get:()=>O.CovalentRadio});Object.defineProperty(exports,"CovalentSelect",{enumerable:!0,get:()=>T.CovalentSelect});Object.defineProperty(exports,"CovalentSideSheet",{enumerable:!0,get:()=>S.CovalentSideSheet});Object.defineProperty(exports,"CovalentSlider",{enumerable:!0,get:()=>I.CovalentSlider});Object.defineProperty(exports,"CovalentSliderRange",{enumerable:!0,get:()=>L.CovalentSliderRange});Object.defineProperty(exports,"CovalentSnackbar",{enumerable:!0,get:()=>h.CovalentSnackbar});Object.defineProperty(exports,"CovalentStatusHeader",{enumerable:!0,get:()=>x.CovalentStatusHeader});Object.defineProperty(exports,"CovalentStatusHeaderItem",{enumerable:!0,get:()=>k.CovalentStatusHeaderItem});Object.defineProperty(exports,"CovalentSwitch",{enumerable:!0,get:()=>R.CovalentSwitch});Object.defineProperty(exports,"CovalentTab",{enumerable:!0,get:()=>A.CovalentTab});Object.defineProperty(exports,"CovalentTabBar",{enumerable:!0,get:()=>B.CovalentTabBar});Object.defineProperty(exports,"CovalentTextArea",{enumerable:!0,get:()=>w.CovalentTextArea});Object.defineProperty(exports,"CovalentTextField",{enumerable:!0,get:()=>H.CovalentTextField});Object.defineProperty(exports,"CovalentTextLockup",{enumerable:!0,get:()=>E.CovalentTextLockup});Object.defineProperty(exports,"CovalentToolbar",{enumerable:!0,get:()=>F.CovalentToolbar});Object.defineProperty(exports,"CovalentTooltip",{enumerable:!0,get:()=>D.CovalentTooltip});Object.defineProperty(exports,"CovalentTopAppBar",{enumerable:!0,get:()=>M.CovalentTopAppBar});Object.defineProperty(exports,"CovalentTopAppBarFixed",{enumerable:!0,get:()=>N.CovalentTopAppBarFixed});Object.defineProperty(exports,"CovalentTreeList",{enumerable:!0,get:()=>_.CovalentTreeList});Object.defineProperty(exports,"CovalentTreeListItem",{enumerable:!0,get:()=>z.CovalentTreeListItem});Object.defineProperty(exports,"CovalentTypography",{enumerable:!0,get:()=>G.CovalentTypography});