@maltjoy/core-vue 1.0.0-alpha.3 → 1.0.0-alpha.4
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/JoyButton/JoyButton.vue.d.ts +3 -3
- package/dist/components/JoyCheckbox/JoyCheckbox.vue.d.ts +85 -0
- package/dist/components/JoyCheckbox/tests/JoyCheckbox.spec.d.ts +1 -0
- package/dist/components/JoyFormError/JoyFormError.vue.d.ts +23 -0
- package/dist/components/JoyFormError/tests/JoyFormError.spec.d.ts +1 -0
- package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +3 -0
- package/dist/components/JoyHighlight/JoyHighlight.vue.d.ts +48 -0
- package/dist/components/JoyHighlight/tests/JoyHighlight.spec.d.ts +1 -0
- package/dist/components/JoyInput/JoyInput.vue.d.ts +47 -30
- package/dist/components/JoyLabel/JoyLabel.vue.d.ts +1 -1
- package/dist/components/JoyRadio/JoyRadio.vue.d.ts +37 -13
- package/dist/components/JoySelect/JoySelect.vue.d.ts +33 -42
- package/dist/components/JoyToggle/JoyToggle.vue.d.ts +71 -0
- package/dist/components/JoyToggle/tests/JoyToggle.spec.d.ts +1 -0
- package/dist/components/JoyWrapper/JoyWrapper.vue.d.ts +9 -9
- package/dist/components/index.d.ts +5 -1
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/props.d.ts +56 -0
- package/dist/helpers/index.d.ts +2 -0
- package/dist/joy-vue.js +470 -284
- package/dist/joy-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/dist/tests/composables/prop.spec.d.ts +1 -0
- package/dist/tests/composables/test-components/CheckboxFormProps.vue.d.ts +62 -0
- package/dist/tests/composables/test-components/GenericFormProps.vue.d.ts +44 -0
- package/dist/tests/composables/test-components/GenericFormPropsWithLabel.vue.d.ts +55 -0
- package/dist/tests/helpers.spec.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/joy-components.d.ts +15 -10
- package/package.json +1 -1
- package/dist/components/JoySelect/JoySelect.types.d.ts +0 -2
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import JoyButton from '@/components/JoyButton/JoyButton.vue';
|
|
2
|
+
import JoyCheckbox from '@/components/JoyCheckbox/JoyCheckbox.vue';
|
|
3
|
+
import JoyFormError from '@/components/JoyFormError/JoyFormError.vue';
|
|
4
|
+
import JoyHighlight from '@/components/JoyHighlight/JoyHighlight.vue';
|
|
2
5
|
import JoyInput from '@/components/JoyInput/JoyInput.vue';
|
|
3
6
|
import JoyLabel from '@/components/JoyLabel/JoyLabel.vue';
|
|
4
7
|
import JoyLink from '@/components/JoyLink/JoyLink.vue';
|
|
@@ -8,4 +11,5 @@ import JoySelect from '@/components/JoySelect/JoySelect.vue';
|
|
|
8
11
|
import JoySpinner from '@/components/JoySpinner/JoySpinner.vue';
|
|
9
12
|
import JoyWrapper from '@/components/JoyWrapper/JoyWrapper.vue';
|
|
10
13
|
import JoyTemplate from '@/components/JoyTemplate/JoyTemplate.vue';
|
|
11
|
-
|
|
14
|
+
import JoyToggle from '@/components/JoyToggle/JoyToggle.vue';
|
|
15
|
+
export { JoyButton, JoyCheckbox, JoyFormError, JoyHighlight, JoyInput, JoyLabel, JoyLink, JoyRadio, JoyRadioGroup, JoySelect, JoySpinner, JoyTemplate, JoyToggle, JoyWrapper };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './props';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare const FORM_BASED_PROPS: {
|
|
3
|
+
disabled: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
id: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
};
|
|
10
|
+
invalid: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
name: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
};
|
|
17
|
+
required: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export declare const CHECKBOX_BASED_PROPS: {
|
|
23
|
+
disabled: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
id: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
};
|
|
30
|
+
invalid: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
name: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
};
|
|
37
|
+
required: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
modelValue: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
value: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export declare const LABEL_BASED_PROPS: {
|
|
51
|
+
label: StringConstructor;
|
|
52
|
+
labelSize: {
|
|
53
|
+
type: PropType<"small" | "large" | "medium">;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
};
|