@maltjoy/core-vue 6.2.0 → 6.3.0
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/core-vue.js +293 -293
- package/dist/core-vue.umd.cjs +1 -1
- package/dist/joy-core-vue-manifest.json +4 -4
- package/dist/style.css +1 -1
- package/package.json +6 -5
- package/dist/core-vue/src/stories/accessibility/tokens/ColorContrastPage.vue.d.ts +0 -2
- package/dist/core-vue/src/stories/accessibility/tokens/catalog.d.ts +0 -4
- package/dist/core-vue/src/stories/accessibility/tokens/color-contrast.d.ts +0 -33
- package/dist/core-vue/src/stories/accessibility/tokens/flatten-dtcg.d.ts +0 -31
- package/dist/core-vue/src/stories/accessibility/tokens/tokens.d.ts +0 -86
- package/dist/core-vue/src/tests/helpers/FocusOnFormElement.vue.d.ts +0 -6
- package/dist/core-vue/src/tests/tests-helpers/index.d.ts +0 -4
- /package/dist/{core-vue/src/App.vue.d.ts → App.vue.d.ts} +0 -0
- /package/dist/{core-vue/src/components → components}/JoyAdminBanner/VJoyAdminBanner.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyAvailability/JoyAvailability.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyAvailability/VJoyAvailability.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyAvatar/JoyAvatar.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyAvatar/VJoyAvatar.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyBadge/JoyBadge.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyBadge/VJoyBadge.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyBadgeLevel/JoyBadgeLevel.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyButton/JoyButton.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyButton/VJoyButton.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyButtonCard/JoyButtonCard.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyButtonCard/VJoyButtonCard.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyCheckbox/JoyCheckbox.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyCheckbox/VJoyCheckbox.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyCheckboxCard/JoyCheckboxCard.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyCheckboxCard/VJoyCheckboxCard.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyCheckboxGroup/VJoyCheckboxGroup.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyCollapse/VJoyCollapse.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyCollapseItem/JoyCollapseItem.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyCompanyAvatar/JoyCompanyAvatar.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDialog/JoyDialog.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDialog/VJoyDialog.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDot/VJoyDot.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDot/VJoyDot.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDrawer/JoyDrawer.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDrawer/VJoyDrawer.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDropdown/JoyDropdown.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDropdown/VJoyDropdown.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDropdownList/JoyDropdownList.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDropdownList/VJoyDropdownList.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDropzone/VJoyDropzone.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDropzone/VJoyDropzoneFileItem.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyDropzone/VJoyDropzoneIcon.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyFilterBar/VJoyFilterBar.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyFloatingActionsBar/VJoyFloatingActionsBar.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyFormError/VJoyFormError.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyFormFieldSkeleton/VJoyFormFieldSkeleton.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyFormGroup/VJoyFormGroup.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyFunnel/JoyFunnel.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyFunnel/VJoyFunnel.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyFunnelFooter/VJoyFunnelFooter.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyFunnelHeader/VJoyFunnelHeader.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyHighlight/JoyHighlight.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyHighlight/VJoyHighlight.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyIcon/JoyIcon.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyIcon/VJoyIcon.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyIconButton/JoyIconButton.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyIconButton/VJoyIconButton.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyIndicator/VJoyIndicator.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyIndicators/JoyIndicators.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyIndicators/VJoyIndicators.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyInput/JoyInput.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyInput/VJoyInput.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyInputDigit/JoyInputDigit.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyInputDigit/VJoyInputDigit.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyInputNumber/VJoyInputNumber.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyInputPassword/VJoyInputPassword.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyLabel/JoyLabel.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyLabel/VJoyLabel.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyLink/JoyLink.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyLink/VJoyLink.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyListItem/VJoyListItem.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyMenu/JoyMenu.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyMenu/VJoyMenu.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyMenuItem/JoyMenuItem.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyMenuItem/VJoyMenuItem.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyPagination/PaginationIcon.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyPagination/VJoyPagination.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyPanel/JoyPanel.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyPanel/VJoyPanel.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyPanelSection/VJoyPanelSection.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyPasswordRequirement/JoyPasswordRequirement.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyPasswordRequirement/VJoyPasswordRequirement.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyProductTour/JoyProductTour.store.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyProductTour/JoyProductTour.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyProductTour/VJoyProductTour.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyProductTour/VJoyProductTourInner.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyProgressBar/JoyProgressBar.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyProgressBar/VJoyProgressBar.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyRadio/JoyRadio.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyRadio/VJoyRadio.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyRadioGroup/JoyRadioGroup.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyRatingStars/JoyRatingStars.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyRatingStars/VJoyRatingStars.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyScreenLoader/VJoyScreenLoader.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoySelect/JoySelect.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoySelect/VJoySelect.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoySelectableItem/VJoySelectableItem.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoySelectableItem/VJoySelectableItem.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoySeparator/JoySeparator.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoySeparator/VJoySeparator.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoySnackbar/JoySnackbar.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoySnackbar/VJoySnackbar.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoySnackbar/VJoySnackbarService.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoySnackbar/index.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoySpinner/JoySpinner.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoySpinner/VJoySpinner.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyStep/TJoyStep.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyStep/VJoyStep.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyStepper/VJoyStepper.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTab/TabButton.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTab/VJoyTab.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTabs/VJoyTabs.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTag/JoyTag.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTag/VJoyTag.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTagsInput/JoyTagsInput.service.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTagsInput/JoyTagsInput.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTagsInput/VJoyTagsInput.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTagsList/JoyTagsList.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTagsList/VJoyTagsList.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTemplate/JoyTemplate.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTemplate/VJoyTemplate.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTemplate/_JoyTemplateShape/TemplateShape.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyText/JoyText.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyText/VJoyText.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTextarea/VJoyTextarea.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTitleBrand/VJoyTitleBrand.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyToggle/VJoyToggle.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyTooltip/VJoyTooltip.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyUserCard/VJoyUserCard.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyWalkthrough/VJoyWalkthrough.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyWalkthroughTrigger/VJoyWalkthroughTrigger.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyWrapper/JoyWrapper.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/JoyWrapper/VJoyWrapper.vue.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/compat.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/component-metadata.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/components.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/components.types.d.ts +0 -0
- /package/dist/{core-vue/src/components → components}/index.d.ts +0 -0
- /package/dist/{core-vue/src/composables → composables}/events.d.ts +0 -0
- /package/dist/{core-vue/src/composables → composables}/helpers.d.ts +0 -0
- /package/dist/{core-vue/src/composables → composables}/index.d.ts +0 -0
- /package/dist/{core-vue/src/directives → directives}/index.d.ts +0 -0
- /package/dist/{core-vue/src/directives → directives}/ripple.d.ts +0 -0
- /package/dist/{core-vue/src/events → events}/bus.d.ts +0 -0
- /package/dist/{core-vue/src/events → events}/index.d.ts +0 -0
- /package/dist/{core-vue/src/helpers → helpers}/index.d.ts +0 -0
- /package/dist/{core-vue/src/main.d.ts → main.d.ts} +0 -0
- /package/dist/{core-vue/src/pages → pages}/FunnelAndStepper.vue.d.ts +0 -0
- /package/dist/{core-vue/src/pages → pages}/FunnelMode.vue.d.ts +0 -0
- /package/dist/{core-vue/src/pages → pages}/IndexPage.vue.d.ts +0 -0
- /package/dist/{core-vue/src/stories → stories}/fixtures/index.d.ts +0 -0
- /package/dist/{core-vue/src/types → types}/index.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maltjoy/core-vue",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@floating-ui/dom": "1.5.3",
|
|
32
32
|
"@floating-ui/vue": "1.0.2",
|
|
33
|
-
"@maltjoy/icons": "6.
|
|
34
|
-
"@maltjoy/themes": "6.
|
|
33
|
+
"@maltjoy/icons": "6.3.0",
|
|
34
|
+
"@maltjoy/themes": "6.3.0",
|
|
35
35
|
"@vue/shared": "3.5.13",
|
|
36
36
|
"@vueuse/components": "10.8.0",
|
|
37
37
|
"@vueuse/core": "10.8.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@chromatic-com/storybook": "4.1.3",
|
|
45
45
|
"@eslint/js": "9.39.4",
|
|
46
46
|
"@figma/code-connect": "1.3.13",
|
|
47
|
-
"@maltjoy/eslint-rules": "6.
|
|
47
|
+
"@maltjoy/eslint-rules": "6.3.0",
|
|
48
48
|
"@rushstack/eslint-patch": "1.2.0",
|
|
49
49
|
"@storybook/addon-a11y": "9.1.20",
|
|
50
50
|
"@storybook/addon-docs": "9.1.20",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"build:lib": "vite build",
|
|
85
85
|
"build:analyze": "ANALYZE=server vite build",
|
|
86
86
|
"build:analyze:json": "ANALYZE=json vite build",
|
|
87
|
-
"build": "pnpm typecheck && vite build && vue-tsc --declaration --emitDeclarationOnly --outDir dist && pnpm test && pnpm generate:manifest",
|
|
87
|
+
"build": "pnpm typecheck && vite build && vue-tsc -p tsconfig.build.json --declaration --emitDeclarationOnly --outDir dist && pnpm verify:dts && pnpm test && pnpm generate:manifest",
|
|
88
88
|
"preview": "vite preview",
|
|
89
89
|
"test": "vitest run --dom --coverage",
|
|
90
90
|
"test:dev": "vitest watch --dom",
|
|
@@ -105,6 +105,7 @@
|
|
|
105
105
|
"generate:components-docs:single": "node src/tasks/ai/optimized-metadata-generator.mjs --single",
|
|
106
106
|
"generate:eslint-rules-docs": "node src/tasks/generate-eslint-rules-docs.mjs",
|
|
107
107
|
"generate:manifest": "node src/tasks/generate-manifest.mjs",
|
|
108
|
+
"verify:dts": "node src/tasks/verify-declaration-layout.mjs",
|
|
108
109
|
"copy:fonticon": "node src/tasks/copy-fonticon.mjs"
|
|
109
110
|
}
|
|
110
111
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export type ContrastLevel = 'aaa' | 'aa' | 'aa-large' | 'fail';
|
|
2
|
-
export type ContrastThreshold = 'aaa' | 'aa' | 'aa-large';
|
|
3
|
-
export type ComplianceFilter = 'all' | 'compliant' | 'fail';
|
|
4
|
-
export type SolidColor = {
|
|
5
|
-
token: string;
|
|
6
|
-
hex: string;
|
|
7
|
-
group: string;
|
|
8
|
-
groupLabel: string;
|
|
9
|
-
};
|
|
10
|
-
export type ContrastResult = {
|
|
11
|
-
ratio: number;
|
|
12
|
-
level: ContrastLevel;
|
|
13
|
-
formattedRatio: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const CONTRAST_THRESHOLDS: Record<ContrastThreshold, number>;
|
|
16
|
-
export declare function normalizeHex(value: string): string;
|
|
17
|
-
export declare function hexToRgb(hex: string): {
|
|
18
|
-
r: number;
|
|
19
|
-
g: number;
|
|
20
|
-
b: number;
|
|
21
|
-
};
|
|
22
|
-
export declare function relativeLuminance(hex: string): number;
|
|
23
|
-
export declare function contrastRatio(foreground: string, background: string): number;
|
|
24
|
-
export declare function formatContrastRatio(ratio: number): string;
|
|
25
|
-
export declare function getContrastLevel(ratio: number): ContrastLevel;
|
|
26
|
-
export declare function getContrastResult(foreground: string, background: string): ContrastResult;
|
|
27
|
-
export declare function meetsThreshold(ratio: number, threshold: ContrastThreshold): boolean;
|
|
28
|
-
export declare function matchesComplianceFilter(level: ContrastLevel, filter: ComplianceFilter): boolean;
|
|
29
|
-
export declare function getGroupLabel(group: string): string;
|
|
30
|
-
export declare function getSolidColors(): SolidColor[];
|
|
31
|
-
export declare function getColorGroups(colors?: SolidColor[]): string[];
|
|
32
|
-
export declare function sortByLuminance(colors: SolidColor[], direction?: 'light-first' | 'dark-first'): SolidColor[];
|
|
33
|
-
export declare function sortByContrastAgainst(colors: SolidColor[], reference: SolidColor, role: 'foreground' | 'background'): SolidColor[];
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare const DOCS_NAMESPACE = "com.maltjoy.docs";
|
|
2
|
-
export type TokenLayer = 'primitive' | 'semantic';
|
|
3
|
-
export type TokenDomain = 'color' | 'spacing' | 'radius' | 'elevation' | 'zIndex' | 'typography' | 'motion' | 'forms' | 'links' | 'other';
|
|
4
|
-
export interface TokenDocs {
|
|
5
|
-
useFor?: string[];
|
|
6
|
-
doNotUseFor?: string[];
|
|
7
|
-
useInstead?: Record<string, string>;
|
|
8
|
-
pairWith?: string[];
|
|
9
|
-
replaces?: string[];
|
|
10
|
-
samePrimitiveAs?: string[];
|
|
11
|
-
notes?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface TokenRecord {
|
|
14
|
-
name: string;
|
|
15
|
-
css: string;
|
|
16
|
-
value: unknown;
|
|
17
|
-
type?: string;
|
|
18
|
-
layer: TokenLayer;
|
|
19
|
-
domain: TokenDomain;
|
|
20
|
-
group: string;
|
|
21
|
-
description?: string;
|
|
22
|
-
deprecated: boolean;
|
|
23
|
-
docs?: TokenDocs;
|
|
24
|
-
}
|
|
25
|
-
export declare function toCssName(tokenPath: string): string;
|
|
26
|
-
export declare function flattenDtcg(document: Record<string, unknown>, layer: TokenLayer): TokenRecord[];
|
|
27
|
-
export declare function formatTokenValue(value: unknown): string;
|
|
28
|
-
export declare function groupTokens(tokens: TokenRecord[]): {
|
|
29
|
-
group: string;
|
|
30
|
-
tokens: TokenRecord[];
|
|
31
|
-
}[];
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
export declare const tokens: {
|
|
2
|
-
colors: {
|
|
3
|
-
neutral: {
|
|
4
|
-
'--joy-color-neutral-0': string;
|
|
5
|
-
'--joy-color-neutral-10': string;
|
|
6
|
-
'--joy-color-neutral-20': string;
|
|
7
|
-
'--joy-color-neutral-30': string;
|
|
8
|
-
'--joy-color-neutral-40': string;
|
|
9
|
-
'--joy-color-neutral-50': string;
|
|
10
|
-
'--joy-color-neutral-60': string;
|
|
11
|
-
'--joy-color-neutral-70': string;
|
|
12
|
-
};
|
|
13
|
-
primary: {
|
|
14
|
-
'--joy-color-primary-10': string;
|
|
15
|
-
'--joy-color-primary-30': string;
|
|
16
|
-
'--joy-color-primary-50': string;
|
|
17
|
-
'--joy-color-primary-70': string;
|
|
18
|
-
'--joy-color-primary-90': string;
|
|
19
|
-
};
|
|
20
|
-
secondary: {
|
|
21
|
-
'--joy-color-secondary-10': string;
|
|
22
|
-
'--joy-color-secondary-30': string;
|
|
23
|
-
'--joy-color-secondary-50': string;
|
|
24
|
-
'--joy-color-secondary-90': string;
|
|
25
|
-
};
|
|
26
|
-
tertiary: {
|
|
27
|
-
'--joy-color-tertiary-10': string;
|
|
28
|
-
'--joy-color-tertiary-30': string;
|
|
29
|
-
'--joy-color-tertiary-50': string;
|
|
30
|
-
'--joy-color-tertiary-70': string;
|
|
31
|
-
};
|
|
32
|
-
quaternary: {
|
|
33
|
-
'--joy-color-quaternary-10': string;
|
|
34
|
-
'--joy-color-quaternary-30': string;
|
|
35
|
-
'--joy-color-quaternary-50': string;
|
|
36
|
-
'--joy-color-quaternary-70': string;
|
|
37
|
-
'--joy-color-quaternary-100': string;
|
|
38
|
-
};
|
|
39
|
-
'brand-primary': {
|
|
40
|
-
'--joy-color-brand-primary-10': string;
|
|
41
|
-
'--joy-color-brand-primary-30': string;
|
|
42
|
-
'--joy-color-brand-primary-70': string;
|
|
43
|
-
};
|
|
44
|
-
'brand-secondary': {
|
|
45
|
-
'--joy-color-brand-secondary-10': string;
|
|
46
|
-
'--joy-color-brand-secondary-30': string;
|
|
47
|
-
'--joy-color-brand-secondary-50': string;
|
|
48
|
-
'--joy-color-brand-secondary-70': string;
|
|
49
|
-
};
|
|
50
|
-
'ai-primary': {
|
|
51
|
-
'--joy-color-ai-primary-10': string;
|
|
52
|
-
'--joy-color-ai-primary-30': string;
|
|
53
|
-
'--joy-color-ai-primary-70': string;
|
|
54
|
-
'--joy-color-ai-primary-100': string;
|
|
55
|
-
};
|
|
56
|
-
'ai-gradient': {
|
|
57
|
-
'--joy-color-ai-gradient-10': string;
|
|
58
|
-
'--joy-color-ai-gradient-30': string;
|
|
59
|
-
'--joy-color-ai-gradient-70': string;
|
|
60
|
-
'--joy-color-ai-gradient-100': string;
|
|
61
|
-
};
|
|
62
|
-
success: {
|
|
63
|
-
'--joy-color-success-10': string;
|
|
64
|
-
'--joy-color-success-50': string;
|
|
65
|
-
'--joy-color-success-90': string;
|
|
66
|
-
};
|
|
67
|
-
information: {
|
|
68
|
-
'--joy-color-information-10': string;
|
|
69
|
-
'--joy-color-information-50': string;
|
|
70
|
-
'--joy-color-information-90': string;
|
|
71
|
-
};
|
|
72
|
-
warning: {
|
|
73
|
-
'--joy-color-warning-10': string;
|
|
74
|
-
'--joy-color-warning-50': string;
|
|
75
|
-
'--joy-color-warning-90': string;
|
|
76
|
-
};
|
|
77
|
-
error: {
|
|
78
|
-
'--joy-color-error-10': string;
|
|
79
|
-
'--joy-color-error-50': string;
|
|
80
|
-
'--joy-color-error-90': string;
|
|
81
|
-
};
|
|
82
|
-
overlay: {
|
|
83
|
-
'--joy-color-overlay': string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
rootInputElement: import("vue").Ref<null, null>;
|
|
3
|
-
rootSelectElement: import("vue").Ref<null, null>;
|
|
4
|
-
rootTextareaElement: import("vue").Ref<null, null>;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { config as cfg } from '@vue/test-utils';
|
|
2
|
-
import { Component } from 'vue';
|
|
3
|
-
export declare function setIdPrefix(config: typeof cfg): void;
|
|
4
|
-
export declare function expectFormFieldsToHaveSpecificAttribute(component: Component, options: Record<string, any>, selector?: string): void;
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyAdminBanner/VJoyAdminBanner.vue.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyAvailability/JoyAvailability.types.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyAvailability/VJoyAvailability.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyAvatarsList/VJoyAvatarsList.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyBottomSheet/VJoyBottomSheet.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyCheckboxCard/JoyCheckboxCard.types.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyCheckboxCard/VJoyCheckboxCard.vue.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyCheckboxGroup/VJoyCheckboxGroup.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyCollapseItem/JoyCollapseItem.types.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyCollapseItem/VJoyCollapseItem.vue.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyCompanyAvatar/JoyCompanyAvatar.types.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyDropdownList/JoyDropdownList.types.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyDropdownList/VJoyDropdownList.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyDropzone/VJoyDropzoneFileItem.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyFunnelFooter/VJoyFunnelFooter.vue.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyFunnelHeader/VJoyFunnelHeader.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyInputNumber/VJoyInputNumber.vue.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyInputPassword/VJoyInputPassword.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyPanelSection/VJoyPanelSection.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyProductTour/JoyProductTour.store.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyProductTour/JoyProductTour.types.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyProductTour/VJoyProductTour.vue.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyProductTour/VJoyProductTourInner.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyProgressBar/JoyProgressBar.types.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyProgressBar/VJoyProgressBar.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyRatingStars/JoyRatingStars.types.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyRatingStars/VJoyRatingStars.vue.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyScreenLoader/VJoyScreenLoader.types.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyScreenLoader/VJoyScreenLoader.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoySelectableItem/VJoySelectableItem.types.d.ts
RENAMED
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoySelectableItem/VJoySelectableItem.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{core-vue/src/components → components}/JoyWalkthrough/VJoyWalkthrough.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|