@livetiles/reach-plugin-types 0.5.0-preview.480 → 0.5.0-preview.482
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/lib/index.d.ts +149 -66
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -544,69 +544,6 @@ declare module "libs/reach/util/common/src/useCacheLanguageApi" {
|
|
|
544
544
|
getLocaleFromLocalStorage: () => Promise<string>;
|
|
545
545
|
};
|
|
546
546
|
}
|
|
547
|
-
declare module "libs/reach/util/common/src/resources/languages/da.async" {
|
|
548
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
549
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
550
|
-
import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
|
|
551
|
-
export default da;
|
|
552
|
-
}
|
|
553
|
-
declare module "libs/reach/util/common/src/resources/languages/de.async" {
|
|
554
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
555
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
556
|
-
import de from "libs/reach/util/common/src/resources/languages/string-resources/de";
|
|
557
|
-
export default de;
|
|
558
|
-
}
|
|
559
|
-
declare module "libs/reach/util/common/src/resources/languages/fr.async" {
|
|
560
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
561
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
562
|
-
import fr from "libs/reach/util/common/src/resources/languages/string-resources/fr";
|
|
563
|
-
export default fr;
|
|
564
|
-
}
|
|
565
|
-
declare module "libs/reach/util/common/src/resources/languages/es.async" {
|
|
566
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
567
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
568
|
-
import es from "libs/reach/util/common/src/resources/languages/string-resources/es";
|
|
569
|
-
export default es;
|
|
570
|
-
}
|
|
571
|
-
declare module "libs/reach/util/common/src/resources/languages/zh-TW.async" {
|
|
572
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
573
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
574
|
-
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-TW";
|
|
575
|
-
export default zh;
|
|
576
|
-
}
|
|
577
|
-
declare module "libs/reach/util/common/src/resources/languages/zh-CN.async" {
|
|
578
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
579
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
580
|
-
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-CN";
|
|
581
|
-
export default zh;
|
|
582
|
-
}
|
|
583
|
-
declare module "libs/reach/util/common/src/resources/languages/ja.async" {
|
|
584
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ja';
|
|
585
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ja';
|
|
586
|
-
import ja from "libs/reach/util/common/src/resources/languages/string-resources/ja";
|
|
587
|
-
export default ja;
|
|
588
|
-
}
|
|
589
|
-
declare module "libs/reach/util/common/src/resources/languages/tr.async" {
|
|
590
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/tr';
|
|
591
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/tr';
|
|
592
|
-
import tr from "libs/reach/util/common/src/resources/languages/string-resources/tr";
|
|
593
|
-
export default tr;
|
|
594
|
-
}
|
|
595
|
-
declare module "libs/reach/util/common/src/resources/languages/it.async" {
|
|
596
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/it';
|
|
597
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/it';
|
|
598
|
-
import it from "libs/reach/util/common/src/resources/languages/string-resources/it";
|
|
599
|
-
export default it;
|
|
600
|
-
}
|
|
601
|
-
declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
602
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
603
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
604
|
-
import en from "libs/reach/util/common/src/resources/languages/string-resources/en";
|
|
605
|
-
export default en;
|
|
606
|
-
}
|
|
607
|
-
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
608
|
-
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
|
|
609
|
-
}
|
|
610
547
|
declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
|
|
611
548
|
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
612
549
|
import '@formatjs/intl-relativetimeformat/dist/locale-data/ar';
|
|
@@ -1042,9 +979,81 @@ declare module "libs/reach/util/common/src/resources/locales/zh-tw.async" {
|
|
|
1042
979
|
declare module "libs/reach/util/common/src/resources/LazyLocaleResourcesImporter" {
|
|
1043
980
|
export function importLocaleResourcesAsync(locale: string): Promise<void> | Promise<typeof import("libs/reach/util/common/src/resources/locales/ar-dz.async")>;
|
|
1044
981
|
}
|
|
1045
|
-
declare module "libs/reach/util/common/src/resources/
|
|
982
|
+
declare module "libs/reach/util/common/src/resources/BaseResourceContextProvider" {
|
|
1046
983
|
import { FC } from 'react';
|
|
1047
|
-
export const
|
|
984
|
+
export const BaseResourceContextProvider: FC<{
|
|
985
|
+
language?: string;
|
|
986
|
+
importLanguageResourcesAsync: (language: string) => Promise<{
|
|
987
|
+
default: unknown;
|
|
988
|
+
}>;
|
|
989
|
+
}>;
|
|
990
|
+
}
|
|
991
|
+
declare module "libs/reach/util/common/src/resources/languages/da.async" {
|
|
992
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
993
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
994
|
+
import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
|
|
995
|
+
export default da;
|
|
996
|
+
}
|
|
997
|
+
declare module "libs/reach/util/common/src/resources/languages/de.async" {
|
|
998
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
999
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
1000
|
+
import de from "libs/reach/util/common/src/resources/languages/string-resources/de";
|
|
1001
|
+
export default de;
|
|
1002
|
+
}
|
|
1003
|
+
declare module "libs/reach/util/common/src/resources/languages/fr.async" {
|
|
1004
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
1005
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
1006
|
+
import fr from "libs/reach/util/common/src/resources/languages/string-resources/fr";
|
|
1007
|
+
export default fr;
|
|
1008
|
+
}
|
|
1009
|
+
declare module "libs/reach/util/common/src/resources/languages/es.async" {
|
|
1010
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
1011
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
1012
|
+
import es from "libs/reach/util/common/src/resources/languages/string-resources/es";
|
|
1013
|
+
export default es;
|
|
1014
|
+
}
|
|
1015
|
+
declare module "libs/reach/util/common/src/resources/languages/zh-TW.async" {
|
|
1016
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
1017
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
1018
|
+
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-TW";
|
|
1019
|
+
export default zh;
|
|
1020
|
+
}
|
|
1021
|
+
declare module "libs/reach/util/common/src/resources/languages/zh-CN.async" {
|
|
1022
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
1023
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
1024
|
+
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-CN";
|
|
1025
|
+
export default zh;
|
|
1026
|
+
}
|
|
1027
|
+
declare module "libs/reach/util/common/src/resources/languages/ja.async" {
|
|
1028
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/ja';
|
|
1029
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/ja';
|
|
1030
|
+
import ja from "libs/reach/util/common/src/resources/languages/string-resources/ja";
|
|
1031
|
+
export default ja;
|
|
1032
|
+
}
|
|
1033
|
+
declare module "libs/reach/util/common/src/resources/languages/tr.async" {
|
|
1034
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/tr';
|
|
1035
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/tr';
|
|
1036
|
+
import tr from "libs/reach/util/common/src/resources/languages/string-resources/tr";
|
|
1037
|
+
export default tr;
|
|
1038
|
+
}
|
|
1039
|
+
declare module "libs/reach/util/common/src/resources/languages/it.async" {
|
|
1040
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/it';
|
|
1041
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/it';
|
|
1042
|
+
import it from "libs/reach/util/common/src/resources/languages/string-resources/it";
|
|
1043
|
+
export default it;
|
|
1044
|
+
}
|
|
1045
|
+
declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
1046
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
1047
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
1048
|
+
import en from "libs/reach/util/common/src/resources/languages/string-resources/en";
|
|
1049
|
+
export default en;
|
|
1050
|
+
}
|
|
1051
|
+
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
1052
|
+
export function importReachLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
|
|
1053
|
+
}
|
|
1054
|
+
declare module "libs/reach/util/common/src/resources/LegacyResourceContextProvider" {
|
|
1055
|
+
import { FC } from 'react';
|
|
1056
|
+
export const LegacyResourceContextProvider: FC<{
|
|
1048
1057
|
language?: string;
|
|
1049
1058
|
}>;
|
|
1050
1059
|
}
|
|
@@ -3851,11 +3860,84 @@ declare module "libs/reach/util/common/src/reach-2/GlobalStyles" {
|
|
|
3851
3860
|
declare module "libs/reach/util/common/src/reach-2/usePageScrollDirectionForTogglingControls" {
|
|
3852
3861
|
export function usePageScrollDirectionForTogglingControls(disableOnLargeScreen?: boolean, threshold?: number): boolean;
|
|
3853
3862
|
}
|
|
3863
|
+
declare module "libs/reach/util/common/src/reach-2/resources/languages/da.async" {
|
|
3864
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
3865
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
3866
|
+
import da from "libs/reach/util/common/src/reach-2/resources/languages/string-resources/da";
|
|
3867
|
+
export default da;
|
|
3868
|
+
}
|
|
3869
|
+
declare module "libs/reach/util/common/src/reach-2/resources/languages/de.async" {
|
|
3870
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
3871
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
3872
|
+
import de from "libs/reach/util/common/src/reach-2/resources/languages/string-resources/de";
|
|
3873
|
+
export default de;
|
|
3874
|
+
}
|
|
3875
|
+
declare module "libs/reach/util/common/src/reach-2/resources/languages/fr.async" {
|
|
3876
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
3877
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
3878
|
+
import fr from "libs/reach/util/common/src/reach-2/resources/languages/string-resources/fr";
|
|
3879
|
+
export default fr;
|
|
3880
|
+
}
|
|
3881
|
+
declare module "libs/reach/util/common/src/reach-2/resources/languages/es.async" {
|
|
3882
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
3883
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
3884
|
+
import es from "libs/reach/util/common/src/reach-2/resources/languages/string-resources/es";
|
|
3885
|
+
export default es;
|
|
3886
|
+
}
|
|
3887
|
+
declare module "libs/reach/util/common/src/reach-2/resources/languages/zh-TW.async" {
|
|
3888
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
3889
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
3890
|
+
import zh from "libs/reach/util/common/src/reach-2/resources/languages/string-resources/zh-TW";
|
|
3891
|
+
export default zh;
|
|
3892
|
+
}
|
|
3893
|
+
declare module "libs/reach/util/common/src/reach-2/resources/languages/zh-CN.async" {
|
|
3894
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
3895
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
3896
|
+
import zh from "libs/reach/util/common/src/reach-2/resources/languages/string-resources/zh-CN";
|
|
3897
|
+
export default zh;
|
|
3898
|
+
}
|
|
3899
|
+
declare module "libs/reach/util/common/src/reach-2/resources/languages/ja.async" {
|
|
3900
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/ja';
|
|
3901
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/ja';
|
|
3902
|
+
import ja from "libs/reach/util/common/src/reach-2/resources/languages/string-resources/ja";
|
|
3903
|
+
export default ja;
|
|
3904
|
+
}
|
|
3905
|
+
declare module "libs/reach/util/common/src/reach-2/resources/languages/tr.async" {
|
|
3906
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/tr';
|
|
3907
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/tr';
|
|
3908
|
+
import tr from "libs/reach/util/common/src/reach-2/resources/languages/string-resources/tr";
|
|
3909
|
+
export default tr;
|
|
3910
|
+
}
|
|
3911
|
+
declare module "libs/reach/util/common/src/reach-2/resources/languages/it.async" {
|
|
3912
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/it';
|
|
3913
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/it';
|
|
3914
|
+
import it from "libs/reach/util/common/src/reach-2/resources/languages/string-resources/it";
|
|
3915
|
+
export default it;
|
|
3916
|
+
}
|
|
3917
|
+
declare module "libs/reach/util/common/src/reach-2/resources/languages/en.async" {
|
|
3918
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
3919
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
3920
|
+
import en from "libs/reach/util/common/src/reach-2/resources/languages/string-resources/en";
|
|
3921
|
+
export default en;
|
|
3922
|
+
}
|
|
3923
|
+
declare module "libs/reach/util/common/src/reach-2/resources/LazyLanguageResourcesImporter" {
|
|
3924
|
+
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/reach-2/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/reach-2/resources/languages/en.async")>;
|
|
3925
|
+
}
|
|
3926
|
+
declare module "libs/reach/util/common/src/reach-2/resources/ResourceContextProvider" {
|
|
3927
|
+
import { FC } from 'react';
|
|
3928
|
+
export const ResourceContextProvider: FC<{
|
|
3929
|
+
language?: string;
|
|
3930
|
+
}>;
|
|
3931
|
+
}
|
|
3932
|
+
declare module "libs/reach/util/common/src/reach-2/resources/index" {
|
|
3933
|
+
export * from "libs/reach/util/common/src/reach-2/resources/ResourceContextProvider";
|
|
3934
|
+
}
|
|
3854
3935
|
declare module "libs/reach/util/common/src/reach-2/index" {
|
|
3855
3936
|
export * from "libs/reach/util/common/src/reach-2/NewUserExperienceContext";
|
|
3856
3937
|
export * from "libs/reach/util/common/src/reach-2/useNewExperienceStorage";
|
|
3857
3938
|
export * from "libs/reach/util/common/src/reach-2/GlobalStyles";
|
|
3858
3939
|
export * from "libs/reach/util/common/src/reach-2/usePageScrollDirectionForTogglingControls";
|
|
3940
|
+
export * from "libs/reach/util/common/src/reach-2/resources/index";
|
|
3859
3941
|
}
|
|
3860
3942
|
declare module "libs/reach/util/common/src/useReachClassNames" {
|
|
3861
3943
|
export function useReachClassNames(): string;
|
|
@@ -3880,7 +3962,8 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3880
3962
|
export * from "libs/reach/util/common/src/PaginatedList";
|
|
3881
3963
|
export * from "libs/reach/util/common/src/SortDirection";
|
|
3882
3964
|
export * from "libs/reach/util/common/src/useCacheLanguageApi";
|
|
3883
|
-
export * from "libs/reach/util/common/src/resources/
|
|
3965
|
+
export * from "libs/reach/util/common/src/resources/BaseResourceContextProvider";
|
|
3966
|
+
export * from "libs/reach/util/common/src/resources/LegacyResourceContextProvider";
|
|
3884
3967
|
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3885
3968
|
export * from "libs/reach/util/common/src/user/index";
|
|
3886
3969
|
export * from "libs/reach/util/common/src/plugins/index";
|