@npm_leadtech/legal-lib-components 7.106.34 → 7.106.36
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/dist/src/components/atoms/SearchSelect/SearchSelect.d.ts +1 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.js +1 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +2 -0
- package/dist/src/components/atoms/SearchSelect/stateFlags/stateFlags.scss +177 -0
- package/dist/src/components/atoms/SearchSelect/stateFlags/us-states-sprite.png +0 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import Select from 'react-select';
|
|
|
5
5
|
import { SearchSelectStyled } from './SearchSelect.styled';
|
|
6
6
|
import classNames from 'classnames';
|
|
7
7
|
import error from '../../../../images/svg/info-error_24px_outlined.svg';
|
|
8
|
+
import './stateFlags/stateFlags.scss';
|
|
8
9
|
export var MenuPlacement;
|
|
9
10
|
(function (MenuPlacement) {
|
|
10
11
|
MenuPlacement["top"] = "top";
|
|
@@ -8,6 +8,8 @@ import { SearchSelectStyled } from './SearchSelect.styled'
|
|
|
8
8
|
import classNames from 'classnames'
|
|
9
9
|
import error from '../../../../images/svg/info-error_24px_outlined.svg'
|
|
10
10
|
|
|
11
|
+
import './stateFlags/stateFlags.scss'
|
|
12
|
+
|
|
11
13
|
export enum MenuPlacement {
|
|
12
14
|
top = 'top',
|
|
13
15
|
bottom = 'bottom',
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
// Generado desde flags-us-sprite-42x32.json (53 celdas 42x32, bandera 32x32 centrada). No editar a mano.
|
|
2
|
+
$state-flag-width: 21px;
|
|
3
|
+
$state-flag-height: 16px;
|
|
4
|
+
$state-flag-step-x: 23px;
|
|
5
|
+
$state-flag-step-y: 18px;
|
|
6
|
+
$state-flag-sprite-width: 182px;
|
|
7
|
+
$state-flag-sprite-height: 124px;
|
|
8
|
+
|
|
9
|
+
.state-flag {
|
|
10
|
+
display: inline-block;
|
|
11
|
+
width: $state-flag-width;
|
|
12
|
+
height: $state-flag-height;
|
|
13
|
+
flex: 0 0 auto;
|
|
14
|
+
background-image: url('./us-states-sprite.png');
|
|
15
|
+
background-repeat: no-repeat;
|
|
16
|
+
background-size: $state-flag-sprite-width $state-flag-sprite-height;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.state-flag-alabama {
|
|
20
|
+
background-position: -0px -0px;
|
|
21
|
+
}
|
|
22
|
+
.state-flag-alaska {
|
|
23
|
+
background-position: -23px -0px;
|
|
24
|
+
}
|
|
25
|
+
.state-flag-arizona {
|
|
26
|
+
background-position: -46px -0px;
|
|
27
|
+
}
|
|
28
|
+
.state-flag-arkansas {
|
|
29
|
+
background-position: -69px -0px;
|
|
30
|
+
}
|
|
31
|
+
.state-flag-california {
|
|
32
|
+
background-position: -92px -0px;
|
|
33
|
+
}
|
|
34
|
+
.state-flag-colorado {
|
|
35
|
+
background-position: -115px -0px;
|
|
36
|
+
}
|
|
37
|
+
.state-flag-connecticut {
|
|
38
|
+
background-position: -138px -0px;
|
|
39
|
+
}
|
|
40
|
+
.state-flag-delaware {
|
|
41
|
+
background-position: -161px -0px;
|
|
42
|
+
}
|
|
43
|
+
.state-flag-district-of-columbia {
|
|
44
|
+
background-position: -0px -18px;
|
|
45
|
+
}
|
|
46
|
+
.state-flag-florida {
|
|
47
|
+
background-position: -23px -18px;
|
|
48
|
+
}
|
|
49
|
+
.state-flag-georgia {
|
|
50
|
+
background-position: -46px -18px;
|
|
51
|
+
}
|
|
52
|
+
.state-flag-guam {
|
|
53
|
+
background-position: -69px -18px;
|
|
54
|
+
}
|
|
55
|
+
.state-flag-hawaii {
|
|
56
|
+
background-position: -92px -18px;
|
|
57
|
+
}
|
|
58
|
+
.state-flag-idaho {
|
|
59
|
+
background-position: -115px -18px;
|
|
60
|
+
}
|
|
61
|
+
.state-flag-illinois {
|
|
62
|
+
background-position: -138px -18px;
|
|
63
|
+
}
|
|
64
|
+
.state-flag-indiana {
|
|
65
|
+
background-position: -161px -18px;
|
|
66
|
+
}
|
|
67
|
+
.state-flag-iowa {
|
|
68
|
+
background-position: -0px -36px;
|
|
69
|
+
}
|
|
70
|
+
.state-flag-kansas {
|
|
71
|
+
background-position: -23px -36px;
|
|
72
|
+
}
|
|
73
|
+
.state-flag-kentucky {
|
|
74
|
+
background-position: -46px -36px;
|
|
75
|
+
}
|
|
76
|
+
.state-flag-louisiana {
|
|
77
|
+
background-position: -69px -36px;
|
|
78
|
+
}
|
|
79
|
+
.state-flag-maine {
|
|
80
|
+
background-position: -92px -36px;
|
|
81
|
+
}
|
|
82
|
+
.state-flag-maryland {
|
|
83
|
+
background-position: -115px -36px;
|
|
84
|
+
}
|
|
85
|
+
.state-flag-massachusetts {
|
|
86
|
+
background-position: -138px -36px;
|
|
87
|
+
}
|
|
88
|
+
.state-flag-michigan {
|
|
89
|
+
background-position: -161px -36px;
|
|
90
|
+
}
|
|
91
|
+
.state-flag-minnesota {
|
|
92
|
+
background-position: -0px -54px;
|
|
93
|
+
}
|
|
94
|
+
.state-flag-mississippi {
|
|
95
|
+
background-position: -23px -54px;
|
|
96
|
+
}
|
|
97
|
+
.state-flag-missouri {
|
|
98
|
+
background-position: -46px -54px;
|
|
99
|
+
}
|
|
100
|
+
.state-flag-montana {
|
|
101
|
+
background-position: -69px -54px;
|
|
102
|
+
}
|
|
103
|
+
.state-flag-nebraska {
|
|
104
|
+
background-position: -92px -54px;
|
|
105
|
+
}
|
|
106
|
+
.state-flag-nevada {
|
|
107
|
+
background-position: -115px -54px;
|
|
108
|
+
}
|
|
109
|
+
.state-flag-new-hampshire {
|
|
110
|
+
background-position: -138px -54px;
|
|
111
|
+
}
|
|
112
|
+
.state-flag-new-jersey {
|
|
113
|
+
background-position: -161px -54px;
|
|
114
|
+
}
|
|
115
|
+
.state-flag-new-mexico {
|
|
116
|
+
background-position: -0px -72px;
|
|
117
|
+
}
|
|
118
|
+
.state-flag-new-york {
|
|
119
|
+
background-position: -23px -72px;
|
|
120
|
+
}
|
|
121
|
+
.state-flag-north-carolina {
|
|
122
|
+
background-position: -46px -72px;
|
|
123
|
+
}
|
|
124
|
+
.state-flag-north-dakota {
|
|
125
|
+
background-position: -69px -72px;
|
|
126
|
+
}
|
|
127
|
+
.state-flag-ohio {
|
|
128
|
+
background-position: -92px -72px;
|
|
129
|
+
}
|
|
130
|
+
.state-flag-oklahoma {
|
|
131
|
+
background-position: -115px -72px;
|
|
132
|
+
}
|
|
133
|
+
.state-flag-oregon {
|
|
134
|
+
background-position: -138px -72px;
|
|
135
|
+
}
|
|
136
|
+
.state-flag-pennsylvania {
|
|
137
|
+
background-position: -161px -72px;
|
|
138
|
+
}
|
|
139
|
+
.state-flag-puerto-rico {
|
|
140
|
+
background-position: -0px -90px;
|
|
141
|
+
}
|
|
142
|
+
.state-flag-rhode-island {
|
|
143
|
+
background-position: -23px -90px;
|
|
144
|
+
}
|
|
145
|
+
.state-flag-south-carolina {
|
|
146
|
+
background-position: -46px -90px;
|
|
147
|
+
}
|
|
148
|
+
.state-flag-south-dakota {
|
|
149
|
+
background-position: -69px -90px;
|
|
150
|
+
}
|
|
151
|
+
.state-flag-tennessee {
|
|
152
|
+
background-position: -92px -90px;
|
|
153
|
+
}
|
|
154
|
+
.state-flag-texas {
|
|
155
|
+
background-position: -115px -90px;
|
|
156
|
+
}
|
|
157
|
+
.state-flag-utah {
|
|
158
|
+
background-position: -138px -90px;
|
|
159
|
+
}
|
|
160
|
+
.state-flag-vermont {
|
|
161
|
+
background-position: -161px -90px;
|
|
162
|
+
}
|
|
163
|
+
.state-flag-virginia {
|
|
164
|
+
background-position: -0px -108px;
|
|
165
|
+
}
|
|
166
|
+
.state-flag-washington {
|
|
167
|
+
background-position: -23px -108px;
|
|
168
|
+
}
|
|
169
|
+
.state-flag-west-virginia {
|
|
170
|
+
background-position: -46px -108px;
|
|
171
|
+
}
|
|
172
|
+
.state-flag-wisconsin {
|
|
173
|
+
background-position: -69px -108px;
|
|
174
|
+
}
|
|
175
|
+
.state-flag-wyoming {
|
|
176
|
+
background-position: -92px -108px;
|
|
177
|
+
}
|