From 818b899f9dd8f93c93168550ba08976888927f77 Mon Sep 17 00:00:00 2001 From: advaith Date: Mon, 9 Mar 2026 04:19:42 -0700 Subject: [PATCH] feat: mark new modal components as stable (#1556) --- deno/payloads/v10/message.ts | 10 ---------- deno/payloads/v9/message.ts | 9 --------- payloads/v10/message.ts | 10 ---------- payloads/v9/message.ts | 9 --------- 4 files changed, 38 deletions(-) diff --git a/deno/payloads/v10/message.ts b/deno/payloads/v10/message.ts index 3a8189bb..6e87ac30 100644 --- a/deno/payloads/v10/message.ts +++ b/deno/payloads/v10/message.ts @@ -1036,20 +1036,14 @@ export enum ComponentType { FileUpload, /** * Single-choice set of radio group option - * - * @unstable This component is not publicly released and is currently in preview. */ RadioGroup = 21, /** * Multi-select group of checkboxes - * - * @unstable This component is not publicly released and is currently in preview. */ CheckboxGroup, /** * Single checkbox for binary choice - * - * @unstable This component is not publicly released and is currently in preview. */ Checkbox, // EVERYTHING BELOW THIS LINE SHOULD BE OLD NAMES FOR RENAMED ENUM MEMBERS // @@ -1717,7 +1711,6 @@ export interface APIFileUploadComponent extends APIBaseComponent { /** @@ -1738,7 +1731,6 @@ export interface APIRadioGroupComponent extends APIBaseComponent { /** @@ -1821,7 +1812,6 @@ export interface APICheckboxGroupOption { /** * @see {@link https://discord.com/developers/docs/components/reference#checkbox} - * @unstable This component is not publicly released and is currently in preview. */ export interface APICheckboxComponent extends APIBaseComponent { /** diff --git a/deno/payloads/v9/message.ts b/deno/payloads/v9/message.ts index dbbe083a..300bd75f 100644 --- a/deno/payloads/v9/message.ts +++ b/deno/payloads/v9/message.ts @@ -1031,20 +1031,14 @@ export enum ComponentType { FileUpload, /** * Single-choice set of radio group option - * - * @unstable This component is not publicly released and is currently in preview. */ RadioGroup = 21, /** * Multi-select group of checkboxes - * - * @unstable This component is not publicly released and is currently in preview. */ CheckboxGroup, /** * Single checkbox for binary choice - * - * @unstable This component is not publicly released and is currently in preview. */ Checkbox, // EVERYTHING BELOW THIS LINE SHOULD BE OLD NAMES FOR RENAMED ENUM MEMBERS // @@ -1712,7 +1706,6 @@ export interface APIFileUploadComponent extends APIBaseComponent { /** @@ -1758,7 +1751,6 @@ export interface APIRadioGroupOption { /** * @see {@link https://discord.com/developers/docs/components/reference#checkbox-group} - * @unstable This component is not publicly released and is currently in preview. */ export interface APICheckboxGroupComponent extends APIBaseComponent { /** @@ -1816,7 +1808,6 @@ export interface APICheckboxGroupOption { /** * @see {@link https://discord.com/developers/docs/components/reference#checkbox} - * @unstable This component is not publicly released and is currently in preview. */ export interface APICheckboxComponent extends APIBaseComponent { /** diff --git a/payloads/v10/message.ts b/payloads/v10/message.ts index dff2ad34..06949f4e 100644 --- a/payloads/v10/message.ts +++ b/payloads/v10/message.ts @@ -1036,20 +1036,14 @@ export enum ComponentType { FileUpload, /** * Single-choice set of radio group option - * - * @unstable This component is not publicly released and is currently in preview. */ RadioGroup = 21, /** * Multi-select group of checkboxes - * - * @unstable This component is not publicly released and is currently in preview. */ CheckboxGroup, /** * Single checkbox for binary choice - * - * @unstable This component is not publicly released and is currently in preview. */ Checkbox, // EVERYTHING BELOW THIS LINE SHOULD BE OLD NAMES FOR RENAMED ENUM MEMBERS // @@ -1717,7 +1711,6 @@ export interface APIFileUploadComponent extends APIBaseComponent { /** @@ -1738,7 +1731,6 @@ export interface APIRadioGroupComponent extends APIBaseComponent { /** @@ -1821,7 +1812,6 @@ export interface APICheckboxGroupOption { /** * @see {@link https://discord.com/developers/docs/components/reference#checkbox} - * @unstable This component is not publicly released and is currently in preview. */ export interface APICheckboxComponent extends APIBaseComponent { /** diff --git a/payloads/v9/message.ts b/payloads/v9/message.ts index c5463d22..abbd8857 100644 --- a/payloads/v9/message.ts +++ b/payloads/v9/message.ts @@ -1031,20 +1031,14 @@ export enum ComponentType { FileUpload, /** * Single-choice set of radio group option - * - * @unstable This component is not publicly released and is currently in preview. */ RadioGroup = 21, /** * Multi-select group of checkboxes - * - * @unstable This component is not publicly released and is currently in preview. */ CheckboxGroup, /** * Single checkbox for binary choice - * - * @unstable This component is not publicly released and is currently in preview. */ Checkbox, // EVERYTHING BELOW THIS LINE SHOULD BE OLD NAMES FOR RENAMED ENUM MEMBERS // @@ -1712,7 +1706,6 @@ export interface APIFileUploadComponent extends APIBaseComponent { /** @@ -1758,7 +1751,6 @@ export interface APIRadioGroupOption { /** * @see {@link https://discord.com/developers/docs/components/reference#checkbox-group} - * @unstable This component is not publicly released and is currently in preview. */ export interface APICheckboxGroupComponent extends APIBaseComponent { /** @@ -1816,7 +1808,6 @@ export interface APICheckboxGroupOption { /** * @see {@link https://discord.com/developers/docs/components/reference#checkbox} - * @unstable This component is not publicly released and is currently in preview. */ export interface APICheckboxComponent extends APIBaseComponent { /**