@maltjoy/core-vue 1.0.0-alpha.9 → 1.0.0-beta.2

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 (39) hide show
  1. package/README.md +0 -1
  2. package/dist/components/JoyButton/JoyButton.types.d.ts +0 -4
  3. package/dist/components/JoyButton/{JoyButton.vue.d.ts → VJoyButton.vue.d.ts} +4 -17
  4. package/dist/components/JoyCounter/{JoyCounter.vue.d.ts → VJoyCounter.vue.d.ts} +7 -7
  5. package/dist/components/JoyDropdown/JoyDropdown.types.d.ts +4 -0
  6. package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +180 -0
  7. package/dist/components/JoyDropdownList/JoyDropdownList.types.d.ts +3 -0
  8. package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +84 -0
  9. package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +1 -1
  10. package/dist/components/JoyHighlight/{JoyHighlight.vue.d.ts → VJoyHighlight.vue.d.ts} +3 -3
  11. package/dist/components/JoyInput/{JoyInput.vue.d.ts → VJoyInput.vue.d.ts} +4 -4
  12. package/dist/components/JoyLabel/{JoyLabel.vue.d.ts → VJoyLabel.vue.d.ts} +3 -3
  13. package/dist/components/JoyMultiCheckbox/{JoyMultiCheckbox.vue.d.ts → VJoyMultiCheckbox.vue.d.ts} +11 -4
  14. package/dist/components/JoySelect/{JoySelect.vue.d.ts → VJoySelect.vue.d.ts} +4 -4
  15. package/dist/components/JoySelectableItemGroup/{JoySelectableItemGroup.vue.d.ts → VJoySelectableItemGroup.vue.d.ts} +6 -6
  16. package/dist/components/JoyTextarea/{JoyTextarea.vue.d.ts → VJoyTextarea.vue.d.ts} +4 -4
  17. package/dist/components/JoyWrapper/{JoyWrapper.vue.d.ts → VJoyWrapper.vue.d.ts} +9 -9
  18. package/dist/components/index.d.ts +24 -22
  19. package/dist/composables/events.d.ts +5 -0
  20. package/dist/composables/index.d.ts +1 -0
  21. package/dist/composables/props.d.ts +1 -1
  22. package/dist/joy-vue.js +1436 -568
  23. package/dist/joy-vue.umd.cjs +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/tests/composables/test-components/CheckboxFormProps.vue.d.ts +1 -1
  26. package/dist/tests/composables/test-components/GenericFormPropsWithLabel.vue.d.ts +3 -3
  27. package/joy-components.d.ts +21 -21
  28. package/package.json +4 -2
  29. package/dist/components/JoyCheckbox/{JoyCheckbox.vue.d.ts → VJoyCheckbox.vue.d.ts} +1 -1
  30. package/dist/components/JoyFormError/{JoyFormError.vue.d.ts → VJoyFormError.vue.d.ts} +0 -0
  31. package/dist/components/JoyLink/{JoyLink.vue.d.ts → VJoyLink.vue.d.ts} +0 -0
  32. package/dist/components/JoyPanel/{JoyPanel.vue.d.ts → VJoyPanel.vue.d.ts} +0 -0
  33. package/dist/components/JoyPanelSection/{JoyPanelSection.vue.d.ts → VJoyPanelSection.vue.d.ts} +0 -0
  34. package/dist/components/JoyRadio/{JoyRadio.vue.d.ts → VJoyRadio.vue.d.ts} +0 -0
  35. package/dist/components/JoyRadioGroup/{JoyRadioGroup.vue.d.ts → VJoyRadioGroup.vue.d.ts} +0 -0
  36. package/dist/components/JoySelectableItem/{JoySelectableItem.vue.d.ts → VJoySelectableItem.vue.d.ts} +2 -2
  37. package/dist/components/JoySpinner/{JoySpinner.vue.d.ts → VJoySpinner.vue.d.ts} +0 -0
  38. package/dist/components/JoyTemplate/{JoyTemplate.vue.d.ts → VJoyTemplate.vue.d.ts} +0 -0
  39. package/dist/components/JoyToggle/{JoyToggle.vue.d.ts → VJoyToggle.vue.d.ts} +1 -1
