@raycast/api 1.25.3 → 1.25.7

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/bin/arm64/ray CHANGED
Binary file
package/bin/x86/ray CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raycast/api",
3
- "version": "1.25.3",
3
+ "version": "1.25.7",
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",
package/types/index.d.ts CHANGED
@@ -697,7 +697,7 @@ export namespace ActionPanelItem {
697
697
  export interface ActionPanelSubmenuProps {
698
698
  /**
699
699
  * ID of the submenu.
700
- * Make sure to assign each section a unique ID or a UUID will be auto-generated.
700
+ * Make sure to assign each submenu a unique ID or a UUID will be auto-generated.
701
701
  */
702
702
  id?: string;
703
703
  /**
@@ -900,7 +900,13 @@ export type FormValue = string | number | boolean | string[] | number[] | Date |
900
900
  * }
901
901
  *
902
902
  * return (
903
- * <Form onSubmit={handleSubmit}>
903
+ * <Form
904
+ * actions={
905
+ * <ActionPanel>
906
+ * <SubmitFormAction title="Submit" onSubmit={handleSubmit} />
907
+ * </ActionPanel>
908
+ * }
909
+ * >
904
910
  * <Form.TextField id="todo" title="Todo" />
905
911
  * <Form.DatePicker id="due" title="Due Date" />
906
912
  * </Form>
@@ -941,7 +947,6 @@ export namespace Form {
941
947
  submitTitle: PropTypes.Requireable<string>;
942
948
  navigationTitle: PropTypes.Requireable<string>;
943
949
  isLoading: PropTypes.Requireable<boolean>;
944
- onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
945
950
  };
946
951
  var displayName: string;
947
952
  var TextField: typeof FormTextField;
@@ -1798,8 +1803,7 @@ export interface ListItemProps extends ActionsInterface {
1798
1803
  */
1799
1804
  subtitle?: string;
1800
1805
  /**
1801
- * An additional icon displayed for the item.
1802
- * See {@link ImageLike} for the supported formats and types.
1806
+ * An additional title displayed for the item.
1803
1807
  */
1804
1808
  accessoryTitle?: string;
1805
1809
  /**
@@ -2613,14 +2617,6 @@ export interface Environment {
2613
2617
  assetsPath: string;
2614
2618
  /**
2615
2619
  * The absolute path for the support directory of an extension. Use it to read and write files related to your extension or command.
2616
- *
2617
- * @remarks
2618
- * The directory at this path might not physically exist already. Use Node's `fs` module to make sure this directory exists before using it.
2619
- *
2620
- * @example
2621
- * ```typescript
2622
- * fs.mkdirSync(ray.environment.supportPath, { recursive: true });
2623
- * ```
2624
2620
  */
2625
2621
  supportPath: string;
2626
2622
  /**