@nimbus-ds/components 4.2.0-rc.1 → 4.2.0-rc.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/CHANGELOG.md CHANGED
@@ -7,6 +7,8 @@ Nimbus is an open-source Design System created by Tiendanube / Nuvesmhop’s tea
7
7
  #### 🎉 New features
8
8
 
9
9
  - Added `ref` property to `Input` component API. ([#151](https://github.com/TiendaNube/nimbus-design-system/pull/151) by [@juniorconquista](https://github.com/juniorconquista)).
10
+ - Added `ref` property to `Input.Password` component API. ([#151](https://github.com/TiendaNube/nimbus-design-system/pull/151) by [@juniorconquista](https://github.com/juniorconquista)).
11
+ - Added `ref` property to `Input.Search` component API. ([#151](https://github.com/TiendaNube/nimbus-design-system/pull/151) by [@juniorconquista](https://github.com/juniorconquista)).
10
12
 
11
13
  ## 2023-04-13 `4.1.1`
12
14
 
package/dist/index.d.ts CHANGED
@@ -1655,11 +1655,9 @@ export interface IconButtonProperties extends IconButtonSprinkle {
1655
1655
  export type IconButtonProps = IconButtonProperties & ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement>;
1656
1656
  export declare const IconButton: React.FC<IconButtonProps> & IconButtonComponents;
1657
1657
  export type InputPasswordProperties = Pick<InputProps, "appearance" | "disabled">;
1658
- export type InputPasswordProps = InputPasswordProperties & InputHTMLAttributes<HTMLInputElement>;
1659
- declare const InputPassword: React.FC<InputPasswordProps>;
1658
+ declare const InputPassword: React.ForwardRefExoticComponent<InputPasswordProperties & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
1660
1659
  export type InputSearchProperties = Pick<InputProps, "appearance" | "disabled">;
1661
- export type InputSearchProps = InputSearchProperties & InputHTMLAttributes<HTMLInputElement>;
1662
- declare const InputSearch: React.FC<InputSearchProps>;
1660
+ declare const InputSearch: React.ForwardRefExoticComponent<InputSearchProperties & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
1663
1661
  export type InputSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
1664
1662
  export type InputSkeletonProps = InputSkeletonProperties;
1665
1663
  declare const InputSkeleton: React.FC<InputSkeletonProps>;
@@ -1694,7 +1692,7 @@ export interface InputProperties {
1694
1692
  "data-testid"?: string;
1695
1693
  }
1696
1694
  export type InputProps = InputProperties & InputHTMLAttributes<HTMLInputElement>;
1697
- export declare const Input: React.ForwardRefExoticComponent<InputProps> & InputComponents;
1695
+ export declare const Input: React.ForwardRefExoticComponent<InputProperties & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>> & InputComponents;
1698
1696
  export type LabelSkeletonProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<SkeletonProps, "height">> & {
1699
1697
  /**
1700
1698
  * This is an attribute used to identify a DOM node for testing purposes.