@deskhero/dh_ui 1.54.3 → 1.54.4
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/dh_ui.es.js +9 -1
- package/dist/dh_ui.umd.js +1 -1
- package/dist/src/components/DropdownMenu.vue.d.ts +11 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dh_ui.es.js
CHANGED
|
@@ -24274,11 +24274,19 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
24274
24274
|
type: Boolean,
|
|
24275
24275
|
required: false,
|
|
24276
24276
|
default: true
|
|
24277
|
+
},
|
|
24278
|
+
widthProp: {
|
|
24279
|
+
type: String,
|
|
24280
|
+
required: false,
|
|
24281
|
+
default: "10rem"
|
|
24277
24282
|
}
|
|
24278
24283
|
},
|
|
24279
24284
|
emits: ["itemSelected", "close"],
|
|
24280
24285
|
setup(__props, { emit }) {
|
|
24281
24286
|
const props = __props;
|
|
24287
|
+
useCssVars((_ctx) => ({
|
|
24288
|
+
"315ed4b2": __props.widthProp
|
|
24289
|
+
}));
|
|
24282
24290
|
onMounted(() => {
|
|
24283
24291
|
document.addEventListener("click", (event) => {
|
|
24284
24292
|
closeOnClickOutside(event);
|
|
@@ -24337,7 +24345,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
24337
24345
|
};
|
|
24338
24346
|
}
|
|
24339
24347
|
});
|
|
24340
|
-
var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
24348
|
+
var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-1fdda382"]]);
|
|
24341
24349
|
var Error_vue_vue_type_style_index_0_lang = "";
|
|
24342
24350
|
const _hoisted_1$g = {
|
|
24343
24351
|
key: 0,
|