@nimbus-ds/components 3.0.1 → 3.1.0-rc.2
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 +8 -0
- package/dist/index.d.ts +10 -7
- package/dist/index.js +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
This package is intended for internal use in generating builds of each design system package. It contains all the necessary settings and dependencies to optimize the creation of our builds.
|
|
4
4
|
|
|
5
|
+
## 2023-03-24 `3.1.0`
|
|
6
|
+
|
|
7
|
+
### 💡 Others
|
|
8
|
+
|
|
9
|
+
- Adjusted the `Box` component properties interface to use `ComponentPropsWithRef` and include the `as` prop in the output interface. ([#132](https://github.com/TiendaNube/nimbus-design-system/pull/132) by [@juniorconquista](https://github.com/juniorconquista))
|
|
10
|
+
- Adjusted the `Button` component properties interface to use `ComponentPropsWithRef` and include the `as` prop in the output interface. ([#132](https://github.com/TiendaNube/nimbus-design-system/pull/132) by [@juniorconquista](https://github.com/juniorconquista))
|
|
11
|
+
- Adjusted the `Link` component properties interface to use `ComponentPropsWithRef` and include the `as` prop in the output interface. ([#132](https://github.com/TiendaNube/nimbus-design-system/pull/132) by [@juniorconquista](https://github.com/juniorconquista))
|
|
12
|
+
|
|
5
13
|
## 2023-03-27 `3.0.1`
|
|
6
14
|
|
|
7
15
|
### 🐛 Bug fixes
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { Placement } from '@floating-ui/react-dom-interactions';
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { ButtonHTMLAttributes, HTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, ReactElement, ReactNode, SVGAttributes, SelectHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
5
|
+
import { ButtonHTMLAttributes, ComponentPropsWithRef, HTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, ReactElement, ReactNode, SVGAttributes, SelectHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
6
6
|
|
|
7
7
|
export interface SkeletonProperties {
|
|
8
8
|
/**
|
|
@@ -1350,8 +1350,9 @@ export interface BoxProperties extends BoxSprinkle {
|
|
|
1350
1350
|
*/
|
|
1351
1351
|
children?: ReactNode;
|
|
1352
1352
|
}
|
|
1353
|
-
export type
|
|
1354
|
-
export declare const Box: PolymorphicForwardRefComponent<"div",
|
|
1353
|
+
export type BoxBaseProps = BoxProperties & Omit<HTMLAttributes<HTMLElement>, "color">;
|
|
1354
|
+
export declare const Box: PolymorphicForwardRefComponent<"div", BoxBaseProps>;
|
|
1355
|
+
export type BoxProps = ComponentPropsWithRef<typeof Box>;
|
|
1355
1356
|
export type ButtonSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
|
|
1356
1357
|
export type ButtonSkeletonProps = ButtonSkeletonProperties;
|
|
1357
1358
|
declare const ButtonSkeleton: React.FC<ButtonSkeletonProps>;
|
|
@@ -1375,8 +1376,9 @@ export interface ButtonProperties {
|
|
|
1375
1376
|
*/
|
|
1376
1377
|
disabled?: boolean;
|
|
1377
1378
|
}
|
|
1378
|
-
export type
|
|
1379
|
-
export declare const Button: PolymorphicForwardRefComponent<"a" | "button",
|
|
1379
|
+
export type ButtonBaseProps = ButtonProperties & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
1380
|
+
export declare const Button: PolymorphicForwardRefComponent<"a" | "button", ButtonBaseProps> & ButtonComponents;
|
|
1381
|
+
export type ButtonProps = ComponentPropsWithRef<typeof Button>;
|
|
1380
1382
|
export type CheckboxSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
|
|
1381
1383
|
export type CheckboxSkeletonProps = CheckboxSkeletonProperties;
|
|
1382
1384
|
declare const CheckboxSkeleton: React.FC<CheckboxSkeletonProps>;
|
|
@@ -1639,8 +1641,9 @@ export interface LinkProperties {
|
|
|
1639
1641
|
*/
|
|
1640
1642
|
lineHeight?: keyof typeof link.properties.lineHeight;
|
|
1641
1643
|
}
|
|
1642
|
-
export type
|
|
1643
|
-
export declare const Link: PolymorphicForwardRefComponent<"a" | "button",
|
|
1644
|
+
export type LinkBaseProps = LinkProperties & HTMLAttributes<HTMLElement>;
|
|
1645
|
+
export declare const Link: PolymorphicForwardRefComponent<"a" | "button", LinkBaseProps> & LinkComponents;
|
|
1646
|
+
export type LinkProps = ComponentPropsWithRef<typeof Link>;
|
|
1644
1647
|
export type ListSkeletonItemProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<SkeletonProps, "height">> & {
|
|
1645
1648
|
/**
|
|
1646
1649
|
* This is an attribute used to identify a DOM node for testing purposes.
|