@raycast/api 1.76.0 → 1.77.0
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/package.json +5 -5
- package/types/index.d.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raycast/api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.77.0",
|
|
4
4
|
"description": "Build extensions for Raycast with React and Node.js.",
|
|
5
5
|
"author": "Raycast Technologies Ltd.",
|
|
6
6
|
"homepage": "https://developers.raycast.com",
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"types": "types/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@types/node": "^20.8.10",
|
|
14
|
-
"@types/react": "^18.
|
|
15
|
-
"react": "18.
|
|
14
|
+
"@types/react": "^18.3.3",
|
|
15
|
+
"react": "18.3.1"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"@types/node": "20.8.10",
|
|
19
|
-
"@types/react": "18.
|
|
20
|
-
"react-devtools": "
|
|
19
|
+
"@types/react": "18.3.3",
|
|
20
|
+
"react-devtools": "5.2.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependenciesMeta": {
|
|
23
23
|
"@types/node": {
|
package/types/index.d.ts
CHANGED
|
@@ -8017,6 +8017,16 @@ declare interface LabelProps {
|
|
|
8017
8017
|
* The keyboard shortcut for the Action.
|
|
8018
8018
|
*/
|
|
8019
8019
|
shortcut?: Keyboard.Shortcut;
|
|
8020
|
+
/**
|
|
8021
|
+
* Defines the visual style of the Action.
|
|
8022
|
+
*
|
|
8023
|
+
* @remarks
|
|
8024
|
+
* Use {@link Action.Style.Regular} for displaying a regular actions.
|
|
8025
|
+
* Use {@link Action.Style.Destructive} when your action has something that user should be careful about.
|
|
8026
|
+
* Use the confirmation {@link Alert} if the action is doing something that user cannot revert.
|
|
8027
|
+
* @defaultValue {@link Action.Style.Regular}
|
|
8028
|
+
*/
|
|
8029
|
+
style?: Action.Style;
|
|
8020
8030
|
/**
|
|
8021
8031
|
* Callback when the Form was submitted.
|
|
8022
8032
|
* The handler receives a the values object containing the user input.
|