@xapp/form-widget 1.63.1 → 1.64.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.
- package/dist/components/FormWidget/FormWidget.d.ts +12 -0
- package/dist/components/FormWidget/FormWidget.stories.d.ts +6 -0
- package/dist/components/FormWidget/index.d.ts +1 -0
- package/dist/components/WidgetStylesheet/WidgetStylesheet.d.ts +3 -3
- package/dist/components/index.d.ts +1 -2
- package/dist/config/form-config.d.ts +12 -0
- package/dist/config/index.d.ts +2 -2
- package/dist/config/theme.d.ts +1 -1
- package/dist/index.css +1 -811
- package/dist/index.d.ts +2 -3
- package/dist/index.es.js +40187 -93284
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +40158 -93257
- package/dist/index.js.map +1 -1
- package/dist/stories/ThemeBuilder/WidgetThemeBuilder/WidgetThemeBuilder.d.ts +4 -4
- package/dist/stories/config.d.ts +6 -5
- package/dist/utils/FormContext.d.ts +8 -0
- package/package.json +4 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Dispatch, FC, SetStateAction } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { FormWidgetTheme } from "../../../config";
|
|
3
3
|
export interface WidgetThemeBuilderProps {
|
|
4
|
-
readonly theme:
|
|
5
|
-
readonly defaultTheme:
|
|
6
|
-
readonly onChange: Dispatch<SetStateAction<
|
|
4
|
+
readonly theme: FormWidgetTheme;
|
|
5
|
+
readonly defaultTheme: FormWidgetTheme;
|
|
6
|
+
readonly onChange: Dispatch<SetStateAction<FormWidgetTheme>>;
|
|
7
7
|
}
|
|
8
8
|
export declare const WidgetThemeBuilder: FC<WidgetThemeBuilderProps>;
|
package/dist/stories/config.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const config:
|
|
3
|
-
export declare const configCF:
|
|
4
|
-
export declare const configCFA:
|
|
5
|
-
export declare const configPawnee:
|
|
1
|
+
import { FormWidgetConfig } from "../config";
|
|
2
|
+
export declare const config: FormWidgetConfig;
|
|
3
|
+
export declare const configCF: FormWidgetConfig;
|
|
4
|
+
export declare const configCFA: FormWidgetConfig;
|
|
5
|
+
export declare const configPawnee: FormWidgetConfig;
|
|
6
|
+
export declare const newConfig: FormWidgetConfig;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormWidgetConfig } from "../config";
|
|
3
|
+
interface FormContextType {
|
|
4
|
+
config: FormWidgetConfig;
|
|
5
|
+
updateConfig: (updatedConfig: FormWidgetConfig) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const formContext: import("react").Context<FormContextType | undefined>;
|
|
8
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xapp/form-widget",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.64.0",
|
|
4
4
|
"description": "Form Widget",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rm -rf ./lib/* && rm -rf ./dist/*",
|
|
7
7
|
"lint": "eslint src/**/* --ext .ts,.tsx --fix",
|
|
8
|
-
"test": "jest --maxWorkers=50%",
|
|
9
8
|
"build": "rollup -c",
|
|
10
9
|
"start": "rollup -c -w && npm run prettier-watch",
|
|
11
10
|
"prepare": "npm run build",
|
|
@@ -27,7 +26,7 @@
|
|
|
27
26
|
"typings": "dist/index",
|
|
28
27
|
"keywords": [
|
|
29
28
|
"XAPP",
|
|
30
|
-
"
|
|
29
|
+
"Form",
|
|
31
30
|
"Widget"
|
|
32
31
|
],
|
|
33
32
|
"author": "XAPP AI",
|
|
@@ -103,7 +102,7 @@
|
|
|
103
102
|
"@mui/material": "^5.14.11",
|
|
104
103
|
"@mui/x-date-pickers": "^6.16.0",
|
|
105
104
|
"@types/lodash.template": "^4.5.2",
|
|
106
|
-
"@xapp/stentor-form-widget-channel": "
|
|
105
|
+
"@xapp/stentor-form-widget-channel": "1.64.0",
|
|
107
106
|
"autosuggest-highlight": "^3.3.4",
|
|
108
107
|
"dayjs": "^1.11.10",
|
|
109
108
|
"lodash.template": "^4.5.0",
|
|
@@ -111,5 +110,5 @@
|
|
|
111
110
|
"store": "2.0.12",
|
|
112
111
|
"tslib": "2.4.0"
|
|
113
112
|
},
|
|
114
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "af3186f6c9a8f68cd9e078a6eb16c313416a278d"
|
|
115
114
|
}
|