@raycast/api 2.0.6 → 2.1.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.
@@ -1 +1 @@
1
- "use strict";var O=Object.create;var y=Object.defineProperty;var M=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var S=Object.getPrototypeOf,U=Object.prototype.hasOwnProperty;var v=(t,n)=>()=>{try{return n||t((n={exports:{}}).exports,n),n.exports}catch(o){throw n=0,o}},_=(t,n)=>{for(var o in n)y(t,o,{get:n[o],enumerable:!0})},I=(t,n,o,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of L(n))!U.call(t,i)&&i!==o&&y(t,i,{get:()=>n[i],enumerable:!(a=M(n,i))||a.enumerable});return t};var h=(t,n,o)=>(o=t!=null?O(S(t)):{},I(n||!t||!t.__esModule?y(o,"default",{value:t,enumerable:!0}):o,t)),Y=t=>I(y({},"__esModule",{value:!0}),t);var k=v((ne,A)=>{var J=require("node:tty"),K=J?.WriteStream?.prototype?.hasColors?.()??!1,r=(t,n)=>{if(!K)return i=>i;let o=`\x1B[${t}m`,a=`\x1B[${n}m`;return i=>{let u=i+"",f=u.indexOf(a);if(f===-1)return o+u+a;let T=o,m=0,G=(n===22?a:"")+o;for(;f!==-1;)T+=u.slice(m,f)+G,m=f+a.length,f=u.indexOf(a,m);return T+=u.slice(m)+a,T}},e={};e.reset=r(0,0);e.bold=r(1,22);e.dim=r(2,22);e.italic=r(3,23);e.underline=r(4,24);e.overline=r(53,55);e.inverse=r(7,27);e.hidden=r(8,28);e.strikethrough=r(9,29);e.black=r(30,39);e.red=r(31,39);e.green=r(32,39);e.yellow=r(33,39);e.blue=r(34,39);e.magenta=r(35,39);e.cyan=r(36,39);e.white=r(37,39);e.gray=r(90,39);e.bgBlack=r(40,49);e.bgRed=r(41,49);e.bgGreen=r(42,49);e.bgYellow=r(43,49);e.bgBlue=r(44,49);e.bgMagenta=r(45,49);e.bgCyan=r(46,49);e.bgWhite=r(47,49);e.bgGray=r(100,49);e.redBright=r(91,39);e.greenBright=r(92,39);e.yellowBright=r(93,39);e.blueBright=r(94,39);e.magentaBright=r(95,39);e.cyanBright=r(96,39);e.whiteBright=r(97,39);e.bgRedBright=r(101,49);e.bgGreenBright=r(102,49);e.bgYellowBright=r(103,49);e.bgBlueBright=r(104,49);e.bgMagentaBright=r(105,49);e.bgCyanBright=r(106,49);e.bgWhiteBright=r(107,49);A.exports=e});var F=v((xe,Q)=>{Q.exports={name:"ray",version:"2.0.6",private:!0,description:"Build extensions for Raycast with React and Node.js.",license:"MIT",author:"mathieudutour",bin:{ray:"./bin/run.js"},files:["/bin","/dist","/oclif.manifest.json"],main:"dist/index.js",types:"dist/index.d.ts",scripts:{"json-schema-to-ts":"json2ts ../../schema.json -y > src/types/manifest-schema.d.ts","build-scripts":"tsc --outDir ./scripts/dist --project ./tsconfig.scripts.json",prebuild:"pnpm json-schema-to-ts && pnpm run build-scripts",build:"node ./scripts/dist/build-command.js",predev:"pnpm run json-schema-to-ts && pnpm run build-scripts",dev:"node ./scripts/dist/dev-command.js",lint:"eslint . --ext .ts",test:"node --experimental-strip-types --test"},dependencies:{"@oclif/core":"^4.11.4","@oclif/plugin-autocomplete":"^3.2.50","@oclif/plugin-help":"^6.2.50","@oclif/plugin-not-found":"^3.2.87","@raycast/eslint-plugin":"^2.1.1",ajv:"catalog:",archiver:"catalog:",camelcase:"^8.0.0",chalk:"^5.6.2",chokidar:"catalog:","cli-progress":"^3.12.0",clipboardy:"^2.3.0",execa:"^9.6.1","json-source-map":"^0.6.1",json5:"^2.2.3","node-fetch-cjs":"^3.3.2",open:"^8.4.2",ora:"^8.2.0",tail:"^2.2.6","terminal-link":"^3.0.0",yaml:"catalog:","yoctocolors-cjs":"^2.1.3"},devDependencies:{"@types/archiver":"catalog:","@types/cli-progress":"^3.11.6","@types/node":"catalog:","@types/tail":"^2.2.3",esbuild:"^0.28.0",eslint:"catalog:","eslint-config":"workspace:*","eslint-formatter-unix":"catalog:","eslint-plugin-n":"catalog:","eslint-plugin-no-process-platform":"workspace:*",globals:"catalog:","json-schema-to-typescript":"^15.0.4",oclif:"^4.23.10","@raycast/tsc-native":"workspace:*"},oclif:{bin:"ray",commands:"./dist/commands",dirname:"ray",plugins:["@oclif/plugin-autocomplete","@oclif/plugin-help","@oclif/plugin-not-found"]}}});var ee={};_(ee,{default:()=>x});module.exports=Y(ee);var l=require("@oclif/core");var s=h(k()),p={wait:`\u{1F550}${(0,s.blue)("wait")} - `,info:`${process.env.GITHUB_ACTIONS==="true"?"\u2139\uFE0F":"\u2139\uFE0F "}${(0,s.cyan)("info")} - `,success:`\u2705${(0,s.green)("ready")} - `,warn:`${process.env.GITHUB_ACTIONS==="true"?"\u26A0\uFE0F":"\u26A0\uFE0F "}${(0,s.yellow)("warn")} - `,error:`\u{1F4A5}${(0,s.red)("error")} - `,event:`\u26A1\uFE0F${(0,s.magenta)("event")} - `,paymentPrompt:`\u{1F4B0}${(0,s.yellowBright)("plan")} - `},q=!0,se=(0,s.blue)((0,s.dim)("internal only"));function N(t,n){t||(p.wait=`${(0,s.blue)("wait")} - `,p.info=`${(0,s.cyan)("info")} - `,p.success=`${(0,s.green)("ready")} - `,p.warn=`${(0,s.yellow)("warn")} - `,p.error=`${(0,s.red)("error")} - `,p.event=`${(0,s.magenta)("event")} - `,p.paymentPrompt=`${(0,s.yellowBright)("plan")} - `),n&&(q=!1)}var d={development:"development",internal:"internal",release:"release"},P=Object.values(d),H={debug:"development",x:"","x-development":"development","x-internal":"internal"};function R(t){return H[t]??t}function C(t){return t===d.release?"":t}var g=h(require("node:fs")),$=h(require("node:os")),w=h(require("node:path"));var D={production:{url:"https://www.raycast.com",clientID:"KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I"},staging:{url:"https://www.rayca.st",clientID:"KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I"},development:{url:"http://localhost:3000",clientID:"rOCD_LhnXFObSLu9v7788qOGu25FZDqEzGjet4Q45ZY"}}[process.env.API_ENV||"production"],V="e69bae0ec90f5e838555",c={},j;function B(t){j=t;try{c=JSON.parse(g.readFileSync(w.join(Z(),"config.json"),"utf8"))}catch(n){if(!(n instanceof Error)||n.code!=="ENOENT")throw new Error(`Failed to read config file: ${n}`)}}function z(t){switch(t){case"raycastApiURL":return process.env.RAY_APIURL||c.APIURL||D.url;case"raycastAccessToken":return process.env.RAY_TOKEN||c.Token||c.AccessToken||"";case"raycastClientId":return process.env.RAY_CLIENT_ID||c.ClientID||D.clientID;case"githubClientId":return process.env.RAY_GithubClientID||c.GithubClientID||V;case"githubAccessToken":return process.env.GITHUB_ACCESS_TOKEN||c.GithubAccessToken||"";case"flavorName":return process.env.RAY_Target?process.env.RAY_Target:typeof c.Target<"u"?c.Target:E(d.release)}}function E(t){return typeof t<"u"?C(t):R(z("flavorName"))}function W(t){return t==""?"raycast":`raycast-${t}`}function X(t){let n=w.join($.default.homedir(),".config",W(t));return g.mkdirSync(n,{recursive:!0}),n}function Z(){return X(E(j))}var b=class extends l.Command{static baseFlags={"exit-on-error":l.Flags.boolean({default:!0,helpGroup:"GLOBAL",aliases:["exitOnError"],deprecateAliases:!0,summary:"Always exit with non-zero code on error",allowNo:!0}),emoji:l.Flags.boolean({default:!1,helpGroup:"GLOBAL",summary:"Prefix output with emojis \u{1F308}"}),help:l.Flags.boolean({default:!1,helpGroup:"GLOBAL",summary:"Show the help message for the command"}),"non-interactive":l.Flags.boolean({char:"I",default:!1,helpGroup:"GLOBAL",summary:"Disable interactive outputs, useful for CI"}),target:l.Flags.option({char:"t",description:"Raycast app target",helpGroup:"GLOBAL",multiple:!1,options:[...P],hidden:!0})()};flags;args;async init(){await super.init(),process.on("SIGINT",()=>process.exit(1));let{args:n,flags:o}=await this.parse({flags:this.ctor.flags,baseFlags:super.ctor.baseFlags,enableJsonFlag:this.ctor.enableJsonFlag,args:this.ctor.args,strict:this.ctor.strict});this.flags=o,this.args=n,B(this.flags.target),N(this.flags.emoji,this.flags["non-interactive"])}error(n,o){return o?.message&&n instanceof Error&&(n.message=`${o.message} (${n.message})`,delete o.message),super.error(n,o)}async catch(n){return super.catch(n)}async finally(n){return super.finally(n)}};var x=class t extends b{static description="Print the version number";async run(){await this.parse(t),this.log(`${F().version}`)}};
1
+ "use strict";var O=Object.create;var y=Object.defineProperty;var M=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var S=Object.getPrototypeOf,U=Object.prototype.hasOwnProperty;var v=(t,n)=>()=>{try{return n||t((n={exports:{}}).exports,n),n.exports}catch(o){throw n=0,o}},_=(t,n)=>{for(var o in n)y(t,o,{get:n[o],enumerable:!0})},I=(t,n,o,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of L(n))!U.call(t,i)&&i!==o&&y(t,i,{get:()=>n[i],enumerable:!(a=M(n,i))||a.enumerable});return t};var h=(t,n,o)=>(o=t!=null?O(S(t)):{},I(n||!t||!t.__esModule?y(o,"default",{value:t,enumerable:!0}):o,t)),Y=t=>I(y({},"__esModule",{value:!0}),t);var k=v((ne,A)=>{var J=require("node:tty"),K=J?.WriteStream?.prototype?.hasColors?.()??!1,r=(t,n)=>{if(!K)return i=>i;let o=`\x1B[${t}m`,a=`\x1B[${n}m`;return i=>{let u=i+"",f=u.indexOf(a);if(f===-1)return o+u+a;let T=o,m=0,G=(n===22?a:"")+o;for(;f!==-1;)T+=u.slice(m,f)+G,m=f+a.length,f=u.indexOf(a,m);return T+=u.slice(m)+a,T}},e={};e.reset=r(0,0);e.bold=r(1,22);e.dim=r(2,22);e.italic=r(3,23);e.underline=r(4,24);e.overline=r(53,55);e.inverse=r(7,27);e.hidden=r(8,28);e.strikethrough=r(9,29);e.black=r(30,39);e.red=r(31,39);e.green=r(32,39);e.yellow=r(33,39);e.blue=r(34,39);e.magenta=r(35,39);e.cyan=r(36,39);e.white=r(37,39);e.gray=r(90,39);e.bgBlack=r(40,49);e.bgRed=r(41,49);e.bgGreen=r(42,49);e.bgYellow=r(43,49);e.bgBlue=r(44,49);e.bgMagenta=r(45,49);e.bgCyan=r(46,49);e.bgWhite=r(47,49);e.bgGray=r(100,49);e.redBright=r(91,39);e.greenBright=r(92,39);e.yellowBright=r(93,39);e.blueBright=r(94,39);e.magentaBright=r(95,39);e.cyanBright=r(96,39);e.whiteBright=r(97,39);e.bgRedBright=r(101,49);e.bgGreenBright=r(102,49);e.bgYellowBright=r(103,49);e.bgBlueBright=r(104,49);e.bgMagentaBright=r(105,49);e.bgCyanBright=r(106,49);e.bgWhiteBright=r(107,49);A.exports=e});var F=v((xe,Q)=>{Q.exports={name:"ray",version:"2.1.1",private:!0,description:"Build extensions for Raycast with React and Node.js.",license:"MIT",author:"mathieudutour",bin:{ray:"./bin/run.js"},files:["/bin","/dist","/oclif.manifest.json"],main:"dist/index.js",types:"dist/index.d.ts",scripts:{"json-schema-to-ts":"json2ts ../../schema.json -y > src/types/manifest-schema.d.ts","build-scripts":"tsc --outDir ./scripts/dist --project ./tsconfig.scripts.json",prebuild:"pnpm json-schema-to-ts && pnpm run build-scripts",build:"node ./scripts/dist/build-command.js",predev:"pnpm run json-schema-to-ts && pnpm run build-scripts",dev:"node ./scripts/dist/dev-command.js",lint:"eslint . --ext .ts",test:"node --experimental-strip-types --test"},dependencies:{"@oclif/core":"^4.11.4","@oclif/plugin-autocomplete":"^3.2.50","@oclif/plugin-help":"^6.2.50","@oclif/plugin-not-found":"^3.2.87","@raycast/eslint-plugin":"^2.1.1",ajv:"catalog:",archiver:"catalog:",camelcase:"^8.0.0",chalk:"^5.6.2",chokidar:"catalog:","cli-progress":"^3.12.0",clipboardy:"^2.3.0",execa:"^9.6.1","json-source-map":"^0.6.1",json5:"^2.2.3","node-fetch-cjs":"^3.3.2",open:"^8.4.2",ora:"^8.2.0",tail:"^2.2.6","terminal-link":"^3.0.0",yaml:"catalog:","yoctocolors-cjs":"^2.1.3"},devDependencies:{"@types/archiver":"catalog:","@types/cli-progress":"^3.11.6","@types/node":"catalog:","@types/tail":"^2.2.3",esbuild:"^0.28.0",eslint:"catalog:","eslint-config":"workspace:*","eslint-formatter-unix":"catalog:","eslint-plugin-n":"catalog:","eslint-plugin-no-process-platform":"workspace:*",globals:"catalog:","json-schema-to-typescript":"^15.0.4",oclif:"^4.23.10","@raycast/tsc-native":"workspace:*"},oclif:{bin:"ray",commands:"./dist/commands",dirname:"ray",plugins:["@oclif/plugin-autocomplete","@oclif/plugin-help","@oclif/plugin-not-found"]}}});var ee={};_(ee,{default:()=>x});module.exports=Y(ee);var l=require("@oclif/core");var s=h(k()),p={wait:`\u{1F550}${(0,s.blue)("wait")} - `,info:`${process.env.GITHUB_ACTIONS==="true"?"\u2139\uFE0F":"\u2139\uFE0F "}${(0,s.cyan)("info")} - `,success:`\u2705${(0,s.green)("ready")} - `,warn:`${process.env.GITHUB_ACTIONS==="true"?"\u26A0\uFE0F":"\u26A0\uFE0F "}${(0,s.yellow)("warn")} - `,error:`\u{1F4A5}${(0,s.red)("error")} - `,event:`\u26A1\uFE0F${(0,s.magenta)("event")} - `,paymentPrompt:`\u{1F4B0}${(0,s.yellowBright)("plan")} - `},q=!0,se=(0,s.blue)((0,s.dim)("internal only"));function N(t,n){t||(p.wait=`${(0,s.blue)("wait")} - `,p.info=`${(0,s.cyan)("info")} - `,p.success=`${(0,s.green)("ready")} - `,p.warn=`${(0,s.yellow)("warn")} - `,p.error=`${(0,s.red)("error")} - `,p.event=`${(0,s.magenta)("event")} - `,p.paymentPrompt=`${(0,s.yellowBright)("plan")} - `),n&&(q=!1)}var d={development:"development",internal:"internal",release:"release"},P=Object.values(d),H={debug:"development",x:"","x-development":"development","x-internal":"internal"};function R(t){return H[t]??t}function C(t){return t===d.release?"":t}var g=h(require("node:fs")),$=h(require("node:os")),w=h(require("node:path"));var D={production:{url:"https://www.raycast.com",clientID:"KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I"},staging:{url:"https://www.rayca.st",clientID:"KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I"},development:{url:"http://localhost:3000",clientID:"rOCD_LhnXFObSLu9v7788qOGu25FZDqEzGjet4Q45ZY"}}[process.env.API_ENV||"production"],V="e69bae0ec90f5e838555",c={},j;function B(t){j=t;try{c=JSON.parse(g.readFileSync(w.join(Z(),"config.json"),"utf8"))}catch(n){if(!(n instanceof Error)||n.code!=="ENOENT")throw new Error(`Failed to read config file: ${n}`)}}function z(t){switch(t){case"raycastApiURL":return process.env.RAY_APIURL||c.APIURL||D.url;case"raycastAccessToken":return process.env.RAY_TOKEN||c.Token||c.AccessToken||"";case"raycastClientId":return process.env.RAY_CLIENT_ID||c.ClientID||D.clientID;case"githubClientId":return process.env.RAY_GithubClientID||c.GithubClientID||V;case"githubAccessToken":return process.env.GITHUB_ACCESS_TOKEN||c.GithubAccessToken||"";case"flavorName":return process.env.RAY_Target?process.env.RAY_Target:typeof c.Target<"u"?c.Target:E(d.release)}}function E(t){return typeof t<"u"?C(t):R(z("flavorName"))}function W(t){return t==""?"raycast":`raycast-${t}`}function X(t){let n=w.join($.default.homedir(),".config",W(t));return g.mkdirSync(n,{recursive:!0}),n}function Z(){return X(E(j))}var b=class extends l.Command{static baseFlags={"exit-on-error":l.Flags.boolean({default:!0,helpGroup:"GLOBAL",aliases:["exitOnError"],deprecateAliases:!0,summary:"Always exit with non-zero code on error",allowNo:!0}),emoji:l.Flags.boolean({default:!1,helpGroup:"GLOBAL",summary:"Prefix output with emojis \u{1F308}"}),help:l.Flags.boolean({default:!1,helpGroup:"GLOBAL",summary:"Show the help message for the command"}),"non-interactive":l.Flags.boolean({char:"I",default:!1,helpGroup:"GLOBAL",summary:"Disable interactive outputs, useful for CI"}),target:l.Flags.option({char:"t",description:"Raycast app target",helpGroup:"GLOBAL",multiple:!1,options:[...P],hidden:!0})()};flags;args;async init(){await super.init(),process.on("SIGINT",()=>process.exit(1));let{args:n,flags:o}=await this.parse({flags:this.ctor.flags,baseFlags:super.ctor.baseFlags,enableJsonFlag:this.ctor.enableJsonFlag,args:this.ctor.args,strict:this.ctor.strict});this.flags=o,this.args=n,B(this.flags.target),N(this.flags.emoji,this.flags["non-interactive"])}error(n,o){return o?.message&&n instanceof Error&&(n.message=`${o.message} (${n.message})`,delete o.message),super.error(n,o)}async catch(n){return super.catch(n)}async finally(n){return super.finally(n)}};var x=class t extends b{static description="Print the version number";async run(){await this.parse(t),this.log(`${F().version}`)}};
@@ -1105,5 +1105,5 @@
1105
1105
  ]
