intl-tel-input 19.1.1 → 19.2.0
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/build/css/demo.css +5 -0
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/intlTelInput-jquery.js +2 -2
- package/build/js/intlTelInput-jquery.min.js +2 -2
- package/build/js/intlTelInput.js +2 -2
- package/build/js/intlTelInput.min.js +2 -2
- package/composer.json +1 -1
- package/grunt/jasmine.js +0 -2
- package/index.js +0 -3
- package/package.json +10 -5
- package/react/DemoApp.js +50 -0
- package/react/IntlTelInput.js +94 -0
- package/react/demo-bundle.js +25972 -0
- package/react/demo.html +18 -0
- package/src/css/demo.scss +6 -0
package/react/demo.html
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
+
<title>IntlTelInput React Component</title>
|
|
8
|
+
<link rel="stylesheet" href="../build/css/intlTelInput.css" />
|
|
9
|
+
<link rel="stylesheet" href="../build/css/demo.css" />
|
|
10
|
+
</head>
|
|
11
|
+
|
|
12
|
+
<body>
|
|
13
|
+
<h1>IntlTelInput React Component</h1>
|
|
14
|
+
<div id="app"></div>
|
|
15
|
+
<script src="./demo-bundle.js"></script>
|
|
16
|
+
</body>
|
|
17
|
+
|
|
18
|
+
</html>
|
package/src/css/demo.scss
CHANGED
|
@@ -41,9 +41,15 @@ button {
|
|
|
41
41
|
color: #fff;
|
|
42
42
|
background-color: #428bca;
|
|
43
43
|
border: 1px solid #357ebd;
|
|
44
|
+
margin-left: 5px;
|
|
44
45
|
&:hover {
|
|
45
46
|
background-color: #3276b1;
|
|
46
47
|
border-color: #285e8e;
|
|
47
48
|
cursor: pointer;
|
|
48
49
|
}
|
|
49
50
|
}
|
|
51
|
+
|
|
52
|
+
// for react demo
|
|
53
|
+
.notice {
|
|
54
|
+
margin-top: 15px;
|
|
55
|
+
}
|