@amirjalili1374/ui-kit 1.10.7 → 1.10.9
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/layout/AppCustomizer.vue.d.ts +2 -0
- package/dist/components/layout/AppCustomizerPanel.vue.d.ts +9 -0
- package/dist/components/layout/AppHeaderMenu.vue.d.ts +11 -0
- package/dist/components/shared/data-table-v2/CustomDataTableV2.vue.d.ts +13 -2
- package/dist/components/shared/data-table-v2/types.d.ts +4 -0
- package/dist/index.d.ts +1 -1
- package/dist/stores/customizer.d.ts +9 -1
- package/dist/style.css +1 -1
- package/dist/ui-kit.cjs +2 -2
- package/dist/ui-kit.es.js +2 -2
- package/dist/utils/customizerPreferences.d.ts +4 -0
- package/package.json +2 -1
|
@@ -2,6 +2,8 @@ import type { TextFieldHeight, TextFieldVariant } from '../components/layout/App
|
|
|
2
2
|
export type SurfaceStyle = 'elevated' | 'rounded' | 'tonal' | 'premium-executive';
|
|
3
3
|
export type ContentWidth = 'wide' | 'compact';
|
|
4
4
|
export type MenuOrientation = 'vertical' | 'horizontal';
|
|
5
|
+
export type AppLanguage = 'fa' | 'en';
|
|
6
|
+
export type AppDirection = 'rtl' | 'ltr';
|
|
5
7
|
/** A schema-free, versioned preference payload for consumer applications. */
|
|
6
8
|
export interface CustomizerPreferences {
|
|
7
9
|
version: 1;
|
|
@@ -17,6 +19,8 @@ export interface CustomizerPreferences {
|
|
|
17
19
|
textScale: number;
|
|
18
20
|
surfaceStyle: SurfaceStyle;
|
|
19
21
|
contentWidth: ContentWidth;
|
|
22
|
+
language: AppLanguage;
|
|
23
|
+
direction: AppDirection;
|
|
20
24
|
}
|
|
21
25
|
export declare const customizerPreferenceDefaults: CustomizerPreferences;
|
|
22
26
|
/** Safely accepts both this string payload and a legacy object response. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amirjalili1374/ui-kit",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.9",
|
|
4
4
|
"description": "A reusable UI component library built with Vue 3, Vuetify, and TypeScript",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"build:live": "npm run typecheck && vite build --mode live",
|
|
49
49
|
"build:demo": "npm run typecheck && vite build --mode demo",
|
|
50
50
|
"build:lib": "npm run typecheck && cross-env BUILD_LIB=true vite build && npm run build:types",
|
|
51
|
+
"dev:link": "npm run build:lib && cross-env BUILD_LIB=true BUILD_LIB_WATCH=true vite build --watch",
|
|
51
52
|
"build:types": "vue-tsc --declaration --emitDeclarationOnly --project tsconfig.lib.json --skipLibCheck",
|
|
52
53
|
"preview": "vite preview --port 5050 --host",
|
|
53
54
|
"test": "vitest run",
|