@mureka-fe/ui 3.0.0 → 4.0.0

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.
Files changed (40) hide show
  1. package/dist/llms.txt +56 -1
  2. package/dist/src/components/button/Button.vue.d.ts.map +1 -1
  3. package/dist/src/components/button/button.types.d.ts +1 -0
  4. package/dist/src/components/button/button.types.d.ts.map +1 -1
  5. package/dist/src/components/checkbox/Checkbox.vue.d.ts +31 -0
  6. package/dist/src/components/checkbox/Checkbox.vue.d.ts.map +1 -0
  7. package/dist/src/components/checkbox/CheckboxGroup.vue.d.ts +31 -0
  8. package/dist/src/components/checkbox/CheckboxGroup.vue.d.ts.map +1 -0
  9. package/dist/src/components/checkbox/__docs__/demos/basic.demo.vue.d.ts +3 -0
  10. package/dist/src/components/checkbox/__docs__/demos/basic.demo.vue.d.ts.map +1 -0
  11. package/dist/src/components/checkbox/__docs__/demos/direction.demo.vue.d.ts +3 -0
  12. package/dist/src/components/checkbox/__docs__/demos/direction.demo.vue.d.ts.map +1 -0
  13. package/dist/src/components/checkbox/__docs__/demos/disabled.demo.vue.d.ts +3 -0
  14. package/dist/src/components/checkbox/__docs__/demos/disabled.demo.vue.d.ts.map +1 -0
  15. package/dist/src/components/checkbox/__docs__/demos/group.demo.vue.d.ts +3 -0
  16. package/dist/src/components/checkbox/__docs__/demos/group.demo.vue.d.ts.map +1 -0
  17. package/dist/src/components/checkbox/__docs__/demos/indeterminate.demo.vue.d.ts +3 -0
  18. package/dist/src/components/checkbox/__docs__/demos/indeterminate.demo.vue.d.ts.map +1 -0
  19. package/dist/src/components/checkbox/__docs__/demos/options.demo.vue.d.ts +3 -0
  20. package/dist/src/components/checkbox/__docs__/demos/options.demo.vue.d.ts.map +1 -0
  21. package/dist/src/components/checkbox/__docs__/meta.d.ts +4 -0
  22. package/dist/src/components/checkbox/__docs__/meta.d.ts.map +1 -0
  23. package/dist/src/components/checkbox/checkbox.context.d.ts +11 -0
  24. package/dist/src/components/checkbox/checkbox.context.d.ts.map +1 -0
  25. package/dist/src/components/checkbox/checkbox.spec.d.ts +2 -0
  26. package/dist/src/components/checkbox/checkbox.spec.d.ts.map +1 -0
  27. package/dist/src/components/checkbox/checkbox.types.d.ts +54 -0
  28. package/dist/src/components/checkbox/checkbox.types.d.ts.map +1 -0
  29. package/dist/src/components/checkbox/index.d.ts +4 -0
  30. package/dist/src/components/checkbox/index.d.ts.map +1 -0
  31. package/dist/src/components/radio/Radio.vue.d.ts +6 -6
  32. package/dist/src/components/radio/RadioGroup.vue.d.ts +3 -3
  33. package/dist/src/components/switch/Switch.vue.d.ts +4 -4
  34. package/dist/src/components/tabs/Tabs.vue.d.ts +2 -2
  35. package/dist/src/index.d.ts +2 -0
  36. package/dist/src/index.d.ts.map +1 -1
  37. package/dist/styles.css +1 -1
  38. package/dist/ui.js +754 -553
  39. package/dist/ui.umd.cjs +1 -1
  40. package/package.json +1 -1
package/dist/llms.txt CHANGED
@@ -1,4 +1,4 @@
1
- # @mureka-fe/ui v3.0.0
1
+ # @mureka-fe/ui v4.0.0
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.
@@ -25,6 +25,7 @@ import { MuButton, MuModal } from '@mureka-fe/ui';
25
25
  | Switch 开关 | `switch` | 用于切换开/关状态,支持受控与非受控、自定义值、异步切换拦截、自定义文案和图标。 |
