lecom-ui 5.3.85 → 5.3.87

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,131 +1,131 @@
1
- {
2
- "name": "lecom-ui",
3
- "version": "5.3.85",
4
- "license": "MIT",
5
- "type": "module",
6
- "module": "dist/index.js",
7
- "style": "dist/style.min.css",
8
- "typings": "dist/index.d.ts",
9
- "files": [
10
- "dist"
11
- ],
12
- "scripts": {
13
- "dev": "next dev",
14
- "build:next": "next build",
15
- "start": "next start",
16
- "lint": "next lint",
17
- "storybook": "storybook dev -p 6006",
18
- "build-storybook": "storybook build",
19
- "build:tailwind": "npx tailwindcss -i ./src/globals.css -o ./dist/style.min.css --minify",
20
- "build": "rollup -c && yarn build:tailwind",
21
- "test": "jest",
22
- "test:watch": "jest --watch",
23
- "test:coverage": "jest --coverage"
24
- },
25
- "dependencies": {
26
- "@hookform/resolvers": "^5.0.1",
27
- "@radix-ui/react-accordion": "^1.2.3",
28
- "@radix-ui/react-checkbox": "^1.1.3",
29
- "@radix-ui/react-dialog": "^1.1.11",
30
- "@radix-ui/react-dropdown-menu": "^2.1.4",
31
- "@radix-ui/react-label": "^2.1.4",
32
- "@radix-ui/react-popover": "^1.1.11",
33
- "@radix-ui/react-progress": "^1.1.7",
34
- "@radix-ui/react-radio-group": "^1.2.2",
35
- "@radix-ui/react-scroll-area": "^1.2.2",
36
- "@radix-ui/react-select": "^2.2.2",
37
- "@radix-ui/react-separator": "^1.1.1",
38
- "@radix-ui/react-slot": "^1.2.3",
39
- "@radix-ui/react-switch": "^1.1.2",
40
- "@radix-ui/react-tabs": "^1.1.12",
41
- "@radix-ui/react-toggle-group": "^1.1.10",
42
- "@radix-ui/react-tooltip": "^1.1.6",
43
- "@react-input/mask": "^2.0.4",
44
- "@tanstack/react-table": "^8.21.2",
45
- "@tanstack/react-virtual": "^3.13.10",
46
- "class-variance-authority": "^0.7.1",
47
- "clsx": "^2.1.1",
48
- "cmdk": "^1.1.1",
49
- "date-fns": "^4.1.0",
50
- "hex-color-opacity": "^0.4.2",
51
- "i18next": "^24.2.2",
52
- "lucide-react": "^0.488.0",
53
- "next": "^15.1.4",
54
- "react": ">=18.0.0",
55
- "react-colorful": "^5.6.1",
56
- "react-day-picker": "^9.8.0",
57
- "react-dom": ">=18.0.0",
58
- "react-hook-form": "^7.56.1",
59
- "react-i18next": "^15.4.0",
60
- "react-resizable-panels": "^3.0.2",
61
- "react-syntax-highlighter": "^15.6.6",
62
- "recharts": "^2.15.2",
63
- "tailwind-merge": "^2.5.5",
64
- "tailwindcss-animate": "^1.0.7",
65
- "use-color-luminance": "^1.3.0",
66
- "use-luminance": "^0.1.3",
67
- "vaul": "^1.1.2",
68
- "zod": "^3.24.3"
69
- },
70
- "devDependencies": {
71
- "@chromatic-com/storybook": "3.2.2",
72
- "@eslint/eslintrc": "^3",
73
- "@rollup/plugin-alias": "^5.1.1",
74
- "@rollup/plugin-image": "^3.0.3",
75
- "@storybook/addon-essentials": "8.4.7",
76
- "@storybook/addon-interactions": "8.4.7",
77
- "@storybook/addon-onboarding": "8.4.7",
78
- "@storybook/blocks": "8.4.7",
79
- "@storybook/nextjs": "8.4.7",
80
- "@storybook/react": "8.4.7",
81
- "@storybook/test": "8.4.7",
82
- "@testing-library/dom": "^10.4.0",
83
- "@testing-library/jest-dom": "^6.6.3",
84
- "@testing-library/react": "^16.1.0",
85
- "@types/node": "^20",
86
- "@types/rc-steps": "^4.0.0",
87
- "@types/react": "^19.0.0",
88
- "@types/react-dom": "^19.0.0",
89
- "@types/react-syntax-highlighter": "^15.5.13",
90
- "eslint": "^9",
91
- "eslint-config-next": "15.1.0",
92
- "eslint-plugin-import-helpers": "^2.0.1",
93
- "eslint-plugin-storybook": "^0.11.1",
94
- "jest": "^29.7.0",
95
- "jest-environment-jsdom": "^29.7.0",
96
- "postcss": "^8",
97
- "rollup": "^4.28.1",
98
- "rollup-plugin-copy": "^3.5.0",
99
- "rollup-plugin-dts": "^6.1.1",
100
- "rollup-plugin-esbuild": "^6.1.1",
101
- "rollup-plugin-peer-deps-external": "^2.2.4",
102
- "storybook": "8.4.7",
103
- "tailwindcss": "^3.4.1",
104
- "ts-node": "^10.9.2",
105
- "typescript": "^5"
106
- },
107
- "peerDependencies": {
108
- "react": ">=18.0.0",
109
- "react-dom": ">=18.0.0"
110
- },
111
- "peerDependenciesMeta": {
112
- "react": {
113
- "optional": true
114
- },
115
- "react-dom": {
116
- "optional": true
117
- }
118
- },
119
- "resolutions": {
120
- "react": "^19.0.0",
121
- "react-dom": "^19.0.0"
122
- },
123
- "eslintConfig": {
124
- "extends": [
125
- "plugin:storybook/recommended"
126
- ]
127
- },
128
- "overrides": {
129
- "react-is": "^19.0.0-rc-69d4b800-20241021"
130
- }
131
- }
1
+ {
2
+ "name": "lecom-ui",
3
+ "version": "5.3.87",
4
+ "license": "MIT",
5
+ "type": "module",
6
+ "module": "dist/index.js",
7
+ "style": "dist/style.min.css",
8
+ "typings": "dist/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "scripts": {
13
+ "dev": "next dev",
14
+ "build:next": "next build",
15
+ "start": "next start",
16
+ "lint": "next lint",
17
+ "storybook": "storybook dev -p 6006",
18
+ "build-storybook": "storybook build",
19
+ "build:tailwind": "npx tailwindcss -i ./src/globals.css -o ./dist/style.min.css --minify",
20
+ "build": "rollup -c && yarn build:tailwind",
21
+ "test": "jest",
22
+ "test:watch": "jest --watch",
23
+ "test:coverage": "jest --coverage"
24
+ },
25
+ "dependencies": {
26
+ "@hookform/resolvers": "^5.0.1",
27
+ "@radix-ui/react-accordion": "^1.2.3",
28
+ "@radix-ui/react-checkbox": "^1.1.3",
29
+ "@radix-ui/react-dialog": "^1.1.11",
30
+ "@radix-ui/react-dropdown-menu": "^2.1.4",
31
+ "@radix-ui/react-label": "^2.1.4",
32
+ "@radix-ui/react-popover": "^1.1.11",
33
+ "@radix-ui/react-progress": "^1.1.7",
34
+ "@radix-ui/react-radio-group": "^1.2.2",
35
+ "@radix-ui/react-scroll-area": "^1.2.2",
36
+ "@radix-ui/react-select": "^2.2.2",
37
+ "@radix-ui/react-separator": "^1.1.1",
38
+ "@radix-ui/react-slot": "^1.2.3",
39
+ "@radix-ui/react-switch": "^1.1.2",
40
+ "@radix-ui/react-tabs": "^1.1.12",
41
+ "@radix-ui/react-toggle-group": "^1.1.10",
42
+ "@radix-ui/react-tooltip": "^1.1.6",
43
+ "@react-input/mask": "^2.0.4",
44
+ "@tanstack/react-table": "^8.21.2",
45
+ "@tanstack/react-virtual": "^3.13.10",
46
+ "class-variance-authority": "^0.7.1",
47
+ "clsx": "^2.1.1",
48
+ "cmdk": "^1.1.1",
49
+ "date-fns": "^4.1.0",
50
+ "hex-color-opacity": "^0.4.2",
51
+ "i18next": "^24.2.2",
52
+ "lucide-react": "^0.488.0",
53
+ "next": "^15.1.4",
54
+ "react": ">=18.0.0",
55
+ "react-colorful": "^5.6.1",
56
+ "react-day-picker": "^9.8.0",
57
+ "react-dom": ">=18.0.0",
58
+ "react-hook-form": "^7.56.1",
59
+ "react-i18next": "^15.4.0",
60
+ "react-resizable-panels": "^3.0.2",
61
+ "react-syntax-highlighter": "^15.6.6",
62
+ "recharts": "^2.15.2",
63
+ "tailwind-merge": "^2.5.5",
64
+ "tailwindcss-animate": "^1.0.7",
65
+ "use-color-luminance": "^1.3.0",
66
+ "use-luminance": "^0.1.3",
67
+ "vaul": "^1.1.2",
68
+ "zod": "^3.24.3"
69
+ },
70
+ "devDependencies": {
71
+ "@chromatic-com/storybook": "3.2.2",
72
+ "@eslint/eslintrc": "^3",
73
+ "@rollup/plugin-alias": "^5.1.1",
74
+ "@rollup/plugin-image": "^3.0.3",
75
+ "@storybook/addon-essentials": "8.4.7",
76
+ "@storybook/addon-interactions": "8.4.7",
77
+ "@storybook/addon-onboarding": "8.4.7",
78
+ "@storybook/blocks": "8.4.7",
79
+ "@storybook/nextjs": "8.4.7",
80
+ "@storybook/react": "8.4.7",
81
+ "@storybook/test": "8.4.7",
82
+ "@testing-library/dom": "^10.4.0",
83
+ "@testing-library/jest-dom": "^6.6.3",
84
+ "@testing-library/react": "^16.1.0",
85
+ "@types/node": "^20",
86
+ "@types/rc-steps": "^4.0.0",
87
+ "@types/react": "^19.0.0",
88
+ "@types/react-dom": "^19.0.0",
89
+ "@types/react-syntax-highlighter": "^15.5.13",
90
+ "eslint": "^9",
91
+ "eslint-config-next": "15.1.0",
92
+ "eslint-plugin-import-helpers": "^2.0.1",
93
+ "eslint-plugin-storybook": "^0.11.1",
94
+ "jest": "^29.7.0",
95
+ "jest-environment-jsdom": "^29.7.0",
96
+ "postcss": "^8",
97
+ "rollup": "^4.28.1",
98
+ "rollup-plugin-copy": "^3.5.0",
99
+ "rollup-plugin-dts": "^6.1.1",
100
+ "rollup-plugin-esbuild": "^6.1.1",
101
+ "rollup-plugin-peer-deps-external": "^2.2.4",
102
+ "storybook": "8.4.7",
103
+ "tailwindcss": "^3.4.1",
104
+ "ts-node": "^10.9.2",
105
+ "typescript": "^5"
106
+ },
107
+ "peerDependencies": {
108
+ "react": ">=18.0.0",
109
+ "react-dom": ">=18.0.0"
110
+ },
111
+ "peerDependenciesMeta": {
112
+ "react": {
113
+ "optional": true
114
+ },
115
+ "react-dom": {
116
+ "optional": true
117
+ }
118
+ },
119
+ "resolutions": {
120
+ "react": "^19.0.0",
121
+ "react-dom": "^19.0.0"
122
+ },
123
+ "eslintConfig": {
124
+ "extends": [
125
+ "plugin:storybook/recommended"
126
+ ]
127
+ },
128
+ "overrides": {
129
+ "react-is": "^19.0.0-rc-69d4b800-20241021"
130
+ }
131
+ }
@@ -1,27 +0,0 @@
1
- import { Prism } from 'react-syntax-highlighter';
2
- import * as themes from 'react-syntax-highlighter/dist/esm/styles/prism';
3
- export { themes };
4
-
5
- const SyntaxHighlighter = ({
6
- style = "vscDarkPlus",
7
- language = "javascript",
8
- showLineNumbers = false,
9
- wrapLines = false,
10
- children,
11
- ...props
12
- }) => {
13
- const themeStyle = typeof style === "string" ? themes[style] || themes.vscDarkPlus : style;
14
- return /* @__PURE__ */ React.createElement(
15
- Prism,
16
- {
17
- language,
18
- style: themeStyle,
19
- showLineNumbers,
20
- wrapLines,
21
- ...props
22
- },
23
- children
24
- );
25
- };
26
-
27
- export { SyntaxHighlighter };