@mureka-fe/ui 5.0.4 → 5.0.5
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/llms.txt +4 -1
- package/dist/src/components/badge/Badge.vue.d.ts +6 -2
- package/dist/src/components/badge/Badge.vue.d.ts.map +1 -1
- package/dist/src/components/badge/__docs__/demos/icon.demo.vue.d.ts +3 -0
- package/dist/src/components/badge/__docs__/demos/icon.demo.vue.d.ts.map +1 -0
- package/dist/src/components/badge/__docs__/meta.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/ui.js +553 -540
- package/dist/ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/llms.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @mureka-fe/ui v5.0.
|
|
1
|
+
# @mureka-fe/ui v5.0.5
|
|
2
2
|
|
|
3
3
|
> AI/LLM-readable reference for the @mureka-fe/ui Vue 3 component library.
|
|
4
4
|
> Read this file before writing UI in a project that depends on this package.
|
|
@@ -154,6 +154,7 @@ Status: stable · Since 2.0.0 · Category: 通用
|
|
|
154
154
|
- **Preset 总览** — 内置 12 个命名徽标,覆盖 NEW 字标、权益、发布状态和元信息展示。
|
|
155
155
|
- **Variant** — 内容驱动模式支持 outline、solid 和 soft 三种视觉形态。
|
|
156
156
|
- **内容驱动** — 不传 preset 时内容完全来自默认插槽,paid 控制免费灰色与付费主题色。
|
|
157
|
+
- **图标槽** — 内容驱动模式支持 prefix / suffix 图标槽,按变体取尺寸(outline/soft 14px,solid 18px)。
|
|
157
158
|
|
|
158
159
|
#### Props
|
|
159
160
|
|
|
@@ -168,6 +169,8 @@ Status: stable · Since 2.0.0 · Category: 通用
|
|
|
168
169
|
| name | type | default | description |
|
|
169
170
|
| --- | --- | --- | --- |
|
|
170
171
|
| default | VNode | -- | 徽标内容。文字 preset 提供默认内容并允许覆盖;new 与 new-mini 固定渲染 SVG 字标并忽略插槽。 |
|
|
172
|
+
| prefix | VNode | -- | 前置图标槽。内容驱动模式按变体取尺寸(outline/soft 14px,solid 18px);new、new-mini 字标忽略。 |
|
|
173
|
+
| suffix | VNode | -- | 后置图标槽。内容驱动模式按变体取尺寸(outline/soft 14px,solid 18px);new、new-mini 字标忽略。 |
|
|
171
174
|
|
|
172
175
|
### Dialog 弹窗 `modal`
|
|
173
176
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
|
-
|
|
3
|
+
prefix?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
default?: (props: typeof __VLS_3) => any;
|
|
6
|
+
} & {
|
|
7
|
+
suffix?: (props: typeof __VLS_5) => any;
|
|
4
8
|
};
|
|
5
9
|
declare const __VLS_component: import("vue").DefineComponent<import("./badge.types").BadgeBaseProps | import("./badge.types").BadgePresetProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("./badge.types").BadgeBaseProps | import("./badge.types").BadgePresetProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
10
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/badge/Badge.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Badge.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/badge/Badge.vue"],"names":[],"mappings":"AA4fA,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAyB9C,QAAA,MAAM,eAAe,8aAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=icon.demo.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.demo.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/badge/__docs__/demos/icon.demo.vue"],"names":[],"mappings":";AAsNA,wBAKG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../../../src/components/badge/__docs__/meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../../../src/components/badge/__docs__/meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,QAAA,MAAM,IAAI,EAAE,gBAiFX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|