@maltjoy/core-vue 3.27.2 → 3.28.1-test
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/JoyAvailability/JoyAvailability.types.d.ts +1 -2
- package/dist/components/JoyAvailability/VJoyAvailability.vue.d.ts +4 -3
- package/dist/components/JoyAvatar/JoyAvatar.types.d.ts +4 -6
- package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +3 -3
- package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +14 -4
- package/dist/components/JoyBadge/JoyBadge.types.d.ts +1 -2
- package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +14 -8
- package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +8 -4
- package/dist/components/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts +2 -0
- package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +20 -7
- package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +12 -6
- package/dist/components/JoyButton/JoyButton.types.d.ts +4 -20
- package/dist/components/JoyButton/VJoyButton.vue.d.ts +13 -13
- package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +10 -3
- package/dist/components/JoyCollapse/VJoyCollapse.vue.d.ts +10 -4
- package/dist/components/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +12 -4
- package/dist/components/JoyCompanyAvatar/JoyCompanyAvatar.types.d.ts +2 -3
- package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +6 -0
- package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +11 -6
- package/dist/components/JoyDialog/JoyDialog.types.d.ts +2 -3
- package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +30 -8
- package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +56 -20
- package/dist/components/JoyDividerCta/VJoyDividerCta.vue.d.ts +10 -3
- package/dist/components/JoyDrawer/JoyDrawer.types.d.ts +1 -2
- package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +32 -12
- package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +64 -30
- package/dist/components/JoyDropdown/JoyDropdown.types.d.ts +3 -4
- package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +29 -22
- package/dist/components/JoyDropdownList/JoyDropdownList.types.d.ts +2 -3
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +22 -21
- package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +8 -2
- package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +10 -2
- package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +6 -2
- package/dist/components/JoyFunnel/JoyFunnel.types.d.ts +2 -4
- package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +8 -0
- package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +2 -4
- package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +21 -9
- package/dist/components/JoyIcon/JoyIcon.types.d.ts +3 -4
- package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +9 -6
- package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +4 -3
- package/dist/components/JoyIndicators/JoyIndicators.types.d.ts +1 -2
- package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +9 -6
- package/dist/components/JoyInput/JoyInput.types.d.ts +2 -3
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +10 -7
- package/dist/components/JoyLabel/JoyLabel.types.d.ts +2 -3
- package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +10 -7
- package/dist/components/JoyLink/JoyLink.types.d.ts +1 -2
- package/dist/components/JoyLink/VJoyLink.vue.d.ts +8 -7
- package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +6 -10
- package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +16 -19
- package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +17 -5
- package/dist/components/JoyPanel/JoyPanel.types.d.ts +3 -5
- package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +30 -14
- package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +550 -0
- package/dist/components/JoyProductTour/JoyProductTour.types.d.ts +32 -0
- package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +2 -0
- package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +22 -0
- package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +55 -0
- package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +310 -0
- package/dist/components/JoyProgressBar/JoyProgressBar.types.d.ts +2 -3
- package/dist/components/JoyProgressBar/VJoyProgressBar.vue.d.ts +6 -3
- package/dist/components/JoyRadio/JoyRadio.types.d.ts +1 -2
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +20 -7
- package/dist/components/JoyRadioGroup/JoyRadioGroup.types.d.ts +1 -2
- package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +14 -6
- package/dist/components/JoyRatingStars/JoyRatingStars.types.d.ts +2 -3
- package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +10 -2
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.types.d.ts +1 -2
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +14 -6
- package/dist/components/JoySelect/JoySelect.types.d.ts +2 -3
- package/dist/components/JoySelect/VJoySelect.vue.d.ts +9 -4
- package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +10 -65
- package/dist/components/JoySeparator/JoySeparator.types.d.ts +2 -3
- package/dist/components/JoySnackbar/JoySnackbar.types.d.ts +2 -3
- package/dist/components/JoySnackbar/VJoySnackbar.vue.d.ts +6 -2
- package/dist/components/JoySnackbar/index.d.ts +1 -1
- package/dist/components/JoySpinner/JoySpinner.types.d.ts +1 -2
- package/dist/components/JoySpinner/VJoySpinner.vue.d.ts +2 -4
- package/dist/components/JoyStep/VJoyStep.vue.d.ts +14 -2
- package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +10 -2
- package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +2 -0
- package/dist/components/JoyTag/JoyTag.types.d.ts +3 -5
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +13 -3
- package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +43 -16
- package/dist/components/JoyTagsList/JoyTagsList.types.d.ts +1 -2
- package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +9 -9
- package/dist/components/JoyTemplate/JoyTemplate.types.d.ts +1 -2
- package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +67 -15
- package/dist/components/JoyText/VJoyText.vue.d.ts +6 -2
- package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +6 -5
- package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +6 -2
- package/dist/components/JoyTooltip/JoyTooltip.types.d.ts +0 -1
- package/dist/components/JoyTooltip/VJoyTooltip.vue.d.ts +97 -0
- package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +20 -6
- package/dist/components/JoyWrapper/JoyWrapper.types.d.ts +5 -10
- package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +19 -18
- package/dist/components/index.d.ts +3 -1
- package/dist/components/main.d.ts +1 -1
- package/dist/helpers/index.d.ts +2 -2
- package/dist/joy-vue.js +4972 -4387
- package/dist/joy-vue.umd.cjs +12 -4
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +7 -10
- package/joy-components.d.ts +2 -0
- package/package.json +21 -26
package/dist/types/index.d.ts
CHANGED
|
@@ -3,20 +3,17 @@
|
|
|
3
3
|
* We use the same naming convention for size, levels or colors, so let's gather everything here.
|
|
4
4
|
* Each component will start from these types and enrich them locally to pick what's nedeed.
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export declare const POSITIONS: readonly ["left", "right"];
|
|
6
|
+
export type TGenericVariants = 'primary' | 'secondary';
|
|
7
|
+
export type TSizes = 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall' | 'xxsmall';
|
|
8
|
+
export type TLevels = 'neutral' | 'success' | 'info' | 'warning' | 'error';
|
|
9
|
+
export type TPositions = 'left' | 'right';
|
|
11
10
|
export type BrandColors = 'primary-brand' | 'secondary-brand';
|
|
12
|
-
export type FunctionalColors = Exclude<
|
|
11
|
+
export type FunctionalColors = Exclude<TLevels, 'neutral'>;
|
|
13
12
|
export type ProductColors = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'neutral';
|
|
14
13
|
export type ProductColorsExtended = ProductColors | FunctionalColors | 'white';
|
|
15
14
|
export type Colors = BrandColors | ProductColorsExtended;
|
|
16
|
-
export
|
|
17
|
-
export type
|
|
18
|
-
export type FormSizes = Extract<(typeof SIZES)[number], 'medium' | 'small' | 'xsmall' | 'xxsmall'>;
|
|
19
|
-
export declare const FORM_SIZES: FormSizes[];
|
|
15
|
+
export type Targets = '_blank' | '_self' | '_parent' | '_body';
|
|
16
|
+
export type FormSizes = Extract<TSizes, 'medium' | 'small' | 'xsmall' | 'xxsmall'>;
|
|
20
17
|
export declare enum Profiles {
|
|
21
18
|
DEFAULT = "default",
|
|
22
19
|
STRATEGY = "strategy"
|
package/joy-components.d.ts
CHANGED
|
@@ -41,6 +41,8 @@ declare module 'vue' {
|
|
|
41
41
|
VJoyPagination: typeof import('./dist/components/JoyPagination/VJoyPagination.vue')['default'];
|
|
42
42
|
VJoyPanel: typeof import('./dist/components/JoyPanel/VJoyPanel.vue')['default'];
|
|
43
43
|
VJoyPanelSection: typeof import('./dist/components/JoyPanelSection/VJoyPanelSection.vue')['default'];
|
|
44
|
+
VJoyProductTour: typeof import('./dist/components/JoyProductTour/VJoyProductTour.vue')['default'];
|
|
45
|
+
VJoyProductTourTrigger: typeof import('./dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue')['default'];
|
|
44
46
|
VJoyProgressBar: typeof import('./dist/components/JoyProgressBar/VJoyProgressBar.vue')['default'];
|
|
45
47
|
VJoyRadio: typeof import('./dist/components/JoyRadio/VJoyRadio.vue')['default'];
|
|
46
48
|
VJoyRadioGroup: typeof import('./dist/components/JoyRadioGroup/VJoyRadioGroup.vue')['default'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maltjoy/core-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.28.1-test",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -21,55 +21,50 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@floating-ui/dom": "1.5.3",
|
|
23
23
|
"@floating-ui/vue": "^1.0.2",
|
|
24
|
-
"@maltjoy/
|
|
25
|
-
"@maltjoy/
|
|
26
|
-
"@maltjoy/
|
|
24
|
+
"@maltjoy/css": "3.28.1-test",
|
|
25
|
+
"@maltjoy/icons": "3.28.1-test",
|
|
26
|
+
"@maltjoy/themes": "3.28.1-test",
|
|
27
27
|
"@vueuse/components": "10.8.0",
|
|
28
28
|
"@vueuse/core": "10.8.0",
|
|
29
29
|
"@vueuse/integrations": "10.5.0",
|
|
30
30
|
"focus-trap": "^7.5.4",
|
|
31
31
|
"mitt": "3.0.1",
|
|
32
|
+
"pinia": "^2.1.7",
|
|
32
33
|
"vue": "3.4.21",
|
|
33
34
|
"vue-router": "4.2.5"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"@babel/core": "7.20.12",
|
|
38
|
+
"@chromatic-com/storybook": "^1",
|
|
37
39
|
"@rushstack/eslint-patch": "^1.2.0",
|
|
38
|
-
"@storybook/addon-a11y": "
|
|
39
|
-
"@storybook/addon-docs": "
|
|
40
|
-
"@storybook/addon-essentials": "
|
|
41
|
-
"@storybook/addon-interactions": "
|
|
42
|
-
"@storybook/addon-links": "
|
|
43
|
-
"@storybook/addon-
|
|
44
|
-
"@storybook/
|
|
45
|
-
"@storybook/blocks": "
|
|
46
|
-
"@storybook/
|
|
47
|
-
"@storybook/
|
|
48
|
-
"@storybook/
|
|
49
|
-
"@storybook/jest": "^0.2.1",
|
|
50
|
-
"@storybook/preview-web": "7.6.8",
|
|
51
|
-
"@storybook/testing-library": "0.2.0",
|
|
52
|
-
"@storybook/vue3": "7.6.8",
|
|
53
|
-
"@storybook/vue3-vite": "7.6.8",
|
|
40
|
+
"@storybook/addon-a11y": "8.0.8",
|
|
41
|
+
"@storybook/addon-docs": "8.0.8",
|
|
42
|
+
"@storybook/addon-essentials": "8.0.8",
|
|
43
|
+
"@storybook/addon-interactions": "8.0.8",
|
|
44
|
+
"@storybook/addon-links": "8.0.8",
|
|
45
|
+
"@storybook/addon-mdx-gfm": "8.0.8",
|
|
46
|
+
"@storybook/addon-viewport": "8.0.8",
|
|
47
|
+
"@storybook/blocks": "8.0.8",
|
|
48
|
+
"@storybook/theming": "8.0.8",
|
|
49
|
+
"@storybook/vue3": "8.0.8",
|
|
50
|
+
"@storybook/vue3-vite": "8.0.8",
|
|
54
51
|
"@typescript-eslint/parser": "5.59.11",
|
|
55
52
|
"@vitejs/plugin-vue": "^4.0.0",
|
|
56
53
|
"@vitest/coverage-istanbul": "^0.28.4",
|
|
57
54
|
"@vue/runtime-core": "3.3.4",
|
|
58
55
|
"@vue/runtime-dom": "3.3.4",
|
|
59
56
|
"@vue/test-utils": "^2.2.10",
|
|
60
|
-
"chromatic": "
|
|
57
|
+
"chromatic": "11.3.0",
|
|
61
58
|
"eslint": "8.42.0",
|
|
62
59
|
"eslint-config-prettier": "8.8.0",
|
|
63
60
|
"eslint-plugin-vue": "9.14.1",
|
|
64
61
|
"happy-dom": "^8.2.6",
|
|
65
62
|
"prettier": "2.8.8",
|
|
66
63
|
"pretty": "^2.0.0",
|
|
67
|
-
"react": "17.0.2",
|
|
68
|
-
"react-dom": "17.0.2",
|
|
69
64
|
"sass": "^1.60.0",
|
|
70
|
-
"storybook": "
|
|
65
|
+
"storybook": "8.0.8",
|
|
71
66
|
"typescript": "5.3.3",
|
|
72
|
-
"vite": "
|
|
67
|
+
"vite": "5.2.10",
|
|
73
68
|
"vitest": "^0.28.4",
|
|
74
69
|
"vue-tsc": "1.8.27"
|
|
75
70
|
},
|
|
@@ -89,7 +84,7 @@
|
|
|
89
84
|
"storybook": "pnpm prepare && storybook dev",
|
|
90
85
|
"typecheck": "vue-tsc --noEmit",
|
|
91
86
|
"build-storybook": "pnpm prepare && storybook build",
|
|
92
|
-
"preview-storybook": "pnpm
|
|
87
|
+
"preview-storybook": "pnpm storybook build && pnpm dlx http-server ./storybook-static/",
|
|
93
88
|
"generate:components-types": "node src/tasks/generate-components-types.mjs",
|
|
94
89
|
"generate:components-autoimports": "node src/tasks/generate-components-autoimports.mjs"
|
|
95
90
|
}
|