From f30251cd31777dd9541477af0b8fe69f895bac00 Mon Sep 17 00:00:00 2001 From: Masoud Amjadi Date: Tue, 19 Nov 2024 15:09:33 -0500 Subject: [PATCH] fix(inputs): fix intent prop type --- packages/components/src/core/InputCheckbox/index.tsx | 2 +- packages/components/src/core/InputRadio/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/src/core/InputCheckbox/index.tsx b/packages/components/src/core/InputCheckbox/index.tsx index 8dd016f58..6d225abbb 100644 --- a/packages/components/src/core/InputCheckbox/index.tsx +++ b/packages/components/src/core/InputCheckbox/index.tsx @@ -15,7 +15,7 @@ interface CheckboxContentProps extends Omit { caption?: string; checkboxProps?: Partial; - intent?: "default" | "error" | "warning"; + intent?: "default" | "negative" | "notice" | "positive"; label?: React.ReactNode; stage?: "checked" | "unchecked" | "indeterminate"; } diff --git a/packages/components/src/core/InputRadio/index.tsx b/packages/components/src/core/InputRadio/index.tsx index b9301feb3..775cb34a1 100644 --- a/packages/components/src/core/InputRadio/index.tsx +++ b/packages/components/src/core/InputRadio/index.tsx @@ -14,7 +14,7 @@ import React from "react"; export interface RadioContentProps extends Omit { caption?: string; - intent?: "default" | "error" | "warning"; + intent?: "default" | "negative" | "notice" | "positive"; label?: React.ReactNode; radioProps?: Partial; stage?: "checked" | "unchecked";