Skip to content

Commit 7574a2c

Browse files
authored
fix: build issues (#871)
1 parent f0885fa commit 7574a2c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/components/fields/ComboBox/ComboBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ function ComboBoxOverlay({
929929
headingStyles={headingStyles}
930930
stateRef={listStateRef}
931931
size="medium"
932-
type="popover"
932+
shape="popover"
933933
onSelectionChange={onSelectionChange}
934934
>
935935
{children as any}

src/components/fields/FilterListBox/FilterListBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const StyledHeaderWithoutBorder = tasty(StyledHeader, {
103103
});
104104

105105
export interface CubeFilterListBoxProps<T>
106-
extends Omit<CubeListBoxProps<T>, 'filter' | 'type'>,
106+
extends Omit<CubeListBoxProps<T>, 'filter'>,
107107
FieldBaseProps {
108108
/** Placeholder text for the search input */
109109
searchPlaceholder?: string;

src/components/fields/FilterPicker/FilterPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ interface ItemWithKey {
5757
}
5858

5959
export interface CubeFilterPickerProps<T>
60-
extends Omit<CubeFilterListBoxProps<T>, 'size' | 'tooltip'>,
60+
extends Omit<CubeFilterListBoxProps<T>, 'size' | 'tooltip' | 'shape'>,
6161
Omit<CubeItemProps, 'children' | 'size'>,
6262
BasePropsWithoutChildren,
6363
BaseStyleProps,

src/components/fields/Picker/Picker.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import { CubeListBoxProps, ListBox } from '../ListBox/ListBox';
4444
import type { FieldBaseProps } from '../../../shared';
4545

4646
export interface CubePickerProps<T>
47-
extends Omit<CubeListBoxProps<T>, 'size' | 'tooltip' | 'type'>,
47+
extends Omit<CubeListBoxProps<T>, 'size' | 'tooltip' | 'shape'>,
4848
Omit<CubeItemProps, 'children' | 'size'>,
4949
BasePropsWithoutChildren,
5050
BaseStyleProps,
@@ -683,7 +683,7 @@ export const Picker = forwardRef(function Picker<T extends object>(
683683
isLoading={isLoading}
684684
stateRef={internalListStateRef}
685685
isCheckable={isCheckable}
686-
type="popover"
686+
shape="popover"
687687
size="medium"
688688
showSelectAll={showSelectAll}
689689
selectAllLabel={selectAllLabel}

0 commit comments

Comments
 (0)