From 9729ccf356c375d88f4cb21f6ec4c61734c28c21 Mon Sep 17 00:00:00 2001 From: Matt Driscoll Date: Mon, 30 Sep 2024 11:49:19 -0700 Subject: [PATCH] deprecate(checkbox, radio-button): deprecate 'guid' properties (#10445) **Related Issue:** #9110 ## Summary - deprecate guid properties --- .../calcite-components/src/components/checkbox/checkbox.tsx | 6 +++++- .../src/components/radio-button/radio-button.tsx | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/calcite-components/src/components/checkbox/checkbox.tsx b/packages/calcite-components/src/components/checkbox/checkbox.tsx index 61e8d21110e..95be6721bd9 100644 --- a/packages/calcite-components/src/components/checkbox/checkbox.tsx +++ b/packages/calcite-components/src/components/checkbox/checkbox.tsx @@ -62,7 +62,11 @@ export class Checkbox */ @Prop({ reflect: true }) form: string; - /** The `id` attribute of the component. When omitted, a globally unique identifier is used. */ + /** + * The `id` attribute of the component. When omitted, a globally unique identifier is used. + * + * @deprecated No longer necessary. + */ @Prop({ reflect: true, mutable: true }) guid: string; /** diff --git a/packages/calcite-components/src/components/radio-button/radio-button.tsx b/packages/calcite-components/src/components/radio-button/radio-button.tsx index 632fc2a7952..794d7bf7a74 100644 --- a/packages/calcite-components/src/components/radio-button/radio-button.tsx +++ b/packages/calcite-components/src/components/radio-button/radio-button.tsx @@ -96,7 +96,11 @@ export class RadioButton @Prop({ reflect: true }) form: string; - /** The `id` of the component. When omitted, a globally unique identifier is used. */ + /** + * The `id` of the component. When omitted, a globally unique identifier is used. + * + * @deprecated No longer necessary. + */ @Prop({ reflect: true, mutable: true }) guid: string; /**