@maxax/ui 1.1.5 → 1.1.6
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/components/basic-button-action/BasicButtonDrop.vue.d.ts.map +1 -1
- package/dist/index.cjs +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +8 -5
- package/dist/index.mjs.map +1 -1
- package/dist/theme-chalk/index.css +1 -1
- package/dist/theme-chalk/light.css +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -3259,7 +3259,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3259
3259
|
setup(__props, { emit: __emit }) {
|
|
3260
3260
|
const props = __props;
|
|
3261
3261
|
const emit = __emit;
|
|
3262
|
-
const { b } = useNamespace("basic-button-drop");
|
|
3262
|
+
const { b, e } = useNamespace("basic-button-drop");
|
|
3263
3263
|
const cOptions = computed(() => {
|
|
3264
3264
|
var _a;
|
|
3265
3265
|
return ((_a = props.options) != null ? _a : []).map((option) => {
|
|
@@ -3277,19 +3277,22 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3277
3277
|
emit("click", defaultKey);
|
|
3278
3278
|
}
|
|
3279
3279
|
return (_ctx, _cache) => {
|
|
3280
|
-
return openBlock(), createBlock(unref(NButtonGroup),
|
|
3280
|
+
return openBlock(), createBlock(unref(NButtonGroup), {
|
|
3281
|
+
class: normalizeClass(unref(b)())
|
|
3282
|
+
}, {
|
|
3281
3283
|
default: withCtx(() => [
|
|
3282
3284
|
createVNode(unref(XBasicButton), {
|
|
3283
3285
|
type: "primary",
|
|
3284
3286
|
icon: __props.icon,
|
|
3285
3287
|
disabled: __props.disabled,
|
|
3288
|
+
class: normalizeClass(unref(e)("trigger-button")),
|
|
3286
3289
|
onClick: handleClick
|
|
3287
3290
|
}, {
|
|
3288
3291
|
default: withCtx(() => [
|
|
3289
3292
|
renderSlot(_ctx.$slots, "default")
|
|
3290
3293
|
]),
|
|
3291
3294
|
_: 3
|
|
3292
|
-
}, 8, ["icon", "disabled"]),
|
|
3295
|
+
}, 8, ["icon", "disabled", "class"]),
|
|
3293
3296
|
createVNode(unref(NDropdown), {
|
|
3294
3297
|
trigger: "click",
|
|
3295
3298
|
options: cOptions.value,
|
|
@@ -3299,14 +3302,14 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3299
3302
|
createVNode(unref(XBasicButton), {
|
|
3300
3303
|
type: "primary",
|
|
3301
3304
|
icon: "ri:arrow-down-s-line",
|
|
3302
|
-
class: normalizeClass(unref(
|
|
3305
|
+
class: normalizeClass(unref(e)("trigger-arrow"))
|
|
3303
3306
|
}, null, 8, ["class"])
|
|
3304
3307
|
]),
|
|
3305
3308
|
_: 1
|
|
3306
3309
|
}, 8, ["options"])
|
|
3307
3310
|
]),
|
|
3308
3311
|
_: 3
|
|
3309
|
-
});
|
|
3312
|
+
}, 8, ["class"]);
|
|
3310
3313
|
};
|
|
3311
3314
|
}
|
|
3312
3315
|
});
|