@woosmap/ui 4.201.0 → 4.202.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/package.json
CHANGED
|
@@ -394,12 +394,9 @@ export default class AutocompleteAddressDemo extends Component {
|
|
|
394
394
|
|
|
395
395
|
render() {
|
|
396
396
|
const { withMap, error, selectedLocality } = this.state;
|
|
397
|
-
|
|
397
|
+
|
|
398
398
|
return (
|
|
399
|
-
<article
|
|
400
|
-
className={`showcase showcase--autocomplete ${isDarkMode ? 'showcase-dark' : ''}`}
|
|
401
|
-
id="autocomplete-demo"
|
|
402
|
-
>
|
|
399
|
+
<article className="showcase showcase--autocomplete" id="autocomplete-demo">
|
|
403
400
|
{withMap && <Script url={Constants.woosmapMapSdkUrl} />}
|
|
404
401
|
<div className="showcase-wrapper">
|
|
405
402
|
<h2 className="showcase-title">Autocomplete Demo</h2>
|
|
@@ -445,10 +442,8 @@ export default class AutocompleteAddressDemo extends Component {
|
|
|
445
442
|
}
|
|
446
443
|
|
|
447
444
|
AutocompleteAddressDemo.defaultProps = {
|
|
448
|
-
isDarkMode: false,
|
|
449
445
|
country: null,
|
|
450
446
|
};
|
|
451
447
|
AutocompleteAddressDemo.propTypes = {
|
|
452
|
-
isDarkMode: PropTypes.bool,
|
|
453
448
|
country: PropTypes.string,
|
|
454
449
|
};
|
|
@@ -185,31 +185,32 @@ $darkSec = $dark20
|
|
|
185
185
|
border-radius 0 $borderRadius 0 0 !important
|
|
186
186
|
&__menu
|
|
187
187
|
border-radius 0 0 $borderRadius $borderRadius !important
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
color $light
|
|
199
|
-
&__item:not([type=button]):not([type=checkbox]):not([type=radio]):not([type=textarea])
|
|
200
|
-
background-color $darkSec
|
|
201
|
-
border .1rem solid $dark40
|
|
202
|
-
color $light
|
|
203
|
-
placeHolderColor($light20)
|
|
204
|
-
&-request
|
|
205
|
-
background-color $darkMain
|
|
206
|
-
border-color $dark
|
|
207
|
-
&-response
|
|
208
|
-
background-color #0d122d
|
|
209
|
-
h4
|
|
188
|
+
.showcase-dark
|
|
189
|
+
.showcase
|
|
190
|
+
&-header
|
|
191
|
+
border .1rem solid $dark
|
|
192
|
+
.showcase-filter:not(:last-child)
|
|
193
|
+
border-right .1rem solid $light10
|
|
194
|
+
&-result
|
|
195
|
+
border .1rem solid $dark
|
|
196
|
+
.input
|
|
197
|
+
&__label
|
|
210
198
|
color $light
|
|
211
|
-
|
|
212
|
-
color $
|
|
199
|
+
&__item:not([type=button]):not([type=checkbox]):not([type=radio]):not([type=textarea])
|
|
200
|
+
background-color $darkSec
|
|
201
|
+
border .1rem solid $dark40
|
|
202
|
+
color $light
|
|
203
|
+
placeHolderColor($light20)
|
|
204
|
+
&-request
|
|
205
|
+
background-color $darkMain
|
|
206
|
+
border-color $dark
|
|
207
|
+
&-response
|
|
208
|
+
background-color #0d122d
|
|
209
|
+
h4
|
|
210
|
+
color $light
|
|
211
|
+
pre
|
|
212
|
+
color $light !important
|
|
213
|
+
.showcase
|
|
213
214
|
&.showcase--autocomplete
|
|
214
215
|
.select
|
|
215
216
|
.asyncselect
|
|
@@ -245,36 +246,36 @@ $darkSec = $dark20
|
|
|
245
246
|
&--is-focused:not(.select__option--is-selected)
|
|
246
247
|
color $light !important
|
|
247
248
|
background-color #2a3ea0!important
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
&:after
|
|
262
|
-
background $dark20
|
|
263
|
-
&:hover
|
|
264
|
-
&:after
|
|
265
|
-
background $dark20
|
|
249
|
+
.tab
|
|
250
|
+
background-color $darkMain
|
|
251
|
+
&__header
|
|
252
|
+
&__buttons
|
|
253
|
+
li
|
|
254
|
+
&:not(:last-child)
|
|
255
|
+
border-right .1rem solid $dark60
|
|
256
|
+
.btn--tab
|
|
257
|
+
color $light60
|
|
258
|
+
background-color $dark30
|
|
259
|
+
&:disabled
|
|
260
|
+
color $light60 !important
|
|
261
|
+
background-color $dark50 !important
|
|
266
262
|
&:after
|
|
267
263
|
background $dark20
|
|
268
264
|
&:hover
|
|
269
|
-
color $light
|
|
270
|
-
background $dark50
|
|
271
265
|
&:after
|
|
272
|
-
background $
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
266
|
+
background $dark20
|
|
267
|
+
&:after
|
|
268
|
+
background $dark20
|
|
269
|
+
&:hover
|
|
270
|
+
color $light
|
|
271
|
+
background $dark50
|
|
272
|
+
&:after
|
|
273
|
+
background $dark80
|
|
274
|
+
&.active
|
|
275
|
+
color $light
|
|
276
|
+
background-color transparent
|
|
277
|
+
&:after
|
|
278
|
+
background $darkMain
|
|
279
|
+
&:hover
|
|
276
280
|
&:after
|
|
277
|
-
background $darkMain
|
|
278
|
-
&:hover
|
|
279
|
-
&:after
|
|
280
|
-
background $darkMain
|
|
281
|
+
background $darkMain
|