@sendity/client 0.1.11 → 0.1.12

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.
@@ -70,6 +70,7 @@ export declare class Sendity extends HTMLElement {
70
70
  attributeChangedCallback(): void;
71
71
  private isNoCardVariant;
72
72
  private syncLayoutVariant;
73
+ private configureLanguageDirection;
73
74
  private startWhenVisible;
74
75
  private start;
75
76
  private stop;
@@ -1,6 +1,8 @@
1
1
  import { type SendityI18n } from './sendity.en';
2
- export declare const supportedLangs: readonly ["en", "de", "fr", "es", "it", "pl", "cs", "da", "nl", "hr", "el", "tr", "de-he", "ru", "sv", "pt", "sl", "sk", "sq", "hy", "sr", "lt", "lv", "et", "fi", "ar", "he", "ja", "ko", "zh"];
2
+ export declare const supportedLangs: readonly ["en", "de", "fr", "es", "it", "pl", "cs", "da", "nl", "hr", "el", "tr", "de-he", "ru", "sv", "pt", "sl", "sk", "sq", "hy", "sr", "lt", "lv", "et", "fi", "ro", "bg", "hu", "no", "uk", "bs", "mk", "is", "ga", "mt", "ar", "he", "ja", "ko", "zh", "vi", "hi", "id", "ms", "bn", "th"];
3
3
  export type Lang = (typeof supportedLangs)[number];
4
+ export declare const rtlLangs: readonly ["ar", "he"];
5
+ export declare function isRtlLang(lang: Lang): boolean;
4
6
  export declare function isSupportedLang(lang: string): lang is Lang;
5
7
  export declare function normalizeLang(lang: string | undefined): Lang | null;
6
8
  export declare function getI18n(lang: Lang): SendityI18n;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const bg: SendityI18n;
3
+ export default bg;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const bn: SendityI18n;
3
+ export default bn;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const bs: SendityI18n;
3
+ export default bs;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const ga: SendityI18n;
3
+ export default ga;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const hi: SendityI18n;
3
+ export default hi;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const hu: SendityI18n;
3
+ export default hu;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const id: SendityI18n;
3
+ export default id;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const is: SendityI18n;
3
+ export default is;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const mk: SendityI18n;
3
+ export default mk;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const ms: SendityI18n;
3
+ export default ms;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const mt: SendityI18n;
3
+ export default mt;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const no: SendityI18n;
3
+ export default no;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const ro: SendityI18n;
3
+ export default ro;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const th: SendityI18n;
3
+ export default th;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const uk: SendityI18n;
3
+ export default uk;
@@ -0,0 +1,3 @@
1
+ import type { SendityI18n } from './sendity.en';
2
+ declare const vi: SendityI18n;
3
+ export default vi;