@micromerce/formbuilder-react 1.0.979 → 1.0.981
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/dist/assets/icons/error/Error.d.ts +2 -1
- package/dist/components/ControlWrapper/ControlWrapper.d.ts +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
- package/dist/components/FormBuilder/FormBuilder.d.ts +1 -1
- package/dist/components/FormFooter/FormFooter.d.ts +1 -1
- package/dist/components/FormGroup/FormGroup.d.ts +1 -1
- package/dist/components/FormList/FormList.d.ts +2 -1
- package/dist/components/QueryControl/QueryControl.d.ts +2 -1
- package/dist/components/QueryControl/ui-helper/Wrapper/QueryControlWrapper.d.ts +1 -1
- package/dist/components/QueryControl/ui-helper/Wrapper/QueryControlWrapper.styles.d.ts +3 -1
- package/dist/components/QueryControl/utils/getMatchingControls.d.ts +1 -1
- package/dist/components/controls/Checkbox/Checkbox.d.ts +2 -2
- package/dist/components/controls/DateRangeGroup/DateRangeGroup.d.ts +2 -1
- package/dist/components/controls/DateRangeGroup/DateRangeGroup.styles.d.ts +11 -3
- package/dist/components/controls/DateRangeGroup/components/CalendarModal.d.ts +2 -1
- package/dist/components/controls/FileUploader/FileUploader.d.ts +2 -1
- package/dist/components/controls/Input/Input.d.ts +2 -2
- package/dist/components/controls/Input/input.styles.d.ts +12 -4
- package/dist/components/controls/InputFreeSolo/InputFreeSolo.d.ts +2 -2
- package/dist/components/controls/MrnInput/MrnInput.d.ts +2 -1
- package/dist/components/controls/MrnInput/ui-helper/Link/Link.d.ts +2 -2
- package/dist/components/controls/MultiSelect/MultiSelect.d.ts +2 -2
- package/dist/components/controls/PasswordInput/PasswordInput.d.ts +2 -2
- package/dist/components/controls/Select/Select.d.ts +2 -2
- package/dist/components/controls/Textarea/Textarea.d.ts +2 -2
- package/dist/components/controls/Textarea/aiWrapper/aiAction.d.ts +2 -1
- package/dist/components/controls/Textarea/aiWrapper/aiLayout.d.ts +2 -1
- package/dist/components/controls/Textarea/aiWrapper/index.d.ts +1 -1
- package/dist/components/controls/Textarea/editors/Default/Default.d.ts +2 -2
- package/dist/components/controls/TrafficLightCardSelect/TrafficLightCardSelect.d.ts +2 -1
- package/dist/components/groups/AddressGroup/AddressGroup.d.ts +2 -1
- package/dist/components/groups/Group/Group.d.ts +2 -1
- package/dist/components/states/error/index.d.ts +2 -1
- package/dist/formbuilder.js +123 -100
- package/dist/formbuilder.js.LICENSE.txt +2 -2
- package/dist/formbuilder.js.map +1 -1
- package/dist/styles/Hidden.styles.d.ts +6 -2
- package/dist/ui/menu/index.d.ts +1 -1
- package/dist/ui/menu/test/createControl.d.ts +2 -2
- package/dist/ui-helper/HeaderCollapseButton/index.d.ts +2 -1
- package/dist/ui-helper/notifications/Error.d.ts +2 -1
- package/dist/ui-helper/notifications/images/background.d.ts +2 -1
- package/dist/ui-helper/notifications/images/spinner.d.ts +2 -1
- package/dist/ui-helper/notifications/images/under-improvement.d.ts +2 -1
- package/package.json +77 -83
|
@@ -2,6 +2,10 @@ interface StyledVisibilityContainerProps {
|
|
|
2
2
|
visible: boolean;
|
|
3
3
|
error?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare const StyledVisibilityContainer: import("styled-components").
|
|
6
|
-
|
|
5
|
+
export declare const StyledVisibilityContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
6
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
7
|
+
}, StyledVisibilityContainerProps>> & string;
|
|
8
|
+
export declare const StyledVisibilityContainerProgress: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>, "style"> & {
|
|
9
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
10
|
+
}, StyledVisibilityContainerProps>> & string;
|
|
7
11
|
export {};
|
package/dist/ui/menu/index.d.ts
CHANGED
|
@@ -9,5 +9,5 @@ interface IMenuProps {
|
|
|
9
9
|
activeMenuItemIndex: number;
|
|
10
10
|
onActiveMenuItemIndex: (key: number) => void;
|
|
11
11
|
}
|
|
12
|
-
declare const Menu: ({ children, menuItems, activeMenuItemIndex, onActiveMenuItemIndex, }: IMenuProps) =>
|
|
12
|
+
declare const Menu: ({ children, menuItems, activeMenuItemIndex, onActiveMenuItemIndex, }: IMenuProps) => React.JSX.Element;
|
|
13
13
|
export default Menu;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FormControl, FormVisibility } from "../../../types";
|
|
2
|
-
type
|
|
2
|
+
type CreateControlOptions = {
|
|
3
3
|
displayName: string;
|
|
4
4
|
isGroup: boolean;
|
|
5
5
|
submenu?: {
|
|
@@ -11,5 +11,5 @@ type createControl = {
|
|
|
11
11
|
message: string;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
declare const createControl: ({ displayName, isGroup, submenu, visibility, groupChildVisibility, error, }:
|
|
14
|
+
declare const createControl: ({ displayName, isGroup, submenu, visibility, groupChildVisibility, error, }: CreateControlOptions) => FormControl;
|
|
15
15
|
export default createControl;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
interface IProps {
|
|
2
3
|
isOpen: boolean;
|
|
3
4
|
itemsCount?: number;
|
|
4
5
|
onClick: () => void;
|
|
5
6
|
}
|
|
6
|
-
declare const HeaderCollapseButton: ({ isOpen, itemsCount, onClick }: IProps) =>
|
|
7
|
+
declare const HeaderCollapseButton: ({ isOpen, itemsCount, onClick }: IProps) => React.JSX.Element;
|
|
7
8
|
export default HeaderCollapseButton;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
interface ErrorNotificationProps {
|
|
2
3
|
onBack: () => void;
|
|
3
4
|
onRetry: () => void;
|
|
4
5
|
}
|
|
5
|
-
declare const ErrorNotification: ({ onBack, onRetry }: ErrorNotificationProps) =>
|
|
6
|
+
declare const ErrorNotification: ({ onBack, onRetry }: ErrorNotificationProps) => React.JSX.Element;
|
|
6
7
|
export default ErrorNotification;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromerce/formbuilder-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.981",
|
|
4
4
|
"description": "creates a form based on configuration",
|
|
5
5
|
"main": "dist/formbuilder.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -36,57 +36,57 @@
|
|
|
36
36
|
"author": "",
|
|
37
37
|
"license": "ISC",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@ariakit/react": "^0.4.
|
|
40
|
-
"@codemirror/lang-html": "^6.4.
|
|
41
|
-
"@codemirror/lang-json": "^6.0.
|
|
42
|
-
"@codemirror/lang-markdown": "^6.
|
|
43
|
-
"@codemirror/language": "^6.
|
|
39
|
+
"@ariakit/react": "^0.4.40",
|
|
40
|
+
"@codemirror/lang-html": "^6.4.12",
|
|
41
|
+
"@codemirror/lang-json": "^6.0.2",
|
|
42
|
+
"@codemirror/lang-markdown": "^6.5.2",
|
|
43
|
+
"@codemirror/language": "^6.12.4",
|
|
44
44
|
"@dnd-kit/core": "^6.3.1",
|
|
45
45
|
"@dnd-kit/sortable": "^10.0.0",
|
|
46
46
|
"@dnd-kit/utilities": "^3.2.2",
|
|
47
|
-
"@emotion/react": "^11.
|
|
48
|
-
"@emotion/styled": "^11.
|
|
49
|
-
"@lezer/highlight": "^1.
|
|
47
|
+
"@emotion/react": "^11.14.0",
|
|
48
|
+
"@emotion/styled": "^11.14.1",
|
|
49
|
+
"@lezer/highlight": "^1.2.3",
|
|
50
50
|
"@micromerce/media-fileuploader": "^1.0.2110",
|
|
51
|
-
"@mui/icons-material": "^5.
|
|
52
|
-
"@mui/material": "^5.
|
|
53
|
-
"@platejs/autoformat": "^52.
|
|
54
|
-
"@platejs/basic-nodes": "^52.
|
|
55
|
-
"@platejs/dnd": "^52.
|
|
56
|
-
"@platejs/indent": "^52.
|
|
57
|
-
"@platejs/link": "^52.
|
|
58
|
-
"@platejs/list": "^52.
|
|
59
|
-
"@platejs/table": "^52.
|
|
60
|
-
"@radix-ui/react-avatar": "^1.
|
|
61
|
-
"@radix-ui/react-checkbox": "^1.
|
|
62
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
63
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
64
|
-
"@radix-ui/react-popover": "^1.1.
|
|
65
|
-
"@radix-ui/react-scroll-area": "^1.2.
|
|
66
|
-
"@radix-ui/react-separator": "^1.1.
|
|
67
|
-
"@radix-ui/react-slot": "^1.
|
|
68
|
-
"@radix-ui/react-toggle": "^1.1.
|
|
69
|
-
"@radix-ui/react-toggle-group": "^1.1.
|
|
70
|
-
"@radix-ui/react-toolbar": "^1.1.
|
|
71
|
-
"@radix-ui/react-tooltip": "^1.2.
|
|
51
|
+
"@mui/icons-material": "^9.5.0",
|
|
52
|
+
"@mui/material": "^9.5.0",
|
|
53
|
+
"@platejs/autoformat": "^52.3.10",
|
|
54
|
+
"@platejs/basic-nodes": "^52.3.10",
|
|
55
|
+
"@platejs/dnd": "^52.3.16",
|
|
56
|
+
"@platejs/indent": "^52.3.10",
|
|
57
|
+
"@platejs/link": "^52.3.17",
|
|
58
|
+
"@platejs/list": "^52.3.10",
|
|
59
|
+
"@platejs/table": "^52.3.20",
|
|
60
|
+
"@radix-ui/react-avatar": "^1.2.6",
|
|
61
|
+
"@radix-ui/react-checkbox": "^1.3.11",
|
|
62
|
+
"@radix-ui/react-dialog": "^1.1.23",
|
|
63
|
+
"@radix-ui/react-dropdown-menu": "^2.1.24",
|
|
64
|
+
"@radix-ui/react-popover": "^1.1.23",
|
|
65
|
+
"@radix-ui/react-scroll-area": "^1.2.18",
|
|
66
|
+
"@radix-ui/react-separator": "^1.1.15",
|
|
67
|
+
"@radix-ui/react-slot": "^1.3.3",
|
|
68
|
+
"@radix-ui/react-toggle": "^1.1.18",
|
|
69
|
+
"@radix-ui/react-toggle-group": "^1.1.19",
|
|
70
|
+
"@radix-ui/react-toolbar": "^1.1.19",
|
|
71
|
+
"@radix-ui/react-tooltip": "^1.2.16",
|
|
72
72
|
"@react-icons/all-files": "^4.1.0",
|
|
73
|
-
"@uiw/react-codemirror": "^4.
|
|
73
|
+
"@uiw/react-codemirror": "^4.25.11",
|
|
74
74
|
"classnames": "^2.3.1",
|
|
75
|
-
"cmdk": "^1.
|
|
75
|
+
"cmdk": "^1.1.1",
|
|
76
76
|
"html-to-text": "^9.0.5",
|
|
77
77
|
"lodash": "^4.17.21",
|
|
78
78
|
"lucide-react": "^0.451.0",
|
|
79
|
-
"platejs": "^52.3.
|
|
80
|
-
"prismjs": "^1.
|
|
79
|
+
"platejs": "^52.3.21",
|
|
80
|
+
"prismjs": "^1.30.0",
|
|
81
81
|
"qs": "^6.16.0",
|
|
82
82
|
"react-date-range": "2.0.1",
|
|
83
|
-
"react-lite-youtube-embed": "^2.
|
|
83
|
+
"react-lite-youtube-embed": "^2.6.0",
|
|
84
84
|
"react-quill": "^2.0.0",
|
|
85
85
|
"showdown": "^2.1.0",
|
|
86
|
-
"styled-components": "^
|
|
87
|
-
"turndown": "^7.
|
|
86
|
+
"styled-components": "^6.6.0",
|
|
87
|
+
"turndown": "^7.2.4",
|
|
88
88
|
"usehooks-ts": "^2.5.1",
|
|
89
|
-
"uuid": "^14.0.
|
|
89
|
+
"uuid": "^14.0.2"
|
|
90
90
|
},
|
|
91
91
|
"overrides": {
|
|
92
92
|
"nanoid@^3": "^3.3.17",
|
|
@@ -103,10 +103,6 @@
|
|
|
103
103
|
"picomatch@^2": "^2.3.2",
|
|
104
104
|
"browserslist": "^4.28.7",
|
|
105
105
|
"fast-uri@^3": "^3.1.6",
|
|
106
|
-
"@testing-library/dom@^10": "10.4.1",
|
|
107
|
-
"@tybys/wasm-util@^0.10": "0.10.3",
|
|
108
|
-
"enhanced-resolve@^5": "5.24.5",
|
|
109
|
-
"schema-utils@^4": "4.4.0",
|
|
110
106
|
"brace-expansion@^1": "^1.1.20",
|
|
111
107
|
"webpack-dev-middleware@^6": "^7.4.6",
|
|
112
108
|
"memfs@^4": "4.79.0",
|
|
@@ -119,58 +115,56 @@
|
|
|
119
115
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
120
116
|
},
|
|
121
117
|
"devDependencies": {
|
|
122
|
-
"@babel/core": "^7.
|
|
123
|
-
"@playwright/test": "1.
|
|
124
|
-
"@storybook/addon-links": "^10.
|
|
125
|
-
"@storybook/addon-styling-webpack": "^3.0.
|
|
126
|
-
"@storybook/addon-webpack5-compiler-swc": "^4.0.
|
|
127
|
-
"@storybook/react": "^10.
|
|
128
|
-
"@storybook/react-webpack5": "^10.
|
|
129
|
-
"@swc/core": "^1.
|
|
118
|
+
"@babel/core": "^7.29.7",
|
|
119
|
+
"@playwright/test": "1.64.1",
|
|
120
|
+
"@storybook/addon-links": "^10.6.2",
|
|
121
|
+
"@storybook/addon-styling-webpack": "^3.0.2",
|
|
122
|
+
"@storybook/addon-webpack5-compiler-swc": "^4.0.3",
|
|
123
|
+
"@storybook/react": "^10.6.2",
|
|
124
|
+
"@storybook/react-webpack5": "^10.6.2",
|
|
125
|
+
"@swc/core": "^1.16.18",
|
|
130
126
|
"@testing-library/jest-dom": "^7.0.1",
|
|
131
|
-
"@testing-library/react": "^16.
|
|
132
|
-
"@testing-library/user-event": "^
|
|
127
|
+
"@testing-library/react": "^16.3.3",
|
|
128
|
+
"@testing-library/user-event": "^14.6.8",
|
|
133
129
|
"@types/html-to-text": "^9.0.4",
|
|
134
|
-
"@types/jest": "^
|
|
135
|
-
"@types/lodash": "^4.
|
|
130
|
+
"@types/jest": "^30.0.0",
|
|
131
|
+
"@types/lodash": "^4.17.25",
|
|
136
132
|
"@types/qs": "^6.15.1",
|
|
137
|
-
"@types/react": "^18.3.
|
|
138
|
-
"@types/react-date-range": "^1.4.
|
|
139
|
-
"@types/react-dom": "^18.3.
|
|
140
|
-
"@
|
|
141
|
-
"
|
|
142
|
-
"babel-
|
|
143
|
-
"babel-loader": "^8.2.3",
|
|
133
|
+
"@types/react": "^18.3.31",
|
|
134
|
+
"@types/react-date-range": "^1.4.10",
|
|
135
|
+
"@types/react-dom": "^18.3.7",
|
|
136
|
+
"@typescript-eslint/parser": "^8.71.2",
|
|
137
|
+
"babel-jest": "^30.5.2",
|
|
138
|
+
"babel-loader": "^10.1.1",
|
|
144
139
|
"buffer": "^6.0.3",
|
|
145
|
-
"chokidar": "^4.0.
|
|
146
|
-
"concurrently": "^9.
|
|
140
|
+
"chokidar": "^4.0.3",
|
|
141
|
+
"concurrently": "^9.2.4",
|
|
147
142
|
"copyfiles": "^2.4.1",
|
|
148
|
-
"eslint": "^
|
|
149
|
-
"eslint-
|
|
150
|
-
"eslint-plugin-
|
|
151
|
-
"eslint-plugin-
|
|
152
|
-
"eslint-plugin-
|
|
153
|
-
"eslint-plugin
|
|
154
|
-
"eslint-plugin-testing-library": "^5.1.0",
|
|
155
|
-
"eslint-webpack-plugin": "^3.1.1",
|
|
143
|
+
"eslint": "^9.39.5",
|
|
144
|
+
"eslint-plugin-jest": "^29.17.0",
|
|
145
|
+
"eslint-plugin-react": "^7.37.5",
|
|
146
|
+
"eslint-plugin-storybook": "^10.6.2",
|
|
147
|
+
"eslint-plugin-testing-library": "^7.16.2",
|
|
148
|
+
"eslint-webpack-plugin": "^6.0.0",
|
|
156
149
|
"identity-obj-proxy": "^3.0.0",
|
|
157
|
-
"jest": "^
|
|
158
|
-
"jest-environment-jsdom": "^
|
|
150
|
+
"jest": "^30.5.2",
|
|
151
|
+
"jest-environment-jsdom": "^30.5.2",
|
|
152
|
+
"neostandard": "^0.14.1",
|
|
159
153
|
"path-browserify": "^1.0.1",
|
|
160
154
|
"react": "^18.3.1",
|
|
161
155
|
"react-dom": "^18.3.1",
|
|
162
|
-
"sass": "^1.
|
|
163
|
-
"sass-loader": "^
|
|
164
|
-
"storybook": "^10.
|
|
156
|
+
"sass": "^1.105.2",
|
|
157
|
+
"sass-loader": "^17.0.1",
|
|
158
|
+
"storybook": "^10.6.2",
|
|
165
159
|
"stream-browserify": "^3.0.0",
|
|
166
|
-
"swc-loader": "^0.2.
|
|
167
|
-
"ts-jest": "^29.
|
|
168
|
-
"ts-loader": "^9.2
|
|
160
|
+
"swc-loader": "^0.2.7",
|
|
161
|
+
"ts-jest": "^29.4.15",
|
|
162
|
+
"ts-loader": "^9.6.2",
|
|
169
163
|
"ts-node": "^10.7.0",
|
|
170
164
|
"typescript": "^6.0.3",
|
|
171
|
-
"webpack": "^5.
|
|
172
|
-
"webpack-bundle-analyzer": "^4.
|
|
173
|
-
"webpack-cli": "^7.2.
|
|
174
|
-
"webpack-merge": "^
|
|
165
|
+
"webpack": "^5.112.0",
|
|
166
|
+
"webpack-bundle-analyzer": "^5.4.0",
|
|
167
|
+
"webpack-cli": "^7.2.3",
|
|
168
|
+
"webpack-merge": "^6.0.1"
|
|
175
169
|
}
|
|
176
170
|
}
|