@central-design-system/components 3.0.0-beta.23 → 3.0.0-beta.25
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/cds.es.js +11 -10
- package/dist/cds.umd.js +1 -1
- package/package.json +1 -1
- package/src/scss/themes/b2b/tokens.json +104 -104
- package/src/scss/themes/cds/tokens.json +104 -104
- package/src/scss/themes/index.ts +1 -1
package/dist/cds.es.js
CHANGED
|
@@ -2156,20 +2156,21 @@ const hm = Object.freeze({
|
|
|
2156
2156
|
getForeground: Fc
|
|
2157
2157
|
}, Symbol.toStringTag, { value: "Module" })), Oc = Symbol("cds:teleport");
|
|
2158
2158
|
function Tm(e, t) {
|
|
2159
|
-
const n = {
|
|
2160
|
-
target: document.body,
|
|
2161
|
-
contained: !1,
|
|
2162
|
-
containerClassName: t
|
|
2163
|
-
}, o = { ...n, ...Ue(Oc, { ...n }) };
|
|
2164
2159
|
return { teleportTarget: g(() => {
|
|
2165
|
-
|
|
2166
|
-
|
|
2160
|
+
if (!Be)
|
|
2161
|
+
return;
|
|
2162
|
+
const o = {
|
|
2163
|
+
target: document.body,
|
|
2164
|
+
contained: !1,
|
|
2165
|
+
containerClassName: t
|
|
2166
|
+
}, s = { ...o, ...Ue(Oc, { ...o }) }, l = s.contained || a(e);
|
|
2167
|
+
if (l === !0)
|
|
2167
2168
|
return;
|
|
2168
|
-
const i = l === !1 ?
|
|
2169
|
+
const i = l === !1 ? s.target : typeof l == "string" ? document.querySelector(l) : l;
|
|
2169
2170
|
if (i == null)
|
|
2170
2171
|
return;
|
|
2171
|
-
let r = i.querySelector(`:scope > .${
|
|
2172
|
-
return r || (r = document.createElement("div"), r.className =
|
|
2172
|
+
let r = i.querySelector(`:scope > .${s.containerClassName}`);
|
|
2173
|
+
return r || (r = document.createElement("div"), r.className = s.containerClassName, i.appendChild(r)), r;
|
|
2173
2174
|
}) };
|
|
2174
2175
|
}
|
|
2175
2176
|
const TC = ["start", "center", "end"], Mm = Se(
|