@nimbus-ds/components 5.1.0 β†’ 5.1.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/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  Nimbus is an open-source Design System created by Tiendanube / Nuvesmhop’s team to empower and enhance more stories every day, with simplicity, accessibility, consistency and performance.
4
4
 
5
+ ## 2023-07-11 `5.1.1`
6
+
7
+ #### πŸŽ‰ New features
8
+
9
+ - Added `ref` property to `Select` component API. ([#180](https://github.com/TiendaNube/nimbus-design-system/pull/180) by [@juniorconquista](https://github.com/juniorconquista)).
10
+ - Added `ref` property to `Textarea` component API. ([#180](https://github.com/TiendaNube/nimbus-design-system/pull/180) by [@juniorconquista](https://github.com/juniorconquista)).
11
+
12
+ #### πŸ› Bug fixes
13
+
14
+ - Adding extra right padding to the modal title to prevent the title from getting overlaid by the close button. ([#179](https://github.com/TiendaNube/nimbus-design-system/pull/179) by [@juniorconquista](https://github.com/juniorconquista))
15
+
16
+ #### πŸ“š 3rd party library updates
17
+
18
+ - Updated `@floating-ui/react@0.24.6`. ([#179](https://github.com/TiendaNube/nimbus-design-system/pull/179) by [@juanchigallego](https://github.com/juanchigallego))
19
+
5
20
  ## 2023-06-13 `5.1.0`
6
21
 
7
22
  ### πŸŽ‰ New features
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Generated by dts-bundle-generator v7.2.0
2
2
 
3
3
  import React from 'react';
4
- import { ButtonHTMLAttributes, ComponentPropsWithRef, HTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, ReactElement, ReactNode, SVGAttributes, SelectHTMLAttributes, TextareaHTMLAttributes } from 'react';
4
+ import { ButtonHTMLAttributes, ComponentPropsWithRef, HTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, ReactElement, ReactNode, SVGAttributes } from 'react';
5
5
 
6
6
  export interface SkeletonProperties {
7
7
  /**
@@ -2514,8 +2514,8 @@ export interface SelectProperties {
2514
2514
  */
2515
2515
  appearance?: "success" | "warning" | "danger" | "neutral";
2516
2516
  }
2517
- export type SelectProps = SelectProperties & SelectHTMLAttributes<HTMLSelectElement>;
2518
- export declare const Select: React.FC<SelectProps> & SelectComponents;
2517
+ export declare const Select: React.ForwardRefExoticComponent<SelectProperties & React.SelectHTMLAttributes<HTMLSelectElement> & React.InputHTMLAttributes<HTMLSelectElement> & React.RefAttributes<HTMLSelectElement>> & SelectComponents;
2518
+ export type SelectProps = ComponentPropsWithRef<typeof Select>;
2519
2519
  export interface SpinnerProperties {
2520
2520
  /**
2521
2521
  * Sets the width and height of the spinner.
@@ -2599,8 +2599,8 @@ export interface TextareaProperties {
2599
2599
  * */
2600
2600
  id: string;
2601
2601
  }
2602
- export type TextareaProps = TextareaProperties & TextareaHTMLAttributes<HTMLTextAreaElement>;
2603
- export declare const Textarea: React.FC<TextareaProps> & TextareaComponents;
2602
+ export declare const Textarea: React.ForwardRefExoticComponent<TextareaProperties & React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.InputHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>> & TextareaComponents;
2603
+ export type TextareaProps = ComponentPropsWithRef<typeof Textarea>;
2604
2604
  export type ThumbnailSkeletonProperties = Partial<Pick<ThumbnailProps, "aspectRatio">> & Partial<Pick<SkeletonProps, "width" | "data-testid">>;
2605
2605
  export type ThumbnailSkeletonProps = ThumbnailSkeletonProperties;
2606
2606
  declare const ThumbnailSkeleton: React.FC<ThumbnailSkeletonProps>;