From d7f4bbab0c226e76acd4d68fe19f794d040a5aa2 Mon Sep 17 00:00:00 2001 From: Louis Bompart Date: Wed, 10 Jul 2024 11:17:49 +0200 Subject: [PATCH] docs: add missing attributes-* prefix https://coveord.atlassian.net/browse/KIT-3353 --- .../atomic-rating-facet/atomic-rating-facet.new.stories.tsx | 2 +- .../atomic-rating-range-facet.new.stories.tsx | 2 +- .../atomic-segmented-facet.new.stories.tsx | 4 ++-- .../atomic-result-rating/atomic-result-rating.new.stories.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/atomic/src/components/search/facets/atomic-rating-facet/atomic-rating-facet.new.stories.tsx b/packages/atomic/src/components/search/facets/atomic-rating-facet/atomic-rating-facet.new.stories.tsx index 9997a942848..b0b9f83a336 100644 --- a/packages/atomic/src/components/search/facets/atomic-rating-facet/atomic-rating-facet.new.stories.tsx +++ b/packages/atomic/src/components/search/facets/atomic-rating-facet/atomic-rating-facet.new.stories.tsx @@ -22,7 +22,7 @@ export default meta; export const Default: Story = { name: 'atomic-rating-facet', args: { - field: 'snrating', + 'attributes-field': 'snrating', }, decorators: [facetDecorator], }; diff --git a/packages/atomic/src/components/search/facets/atomic-rating-range-facet/atomic-rating-range-facet.new.stories.tsx b/packages/atomic/src/components/search/facets/atomic-rating-range-facet/atomic-rating-range-facet.new.stories.tsx index 726e262389a..3169a5c47a7 100644 --- a/packages/atomic/src/components/search/facets/atomic-rating-range-facet/atomic-rating-range-facet.new.stories.tsx +++ b/packages/atomic/src/components/search/facets/atomic-rating-range-facet/atomic-rating-range-facet.new.stories.tsx @@ -22,7 +22,7 @@ export default meta; export const Default: Story = { name: 'atomic-rating-range-facet', args: { - field: 'snrating', + 'attributes-field': 'snrating', }, decorators: [facetDecorator], }; diff --git a/packages/atomic/src/components/search/facets/atomic-segmented-facet/atomic-segmented-facet.new.stories.tsx b/packages/atomic/src/components/search/facets/atomic-segmented-facet/atomic-segmented-facet.new.stories.tsx index ac2ceadff5d..1964462f180 100644 --- a/packages/atomic/src/components/search/facets/atomic-segmented-facet/atomic-segmented-facet.new.stories.tsx +++ b/packages/atomic/src/components/search/facets/atomic-segmented-facet/atomic-segmented-facet.new.stories.tsx @@ -21,7 +21,7 @@ export default meta; export const Default: Story = { name: 'atomic-segmented-facet', args: { - field: 'objecttype', - label: 'Object Type', + 'attributes-field': 'objecttype', + 'attributes-label': 'Object Type', }, }; diff --git a/packages/atomic/src/components/search/result-template-components/atomic-result-rating/atomic-result-rating.new.stories.tsx b/packages/atomic/src/components/search/result-template-components/atomic-result-rating/atomic-result-rating.new.stories.tsx index c4048883792..b80838f23a3 100644 --- a/packages/atomic/src/components/search/result-template-components/atomic-result-rating/atomic-result-rating.new.stories.tsx +++ b/packages/atomic/src/components/search/result-template-components/atomic-result-rating/atomic-result-rating.new.stories.tsx @@ -31,5 +31,5 @@ export default meta; export const Default: Story = { name: 'atomic-result-rating', - args: {field: 'snrating'}, + args: {'attributes-field': 'snrating'}, };