@maltjoy/core-vue 1.0.0-alpha.8 → 1.0.0-beta.1

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 (29) hide show
  1. package/README.md +1 -0
  2. package/dist/components/JoyButton/{JoyButton.vue.d.ts → VJoyButton.vue.d.ts} +6 -6
  3. package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +1 -1
  4. package/dist/components/JoyHighlight/{JoyHighlight.vue.d.ts → VJoyHighlight.vue.d.ts} +3 -3
  5. package/dist/components/JoySelectableItemGroup/{JoySelectableItemGroup.vue.d.ts → VJoySelectableItemGroup.vue.d.ts} +2 -2
  6. package/dist/components/JoyWrapper/{JoyWrapper.vue.d.ts → VJoyWrapper.vue.d.ts} +9 -9
  7. package/dist/components/index.d.ts +22 -22
  8. package/dist/joy-vue.js +288 -272
  9. package/dist/joy-vue.umd.cjs +1 -1
  10. package/dist/style.css +1 -1
  11. package/joy-components.d.ts +21 -21
  12. package/package.json +1 -1
  13. package/dist/components/JoyCheckbox/{JoyCheckbox.vue.d.ts → VJoyCheckbox.vue.d.ts} +0 -0
  14. package/dist/components/JoyCounter/{JoyCounter.vue.d.ts → VJoyCounter.vue.d.ts} +1 -1
  15. /package/dist/components/JoyFormError/{JoyFormError.vue.d.ts → VJoyFormError.vue.d.ts} +0 -0
  16. /package/dist/components/JoyInput/{JoyInput.vue.d.ts → VJoyInput.vue.d.ts} +0 -0
  17. /package/dist/components/JoyLabel/{JoyLabel.vue.d.ts → VJoyLabel.vue.d.ts} +0 -0
  18. /package/dist/components/JoyLink/{JoyLink.vue.d.ts → VJoyLink.vue.d.ts} +0 -0
  19. /package/dist/components/JoyMultiCheckbox/{JoyMultiCheckbox.vue.d.ts → VJoyMultiCheckbox.vue.d.ts} +0 -0
  20. /package/dist/components/JoyPanel/{JoyPanel.vue.d.ts → VJoyPanel.vue.d.ts} +0 -0
  21. /package/dist/components/JoyPanelSection/{JoyPanelSection.vue.d.ts → VJoyPanelSection.vue.d.ts} +0 -0
  22. /package/dist/components/JoyRadio/{JoyRadio.vue.d.ts → VJoyRadio.vue.d.ts} +0 -0
  23. /package/dist/components/JoyRadioGroup/{JoyRadioGroup.vue.d.ts → VJoyRadioGroup.vue.d.ts} +0 -0
  24. /package/dist/components/JoySelect/{JoySelect.vue.d.ts → VJoySelect.vue.d.ts} +0 -0
  25. /package/dist/components/JoySelectableItem/{JoySelectableItem.vue.d.ts → VJoySelectableItem.vue.d.ts} +0 -0
  26. /package/dist/components/JoySpinner/{JoySpinner.vue.d.ts → VJoySpinner.vue.d.ts} +0 -0
  27. /package/dist/components/JoyTemplate/{JoyTemplate.vue.d.ts → VJoyTemplate.vue.d.ts} +0 -0
  28. /package/dist/components/JoyTextarea/{JoyTextarea.vue.d.ts → VJoyTextarea.vue.d.ts} +0 -0
  29. /package/dist/components/JoyToggle/{JoyToggle.vue.d.ts → VJoyToggle.vue.d.ts} +0 -0
package/README.md CHANGED
@@ -15,3 +15,4 @@ Then import the CSS :
15
15
  ```css
16
16
  @use '@maltjoy/themes/dist/themes/default.css';
17
17
  ```
18
+
@@ -18,7 +18,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
18
  };
19
19
  /** Button or Link color variant */
20
20
  variant: {
21
- type: PropType<"main" | "primary" | "secondary" | "admin" | "ghost">;
21
+ type: PropType<"main" | "ghost" | "secondary" | "primary" | "admin">;
22
22
  default: string;
23
23
  validator(variant: ButtonVariants): boolean;
24
24
  };
@@ -30,7 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
30
30
  };
31
31
  /** Override the icon size. Default to xsmall */
32
32
  iconSize: {
33
- type: PropType<"small" | "xsmall" | "xxsmall">;
33
+ type: PropType<"small" | "xxsmall" | "xsmall">;
34
34
  default: string;
35
35
  validator(iconSize: IconSizes): boolean;
36
36
  };
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
52
52
  };
53
53
  /** Button or Link color variant */
54
54
  variant: {
55
- type: PropType<"main" | "primary" | "secondary" | "admin" | "ghost">;
55
+ type: PropType<"main" | "ghost" | "secondary" | "primary" | "admin">;
56
56
  default: string;
57
57
  validator(variant: ButtonVariants): boolean;
58
58
  };
