3.14.124 • Published 10 months ago

@patrtorg/sapiente-sed-eius v3.14.124

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Features

  • 🌐 Follows the E.164 : The international public telecommunication numbering plan
  • 🎨 Easily Customizable
  • 🪶 Lightweight - less than 6kb
  • 📞 Native - it's just a HMTL input
  • 🔌 easily integration - it works without additional configuration (remix, react-hook-form)
  • Controlled mode: coming soon
  • Custom render for Phone.Country and Phone.Number: coming soon

Examples (Demo)

Installation

yarn add react-telephone

or

npm i react-telephone

Usage

import { Phone } from 'react-telephone';

export default function MyComponent() {
  return (
    <Phone>
      <Phone.Country />
      <Phone.Number />
    </Phone>
  );
}

Props

PropDescriptionDefaultValue
defaultCountryDefault country displayed for the country selectorFirst country (Afghanistan)Country ISO2 code (fr, us)

Utils

NameDescription
countriesList of all countries.
getCountryByIsoReturns the country object for a given ISO code.
applyMaskApply the mask to a given phone number.
splitPhoneNumberSplit a phone number into country code and number.
replaceDialCodeReplace the dial code of a phone number.

Contributors

Thanks goes to these wonderful people (emoji key):

ponyfillstatelesswritesetPrototypeOflinkemrutil.inspectcloudtrailwidthES2018scheme-validationnodeglaciergdprtddECMAScript 2019Symbol.toStringTaglengthstreamsnegative zeroiterategetstdlibSetjsxdeterministicpackage.jsonclientfullwidthhelpercloudfrontprototypelibphonenumbersameValueZerojavascriptwhatwgregexES2023RxJStyped arrayArray.prototype.flattengraphqlsetImmediatecoloryupopenerWebSocketglobalscallbindarrayObservableomitajv256shellworkspace:*seseslint-pluginfilenamesdeep-cloneincludesjsdiffmetadatasidefromES7trimRightintrinsicpolyfillconsolehasimportexportsettertestbatchspecreducedomcmdspinnersprotobufexecutablethrottletaskeast-asian-widthform-validationcommand-lineparentECMAScript 2021postcssshames2015ES2015configurableexetraversezxes-shim APIappyamlMicrosoftmobilefindl10nfigletArray.prototype.containsidentifierseventDispatcherdataconcurrencycloudwatchlistenersurlsequencepnpm9arraybufferparentsconfigglobalreact-testing-libraryflatMapESnextformatObjectreal-timeinternalurlsprotocol-bufferssnssymlinksrmxtermtrimfile systemfindupsharedshimFunction.prototype.namesqstypanionObject.definePropertydeepclonereadablestreamdeepproxyES2020movecommanderansiECMAScript 2018arktypesubprocesscompilerworkeropenspeedec2popmotionstyleguideReflect.getPrototypeOfchildwrapviewentriesstoragegatewayhas-ownutilpersistentArray.prototype.flatchromiumwaapigroupBybyteFloat32Arraysortedbindredux-toolkitrmdircolourreworkawesomesauceURLlazycollectionprocessreusedynamodbfast-deep-clonetakesymbollimitvarsargsupconsumevestECMAScript 2020tslibpropertiesStreamstypeerrorhardlinkscharactercontainsmatchparserfindLastIndexparsingassertsespromiseinspectwebsitelaunchrgbtelephonesearchargva11ySymbolnativeloadbalancingbrowserslistes-shimsterminalrouteredirectArrayBufferdependency managerPushextralocationES2016optimistfetchindicatordatastructurebrowserstarterweaksetmime-dbinputquerystringObject.valuesimmerhttpsxhrESObject.fromEntriesJSON-Schemaexpressionsettingsstableprivateschemersscloudformationdescriptionwhichserializefixed-widthtouchdatemodulesautoprefixerloadingawsdeepcopygetintrinsiccachemakexdgCSSStyleDeclarationmergepostcss-pluginregexproutingamazoniepreserve-symlinksimmutablecomputed-types[[Prototype]]hasOwnPropertyvariablescore-jswordwrapcorepipethroatObject.assignelectronidelasticachedirES2019installerguidcompareworkflow0karmaspawnargumentslotES6assertrdssyntaxmatchAlldom-testing-libraryReactiveXhtmlregularpicomatchartES2021linewrapfunctionalnoperegular expressionenvTypedArrayES2022typeoflimitedemojienderstringifyArrayBuffer.prototype.sliceelbtranspilersuperstructcall-boundisjoirm -rfextenddescriptorspluginMappyyamllru$.extendestreeECMAScript 2017rangeerror
3.14.124

