diff --git a/packages/core/src/components/AttentionBox/__stories__/attentionBox.stories.js b/packages/core/src/components/AttentionBox/__stories__/attentionBox.stories.js index 6a0fff0ead..f6301973ee 100644 --- a/packages/core/src/components/AttentionBox/__stories__/attentionBox.stories.js +++ b/packages/core/src/components/AttentionBox/__stories__/attentionBox.stories.js @@ -5,7 +5,7 @@ import { createComponentTemplate, StoryDescription } from "vibe-storybook-compon import DialogContentContainer from "../../DialogContentContainer/DialogContentContainer"; import { Info, Invite, ThumbsUp } from "../../Icon/Icons"; import Icon from "../../Icon/Icon"; -import LegacySearch from "../../LegacySearch/LegacySearch"; +import Search from "../../Search/Search"; import Avatar from "../../Avatar/Avatar"; import person from "./assets/person.png"; import Flex from "../../Flex/Flex"; @@ -159,7 +159,7 @@ export const AttentionBoxInsideADialogCombobox = { return ( - +
Suggested people
diff --git a/packages/core/src/components/Chips/__stories__/chips.stories.js b/packages/core/src/components/Chips/__stories__/chips.stories.js index b742a80e3a..609792eb95 100644 --- a/packages/core/src/components/Chips/__stories__/chips.stories.js +++ b/packages/core/src/components/Chips/__stories__/chips.stories.js @@ -4,7 +4,7 @@ import Chips from "../Chips"; import Text from "../../Text/Text"; import { createStoryMetaSettingsDecorator } from "../../../storybook"; import { createComponentTemplate } from "vibe-storybook-components"; -import LegacySearch from "../../LegacySearch/LegacySearch"; +import Search from "../../Search/Search"; import Avatar from "../../Avatar/Avatar"; import DialogContentContainer from "../../DialogContentContainer/DialogContentContainer"; import { Email } from "../../Icon/Icons"; @@ -187,7 +187,7 @@ export const ColorfulChipsForDifferentContent = {
- +
@@ -206,7 +206,7 @@ export const ColorfulChipsForDifferentContent = { export const ChipsInAPersonPickerComboBox = { render: () => ( - + diff --git a/packages/core/src/components/Combobox/Combobox.module.scss b/packages/core/src/components/Combobox/Combobox.module.scss index fc13891e52..5c5dc23738 100644 --- a/packages/core/src/components/Combobox/Combobox.module.scss +++ b/packages/core/src/components/Combobox/Combobox.module.scss @@ -39,10 +39,6 @@ z-index: 12; } -.comboboxSearch { - flex: 0 0 auto; -} - .comboboxNoResults { margin-top: var(--spacing-small); flex: 1 1 auto; diff --git a/packages/core/src/components/Combobox/Combobox.tsx b/packages/core/src/components/Combobox/Combobox.tsx index 1a508ceaa3..93ccf1f661 100644 --- a/packages/core/src/components/Combobox/Combobox.tsx +++ b/packages/core/src/components/Combobox/Combobox.tsx @@ -6,7 +6,7 @@ import { isFunction, noop as NOOP } from "lodash-es"; import { getStyle } from "../../helpers/typesciptCssModulesHelper"; import { ComponentDefaultTestId, getTestId } from "../../tests/test-ids-utils"; import useMergeRef from "../../hooks/useMergeRef"; -import LegacySearch from "../LegacySearch/LegacySearch"; +import Search from "../Search/Search"; import { BASE_SIZES } from "../../constants"; import Button from "../Button/Button"; import Text from "../Text/Text"; @@ -283,13 +283,12 @@ const Combobox: React.FC & { ellipsis={false} >
- & { onChange={onChangeCallback} autoFocus={autoFocus} loading={loading} - iconName={searchIcon} + searchIconName={searchIcon} /> {stickyCategories && } - +