elseware-ui 2.26.3 → 2.27.1
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/README.md +109 -109
- package/build/components/markdown/{editor → com/editor}/MarkdownEditor.d.ts +1 -1
- package/build/components/markdown/com/toc/MarkdownTOC.d.ts +5 -0
- package/build/components/markdown/{viewer → com/viewer}/MarkdownViewer.d.ts +2 -2
- package/build/components/markdown/hooks/useMarkdown.d.ts +1 -0
- package/build/components/markdown/index.d.ts +5 -2
- package/build/components/markdown/provider/MarkdownContext.d.ts +9 -0
- package/build/components/markdown/provider/MarkdownProvider.d.ts +7 -0
- package/build/components/markdown/types/markdown.d.ts +5 -0
- package/build/components/markdown/utils/extractHeadings.d.ts +2 -0
- package/build/components/markdown/utils/generateHeadingNumbers.d.ts +5 -0
- package/build/components/markdown/utils/sanitizeHeading.d.ts +1 -0
- package/build/components/markdown/utils/slugify.d.ts +1 -0
- package/build/components/navigation/menu/index.d.ts +2 -1
- package/build/data/test/md/index.d.ts +2 -0
- package/build/data/test/test-data.d.ts +0 -1
- package/build/index.es.js +1710 -1892
- package/build/index.js +1712 -1891
- package/build/layouts/index.d.ts +2 -1
- package/build/layouts/secondary/documentation-layout/DocumentationLayout.d.ts +6 -0
- package/package.json +128 -126
- package/build/components/general/sidebar/Sidebar.d.ts +0 -10
- package/build/components/general/sidebar/index.d.ts +0 -2
- package/build/components/markdown/editor/index.d.ts +0 -2
- package/build/components/markdown/viewer/index.d.ts +0 -2
package/build/layouts/index.d.ts
CHANGED
|
@@ -3,5 +3,6 @@ import DefaultLayout from "./primary/DefaultLayout";
|
|
|
3
3
|
import HomeLayout from "./primary/HomeLayout";
|
|
4
4
|
import SidebarLayout from "./primary/SidebarLayout";
|
|
5
5
|
import SidemenuLayout from "./secondary/SidemenuLayout";
|
|
6
|
+
import DocumentationLayout from "./secondary/documentation-layout/DocumentationLayout";
|
|
6
7
|
import EUIDevLayout from "./dev/EUIDevLayout";
|
|
7
|
-
export { GenericLayout, DefaultLayout, HomeLayout, SidebarLayout, SidemenuLayout, EUIDevLayout, };
|
|
8
|
+
export { GenericLayout, DefaultLayout, HomeLayout, SidebarLayout, SidemenuLayout, DocumentationLayout, EUIDevLayout, };
|
package/package.json
CHANGED
|
@@ -1,126 +1,128 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "elseware-ui",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"private": false,
|
|
5
|
-
"description": "A modern and customizable React UI component library by elseware Technology.",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"react",
|
|
8
|
-
"ui-library",
|
|
9
|
-
"component-library",
|
|
10
|
-
"tailwind",
|
|
11
|
-
"design-system",
|
|
12
|
-
"elseware"
|
|
13
|
-
],
|
|
14
|
-
"repository": {
|
|
15
|
-
"type": "git",
|
|
16
|
-
"url": "https://github.com/elsewaretechnologies/elseware-ui.git"
|
|
17
|
-
},
|
|
18
|
-
"author": "elseware Technology <elsewaretechnology@gmail.com>",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"main": "./build/index.js",
|
|
21
|
-
"module": "./build/index.es.js",
|
|
22
|
-
"types": "./build/index.d.ts",
|
|
23
|
-
"exports": {
|
|
24
|
-
".": {
|
|
25
|
-
"import": "./build/index.es.js",
|
|
26
|
-
"require": "./build/index.js",
|
|
27
|
-
"types": "./build/index.d.ts"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"files": [
|
|
31
|
-
"build"
|
|
32
|
-
],
|
|
33
|
-
"scripts": {
|
|
34
|
-
"dev": "storybook dev -p 6006",
|
|
35
|
-
"build": "rollup -c",
|
|
36
|
-
"build:storybook": "storybook build",
|
|
37
|
-
"clean": "rm -rf build dist node_modules/.cache",
|
|
38
|
-
"prepare": "npm run build",
|
|
39
|
-
"release": "npm publish --access public"
|
|
40
|
-
},
|
|
41
|
-
"eslintConfig": {
|
|
42
|
-
"extends": [
|
|
43
|
-
"react-app",
|
|
44
|
-
"react-app/jest",
|
|
45
|
-
"plugin:storybook/recommended"
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
"browserslist": {
|
|
49
|
-
"production": [
|
|
50
|
-
">0.2%",
|
|
51
|
-
"not dead",
|
|
52
|
-
"not op_mini all"
|
|
53
|
-
],
|
|
54
|
-
"development": [
|
|
55
|
-
"last 1 chrome version",
|
|
56
|
-
"last 1 firefox version",
|
|
57
|
-
"last 1 safari version"
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
"peerDependencies": {
|
|
61
|
-
"react": ">=18",
|
|
62
|
-
"react-dom": ">=18",
|
|
63
|
-
"tailwindcss": ">=3.0.0"
|
|
64
|
-
},
|
|
65
|
-
"dependencies": {
|
|
66
|
-
"@headlessui/react": "^2.1.8",
|
|
67
|
-
"@mdxeditor/editor": "^3.36.0",
|
|
68
|
-
"chart.js": "^4.4.4",
|
|
69
|
-
"classnames": "^2.5.1",
|
|
70
|
-
"cloudinary-react": "^1.8.1",
|
|
71
|
-
"d3": "^7.9.0",
|
|
72
|
-
"d3-force": "^3.0.0",
|
|
73
|
-
"emoji-flags": "^1.3.0",
|
|
74
|
-
"formik": "^2.4.5",
|
|
75
|
-
"framer-motion": "^12.23.24",
|
|
76
|
-
"react-beautiful-dnd": "^13.1.1",
|
|
77
|
-
"react-chartjs-2": "^5.2.0",
|
|
78
|
-
"react-icons": "^4.12.0",
|
|
79
|
-
"react-simple-maps": "^3.0.0",
|
|
80
|
-
"react-toastify": "^10.0.5",
|
|
81
|
-
"react-world-flags": "^1.6.0",
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"@rollup/plugin-
|
|
89
|
-
"@rollup/plugin-
|
|
90
|
-
"@
|
|
91
|
-
"@
|
|
92
|
-
"@storybook/addon-
|
|
93
|
-
"@storybook/addon-
|
|
94
|
-
"@storybook/
|
|
95
|
-
"@storybook/
|
|
96
|
-
"@storybook/
|
|
97
|
-
"@storybook/react-
|
|
98
|
-
"@storybook/
|
|
99
|
-
"@
|
|
100
|
-
"@
|
|
101
|
-
"@types/
|
|
102
|
-
"@types/
|
|
103
|
-
"@types/
|
|
104
|
-
"@types/
|
|
105
|
-
"@types/
|
|
106
|
-
"@types/react
|
|
107
|
-
"@types/react-
|
|
108
|
-
"@types/react-
|
|
109
|
-
"@types/react-
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"rollup
|
|
119
|
-
"rollup-plugin-
|
|
120
|
-
"rollup-plugin-
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
|
|
126
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "elseware-ui",
|
|
3
|
+
"version": "2.27.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "A modern and customizable React UI component library by elseware Technology.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"react",
|
|
8
|
+
"ui-library",
|
|
9
|
+
"component-library",
|
|
10
|
+
"tailwind",
|
|
11
|
+
"design-system",
|
|
12
|
+
"elseware"
|
|
13
|
+
],
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/elsewaretechnologies/elseware-ui.git"
|
|
17
|
+
},
|
|
18
|
+
"author": "elseware Technology <elsewaretechnology@gmail.com>",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"main": "./build/index.js",
|
|
21
|
+
"module": "./build/index.es.js",
|
|
22
|
+
"types": "./build/index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"import": "./build/index.es.js",
|
|
26
|
+
"require": "./build/index.js",
|
|
27
|
+
"types": "./build/index.d.ts"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"build"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"dev": "storybook dev -p 6006",
|
|
35
|
+
"build": "rollup -c",
|
|
36
|
+
"build:storybook": "storybook build",
|
|
37
|
+
"clean": "rm -rf build dist node_modules/.cache",
|
|
38
|
+
"prepare": "npm run build",
|
|
39
|
+
"release": "npm publish --access public"
|
|
40
|
+
},
|
|
41
|
+
"eslintConfig": {
|
|
42
|
+
"extends": [
|
|
43
|
+
"react-app",
|
|
44
|
+
"react-app/jest",
|
|
45
|
+
"plugin:storybook/recommended"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"browserslist": {
|
|
49
|
+
"production": [
|
|
50
|
+
">0.2%",
|
|
51
|
+
"not dead",
|
|
52
|
+
"not op_mini all"
|
|
53
|
+
],
|
|
54
|
+
"development": [
|
|
55
|
+
"last 1 chrome version",
|
|
56
|
+
"last 1 firefox version",
|
|
57
|
+
"last 1 safari version"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"peerDependencies": {
|
|
61
|
+
"react": ">=18",
|
|
62
|
+
"react-dom": ">=18",
|
|
63
|
+
"tailwindcss": ">=3.0.0"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"@headlessui/react": "^2.1.8",
|
|
67
|
+
"@mdxeditor/editor": "^3.36.0",
|
|
68
|
+
"chart.js": "^4.4.4",
|
|
69
|
+
"classnames": "^2.5.1",
|
|
70
|
+
"cloudinary-react": "^1.8.1",
|
|
71
|
+
"d3": "^7.9.0",
|
|
72
|
+
"d3-force": "^3.0.0",
|
|
73
|
+
"emoji-flags": "^1.3.0",
|
|
74
|
+
"formik": "^2.4.5",
|
|
75
|
+
"framer-motion": "^12.23.24",
|
|
76
|
+
"react-beautiful-dnd": "^13.1.1",
|
|
77
|
+
"react-chartjs-2": "^5.2.0",
|
|
78
|
+
"react-icons": "^4.12.0",
|
|
79
|
+
"react-simple-maps": "^3.0.0",
|
|
80
|
+
"react-toastify": "^10.0.5",
|
|
81
|
+
"react-world-flags": "^1.6.0",
|
|
82
|
+
"rehype-raw": "^7.0.0",
|
|
83
|
+
"rehype-slug": "^6.0.0",
|
|
84
|
+
"tailwind-merge": "^3.5.0",
|
|
85
|
+
"yup": "^1.3.3"
|
|
86
|
+
},
|
|
87
|
+
"devDependencies": {
|
|
88
|
+
"@rollup/plugin-commonjs": "^17.0.0",
|
|
89
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
90
|
+
"@rollup/plugin-node-resolve": "^11.0.0",
|
|
91
|
+
"@rollup/plugin-typescript": "^11.1.5",
|
|
92
|
+
"@storybook/addon-essentials": "^8.5.0",
|
|
93
|
+
"@storybook/addon-interactions": "^8.5.0",
|
|
94
|
+
"@storybook/addon-links": "^8.5.0",
|
|
95
|
+
"@storybook/addon-onboarding": "^8.5.0",
|
|
96
|
+
"@storybook/blocks": "^8.5.0",
|
|
97
|
+
"@storybook/preset-create-react-app": "^8.5.0",
|
|
98
|
+
"@storybook/react": "^8.5.0",
|
|
99
|
+
"@storybook/react-webpack5": "^8.5.0",
|
|
100
|
+
"@storybook/test": "^8.5.0",
|
|
101
|
+
"@types/d3": "^7.4.3",
|
|
102
|
+
"@types/d3-force": "^3.0.10",
|
|
103
|
+
"@types/emoji-flags": "^1.3.3",
|
|
104
|
+
"@types/jest": "^30.0.0",
|
|
105
|
+
"@types/node": "^24.0.3",
|
|
106
|
+
"@types/react": "^19.0.10",
|
|
107
|
+
"@types/react-beautiful-dnd": "^13.1.8",
|
|
108
|
+
"@types/react-chartjs-2": "^2.5.7",
|
|
109
|
+
"@types/react-dom": "^19.0.4",
|
|
110
|
+
"@types/react-simple-maps": "^3.0.6",
|
|
111
|
+
"@types/react-world-flags": "^1.6.0",
|
|
112
|
+
"autoprefixer": "^10.4.16",
|
|
113
|
+
"cssnano": "^6.0.3",
|
|
114
|
+
"eslint-plugin-storybook": "^0.11.2",
|
|
115
|
+
"postcss": "^8.4.33",
|
|
116
|
+
"prop-types": "^15.8.1",
|
|
117
|
+
"react-scripts": "5.0.1",
|
|
118
|
+
"rollup": "^2.79.2",
|
|
119
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
120
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
121
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
122
|
+
"rollup-plugin-typescript2": "^0.36.0",
|
|
123
|
+
"storybook": "^8.5.0",
|
|
124
|
+
"tailwindcss": "^3.4.1",
|
|
125
|
+
"tslib": "^2.6.2",
|
|
126
|
+
"typescript": "^4.9.5"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseComponentProps } from "../../../interfaces";
|
|
2
|
-
import "./sidebar.css";
|
|
3
|
-
export interface SidebarProps extends BaseComponentProps {
|
|
4
|
-
items?: any;
|
|
5
|
-
selectedKey?: string;
|
|
6
|
-
defaultSelectedKey?: string;
|
|
7
|
-
navigate?: (to: string) => void;
|
|
8
|
-
}
|
|
9
|
-
declare function Sidebar({ items, selectedKey, defaultSelectedKey, navigate, className, ...rest }: SidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default Sidebar;
|