@vector-business-services/cristal-ds-web 0.17.0 → 0.18.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/dist/index.css CHANGED
@@ -374,6 +374,41 @@
374
374
  .cr-field--disabled .cr-autocomplete__input {
375
375
  cursor: not-allowed;
376
376
  }
377
+ .cr-autocomplete--dropdown .cr-autocomplete__root {
378
+ position: relative;
379
+ }
380
+ .cr-autocomplete--dropdown .cr-autocomplete__input {
381
+ padding-right: calc(var(--cr-padding-padding-4) + 32px + var(--cr-padding-padding-3));
382
+ }
383
+ .cr-autocomplete__dropdown {
384
+ position: absolute;
385
+ top: 50%;
386
+ right: var(--cr-padding-padding-4);
387
+ display: inline-flex;
388
+ align-items: center;
389
+ justify-content: center;
390
+ width: 32px;
391
+ height: 32px;
392
+ padding: 0;
393
+ border: 0;
394
+ border-radius: var(--cr-radius-small);
395
+ background: none;
396
+ color: var(--cr-color-icon-neutral-base);
397
+ font-size: 16px;
398
+ cursor: pointer;
399
+ transform: translateY(-50%);
400
+ }
401
+ .cr-autocomplete__dropdown:focus-visible {
402
+ outline: none;
403
+ box-shadow: var(--cr-effects-focus-ring);
404
+ }
405
+ .cr-autocomplete__input[aria-expanded=true] ~ .cr-autocomplete__dropdown .cr-autocomplete__dropdown-icon {
406
+ transform: rotate(180deg);
407
+ }
408
+ .cr-autocomplete__dropdown:disabled {
409
+ color: var(--cr-color-icon-disabled-base);
410
+ cursor: not-allowed;
411
+ }
377
412
  .cr-autocomplete__loader {
378
413
  display: none;
379
414
  }