@alfalab/core-components-intl-phone-input 6.0.6 → 6.0.7
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.
- package/CHANGELOG.md +8 -0
- package/dist/{component-f8310a0f.d.ts → component-8777f2a6.d.ts} +0 -0
- package/dist/{component-f8310a0f.js → component-8777f2a6.js} +1 -1
- package/dist/component.d.ts +1 -1
- package/dist/component.js +3 -3
- package/dist/components/flag-icon/component.js +1 -1
- package/dist/components/flag-icon/index.css +784 -784
- package/dist/components/index.js +1 -1
- package/dist/components/select/component.js +2 -2
- package/dist/components/select/index.css +6 -6
- package/dist/components/select/index.js +1 -1
- package/dist/components/select-field/component.js +1 -1
- package/dist/components/select-field/index.css +8 -8
- package/dist/components/select-field/index.d.ts +1 -1
- package/dist/components/select-field/index.js +1 -1
- package/dist/esm/{component-1ad8f373.d.ts → component-0b6f1f29.d.ts} +0 -0
- package/dist/esm/{component-1ad8f373.js → component-0b6f1f29.js} +1 -1
- package/dist/esm/component.js +3 -3
- package/dist/esm/components/flag-icon/component.js +1 -1
- package/dist/esm/components/flag-icon/index.css +784 -784
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/select/component.js +2 -2
- package/dist/esm/components/select/index.css +6 -6
- package/dist/esm/components/select/index.js +1 -1
- package/dist/esm/components/select-field/component.js +1 -1
- package/dist/esm/components/select-field/index.css +8 -8
- package/dist/esm/components/select-field/index.d.ts +1 -1
- package/dist/esm/components/select-field/index.js +1 -1
- package/dist/esm/index.css +3 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/{libphonenumber-js.min-5694694d.d.ts → libphonenumber-js.min-ce1be487.d.ts} +0 -0
- package/dist/esm/{libphonenumber-js.min-5694694d.js → libphonenumber-js.min-ce1be487.js} +0 -0
- package/dist/index.css +3 -3
- package/dist/index.js +1 -1
- package/dist/{libphonenumber-js.min-9f532b91.d.ts → libphonenumber-js.min-25246d3f.d.ts} +0 -0
- package/dist/{libphonenumber-js.min-9f532b91.js → libphonenumber-js.min-25246d3f.js} +0 -0
- package/dist/modern/component.js +2 -2
- package/dist/modern/components/flag-icon/component.js +1 -1
- package/dist/modern/components/flag-icon/index.css +784 -784
- package/dist/modern/components/select/component.js +1 -1
- package/dist/modern/components/select/index.css +6 -6
- package/dist/modern/components/select-field/component.js +1 -1
- package/dist/modern/components/select-field/index.css +8 -8
- package/dist/modern/index.css +3 -3
- package/dist/modern/{libphonenumber-js.min-5694694d.d.ts → libphonenumber-js.min-ce1be487.d.ts} +0 -0
- package/dist/modern/{libphonenumber-js.min-5694694d.js → libphonenumber-js.min-ce1be487.js} +0 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [6.0.7](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-intl-phone-input@6.0.6...@alfalab/core-components-intl-phone-input@6.0.7) (2021-12-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @alfalab/core-components-intl-phone-input
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [6.0.6](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-intl-phone-input@6.0.5...@alfalab/core-components-intl-phone-input@6.0.6) (2021-12-08)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @alfalab/core-components-intl-phone-input
|
|
File without changes
|
|
@@ -51,7 +51,7 @@ function __rest(s, e) {
|
|
|
51
51
|
return t;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
var styles = {"component":"intl-phone-
|
|
54
|
+
var styles = {"component":"intl-phone-input__component_12ygv","flagIconContainer":"intl-phone-input__flagIconContainer_12ygv","disabled":"intl-phone-input__disabled_12ygv","inner":"intl-phone-input__inner_12ygv","l":"intl-phone-input__l_12ygv","xl":"intl-phone-input__xl_12ygv","focusVisible":"intl-phone-input__focusVisible_12ygv"};
|
|
55
55
|
require('./components/select-field/index.css')
|
|
56
56
|
|
|
57
57
|
var SelectField = function (_a) {
|
package/dist/component.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ type IntlPhoneInputProps = Partial<Omit<InputAutocompleteProps, 'onChange'>> & P
|
|
|
34
34
|
*/
|
|
35
35
|
clearableCountryCode?: boolean;
|
|
36
36
|
};
|
|
37
|
-
declare const IntlPhoneInput: React.ForwardRefExoticComponent<Partial<Pick<InputAutocompleteProps, "
|
|
37
|
+
declare const IntlPhoneInput: React.ForwardRefExoticComponent<Partial<Pick<InputAutocompleteProps, "selected" | "valueRenderer" | "Optgroup" | "size" | "value" | "disabled" | "multiple" | "name" | "placeholder" | "readOnly" | "className" | "id" | "onFocus" | "onBlur" | "onInput" | "onScroll" | "options" | "visibleOptions" | "open" | "label" | "error" | "hint" | "Arrow" | "dataTestId" | "fieldClassName" | "success" | "block" | "Option" | "inputProps" | "optionsListClassName" | "optionClassName" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "circularNavigation" | "defaultOpen" | "popoverPosition" | "preventFlip" | "optionsListWidth" | "optionsSize" | "fieldProps" | "optionsListProps" | "optionProps" | "onOpen" | "OptionsList" | "updatePopover" | "zIndexPopover" | "showEmptyOptionsList" | "Input">> & Pick<SelectProps, "preventFlip"> & {
|
|
38
38
|
/**
|
|
39
39
|
* Значение
|
|
40
40
|
*/
|
package/dist/component.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var components_selectField_component = require('./component-
|
|
5
|
+
var components_selectField_component = require('./component-8777f2a6.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var utils = require('@alfalab/utils');
|
|
@@ -21,7 +21,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
21
21
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
22
22
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
23
23
|
|
|
24
|
-
var styles = {"addons":"intl-phone-
|
|
24
|
+
var styles = {"addons":"intl-phone-input__addons_qhn6e","l":"intl-phone-input__l_qhn6e","xl":"intl-phone-input__xl_qhn6e"};
|
|
25
25
|
require('./index.css')
|
|
26
26
|
|
|
27
27
|
var countriesHash = utils.getCountriesHash();
|
|
@@ -83,7 +83,7 @@ var IntlPhoneInput = React.forwardRef(function (_a, ref) {
|
|
|
83
83
|
}, [countries, countryIso2, setValue, handleCountryChange]);
|
|
84
84
|
var loadPhoneUtils = React.useCallback(function () {
|
|
85
85
|
// prettier-ignore
|
|
86
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "libphonenumber" */ './libphonenumber-js.min-
|
|
86
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "libphonenumber" */ './libphonenumber-js.min-25246d3f.js'); })
|
|
87
87
|
.then(function (utils) {
|
|
88
88
|
phoneLibUtils.current = utils.AsYouType;
|
|
89
89
|
})
|
|
@@ -10,7 +10,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
10
10
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
11
11
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
12
12
|
|
|
13
|
-
var styles = {"flagIcon":"intl-phone-
|
|
13
|
+
var styles = {"flagIcon":"intl-phone-input__flagIcon_ex60v","s":"intl-phone-input__s_ex60v","m":"intl-phone-input__m_ex60v","l":"intl-phone-input__l_ex60v","xl":"intl-phone-input__xl_ex60v","ac":"intl-phone-input__ac_ex60v","ad":"intl-phone-input__ad_ex60v","ae":"intl-phone-input__ae_ex60v","af":"intl-phone-input__af_ex60v","ag":"intl-phone-input__ag_ex60v","ai":"intl-phone-input__ai_ex60v","al":"intl-phone-input__al_ex60v","am":"intl-phone-input__am_ex60v","ao":"intl-phone-input__ao_ex60v","aq":"intl-phone-input__aq_ex60v","ar":"intl-phone-input__ar_ex60v","as":"intl-phone-input__as_ex60v","at":"intl-phone-input__at_ex60v","au":"intl-phone-input__au_ex60v","aw":"intl-phone-input__aw_ex60v","ax":"intl-phone-input__ax_ex60v","az":"intl-phone-input__az_ex60v","ba":"intl-phone-input__ba_ex60v","bb":"intl-phone-input__bb_ex60v","bd":"intl-phone-input__bd_ex60v","be":"intl-phone-input__be_ex60v","bf":"intl-phone-input__bf_ex60v","bg":"intl-phone-input__bg_ex60v","bh":"intl-phone-input__bh_ex60v","bi":"intl-phone-input__bi_ex60v","bj":"intl-phone-input__bj_ex60v","bl":"intl-phone-input__bl_ex60v","bm":"intl-phone-input__bm_ex60v","bn":"intl-phone-input__bn_ex60v","bo":"intl-phone-input__bo_ex60v","bq":"intl-phone-input__bq_ex60v","br":"intl-phone-input__br_ex60v","bs":"intl-phone-input__bs_ex60v","bt":"intl-phone-input__bt_ex60v","bv":"intl-phone-input__bv_ex60v","bw":"intl-phone-input__bw_ex60v","by":"intl-phone-input__by_ex60v","bz":"intl-phone-input__bz_ex60v","ca":"intl-phone-input__ca_ex60v","cc":"intl-phone-input__cc_ex60v","cd":"intl-phone-input__cd_ex60v","cf":"intl-phone-input__cf_ex60v","cg":"intl-phone-input__cg_ex60v","ch":"intl-phone-input__ch_ex60v","ci":"intl-phone-input__ci_ex60v","ck":"intl-phone-input__ck_ex60v","cl":"intl-phone-input__cl_ex60v","cm":"intl-phone-input__cm_ex60v","cn":"intl-phone-input__cn_ex60v","co":"intl-phone-input__co_ex60v","cp":"intl-phone-input__cp_ex60v","cr":"intl-phone-input__cr_ex60v","cu":"intl-phone-input__cu_ex60v","cv":"intl-phone-input__cv_ex60v","cw":"intl-phone-input__cw_ex60v","cx":"intl-phone-input__cx_ex60v","cy":"intl-phone-input__cy_ex60v","cz":"intl-phone-input__cz_ex60v","de":"intl-phone-input__de_ex60v","dg":"intl-phone-input__dg_ex60v","dj":"intl-phone-input__dj_ex60v","dk":"intl-phone-input__dk_ex60v","dm":"intl-phone-input__dm_ex60v","do":"intl-phone-input__do_ex60v","dz":"intl-phone-input__dz_ex60v","ea":"intl-phone-input__ea_ex60v","ec":"intl-phone-input__ec_ex60v","ee":"intl-phone-input__ee_ex60v","eg":"intl-phone-input__eg_ex60v","eh":"intl-phone-input__eh_ex60v","er":"intl-phone-input__er_ex60v","es":"intl-phone-input__es_ex60v","et":"intl-phone-input__et_ex60v","eu":"intl-phone-input__eu_ex60v","fi":"intl-phone-input__fi_ex60v","fj":"intl-phone-input__fj_ex60v","fk":"intl-phone-input__fk_ex60v","fm":"intl-phone-input__fm_ex60v","fo":"intl-phone-input__fo_ex60v","fr":"intl-phone-input__fr_ex60v","ga":"intl-phone-input__ga_ex60v","gb":"intl-phone-input__gb_ex60v","gd":"intl-phone-input__gd_ex60v","ge":"intl-phone-input__ge_ex60v","gf":"intl-phone-input__gf_ex60v","gg":"intl-phone-input__gg_ex60v","gh":"intl-phone-input__gh_ex60v","gi":"intl-phone-input__gi_ex60v","gl":"intl-phone-input__gl_ex60v","gm":"intl-phone-input__gm_ex60v","gn":"intl-phone-input__gn_ex60v","gp":"intl-phone-input__gp_ex60v","gq":"intl-phone-input__gq_ex60v","gr":"intl-phone-input__gr_ex60v","gs":"intl-phone-input__gs_ex60v","gt":"intl-phone-input__gt_ex60v","gu":"intl-phone-input__gu_ex60v","gw":"intl-phone-input__gw_ex60v","gy":"intl-phone-input__gy_ex60v","hk":"intl-phone-input__hk_ex60v","hm":"intl-phone-input__hm_ex60v","hn":"intl-phone-input__hn_ex60v","hr":"intl-phone-input__hr_ex60v","ht":"intl-phone-input__ht_ex60v","hu":"intl-phone-input__hu_ex60v","ic":"intl-phone-input__ic_ex60v","id":"intl-phone-input__id_ex60v","ie":"intl-phone-input__ie_ex60v","il":"intl-phone-input__il_ex60v","im":"intl-phone-input__im_ex60v","in":"intl-phone-input__in_ex60v","io":"intl-phone-input__io_ex60v","iq":"intl-phone-input__iq_ex60v","ir":"intl-phone-input__ir_ex60v","is":"intl-phone-input__is_ex60v","it":"intl-phone-input__it_ex60v","je":"intl-phone-input__je_ex60v","jm":"intl-phone-input__jm_ex60v","jo":"intl-phone-input__jo_ex60v","jp":"intl-phone-input__jp_ex60v","ke":"intl-phone-input__ke_ex60v","kg":"intl-phone-input__kg_ex60v","kh":"intl-phone-input__kh_ex60v","ki":"intl-phone-input__ki_ex60v","km":"intl-phone-input__km_ex60v","kn":"intl-phone-input__kn_ex60v","kp":"intl-phone-input__kp_ex60v","kr":"intl-phone-input__kr_ex60v","kw":"intl-phone-input__kw_ex60v","ky":"intl-phone-input__ky_ex60v","kz":"intl-phone-input__kz_ex60v","la":"intl-phone-input__la_ex60v","lb":"intl-phone-input__lb_ex60v","lc":"intl-phone-input__lc_ex60v","li":"intl-phone-input__li_ex60v","lk":"intl-phone-input__lk_ex60v","lr":"intl-phone-input__lr_ex60v","ls":"intl-phone-input__ls_ex60v","lt":"intl-phone-input__lt_ex60v","lu":"intl-phone-input__lu_ex60v","lv":"intl-phone-input__lv_ex60v","ly":"intl-phone-input__ly_ex60v","ma":"intl-phone-input__ma_ex60v","mc":"intl-phone-input__mc_ex60v","md":"intl-phone-input__md_ex60v","me":"intl-phone-input__me_ex60v","mf":"intl-phone-input__mf_ex60v","mg":"intl-phone-input__mg_ex60v","mh":"intl-phone-input__mh_ex60v","mk":"intl-phone-input__mk_ex60v","ml":"intl-phone-input__ml_ex60v","mm":"intl-phone-input__mm_ex60v","mn":"intl-phone-input__mn_ex60v","mo":"intl-phone-input__mo_ex60v","mp":"intl-phone-input__mp_ex60v","mq":"intl-phone-input__mq_ex60v","mr":"intl-phone-input__mr_ex60v","ms":"intl-phone-input__ms_ex60v","mt":"intl-phone-input__mt_ex60v","mu":"intl-phone-input__mu_ex60v","mv":"intl-phone-input__mv_ex60v","mw":"intl-phone-input__mw_ex60v","mx":"intl-phone-input__mx_ex60v","my":"intl-phone-input__my_ex60v","mz":"intl-phone-input__mz_ex60v","na":"intl-phone-input__na_ex60v","nc":"intl-phone-input__nc_ex60v","ne":"intl-phone-input__ne_ex60v","nf":"intl-phone-input__nf_ex60v","ng":"intl-phone-input__ng_ex60v","ni":"intl-phone-input__ni_ex60v","nl":"intl-phone-input__nl_ex60v","no":"intl-phone-input__no_ex60v","np":"intl-phone-input__np_ex60v","nr":"intl-phone-input__nr_ex60v","nu":"intl-phone-input__nu_ex60v","nz":"intl-phone-input__nz_ex60v","om":"intl-phone-input__om_ex60v","pa":"intl-phone-input__pa_ex60v","pe":"intl-phone-input__pe_ex60v","pf":"intl-phone-input__pf_ex60v","pg":"intl-phone-input__pg_ex60v","ph":"intl-phone-input__ph_ex60v","pk":"intl-phone-input__pk_ex60v","pl":"intl-phone-input__pl_ex60v","pm":"intl-phone-input__pm_ex60v","pn":"intl-phone-input__pn_ex60v","pr":"intl-phone-input__pr_ex60v","ps":"intl-phone-input__ps_ex60v","pt":"intl-phone-input__pt_ex60v","pw":"intl-phone-input__pw_ex60v","py":"intl-phone-input__py_ex60v","qa":"intl-phone-input__qa_ex60v","re":"intl-phone-input__re_ex60v","ro":"intl-phone-input__ro_ex60v","rs":"intl-phone-input__rs_ex60v","ru":"intl-phone-input__ru_ex60v","rw":"intl-phone-input__rw_ex60v","sa":"intl-phone-input__sa_ex60v","sb":"intl-phone-input__sb_ex60v","sc":"intl-phone-input__sc_ex60v","sd":"intl-phone-input__sd_ex60v","se":"intl-phone-input__se_ex60v","sg":"intl-phone-input__sg_ex60v","sh":"intl-phone-input__sh_ex60v","si":"intl-phone-input__si_ex60v","sj":"intl-phone-input__sj_ex60v","sk":"intl-phone-input__sk_ex60v","sl":"intl-phone-input__sl_ex60v","sm":"intl-phone-input__sm_ex60v","sn":"intl-phone-input__sn_ex60v","so":"intl-phone-input__so_ex60v","sr":"intl-phone-input__sr_ex60v","ss":"intl-phone-input__ss_ex60v","st":"intl-phone-input__st_ex60v","sv":"intl-phone-input__sv_ex60v","sx":"intl-phone-input__sx_ex60v","sy":"intl-phone-input__sy_ex60v","sz":"intl-phone-input__sz_ex60v","ta":"intl-phone-input__ta_ex60v","tc":"intl-phone-input__tc_ex60v","td":"intl-phone-input__td_ex60v","tf":"intl-phone-input__tf_ex60v","tg":"intl-phone-input__tg_ex60v","th":"intl-phone-input__th_ex60v","tj":"intl-phone-input__tj_ex60v","tk":"intl-phone-input__tk_ex60v","tl":"intl-phone-input__tl_ex60v","tm":"intl-phone-input__tm_ex60v","tn":"intl-phone-input__tn_ex60v","to":"intl-phone-input__to_ex60v","tr":"intl-phone-input__tr_ex60v","tt":"intl-phone-input__tt_ex60v","tv":"intl-phone-input__tv_ex60v","tw":"intl-phone-input__tw_ex60v","tz":"intl-phone-input__tz_ex60v","ua":"intl-phone-input__ua_ex60v","ug":"intl-phone-input__ug_ex60v","um":"intl-phone-input__um_ex60v","un":"intl-phone-input__un_ex60v","us":"intl-phone-input__us_ex60v","uy":"intl-phone-input__uy_ex60v","uz":"intl-phone-input__uz_ex60v","va":"intl-phone-input__va_ex60v","vc":"intl-phone-input__vc_ex60v","ve":"intl-phone-input__ve_ex60v","vg":"intl-phone-input__vg_ex60v","vi":"intl-phone-input__vi_ex60v","vn":"intl-phone-input__vn_ex60v","vu":"intl-phone-input__vu_ex60v","wf":"intl-phone-input__wf_ex60v","ws":"intl-phone-input__ws_ex60v","xk":"intl-phone-input__xk_ex60v","ye":"intl-phone-input__ye_ex60v","yt":"intl-phone-input__yt_ex60v","za":"intl-phone-input__za_ex60v","zm":"intl-phone-input__zm_ex60v","zw":"intl-phone-input__zw_ex60v"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
/**
|