@@ -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
+ align: "flex-end" | "stretch" | "center" | "flex-start";
38
+ direction: "column" | "row";
39
+ justify: "flex-end" | "center" | "space-between" | "flex-start";
38
40
  wrap: "nowrap" | "wrap";
39
- justify: "center" | "space-between" | "flex-start" | "flex-end";
40
- align: "center" | "flex-start" | "flex-end" | "stretch";
41
41
  }>, {
42
42
  default: (_: {}) => any;
43
43
  }>;
@@ -1,22 +1,24 @@
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 VJoyDropdown from '@/components/JoyDropdown/VJoyDropdown.vue';
5
+ import VJoyDropdownList from '@/components/JoyDropdownList/VJoyDropdownList.vue';
6
+ import VJoyFormError from '@/components/JoyFormError/VJoyFormError.vue';
7
+ import VJoyHighlight from '@/components/JoyHighlight/VJoyHighlight.vue';
8
+ import VJoyInput from '@/components/JoyInput/VJoyInput.vue';
9
+ import VJoyLabel from '@/components/JoyLabel/VJoyLabel.vue';
10
+ import VJoyLink from '@/components/JoyLink/VJoyLink.vue';
11
+ import VJoyMultiCheckbox from '@/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue';
12
+ import VJoyPanel from '@/components/JoyPanel/VJoyPanel.vue';
13
+ import VJoyPanelSection from '@/components/JoyPanelSection/VJoyPanelSection.vue';
14
+ import VJoyRadio from '@/components/JoyRadio/VJoyRadio.vue';
15
+ import VJoyRadioGroup from '@/components/JoyRadioGroup/VJoyRadioGroup.vue';
16
+ import VJoySelect from '@/components/JoySelect/VJoySelect.vue';
17
+ import VJoySelectableItem from '@/components/JoySelectableItem/VJoySelectableItem.vue';
18
+ import VJoySelectableItemGroup from '@/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue';
19
+ import VJoySpinner from '@/components/JoySpinner/VJoySpinner.vue';
20
+ import VJoyWrapper from '@/components/JoyWrapper/VJoyWrapper.vue';
21
+ import VJoyTemplate from '@/components/JoyTemplate/VJoyTemplate.vue';
22
+ import VJoyTextarea from '@/components/JoyTextarea/VJoyTextarea.vue';
23
+ import VJoyToggle from '@/components/JoyToggle/VJoyToggle.vue';
24
+ export { VJoyButton, VJoyCheckbox, VJoyCounter, VJoyDropdown, VJoyDropdownList, VJoyFormError, VJoyHighlight, VJoyInput, VJoyLabel, VJoyLink, VJoyMultiCheckbox, VJoyPanel, VJoyPanelSection, VJoyRadio, VJoyRadioGroup, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySpinner, VJoyTemplate, VJoyTextarea, VJoyToggle, VJoyWrapper, };
@@ -0,0 +1,5 @@
1
+ import { Ref } from 'vue';
2
+ export declare function useDetectOutsideClick<T>(component: Ref, callback: () => T | void): {
3
+ listener: (event: Event) => void;
4
+ } | undefined;
5
+ export declare function useDetectWindowResize<T>(callback: () => T | void): void;
@@ -1 +1,2 @@
1
1
  export * from './props';
2
+ export * from './events';
@@ -61,7 +61,7 @@ export declare const CHECKBOX_BASED_PROPS: {
61
61
  export declare const LABEL_BASED_PROPS: {
62
62
  label: StringConstructor;
63
63
  labelSize: {
64
- type: PropType<"small" | "large" | "medium">;
64
+ type: PropType<"small" | "medium" | "large">;
65
65
  default: string;
66
66
  };
67
67
  optionalLabel: StringConstructor;