elseware-ui 2.26.3 → 2.27.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.
@@ -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, };
@@ -0,0 +1,6 @@
1
+ interface DocumentationLayoutProps {
2
+ value: string;
3
+ toc?: boolean;
4
+ }
5
+ declare function DocumentationLayout({ value, toc }: DocumentationLayoutProps): import("react/jsx-runtime").JSX.Element;
6
+ export default DocumentationLayout;
package/package.json CHANGED
@@ -1,126 +1,128 @@
1
- {
2
- "name": "elseware-ui",
3
- "version": "2.26.3",
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
- "tailwind-merge": "^3.5.0",
83
- "yup": "^1.3.3"
84
- },
85
- "devDependencies": {
86
- "@rollup/plugin-commonjs": "^17.0.0",
87
- "@rollup/plugin-json": "^6.1.0",
88
- "@rollup/plugin-node-resolve": "^11.0.0",
89
- "@rollup/plugin-typescript": "^11.1.5",
90
- "@storybook/addon-essentials": "^8.5.0",
91
- "@storybook/addon-interactions": "^8.5.0",
92
- "@storybook/addon-links": "^8.5.0",
93
- "@storybook/addon-onboarding": "^8.5.0",
94
- "@storybook/blocks": "^8.5.0",
95
- "@storybook/preset-create-react-app": "^8.5.0",
96
- "@storybook/react": "^8.5.0",
97
- "@storybook/react-webpack5": "^8.5.0",
98
- "@storybook/test": "^8.5.0",
99
- "@types/d3": "^7.4.3",
100
- "@types/d3-force": "^3.0.10",
101
- "@types/emoji-flags": "^1.3.3",
102
- "@types/jest": "^30.0.0",
103
- "@types/node": "^24.0.3",
104
- "@types/react": "^19.0.10",
105
- "@types/react-beautiful-dnd": "^13.1.8",
106
- "@types/react-chartjs-2": "^2.5.7",
107
- "@types/react-dom": "^19.0.4",
108
- "@types/react-simple-maps": "^3.0.6",
109
- "@types/react-world-flags": "^1.6.0",
110
- "autoprefixer": "^10.4.16",
111
- "cssnano": "^6.0.3",
112
- "eslint-plugin-storybook": "^0.11.2",
113
- "postcss": "^8.4.33",
114
- "prop-types": "^15.8.1",
115
- "react-scripts": "5.0.1",
116
- "rollup": "^2.79.2",
117
- "rollup-plugin-peer-deps-external": "^2.2.4",
118
- "rollup-plugin-postcss": "^4.0.2",
119
- "rollup-plugin-terser": "^7.0.2",
120
- "rollup-plugin-typescript2": "^0.36.0",
121
- "storybook": "^8.5.0",
122
- "tailwindcss": "^3.4.1",
123
- "tslib": "^2.6.2",
124
- "typescript": "^4.9.5"
125
- }
126
- }
1
+ {
2
+ "name": "elseware-ui",
3
+ "version": "2.27.0",
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;
@@ -1,2 +0,0 @@
1
- import Sidebar from "./Sidebar";
2
- export { Sidebar };
@@ -1,2 +0,0 @@
1
- import MarkdownEditor from "./MarkdownEditor";
2
- export { MarkdownEditor };
@@ -1,2 +0,0 @@
1
- import MarkdownViewer from "./MarkdownViewer";
2
- export { MarkdownViewer };