@reinosoft-ui/core 0.1.5 → 0.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.
@@ -0,0 +1,11 @@
1
+ export type TriState = true | false | undefined;
2
+ export interface Props {
3
+ id?: string;
4
+ disabled?: boolean;
5
+ required?: boolean;
6
+ invalid?: boolean;
7
+ triState?: boolean;
8
+ }
9
+ export interface Emits {
10
+ (e: 'change', value: TriState): void;
11
+ }
@@ -0,0 +1,31 @@
1
+ import type { Props, TriState } from './Checkbox';
2
+ type __VLS_Props = Props;
3
+ type __VLS_ModelProps = {
4
+ modelValue: TriState;
5
+ };
6
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
+ declare var __VLS_1: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:modelValue": (value: TriState) => any;
13
+ } & {
14
+ change: (value: TriState) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ onChange?: ((value: TriState) => any) | undefined;
17
+ "onUpdate:modelValue"?: ((value: TriState) => any) | undefined;
18
+ }>, {
19
+ required: boolean;
20
+ invalid: boolean;
21
+ disabled: boolean;
22
+ triState: boolean;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
package/dist/index.d.ts CHANGED
@@ -13,6 +13,7 @@ export { default as Avatar } from './components/Avatar/Avatar.vue';
13
13
  export { default as Select } from './components/Select/Select.vue';
14
14
  export { default as ImageGallery } from './components/ImageGallery';
15
15
  export { default as Spinner } from './components/Spinner/Spinner.vue';
16
+ export { default as Checkbox } from './components/Checkbox/Checkbox.vue';
16
17
  export { default as Textarea } from './components/Textarea/Textarea.vue';
17
18
  export { default as Highlight } from './components/Highlight/Highlight.vue';
18
19
  export { default as Breadcrumb } from './components/Breadcrumb/Breadcrumb.vue';