jb-textarea 3.12.2 → 3.12.3

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/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "web component",
15
15
  "web-component"
16
16
  ],
17
- "version": "3.12.2",
17
+ "version": "3.12.3",
18
18
  "bugs": "https://github.com/javadbat/jb-textarea/issues",
19
19
  "homepage": "https://javadbat.github.io/design-system/?path=/docs/components-form-elements-jbtextarea",
20
20
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "jb-validation":">=0.4.0",
37
- "jb-core":">=0.22.0",
37
+ "jb-core":">=0.24.0",
38
38
  "jb-form":">=0.7.1"
39
39
  }
40
40
  }
@@ -25,12 +25,12 @@ declare const JBTextarea: React.ForwardRefExoticComponent<EventProps & JBTextare
25
25
  placeholder?: string;
26
26
  } & {
27
27
  children?: React.ReactNode | undefined;
28
- } & React.HTMLAttributes<JBTextareaWebComponent> & JBElementStandardProps & React.RefAttributes<unknown>>;
28
+ } & JBElementStandardProps<JBTextareaWebComponent, "label" | "name" | "message" | "placeholder" | keyof EventProps | keyof JBTextareaAttributes> & React.RefAttributes<unknown>>;
29
29
  type JBTextareaProps = EventProps & JBTextareaAttributes & {
30
30
  label?: string;
31
31
  message?: string;
32
32
  name?: string;
33
33
  placeholder?: string;
34
34
  };
35
- export type Props = PropsWithChildren<JBTextareaProps> & React.HTMLAttributes<JBTextareaWebComponent> & JBElementStandardProps;
35
+ export type Props = PropsWithChildren<JBTextareaProps> & JBElementStandardProps<JBTextareaWebComponent, keyof JBTextareaProps>;
36
36
  export { JBTextarea };
@@ -51,5 +51,5 @@ type JBTextareaProps = EventProps & JBTextareaAttributes & {
51
51
  name?:string,
52
52
  placeholder?:string
53
53
  }
54
- export type Props = PropsWithChildren<JBTextareaProps> & React.HTMLAttributes<JBTextareaWebComponent> & JBElementStandardProps;
54
+ export type Props = PropsWithChildren<JBTextareaProps> & JBElementStandardProps<JBTextareaWebComponent, keyof JBTextareaProps>;
55
55
  export {JBTextarea};