dfh-ui-library 1.1.63 → 1.1.65

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.
@@ -1,8 +1,9 @@
1
- import React from "react";
2
1
  import { IComponent, ISchema } from "../shared/models/components/common.model";
3
2
  interface UseSchemaProcessorProps {
4
3
  schema: ISchema[];
5
4
  externalSetComponents: (data: IComponent[]) => void;
6
5
  }
7
- declare const UseSchemaProcessor: React.FC<UseSchemaProcessorProps>;
8
- export default UseSchemaProcessor;
6
+ declare const useSchemaProcessor: ({ schema, externalSetComponents, }: UseSchemaProcessorProps) => {
7
+ componentsRtn: IComponent[] | undefined;
8
+ };
9
+ export default useSchemaProcessor;
package/dist/index.d.ts CHANGED
@@ -372,6 +372,8 @@ interface UseSchemaProcessorProps {
372
372
  schema: ISchema[];
373
373
  externalSetComponents: (data: IComponent[]) => void;
374
374
  }
375
- declare const UseSchemaProcessor: React$1.FC<UseSchemaProcessorProps>;
375
+ declare const useSchemaProcessor: ({ schema, externalSetComponents, }: UseSchemaProcessorProps) => {
376
+ componentsRtn: IComponent[] | undefined;
377
+ };
376
378
 
377
- export { Button, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, Input, InputValidation, Label, RadioButton, Select, Textarea, Typhography, UseSchemaProcessor };
379
+ export { Button, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, Input, InputValidation, Label, RadioButton, Select, Textarea, Typhography, useSchemaProcessor as UseSchemaProcessor };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.1.63",
3
+ "version": "1.1.65",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
@@ -80,7 +80,9 @@
80
80
  "postcss": "^8.4.31",
81
81
  "postcss-cssnext": "^3.1.1",
82
82
  "postcss-import": "^15.1.0",
83
- "postcss-loader": "^7.3.3"
83
+ "postcss-loader": "^7.3.3",
84
+ "react": "^18.2.0",
85
+ "react-dom": "^18.2.0"
84
86
  },
85
87
  "main": "dist/cjs/index.js",
86
88
  "module": "dist/esm/index.js",