@maltjoy/core-vue 3.27.1 → 3.27.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.
- package/README.md +1 -0
- package/dist/components/JoyAvailability/JoyAvailability.types.d.ts +2 -1
- package/dist/components/JoyAvailability/VJoyAvailability.vue.d.ts +3 -4
- package/dist/components/JoyAvatar/JoyAvatar.types.d.ts +6 -4
- package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +3 -3
- package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +4 -14
- package/dist/components/JoyBadge/JoyBadge.types.d.ts +2 -1
- package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +8 -14
- package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +4 -8
- package/dist/components/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts +0 -2
- package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +7 -20
- package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +6 -12
- package/dist/components/JoyButton/JoyButton.types.d.ts +20 -4
- package/dist/components/JoyButton/VJoyButton.vue.d.ts +13 -13
- package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +3 -10
- package/dist/components/JoyCollapse/VJoyCollapse.vue.d.ts +4 -10
- package/dist/components/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +4 -12
- package/dist/components/JoyCompanyAvatar/JoyCompanyAvatar.types.d.ts +3 -2
- package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +0 -6
- package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +6 -11
- package/dist/components/JoyDialog/JoyDialog.types.d.ts +3 -2
- package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +8 -30
- package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +20 -56
- package/dist/components/JoyDividerCta/VJoyDividerCta.vue.d.ts +3 -10
- package/dist/components/JoyDrawer/JoyDrawer.types.d.ts +2 -1
- package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +12 -32
- package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +30 -64
- package/dist/components/JoyDropdown/JoyDropdown.types.d.ts +4 -3
- package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +22 -29
- package/dist/components/JoyDropdownList/JoyDropdownList.types.d.ts +3 -2
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +21 -22
- package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +2 -8
- package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +2 -10
- package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +2 -6
- package/dist/components/JoyFunnel/JoyFunnel.types.d.ts +4 -2
- package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +1 -8
- package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +4 -2
- package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +9 -21
- package/dist/components/JoyIcon/JoyIcon.types.d.ts +4 -3
- package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +6 -9
- package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +3 -4
- package/dist/components/JoyIndicators/JoyIndicators.types.d.ts +2 -1
- package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +6 -9
- package/dist/components/JoyInput/JoyInput.types.d.ts +3 -2
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +7 -10
- package/dist/components/JoyLabel/JoyLabel.types.d.ts +3 -2
- package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +7 -10
- package/dist/components/JoyLink/JoyLink.types.d.ts +2 -1
- package/dist/components/JoyLink/VJoyLink.vue.d.ts +7 -8
- package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +10 -6
- package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +19 -16
- package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +6 -14
- package/dist/components/JoyPanel/JoyPanel.types.d.ts +5 -3
- package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +14 -30
- package/dist/components/JoyProgressBar/JoyProgressBar.types.d.ts +3 -2
- package/dist/components/JoyProgressBar/VJoyProgressBar.vue.d.ts +3 -5
- package/dist/components/JoyRadio/JoyRadio.types.d.ts +2 -1
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +7 -20
- package/dist/components/JoyRadioGroup/JoyRadioGroup.types.d.ts +2 -1
- package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +6 -14
- package/dist/components/JoyRatingStars/JoyRatingStars.types.d.ts +3 -2
- package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +2 -10
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.types.d.ts +2 -1
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +6 -14
- package/dist/components/JoySelect/JoySelect.types.d.ts +3 -2
- package/dist/components/JoySelect/VJoySelect.vue.d.ts +4 -9
- package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +65 -10
- package/dist/components/JoySeparator/JoySeparator.types.d.ts +3 -2
- package/dist/components/JoySnackbar/JoySnackbar.types.d.ts +3 -2
- package/dist/components/JoySnackbar/VJoySnackbar.vue.d.ts +2 -6
- package/dist/components/JoySnackbar/index.d.ts +1 -1
- package/dist/components/JoySpinner/JoySpinner.types.d.ts +2 -1
- package/dist/components/JoySpinner/VJoySpinner.vue.d.ts +4 -2
- package/dist/components/JoyStep/VJoyStep.vue.d.ts +2 -14
- package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +2 -10
- package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +0 -2
- package/dist/components/JoyTag/JoyTag.types.d.ts +5 -3
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +3 -13
- package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +19 -34
- package/dist/components/JoyTagsList/JoyTagsList.types.d.ts +2 -1
- package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +9 -9
- package/dist/components/JoyTemplate/JoyTemplate.types.d.ts +2 -1
- package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +15 -67
- package/dist/components/JoyText/VJoyText.vue.d.ts +2 -6
- package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +5 -6
- package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +2 -6
- package/dist/components/JoyTooltip/JoyTooltip.types.d.ts +1 -0
- package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +6 -20
- package/dist/components/JoyWrapper/JoyWrapper.types.d.ts +10 -5
- package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +18 -19
- package/dist/components/main.d.ts +1 -1
- package/dist/helpers/index.d.ts +2 -2
- package/dist/joy-vue.js +2190 -2117
- package/dist/joy-vue.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +10 -7
- package/package.json +24 -20
package/dist/types/index.d.ts
CHANGED
|
@@ -3,17 +3,20 @@
|
|
|
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
|
|
6
|
+
export declare const GENERIC_VARIANTS: readonly ["primary", "secondary"];
|
|
7
|
+
export declare const SIZES: readonly ["xlarge", "large", "medium", "small", "xsmall", "xxsmall"];
|
|
8
|
+
export declare const LEVELS: readonly ["neutral", "success", "info", "warning", "error"];
|
|
9
|
+
export declare const THEMES: readonly ["AI"];
|
|
10
|
+
export declare const POSITIONS: readonly ["left", "right"];
|
|
10
11
|
export type BrandColors = 'primary-brand' | 'secondary-brand';
|
|
11
|
-
export type FunctionalColors = Exclude<
|
|
12
|
+
export type FunctionalColors = Exclude<(typeof LEVELS)[number], 'neutral'>;
|
|
12
13
|
export type ProductColors = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'neutral';
|
|
13
14
|
export type ProductColorsExtended = ProductColors | FunctionalColors | 'white';
|
|
14
15
|
export type Colors = BrandColors | ProductColorsExtended;
|
|
15
|
-
export
|
|
16
|
-
export type
|
|
16
|
+
export declare const TARGETS: readonly ["_blank", "_self", "_parent", "_body"];
|
|
17
|
+
export type Targets = (typeof TARGETS)[number];
|
|
18
|
+
export type FormSizes = Extract<(typeof SIZES)[number], 'medium' | 'small' | 'xsmall' | 'xxsmall'>;
|
|
19
|
+
export declare const FORM_SIZES: FormSizes[];
|
|
17
20
|
export declare enum Profiles {
|
|
18
21
|
DEFAULT = "default",
|
|
19
22
|
STRATEGY = "strategy"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maltjoy/core-vue",
|
|
3
|
-
"version": "3.27.
|
|
3
|
+
"version": "3.27.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@floating-ui/dom": "1.5.3",
|
|
23
23
|
"@floating-ui/vue": "^1.0.2",
|
|
24
|
-
"@maltjoy/icons": "3.27.
|
|
25
|
-
"@maltjoy/themes": "3.27.
|
|
26
|
-
"@maltjoy/css": "3.27.
|
|
24
|
+
"@maltjoy/icons": "3.27.2",
|
|
25
|
+
"@maltjoy/themes": "3.27.2",
|
|
26
|
+
"@maltjoy/css": "3.27.2",
|
|
27
27
|
"@vueuse/components": "10.8.0",
|
|
28
28
|
"@vueuse/core": "10.8.0",
|
|
29
29
|
"@vueuse/integrations": "10.5.0",
|
|
@@ -34,26 +34,30 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@babel/core": "7.20.12",
|
|
37
|
-
"@chromatic-com/storybook": "^1",
|
|
38
37
|
"@rushstack/eslint-patch": "^1.2.0",
|
|
39
|
-
"@storybook/addon-a11y": "
|
|
40
|
-
"@storybook/addon-docs": "
|
|
41
|
-
"@storybook/addon-essentials": "
|
|
42
|
-
"@storybook/addon-interactions": "
|
|
43
|
-
"@storybook/addon-links": "
|
|
44
|
-
"@storybook/addon-
|
|
45
|
-
"@storybook/
|
|
46
|
-
"@storybook/blocks": "
|
|
47
|
-
"@storybook/
|
|
48
|
-
"@storybook/
|
|
49
|
-
"@storybook/
|
|
38
|
+
"@storybook/addon-a11y": "7.6.8",
|
|
39
|
+
"@storybook/addon-docs": "7.6.8",
|
|
40
|
+
"@storybook/addon-essentials": "7.6.8",
|
|
41
|
+
"@storybook/addon-interactions": "7.6.8",
|
|
42
|
+
"@storybook/addon-links": "7.6.8",
|
|
43
|
+
"@storybook/addon-viewport": "7.6.8",
|
|
44
|
+
"@storybook/addons": "7.6.8",
|
|
45
|
+
"@storybook/blocks": "7.6.8",
|
|
46
|
+
"@storybook/channel-postmessage": "7.6.8",
|
|
47
|
+
"@storybook/channel-websocket": "7.6.8",
|
|
48
|
+
"@storybook/client-api": "7.6.8",
|
|
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",
|
|
50
54
|
"@typescript-eslint/parser": "5.59.11",
|
|
51
55
|
"@vitejs/plugin-vue": "^4.0.0",
|
|
52
56
|
"@vitest/coverage-istanbul": "^0.28.4",
|
|
53
57
|
"@vue/runtime-core": "3.3.4",
|
|
54
58
|
"@vue/runtime-dom": "3.3.4",
|
|
55
59
|
"@vue/test-utils": "^2.2.10",
|
|
56
|
-
"chromatic": "
|
|
60
|
+
"chromatic": "^7.6.0",
|
|
57
61
|
"eslint": "8.42.0",
|
|
58
62
|
"eslint-config-prettier": "8.8.0",
|
|
59
63
|
"eslint-plugin-vue": "9.14.1",
|
|
@@ -63,9 +67,9 @@
|
|
|
63
67
|
"react": "17.0.2",
|
|
64
68
|
"react-dom": "17.0.2",
|
|
65
69
|
"sass": "^1.60.0",
|
|
66
|
-
"storybook": "
|
|
70
|
+
"storybook": "7.6.8",
|
|
67
71
|
"typescript": "5.3.3",
|
|
68
|
-
"vite": "
|
|
72
|
+
"vite": "^4.0.0",
|
|
69
73
|
"vitest": "^0.28.4",
|
|
70
74
|
"vue-tsc": "1.8.27"
|
|
71
75
|
},
|
|
@@ -85,7 +89,7 @@
|
|
|
85
89
|
"storybook": "pnpm prepare && storybook dev",
|
|
86
90
|
"typecheck": "vue-tsc --noEmit",
|
|
87
91
|
"build-storybook": "pnpm prepare && storybook build",
|
|
88
|
-
"preview-storybook": "pnpm storybook
|
|
92
|
+
"preview-storybook": "pnpm build-storybook && pnpm dlx http-server ./storybook-static/",
|
|
89
93
|
"generate:components-types": "node src/tasks/generate-components-types.mjs",
|
|
90
94
|
"generate:components-autoimports": "node src/tasks/generate-components-autoimports.mjs"
|
|
91
95
|
}
|