@e1011/es-kit 1.0.172 → 1.0.174
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/dist/hooks/esm/index.css +41 -41
- package/dist/hooks/esm/src/core/hooks/useThemePreference.js +1 -1
- package/dist/hooks/esm/src/core/hooks/useThemePreference.js.map +1 -1
- package/dist/hooks/index.css +41 -41
- package/dist/hooks/src/core/hooks/useThemePreference.js +1 -1
- package/dist/hooks/src/core/hooks/useThemePreference.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useThemePreference.js +1 -1
- package/dist/lib/cjs/src/core/hooks/useThemePreference.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/lib/cjs/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/lib/cjs/src/index.js +1 -1
- package/dist/lib/esm/src/core/hooks/useThemePreference.js +1 -1
- package/dist/lib/esm/src/core/hooks/useThemePreference.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/lib/esm/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/lib/esm/src/index.js +1 -1
- package/dist/lib/src/core/hooks/useThemePreference.js +1 -1
- package/dist/lib/src/core/ui/components/icon/IconWC.js +8 -8
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/core/ui/components/icon/IconWC.d.ts +3 -3
- package/dist/ui/esm/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/ui/esm/src/core/ui/index.js +1 -1
- package/dist/ui/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/ui/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/ui/src/core/ui/index.js +1 -1
- package/dist/utils/esm/index.css +41 -41
- package/dist/utils/index.css +41 -41
- package/package.json +1 -1
|
@@ -4,12 +4,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
var
|
|
7
|
+
var ESIcon_1;
|
|
8
8
|
import { ced, resolveAttributes } from '../../../utils/webComponents/webComponent.utils';
|
|
9
9
|
import classes from './icon.module.scss';
|
|
10
10
|
const template = document.createElement('template');
|
|
11
11
|
template.innerHTML = '<span class="icon-base"></span>';
|
|
12
|
-
let
|
|
12
|
+
let ESIcon = ESIcon_1 = class ESIcon extends HTMLElement {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
this.render = () => {
|
|
@@ -40,7 +40,7 @@ let VCIcon = VCIcon_1 = class VCIcon extends HTMLElement {
|
|
|
40
40
|
this.content = this.content || this.innerHTML || this.getAttribute('content');
|
|
41
41
|
}
|
|
42
42
|
this.innerHTML = template.innerHTML;
|
|
43
|
-
resolveAttributes(this,
|
|
43
|
+
resolveAttributes(this, ESIcon_1.observedAttributes);
|
|
44
44
|
this.render();
|
|
45
45
|
}
|
|
46
46
|
attributeChangedCallback(attrName, oldVal, newVal) {
|
|
@@ -59,11 +59,11 @@ let VCIcon = VCIcon_1 = class VCIcon extends HTMLElement {
|
|
|
59
59
|
this.render();
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
|
|
62
|
+
ESIcon = ESIcon_1 = __decorate([
|
|
63
63
|
ced('icon-base')
|
|
64
|
-
],
|
|
65
|
-
export {
|
|
66
|
-
export const
|
|
67
|
-
|
|
64
|
+
], ESIcon);
|
|
65
|
+
export { ESIcon };
|
|
66
|
+
export const ESIconBase = {
|
|
67
|
+
ESIconBase: ESIcon,
|
|
68
68
|
};
|
|
69
69
|
//# sourceMappingURL=IconWC.js.map
|