26
26
  | Radio 单选 | `radio` | 用于在一组选项中选择单个值,支持受控与非受控、横向/纵向排列、禁用态和独立使用。 |
27
27
  | Tabs 标签页 | `tabs` | 用于在同级内容或模式之间切换,支持 line 与 segment 两种视觉形态、三档尺寸、图标插槽和等宽布局。 |
28
+ | Checkbox 复选 | `checkbox` | 用于在一组选项中选择多个值,支持受控与非受控、半选态、声明式 options、横向/纵向排列、禁用态和独立使用。 |
28
29
 
29
30
  ## Full export list
30
31
 
@@ -34,6 +35,14 @@ import './styles/index.css';
34
35
  export { MuBadge } from './components/badge';
35
36
  export type { BadgePreset, BadgeProps, BadgeVariant } from './components/badge';
36
37
  export { MuButton } from './components/button';
38
+ export { MuCheckbox, MuCheckboxGroup } from './components/checkbox';
39
+ export type {
40
+ CheckboxGroupDirection,
41
+ CheckboxGroupProps,
42
+ CheckboxOption,
43
+ CheckboxProps,
44
+ CheckboxValue,
45
+ } from './components/checkbox';
37
46
  export { MessageList, message } from './components/message';
38
47
  export { MuModal, muModal, openMuModal } from './components/modal';
39
48
  export type { ImperativeModalProps } from './components/modal';
@@ -390,3 +399,49 @@ Status: stable · Since 1.0.0 · Category: 通用
390
399
  | default | VNode | -- | MuTabs 默认插槽承载 MuTab;MuTab 默认插槽承载标签文本。 |
391
400
  | prefix | VNode | -- | MuTab 前置图标插槽,图标尺寸随 Tabs size 变化。 |
392
401
  | suffix | VNode | -- | MuTab 后置图标插槽,图标尺寸随 Tabs size 变化。 |
