@lumx/vue 3.20.1-alpha.5 → 3.20.1-alpha.7

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/package.json CHANGED
@@ -1,121 +1,35 @@
1
1
  {
2
- "author": {
3
- "name": "LumApps"
2
+ "license": "MIT",
3
+ "name": "@lumx/vue",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git+https://github.com/lumapps/design-system.git"
7
+ },
8
+ "scripts": {
9
+ "start:storybook": "storybook dev -p 9000",
10
+ "storybook": "storybook dev -p 6006",
11
+ "build-storybook": "storybook build",
12
+ "build": "vite build && cp package.json dist/"
4
13
  },
5
- "bugs": {
6
- "url": "https://github.com/lumapps/design-system/issues"
14
+ "module": "index.js",
15
+ "main": "index.js",
16
+ "installConfig": {
17
+ "hoistingLimits": "workspaces"
7
18
  },
8
- "dependencies": {
9
- "@lumx/core": "^3.20.1-alpha.5",
10
- "@lumx/icons": "^3.20.1-alpha.5",
11
- "vue-demi": "^0.14.10"
19
+ "publishConfig": {
20
+ "directory": "dist"
12
21
  },
22
+ "sideEffects": false,
23
+ "version": "3.20.1-alpha.7",
13
24
  "devDependencies": {
14
- "@babel/core": "^7.26.10",
15
- "@babel/plugin-proposal-class-properties": "^7.18.6",
16
- "@babel/plugin-proposal-export-default-from": "^7.25.9",
17
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
18
- "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
19
- "@babel/plugin-proposal-optional-chaining": "^7.21.0",
20
- "@babel/plugin-proposal-private-methods": "^7.18.6",
21
- "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
22
- "@babel/plugin-syntax-jsx": "^7.27.1",
23
25
  "@babel/plugin-transform-react-jsx": "^7.27.1",
24
- "@babel/preset-env": "^7.26.9",
25
- "@babel/preset-typescript": "^7.26.0",
26
- "@rollup/plugin-babel": "^6.0.4",
27
- "@rollup/plugin-commonjs": "^19.0.2",
28
- "@rollup/plugin-node-resolve": "16.0.0",
29
- "@rollup/plugin-typescript": "^12.3.0",
30
- "@rollup/pluginutils": "5.2.0",
31
- "@storybook/addon-a11y": "^9.1.4",
32
- "@storybook/addon-docs": "^9.1.4",
33
- "@storybook/vue3-vite": "9.1.16",
34
- "@testing-library/dom": "^9.3.4",
35
- "@testing-library/jest-dom": "^5.16.4",
36
- "@testing-library/user-event": "^14.4.3",
37
- "@testing-library/vue": "^8.1.0",
38
- "@types/body-scroll-lock": "^2.6.1",
39
- "@types/classnames": "^2.2.9",
40
- "@types/dom-view-transitions": "^1.0.5",
41
- "@types/jest": "^29.2.1",
42
- "@types/lodash": "^4.14.149",
26
+ "@storybook/vue3-vite": "^9.1.4",
43
27
  "@vitejs/plugin-vue": "^6.0.2",
44
- "@vitejs/plugin-vue-jsx": "^5.1.2",
45
- "@vitejs/plugin-vue2-jsx": "^1.1.1",
46
- "@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
47
- "@vue/babel-plugin-jsx": "^2.0.1",
48
- "@vue/babel-preset-jsx": "^1.4.0",
49
- "@vue/composition-api": "1.7.2",
50
- "autoprefixer": "^9.7.4",
51
- "babel-jest": "29.1.2",
52
- "babel-loader": "^8.0.6",
53
- "eslint-plugin-storybook": "9.1.16",
54
- "eslint-plugin-vue": "^10.5.0",
55
- "focus-visible": "^5.0.2",
56
- "glob": "^7.1.6",
57
- "install-peers-cli": "^2.2.0",
58
- "is-ci": "^2.0.0",
59
- "jest": "29.1.2",
60
- "jest-environment-jsdom": "29.1.2",
61
- "node-notifier": "^10.0.1",
62
- "rollup": "3.29.5",
63
- "rollup-plugin-analyzer": "^4.0.0",
64
- "rollup-plugin-cleaner": "^1.0.0",
65
- "rollup-plugin-copy": "^3.5.0",
66
- "rollup-plugin-dts": "^6.1.1",
67
- "rollup-plugin-peer-deps-external": "^2.2.4",
68
- "rollup-plugin-ts-paths-resolve": "^1.7.1",
69
- "rollup-plugin-vue": "^6.0.0",
28
+ "@vitejs/plugin-vue-jsx": "^5.1.1",
70
29
  "storybook": "^9.1.4",
71
30
  "typescript": "^5.4.3",
72
31
  "vite": "^6.3.5",
73
- "vite-plugin-dts": "^4.5.4",
74
32
  "vite-tsconfig-paths": "^5.1.4",
75
- "vitest": "^4.0.10",
76
- "vue": "^3.4.27",
77
- "vue2": "npm:vue@2.6",
78
- "yargs": "^15.4.1"
79
- },
80
- "peerDependencies": {
81
- "@vue/composition-api": "^1.1.2",
82
- "lodash": "4.17.21",
83
- "vue": "^2.6.0 || ^3.3.0"
84
- },
85
- "peerDependenciesMeta": {
86
- "@vue/composition-api": {
87
- "optional": true
88
- }
89
- },
90
- "description": "The official LumApps Design System (LumX) for Vue applications",
91
- "homepage": "https://github.com/lumapps/design-system",
92
- "keywords": [
93
- "Design System",
94
- "LumApps",
95
- "LumX",
96
- "Vue"
97
- ],
98
- "license": "MIT",
99
- "module": "index.js",
100
- "main": "index.js",
101
- "types": "index.d.ts",
102
- "name": "@lumx/vue",
103
- "publishConfig": {
104
- "directory": "dist",
105
- "access": "public"
106
- },
107
- "repository": {
108
- "type": "git",
109
- "url": "git+https://github.com/lumapps/design-system.git"
110
- },
111
- "scripts": {
112
- "start:storybook": "storybook dev -p 6007",
113
- "build:storybook": "storybook build",
114
- "test": "vue-demi-switch 3 && vitest",
115
- "build": "vite build",
116
- "storybook:vue3": "vue-demi-switch 3 && yarn start:storybook",
117
- "storybook:vue2": "vue-demi-switch 2 vue2 && yarn start:storybook"
118
- },
119
- "sideEffects": false,
120
- "version": "3.20.1-alpha.5"
33
+ "vue": "^3.5.25"
34
+ }
121
35
  }
@@ -1,17 +0,0 @@
1
- import DefaultStory, { SizeAndShape as DefaultSizeAndShape } from '@lumx/core/js/components/Icon/Stories';
2
-
3
- import { Icon } from '.';
4
-
5
- export default {
6
- title: 'LumX components/icon/Icon',
7
- component: Icon,
8
- ...DefaultStory,
9
- };
10
-
11
- export const SizeAndShape = {
12
- ...DefaultSizeAndShape,
13
- argTypes: {
14
- hasShape: { control: false },
15
- size: { control: false },
16
- },
17
- };
package/src/Icon.test.tsx DELETED
@@ -1,9 +0,0 @@
1
- import { render } from '@testing-library/vue';
2
- import Tests from '@lumx/core/js/components/Icon/Tests';
3
- import { Icon, IconProps } from '.';
4
-
5
- describe(`<${Icon.displayName}>`, () => {
6
- Tests((props: IconProps) => {
7
- render(Icon, { props });
8
- });
9
- });
package/src/Icon.tsx DELETED
@@ -1,48 +0,0 @@
1
- import { defineComponent } from 'vue-demi';
2
- import { IconProps, Icon as UI } from '@lumx/core/js/components/Icon';
3
-
4
- export default defineComponent({
5
- name: 'Icon',
6
- components: {
7
- UI,
8
- },
9
- props: {
10
- color: {
11
- type: String,
12
- required: false,
13
- },
14
- colorVariant: {
15
- type: String,
16
- required: false,
17
- },
18
- hasShape: {
19
- type: Boolean,
20
- required: false,
21
- },
22
- icon: {
23
- type: String,
24
- required: true,
25
- },
26
- size: {
27
- type: String,
28
- required: false,
29
- },
30
- alt: {
31
- type: String,
32
- required: false,
33
- },
34
- theme: {
35
- type: String,
36
- required: false,
37
- },
38
- className: {
39
- type: String,
40
- required: false,
41
- },
42
- // GenericProps may include other props, but these are the main ones from IconProps
43
- },
44
- // setup function removed; props are accessible via this.props in render
45
- render() {
46
- return <UI {...this.$props} />;
47
- },
48
- });
@@ -1,17 +0,0 @@
1
- import DefaultStory, { SizeAndShape as DefaultSizeAndShape } from '@lumx/core/js/components/Icon/Stories';
2
-
3
- import { Icon } from '.';
4
-
5
- export default {
6
- title: 'LumX components/icon/Icon',
7
- component: Icon,
8
- ...DefaultStory,
9
- };
10
-
11
- export const SizeAndShape = {
12
- ...DefaultSizeAndShape,
13
- argTypes: {
14
- hasShape: { control: false },
15
- size: { control: false },
16
- },
17
- };
@@ -1,9 +0,0 @@
1
- import { render } from '@testing-library/vue';
2
- import Tests from '@lumx/core/js/components/Icon/Tests';
3
- import { Icon, IconProps } from '.';
4
-
5
- describe(`<${Icon.displayName}>`, () => {
6
- Tests((props: IconProps) => {
7
- render(Icon, { props });
8
- });
9
- });
@@ -1,48 +0,0 @@
1
- import { defineComponent } from 'vue-demi';
2
- import { IconProps, Icon as UI } from '@lumx/core/js/components/Icon';
3
-
4
- export default defineComponent({
5
- name: 'Icon',
6
- components: {
7
- UI,
8
- },
9
- props: {
10
- color: {
11
- type: String,
12
- required: false,
13
- },
14
- colorVariant: {
15
- type: String,
16
- required: false,
17
- },
18
- hasShape: {
19
- type: Boolean,
20
- required: false,
21
- },
22
- icon: {
23
- type: String,
24
- required: true,
25
- },
26
- size: {
27
- type: String,
28
- required: false,
29
- },
30
- alt: {
31
- type: String,
32
- required: false,
33
- },
34
- theme: {
35
- type: String,
36
- required: false,
37
- },
38
- className: {
39
- type: String,
40
- required: false,
41
- },
42
- // GenericProps may include other props, but these are the main ones from IconProps
43
- },
44
- // setup function removed; props are accessible via this.props in render
45
- render() {
46
- return <UI {...this.$props} />;
47
- },
48
- });
@@ -1,6 +0,0 @@
1
- import { IconProps } from '@lumx/core/js/components/Icon';
2
-
3
- import Icon from './Icon';
4
-
5
- export { Icon };
6
- export type { IconProps };
@@ -1,17 +0,0 @@
1
- import DefaultStory, { SizeAndShape as DefaultSizeAndShape } from '@lumx/core/js/components/Icon/Stories';
2
-
3
- import { Icon } from '.';
4
-
5
- export default {
6
- title: 'LumX components/icon/Icon',
7
- component: Icon,
8
- ...DefaultStory,
9
- };
10
-
11
- export const SizeAndShape = {
12
- ...DefaultSizeAndShape,
13
- argTypes: {
14
- hasShape: { control: false },
15
- size: { control: false },
16
- },
17
- };
@@ -1,9 +0,0 @@
1
- import { render } from '@testing-library/vue';
2
- import Tests from '@lumx/core/js/components/Icon/Tests';
3
- import { Icon, IconProps } from '.';
4
-
5
- describe(`<${Icon.displayName}>`, () => {
6
- Tests((props: IconProps) => {
7
- render(Icon, { props });
8
- });
9
- });
package/src/icon/Icon.tsx DELETED
@@ -1,48 +0,0 @@
1
- import { defineComponent } from 'vue-demi';
2
- import { IconProps, Icon as UI } from '@lumx/core/js/components/Icon';
3
-
4
- export default defineComponent({
5
- name: 'Icon',
6
- components: {
7
- UI,
8
- },
9
- props: {
10
- color: {
11
- type: String,
12
- required: false,
13
- },
14
- colorVariant: {
15
- type: String,
16
- required: false,
17
- },
18
- hasShape: {
19
- type: Boolean,
20
- required: false,
21
- },
22
- icon: {
23
- type: String,
24
- required: true,
25
- },
26
- size: {
27
- type: String,
28
- required: false,
29
- },
30
- alt: {
31
- type: String,
32
- required: false,
33
- },
34
- theme: {
35
- type: String,
36
- required: false,
37
- },
38
- className: {
39
- type: String,
40
- required: false,
41
- },
42
- // GenericProps may include other props, but these are the main ones from IconProps
43
- },
44
- // setup function removed; props are accessible via this.props in render
45
- render() {
46
- return <UI {...this.$props} />;
47
- },
48
- });
package/src/icon/index.ts DELETED
@@ -1,6 +0,0 @@
1
- import { IconProps } from '@lumx/core/js/components/Icon';
2
-
3
- import Icon from './Icon';
4
-
5
- export { Icon };
6
- export type { IconProps };
package/src/index.ts DELETED
@@ -1,6 +0,0 @@
1
- import { IconProps } from '@lumx/core/js/components/Icon';
2
-
3
- import Icon from './Icon';
4
-
5
- export { Icon };
6
- export type { IconProps };
File without changes