@covalent/components 6.0.5 → 6.1.1

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 (174) hide show
  1. package/action-ribbon.js +1 -1
  2. package/action-ribbon.mjs +9 -9
  3. package/alert.js +1 -1
  4. package/alert.mjs +9 -9
  5. package/app-shell.js +1 -1
  6. package/app-shell.mjs +10 -10
  7. package/aria-property-fa2717fe.mjs +41 -0
  8. package/base-element-c3dc926e.mjs +28 -0
  9. package/{base-element.mjs → base-element-d5abe37a.js} +1 -1
  10. package/button.js +1 -1
  11. package/button.mjs +14 -14
  12. package/card.js +1 -1
  13. package/card.mjs +3 -3
  14. package/check-list-item.js +1 -1
  15. package/check-list-item.mjs +18 -18
  16. package/checkbox.js +1 -1
  17. package/checkbox.mjs +16 -16
  18. package/circular-progress.js +1 -1
  19. package/circular-progress.mjs +7 -7
  20. package/class-map-08c84aeb.mjs +62 -0
  21. package/{class-map.mjs → class-map-50b8edb4.js} +3 -3
  22. package/code-snippet.js +1 -1
  23. package/code-snippet.mjs +4 -4
  24. package/{dialog2.mjs → dialog-85c21333.mjs} +9 -9
  25. package/dialog-8ee07177.js +162 -0
  26. package/dialog.js +1 -1
  27. package/dialog.mjs +14 -162
  28. package/directive-helpers-725a181d.mjs +11 -0
  29. package/directive-helpers-fce8cf91.js +5 -0
  30. package/drawer.js +1 -1
  31. package/drawer.mjs +10 -10
  32. package/empty-state.js +1 -1
  33. package/empty-state.mjs +4 -4
  34. package/event-options-3937d997.mjs +14 -0
  35. package/event-options-7bc382d8.js +5 -0
  36. package/form-element-6dbd7afa.mjs +50 -0
  37. package/{form-element.mjs → form-element-d4e7bcdb.js} +1 -1
  38. package/foundation-2334d146.mjs +60 -0
  39. package/{foundation.mjs → foundation-3f55a9dc.js} +3 -3
  40. package/foundation-c580100a.mjs +152 -0
  41. package/icon-button.js +1 -1
  42. package/icon-button.mjs +13 -13
  43. package/icon-check-toggle.js +1 -1
  44. package/icon-check-toggle.mjs +16 -16
  45. package/icon-radio-toggle.js +1 -1
  46. package/icon-radio-toggle.mjs +17 -17
  47. package/icon.js +1 -1
  48. package/icon.mjs +3 -3
  49. package/if-defined-639ed018.mjs +10 -0
  50. package/if-defined-cb12d481.js +5 -0
  51. package/index.js +1 -1
  52. package/index.mjs +39 -39
  53. package/inert.esm-359d4581.mjs +640 -0
  54. package/linear-progress.js +1 -1
  55. package/linear-progress.mjs +9 -9
  56. package/list-170cca53.js +5 -0
  57. package/{list2.mjs → list-28b77a61.mjs} +2 -2
  58. package/list-expansion.js +1 -1
  59. package/list-expansion.mjs +16 -16
  60. package/list-item-26ddcc43.js +8 -0
  61. package/{list-item2.mjs → list-item-c1e72538.mjs} +4 -4
  62. package/list-item.js +1 -1
  63. package/list-item.mjs +18 -8
  64. package/list.js +1 -1
  65. package/list.mjs +20 -5
  66. package/menu.js +1 -1
  67. package/menu.mjs +16 -16
  68. package/mwc-checkbox-base-10e977f2.mjs +198 -0
  69. package/{mwc-checkbox-base.mjs → mwc-checkbox-base-435c1f1d.js} +1 -1
  70. package/{mwc-checkbox.css.mjs → mwc-checkbox.css-956e3d6c.js} +1 -1
  71. package/mwc-checkbox.css-b7abc7fd.mjs +10 -0
  72. package/mwc-drawer-base-b2b772c3.mjs +335 -0
  73. package/{mwc-drawer-base.mjs → mwc-drawer-base-f44fcf34.js} +1 -1
  74. package/{mwc-icon.mjs → mwc-icon-b96fb867.js} +3 -3
  75. package/mwc-icon-c7013880.mjs +26 -0
  76. package/{mwc-line-ripple-directive.mjs → mwc-line-ripple-directive-a97ce725.js} +1 -1
  77. package/mwc-line-ripple-directive-c3e1f04a.mjs +653 -0
  78. package/{mwc-list-base.mjs → mwc-list-base-7d5f7278.js} +1 -1
  79. package/mwc-list-base-c0f8af1c.mjs +840 -0
  80. package/{mwc-list-item-base.mjs → mwc-list-item-base-803b9771.js} +1 -1
  81. package/mwc-list-item-base-acef0223.mjs +202 -0
  82. package/{mwc-list-item.css.mjs → mwc-list-item.css-401e2407.js} +1 -1
  83. package/mwc-list-item.css-b5481d96.mjs +17 -0
  84. package/mwc-menu-base-8970b43d.mjs +1145 -0
  85. package/{mwc-menu-base.mjs → mwc-menu-base-ac49fe54.js} +1 -1
  86. package/{mwc-radio-base.mjs → mwc-radio-base-442d495a.js} +1 -1
  87. package/mwc-radio-base-c29e6f42.mjs +528 -0
  88. package/{mwc-radio.css.mjs → mwc-radio.css-388ad26d.js} +1 -1
  89. package/mwc-radio.css-4694aa9c.mjs +10 -0
  90. package/mwc-slider.css-336f809b.mjs +956 -0
  91. package/{mwc-slider.css.mjs → mwc-slider.css-48f02f1e.js} +16 -16
  92. package/{mwc-tab-base.mjs → mwc-tab-base-1a19b299.js} +1 -1
  93. package/mwc-tab-base-7fb3d339.mjs +694 -0
  94. package/{mwc-top-app-bar-base.mjs → mwc-top-app-bar-base-14e0a018.js} +1 -1
  95. package/mwc-top-app-bar-base-79c87e69.mjs +380 -0
  96. package/nav-list-item.js +1 -1
  97. package/nav-list-item.mjs +14 -14
  98. package/{observer.mjs → observer-a096ab43.js} +1 -1
  99. package/observer-be7b92e2.mjs +32 -0
  100. package/package.json +1 -1
  101. package/{property.mjs → property-074570d1.js} +1 -1
  102. package/property-ca27685b.mjs +20 -0
  103. package/query-1e7846ea.mjs +25 -0
  104. package/query-2ba749b7.js +5 -0
  105. package/query-assigned-elements-514e5265.mjs +615 -0
  106. package/{query-assigned-nodes.mjs → query-assigned-nodes-9ec0fa5f.js} +1 -1
  107. package/query-assigned-nodes-bea12e0c.mjs +17 -0
  108. package/radio-list-item.js +1 -1
  109. package/radio-list-item.mjs +18 -18
  110. package/radio.js +1 -1
  111. package/radio.mjs +17 -17
  112. package/{ripple-handlers.mjs → ripple-handlers-2176f137.js} +7 -7
  113. package/ripple-handlers-227497d3.mjs +761 -0
  114. package/select.js +1 -1
  115. package/select.mjs +20 -20
  116. package/side-sheet.js +1 -1
  117. package/side-sheet.mjs +10 -10
  118. package/slider-range.js +1 -1
  119. package/slider-range.mjs +14 -14
  120. package/slider.js +1 -1
  121. package/slider.mjs +14 -14
  122. package/snackbar.js +1 -1
  123. package/snackbar.mjs +9 -9
  124. package/state-6f7e570d.mjs +12 -0
  125. package/{state.mjs → state-949232e6.js} +1 -1
  126. package/status-header-item.js +1 -1
  127. package/status-header-item.mjs +2 -2
  128. package/status-header.js +1 -1
  129. package/status-header.mjs +3 -3
  130. package/style-map-2cb0fb63.mjs +40 -0
  131. package/{style-map.mjs → style-map-3056a771.js} +1 -1
  132. package/style.css +1 -1
  133. package/switch.js +1 -1
  134. package/switch.mjs +14 -14
  135. package/tab-bar.js +1 -1
  136. package/tab-bar.mjs +13 -13
  137. package/tab.js +1 -1
  138. package/tab.mjs +13 -13
  139. package/text-lockup.js +1 -1
  140. package/text-lockup.mjs +3 -3
  141. package/textarea.js +1 -1
  142. package/textarea.mjs +15 -15
  143. package/{textfield2.mjs → textfield-276b0ded.mjs} +13 -13
  144. package/textfield-507c6a06.js +133 -0
  145. package/textfield.js +1 -1
  146. package/textfield.mjs +41 -132
  147. package/toolbar.js +1 -1
  148. package/toolbar.mjs +8 -8
  149. package/tooltip.js +1 -1
  150. package/tooltip.mjs +6 -6
  151. package/top-app-bar-34e85527.js +6 -0
  152. package/{top-app-bar2.mjs → top-app-bar-a236c3bc.mjs} +1 -1
  153. package/top-app-bar-fixed.js +1 -1
  154. package/top-app-bar-fixed.mjs +9 -9
  155. package/top-app-bar.js +1 -1
  156. package/top-app-bar.mjs +30 -6
  157. package/tree-list-item.js +1 -1
  158. package/tree-list-item.mjs +3 -3
  159. package/tree-list.js +1 -1
  160. package/tree-list.mjs +1 -1
  161. package/{tslib.es6.mjs → tslib.es6-6b53b818.js} +1 -1
  162. package/tslib.es6-b5e819a6.mjs +82 -0
  163. package/typography.js +1 -1
  164. package/typography.mjs +2 -2
  165. package/{utils.mjs → utils-a8190a39.js} +1 -1
  166. package/utils-dc65fdc9.mjs +52 -0
  167. package/directive-helpers.mjs +0 -5
  168. package/event-options.mjs +0 -5
  169. package/if-defined.mjs +0 -5
  170. package/query.mjs +0 -5
  171. /package/{aria-property.mjs → aria-property-849c8816.js} +0 -0
  172. /package/{foundation2.mjs → foundation-e830bd94.js} +0 -0
  173. /package/{inert.esm.mjs → inert.esm-2cee6f2e.js} +0 -0
  174. /package/{query-assigned-elements.mjs → query-assigned-elements-07e38f46.js} +0 -0
