@db-ux/wc-core-components 4.2.0 → 4.2.2
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/CHANGELOG.md +16 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/db-accordion.cjs.entry.js +1 -1
- package/dist/cjs/db-badge.cjs.entry.js +1 -1
- package/dist/cjs/db-brand.cjs.entry.js +1 -1
- package/dist/cjs/db-button.cjs.entry.js +1 -1
- package/dist/cjs/db-card.cjs.entry.js +1 -1
- package/dist/cjs/db-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +1 -1
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +1 -1
- package/dist/cjs/db-custom-select.cjs.entry.js +1 -1
- package/dist/cjs/db-divider.cjs.entry.js +1 -1
- package/dist/cjs/db-drawer.cjs.entry.js +1 -1
- package/dist/cjs/db-header.cjs.entry.js +1 -1
- package/dist/cjs/db-icon.cjs.entry.js +1 -1
- package/dist/cjs/db-infotext.cjs.entry.js +1 -1
- package/dist/cjs/db-link.cjs.entry.js +1 -1
- package/dist/cjs/db-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/db-navigation.cjs.entry.js +1 -1
- package/dist/cjs/db-notification.cjs.entry.js +1 -1
- package/dist/cjs/db-page.cjs.entry.js +1 -1
- package/dist/cjs/db-popover.cjs.entry.js +1 -1
- package/dist/cjs/db-radio.cjs.entry.js +1 -1
- package/dist/cjs/db-section.cjs.entry.js +1 -1
- package/dist/cjs/db-select.cjs.entry.js +1 -1
- package/dist/cjs/db-stack.cjs.entry.js +1 -1
- package/dist/cjs/db-switch.cjs.entry.js +14 -3
- package/dist/cjs/db-switch.entry.cjs.js.map +1 -1
- package/dist/cjs/db-tab-item.db-tab-list.db-tab-panel.entry.cjs.js.map +1 -1
- package/dist/cjs/db-tab-item_3.cjs.entry.js +31 -11
- package/dist/cjs/db-tabs.cjs.entry.js +3 -3
- package/dist/cjs/db-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/db-textarea.cjs.entry.js +1 -1
- package/dist/cjs/db-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/db-ux.cjs.js +3 -3
- package/dist/cjs/db-ux.cjs.js.map +1 -1
- package/dist/cjs/{index-C6rF_KRf.js → index-Db5RdCbB.js} +39 -4
- package/dist/cjs/index-Db5RdCbB.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/switch/model.js.map +1 -1
- package/dist/collection/components/switch/switch.js +38 -27
- package/dist/collection/components/switch/switch.js.map +1 -1
- package/dist/collection/components/tab-item/model.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.js +35 -11
- package/dist/collection/components/tab-item/tab-item.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/custom-elements.json +77 -40
- package/dist/db-ux/db-switch.entry.esm.js.map +1 -1
- package/dist/db-ux/db-tab-item.db-tab-list.db-tab-panel.entry.esm.js.map +1 -1
- package/dist/db-ux/db-tabs.entry.esm.js.map +1 -1
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/db-ux.esm.js.map +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/p-129cbaa9.entry.js +2 -0
- package/dist/db-ux/{p-5cbbd49b.entry.js → p-162c989a.entry.js} +2 -2
- package/dist/db-ux/p-18f10b76.entry.js +2 -0
- package/dist/db-ux/p-18f10b76.entry.js.map +1 -0
- package/dist/db-ux/{p-16057f32.entry.js → p-1dcb2a08.entry.js} +2 -2
- package/dist/db-ux/p-2addb72d.entry.js +2 -0
- package/dist/db-ux/p-2addb72d.entry.js.map +1 -0
- package/dist/db-ux/{p-f99290da.entry.js → p-2f6afcbc.entry.js} +2 -2
- package/dist/db-ux/{p-249e06ff.entry.js → p-35bb2b0a.entry.js} +2 -2
- package/dist/db-ux/p-4318a6c7.entry.js +2 -0
- package/dist/db-ux/{p-f2265ef1.entry.js → p-45562afc.entry.js} +2 -2
- package/dist/db-ux/{p-7f3a0030.entry.js → p-49b9ab25.entry.js} +2 -2
- package/dist/db-ux/{p-4c2e8450.entry.js → p-4c944f45.entry.js} +2 -2
- package/dist/db-ux/{p-534cd3be.entry.js → p-4ff5ddf2.entry.js} +2 -2
- package/dist/db-ux/{p-ee527103.entry.js → p-5b15eef1.entry.js} +2 -2
- package/dist/db-ux/{p-b412ed52.entry.js → p-68c1dd8d.entry.js} +2 -2
- package/dist/db-ux/{p-256396bf.entry.js → p-78f062f6.entry.js} +2 -2
- package/dist/db-ux/{p-a6ac65be.entry.js → p-7c0eefb1.entry.js} +2 -2
- package/dist/db-ux/{p-68b70ec5.entry.js → p-7c46fd6c.entry.js} +2 -2
- package/dist/db-ux/p-7f894c65.entry.js +2 -0
- package/dist/db-ux/{p-59f30e71.entry.js → p-84ab3984.entry.js} +2 -2
- package/dist/db-ux/{p-1500dad2.entry.js → p-89e04100.entry.js} +2 -2
- package/dist/db-ux/p-BMAwJo5Z.js +3 -0
- package/dist/db-ux/p-BMAwJo5Z.js.map +1 -0
- package/dist/db-ux/{p-23d72611.entry.js → p-a34bf30b.entry.js} +2 -2
- package/dist/db-ux/{p-751434fa.entry.js → p-baeda9f2.entry.js} +2 -2
- package/dist/db-ux/{p-693724ef.entry.js → p-bc6b636e.entry.js} +2 -2
- package/dist/db-ux/p-c7bb7bea.entry.js +2 -0
- package/dist/db-ux/p-c7bb7bea.entry.js.map +1 -0
- package/dist/db-ux/{p-d59087c4.entry.js → p-d1b7a69c.entry.js} +2 -2
- package/dist/db-ux/{p-79b990e4.entry.js → p-d2e189a4.entry.js} +2 -2
- package/dist/db-ux/{p-39e09377.entry.js → p-e46f112c.entry.js} +2 -2
- package/dist/db-ux/p-e470d0a2.entry.js +2 -0
- package/dist/db-ux/{p-952cd568.entry.js.map → p-e470d0a2.entry.js.map} +1 -1
- package/dist/db-ux/{p-8f698fc9.entry.js → p-f7c1e940.entry.js} +2 -2
- package/dist/db-ux/{p-12070f78.entry.js → p-fedb9696.entry.js} +2 -2
- package/dist/esm/db-accordion-item.entry.js +1 -1
- package/dist/esm/db-accordion.entry.js +1 -1
- package/dist/esm/db-badge.entry.js +1 -1
- package/dist/esm/db-brand.entry.js +1 -1
- package/dist/esm/db-button.entry.js +1 -1
- package/dist/esm/db-card.entry.js +1 -1
- package/dist/esm/db-checkbox.entry.js +1 -1
- package/dist/esm/db-custom-select-dropdown_5.entry.js +1 -1
- package/dist/esm/db-custom-select-form-field.entry.js +1 -1
- package/dist/esm/db-custom-select.entry.js +1 -1
- package/dist/esm/db-divider.entry.js +1 -1
- package/dist/esm/db-drawer.entry.js +1 -1
- package/dist/esm/db-header.entry.js +1 -1
- package/dist/esm/db-icon.entry.js +1 -1
- package/dist/esm/db-infotext.entry.js +1 -1
- package/dist/esm/db-link.entry.js +1 -1
- package/dist/esm/db-navigation-item.entry.js +1 -1
- package/dist/esm/db-navigation.entry.js +1 -1
- package/dist/esm/db-notification.entry.js +1 -1
- package/dist/esm/db-page.entry.js +1 -1
- package/dist/esm/db-popover.entry.js +1 -1
- package/dist/esm/db-radio.entry.js +1 -1
- package/dist/esm/db-section.entry.js +1 -1
- package/dist/esm/db-select.entry.js +1 -1
- package/dist/esm/db-stack.entry.js +1 -1
- package/dist/esm/db-switch.entry.js +14 -3
- package/dist/esm/db-switch.entry.js.map +1 -1
- package/dist/esm/db-tab-item.db-tab-list.db-tab-panel.entry.js.map +1 -1
- package/dist/esm/db-tab-item_3.entry.js +31 -11
- package/dist/esm/db-tabs.entry.js +3 -3
- package/dist/esm/db-tabs.entry.js.map +1 -1
- package/dist/esm/db-textarea.entry.js +1 -1
- package/dist/esm/db-tooltip.entry.js +1 -1
- package/dist/esm/db-ux.js +4 -4
- package/dist/esm/db-ux.js.map +1 -1
- package/dist/esm/{index-C6WmMqtR.js → index-BMAwJo5Z.js} +39 -4
- package/dist/esm/index-BMAwJo5Z.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/switch/model.d.ts +4 -2
- package/dist/types/components/switch/switch.d.ts +3 -2
- package/dist/types/components/tab-item/model.d.ts +3 -0
- package/dist/types/components/tab-item/tab-item.d.ts +4 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/vscode.html-custom-data.json +5 -5
- package/dist/web-types.json +14 -12
- package/package.json +5 -5
- package/dist/cjs/index-C6rF_KRf.js.map +0 -1
- package/dist/db-ux/p-01a606b9.entry.js +0 -2
- package/dist/db-ux/p-51d6c8b2.entry.js +0 -2
- package/dist/db-ux/p-51d6c8b2.entry.js.map +0 -1
- package/dist/db-ux/p-952cd568.entry.js +0 -2
- package/dist/db-ux/p-C6WmMqtR.js +0 -3
- package/dist/db-ux/p-C6WmMqtR.js.map +0 -1
- package/dist/db-ux/p-b1edf43c.entry.js +0 -2
- package/dist/db-ux/p-b70342cb.entry.js +0 -2
- package/dist/db-ux/p-b70342cb.entry.js.map +0 -1
- package/dist/db-ux/p-bc2e8a30.entry.js +0 -2
- package/dist/db-ux/p-bc2e8a30.entry.js.map +0 -1
- package/dist/db-ux/p-f2ab4d34.entry.js +0 -2
- package/dist/esm/index-C6WmMqtR.js.map +0 -1
- /package/dist/db-ux/{p-f2ab4d34.entry.js.map → p-129cbaa9.entry.js.map} +0 -0
- /package/dist/db-ux/{p-5cbbd49b.entry.js.map → p-162c989a.entry.js.map} +0 -0
- /package/dist/db-ux/{p-16057f32.entry.js.map → p-1dcb2a08.entry.js.map} +0 -0
- /package/dist/db-ux/{p-f99290da.entry.js.map → p-2f6afcbc.entry.js.map} +0 -0
- /package/dist/db-ux/{p-249e06ff.entry.js.map → p-35bb2b0a.entry.js.map} +0 -0
- /package/dist/db-ux/{p-01a606b9.entry.js.map → p-4318a6c7.entry.js.map} +0 -0
- /package/dist/db-ux/{p-f2265ef1.entry.js.map → p-45562afc.entry.js.map} +0 -0
- /package/dist/db-ux/{p-7f3a0030.entry.js.map → p-49b9ab25.entry.js.map} +0 -0
- /package/dist/db-ux/{p-4c2e8450.entry.js.map → p-4c944f45.entry.js.map} +0 -0
- /package/dist/db-ux/{p-534cd3be.entry.js.map → p-4ff5ddf2.entry.js.map} +0 -0
- /package/dist/db-ux/{p-ee527103.entry.js.map → p-5b15eef1.entry.js.map} +0 -0
- /package/dist/db-ux/{p-b412ed52.entry.js.map → p-68c1dd8d.entry.js.map} +0 -0
- /package/dist/db-ux/{p-256396bf.entry.js.map → p-78f062f6.entry.js.map} +0 -0
- /package/dist/db-ux/{p-a6ac65be.entry.js.map → p-7c0eefb1.entry.js.map} +0 -0
- /package/dist/db-ux/{p-68b70ec5.entry.js.map → p-7c46fd6c.entry.js.map} +0 -0
- /package/dist/db-ux/{p-b1edf43c.entry.js.map → p-7f894c65.entry.js.map} +0 -0
- /package/dist/db-ux/{p-59f30e71.entry.js.map → p-84ab3984.entry.js.map} +0 -0
- /package/dist/db-ux/{p-1500dad2.entry.js.map → p-89e04100.entry.js.map} +0 -0
- /package/dist/db-ux/{p-23d72611.entry.js.map → p-a34bf30b.entry.js.map} +0 -0
- /package/dist/db-ux/{p-751434fa.entry.js.map → p-baeda9f2.entry.js.map} +0 -0
- /package/dist/db-ux/{p-693724ef.entry.js.map → p-bc6b636e.entry.js.map} +0 -0
- /package/dist/db-ux/{p-d59087c4.entry.js.map → p-d1b7a69c.entry.js.map} +0 -0
- /package/dist/db-ux/{p-79b990e4.entry.js.map → p-d2e189a4.entry.js.map} +0 -0
- /package/dist/db-ux/{p-39e09377.entry.js.map → p-e46f112c.entry.js.map} +0 -0
- /package/dist/db-ux/{p-8f698fc9.entry.js.map → p-f7c1e940.entry.js.map} +0 -0
- /package/dist/db-ux/{p-12070f78.entry.js.map → p-fedb9696.entry.js.map} +0 -0
package/dist/esm/db-ux.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"db-ux.js","sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.38.
|
|
1
|
+
{"version":3,"file":"db-ux.js","sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.38.3 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, H, promiseResolve, win } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;AAKA,IAAI,YAAY,GAAG,MAAM;AAUzB,EAAE,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG;AACpC,EAAE,MAAM,IAAI,GAAiE,EAAE;AAC/E,EAAE,IAAI,UAAU,KAAK,EAAE,EAAE;AACzB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI;AACrD;AACA,EAAE,OAAO,cAAc,CAAC,IAAI,CAAC;AAC7B,CAAC;;ACnBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAM,aAAa,EAAE;AACvB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC;AAC7D,CAAC,CAAC","x_google_ignoreList":[0]}
|
|
@@ -1,14 +1,46 @@
|
|
|
1
1
|
const NAMESPACE = 'db-ux';
|
|
2
|
-
const BUILD = /* db-ux */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: false, slotRelocation: true, updatable: true};
|
|
2
|
+
const BUILD = /* db-ux */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: false, slotRelocation: true, state: true, updatable: true};
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.38.
|
|
5
|
+
Stencil Client Platform v4.38.3 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
9
9
|
for (var name in all)
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
|
+
var reWireGetterSetter = (instance, hostRef) => {
|
|
13
|
+
var _a;
|
|
14
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
15
|
+
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
16
|
+
members.map(([memberName, [memberFlags]]) => {
|
|
17
|
+
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
18
|
+
const ogValue = instance[memberName];
|
|
19
|
+
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
20
|
+
if (ogDescriptor) {
|
|
21
|
+
Object.defineProperty(instance, memberName, {
|
|
22
|
+
get() {
|
|
23
|
+
return ogDescriptor.get.call(this);
|
|
24
|
+
},
|
|
25
|
+
set(newValue) {
|
|
26
|
+
ogDescriptor.set.call(this, newValue);
|
|
27
|
+
},
|
|
28
|
+
configurable: true,
|
|
29
|
+
enumerable: true
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
function getPropertyDescriptor(obj, memberName) {
|
|
37
|
+
while (obj) {
|
|
38
|
+
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
39
|
+
if (desc == null ? void 0 : desc.get) return desc;
|
|
40
|
+
obj = Object.getPrototypeOf(obj);
|
|
41
|
+
}
|
|
42
|
+
return void 0;
|
|
43
|
+
}
|
|
12
44
|
|
|
13
45
|
// src/client/client-host-ref.ts
|
|
14
46
|
var getHostRef = (ref) => {
|
|
@@ -21,6 +53,9 @@ var registerInstance = (lazyInstance, hostRef) => {
|
|
|
21
53
|
if (!hostRef) return;
|
|
22
54
|
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
23
55
|
hostRef.$lazyInstance$ = lazyInstance;
|
|
56
|
+
if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.state)) {
|
|
57
|
+
reWireGetterSetter(lazyInstance, hostRef);
|
|
58
|
+
}
|
|
24
59
|
};
|
|
25
60
|
var registerHost = (hostElement, cmpMeta) => {
|
|
26
61
|
const hostRef = {
|
|
@@ -1643,6 +1678,6 @@ var Fragment = (_, children) => children;
|
|
|
1643
1678
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
1644
1679
|
|
|
1645
1680
|
export { Fragment as F, bootstrapLazy as b, createEvent as c, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
1646
|
-
//# sourceMappingURL=index-
|
|
1681
|
+
//# sourceMappingURL=index-BMAwJo5Z.js.map
|
|
1647
1682
|
|
|
1648
|
-
//# sourceMappingURL=index-
|
|
1683
|
+
//# sourceMappingURL=index-BMAwJo5Z.js.map
|