@apexcura/ui-components 0.0.16-Beta13 → 0.0.16-Beta130

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.
Files changed (37) hide show
  1. package/dist/Components/Button.d.ts +3 -0
  2. package/dist/Components/Checkbox.d.ts +3 -0
  3. package/dist/Components/ColorPickerElement.d.ts +3 -0
  4. package/dist/Components/DatePicker.d.ts +3 -0
  5. package/dist/Components/DateRangePickerElement.d.ts +3 -0
  6. package/dist/Components/DivContainer.d.ts +3 -0
  7. package/dist/Components/DropDownGroup.d.ts +19 -0
  8. package/dist/Components/Editor.d.ts +0 -0
  9. package/dist/Components/FilesUpload.d.ts +3 -0
  10. package/dist/Components/Image.d.ts +3 -0
  11. package/dist/Components/Navbar.d.ts +3 -0
  12. package/dist/Components/Notification.d.ts +3 -0
  13. package/dist/Components/NotificationAlert.d.ts +3 -0
  14. package/dist/Components/NumberElement.d.ts +3 -0
  15. package/dist/Components/OtpElement.d.ts +3 -0
  16. package/dist/Components/PasswordElement.d.ts +3 -0
  17. package/dist/Components/Profile.d.ts +3 -0
  18. package/dist/Components/RadioElement.d.ts +3 -0
  19. package/dist/Components/SelectElement.d.ts +3 -0
  20. package/dist/Components/Sidebar.d.ts +4 -0
  21. package/dist/Components/SingleCheckbox.d.ts +3 -0
  22. package/dist/Components/SpanElement.d.ts +3 -0
  23. package/dist/Components/SwitchElement.d.ts +3 -0
  24. package/dist/Components/TableElement.d.ts +11 -0
  25. package/dist/Components/TabsElement.d.ts +3 -0
  26. package/dist/Components/TextElement.d.ts +5 -0
  27. package/dist/Components/TextareaElement.d.ts +3 -0
  28. package/dist/Types/types.d.ts +150 -0
  29. package/dist/constants/icons.d.ts +4 -0
  30. package/dist/index.d.ts +23 -156
  31. package/dist/index.js +3 -1684
  32. package/dist/index.js.LICENSE.txt +1537 -0
  33. package/dist/index.js.map +1 -0
  34. package/dist/report.html +39 -0
  35. package/package.json +54 -61
  36. package/dist/index.d.mts +0 -156
  37. package/dist/index.mjs +0 -1638
package/package.json CHANGED
@@ -1,73 +1,66 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.16-Beta13",
4
- "description": "Apex cura React components library",
5
- "keywords": [
6
- "apex cura",
7
- "input",
8
- "ui",
9
- "react",
10
- "react-component"
11
- ],
12
- "homepage": "https://www.apexcura.com/",
13
- "bugs": {
14
- "url": "https://github.com/apexcura/ui-components/issues"
15
- },
16
- "repository": {
17
- "type": "git",
18
- "url": "git+https://github.com/apexcura/ui-components.git",
19
- "directory": "packages/ui-components"
20
- },
21
- "author": "Apex Cura <hello@apexcura.com>",
22
- "license": "ISC",
23
- "main": "./dist/index.js",
24
- "module": "./dist/index.mjs",
25
- "types": "./dist/index.d.ts",
26
- "css": "./dist/index.css",
3
+ "version": "0.0.16-Beta130",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
27
6
  "scripts": {
28
- "test": "jest",
29
- "build": "tsup"
7
+ "build": "webpack --config webpack.config.js",
8
+ "lint": "eslint src",
9
+ "format": "prettier --write src",
10
+ "prepare": "npm run build"
30
11
  },
31
12
  "files": [
32
- "dist/",
33
- "dist/styles/"
13
+ "dist"
34
14
  ],
