@nimbus-ds/components 5.5.3-rc.1 → 5.5.4-rc.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 +6 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
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
|
+
## 2024-04-18 `5.5.4`
|
|
6
|
+
|
|
7
|
+
### 💡 Others
|
|
8
|
+
|
|
9
|
+
- Trigger `onClick` only when close icon is pressed on `Chip` component.
|
|
10
|
+
|
|
5
11
|
## 2024-03-18 `5.5.3`
|
|
6
12
|
|
|
7
13
|
### 🐛 Bug fixes
|
package/dist/index.d.ts
CHANGED
|
@@ -2177,7 +2177,7 @@ export interface ButtonProperties {
|
|
|
2177
2177
|
disabled?: boolean;
|
|
2178
2178
|
}
|
|
2179
2179
|
export type ButtonBaseProps = ButtonProperties & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
2180
|
-
export declare const Button: PolymorphicForwardRefComponent<"
|
|
2180
|
+
export declare const Button: PolymorphicForwardRefComponent<"button" | "a", ButtonBaseProps> & ButtonComponents;
|
|
2181
2181
|
export type ButtonProps = ComponentPropsWithRef<typeof Button>;
|
|
2182
2182
|
export type CheckboxSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
|
|
2183
2183
|
export type CheckboxSkeletonProps = CheckboxSkeletonProperties;
|
|
@@ -2241,7 +2241,7 @@ export interface ChipProperties {
|
|
|
2241
2241
|
*/
|
|
2242
2242
|
removable?: boolean;
|
|
2243
2243
|
}
|
|
2244
|
-
export type ChipProps = ChipProperties & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
2244
|
+
export type ChipProps = ChipProperties & ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement>;
|
|
2245
2245
|
export declare const Chip: React.FC<ChipProps> & ChipComponents;
|
|
2246
2246
|
export type FileUploaderSkeletonProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<SkeletonProps, "height">> & Partial<Pick<FileUploaderProps, "aspectRatio">> & {
|
|
2247
2247
|
/**
|
|
@@ -2445,7 +2445,7 @@ export interface LinkProperties {
|
|
|
2445
2445
|
lineHeight?: keyof typeof link.properties.lineHeight;
|
|
2446
2446
|
}
|
|
2447
2447
|
export type LinkBaseProps = LinkProperties & HTMLAttributes<HTMLElement>;
|
|
2448
|
-
export declare const Link: PolymorphicForwardRefComponent<"
|
|
2448
|
+
export declare const Link: PolymorphicForwardRefComponent<"button" | "a", LinkBaseProps> & LinkComponents;
|
|
2449
2449
|
export type LinkProps = ComponentPropsWithRef<typeof Link>;
|
|
2450
2450
|
export type ListSkeletonItemProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<SkeletonProps, "height">> & {
|
|
2451
2451
|
/**
|