eis-ui-render 0.26.3 → 0.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 CHANGED
@@ -112,7 +112,8 @@ function handleSubmit(formValues) {
112
112
  Due to limitations in Genesis UI (no static asset folder), the build of this package has to be done and deployed manually:
113
113
 
114
114
  1. Clone this package `git clone https://github.com/eisgroup/ui-render.git`
115
- 2. Then `cd ui-render`, go to `/repos/policy/README.md` and follow given instructions
116
- 3. Move generated files to`/repos/npm/dist` folder
117
- 4. Inside `/repos/npm/` run `yarn build`
118
- 5. Then publish to npm: `npm publish`
115
+ 2. Inside `/repos/npm/` run `yarn build`
116
+ 3. Then navigate to `/repos/policy/` folder and follow `README.md` instructions
117
+ 4. Copy generated `/repos/policy/dist/static` folder to `/repos/npm/dist/static`
118
+ 5. Add `/repos/npm/dist/.npmrc` with the content `//registry.npmjs.org/:_authToken=<npm_your_private_tocken>
119
+ 6. Then publish to npm: `npm run push`
package/UIRender.d.ts CHANGED
@@ -6,6 +6,8 @@ interface Props {
6
6
  meta?: object;
7
7
  initialValues?: object;
8
8
  onSubmit(formValues: object): void;
9
+ getFormData?(fn: Function): void;
10
+ onDataChanged?(): void;
9
11
  className?: string;
10
12
  style?: object;
11
13
  id?: string;
package/UIRender.js CHANGED
@@ -110,7 +110,7 @@ var UIRender = /** @class */ (function (_super) {
110
110
  };
111
111
  UIRender.prototype.render = function () {
112
112
  var _a = this.props, className = _a.className, style = _a.style;
113
- return react_1.default.createElement("div", { id: this.id, "data-version": '0.26.3', className: UI_RENDER + " " + (className || ''), style: style });
113
+ return react_1.default.createElement("div", { id: this.id, "data-version": '0.27.1', className: UI_RENDER + " " + (className || ''), style: style });
114
114
  };
115
115
  return UIRender;
116
116
  }(react_1.Component));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eis-ui-render",
3
- "version": "0.26.3",
3
+ "version": "0.27.1",
4
4
  "description": "UI Render for EIS Integration",
5
5
  "homepage": ".",
6
6
  "sideEffects": false,