@lumx/vue 4.6.0 → 4.7.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/components/chip/ChipGroup.d.ts +7 -0
- package/components/chip/ChipGroup.stories.d.ts +12 -0
- package/components/chip/index.d.ts +1 -0
- package/components/popover/Popover.stories.d.ts +8 -0
- package/components/popover/Popover.test.stories.d.ts +10 -0
- package/components/popover-dialog/PopoverDialog.stories.d.ts +7 -0
- package/components/popover-dialog/PopoverDialog.test.stories.d.ts +24 -0
- package/components/text-field/RawInputText.d.ts +21 -0
- package/components/text-field/RawInputText.stories.d.ts +13 -0
- package/components/text-field/RawInputTextarea.d.ts +21 -0
- package/components/text-field/RawInputTextarea.stories.d.ts +18 -0
- package/components/text-field/index.d.ts +2 -0
- package/components/text-field/useFitRowsToContent.d.ts +5 -0
- package/index.d.ts +1 -0
- package/index.js +1377 -1223
- package/index.js.map +1 -1
- package/package.json +70 -67
- package/utils/action-area/ActionArea.stories.d.ts +28 -0
package/package.json
CHANGED
|
@@ -1,71 +1,74 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
},
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/lumapps/design-system.git"
|
|
10
|
-
},
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "vite build",
|
|
13
|
-
"type-check": "vue-tsc",
|
|
14
|
-
"start:storybook": "storybook dev -p 9001",
|
|
15
|
-
"build:storybook": "storybook build",
|
|
16
|
-
"test": "vitest run --run",
|
|
17
|
-
"test:storybook": "vitest -c .storybook/vitest.config.mts run --run"
|
|
18
|
-
},
|
|
19
|
-
"type": "module",
|
|
20
|
-
"module": "index.js",
|
|
21
|
-
"main": "index.js",
|
|
22
|
-
"types": "index.d.ts",
|
|
23
|
-
"exports": {
|
|
24
|
-
".": {
|
|
25
|
-
"types": "./index.d.ts",
|
|
26
|
-
"default": "./index.js"
|
|
2
|
+
"license": "MIT",
|
|
3
|
+
"name": "@lumx/vue",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"directory": "dist"
|
|
27
6
|
},
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/lumapps/design-system.git"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"lint": "cd ../.. && eslint packages/lumx-vue/src/ --ext .ts,.tsx,.vue",
|
|
13
|
+
"build": "vite build",
|
|
14
|
+
"type-check": "vue-tsc",
|
|
15
|
+
"start:storybook": "storybook dev -p 9001",
|
|
16
|
+
"build:storybook": "storybook build",
|
|
17
|
+
"test": "vitest run --run",
|
|
18
|
+
"test:storybook": "vitest -c .storybook/vitest.config.mts run --run",
|
|
19
|
+
"test:storybook:visual": "IMAGE_SNAPSHOT=true SNAPSHOT_ONLY=true vitest -c .storybook/vitest.config.mts run --run"
|
|
20
|
+
},
|
|
21
|
+
"type": "module",
|
|
22
|
+
"module": "index.js",
|
|
23
|
+
"main": "index.js",
|
|
24
|
+
"types": "index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./index.d.ts",
|
|
28
|
+
"default": "./index.js"
|
|
29
|
+
},
|
|
30
|
+
"./utils": {
|
|
31
|
+
"types": "./utils/index.d.ts",
|
|
32
|
+
"default": "./utils/index.js"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"sideEffects": false,
|
|
36
|
+
"version": "4.7.0",
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@floating-ui/vue": "^1.1.10",
|
|
39
|
+
"@lumx/core": "^4.7.0",
|
|
40
|
+
"@lumx/icons": "^4.7.0",
|
|
41
|
+
"@vueuse/core": "^14.1.0"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"lodash": "4.17.21",
|
|
45
|
+
"vue": "^3.5.27"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@babel/plugin-transform-react-jsx": "^7.27.1",
|
|
49
|
+
"@chromatic-com/storybook": "^5.0.0",
|
|
50
|
+
"@lumx/storybook-testing": "workspace:*",
|
|
51
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
52
|
+
"@storybook/addon-a11y": "^10.2.14",
|
|
53
|
+
"@storybook/vue3-vite": "^10.2.14",
|
|
54
|
+
"@testing-library/dom": "^10.4.1",
|
|
55
|
+
"@testing-library/user-event": "^14.4.3",
|
|
56
|
+
"@testing-library/vue": "^8.1.0",
|
|
57
|
+
"@types/lodash": "^4.14.149",
|
|
58
|
+
"@vitejs/plugin-vue": "^6.0.3",
|
|
59
|
+
"@vitejs/plugin-vue-jsx": "^5.1.3",
|
|
60
|
+
"@vue/test-utils": "^2.4.6",
|
|
61
|
+
"chromatic": "^13.3.5",
|
|
62
|
+
"focus-visible": "^5.2.1",
|
|
63
|
+
"jsdom": "^27.2.0",
|
|
64
|
+
"storybook": "^10.2.14",
|
|
65
|
+
"typescript": "^5.4.3",
|
|
66
|
+
"vite": "^7.3.1",
|
|
67
|
+
"vite-plugin-dts": "^4.5.4",
|
|
68
|
+
"vite-plugin-static-copy": "^3.1.4",
|
|
69
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
70
|
+
"vitest": "^4.0.18",
|
|
71
|
+
"vue": "^3.5.27",
|
|
72
|
+
"vue-tsc": "^3.2.4"
|
|
31
73
|
}
|
|
32
|
-
},
|
|
33
|
-
"sideEffects": false,
|
|
34
|
-
"version": "4.6.0",
|
|
35
|
-
"dependencies": {
|
|
36
|
-
"@floating-ui/vue": "^1.1.10",
|
|
37
|
-
"@lumx/core": "^4.6.0",
|
|
38
|
-
"@lumx/icons": "^4.6.0",
|
|
39
|
-
"@vueuse/core": "^14.1.0"
|
|
40
|
-
},
|
|
41
|
-
"peerDependencies": {
|
|
42
|
-
"lodash": "4.17.21",
|
|
43
|
-
"vue": "^3.5.27"
|
|
44
|
-
},
|
|
45
|
-
"devDependencies": {
|
|
46
|
-
"@babel/plugin-transform-react-jsx": "^7.27.1",
|
|
47
|
-
"@chromatic-com/storybook": "^5.0.0",
|
|
48
|
-
"@lumx/storybook-testing": "workspace:*",
|
|
49
|
-
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
50
|
-
"@storybook/addon-a11y": "^10.2.14",
|
|
51
|
-
"@storybook/vue3-vite": "^10.2.14",
|
|
52
|
-
"@testing-library/dom": "^10.4.1",
|
|
53
|
-
"@testing-library/user-event": "^14.4.3",
|
|
54
|
-
"@testing-library/vue": "^8.1.0",
|
|
55
|
-
"@types/lodash": "^4.14.149",
|
|
56
|
-
"@vitejs/plugin-vue": "^6.0.3",
|
|
57
|
-
"@vitejs/plugin-vue-jsx": "^5.1.3",
|
|
58
|
-
"chromatic": "^13.3.5",
|
|
59
|
-
"focus-visible": "^5.2.1",
|
|
60
|
-
"jsdom": "^27.2.0",
|
|
61
|
-
"storybook": "^10.2.14",
|
|
62
|
-
"typescript": "^5.4.3",
|
|
63
|
-
"vite": "^7.3.1",
|
|
64
|
-
"vite-plugin-dts": "^4.5.4",
|
|
65
|
-
"vite-plugin-static-copy": "^3.1.4",
|
|
66
|
-
"vite-tsconfig-paths": "^5.1.4",
|
|
67
|
-
"vitest": "^4.0.18",
|
|
68
|
-
"vue": "^3.5.27",
|
|
69
|
-
"vue-tsc": "^3.2.4"
|
|
70
|
-
}
|
|
71
74
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const CardExample: {
|
|
6
|
+
render: ({ "data-lumx-hover": hover, "data-lumx-active": active, "data-focus-visible-added": focused, focusStyle, theme, hasOverlay, }: any) => import("vue/jsx-runtime").JSX.Element;
|
|
7
|
+
argTypes: {
|
|
8
|
+
onClick: {
|
|
9
|
+
action: boolean;
|
|
10
|
+
};
|
|
11
|
+
hasOverlay: {
|
|
12
|
+
control: string;
|
|
13
|
+
};
|
|
14
|
+
focusStyle: {
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
options: (string | undefined)[];
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export declare const OverlayStates: {
|
|
23
|
+
render: ({ "data-lumx-hover": hover, "data-lumx-active": active, "data-focus-visible-added": focused, focusStyle, theme, hasOverlay, }: any) => import("vue/jsx-runtime").JSX.Element;
|
|
24
|
+
args: {
|
|
25
|
+
hasOverlay: boolean;
|
|
26
|
+
};
|
|
27
|
+
decorators: ((story: any, context: any) => any)[];
|
|
28
|
+
};
|