Skip to content

Commit

Permalink
v.8.1.1 (#204)
Browse files Browse the repository at this point in the history
* Fix the arabic translation and add the persian translation (#180)

* Fix the arabic translation

* Add the persian translation

* change Turkey to Türkiye (#186)

Co-authored-by: ferdogan <[email protected]>

* fix libya arabic and english name (#189)

* The Uzbek language package has been added (#192)

* Create uz.arb

* Update uz.arb

* change lang

* bug fix

* Update README.md (#193)

* FEAT: show selected country iso code feature implemented (#190)

Co-authored-by: Hemant <[email protected]>

* set autofocus to false in example

* feat: add parameter onTapOutside (#195)

* feat: add Norwegian language (#203)

* feat: add Norwegian language

* docs: add `nb` language to README

* v8.1.1

---------

Co-authored-by: farzadaqajani <[email protected]>
Co-authored-by: Fatih <[email protected]>
Co-authored-by: ferdogan <[email protected]>
Co-authored-by: Mohaned Benmesken <[email protected]>
Co-authored-by: Akbarali <[email protected]>
Co-authored-by: Hemant Paneru HP <[email protected]>
Co-authored-by: Hemant <[email protected]>
Co-authored-by: Andres Garcia <[email protected]>
Co-authored-by: Tautvydas Šidlauskas <[email protected]>
  • Loading branch information
10 people authored Dec 7, 2023
1 parent 564d013 commit 05464d1
Show file tree
Hide file tree
Showing 26 changed files with 2,691 additions and 355 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [8.1.1]
- Upgraded phone_numbers_parser lib to 8.1.0
- Added norwegian language (PR #203) thanks @sidlatau
- Added onTapOutside (PR #195) thanks @andgar2010
- Added Uzbek language (PR #192) thanks @akbarali1
- various fix in languages (thanks @Hpanery, @mohn93, @themmfa, @farzadaqajani)


## [8.1.0]
- flag loaded from assets (revert from previous version)
- flags in country list should now render instantaneously
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ PhoneFormField(
const Locale('es', ''),
const Locale('fr', ''),
const Locale('ru', ''),
const Locale('uz', ''),
const Locale('uk', ''),
// ...
],
Expand All @@ -184,9 +185,11 @@ PhoneFormField(
- 'fr',
- 'hin',
- 'it',
- 'nb',
- 'nl',
- 'pt',
- 'ru',
- 'uz',
- 'uk',
- 'tr',
- 'zh',
Expand Down
3 changes: 2 additions & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class PhoneFieldView extends StatelessWidget {
key: inputKey,
controller: controller,
shouldFormat: shouldFormat && !useRtl,
autofocus: true,
autofocus: false,
autofillHints: const [AutofillHints.telephoneNumber],
countrySelectorNavigator: selectorNavigator,
defaultCountry: IsoCode.US,
Expand All @@ -65,6 +65,7 @@ class PhoneFieldView extends StatelessWidget {
hintText: withLabel ? '' : 'Phone',
),
enabled: true,
showIsoCodeInInput: false,
showFlagInInput: true,
validator: _getValidator(),
autovalidateMode: AutovalidateMode.onUserInteraction,
Expand Down
38 changes: 19 additions & 19 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
version: "1.17.2"
version: "1.18.0"
diacritic:
dependency: transitive
description:
Expand Down Expand Up @@ -112,14 +112,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.18.1"
js:
dependency: transitive
description:
name: js
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
url: "https://pub.dev"
source: hosted
version: "0.6.7"
lints:
dependency: transitive
description:
Expand Down Expand Up @@ -148,10 +140,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.10.0"
path:
dependency: transitive
description:
Expand Down Expand Up @@ -208,18 +200,18 @@ packages:
dependency: transitive
description:
name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
version: "2.1.1"
version: "2.1.2"
string_scanner:
dependency: transitive
description:
Expand All @@ -240,10 +232,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
source: hosted
version: "0.6.0"
version: "0.6.1"
vector_graphics:
dependency: transitive
description:
Expand Down Expand Up @@ -276,6 +268,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.4"
web:
dependency: transitive
description:
name: web
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
url: "https://pub.dev"
source: hosted
version: "0.3.0"
xml:
dependency: transitive
description:
Expand All @@ -285,5 +285,5 @@ packages:
source: hosted
version: "6.3.0"
sdks:
dart: ">=3.0.0 <4.0.0"
dart: ">=3.2.0-194.0.dev <4.0.0"
flutter: ">=3.7.0-0"
6 changes: 3 additions & 3 deletions lib/l10n/ar.arb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"bm_": "برمودا",
"bn_": "بروناي دار السلام",
"bo_": "بوليفيا ، دولة متعددة القوميات",
"bq": "بونير",
"bq_": "بونير",
"br_": "البرازيل",
"bs_": "جزر البهاما",
"bt_": "بوتان",
Expand Down Expand Up @@ -139,7 +139,7 @@
"lt_": "ليتوانيا",
"lu_": "لوكسمبورغ",
"lv_": "لاتفيا",
"ly_": "الجماهيرية العربية الليبية",
"ly_": "ليبيا",
"ma_": "المغرب",
"mc_": "موناكو",
"md_": "مولدوفا",
Expand Down Expand Up @@ -216,7 +216,7 @@
"sv_": "السلفادور",
"sy_": "الجمهورية العربية السورية",
"sz_": "سوازيلاند",
"ta": "تريستان دا كونها",
"ta_": "تريستان دا كونها",
"tc_": "جزر تركس وكايكوس",
"td_": "تشاد",
"tg_": "توجو",
Expand Down
4 changes: 2 additions & 2 deletions lib/l10n/en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"lt_": "Lithuania",
"lu_": "Luxembourg",
"lv_": "Latvia",
"ly_": "Libyan Arab Jamahiriya",
"ly_": "Libya",
"ma_": "Morocco",
"mc_": "Monaco",
"md_": "Moldova",
Expand Down Expand Up @@ -225,7 +225,7 @@
"tm_": "Turkmenistan",
"tn_": "Tunisia",
"to_": "Tonga",
"tr_": "Turkey",
"tr_": "Türkiye",
"tt_": "Trinidad and Tobago",
"tv_": "Tuvalu",
"tw_": "Taiwan",
Expand Down
Loading

0 comments on commit 05464d1

Please sign in to comment.