@huntflow/ui 0.2.19 → 0.2.21
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/index.d.ts +6 -0
- package/dist/components/ui-button/types.d.ts +2 -1
- package/dist/components/ui-checkbox/checkbox.vue.d.ts +13 -0
- package/dist/components/ui-checkbox/index.d.ts +3 -0
- package/dist/components/ui-checkbox/types.d.ts +18 -0
- package/dist/components/ui-checkbox-group/checkbox-group.vue.d.ts +24 -0
- package/dist/components/ui-checkbox-group/index.d.ts +3 -0
- package/dist/components/ui-checkbox-group/types.d.ts +6 -0
- package/dist/components/ui-label/types.d.ts +1 -0
- package/dist/global.css +1 -1
- package/dist/{sprite-ChiFmLCL.js → sprite-D1jqNFny.js} +1 -1
- package/dist/ui.es.js +1711 -505
- package/package.json +11 -11
|
@@ -21,3 +21,9 @@ export { UiAvatar } from './ui-avatar';
|
|
|
21
21
|
export type { UiAvatarProps } from './ui-avatar';
|
|
22
22
|
export { UiStack } from './ui-stack';
|
|
23
23
|
export type { UiStackProps } from './ui-stack';
|
|
24
|
+
export { UiRadioButton } from './ui-radio-button';
|
|
25
|
+
export type { UiRadioButtonProps } from './ui-radio-button';
|
|
26
|
+
export { UiCheckbox } from './ui-checkbox';
|
|
27
|
+
export type { UiCheckboxProps } from './ui-checkbox';
|
|
28
|
+
export { UiCheckboxGroup } from './ui-checkbox-group';
|
|
29
|
+
export type { UiCheckboxGroupProps } from './ui-checkbox-group';
|
|
@@ -13,7 +13,8 @@ export type UiButtonProps = {
|
|
|
13
13
|
to?: string;
|
|
14
14
|
iconBefore?: IconBySize<18> | IconBySize<20>;
|
|
15
15
|
iconAfter?: IconBySize<18> | IconBySize<20>;
|
|
16
|
+
fill?: boolean;
|
|
16
17
|
};
|
|
17
|
-
export type UiButtonSize = 's' | 'xs' | 'm' | 'l';
|
|
18
|
+
export type UiButtonSize = 's' | 'xs' | 'm' | 'l' | 'xl';
|
|
18
19
|
export type UiButtonType = 'primary' | 'secondary' | 'accent' | 'jobsites' | 'ghost' | 'ghost-danger' | 'danger';
|
|
19
20
|
export type UiButtonHTMLType = 'button' | 'submit' | 'reset';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UiCheckboxProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<UiCheckboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
input: (event: Event) => any;
|
|
4
|
+
"update:modelValue": (value: boolean | "indeterminate") => any;
|
|
5
|
+
focus: (event: FocusEvent) => any;
|
|
6
|
+
blur: (event: FocusEvent) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<UiCheckboxProps> & Readonly<{
|
|
8
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
9
|
+
"onUpdate:modelValue"?: ((value: boolean | "indeterminate") => any) | undefined;
|
|
10
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
11
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type UiCheckboxProps = {
|
|
2
|
+
modelValue?: boolean | 'indeterminate';
|
|
3
|
+
id?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
title: string;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
error?: string;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
value?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
lock?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export type UiCheckboxEmits = {
|
|
14
|
+
'update:modelValue': [value: boolean | 'indeterminate'];
|
|
15
|
+
blur: [event: FocusEvent];
|
|
16
|
+
focus: [event: FocusEvent];
|
|
17
|
+
input: [event: Event];
|
|
18
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UiCheckboxGroupProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<UiCheckboxGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: string[]) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<UiCheckboxGroupProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
modelValue: string[];
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|