@@ -0,0 +1,52 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2018 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ const u = (t) => t.nodeType === Node.ELEMENT_NODE;
7
+ function v(t) {
8
+ return {
9
+ addClass: (e) => {
10
+ t.classList.add(e);
11
+ },
12
+ removeClass: (e) => {
13
+ t.classList.remove(e);
14
+ },
15
+ hasClass: (e) => t.classList.contains(e)
16
+ };
17
+ }
18
+ let c = !1;
19
+ const a = () => {
20
+ }, r = {
21
+ get passive() {
22
+ return c = !0, !1;
23
+ }
24
+ };
25
+ document.addEventListener("x", a, r);
26
+ document.removeEventListener("x", a);
27
+ const E = c, l = (t = window.document) => {
28
+ let e = t.activeElement;
29
+ const s = [];
30
+ if (!e)
31
+ return s;
32
+ for (; e && (s.push(e), e.shadowRoot); )
33
+ e = e.shadowRoot.activeElement;
34
+ return s;
35
+ }, m = (t) => {
36
+ const e = l();
37
+ if (!e.length)
38
+ return !1;
39
+ const s = e[e.length - 1], d = new Event("check-if-focused", { bubbles: !0, composed: !0 });
40
+ let n = [];
41
+ const o = (i) => {
42
+ n = i.composedPath();
43
+ };
44
+ return document.body.addEventListener("check-if-focused", o), s.dispatchEvent(d), document.body.removeEventListener("check-if-focused", o), n.indexOf(t) !== -1;
45
+ };
46
+ export {
47
+ v as a,
48
+ m as b,
49
+ l as d,
50
+ u as i,
51
+ E as s
52
+ };
@@ -1,5 +0,0 @@
1
- "use strict";require("./query-assigned-elements.mjs");/**
2
- * @license
3
- * Copyright 2020 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */const r=s=>s.strings===void 0,t={},i=(s,e=t)=>s._$AH=e;exports.e=r;exports.s=i;
package/event-options.mjs DELETED
@@ -1,5 +0,0 @@
1
- "use strict";const r=require("./query-assigned-elements.mjs");/**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */function n(e){return r.o({finisher:(s,t)=>{Object.assign(s.prototype[t],e)}})}exports.e=n;
package/if-defined.mjs DELETED
@@ -1,5 +0,0 @@
1
- "use strict";const s=require("./query-assigned-elements.mjs");/**
2
- * @license
3
- * Copyright 2018 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */const t=e=>e??s.b;exports.l=t;
package/query.mjs DELETED
@@ -1,5 +0,0 @@
1
- "use strict";const u=require("./query-assigned-elements.mjs");/**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */function s(o,l){return u.o({descriptor:n=>{const i={get(){var e,t;return(t=(e=this.renderRoot)===null||e===void 0?void 0:e.querySelector(o))!==null&&t!==void 0?t:null},enumerable:!0,configurable:!0};if(l){const e=typeof n=="symbol"?Symbol():"__"+n;i.get=function(){var t,r;return this[e]===void 0&&(this[e]=(r=(t=this.renderRoot)===null||t===void 0?void 0:t.querySelector(o))!==null&&r!==void 0?r:null),this[e]}}return i}})}exports.i=s;
File without changes
File without changes