@streamlayer/react 0.2.12 → 0.4.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/README.md +6 -0
- package/lib/cjs/index.css +98 -0
- package/lib/cjs/index.js +33526 -0
- package/lib/esm/index.css +98 -0
- package/lib/esm/index.js +33523 -0
- package/lib/index.d.ts +1739 -0
- package/package.json +13 -12
- package/main.cjs +0 -3111
- package/main.js +0 -3081
package/README.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/* node_modules/.pnpm/react-phone-number-input@3.3.6_react-dom@18.2.0_react@18.2.0/node_modules/react-phone-number-input/style.css */
|
|
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
|
+
}
|