cleek 2.4.63 → 2.4.65
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/cleek.es.js +4 -4
- package/dist/cleek.umd.js +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -23316,14 +23316,14 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
23316
23316
|
const computedStyleContent = computed$2(() => {
|
|
23317
23317
|
var _a, _b, _c;
|
|
23318
23318
|
const list = [];
|
|
23319
|
-
const
|
|
23320
|
-
if (maxWidth)
|
|
23321
|
-
list.push({ "max-width": maxWidth });
|
|
23322
|
-
const fontSize = props.fontSize || ((_b = cleekOptions2.value) == null ? void 0 : _b.popup.fontSize);
|
|
23319
|
+
const fontSize = props.fontSize || ((_a = cleekOptions2.value) == null ? void 0 : _a.popup.fontSize);
|
|
23323
23320
|
if (fontSize)
|
|
23324
23321
|
list.push({ "font-size": fontSize });
|
|
23325
23322
|
if (props.width)
|
|
23326
23323
|
list.push({ width: props.width });
|
|
23324
|
+
const maxWidth = props.width ? "95%" : props.maxWidth || ((_b = cleekOptions2.value) == null ? void 0 : _b.popup.maxWidth);
|
|
23325
|
+
if (maxWidth)
|
|
23326
|
+
list.push({ "max-width": maxWidth });
|
|
23327
23327
|
const textColor = props.textColor || ((_c = cleekOptions2.value) == null ? void 0 : _c.popup.textColor);
|
|
23328
23328
|
if (textColor && !hooks8.isColorTemplateVariable(textColor)) {
|
|
23329
23329
|
list.push(`ck-component__color--${textColor}`);
|