10 months ago

3.14.123

10 months ago

3.13.123

10 months ago

3.11.112

10 months ago

3.11.111

10 months ago

3.11.110

10 months ago

2.7.60

12 months ago

2.11.88

11 months ago

2.11.89

11 months ago

2.5.47

1 year ago

2.5.48

1 year ago

2.5.49

1 year ago

3.11.109

10 months ago

2.5.43

1 year ago

2.5.44

1 year ago

2.5.45

1 year ago

2.5.46

1 year ago

2.5.40

1 year ago

2.5.41

1 year ago

2.11.100

11 months ago

2.5.42

1 year ago

3.11.123

10 months ago

2.11.101

11 months ago

3.11.122

10 months ago

2.11.102

11 months ago

3.11.121

10 months ago

2.11.103

11 months ago

3.11.120

10 months ago

2.11.104

11 months ago

2.11.105

11 months ago

2.11.106

10 months ago

2.11.107

10 months ago

2.11.108

10 months ago

2.11.109

10 months ago

2.11.90

11 months ago

2.11.91

11 months ago

2.11.92

11 months ago

2.11.93

11 months ago

2.11.94

11 months ago

2.11.95

11 months ago

2.11.96

11 months ago

2.11.97

11 months ago

2.11.98

11 months ago

2.11.99

11 months ago

2.3.34

1 year ago

2.5.54

1 year ago

2.3.31

1 year ago

3.11.119

10 months ago

2.5.55

1 year ago

3.11.118

10 months ago

2.5.56

1 year ago

2.3.33

1 year ago

3.11.117

10 months ago

2.5.57

1 year ago

2.3.32

1 year ago

3.11.116

10 months ago

2.5.50

1 year ago

3.11.115

10 months ago

2.5.51

1 year ago

3.11.114

10 months ago

2.5.52

1 year ago

3.11.113

10 months ago

2.5.53

1 year ago

3.12.123

10 months ago

1.3.31

1 year ago

1.3.30

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

2.8.63

12 months ago

2.8.62

12 months ago

2.8.61

12 months ago

2.8.60

12 months ago

2.8.67

12 months ago

2.8.66

12 months ago

2.8.65

12 months ago

2.8.64

12 months ago

2.8.69

12 months ago

2.8.68

12 months ago

2.8.70

12 months ago

2.8.74

12 months ago

2.8.73

12 months ago

2.8.72

12 months ago

2.8.71

12 months ago

2.10.78

11 months ago

2.4.36

1 year ago

2.10.79

11 months ago

2.4.35

1 year ago

2.4.38

1 year ago

2.4.37

1 year ago

2.8.77

12 months ago

2.8.76

12 months ago

2.6.57

1 year ago

2.4.34

1 year ago

2.8.75

12 months ago

2.10.80

11 months ago

2.10.81

11 months ago

2.10.82

11 months ago

2.10.83

11 months ago

2.10.84

11 months ago

2.10.85

11 months ago

2.10.86

11 months ago

2.10.87

11 months ago

2.10.88

11 months ago

1.3.24

1 year ago

1.3.25

1 year ago

1.3.28

1 year ago

1.3.29

1 year ago

1.3.26

1 year ago

1.3.27

1 year ago

1.2.18

1 year ago

1.2.19

1 year ago

1.2.20

1 year ago

1.2.23

1 year ago

1.2.24

1 year ago

1.2.21

1 year ago

1.2.22

1 year ago

2.5.38

1 year ago

2.5.39

1 year ago

2.9.78

11 months ago

2.9.77

12 months ago

2.7.59

1 year ago

2.7.58

1 year ago

2.7.57

1 year ago

1.1.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.10

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago