diff --git a/packages/components/src/spectrum/comboBox/ComboBoxNormalized.tsx b/packages/components/src/spectrum/comboBox/ComboBoxNormalized.tsx index 0b774a9c0a..b963803a47 100644 --- a/packages/components/src/spectrum/comboBox/ComboBoxNormalized.tsx +++ b/packages/components/src/spectrum/comboBox/ComboBoxNormalized.tsx @@ -6,6 +6,14 @@ import { ComboBoxProps } from './ComboBox'; export type ComboBoxNormalizedProps = PickerNormalizedPropsT; +/** + * ComboBox that takes an array of `NormalizedItem` or `NormalizedSection` items + * as children and uses a render item function to render the items. `NormalizedItem` + * and `NormalizedSection` datums always provide a `key` property but have an + * optional `item` property that can be lazy loaded. This is necessary to support + * windowed data since we need a representative key for every item in the + * collection. + */ export function ComboBoxNormalized({ UNSAFE_className, ...props diff --git a/tests/styleguide.spec.ts-snapshots/pickers-chromium-linux.png b/tests/styleguide.spec.ts-snapshots/pickers-chromium-linux.png index 10724bfe64..b4dfbf9842 100644 Binary files a/tests/styleguide.spec.ts-snapshots/pickers-chromium-linux.png and b/tests/styleguide.spec.ts-snapshots/pickers-chromium-linux.png differ diff --git a/tests/styleguide.spec.ts-snapshots/pickers-firefox-linux.png b/tests/styleguide.spec.ts-snapshots/pickers-firefox-linux.png index c2d689247e..c6542e6f69 100644 Binary files a/tests/styleguide.spec.ts-snapshots/pickers-firefox-linux.png and b/tests/styleguide.spec.ts-snapshots/pickers-firefox-linux.png differ diff --git a/tests/styleguide.spec.ts-snapshots/pickers-webkit-linux.png b/tests/styleguide.spec.ts-snapshots/pickers-webkit-linux.png index 984f2d4ddb..23f3da7510 100644 Binary files a/tests/styleguide.spec.ts-snapshots/pickers-webkit-linux.png and b/tests/styleguide.spec.ts-snapshots/pickers-webkit-linux.png differ