@sudobility/building_blocks_rn 0.0.41 → 0.0.43

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.
@@ -1,10 +1,9 @@
1
1
  /**
2
2
  * @fileoverview Language configuration constants for React Native i18n.
3
3
  *
4
- * Defines the `LanguageConfig` type, a default set of 16 supported languages
5
- * with emoji flags, the `RTL_LANGUAGES` array (currently Arabic), and an
6
- * `isRTL()` helper function for checking if a language code uses
7
- * right-to-left text direction.
4
+ * Defines the `LanguageConfig` type, a default set of 15 supported languages
5
+ * with emoji flags, the `RTL_LANGUAGES` array, and an `isRTL()` helper
6
+ * function for checking if a language code uses right-to-left text direction.
8
7
  */
9
8
  export interface LanguageConfig {
10
9
  code: string;
@@ -12,7 +11,7 @@ export interface LanguageConfig {
12
11
  flag: string;
13
12
  }
14
13
  /**
15
- * Default set of 16 supported languages with their flags.
14
+ * Default set of 15 supported languages with their flags.
16
15
  * Apps can override this list by passing their own languages prop.
17
16
  */
18
17
  export declare const DEFAULT_LANGUAGES: LanguageConfig[];
@@ -1,22 +1,16 @@
1
1
  /**
2
2
  * @fileoverview Language configuration constants for React Native i18n.
3
3
  *
4
- * Defines the `LanguageConfig` type, a default set of 16 supported languages
5
- * with emoji flags, the `RTL_LANGUAGES` array (currently Arabic), and an
6
- * `isRTL()` helper function for checking if a language code uses
7
- * right-to-left text direction.
4
+ * Defines the `LanguageConfig` type, a default set of 15 supported languages
5
+ * with emoji flags, the `RTL_LANGUAGES` array, and an `isRTL()` helper
6
+ * function for checking if a language code uses right-to-left text direction.
8
7
  */
9
8
  /**
10
- * Default set of 16 supported languages with their flags.
9
+ * Default set of 15 supported languages with their flags.
11
10
  * Apps can override this list by passing their own languages prop.
12
11
  */
13
12
  export const DEFAULT_LANGUAGES = [
14
13
  { code: 'en', name: 'English', flag: '\u{1F1FA}\u{1F1F8}' },
15
- {
16
- code: 'ar',
17
- name: '\u0627\u0644\u0639\u0631\u0628\u064A\u0629',
18
- flag: '\u{1F1F8}\u{1F1E6}',
19
- },
20
14
  { code: 'de', name: 'Deutsch', flag: '\u{1F1E9}\u{1F1EA}' },
21
15
  { code: 'es', name: 'Espa\u00F1ol', flag: '\u{1F1EA}\u{1F1F8}' },
22
16
  { code: 'fr', name: 'Fran\u00E7ais', flag: '\u{1F1EB}\u{1F1F7}' },
@@ -47,7 +41,7 @@ export const DEFAULT_LANGUAGES = [
47
41
  /**
48
42
  * Languages that use right-to-left text direction.
49
43
  */
50
- export const RTL_LANGUAGES = ['ar'];
44
+ export const RTL_LANGUAGES = [];
51
45
  /**
52
46
  * Check if a language code is RTL.
53
47
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudobility/building_blocks_rn",
3
- "version": "0.0.41",
3
+ "version": "0.0.43",
4
4
  "description": "Higher-level shared UI building blocks for Sudobility React Native apps",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -49,7 +49,7 @@
49
49
  "i18next": "^23.0.0 || ^24.0.0 || ^25.0.0",
50
50
  "react-i18next": "^14.0.0 || ^15.0.0 || ^16.0.0",
51
51
  "@react-native-async-storage/async-storage": ">=1.0.0",
52
- "@sudobility/design": "^1.1.31",
52
+ "@sudobility/design": "^1.1.32",
53
53
  "react-native-in-app-review": ">=4.4.2"
54
54
  },
55
55
  "peerDependenciesMeta": {