@fluid-topics/ft-search-locale-selector 2.2.51 → 2.2.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
Search locale selector for integrated fluid-topics search pages
|
|
2
2
|
|
|
3
|
+
## Deprecation
|
|
4
|
+
|
|
5
|
+
**This component is deprecated for removal. Please use `@fluid-topics/ft-search-language-filter` instead.**
|
|
6
|
+
|
|
3
7
|
## Install
|
|
4
8
|
|
|
5
9
|
```shell
|
|
@@ -15,9 +19,9 @@ import "@fluid-topics/ft-search-context"
|
|
|
15
19
|
import "@fluid-topics/ft-search-locale-selector"
|
|
16
20
|
|
|
17
21
|
function render() {
|
|
18
|
-
return html`
|
|
22
|
+
return html`
|
|
19
23
|
<ft-search-context>
|
|
20
|
-
<ft-search-locale-selector></ft-search-locale-selector>
|
|
24
|
+
<ft-search-locale-selector></ft-search-locale-selector>
|
|
21
25
|
</ft-search-context>
|
|
22
26
|
`
|
|
23
27
|
}
|
|
@@ -5,6 +5,9 @@ import { FtSearchLocale } from "@fluid-topics/public-api";
|
|
|
5
5
|
import { ElementDefinitionsMap } from "@fluid-topics/ft-wc-utils";
|
|
6
6
|
import { Position } from "@fluid-topics/ft-tooltip";
|
|
7
7
|
declare const FtSearchLocaleSelector_base: typeof FtSearchComponent & import("@fluid-topics/ft-wc-utils").Constructor<import("@fluid-topics/ft-i18n").FtLitElementWithI18nInterface>;
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use ft-search-language-filter instead.
|
|
10
|
+
*/
|
|
8
11
|
export declare class FtSearchLocaleSelector extends FtSearchLocaleSelector_base implements FtSearchLocaleSelectorProperties {
|
|
9
12
|
static elementDefinitions: ElementDefinitionsMap;
|
|
10
13
|
static styles: import("lit").CSSResult;
|
|
@@ -17,6 +17,9 @@ import { FtTooltip, } from "@fluid-topics/ft-tooltip";
|
|
|
17
17
|
import { selectorContext, selectorDefaultMessages, } from "./SearchLocaleSelectorMessages";
|
|
18
18
|
import { FtRadio, FtRadioGroup, } from "@fluid-topics/ft-radio";
|
|
19
19
|
import { FtTypography } from "@fluid-topics/ft-typography";
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Use ft-search-language-filter instead.
|
|
22
|
+
*/
|
|
20
23
|
export class FtSearchLocaleSelector extends withI18n(FtSearchComponent) {
|
|
21
24
|
constructor() {
|
|
22
25
|
super();
|