@nimbus-ds/button 2.9.0 → 2.10.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 +12 -0
- package/dist/CHANGELOG.md +12 -0
- package/dist/index.d.ts +3 -3
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
The Button component allows us to initiate actions, make state or page changes.
|
|
4
4
|
|
|
5
|
+
## 2026-01-13 `2.10.1`
|
|
6
|
+
|
|
7
|
+
#### 🎉 New features
|
|
8
|
+
|
|
9
|
+
- Adds support for React 19. ([#404](https://github.com/TiendaNube/nimbus-design-system/pull/404) by [@joacotornello](https://github.com/joacotornello))
|
|
10
|
+
|
|
11
|
+
## 2025-11-13 `2.10.0`
|
|
12
|
+
|
|
13
|
+
#### 🎉 New features
|
|
14
|
+
|
|
15
|
+
- Added `large` size to `Button` component. ([#383](https://github.com/TiendaNube/nimbus-design-system/pull/383) by [@joacotornello](https://github.com/joacotornello))
|
|
16
|
+
|
|
5
17
|
## 2025-10-17 `2.9.0`
|
|
6
18
|
|
|
7
19
|
#### 🎉 New features
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
The Button component allows us to initiate actions, make state or page changes.
|
|
4
4
|
|
|
5
|
+
## 2026-01-13 `2.10.1`
|
|
6
|
+
|
|
7
|
+
#### 🎉 New features
|
|
8
|
+
|
|
9
|
+
- Adds support for React 19. ([#404](https://github.com/TiendaNube/nimbus-design-system/pull/404) by [@joacotornello](https://github.com/joacotornello))
|
|
10
|
+
|
|
11
|
+
## 2025-11-13 `2.10.0`
|
|
12
|
+
|
|
13
|
+
#### 🎉 New features
|
|
14
|
+
|
|
15
|
+
- Added `large` size to `Button` component. ([#383](https://github.com/TiendaNube/nimbus-design-system/pull/383) by [@joacotornello](https://github.com/joacotornello))
|
|
16
|
+
|
|
5
17
|
## 2025-10-17 `2.9.0`
|
|
6
18
|
|
|
7
19
|
#### 🎉 New features
|
package/dist/index.d.ts
CHANGED
|
@@ -22,10 +22,10 @@ export interface PolymorphicForwardRefComponent<IntrinsicElementString, OwnProps
|
|
|
22
22
|
* so that events are typed when using JSX.IntrinsicElements.
|
|
23
23
|
*/
|
|
24
24
|
<As = IntrinsicElementString>(props: As extends "" ? {
|
|
25
|
-
as: keyof JSX.IntrinsicElements;
|
|
25
|
+
as: keyof React.JSX.IntrinsicElements;
|
|
26
26
|
} : As extends React.ComponentType<infer P> ? Merge<P, OwnProps & {
|
|
27
27
|
as: As;
|
|
28
|
-
}> : As extends keyof JSX.IntrinsicElements ? Merge<JSX.IntrinsicElements[As], OwnProps & {
|
|
28
|
+
}> : As extends keyof React.JSX.IntrinsicElements ? Merge<React.JSX.IntrinsicElements[As], OwnProps & {
|
|
29
29
|
as: As;
|
|
30
30
|
}> : never): React.ReactElement | null;
|
|
31
31
|
}
|
|
@@ -79,7 +79,7 @@ export interface ButtonProperties {
|
|
|
79
79
|
* Change the size of the button.
|
|
80
80
|
* @default medium
|
|
81
81
|
*/
|
|
82
|
-
size?: "medium" | "small";
|
|
82
|
+
size?: "large" | "medium" | "small";
|
|
83
83
|
}
|
|
84
84
|
export type ButtonBaseProps = ButtonProperties & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
85
85
|
export declare const Button: PolymorphicForwardRefComponent<"a" | "button", ButtonBaseProps> & ButtonComponents;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimbus-ds/button",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"version": "yarn version"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@nimbus-ds/skeleton": "^3.0.
|
|
17
|
+
"@nimbus-ds/skeleton": "^3.0.2"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@nimbus-ds/styles": "^9.
|
|
21
|
-
"react": "^16.8 || ^17.0 || ^18.0",
|
|
22
|
-
"react-dom": "^16.8 || ^17.0 || ^18.0"
|
|
20
|
+
"@nimbus-ds/styles": "^9.50.0",
|
|
21
|
+
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0",
|
|
22
|
+
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0"
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://nimbus.nuvemshop.com.br/documentation",
|
|
25
25
|
"repository": {
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"url": "https://github.com/TiendaNube/nimbus-design-system/issues"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@nimbus-ds/badge": "^3.1.
|
|
34
|
-
"@nimbus-ds/box": "^4.3.
|
|
35
|
-
"@nimbus-ds/icon": "^3.
|
|
36
|
-
"@nimbus-ds/icons": "^1.
|
|
37
|
-
"@nimbus-ds/skeleton": "^3.0.
|
|
38
|
-
"@nimbus-ds/webpack": "^1.7.
|
|
33
|
+
"@nimbus-ds/badge": "^3.1.3",
|
|
34
|
+
"@nimbus-ds/box": "^4.3.3",
|
|
35
|
+
"@nimbus-ds/icon": "^3.3.1",
|
|
36
|
+
"@nimbus-ds/icons": "^1.15.1",
|
|
37
|
+
"@nimbus-ds/skeleton": "^3.0.2",
|
|
38
|
+
"@nimbus-ds/webpack": "^1.7.1"
|
|
39
39
|
}
|
|
40
40
|
}
|