From 032b223f8f019d4786be3c1d18809c01745d0d90 Mon Sep 17 00:00:00 2001 From: Sarka Chwastkova Date: Thu, 12 Dec 2024 14:31:59 +0100 Subject: [PATCH] feat(ErrorFormTooltip): remove inputSize prop BREAKING CHANGE: This prop was effectless and it is no longer available. --- .../orbit-components/src/ErrorFormTooltip/Tooltip/types.d.ts | 1 - packages/orbit-components/src/ErrorFormTooltip/types.d.ts | 1 - packages/orbit-components/src/InputFile/index.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/packages/orbit-components/src/ErrorFormTooltip/Tooltip/types.d.ts b/packages/orbit-components/src/ErrorFormTooltip/Tooltip/types.d.ts index 5650017b24..9a306666cb 100644 --- a/packages/orbit-components/src/ErrorFormTooltip/Tooltip/types.d.ts +++ b/packages/orbit-components/src/ErrorFormTooltip/Tooltip/types.d.ts @@ -9,7 +9,6 @@ export interface Props extends Common.Globals { readonly helpClosable: boolean; readonly isHelp?: boolean; readonly referenceElement?: { current: HTMLElement | null }; - readonly inputSize?: Common.InputSize; readonly inlineLabel?: boolean; readonly onShown: (arg: boolean) => void; } diff --git a/packages/orbit-components/src/ErrorFormTooltip/types.d.ts b/packages/orbit-components/src/ErrorFormTooltip/types.d.ts index 65709f1fa4..ae5b3fea7f 100644 --- a/packages/orbit-components/src/ErrorFormTooltip/types.d.ts +++ b/packages/orbit-components/src/ErrorFormTooltip/types.d.ts @@ -10,7 +10,6 @@ export interface Props extends Common.Globals, Common.SpaceAfter { readonly help?: React.ReactNode; readonly inlineLabel?: boolean; readonly referenceElement?: React.RefObject; - readonly inputSize?: Common.InputSize; readonly helpClosable?: boolean; readonly onShown: React.Dispatch>; } diff --git a/packages/orbit-components/src/InputFile/index.tsx b/packages/orbit-components/src/InputFile/index.tsx index ee10eadb09..104b0fa262 100644 --- a/packages/orbit-components/src/InputFile/index.tsx +++ b/packages/orbit-components/src/InputFile/index.tsx @@ -157,7 +157,6 @@ const InputFile = React.forwardRef((props, ref) => { help={help} error={error} helpClosable={helpClosable} - inputSize="normal" referenceElement={labelRef} shown={shown} onShown={setTooltipShown}