@engie-group/fluid-design-system-vue
Advanced tools
Comparing version 0.5.4 to 0.5.5
type ButtonSize = "xsmall" | "small" | "normal" | "large"; | ||
type ButtonVariant = "primary" | "secondary" | "destructive" | "inverse"; | ||
type ButtonEmphasis = "bold" | "subtle" | "minimal"; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{ | ||
/** Size variant of the button. */ | ||
@@ -27,3 +27,3 @@ size?: ButtonSize; | ||
icon: any; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{ | ||
/** Size variant of the button. */ | ||
@@ -62,11 +62,2 @@ size?: ButtonSize; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
@@ -85,1 +76,10 @@ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
@@ -1,9 +0,5 @@ | ||
/// <reference types="@engie-group/fluid-design-tokens/lib/ts/standalone-tokens" /> | ||
/// <reference types="@engie-group/fluid-design-tokens/lib/ts/standalone-tokens-dark" /> | ||
/// <reference types="@engie-group/fluid-design-tokens/lib/ts/tokens" /> | ||
/// <reference types="@engie-group/fluid-design-tokens/lib/ts/tokens-dark" /> | ||
import { Tokens } from "@engie-group/fluid-design-tokens"; | ||
type IconColor = "inherit" | "secondary" | "tertiary" | "inverse" | "grey" | "brand" | "teal" | "pink" | "orange" | "red" | "green" | "ultramarine" | "yellow" | "purple"; | ||
type IconSize = keyof typeof Tokens.semantic.size.icon | "inherit"; | ||
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{ | ||
/** | ||
@@ -20,3 +16,3 @@ * Name of a material icon. | ||
size: string; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{ | ||
/** | ||
@@ -37,4 +33,12 @@ * Name of a material icon. | ||
export default _default; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
type __VLS_TypePropsToOption<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
@@ -47,9 +51,1 @@ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; |
{ | ||
"name": "@engie-group/fluid-design-system-vue", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"type": "module", | ||
@@ -30,17 +30,9 @@ "description": "Fluid Design System Vue", | ||
}, | ||
"scripts": { | ||
"build:final": "vue-tsc --noEmit && vite build && vue-tsc src/main.ts --declaration --emitDeclarationOnly --resolveJsonModule --esModuleInterop --outDir dist", | ||
"test:check": "vitest", | ||
"test:update": "vitest -u", | ||
"test:cov": "vitest --coverage", | ||
"lint": "eslint .", | ||
"prepack": "npm run build:final" | ||
}, | ||
"engines": { | ||
"node": "^20.0.0", | ||
"npm": "^10.0.0" | ||
"pnpm": "^9.0.0" | ||
}, | ||
"dependencies": { | ||
"@engie-group/fluid-design-system": "^5.12.0", | ||
"@engie-group/fluid-design-tokens": "^5.7.1" | ||
"@engie-group/fluid-design-system": "5.12.1", | ||
"@engie-group/fluid-design-tokens": "5.7.2" | ||
}, | ||
@@ -52,21 +44,37 @@ "peerDependencies": { | ||
"@babel/core": "7.23.9", | ||
"@typescript-eslint/eslint-plugin": "6.21.0", | ||
"@typescript-eslint/parser": "6.21.0", | ||
"@vitejs/plugin-vue": "5.0.3", | ||
"@vitest/coverage-c8": "0.33.0", | ||
"@vue/test-utils": "2.4.4", | ||
"babel-loader": "9.1.3", | ||
"eslint": "8.56.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-prettier": "5.1.3", | ||
"eslint-plugin-vue": "9.21.1", | ||
"jsdom": "24.0.0", | ||
"prettier": "3.2.5", | ||
"typescript": "5.3.3", | ||
"vite": "5.0.12", | ||
"vite-plugin-css-injected-by-js": "3.4.0", | ||
"vitest": "1.2.2", | ||
"vue": "3.4.16", | ||
"vue-loader": "17.4.2", | ||
"vue-tsc": "1.8.27" | ||
"@chromatic-com/storybook": "^1.6.0", | ||
"@storybook/addon-essentials": "^8.1.11", | ||
"@storybook/addon-interactions": "^8.1.11", | ||
"@storybook/addon-links": "^8.1.11", | ||
"@storybook/addon-webpack5-compiler-swc": "^1.0.4", | ||
"@storybook/blocks": "^8.1.11", | ||
"@storybook/manager-api": "^8.1.11", | ||
"@storybook/preview-api": "^8.1.11", | ||
"@storybook/test": "^8.1.11", | ||
"@storybook/vue3": "^8.1.11", | ||
"@storybook/vue3-webpack5": "^8.1.11", | ||
"@types/node": "20.11.16", | ||
"@typescript-eslint/eslint-plugin": "^7.14.1", | ||
"@typescript-eslint/parser": "^7.14.1", | ||
"@vitejs/plugin-vue": "^5.0.5", | ||
"@vue/compiler-sfc": "^3.4.31", | ||
"@vue/test-utils": "^2.4.6", | ||
"babel-loader": "^9.1.3", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"eslint-plugin-storybook": "^0.8.0", | ||
"eslint-plugin-vue": "^9.26.0", | ||
"jsdom": "^24.1.0", | ||
"prettier": "^3.3.2", | ||
"storybook": "^8.1.11", | ||
"storybook-dark-mode": "^4.0.1", | ||
"typescript": "^5.5.2", | ||
"vite": "^5.3.2", | ||
"vite-plugin-css-injected-by-js": "^3.5.1", | ||
"vitest": "^1.6.0", | ||
"vue": "^3.4.31", | ||
"vue-loader": "^17.4.2", | ||
"vue-tsc": "^2.0.22", | ||
"@tools/storybook": "0.0.1" | ||
}, | ||
@@ -80,3 +88,19 @@ "files": [ | ||
"types": "./dist/main.d.ts", | ||
"gitHead": "e35ca324fa1be2b3d6c50134d4326b362aeb0a59" | ||
} | ||
"eslintConfig": { | ||
"extends": [ | ||
"plugin:storybook/recommended" | ||
] | ||
}, | ||
"scripts": { | ||
"build": "vue-tsc --noEmit && vite build && vue-tsc src/main.ts --declaration --emitDeclarationOnly --resolveJsonModule --esModuleInterop --outDir dist", | ||
"run-test": "vitest", | ||
"run-coverage": "vitest --coverage", | ||
"update-test": "vitest -u", | ||
"lint": "eslint .", | ||
"ci:lint": "pnpm lint --quiet", | ||
"ci:test": "pnpm run-test --silent --run", | ||
"ci:build": "pnpm run build", | ||
"dev": "storybook dev -p 6009 --no-open", | ||
"build-storybook": "storybook build --docs" | ||
} | ||
} |
18
2
1446027
36
5935
+ Added@engie-group/fluid-design-system@5.12.1(transitive)
+ Added@engie-group/fluid-design-tokens@5.7.2(transitive)
- Removed@engie-group/fluid-design-system@5.17.1(transitive)
- Removed@engie-group/fluid-design-tokens@5.11.0(transitive)
- Removed@floating-ui/core@1.6.9(transitive)
- Removed@floating-ui/dom@1.6.3(transitive)
- Removed@floating-ui/utils@0.2.9(transitive)