@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.
- package/action-ribbon.js +1 -1
- package/action-ribbon.mjs +9 -9
- package/alert.js +1 -1
- package/alert.mjs +9 -9
- package/app-shell.js +1 -1
- package/app-shell.mjs +10 -10
- package/aria-property-fa2717fe.mjs +41 -0
- package/base-element-c3dc926e.mjs +28 -0
- package/{base-element.mjs → base-element-d5abe37a.js} +1 -1
- package/button.js +1 -1
- package/button.mjs +14 -14
- package/card.js +1 -1
- package/card.mjs +3 -3
- package/check-list-item.js +1 -1
- package/check-list-item.mjs +18 -18
- package/checkbox.js +1 -1
- package/checkbox.mjs +16 -16
- package/circular-progress.js +1 -1
- package/circular-progress.mjs +7 -7
- package/class-map-08c84aeb.mjs +62 -0
- package/{class-map.mjs → class-map-50b8edb4.js} +3 -3
- package/code-snippet.js +1 -1
- package/code-snippet.mjs +4 -4
- package/{dialog2.mjs → dialog-85c21333.mjs} +9 -9
- package/dialog-8ee07177.js +162 -0
- package/dialog.js +1 -1
- package/dialog.mjs +14 -162
- package/directive-helpers-725a181d.mjs +11 -0
- package/directive-helpers-fce8cf91.js +5 -0
- package/drawer.js +1 -1
- package/drawer.mjs +10 -10
- package/empty-state.js +1 -1
- package/empty-state.mjs +4 -4
- package/event-options-3937d997.mjs +14 -0
- package/event-options-7bc382d8.js +5 -0
- package/form-element-6dbd7afa.mjs +50 -0
- package/{form-element.mjs → form-element-d4e7bcdb.js} +1 -1
- package/foundation-2334d146.mjs +60 -0
- package/{foundation.mjs → foundation-3f55a9dc.js} +3 -3
- package/foundation-c580100a.mjs +152 -0
- package/icon-button.js +1 -1
- package/icon-button.mjs +13 -13
- package/icon-check-toggle.js +1 -1
- package/icon-check-toggle.mjs +16 -16
- package/icon-radio-toggle.js +1 -1
- package/icon-radio-toggle.mjs +17 -17
- package/icon.js +1 -1
- package/icon.mjs +3 -3
- package/if-defined-639ed018.mjs +10 -0
- package/if-defined-cb12d481.js +5 -0
- package/index.js +1 -1
- package/index.mjs +39 -39
- package/inert.esm-359d4581.mjs +640 -0
- package/linear-progress.js +1 -1
- package/linear-progress.mjs +9 -9
- package/list-170cca53.js +5 -0
- package/{list2.mjs → list-28b77a61.mjs} +2 -2
- package/list-expansion.js +1 -1
- package/list-expansion.mjs +16 -16
- package/list-item-26ddcc43.js +8 -0
- package/{list-item2.mjs → list-item-c1e72538.mjs} +4 -4
- package/list-item.js +1 -1
- package/list-item.mjs +18 -8
- package/list.js +1 -1
- package/list.mjs +20 -5
- package/menu.js +1 -1
- package/menu.mjs +16 -16
- package/mwc-checkbox-base-10e977f2.mjs +198 -0
- package/{mwc-checkbox-base.mjs → mwc-checkbox-base-435c1f1d.js} +1 -1
- package/{mwc-checkbox.css.mjs → mwc-checkbox.css-956e3d6c.js} +1 -1
- package/mwc-checkbox.css-b7abc7fd.mjs +10 -0
- package/mwc-drawer-base-b2b772c3.mjs +335 -0
- package/{mwc-drawer-base.mjs → mwc-drawer-base-f44fcf34.js} +1 -1
- package/{mwc-icon.mjs → mwc-icon-b96fb867.js} +3 -3
- package/mwc-icon-c7013880.mjs +26 -0
- package/{mwc-line-ripple-directive.mjs → mwc-line-ripple-directive-a97ce725.js} +1 -1
- package/mwc-line-ripple-directive-c3e1f04a.mjs +653 -0
- package/{mwc-list-base.mjs → mwc-list-base-7d5f7278.js} +1 -1
- package/mwc-list-base-c0f8af1c.mjs +840 -0
- package/{mwc-list-item-base.mjs → mwc-list-item-base-803b9771.js} +1 -1
- package/mwc-list-item-base-acef0223.mjs +202 -0
- package/{mwc-list-item.css.mjs → mwc-list-item.css-401e2407.js} +1 -1
- package/mwc-list-item.css-b5481d96.mjs +17 -0
- package/mwc-menu-base-8970b43d.mjs +1145 -0
- package/{mwc-menu-base.mjs → mwc-menu-base-ac49fe54.js} +1 -1
- package/{mwc-radio-base.mjs → mwc-radio-base-442d495a.js} +1 -1
- package/mwc-radio-base-c29e6f42.mjs +528 -0
- package/{mwc-radio.css.mjs → mwc-radio.css-388ad26d.js} +1 -1
- package/mwc-radio.css-4694aa9c.mjs +10 -0
- package/mwc-slider.css-336f809b.mjs +956 -0
- package/{mwc-slider.css.mjs → mwc-slider.css-48f02f1e.js} +16 -16
- package/{mwc-tab-base.mjs → mwc-tab-base-1a19b299.js} +1 -1
- package/mwc-tab-base-7fb3d339.mjs +694 -0
- package/{mwc-top-app-bar-base.mjs → mwc-top-app-bar-base-14e0a018.js} +1 -1
- package/mwc-top-app-bar-base-79c87e69.mjs +380 -0
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +14 -14
- package/{observer.mjs → observer-a096ab43.js} +1 -1
- package/observer-be7b92e2.mjs +32 -0
- package/package.json +1 -1
- package/{property.mjs → property-074570d1.js} +1 -1
- package/property-ca27685b.mjs +20 -0
- package/query-1e7846ea.mjs +25 -0
- package/query-2ba749b7.js +5 -0
- package/query-assigned-elements-514e5265.mjs +615 -0
- package/{query-assigned-nodes.mjs → query-assigned-nodes-9ec0fa5f.js} +1 -1
- package/query-assigned-nodes-bea12e0c.mjs +17 -0
- package/radio-list-item.js +1 -1
- package/radio-list-item.mjs +18 -18
- package/radio.js +1 -1
- package/radio.mjs +17 -17
- package/{ripple-handlers.mjs → ripple-handlers-2176f137.js} +7 -7
- package/ripple-handlers-227497d3.mjs +761 -0
- package/select.js +1 -1
- package/select.mjs +20 -20
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +10 -10
- package/slider-range.js +1 -1
- package/slider-range.mjs +14 -14
- package/slider.js +1 -1
- package/slider.mjs +14 -14
- package/snackbar.js +1 -1
- package/snackbar.mjs +9 -9
- package/state-6f7e570d.mjs +12 -0
- package/{state.mjs → state-949232e6.js} +1 -1
- package/status-header-item.js +1 -1
- package/status-header-item.mjs +2 -2
- package/status-header.js +1 -1
- package/status-header.mjs +3 -3
- package/style-map-2cb0fb63.mjs +40 -0
- package/{style-map.mjs → style-map-3056a771.js} +1 -1
- package/style.css +1 -1
- package/switch.js +1 -1
- package/switch.mjs +14 -14
- package/tab-bar.js +1 -1
- package/tab-bar.mjs +13 -13
- package/tab.js +1 -1
- package/tab.mjs +13 -13
- package/text-lockup.js +1 -1
- package/text-lockup.mjs +3 -3
- package/textarea.js +1 -1
- package/textarea.mjs +15 -15
- package/{textfield2.mjs → textfield-276b0ded.mjs} +13 -13
- package/textfield-507c6a06.js +133 -0
- package/textfield.js +1 -1
- package/textfield.mjs +41 -132
- package/toolbar.js +1 -1
- package/toolbar.mjs +8 -8
- package/tooltip.js +1 -1
- package/tooltip.mjs +6 -6
- package/top-app-bar-34e85527.js +6 -0
- package/{top-app-bar2.mjs → top-app-bar-a236c3bc.mjs} +1 -1
- package/top-app-bar-fixed.js +1 -1
- package/top-app-bar-fixed.mjs +9 -9
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +30 -6
- package/tree-list-item.js +1 -1
- package/tree-list-item.mjs +3 -3
- package/tree-list.js +1 -1
- package/tree-list.mjs +1 -1
- package/{tslib.es6.mjs → tslib.es6-6b53b818.js} +1 -1
- package/tslib.es6-b5e819a6.mjs +82 -0
- package/typography.js +1 -1
- package/typography.mjs +2 -2
- package/{utils.mjs → utils-a8190a39.js} +1 -1
- package/utils-dc65fdc9.mjs +52 -0
- package/directive-helpers.mjs +0 -5
- package/event-options.mjs +0 -5
- package/if-defined.mjs +0 -5
- package/query.mjs +0 -5
- /package/{aria-property.mjs → aria-property-849c8816.js} +0 -0
- /package/{foundation2.mjs → foundation-e830bd94.js} +0 -0
- /package/{inert.esm.mjs → inert.esm-2cee6f2e.js} +0 -0
- /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
|
+
};
|
package/directive-helpers.mjs
DELETED
package/event-options.mjs
DELETED
package/if-defined.mjs
DELETED
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
|
File without changes
|
File without changes
|