@@ -64,16 +64,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
64
64
  };
65
65
  /** Override the icon size. Default to xsmall */
66
66
  iconSize: {
67
- type: PropType<"small" | "xsmall" | "xxsmall">;
67
+ type: PropType<"small" | "xxsmall" | "xsmall">;
68
68
  default: string;
69
69
  validator(iconSize: IconSizes): boolean;
70
70
  };
71
71
  }>>, {
72
72
  circle: boolean;
73
73
  loading: boolean;
74
- variant: "main" | "primary" | "secondary" | "admin" | "ghost";
74
+ variant: "main" | "ghost" | "secondary" | "primary" | "admin";
75
75
  size: ButtonSizes;
76
- iconSize: "small" | "xsmall" | "xxsmall";
76
+ iconSize: "small" | "xxsmall" | "xsmall";
77
77
  }>, {
78
78
  default: (_: {}) => any;
79
79
  }>;
@@ -1,3 +1,3 @@
1
1
  import { LEVELS } from '@/types';
2
2
  export type HighlightLevels = (typeof LEVELS)[number];
3
- export declare const HIGHLIGHT_LEVELS: ("neutral" | "success" | "info" | "warning" | "error")[];
3
+ export declare const HIGHLIGHT_LEVELS: ("error" | "neutral" | "success" | "info" | "warning")[];
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
11
11
  };
12
12
  icon: StringConstructor;
13
13
  level: {
14
- type: PropType<"neutral" | "success" | "info" | "warning" | "error">;
14
+ type: PropType<"error" | "neutral" | "success" | "info" | "warning">;
15
15
  default: string;
16
16
  validator(level: HighlightLevels): boolean;
17
17
  };
@@ -28,14 +28,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
28
28
  };
29
29
  icon: StringConstructor;
30
30
  level: {
31
- type: PropType<"neutral" | "success" | "info" | "warning" | "error">;
31
+ type: PropType<"error" | "neutral" | "success" | "info" | "warning">;
32
32
  default: string;
33
33
  validator(level: HighlightLevels): boolean;
34
34
  };
35
35
  }>>, {
36
36
  accent: boolean;
37
37
  displayIcon: boolean;
38
- level: "neutral" | "success" | "info" | "warning" | "error";
38
+ level: "error" | "neutral" | "success" | "info" | "warning";
39
39
  }>, {
40
40
  'highlight-title': (_: {}) => any;
41
41
  default: (_: {}) => any;
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
22
22
  };
23
23
  id: StringConstructor;
24
24
  value: {
25
- type: (StringConstructor | ArrayConstructor)[];
25
+ type: (ArrayConstructor | StringConstructor)[];
26
26
  default: null;
27
27
  };