35
- "devDependencies": {
36
- "@testing-library/jest-dom": "^6.4.2",
37
- "@testing-library/react": "^15.0.6",
38
- "@types/jest": "^29.5.12",
39
- "@types/react": "^18.3.1",
40
- "@types/react-dom": "18.2.18",
41
- "@types/react-global-configuration": "^1.3.3",
42
- "@types/testing-library__react": "^10.2.0",
43
- "antd": "^5.16.5",
44
- "autoprefixer": "^10.4.19",
45
- "css-loader": "^7.1.2",
46
- "jest": "^29.7.0",
47
- "jest-environment-jsdom": "^29.7.0",
48
- "postcss-cli": "^11.0.0",
49
- "style-loader": "^4.0.0",
50
- "ts-jest": "^29.1.2",
51
- "tsup": "^8.1.0",
52
- "typescript": "^5.4.5"
15
+ "keywords": [],
16
+ "author": "",
17
+ "license": "ISC",
18
+ "description": "",
19
+ "lint-staged": {
20
+ "src/**/*.{ts,tsx}": [
21
+ "eslint --fix",
22
+ "prettier --write"
23
+ ]
53
24
  },
54
- "engines": {
55
- "node": ">=18.0.0"
25
+ "peerDependencies": {
26
+ "react": "^18.3.1",
27
+ "react-dom": "^18.3.1"
56
28
  },
57
29
  "dependencies": {
58
- "@tinymce/tinymce-react": "^5.0.1",
59
- "chart.js": "^4.4.3",
60
- "date-fns": "^3.6.0",
61
- "devextreme": "^24.1.3",
62
- "devextreme-react": "^24.1.3",
63
- "esbuild": "^0.21.4",
64
- "highcharts": "^11.4.3",
65
- "highcharts-react-official": "^3.2.1",
30
+ "@ckeditor/ckeditor5-build-classic": "^42.0.1",
31
+ "@ckeditor/ckeditor5-react": "^8.0.0",
32
+ "antd": "^5.19.3",
33
+ "autoprefixer": "^10.4.19",
66
34
  "moment": "^2.30.1",
67
- "react": "^18.3.1",
68
- "react-chartjs-2": "^5.2.0",
69
- "react-dom": "^18.3.1",
70
- "react-hooks": "^1.0.1",
71
- "react-icons": "^5.2.1"
35
+ "postcss": "^8.4.39",
36
+ "postcss-loader": "^8.1.1",
37
+ "react-icons": "^5.2.1",
38
+ "tailwindcss": "^3.4.6"
39
+ },
40
+ "devDependencies": {
41
+ "@types/highcharts": "^7.0.0",
42
+ "@types/react": "^18.3.3",
43
+ "@types/react-dom": "^18.3.0",
44
+ "@typescript-eslint/eslint-plugin": "^7.15.0",
45
+ "@typescript-eslint/parser": "^7.15.0",
46
+ "clean-webpack-plugin": "^4.0.0",
47
+ "css-loader": "^7.1.2",
48
+ "eslint": "^8.57.0",
49
+ "eslint-config-prettier": "^9.1.0",
50
+ "eslint-plugin-prettier": "^5.1.3",
51
+ "eslint-plugin-react": "^7.34.3",
52
+ "eslint-webpack-plugin": "^4.2.0",
53
+ "husky": "^9.0.11",
54
+ "lint-staged": "^15.2.7",
55
+ "prettier": "^3.3.2",
56
+ "sass": "^1.77.8",
57
+ "sass-loader": "^15.0.0",
58
+ "source-map-loader": "^5.0.0",
59
+ "style-loader": "^4.0.0",
60
+ "ts-loader": "^9.5.1",
61
+ "typescript": "^5.5.3",
62
+ "webpack": "^5.93.0",
63
+ "webpack-bundle-analyzer": "^4.10.2",
64
+ "webpack-cli": "^5.1.4"
72
65
  }
73
66
  }
package/dist/index.d.mts DELETED
@@ -1,156 +0,0 @@
1
- import React$1 from 'react';
2
- import { SizeType } from 'antd/es/config-provider/SizeContext';
3
- import { UploadFile } from 'antd/lib/upload/interface';
4
-
5
- type ElementType = {
6
- [x: string]: any;
7
- selectedStyle?: boolean;
8
- style?: boolean;
9
- className?: string | undefined;
10
- placeholder?: string;
11
- addonBefore?: React.ReactNode;
12
- defaultValue?: string;
13
- disabled?: boolean;
14
- prefix?: React.ReactNode;
15
- type?: string;
16
- size?: SizeType;
17
- value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile<any>[];
18
- status?: "error" | "warning";
19
- styles?: React.CSSProperties;
20
- variant?: "outlined" | "borderless" | "filled";
21
- label?: string;
22
- name?: string;
23
- suffix?: React.ReactNode;
24
- maxLength?: number;
25
- fieldNames?: any[];
26
- fields?: any[];
27
- schema?: any[];
28
- options?: any[];
29
- firstOptions?: any[];
30
- secondOptions?: any[];
31
- view?: boolean;
32
- onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
33
- onClick?: () => void;
34
- dropDownOptions?: any[];
35
- id?: number;
36
- thead?: any[];
37
- tbody?: any[];
38
- variable_data?: any[];
39
- optionType?: string;
40
- selectedClassName?: string;
41
- action?: React.MouseEventHandler<HTMLElement> | string;
42
- listClassName?: string;
43
- listItemClassName?: string;
44
- img?: string;
45
- items?: any[];
46
- primaryText?: string;
47
- secondaryText?: string;
48
- count?: number;
49
- icon?: string | any;
50
- placement?: string;
51
- profileImage?: string;
52
- buttonClassName?: string;
53
- profileImageClassName?: string;
54
- profileSubClassName?: string;
55
- subContainerClassName?: string;
56
- element?: string;
57
- secondTextClassName?: string;
58
- iconsClassName?: string;
59
- labelClassName?: string;
60
- containerClassName?: string;
61
- selectBefore?: any[];
62
- selectAfter?: any[];
63
- isSVGStylesOverride?: boolean;
64
- rowSelection?: string;
65
- length?: number;
66
- imgClassName?: string;
67
- loading?: boolean;
68
- fillText1?: string;
69
- fillText2?: string;
70
- labels?: any[];
71
- data?: any[];
72
- pagination?: boolean;
73
- is_detail?: boolean;
74
- dateTime?: string;
75
- minRows?: number;
76
- maxRows?: number;
77
- mode?: "multiple" | "tags" | undefined;
78
- picker?: "date" | "week" | "month" | "quarter" | "year";
79
- weekrange?: boolean;
80
- message?: string;
81
- description?: string;
82
- notificationType?: 'success' | 'info' | 'warning' | 'error';
83
- };
84
-
85
- declare const TextElement: (props: ElementType) => React$1.JSX.Element;
86
-
87
- declare const PasswordElement: (props: ElementType) => React$1.JSX.Element;
88
-
89
- declare const NumberElement: (props: ElementType) => React$1.JSX.Element;
90
-
91
- declare const TextareaElement: (props: ElementType) => React$1.JSX.Element;
92
-
93
- declare const SelectElement: (props: ElementType) => React$1.JSX.Element;
94
-
95
- declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
96
-
97
- declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
98
-
99
- interface ElementExecuterProps extends ElementType {
100
- onChange: (value: string | number | object | boolean | any[] | undefined) => void;
101
- }
102
- declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
103
-
104
- declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
105
-
106
- declare const MultipleSelectElement: (props: ElementType) => React$1.JSX.Element;
107
-
108
- declare const ButtonElement: (props: ElementType) => React$1.JSX.Element;
109
-
110
- declare const AddMoreTable: (props: ElementType) => React$1.JSX.Element;
111
-
112
- declare const Sidebar: (props: ElementType) => React$1.JSX.Element;
113
-
114
- declare const Navbar: (props: ElementType) => React$1.JSX.Element;
115
-
116
- declare const TableElement: (props: ElementType) => React$1.JSX.Element;
117
-
118
- declare const DatePickerElement: (props: ElementType) => React$1.JSX.Element;
119
-
120
- declare const DateRangePickerElement: (props: ElementType) => React$1.JSX.Element;
121
-
122
- declare const Image: (props: ElementType) => React$1.JSX.Element;
123
-
124
- declare const SingleCheckbox: (props: ElementType) => React$1.JSX.Element;
125
-
126
- declare const DropDownGroup: (props: ElementType) => React$1.JSX.Element;
127
-
128
- declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
129
-
130
- declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
131
-
132
- declare const SwitchElement: () => React$1.JSX.Element;
133
-
134
- declare const Upload: (props: ElementType) => React$1.JSX.Element;
135
-
136
- declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
137
-
138
- declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
139
-
140
- declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
141
-
142
- declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
143
-
144
- declare const LineChart: (props: ElementType) => React$1.JSX.Element;
145
-
146
- declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
147
-
148
- declare const BarChart: (props: ElementType) => React$1.JSX.Element;
149
-
150
- declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
151
-
152
- declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
153
-
154
- declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
155
-
156
- export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, ColorPickerElement, DatePickerElement, DateRangePickerElement, DivContainer, DoubleBarChart, DropDownGroup, FileUpload, HorizontalBarChart, Image, LineChart, MultipleSelectElement, Navbar, NotificationAlert, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };