@tracktor/design-system 4.7.4 → 4.7.5

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/CHANGELOG.md CHANGED
@@ -1,8 +1,7 @@
1
1
  # [Releases](https://github.com/Tracktor/design-system/releases)
2
2
 
3
- ## v4.7.4
3
+ ## v4.7.5
4
4
 
5
5
  ### fix
6
6
  #### File
7
- - **Fixed controlled component structure** with proper `value` prop and internal state management
8
- - **Fixed ref structure** by extending HTMLInputElement with `reset()` method for better compatibility
7
+ - type for `reset` function
@@ -22,7 +22,7 @@ export interface FileUploadProps {
22
22
  onChange?(e: ChangeEvent<HTMLInputElement>): void;
23
23
  }
24
24
  export interface HTMLInputElementFile extends HTMLInputElement {
25
- reset?: () => void;
25
+ reset: () => void;
26
26
  }
27
- declare const File: import('react').ForwardRefExoticComponent<FileUploadProps & import('react').RefAttributes<HTMLInputElementFile>>;
27
+ declare const File: import('react').ForwardRefExoticComponent<FileUploadProps & import('react').RefAttributes<HTMLInputElement>>;
28
28
  export default File;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tracktor/design-system",
3
3
  "description": "Tracktor Design System",
4
4
  "sideEffects": false,
5
- "version": "4.7.4",
5
+ "version": "4.7.5",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",