402
+
403
+ ### Checkbox 复选 `checkbox`
404
+
405
+ Status: stable · Since 1.0.0 · Category: 通用
406
+
407
+ 用于在一组选项中选择多个值,支持受控与非受控、半选态、声明式 options、横向/纵向排列、禁用态和独立使用。
408
+
409
+ #### Usage notes
410
+
411
+ - **基础用法** — 独立 Checkbox 通过 v-model 绑定布尔值,未选中即 false。
412
+ - **复选组** — 用 MuCheckboxGroup 与 v-model 管理一组已选值数组,子项通过 value 标识。
413
+ - **声明式 options** — 给 Group 传 options 数组即可渲染选项,无需手写子节点。
414
+ - **半选与全选** — indeterminate 表达父级“部分选中”,是实现全选 checkbox 的标准做法。
415
+ - **禁用状态** — Group disabled 会禁用整组;单个 Checkbox 也可以独立 disabled。
416
+ - **排列方向** — direction 支持 horizontal 与 vertical;横向组间距为 16px。
417
+
418
+ #### Props
419
+
420
+ | name | type | default | description |
421
+ | --- | --- | --- | --- |
422
+ | model-value (v-model) | boolean | -- | Checkbox 选中状态。传入非 undefined 值时进入受控模式。 |
423
+ | value | string \| number \| boolean | -- | 在 MuCheckboxGroup 中代表该 Checkbox 的值。 |
424
+ | default-checked | boolean | false | 非受控模式下的默认选中状态,仅对独立 Checkbox 生效。 |
425
+ | indeterminate | boolean | false | 半选视觉态,由父级控制,不影响 checked 取值,视觉上压过选中态。 |
426
+ | disabled | boolean | false | 禁用当前 Checkbox。Group disabled 会同时禁用组内所有项。 |
427
+ | name | string | -- | 透传给原生 checkbox input 的 name。Group name 会优先透传给子项。 |
428
+ | model-value (v-model) | (string \| number \| boolean)[] | -- | MuCheckboxGroup 的已选值数组。传入非 undefined 时进入受控模式。 |
429
+ | default-value | (string \| number \| boolean)[] | -- | Group 非受控模式下的默认已选值数组。 |
430
+ | options | Array<string \| number \| boolean \| CheckboxOption> | -- | Group 声明式选项;传入后内部渲染子项,无需手写默认插槽。 |
431
+ | direction | 'horizontal' \| 'vertical' | 'horizontal' | Group 排列方向。 |
432
+
433
+ #### Events
434
+
435
+ | name | signature | description |
436
+ | --- | --- | --- |
437
+ | change | (checked: boolean, originalEvent: Event) => void | 独立 Checkbox 选中状态改变时触发。 |
438
+ | change | (values: (string \| number \| boolean)[], originalEvent: Event) => void | MuCheckboxGroup 已选值改变时触发。 |
439
+ | focus | (event: FocusEvent) => void | Checkbox 原生 input 获得焦点时触发。 |
440
+ | blur | (event: FocusEvent) => void | Checkbox 原生 input 失去焦点时触发。 |
441
+
442
+ #### Slots
443
+
444
+ | name | type | default | description |
445
+ | --- | --- | --- | --- |
446
+ | default | VNode | -- | Checkbox 标签内容;在 MuCheckboxGroup 上为子项内容(未使用 options 时)。 |
447
+ | label | VNode | -- | MuCheckboxGroup 使用 options 时自定义单项标签,作用域参数 { option }。 |
@@ -1 +1 @@
1
- {"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/button/Button.vue"],"names":[],"mappings":"AAkcA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AA8PlD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW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,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -40,6 +40,7 @@ export interface ButtonContentStateInput {
40
40
  export interface ButtonContentState {
41
41
  showPrefixSlot: boolean;
42
42
  showSuffixSlot: boolean;
43
+ showDefaultSlot: boolean;
43
44
  showLoadingIndicator: boolean;
44
45
  requiresAriaLabel: boolean;
45
46
  isInvalidIconOnlyCombination: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"button.types.d.ts","sourceRoot":"","sources":["../../../../src/components/button/button.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,OAAO,CAAC;AACrE,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,SAAS,CAAC;AAChD,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,CAAC;AACrD,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG,SAAS,CAAC;AAC1D,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AACtD,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,MAAM,CAAC;AACjD,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE7D,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,aAAa,EAAE,mBAAmB,CAAC;IACnC,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,gBAAgB,CAAC;CAC9B;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,4BAA4B,EAAE,OAAO,CAAC;CACvC;AAED,wBAAgB,kBAAkB,CAAC,KAAK,GAAE,WAAgB,GAAG,mBAAmB,CAa/E;AAED,wBAAgB,mBAAmB,CAAC,KAAK,GAAE,WAAgB,GAAG,MAAM,EAAE,CAkCrE;AAED,wBAAgB,mBAAmB,CAAC,KAAK,GAAE,WAAgB,GAAG,OAAO,CAGpE;AAED,wBAAgB,qBAAqB,CAAC,KAAK,GAAE,uBAA4B,GAAG,kBAAkB,CAgB7F"}
1
+ {"version":3,"file":"button.types.d.ts","sourceRoot":"","sources":["../../../../src/components/button/button.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,OAAO,CAAC;AACrE,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,SAAS,C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CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,4BAA4B,EAAE,OAAO,CAAC;CACvC;AAED,wBAAgB,kBAAkB,CAAC,KAAK,GAAE,WAAgB,GAAG,mBAAmB,CAa/E;AAED,wBAAgB,mBAAmB,CAAC,KAAK,GAAE,WAAgB,GAAG,MAAM,EAAE,CAkCrE;AAED,wBAAgB,mBAAmB,CAAC,KAAK,GAAE,WAAgB,GAAG,OAAO,CAGpE;AAED,wBAAgB,qBAAqB,CAAC,KAAK,GAAE,uBAA4B,GAAG,kBAAkB,CAiB7F"}
@@ -0,0 +1,31 @@
1
+ import type { CheckboxProps } from './checkbox.types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<CheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (value: boolean) => any;
8
+ change: (value: boolean, originalEvent: Event) => any;
9
+ focus: (event: FocusEvent) => any;
10
+ blur: (event: FocusEvent) => any;
11
+ }, string, import("vue").PublicProps, Readonly<CheckboxProps> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
13
+ onChange?: ((value: boolean, originalEvent: Event) => any) | undefined;
14
+ onFocus?: ((event: FocusEvent) => any) | undefined;
15
+ onBlur?: ((event: FocusEvent) => any) | undefined;
16
+ }>, {
17
+ disabled: boolean;
18
+ modelValue: boolean;
19
+ value: import("./checkbox.types").CheckboxValue;
20
+ defaultChecked: boolean;
21
+ indeterminate: boolean;
22
+ name: string;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
31
+ //# sourceMappingURL=Checkbox.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/Checkbox.vue"],"names":[],"mappings":"AAgQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAwMtD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAiC/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;6EAQnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,31 @@
1
+ import type { CheckboxGroupProps, CheckboxOption, CheckboxValue } from './checkbox.types';
2
+ declare var __VLS_4: {
3
+ option: CheckboxOption;
4
+ }, __VLS_6: {};
5
+ type __VLS_Slots = {} & {
6
+ label?: (props: typeof __VLS_4) => any;
7
+ } & {
8
+ default?: (props: typeof __VLS_6) => any;
9
+ };
10
+ declare const __VLS_component: import("vue").DefineComponent<CheckboxGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "update:modelValue": (value: CheckboxValue[]) => any;
12
+ change: (value: CheckboxValue[], originalEvent: Event) => any;
13
+ }, string, import("vue").PublicProps, Readonly<CheckboxGroupProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: CheckboxValue[]) => any) | undefined;
15
+ onChange?: ((value: CheckboxValue[], originalEvent: Event) => any) | undefined;
16
+ }>, {
17
+ disabled: boolean;
18
+ modelValue: CheckboxValue[];
19
+ name: string;
20
+ defaultValue: CheckboxValue[];
21
+ options: Array<CheckboxValue | CheckboxOption>;
22
+ direction: import("./checkbox.types").CheckboxGroupDirection;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
31
+ //# sourceMappingURL=CheckboxGroup.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/CheckboxGroup.vue"],"names":[],"mappings":"AA4HA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAiI1F,QAAA,IAAI,OAAO;;CAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA0B/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;6EAQnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,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=basic.demo.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"basic.demo.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/checkbox/__docs__/demos/basic.demo.vue"],"names":[],"mappings":";AA4FA,wBAKG"}
@@ -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=direction.demo.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"direction.demo.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/checkbox/__docs__/demos/direction.demo.vue"],"names":[],"mappings":";AAqHA,wBAKG"}
@@ -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=disabled.demo.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"disabled.demo.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/checkbox/__docs__/demos/disabled.demo.vue"],"names":[],"mappings":";AAwJA,wBAKG"}
@@ -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=group.demo.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.demo.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/checkbox/__docs__/demos/group.demo.vue"],"names":[],"mappings":";AAgJA,wBAKG"}
@@ -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=indeterminate.demo.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indeterminate.demo.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/checkbox/__docs__/demos/indeterminate.demo.vue"],"names":[],"mappings":";AAwKA,wBAKG"}
@@ -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=options.demo.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.demo.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/checkbox/__docs__/demos/options.demo.vue"],"names":[],"mappings":";AA2GA,wBAKG"}
@@ -0,0 +1,4 @@
1
+ import type { ComponentDocMeta } from '../../../../internal/docs/schema';
2
+ declare const meta: ComponentDocMeta;
3
+ export default meta;
4
+ //# sourceMappingURL=meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../../../src/components/checkbox/__docs__/meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,QAAA,MAAM,IAAI,EAAE,gBAqJX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { ComputedRef, InjectionKey } from 'vue';
2
+ import type { CheckboxValue } from './checkbox.types';
3
+ export interface CheckboxGroupContext {
4
+ value: ComputedRef<CheckboxValue[]>;
5
+ disabled: ComputedRef<boolean>;
6
+ name: ComputedRef<string | undefined>;
7
+ isChecked: (value: CheckboxValue) => boolean;
8
+ toggle: (value: CheckboxValue, event: Event) => void;
9
+ }
10
+ export declare const checkboxGroupContextKey: InjectionKey<CheckboxGroupContext>;
11
+ //# sourceMappingURL=checkbox.context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.context.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/checkbox.context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,WAAW,CAAC,aAAa,EAAE,CAAC,CAAC;IACpC,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC/B,IAAI,EAAE,WAAW,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtC,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,OAAO,CAAC;IAC7C,MAAM,EAAE,CAAC,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACtD;AAED,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,oBAAoB,CAC5C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=checkbox.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/checkbox.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,54 @@
1
+ export type CheckboxValue = string | number | boolean;
2
+ export type CheckboxGroupDirection = 'horizontal' | 'vertical';
3
+ export interface CheckboxOption {
4
+ label?: string;
5
+ value: CheckboxValue;
6
+ disabled?: boolean;
7
+ }
8
+ export interface CheckboxProps {
9
+ modelValue?: boolean;
10
+ value?: CheckboxValue;
11
+ defaultChecked?: boolean;
12
+ indeterminate?: boolean;
13
+ disabled?: boolean;
14
+ name?: string;
15
+ }
16
+ export interface CheckboxGroupProps {
17
+ modelValue?: CheckboxValue[];
18
+ defaultValue?: CheckboxValue[];
19
+ options?: Array<CheckboxValue | CheckboxOption>;
20
+ disabled?: boolean;
21
+ name?: string;
22
+ direction?: CheckboxGroupDirection;
23
+ }
24
+ export interface ResolvedCheckboxProps {
25
+ modelValue?: boolean;
26
+ value?: CheckboxValue;
27
+ defaultChecked: boolean;
28
+ indeterminate: boolean;
29
+ disabled: boolean;
30
+ name?: string;
31
+ }
32
+ export interface ResolvedCheckboxGroupProps {
33
+ modelValue?: CheckboxValue[];
34
+ defaultValue?: CheckboxValue[];
35
+ options?: Array<CheckboxValue | CheckboxOption>;
36
+ disabled: boolean;
37
+ name?: string;
38
+ direction: CheckboxGroupDirection;
39
+ }
40
+ export interface CheckboxClassState {
41
+ checked?: boolean;
42
+ indeterminate?: boolean;
43
+ disabled?: boolean;
44
+ }
45
+ export declare function resolveCheckboxProps(props?: CheckboxProps): ResolvedCheckboxProps;
46
+ export declare function resolveCheckboxGroupProps(props?: CheckboxGroupProps): ResolvedCheckboxGroupProps;
47
+ export declare function isCheckboxControlled(props?: Pick<CheckboxProps, 'modelValue'>): boolean;
48
+ export declare function isCheckboxGroupControlled(props?: Pick<CheckboxGroupProps, 'modelValue'>): boolean;
49
+ export declare function isCheckboxValueSelected(selectedValues: readonly CheckboxValue[] | undefined, value: CheckboxValue | undefined): boolean;
50
+ export declare function toggleCheckboxValue(selectedValues: readonly CheckboxValue[], value: CheckboxValue): CheckboxValue[];
51
+ export declare function normalizeCheckboxOption(option: CheckboxValue | CheckboxOption): CheckboxOption;
52
+ export declare function getCheckboxClassNames(props?: CheckboxProps, state?: CheckboxClassState): string[];
53
+ export declare function getCheckboxGroupClassNames(props?: CheckboxGroupProps): string[];
54
+ //# sourceMappingURL=checkbox.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/checkbox.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AACtD,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAAG,UAAU,CAAC;AAE/D,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,kBAAkB;IACjC,UAAU,CAAC,EAAE,aAAa,EAAE,CAAC;IAC7B,YAAY,CAAC,EAAE,aAAa,EAAE,CAAC;IAC/B,OAAO,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,cAAc,CAAC,CAAC;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,sBAAsB,CAAC;CACpC;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,CAAC,EAAE,OAAO,CA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F;AAED,wBAAgB,qBAAqB,CACnC,KAAK,GAAE,aAAkB,EACzB,KAAK,GAAE,kBAAuB,GAC7B,MAAM,EAAE,CAiBV;AAED,wBAAgB,0BAA0B,CAAC,KAAK,GAAE,kBAAuB,GAAG,MAAM,EAAE,CASnF"}
@@ -0,0 +1,4 @@
1
+ export { default as MuCheckbox } from './Checkbox.vue';
2
+ export { default as MuCheckboxGroup } from './CheckboxGroup.vue';
3
+ export type { CheckboxGroupDirection, CheckboxGroupProps, CheckboxOption, CheckboxProps, CheckboxValue, ResolvedCheckboxGroupProps, ResolvedCheckboxProps, } from './checkbox.types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACjE,YAAY,EACV,sBAAsB,EACtB,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,aAAa,EACb,0BAA0B,EAC1B,qBAAqB,GACtB,MAAM,kBAAkB,CAAC"}
@@ -4,21 +4,21 @@ type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_1) => any;
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<RadioProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- blur: (event: FocusEvent) => any;
7
+ "update:modelValue": (value: RadioValue) => any;
8
8
  change: (value: RadioValue, originalEvent: Event) => any;
