diff --git a/packages/atomic/cypress/e2e/generated-answer-selectors.ts b/packages/atomic/cypress/e2e/generated-answer-selectors.ts index d6b7cd1f5a2..485f33ad164 100644 --- a/packages/atomic/cypress/e2e/generated-answer-selectors.ts +++ b/packages/atomic/cypress/e2e/generated-answer-selectors.ts @@ -20,8 +20,6 @@ export const GeneratedAnswerSelectors = { GeneratedAnswerSelectors.shadow().find('[part="citations-label"]'), citationTitle: () => GeneratedAnswerSelectors.citation().find('.citation-title'), - citationIndex: () => - GeneratedAnswerSelectors.citation().find('[part="citation-index"]'), citationCard: () => GeneratedAnswerSelectors.shadow().find('[part="citation-popover"]'), loader: () => GeneratedAnswerSelectors.shadow().find('.typing-indicator'), diff --git a/packages/atomic/cypress/e2e/generated-answer.cypress.ts b/packages/atomic/cypress/e2e/generated-answer.cypress.ts index 4cc10c193a3..832157a8d87 100644 --- a/packages/atomic/cypress/e2e/generated-answer.cypress.ts +++ b/packages/atomic/cypress/e2e/generated-answer.cypress.ts @@ -464,7 +464,6 @@ describe('Generated Answer Test Suites', () => { 'have.text', testCitation.title ); - GeneratedAnswerSelectors.citationIndex().should('have.text', '1'); GeneratedAnswerSelectors.citation().should( 'have.attr', 'href', diff --git a/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.pcss b/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.pcss index 215d9094757..25b5002bcd2 100644 --- a/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.pcss +++ b/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.pcss @@ -10,11 +10,6 @@ height: var(--height); } -[part='citation-index'] { - height: var(--index-height); - width: var(--index-height); -} - [part='citation-popover'] { --popover-width: 350px; diff --git a/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.tsx b/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.tsx index a234b80c742..eded75469bf 100644 --- a/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.tsx +++ b/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.tsx @@ -158,12 +158,6 @@ export class AtomicCitation { onFocus={this.openPopover} onBlur={this.closePopover} > -
-
{this.index + 1}
-
{this.citation.title} diff --git a/packages/atomic/src/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.tsx b/packages/atomic/src/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.tsx index 38ecf0941e5..8bae8d40862 100644 --- a/packages/atomic/src/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.tsx +++ b/packages/atomic/src/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.tsx @@ -60,7 +60,6 @@ import {InsightBindings} from '../atomic-insight-interface/atomic-insight-interf * * @part citation - The link that allows the user to navigate to the item. * @part citation-popover - The pop-up that shows an item preview when the user hovers over the citation. - * @part citation-index - The content of the citation item. */ @Component({ tag: 'atomic-insight-generated-answer', diff --git a/packages/atomic/src/components/search/atomic-generated-answer/atomic-generated-answer.tsx b/packages/atomic/src/components/search/atomic-generated-answer/atomic-generated-answer.tsx index 078e45effe7..e9fce7c0f92 100644 --- a/packages/atomic/src/components/search/atomic-generated-answer/atomic-generated-answer.tsx +++ b/packages/atomic/src/components/search/atomic-generated-answer/atomic-generated-answer.tsx @@ -59,7 +59,6 @@ import {Bindings} from '../atomic-search-interface/atomic-search-interface'; * * @part citation - The link that allows the user to navigate to the item. * @part citation-popover - The pop-up that shows an item preview when the user hovers over the citation. - * @part citation-index - The content of the citation item. */ @Component({ tag: 'atomic-generated-answer',