28
28
  multiple: {
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<{
57
57
  };
58
58
  id: StringConstructor;
59
59
  value: {
60
- type: (StringConstructor | ArrayConstructor)[];
60
+ type: (ArrayConstructor | StringConstructor)[];
61
61
  default: null;
62
62
  };
63
63
  multiple: {
@@ -1,15 +1,15 @@
1
1
  import { PropType } from 'vue';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  justify: {
4
- type: PropType<"center" | "space-between" | "flex-start" | "flex-end">;
4
+ type: PropType<"flex-end" | "center" | "space-between" | "flex-start">;
5
5
  default: string;
6
6
  };
7
7
  align: {
8
- type: PropType<"center" | "flex-start" | "flex-end" | "stretch">;
8
+ type: PropType<"flex-end" | "stretch" | "center" | "flex-start">;
9
9
  default: string;
10
10
  };
11
11
  direction: {
12
- type: PropType<"row" | "column">;
12
+ type: PropType<"column" | "row">;
13
13
  default: string;
14
14
  };
15
15
  wrap: {
@@ -18,15 +18,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
18
  };
19
19
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
20
  justify: {
21
- type: PropType<"center" | "space-between" | "flex-start" | "flex-end">;
21
+ type: PropType<"flex-end" | "center" | "space-between" | "flex-start">;
22
22
  default: string;
23
23
  };
24
24
  align: {
25
- type: PropType<"center" | "flex-start" | "flex-end" | "stretch">;
25
+ type: PropType<"flex-end" | "stretch" | "center" | "flex-start">;
26
26
  default: string;
27
27
  };
28
28
  direction: {
29
- type: PropType<"row" | "column">;
29
+ type: PropType<"column" | "row">;
30
30
  default: string;
31
31
  };
32
32
  wrap: {
@@ -34,10 +34,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
34
34
  default: string;
35
35
  };
36
36
  }>>, {
37
- direction: "row" | "column";
37
+ direction: "column" | "row";
38
38
  wrap: "nowrap" | "wrap";
39
- justify: "center" | "space-between" | "flex-start" | "flex-end";
40
- align: "center" | "flex-start" | "flex-end" | "stretch";
39
+ justify: "flex-end" | "center" | "space-between" | "flex-start";
40
+ align: "flex-end" | "stretch" | "center" | "flex-start";
41
41
  }>, {
42
42
  default: (_: {}) => any;
43
43
  }>;
@@ -1,22 +1,22 @@
1
- import JoyButton from '@/components/JoyButton/JoyButton.vue';
2
- import JoyCheckbox from '@/components/JoyCheckbox/JoyCheckbox.vue';
3
- import JoyCounter from '@/components/JoyCounter/JoyCounter.vue';
4
- import JoyFormError from '@/components/JoyFormError/JoyFormError.vue';
5
- import JoyHighlight from '@/components/JoyHighlight/JoyHighlight.vue';
6
- import JoyInput from '@/components/JoyInput/JoyInput.vue';
7
- import JoyLabel from '@/components/JoyLabel/JoyLabel.vue';
8
- import JoyLink from '@/components/JoyLink/JoyLink.vue';
9
- import JoyMultiCheckbox from '@/components/JoyMultiCheckbox/JoyMultiCheckbox.vue';
10
- import JoyPanel from '@/components/JoyPanel/JoyPanel.vue';
11
- import JoyPanelSection from '@/components/JoyPanelSection/JoyPanelSection.vue';
12
- import JoyRadio from '@/components/JoyRadio/JoyRadio.vue';
13
- import JoyRadioGroup from '@/components/JoyRadioGroup/JoyRadioGroup.vue';
14
- import JoySelect from '@/components/JoySelect/JoySelect.vue';
15
- import JoySelectableItem from '@/components/JoySelectableItem/JoySelectableItem.vue';
16
- import JoySelectableItemGroup from '@/components/JoySelectableItemGroup/JoySelectableItemGroup.vue';
17
- import JoySpinner from '@/components/JoySpinner/JoySpinner.vue';
18
- import JoyWrapper from '@/components/JoyWrapper/JoyWrapper.vue';
19
- import JoyTemplate from '@/components/JoyTemplate/JoyTemplate.vue';
20
- import JoyTextarea from '@/components/JoyTextarea/JoyTextarea.vue';
21
- import JoyToggle from '@/components/JoyToggle/JoyToggle.vue';
22
- export { JoyButton, JoyCheckbox, JoyCounter, JoyFormError, JoyHighlight, JoyInput, JoyLabel, JoyLink, JoyMultiCheckbox, JoyPanel, JoyPanelSection, JoyRadio, JoyRadioGroup, JoySelect, JoySelectableItem, JoySelectableItemGroup, JoySpinner, JoyTemplate, JoyTextarea, JoyToggle, JoyWrapper, };
1
+ import VJoyButton from '@/components/JoyButton/VJoyButton.vue';
2
+ import VJoyCheckbox from '@/components/JoyCheckbox/VJoyCheckbox.vue';
3
+ import VJoyCounter from '@/components/JoyCounter/VJoyCounter.vue';
4
+ import VJoyFormError from '@/components/JoyFormError/VJoyFormError.vue';
5
+ import VJoyHighlight from '@/components/JoyHighlight/VJoyHighlight.vue';
6
+ import VJoyInput from '@/components/JoyInput/VJoyInput.vue';
7
+ import VJoyLabel from '@/components/JoyLabel/VJoyLabel.vue';
8
+ import VJoyLink from '@/components/JoyLink/VJoyLink.vue';
9
+ import VJoyMultiCheckbox from '@/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue';
10
+ import VJoyPanel from '@/components/JoyPanel/VJoyPanel.vue';
11
+ import VJoyPanelSection from '@/components/JoyPanelSection/VJoyPanelSection.vue';
12
+ import VJoyRadio from '@/components/JoyRadio/VJoyRadio.vue';
13
+ import VJoyRadioGroup from '@/components/JoyRadioGroup/VJoyRadioGroup.vue';
14
+ import VJoySelect from '@/components/JoySelect/VJoySelect.vue';
15
+ import VJoySelectableItem from '@/components/JoySelectableItem/VJoySelectableItem.vue';
16
+ import VJoySelectableItemGroup from '@/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue';
17
+ import VJoySpinner from '@/components/JoySpinner/VJoySpinner.vue';
18
+ import VJoyWrapper from '@/components/JoyWrapper/VJoyWrapper.vue';
19
+ import VJoyTemplate from '@/components/JoyTemplate/VJoyTemplate.vue';
20
+ import VJoyTextarea from '@/components/JoyTextarea/VJoyTextarea.vue';
21
+ import VJoyToggle from '@/components/JoyToggle/VJoyToggle.vue';
22
+ export { VJoyButton, VJoyCheckbox, VJoyCounter, VJoyFormError, VJoyHighlight, VJoyInput, VJoyLabel, VJoyLink, VJoyMultiCheckbox, VJoyPanel, VJoyPanelSection, VJoyRadio, VJoyRadioGroup, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySpinner, VJoyTemplate, VJoyTextarea, VJoyToggle, VJoyWrapper, };