@skyux/phone-field 7.10.0 → 7.10.1
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/documentation.json +24 -24
- package/esm2020/lib/modules/phone-field/phone-field.component.mjs +50 -15
- package/fesm2015/skyux-phone-field.mjs +49 -15
- package/fesm2015/skyux-phone-field.mjs.map +1 -1
- package/fesm2020/skyux-phone-field.mjs +49 -15
- package/fesm2020/skyux-phone-field.mjs.map +1 -1
- package/package.json +7 -7
package/documentation.json
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"name": "Component"
|
|
68
68
|
},
|
|
69
69
|
"arguments": {
|
|
70
|
-
"obj": "{\n selector: 'sky-phone-field',\n templateUrl: './phone-field.component.html',\n styleUrls: ['./phone-field.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n SkyPhoneFieldAdapterService,\n // Prevents the embedded country field component from changing its behavior based on\n // being inside an input box. The phone field itself will handle the required changes\n // for input box.\n {\n provide: SkyInputBoxHostService,\n useValue: undefined,\n },\n ],\n animations: [\n trigger('blockAnimationOnLoad', [transition(':enter', [])]),\n trigger('countrySearchAnimation', [\n transition('
|
|
70
|
+
"obj": "{\n selector: 'sky-phone-field',\n templateUrl: './phone-field.component.html',\n styleUrls: ['./phone-field.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n SkyPhoneFieldAdapterService,\n // Prevents the embedded country field component from changing its behavior based on\n // being inside an input box. The phone field itself will handle the required changes\n // for input box.\n {\n provide: SkyInputBoxHostService,\n useValue: undefined,\n },\n {\n provide: SKY_COUNTRY_FIELD_CONTEXT,\n useValue: { showPlaceholderText: true },\n },\n ],\n animations: [\n trigger('blockAnimationOnLoad', [transition(':enter', [])]),\n trigger('countrySearchAnimation', [\n transition('void => open', [\n style({\n opacity: 0,\n width: 0,\n }),\n animate(\n '200ms ease-in',\n style({\n opacity: 1,\n width: '*',\n })\n ),\n ]),\n transition('open => void', [\n animate(\n '200ms ease-in',\n style({\n opacity: 0,\n width: 0,\n })\n ),\n ]),\n transition('void => open-modern', [\n style({\n opacity: 0,\n }),\n animate(\n '200ms ease-in',\n style({\n opacity: 1,\n })\n ),\n ]),\n transition('open-modern => void', [\n animate(\n '200ms ease-in',\n style({\n opacity: 0,\n })\n ),\n ]),\n ]),\n trigger('phoneInputAnimation', [\n transition('void => open', [\n style({\n opacity: 0,\n }),\n animate(\n '200ms ease-in',\n style({\n opacity: 1,\n })\n ),\n ]),\n transition('open => void', [\n animate(\n '200ms ease-in',\n style({\n opacity: 0,\n })\n ),\n ]),\n ]),\n ],\n}"
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
],
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"sources": [
|
|
82
82
|
{
|
|
83
83
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
84
|
-
"line":
|
|
84
|
+
"line": 284,
|
|
85
85
|
"character": 2
|
|
86
86
|
}
|
|
87
87
|
],
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
"sources": [
|
|
226
226
|
{
|
|
227
227
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
228
|
-
"line":
|
|
228
|
+
"line": 263,
|
|
229
229
|
"character": 9
|
|
230
230
|
}
|
|
231
231
|
],
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
"sources": [
|
|
254
254
|
{
|
|
255
255
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
256
|
-
"line":
|
|
256
|
+
"line": 202,
|
|
257
257
|
"character": 9
|
|
258
258
|
}
|
|
259
259
|
],
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
"sources": [
|
|
293
293
|
{
|
|
294
294
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
295
|
-
"line":
|
|
295
|
+
"line": 257,
|
|
296
296
|
"character": 9
|
|
297
297
|
}
|
|
298
298
|
],
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
"sources": [
|
|
321
321
|
{
|
|
322
322
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
323
|
-
"line":
|
|
323
|
+
"line": 210,
|
|
324
324
|
"character": 9
|
|
325
325
|
}
|
|
326
326
|
],
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
"sources": [
|
|
346
346
|
{
|
|
347
347
|
"fileName": "src/lib/modules/phone-field/phone-field.component.ts",
|
|
348
|
-
"line":
|
|
348
|
+
"line": 211,
|
|
349
349
|
"character": 4
|
|
350
350
|
}
|
|
351
351
|
],
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
"sources": [
|
|
392
392
|
{
|
|
393
393
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
394
|
-
"line":
|
|
394
|
+
"line": 206,
|
|
395
395
|
"character": 9
|
|
396
396
|
}
|
|
397
397
|
],
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
"sources": [
|
|
413
413
|
{
|
|
414
414
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
415
|
-
"line":
|
|
415
|
+
"line": 204,
|
|
416
416
|
"character": 9
|
|
417
417
|
}
|
|
418
418
|
],
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
"sources": [
|
|
449
449
|
{
|
|
450
450
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
451
|
-
"line":
|
|
451
|
+
"line": 251,
|
|
452
452
|
"character": 9
|
|
453
453
|
}
|
|
454
454
|
],
|
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
"sources": [
|
|
477
477
|
{
|
|
478
478
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
479
|
-
"line":
|
|
479
|
+
"line": 208,
|
|
480
480
|
"character": 9
|
|
481
481
|
}
|
|
482
482
|
],
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
"sources": [
|
|
513
513
|
{
|
|
514
514
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
515
|
-
"line":
|
|
515
|
+
"line": 200,
|
|
516
516
|
"character": 9
|
|
517
517
|
}
|
|
518
518
|
],
|
|
@@ -557,7 +557,7 @@
|
|
|
557
557
|
"sources": [
|
|
558
558
|
{
|
|
559
559
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
560
|
-
"line":
|
|
560
|
+
"line": 192,
|
|
561
561
|
"character": 9
|
|
562
562
|
}
|
|
563
563
|
],
|
|
@@ -592,7 +592,7 @@
|
|
|
592
592
|
"sources": [
|
|
593
593
|
{
|
|
594
594
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
595
|
-
"line":
|
|
595
|
+
"line": 139,
|
|
596
596
|
"character": 13
|
|
597
597
|
}
|
|
598
598
|
],
|
|
@@ -677,7 +677,7 @@
|
|
|
677
677
|
"sources": [
|
|
678
678
|
{
|
|
679
679
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
680
|
-
"line":
|
|
680
|
+
"line": 157,
|
|
681
681
|
"character": 13
|
|
682
682
|
}
|
|
683
683
|
],
|
|
@@ -762,7 +762,7 @@
|
|
|
762
762
|
"sources": [
|
|
763
763
|
{
|
|
764
764
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
765
|
-
"line":
|
|
765
|
+
"line": 177,
|
|
766
766
|
"character": 13
|
|
767
767
|
}
|
|
768
768
|
],
|
|
@@ -849,7 +849,7 @@
|
|
|
849
849
|
"sources": [
|
|
850
850
|
{
|
|
851
851
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
852
|
-
"line":
|
|
852
|
+
"line": 218,
|
|
853
853
|
"character": 13
|
|
854
854
|
}
|
|
855
855
|
],
|
|
@@ -912,7 +912,7 @@
|
|
|
912
912
|
"sources": [
|
|
913
913
|
{
|
|
914
914
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
915
|
-
"line":
|
|
915
|
+
"line": 382,
|
|
916
916
|
"character": 9
|
|
917
917
|
}
|
|
918
918
|
],
|
|
@@ -956,7 +956,7 @@
|
|
|
956
956
|
"sources": [
|
|
957
957
|
{
|
|
958
958
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
959
|
-
"line":
|
|
959
|
+
"line": 349,
|
|
960
960
|
"character": 9
|
|
961
961
|
}
|
|
962
962
|
],
|
|
@@ -993,7 +993,7 @@
|
|
|
993
993
|
"sources": [
|
|
994
994
|
{
|
|
995
995
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
996
|
-
"line":
|
|
996
|
+
"line": 318,
|
|
997
997
|
"character": 9
|
|
998
998
|
}
|
|
999
999
|
],
|
|
@@ -1030,7 +1030,7 @@
|
|
|
1030
1030
|
"sources": [
|
|
1031
1031
|
{
|
|
1032
1032
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
1033
|
-
"line":
|
|
1033
|
+
"line": 392,
|
|
1034
1034
|
"character": 9
|
|
1035
1035
|
}
|
|
1036
1036
|
],
|
|
@@ -1074,7 +1074,7 @@
|
|
|
1074
1074
|
"sources": [
|
|
1075
1075
|
{
|
|
1076
1076
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
1077
|
-
"line":
|
|
1077
|
+
"line": 405,
|
|
1078
1078
|
"character": 9
|
|
1079
1079
|
}
|
|
1080
1080
|
],
|
|
@@ -1116,7 +1116,7 @@
|
|
|
1116
1116
|
"sources": [
|
|
1117
1117
|
{
|
|
1118
1118
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
1119
|
-
"line":
|
|
1119
|
+
"line": 368,
|
|
1120
1120
|
"character": 9
|
|
1121
1121
|
}
|
|
1122
1122
|
],
|
|
@@ -1200,7 +1200,7 @@
|
|
|
1200
1200
|
"sources": [
|
|
1201
1201
|
{
|
|
1202
1202
|
"fileName": "projects/phone-field/src/modules/phone-field/phone-field.component.ts",
|
|
1203
|
-
"line":
|
|
1203
|
+
"line": 133,
|
|
1204
1204
|
"character": 13
|
|
1205
1205
|
}
|
|
1206
1206
|
],
|