@spark-ui/button 2.3.1 → 2.4.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 +10 -0
- package/dist/Button.d.ts +3 -0
- package/dist/public/docgen.json +3 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,16 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [2.4.1](https://github.com/adevinta/spark/compare/@spark-ui/button@2.4.0...@spark-ui/button@2.4.1) (2023-12-05)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @spark-ui/button
|
9
|
+
|
10
|
+
# [2.4.0](https://github.com/adevinta/spark/compare/@spark-ui/button@2.3.1...@spark-ui/button@2.4.0) (2023-10-06)
|
11
|
+
|
12
|
+
### Features
|
13
|
+
|
14
|
+
- **button:** toggle button example ([eb96a7a](https://github.com/adevinta/spark/commit/eb96a7a95f749794724dca8f661159c74ecddbe8))
|
15
|
+
|
6
16
|
## [2.3.1](https://github.com/adevinta/spark/compare/@spark-ui/button@2.3.0...@spark-ui/button@2.3.1) (2023-10-03)
|
7
17
|
|
8
18
|
### Bug Fixes
|
package/dist/Button.d.ts
CHANGED
@@ -18,6 +18,9 @@ export interface ButtonProps extends Omit<ComponentPropsWithoutRef<'button'>, 'd
|
|
18
18
|
* **Please note that using this can result in layout shifting when the Button goes from loading state to normal state.**
|
19
19
|
*/
|
20
20
|
loadingText?: string;
|
21
|
+
/**
|
22
|
+
* Placement for the spinner.
|
23
|
+
*/
|
21
24
|
spinnerPlacement?: 'left' | 'right';
|
22
25
|
}
|
23
26
|
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
package/dist/public/docgen.json
CHANGED
@@ -87,7 +87,7 @@
|
|
87
87
|
"defaultValue": {
|
88
88
|
"value": "left"
|
89
89
|
},
|
90
|
-
"description": "",
|
90
|
+
"description": "Placement for the spinner.",
|
91
91
|
"name": "spinnerPlacement",
|
92
92
|
"parent": {
|
93
93
|
"fileName": "button/src/Button.tsx",
|
@@ -204,7 +204,7 @@
|
|
204
204
|
"defaultValue": {
|
205
205
|
"value": "rounded"
|
206
206
|
},
|
207
|
-
"description": "",
|
207
|
+
"description": "Shape of the button.",
|
208
208
|
"name": "shape",
|
209
209
|
"declarations": [],
|
210
210
|
"required": false,
|
@@ -228,7 +228,7 @@
|
|
228
228
|
"defaultValue": {
|
229
229
|
"value": "md"
|
230
230
|
},
|
231
|
-
"description": "",
|
231
|
+
"description": "Size of the button.",
|
232
232
|
"name": "size",
|
233
233
|
"declarations": [],
|
234
234
|
"required": false,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spark-ui/button",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.4.1",
|
4
4
|
"description": "Button component is used to trigger an action or event, such as submitting a form, opening a Dialog, canceling an action, or performing a delete operation.",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"dependencies": {
|
26
26
|
"@spark-ui/internal-utils": "^2.2.0",
|
27
27
|
"@spark-ui/slot": "^1.7.0",
|
28
|
-
"@spark-ui/spinner": "^2.2.
|
28
|
+
"@spark-ui/spinner": "^2.2.1",
|
29
29
|
"class-variance-authority": "0.7.0"
|
30
30
|
},
|
31
31
|
"peerDependencies": {
|
@@ -48,5 +48,5 @@
|
|
48
48
|
},
|
49
49
|
"homepage": "https://sparkui.vercel.app",
|
50
50
|
"license": "MIT",
|
51
|
-
"gitHead": "
|
51
|
+
"gitHead": "e2fd654d551c09971906b3b0036f9a385369bb7a"
|
52
52
|
}
|