@woosmap/ui 4.202.0 → 4.205.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.202.0",
3
+ "version": "4.205.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -143,15 +143,13 @@ export default class AutocompleteAddressDemo extends Component {
143
143
  },
144
144
  })
145
145
  .then((response) => {
146
- if (this.mounted) {
147
- this.setState(
148
- {
149
- error: null,
150
- selectedLocality: response.data.result,
151
- },
152
- () => this.displayOnMap(),
153
- );
154
- }
146
+ this.setState(
147
+ {
148
+ error: null,
149
+ selectedLocality: response.data.result,
150
+ },
151
+ () => this.displayOnMap(),
152
+ );
155
153
  })
156
154
  .catch((error) => {
157
155
  const errorResult = (error && error.response && error.response.data) || 'Unhandled error';
@@ -184,98 +184,4 @@ $darkSec = $dark20
184
184
  &--menu-is-open
185
185
  border-radius 0 $borderRadius 0 0 !important
186
186
  &__menu
187
- border-radius 0 0 $borderRadius $borderRadius !important
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
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
210
- color $light
211
- pre
212
- color $light !important
213
- .showcase
214
- &.showcase--autocomplete
215
- .select
216
- .asyncselect
217
- &__placeholder
218
- color $light20 !important
219
- &__control
220
- background-color $darkMain !important
221
- &--is-focused
222
- .select
223
- .asyncselect
224
- &__placeholder
225
- color $light !important
226
- &__input-container
227
- &__single-value
228
- color $light !important
229
- &__dropdown-indicator
230
- &__clear-indicator
231
- svg
232
- fill $light70 !important
233
- &__menu
234
- background-color #0d1332
235
- border-color $dark40
236
- &__option
237
- height 5rem
238
- color $light !important
239
- &--is-focused
240
- &--is-selected
241
- color $light !important
242
- background-color $darkSec !important
243
- &.select__option--is-focused
244
- color $light !important
245
- background-color $darkSec !important
246
- &--is-focused:not(.select__option--is-selected)
247
- color $light !important
248
- background-color #2a3ea0!important
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
262
- &:after
263
- background $dark20
264
- &:hover
265
- &:after
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
280
- &:after
281
- background $darkMain
187
+ border-radius 0 0 $borderRadius $borderRadius !important
@@ -3,4 +3,3 @@
3
3
  // @import "../components/**/*.styl"
4
4
  @import "../components/OfflineChatBot/offlinechatbot.styl"
5
5
  @import "../components/Demo/skeletondemo.styl"
6
- @import "../components/Demo/showcase.styl"