@raycast/api 1.30.3 → 1.32.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.
Files changed (81) hide show
  1. package/README.md +2 -2
  2. package/bin/arm64/ray +0 -0
  3. package/bin/ray +10 -4
  4. package/bin/x86/ray +0 -0
  5. package/package.json +2 -2
  6. package/types/index.d.ts +5192 -4098
  7. package/types/api/app/app.d.ts +0 -171
  8. package/types/api/app/clipboard.d.ts +0 -63
  9. package/types/api/app/index.d.ts +0 -4
  10. package/types/api/app/keyboard.d.ts +0 -56
  11. package/types/api/app/localStorage.d.ts +0 -117
  12. package/types/api/components/ActionPanel.d.ts +0 -261
  13. package/types/api/components/Detail.d.ts +0 -38
  14. package/types/api/components/Form.d.ts +0 -1016
  15. package/types/api/components/List.d.ts +0 -579
  16. package/types/api/components/actions/Action.d.ts +0 -458
  17. package/types/api/components/actions/CopyToClipboardAction.d.ts +0 -40
  18. package/types/api/components/actions/CreateQuicklinkAction.d.ts +0 -42
  19. package/types/api/components/actions/CreateSnippetAction.d.ts +0 -40
  20. package/types/api/components/actions/OpenAction.d.ts +0 -47
  21. package/types/api/components/actions/OpenInBrowserAction.d.ts +0 -43
  22. package/types/api/components/actions/OpenWithAction.d.ts +0 -40
  23. package/types/api/components/actions/PasteAction.d.ts +0 -40
  24. package/types/api/components/actions/PushAction.d.ts +0 -38
  25. package/types/api/components/actions/ShowInFinderAction.d.ts +0 -42
  26. package/types/api/components/actions/SubmitFormAction.d.ts +0 -35
  27. package/types/api/components/actions/TrashAction.d.ts +0 -43
  28. package/types/api/components/actions/index.d.ts +0 -1
  29. package/types/api/components/index.d.ts +0 -5
  30. package/types/api/components/propTypes.d.ts +0 -1
  31. package/types/api/components/types.d.ts +0 -30
  32. package/types/api/deprecated.d.ts +0 -415
  33. package/types/api/environment/environment.d.ts +0 -48
  34. package/types/api/environment/index.d.ts +0 -3
  35. package/types/api/environment/preferences.d.ts +0 -31
  36. package/types/api/environment/workspace.d.ts +0 -62
  37. package/types/api/hooks/index.d.ts +0 -1
  38. package/types/api/hooks/useNavigation.d.ts +0 -66
  39. package/types/api/index.d.ts +0 -6
  40. package/types/api/internal/comm/index.d.ts +0 -1
  41. package/types/api/internal/components/ErrorBoundary.d.ts +0 -1
  42. package/types/api/internal/components/Navigation.d.ts +0 -1
  43. package/types/api/internal/components/Root.d.ts +0 -1
  44. package/types/api/internal/components/index.d.ts +0 -3
  45. package/types/api/internal/devtools/actionPanel.d.ts +0 -1
  46. package/types/api/internal/devtools/index.d.ts +0 -2
  47. package/types/api/internal/devtools/react.d.ts +0 -1
  48. package/types/api/internal/hooks/index.d.ts +0 -1
  49. package/types/api/internal/hooks/useId.d.ts +0 -1
  50. package/types/api/internal/index.d.ts +0 -6
  51. package/types/api/internal/rendering/callbacks.d.ts +0 -1
  52. package/types/api/internal/rendering/index.d.ts +0 -6
  53. package/types/api/internal/rendering/logger.d.ts +0 -4
  54. package/types/api/internal/rendering/node-builders/actions.d.ts +0 -3
  55. package/types/api/internal/rendering/node-builders/detail.d.ts +0 -2
  56. package/types/api/internal/rendering/node-builders/forms.d.ts +0 -2
  57. package/types/api/internal/rendering/node-builders/keyboard.d.ts +0 -1
  58. package/types/api/internal/rendering/node-builders/list.d.ts +0 -4
  59. package/types/api/internal/rendering/node-builders/navigationStack.d.ts +0 -1
  60. package/types/api/internal/rendering/node-builders/root.d.ts +0 -1
  61. package/types/api/internal/rendering/node-builders/types.d.ts +0 -1
  62. package/types/api/internal/rendering/node-builders/utils.d.ts +0 -1
  63. package/types/api/internal/rendering/reconciler/index.d.ts +0 -1
  64. package/types/api/internal/rendering/reconciler/noHydratation.d.ts +0 -37
  65. package/types/api/internal/rendering/reconciler/noMutation.d.ts +0 -18
  66. package/types/api/internal/rendering/renderer.d.ts +0 -1
  67. package/types/api/internal/utils/ids.d.ts +0 -1
  68. package/types/api/internal/utils/index.d.ts +0 -3
  69. package/types/api/internal/utils/internal-children.d.ts +0 -26
  70. package/types/api/internal/utils/propTypes.d.ts +0 -3
  71. package/types/api/ui/color.d.ts +0 -115
  72. package/types/api/ui/errors.d.ts +0 -1
  73. package/types/api/ui/feedback/alert.d.ts +0 -97
  74. package/types/api/ui/feedback/hud.d.ts +0 -16
  75. package/types/api/ui/feedback/index.d.ts +0 -3
  76. package/types/api/ui/feedback/toast.d.ts +0 -174
  77. package/types/api/ui/icon.d.ts +0 -88
  78. package/types/api/ui/image.d.ts +0 -162
  79. package/types/api/ui/index.d.ts +0 -5
  80. package/types/core/message-types.d.ts +0 -17
  81. package/types/core/preferences.d.ts +0 -69
@@ -1,38 +0,0 @@
1
- import { ReactElement } from "react";
2
- import { ActionsInterface, NavigationChildInterface } from "./types";
3
- import PropTypes from "prop-types";
4
- /**
5
- * Renders a markdown (CommonMark) string.
6
- *
7
- * @remarks
8
- * Typically used as a standalone view or when navigating from a {@link List}.
9
- *
10
- * @example
11
- * ```typescript
12
- * import { Detail } from "@raycast/api";
13
- *
14
- * export default function Command() {
15
- * return <Detail markdown="**Hello** _World_!" />;
16
- * }
17
- * ```
18
- */
19
- export declare function Detail(props: Detail.Props): ReactElement<Detail.Props>;
20
- export declare namespace Detail {
21
- var propTypes: {
22
- navigationTitle: PropTypes.Requireable<string>;
23
- isLoading: PropTypes.Requireable<boolean>;
24
- markdown: PropTypes.Requireable<string>;
25
- };
26
- var displayName: string;
27
- }
28
- export declare namespace Detail {
29
- /**
30
- * Props of the {@link Detail} React component.
31
- */
32
- interface Props extends ActionsInterface, NavigationChildInterface {
33
- /**
34
- * The CommonMark string to be rendered.
35
- */
36
- markdown?: string | null;
37
- }
38
- }