Skip to content

Commit

Permalink
Component phone input (#25)
Browse files Browse the repository at this point in the history
* chore: update contributing

* fix: Fix button group immutability (#1)

* Fix errors

* fix copywith function

* [automated commit] lint format and import sort

---------

Co-authored-by: Osman <AO3856@zebra.com>
Co-authored-by: github-actions <github-actions@github.com>

* [automated commit] lint format and import sort

* update on-main to push to firebase (#3)

* ci: move firebase to flutter main host for qa (#4)

* feat: Add List Item (#5)

* feat: Add List Item

* [automated commit] lint format and import sort

---------

Co-authored-by: Simeon Dimitrov <simeon.dimitrov.work@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>

* fix(main): ListItem disabled color (#8)

* fix(main): ListItem disabled color

* [automated commit] lint format and import sort

---------

Co-authored-by: github-actions <github-actions@github.com>

* feat : Dropdown menu (#7)

* Create dropdown

* Add sizes

* create stoyrybook and add size

* Fix errrs and respond to comments

* Fix issues

* [automated commit] lint format and import sort

* Alter isLarge

* Fix spacing

* [automated commit] lint format and import sort

* Alter leading styles

* [automated commit] lint format and import sort

---------

Co-authored-by: Osman <AO3856@zebra.com>
Co-authored-by: github-actions <github-actions@github.com>

* Component ZetaSwitch (#6)

* create ZetaSwitch

* ZetaSwitch using MaterialSwitch

* widgetbook for ZetaSwitch

* remove hover; fix initState

* add showHover parameter

* add comments 'Zeta change' in material_switch.dart

* remove size parameter and factory constructors

* fix example and widgetbook

* Component Zeta Radio Button (#9)

* create component Zeta Radio Button

* remove hover color

* fix label line height

* feat(main): SnackBar (#10)

* add snackbar example

* Add snackbar widgetbook

* feat(main): SnackBar

* [automated commit] lint format and import sort

* remove view icon

* Add view icon

* Add widgetbook icon helper

* [automated commit] lint format and import sort

* fix alphabetical imports

* Fix delete and error background color

---------

Co-authored-by: github-actions <github-actions@github.com>

* feat(main): Tabs (#11)

* feat(main): Tabs

* [automated commit] lint format and import sort

---------

Co-authored-by: github-actions <github-actions@github.com>

* chore: Update text styles (#13)

* fix: switch on web (#14)

* Component date input (#12)

* create ZetaDateInput

* create different ZetaDateInput variants

* fix show error style

* date validation and input mask; documentation for ZetaDateInput properties

* create widgetbook

* changes according to comments

* Component date input (#16)

* create ZetaDateInput

* create different ZetaDateInput variants

* fix show error style

* date validation and input mask; documentation for ZetaDateInput properties

* create widgetbook

* changes according to comments

* fix Typography of Date Input

* restore

* remove text line height

* ZetaPhoneInput initial commit

* complete ZetaPhoneInput; add flags

* create phoneInputUseCase in Widgetbook

* refactor phone input to use native alert dialog

* don't use root navigator in widgetbook

* pass parameter useRootNavigator

* restore some missing countries in the list

---------

Co-authored-by: Luke <lwalton@zebra.com>
Co-authored-by: ahmed-osman3 <99483750+ahmed-osman3@users.noreply.github.com>
Co-authored-by: Osman <AO3856@zebra.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Luke Walton <thelukewalton@users.noreply.github.com>
Co-authored-by: Simeon Dimitrov <simeon.dimitrov.work@gmail.com>
Co-authored-by: sd-athlon <163880004+sd-athlon@users.noreply.github.com>
  • Loading branch information
8 people committed Apr 25, 2024
1 parent e421095 commit 8270f31
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
27 changes: 26 additions & 1 deletion lib/src/components/phone_input/countries.dart
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ class Countries {
name: 'Botswana',
dialCode: '+267',
),
const Country(
isoCode: 'BV',
name: 'Bouvet Island',
dialCode: '+47',
),
const Country(
isoCode: 'BR',
name: 'Brazil',
Expand Down Expand Up @@ -472,6 +477,11 @@ class Countries {
name: 'Guatemala',
dialCode: '+502',
),
const Country(
isoCode: 'GG',
name: 'Guernsey',
dialCode: '+44',
),
const Country(
isoCode: 'GN',
name: 'Guinea',
Expand Down Expand Up @@ -547,6 +557,11 @@ class Countries {
name: 'Ireland',
dialCode: '+353',
),
const Country(
isoCode: 'IM',
name: 'Isle of Man',
dialCode: '+44',
),
const Country(
isoCode: 'IL',
name: 'Israel',
Expand All @@ -567,6 +582,11 @@ class Countries {
name: 'Japan',
dialCode: '+81',
),
const Country(
isoCode: 'JE',
name: 'Jersey',
dialCode: '+44',
),
const Country(
isoCode: 'JO',
name: 'Jordan',
Expand Down Expand Up @@ -1062,6 +1082,11 @@ class Countries {
name: 'Suriname',
dialCode: '+597',
),
const Country(
isoCode: 'SJ',
name: 'Svalbard and Jan Mayen',
dialCode: '+47',
),
const Country(
isoCode: 'SZ',
name: 'Swaziland',
Expand Down Expand Up @@ -1169,7 +1194,7 @@ class Countries {
),
const Country(
isoCode: 'GB',
name: 'Great Britain and Northern Ireland',
name: 'United Kingdom of Great Britain and Northern Ireland',
dialCode: '+44',
),
const Country(
Expand Down
1 change: 1 addition & 0 deletions lib/src/components/phone_input/phone_input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ class _ZetaPhoneInputState extends State<ZetaPhoneInput> {
),
child: CountriesDialog<Country>(
zeta: zeta,
useRootNavigator: widget.useRootNavigator,
enabled: widget.enabled,
button: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
Expand Down

0 comments on commit 8270f31

Please sign in to comment.