9
9
  focus: (event: FocusEvent) => any;
10
- "update:modelValue": (value: RadioValue) => any;
10
+ blur: (event: FocusEvent) => any;
11
11
  }, string, import("vue").PublicProps, Readonly<RadioProps> & Readonly<{
12
- onBlur?: ((event: FocusEvent) => any) | undefined;
12
+ "onUpdate:modelValue"?: ((value: RadioValue) => any) | undefined;
13
13
  onChange?: ((value: RadioValue, originalEvent: Event) => any) | undefined;
14
14
  onFocus?: ((event: FocusEvent) => any) | undefined;
15
- "onUpdate:modelValue"?: ((value: RadioValue) => any) | undefined;
15
+ onBlur?: ((event: FocusEvent) => any) | undefined;
16
16
  }>, {
17
17
  disabled: boolean;
18
- name: string;
19
- value: RadioValue;
20
18
  modelValue: RadioValue;
19
+ value: RadioValue;
21
20
  defaultChecked: boolean;
21
+ name: string;
22
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
23
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
24
24
  export default _default;
@@ -4,15 +4,15 @@ type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_1) => any;
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<RadioGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- change: (value: RadioValue, originalEvent: Event) => any;
8
7
  "update:modelValue": (value: RadioValue) => any;
8
+ change: (value: RadioValue, originalEvent: Event) => any;
9
9
  }, string, import("vue").PublicProps, Readonly<RadioGroupProps> & Readonly<{
10
- onChange?: ((value: RadioValue, originalEvent: Event) => any) | undefined;
11
10
  "onUpdate:modelValue"?: ((value: RadioValue) => any) | undefined;
11
+ onChange?: ((value: RadioValue, originalEvent: Event) => any) | undefined;
12
12
  }>, {
13
13
  disabled: boolean;
14
- name: string;
15
14
  modelValue: RadioValue;
15
+ name: string;
16
16
  defaultValue: RadioValue;
17
17
  direction: import("./radio.types").RadioGroupDirection;
18
18
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -10,15 +10,15 @@ type __VLS_Slots = {} & {
10
10
  unchecked?: (props: typeof __VLS_7) => any;
11
11
  };
12
12
  declare const __VLS_component: import("vue").DefineComponent<SwitchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- blur: (event: FocusEvent) => any;
13
+ "update:modelValue": (value: SwitchValue) => any;
14
14
  change: (value: SwitchValue, originalEvent: Event | null) => any;
15
15
  focus: (event: FocusEvent) => any;
16
- "update:modelValue": (value: SwitchValue) => any;
16
+ blur: (event: FocusEvent) => any;
17
17
  }, string, import("vue").PublicProps, Readonly<SwitchProps> & Readonly<{
18
- onBlur?: ((event: FocusEvent) => any) | undefined;
18
+ "onUpdate:modelValue"?: ((value: SwitchValue) => any) | undefined;
19
19
  onChange?: ((value: SwitchValue, originalEvent: Event | null) => any) | undefined;
20
20
  onFocus?: ((event: FocusEvent) => any) | undefined;
21
- "onUpdate:modelValue"?: ((value: SwitchValue) => any) | undefined;
21
+ onBlur?: ((event: FocusEvent) => any) | undefined;
22
22
  }>, {
23
23
  type: import("./switch.types").SwitchType;
24
24
  size: import("./switch.types").SwitchSize;
@@ -10,8 +10,8 @@ declare const __VLS_component: import("vue").DefineComponent<(import("./tabs.typ
10
10
  variant: "segment";
11
11
  appearance?: import("./tabs.types").TabsAppearance;
12
12
  }), {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- change: (value: TabValue, originalEvent: Event) => any;
14
13
  "update:modelValue": (value: TabValue) => any;
14
+ change: (value: TabValue, originalEvent: Event) => any;
15
15
  }, string, import("vue").PublicProps, Readonly<(import("./tabs.types").TabsCommonProps & {
16
16
  variant?: "line";
17
17
  appearance?: never;
@@ -19,8 +19,8 @@ declare const __VLS_component: import("vue").DefineComponent<(import("./tabs.typ
19
19
  variant: "segment";
20
20
  appearance?: import("./tabs.types").TabsAppearance;
21
21
  })> & Readonly<{
22
- onChange?: ((value: TabValue, originalEvent: Event) => any) | undefined;
23
22
  "onUpdate:modelValue"?: ((value: TabValue) => any) | undefined;
23
+ onChange?: ((value: TabValue, originalEvent: Event) => any) | undefined;
24
24
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
25
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
26
26
  export default _default;
@@ -2,6 +2,8 @@ import './styles/index.css';
2
2
  export { MuBadge } from './components/badge';
3
3
  export type { BadgePreset, BadgeProps, BadgeVariant } from './components/badge';
4
4
  export { MuButton } from './components/button';
5
+ export { MuCheckbox, MuCheckboxGroup } from './components/checkbox';
6
+ export type { CheckboxGroupDirection, CheckboxGroupProps, CheckboxOption, CheckboxProps, CheckboxValue, } from './components/checkbox';
5
7
  export { MessageList, message } from './components/message';
6
8
  export { MuModal, muModal, openMuModal } from './components/modal';
7
9
  export type { ImperativeModalProps } from './components/modal';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAE5B,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAChF,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACnE,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC3D,YAAY,EACV,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,UAAU,GACX,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,YAAY,EACV,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,UAAU,EACV,WAAW,GACZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAClD,YAAY,EACV,QAAQ,EACR,QAAQ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