From 98276f63edb290e7f7dcd76f7c921cbb91bf4384 Mon Sep 17 00:00:00 2001 From: Robert Stigsson Date: Wed, 6 Sep 2023 12:57:05 +0200 Subject: [PATCH 1/2] - Fixed issue with new disabled functionality in CollapsibleWithCheckbox --- .../src/components/collapsible/CollapsibleWithCheckbox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/panels/src/components/collapsible/CollapsibleWithCheckbox.tsx b/packages/panels/src/components/collapsible/CollapsibleWithCheckbox.tsx index b9ee52978..745679881 100644 --- a/packages/panels/src/components/collapsible/CollapsibleWithCheckbox.tsx +++ b/packages/panels/src/components/collapsible/CollapsibleWithCheckbox.tsx @@ -8,7 +8,7 @@ export interface CollapsibleWithCheckboxProps CheckboxProps, "value" | "onValueChange" | "onChange" | "indeterminate" > { - checkboxDisabled: boolean; + checkboxDisabled: Pick; } export const CollapsibleWithCheckbox: React.FC< From 79c3d84f558c47112ffa3b770829906597d3d799 Mon Sep 17 00:00:00 2001 From: RobertStigsson Date: Wed, 6 Sep 2023 13:38:33 +0200 Subject: [PATCH 2/2] Update packages/panels/src/components/collapsible/CollapsibleWithCheckbox.tsx Co-authored-by: Niklas <2521318+nikteg@users.noreply.github.com> --- .../src/components/collapsible/CollapsibleWithCheckbox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/panels/src/components/collapsible/CollapsibleWithCheckbox.tsx b/packages/panels/src/components/collapsible/CollapsibleWithCheckbox.tsx index 745679881..77d930776 100644 --- a/packages/panels/src/components/collapsible/CollapsibleWithCheckbox.tsx +++ b/packages/panels/src/components/collapsible/CollapsibleWithCheckbox.tsx @@ -8,7 +8,7 @@ export interface CollapsibleWithCheckboxProps CheckboxProps, "value" | "onValueChange" | "onChange" | "indeterminate" > { - checkboxDisabled: Pick; + checkboxDisabled: CheckboxProps["disabled"]; } export const CollapsibleWithCheckbox: React.FC<