1106
1106
  }
1107
1107
  },
1108
- "version": "2.0.6"
1108
+ "version": "2.1.1"
1109
1109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raycast/api",
3
- "version": "2.0.6",
3
+ "version": "2.1.1",
4
4
  "description": "Build extensions for Raycast with React and Node.js.",
5
5
  "homepage": "https://developers.raycast.com",
6
6
  "license": "MIT",
package/types/index.d.ts CHANGED
@@ -727,7 +727,25 @@ export declare namespace AI {
727
727
  /** @deprecated Use `AI.Model["Groq_Qwen3-32B"]` instead */
728
728
  "Groq_Qwen3_32B" = "groq-qwen/qwen3-32b",
729
729
  /** @deprecated Use `AI.Model["OpenAI_GPT-5.4_mini"]` instead */
730
- "Groq_Qwen3_235B_A22B_Instruct_2507_tput" = "openai-gpt-5.4-mini"
730
+ "Groq_Qwen3_235B_A22B_Instruct_2507_tput" = "openai-gpt-5.4-mini",
731
+ /** @deprecated Use `AI.Model["Anthropic_Claude_Sonnet_4.6"]` instead */
732
+ "Anthropic_Claude_4.6_Sonnet" = "anthropic-claude-sonnet-4-6",
733
+ /** @deprecated Use `AI.Model["Anthropic_Claude_Opus_5"]` instead */
734
+ "Anthropic_Claude_4.5_Opus" = "anthropic-claude-opus-5",
735
+ /** @deprecated Use `AI.Model["Anthropic_Claude_Opus_5"]` instead */
736
+ "Anthropic_Claude_4.6_Opus" = "anthropic-claude-opus-5",
737
+ /** @deprecated Use `AI.Model["Anthropic_Claude_Opus_4.7"]` instead */
738
+ "Anthropic_Claude_4.7_Opus" = "anthropic-claude-opus-4-7",
739
+ /** @deprecated */
740
+ "Together_AI_Kimi_K2.5" = "together-moonshotai/Kimi-K2.5",
741
+ /** @deprecated Use `AI.Model["xAI_Grok-4.5"]` instead */
742
+ "xAI_Grok-4.1_Fast" = "xai-grok-4.5",
743
+ /** @deprecated Use `AI.Model["Google_Gemini_3.1_Pro"]` instead */
744
+ "Google_Gemini_3_Pro" = "google-gemini-3.1-pro",
745
+ /** @deprecated Use `AI.Model["OpenAI_GPT-5.3_Codex"]` instead */
746
+ "OpenAI_GPT-5_Codex" = "openai-gpt-5.3-codex",
747
+ /** @deprecated Use `AI.Model["Google_Gemini_3.1_Flash_Lite"]` instead */
748
+ "Google_Gemini_2.0_Flash_Lite" = "google-gemini-3.1-flash-lite"
731
749
  }
