@streamlayer/react 0.8.5 → 0.9.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/lib/cjs/index.css +1 -98
- package/lib/cjs/index.js +534 -28340
- package/lib/esm/index.css +1 -98
- package/lib/esm/index.js +534 -28337
- package/package.json +15 -1
package/lib/esm/index.css
CHANGED
|
@@ -1,98 +1 @@
|
|
|
1
|
-
|
|
2
|
-
:root {
|
|
3
|
-
--PhoneInput-color--focus: #03b2cb;
|
|
4
|
-
--PhoneInputInternationalIconPhone-opacity: 0.8;
|
|
5
|
-
--PhoneInputInternationalIconGlobe-opacity: 0.65;
|
|
6
|
-
--PhoneInputCountrySelect-marginRight: 0.35em;
|
|
7
|
-
--PhoneInputCountrySelectArrow-width: 0.3em;
|
|
8
|
-
--PhoneInputCountrySelectArrow-marginLeft: var(--PhoneInputCountrySelect-marginRight);
|
|
9
|
-
--PhoneInputCountrySelectArrow-borderWidth: 1px;
|
|
10
|
-
--PhoneInputCountrySelectArrow-opacity: 0.45;
|
|
11
|
-
--PhoneInputCountrySelectArrow-color: currentColor;
|
|
12
|
-
--PhoneInputCountrySelectArrow-color--focus: var(--PhoneInput-color--focus);
|
|
13
|
-
--PhoneInputCountrySelectArrow-transform: rotate(45deg);
|
|
14
|
-
--PhoneInputCountryFlag-aspectRatio: 1.5;
|
|
15
|
-
--PhoneInputCountryFlag-height: 1em;
|
|
16
|
-
--PhoneInputCountryFlag-borderWidth: 1px;
|
|
17
|
-
--PhoneInputCountryFlag-borderColor: rgba(0,0,0,0.5);
|
|
18
|
-
--PhoneInputCountryFlag-borderColor--focus: var(--PhoneInput-color--focus);
|
|
19
|
-
--PhoneInputCountryFlag-backgroundColor--loading: rgba(0,0,0,0.1);
|
|
20
|
-
}
|
|
21
|
-
.PhoneInput {
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
}
|
|
25
|
-
.PhoneInputInput {
|
|
26
|
-
flex: 1;
|
|
27
|
-
min-width: 0;
|
|
28
|
-
}
|
|
29
|
-
.PhoneInputCountryIcon {
|
|
30
|
-
width: calc(var(--PhoneInputCountryFlag-height) * var(--PhoneInputCountryFlag-aspectRatio));
|
|
31
|
-
height: var(--PhoneInputCountryFlag-height);
|
|
32
|
-
}
|
|
33
|
-
.PhoneInputCountryIcon--square {
|
|
34
|
-
width: var(--PhoneInputCountryFlag-height);
|
|
35
|
-
}
|
|
36
|
-
.PhoneInputCountryIcon--border {
|
|
37
|
-
background-color: var(--PhoneInputCountryFlag-backgroundColor--loading);
|
|
38
|
-
box-shadow: 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor), inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor);
|
|
39
|
-
}
|
|
40
|
-
.PhoneInputCountryIconImg {
|
|
41
|
-
display: block;
|
|
42
|
-
width: 100%;
|
|
43
|
-
height: 100%;
|
|
44
|
-
}
|
|
45
|
-
.PhoneInputInternationalIconPhone {
|
|
46
|
-
opacity: var(--PhoneInputInternationalIconPhone-opacity);
|
|
47
|
-
}
|
|
48
|
-
.PhoneInputInternationalIconGlobe {
|
|
49
|
-
opacity: var(--PhoneInputInternationalIconGlobe-opacity);
|
|
50
|
-
}
|
|
51
|
-
.PhoneInputCountry {
|
|
52
|
-
position: relative;
|
|
53
|
-
align-self: stretch;
|
|
54
|
-
display: flex;
|
|
55
|
-
align-items: center;
|
|
56
|
-
margin-right: var(--PhoneInputCountrySelect-marginRight);
|
|
57
|
-
}
|
|
58
|
-
.PhoneInputCountrySelect {
|
|
59
|
-
position: absolute;
|
|
60
|
-
top: 0;
|
|
61
|
-
left: 0;
|
|
62
|
-
height: 100%;
|
|
63
|
-
width: 100%;
|
|
64
|
-
z-index: 1;
|
|
65
|
-
border: 0;
|
|
66
|
-
opacity: 0;
|
|
67
|
-
cursor: pointer;
|
|
68
|
-
}
|
|
69
|
-
.PhoneInputCountrySelect[disabled],
|
|
70
|
-
.PhoneInputCountrySelect[readonly] {
|
|
71
|
-
cursor: default;
|
|
72
|
-
}
|
|
73
|
-
.PhoneInputCountrySelectArrow {
|
|
74
|
-
display: block;
|
|
75
|
-
content: "";
|
|
76
|
-
width: var(--PhoneInputCountrySelectArrow-width);
|
|
77
|
-
height: var(--PhoneInputCountrySelectArrow-width);
|
|
78
|
-
margin-left: var(--PhoneInputCountrySelectArrow-marginLeft);
|
|
79
|
-
border-style: solid;
|
|
80
|
-
border-color: var(--PhoneInputCountrySelectArrow-color);
|
|
81
|
-
border-top-width: 0;
|
|
82
|
-
border-bottom-width: var(--PhoneInputCountrySelectArrow-borderWidth);
|
|
83
|
-
border-left-width: 0;
|
|
84
|
-
border-right-width: var(--PhoneInputCountrySelectArrow-borderWidth);
|
|
85
|
-
transform: var(--PhoneInputCountrySelectArrow-transform);
|
|
86
|
-
opacity: var(--PhoneInputCountrySelectArrow-opacity);
|
|
87
|
-
}
|
|
88
|
-
.PhoneInputCountrySelect:focus + .PhoneInputCountryIcon + .PhoneInputCountrySelectArrow {
|
|
89
|
-
opacity: 1;
|
|
90
|
-
color: var(--PhoneInputCountrySelectArrow-color--focus);
|
|
91
|
-
}
|
|
92
|
-
.PhoneInputCountrySelect:focus + .PhoneInputCountryIcon--border {
|
|
93
|
-
box-shadow: 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus), inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus);
|
|
94
|
-
}
|
|
95
|
-
.PhoneInputCountrySelect:focus + .PhoneInputCountryIcon .PhoneInputInternationalIconGlobe {
|
|
96
|
-
opacity: 1;
|
|
97
|
-
color: var(--PhoneInputCountrySelectArrow-color--focus);
|
|
98
|
-
}
|
|
1
|
+
:root{--PhoneInput-color--focus: #03b2cb;--PhoneInputInternationalIconPhone-opacity: .8;--PhoneInputInternationalIconGlobe-opacity: .65;--PhoneInputCountrySelect-marginRight: .35em;--PhoneInputCountrySelectArrow-width: .3em;--PhoneInputCountrySelectArrow-marginLeft: var(--PhoneInputCountrySelect-marginRight);--PhoneInputCountrySelectArrow-borderWidth: 1px;--PhoneInputCountrySelectArrow-opacity: .45;--PhoneInputCountrySelectArrow-color: currentColor;--PhoneInputCountrySelectArrow-color--focus: var(--PhoneInput-color--focus);--PhoneInputCountrySelectArrow-transform: rotate(45deg);--PhoneInputCountryFlag-aspectRatio: 1.5;--PhoneInputCountryFlag-height: 1em;--PhoneInputCountryFlag-borderWidth: 1px;--PhoneInputCountryFlag-borderColor: rgba(0,0,0,.5);--PhoneInputCountryFlag-borderColor--focus: var(--PhoneInput-color--focus);--PhoneInputCountryFlag-backgroundColor--loading: rgba(0,0,0,.1)}.PhoneInput{display:flex;align-items:center}.PhoneInputInput{flex:1;min-width:0}.PhoneInputCountryIcon{width:calc(var(--PhoneInputCountryFlag-height) * var(--PhoneInputCountryFlag-aspectRatio));height:var(--PhoneInputCountryFlag-height)}.PhoneInputCountryIcon--square{width:var(--PhoneInputCountryFlag-height)}.PhoneInputCountryIcon--border{background-color:var(--PhoneInputCountryFlag-backgroundColor--loading);box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor),inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor)}.PhoneInputCountryIconImg{display:block;width:100%;height:100%}.PhoneInputInternationalIconPhone{opacity:var(--PhoneInputInternationalIconPhone-opacity)}.PhoneInputInternationalIconGlobe{opacity:var(--PhoneInputInternationalIconGlobe-opacity)}.PhoneInputCountry{position:relative;align-self:stretch;display:flex;align-items:center;margin-right:var(--PhoneInputCountrySelect-marginRight)}.PhoneInputCountrySelect{position:absolute;top:0;left:0;height:100%;width:100%;z-index:1;border:0;opacity:0;cursor:pointer}.PhoneInputCountrySelect[disabled],.PhoneInputCountrySelect[readonly]{cursor:default}.PhoneInputCountrySelectArrow{display:block;content:"";width:var(--PhoneInputCountrySelectArrow-width);height:var(--PhoneInputCountrySelectArrow-width);margin-left:var(--PhoneInputCountrySelectArrow-marginLeft);border-style:solid;border-color:var(--PhoneInputCountrySelectArrow-color);border-top-width:0;border-bottom-width:var(--PhoneInputCountrySelectArrow-borderWidth);border-left-width:0;border-right-width:var(--PhoneInputCountrySelectArrow-borderWidth);transform:var(--PhoneInputCountrySelectArrow-transform);opacity:var(--PhoneInputCountrySelectArrow-opacity)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon+.PhoneInputCountrySelectArrow{opacity:1;color:var(--PhoneInputCountrySelectArrow-color--focus)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon--border{box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus),inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon .PhoneInputInternationalIconGlobe{opacity:1;color:var(--PhoneInputCountrySelectArrow-color--focus)}
|