diff --git a/pages/property-filter/common-props.tsx b/pages/property-filter/common-props.tsx index 4b58924f7e..7536943ae5 100644 --- a/pages/property-filter/common-props.tsx +++ b/pages/property-filter/common-props.tsx @@ -1,7 +1,6 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import { PropertyFilterProps } from '~components/property-filter'; -import { I18nStringsTokenGroups } from '~components/property-filter/interfaces'; import { DateForm, @@ -184,9 +183,7 @@ export const i18nStrings: PropertyFilterProps.I18nStrings = { formatToken, removeTokenButtonAriaLabel: token => `Remove token, ${formatToken(token)}`, -}; -export const i18nStringsTokenGroups: I18nStringsTokenGroups = { groupEditAriaLabel: group => `Edit group with ${group.tokens.length} tokens`, tokenEditorTokenActionsAriaLabel: token => `Filter remove actions for ${formatToken(token)}`, tokenEditorTokenRemoveAriaLabel: token => `Remove filter, ${formatToken(token)}`, diff --git a/pages/property-filter/split-panel-app-layout-integration.page.tsx b/pages/property-filter/split-panel-app-layout-integration.page.tsx index 02b36dd988..8f4b15cdfb 100644 --- a/pages/property-filter/split-panel-app-layout-integration.page.tsx +++ b/pages/property-filter/split-panel-app-layout-integration.page.tsx @@ -10,7 +10,7 @@ import Button from '~components/button'; import Header from '~components/header'; import I18nProvider from '~components/i18n'; import messages from '~components/i18n/messages/all.en'; -import PropertyFilter from '~components/property-filter/internal'; +import PropertyFilter from '~components/property-filter'; import SplitPanel from '~components/split-panel'; import Table from '~components/table'; diff --git a/pages/property-filter/token-editor.page.tsx b/pages/property-filter/token-editor.page.tsx index d22b38a775..302adc94b3 100644 --- a/pages/property-filter/token-editor.page.tsx +++ b/pages/property-filter/token-editor.page.tsx @@ -4,14 +4,12 @@ import React from 'react'; import PropertyFilter from '~components/property-filter'; import { PropertyFilterProps } from '~components/property-filter/interfaces'; -import PropertyFilterInternal from '~components/property-filter/internal'; import ScreenshotArea from '../utils/screenshot-area'; import { columnDefinitions, filteringProperties as commonFilteringProperties, i18nStrings, - i18nStringsTokenGroups, labels, } from './common-props'; @@ -28,7 +26,6 @@ const commonProps = { filteringProperties, filteringOptions: [], i18nStrings, - i18nStringsTokenGroups, countText: '5 matches', disableFreeTextFiltering: false, virtualScroll: true, @@ -102,7 +99,7 @@ export default function () { {...commonProps} freeTextFiltering={{ operators: [':', '!:', '=', '!=', '^', '!^'] }} /> -