732
750
  }
733
751
 
@@ -813,14 +831,12 @@ export declare namespace Alert {
813
831
  * Use {@link Alert.ActionStyle.Destructive} for confirmations of a destructive action (eg. deleting a file).
814
832
  */
815
833
  const ActionStyle: typeof AlertActionStyle_2;
816
- /**
817
- * Defines the visual style of an Action of the Alert.
818
- *
819
- * @remarks
820
- * Use {@link Alert.ActionStyle.Default} for confirmations of a positive action.
821
- * Use {@link Alert.ActionStyle.Destructive} for confirmations of a destructive action (eg. deleting a file).
822
- */
823
834
  export type ActionStyle = AlertActionStyle_2;
835
+ export namespace ActionStyle {
836
+ export type Default = AlertActionStyle_2.Default;
837
+ export type Cancel = AlertActionStyle_2.Cancel;
838
+ export type Destructive = AlertActionStyle_2.Destructive;
839
+ }
824
840
  }
825
841
 
826
842
  /**
@@ -5240,27 +5256,7 @@ declare interface GridProps extends ActionsInterface, NavigationChildInterface,
5240
5256
  * };
5241
5257
  * ```
5242
5258
  */
5243
- export declare const Icon: typeof Icon_2;
5244
-
5245
- /**
5246
- * List of built-in icons that can be used for actions or list items.
5247
- *
5248
- * @example
5249
- * ```typescript
5250
- * import { Icon, List } from "@raycast/api";
5251
- *
5252
- * export default function Command() {
5253
- * return (
5254
- * <List>
5255
- * <List.Item title="Icon" icon={Icon.Circle} />
5256
- * </List>
5257
- * );
5258
- * };
5259
- * ```
5260
- */
5261
- export declare type Icon = Icon_2;
5262
-
5263
- declare enum Icon_2 {
5259
+ export declare enum Icon {
5264
5260
  AddPerson = "add-person-16",
5265
5261
  Airplane = "airplane-16",
5266
5262
  AirplaneFilled = "airplane-filled-16",
@@ -6446,7 +6442,7 @@ export declare namespace Keyboard {
6446
6442
  /**
6447
6443
  * @deprecated Use {@link Keyboard.Shortcut} instead
6448
6444
  */
6449
- export declare type KeyboardShortcutV1 = Keyboard.Shortcut;
6445
+ export declare type KeyboardShortcut = Keyboard.Shortcut;
6450
6446
 
6451
6447
  /**
6452
6448
  * @deprecated Use {@link Keyboard.KeyEquivalent} instead
@@ -7563,8 +7559,10 @@ declare interface LabelProps {
7563
7559
  export interface AuthorizationRequestURLParams {
7564
7560
  /**
7565
7561
  * The resolved OAuth `client_id` value.
7562
+ * Requests created by {@link OAuth.PKCEClient.authorizationRequest} always set it. It is optional so that the
7563
+ * parameter object stays constructible the way it was before client ID metadata documents were supported.
7566
7564
  */
7567
- clientId: string;
7565
+ clientId?: string;
7568
7566
  /**
7569
7567
  * The PKCE `code_challenge` value.
7570
7568
  */
@@ -7588,6 +7586,11 @@ declare interface LabelProps {
7588
7586
  * to extract parameters for constructing a custom URL in {@link OAuth.AuthorizationOptions}.
7589
7587
  */
7590
7588
  export interface AuthorizationRequest extends AuthorizationRequestURLParams {
7589
+ /**
7590
+ * The resolved OAuth `client_id` value: the one passed to {@link OAuth.PKCEClient.authorizationRequest},
7591
+ * or {@link OAuth.clientIdMetadataDocument} for clients using {@link OAuth.RedirectMethod.ClientIdMetadataDocument}.
7592
+ */
7593
+ clientId: string;
7591
7594
  /**
7592
7595
  * Constructs the full authorization URL.
7593
7596
  */
@@ -9090,15 +9093,12 @@ declare interface LabelProps {
9090
9093
  * You can hide it later by using {@link Toast.hide} or update the properties of an existing Toast.
9091
9094
  */
9092
9095
  const Style: typeof ToastStyle_2;
9093
- /**
9094
- * Defines the visual style of the Toast.
9095
- *
9096
- * @remarks
9097
- * Use {@link Toast.Style.Success} for confirmations and {@link Toast.Style.Failure} for displaying errors.
9098
- * Use {@link Toast.Style.Animated} when your Toast should be shown until a process is completed.
9099
- * You can hide it later by using {@link Toast.hide} or update the properties of an existing Toast.
9100
- */
9101
9096
  export type Style = ToastStyle_2;
9097
+ export namespace Style {
9098
+ export type Success = ToastStyle_2.Success;
9099
+ export type Failure = ToastStyle_2.Failure;
9100
+ export type Animated = ToastStyle_2.Animated;
9101
+ }
9102
9102
  }
9103
9103
 
9104
9104
  /**