3.14.124 • Published 12 months ago

@patrtorg/sapiente-sed-eius v3.14.124

Weekly downloads
-
License
MIT
Repository
github
Last release
12 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

12 months ago

3.14.123

12 months ago

3.13.123

12 months ago

3.11.112

1 year ago

3.11.111

1 year ago

3.11.110

1 year ago

2.7.60

1 year ago

2.11.88

1 year ago

2.11.89

1 year ago

2.5.47

1 year ago

2.5.48

1 year ago

2.5.49

1 year ago

3.11.109

1 year 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

1 year ago

2.5.42

1 year ago

3.11.123

12 months ago

2.11.101

1 year ago

3.11.122

12 months ago

2.11.102

1 year ago

3.11.121

12 months ago

2.11.103

1 year ago

3.11.120

1 year ago

2.11.104

1 year ago

2.11.105

1 year ago

2.11.106

1 year ago

2.11.107

1 year ago

2.11.108

1 year ago

2.11.109

1 year ago

2.11.90

1 year ago

2.11.91

1 year ago

2.11.92

1 year ago

2.11.93

1 year ago

2.11.94

1 year ago

2.11.95

1 year ago

2.11.96

1 year ago

2.11.97

1 year ago

2.11.98

1 year ago

2.11.99

1 year ago

2.3.34

1 year ago

2.5.54

1 year ago

2.3.31

1 year ago

3.11.119

1 year ago

2.5.55

1 year ago

3.11.118

1 year ago

2.5.56

1 year ago

2.3.33

1 year ago

3.11.117

1 year ago

2.5.57

1 year ago

2.3.32

1 year ago

3.11.116

1 year ago

2.5.50

1 year ago

3.11.115

1 year ago

2.5.51

1 year ago

3.11.114

1 year ago

2.5.52

1 year ago

3.11.113

1 year ago

2.5.53

1 year ago

3.12.123

12 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

1 year ago

2.8.62

1 year ago

2.8.61

1 year ago

2.8.60

1 year ago

2.8.67

1 year ago

2.8.66

1 year ago

2.8.65

1 year ago

2.8.64

1 year ago

2.8.69

1 year ago

2.8.68

1 year ago

2.8.70

1 year ago

2.8.74

1 year ago

2.8.73

1 year ago

2.8.72

1 year ago

2.8.71

1 year ago

2.10.78

1 year ago

2.4.36

1 year ago

2.10.79

1 year ago

2.4.35

1 year ago

2.4.38

1 year ago

2.4.37

1 year ago

2.8.77

1 year ago

2.8.76

1 year ago

2.6.57

1 year ago

2.4.34

1 year ago

2.8.75

1 year ago

2.10.80

1 year ago

2.10.81

1 year ago

2.10.82

1 year ago

2.10.83

1 year ago

2.10.84

1 year ago

2.10.85

1 year ago

2.10.86

1 year ago

2.10.87

1 year ago

2.10.88

1 year 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

1 year ago

2.9.77

1 year 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