@i-cell/ids-styles 0.0.64 → 0.0.66
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/autocomplete/autocomplete.css +158 -26
- package/dist/autocomplete/autocomplete.min.css +1 -1
- package/dist/autocomplete/autocomplete.plugin.js +138 -16
- package/dist/components.css +158 -26
- package/dist/components.min.css +1 -1
- package/dist/components.plugin.js +138 -16
- package/package.json +2 -2
package/dist/components.css
CHANGED
|
@@ -324,6 +324,8 @@
|
|
|
324
324
|
border-style: none;
|
|
325
325
|
border-color: transparent;
|
|
326
326
|
line-height: 1.5;
|
|
327
|
+
position: absolute;
|
|
328
|
+
right: 0;
|
|
327
329
|
}
|
|
328
330
|
.ids-autocomplete::before, .ids-autocomplete::after, .ids-autocomplete *, .ids-autocomplete ::before, .ids-autocomplete ::after {
|
|
329
331
|
box-sizing: border-box;
|
|
@@ -332,9 +334,9 @@
|
|
|
332
334
|
border-color: transparent;
|
|
333
335
|
}
|
|
334
336
|
.ids-autocomplete-panel {
|
|
337
|
+
display: grid;
|
|
335
338
|
overflow: auto;
|
|
336
339
|
width: 100%;
|
|
337
|
-
padding: 8px;
|
|
338
340
|
scrollbar-width: thin;
|
|
339
341
|
}
|
|
340
342
|
.ids-autocomplete-overlay-panel {
|
|
@@ -345,13 +347,7 @@
|
|
|
345
347
|
align-items: center;
|
|
346
348
|
}
|
|
347
349
|
.ids-autocomplete-chip-list {
|
|
348
|
-
display:
|
|
349
|
-
flex-wrap: wrap;
|
|
350
|
-
gap: 4px;
|
|
351
|
-
margin-bottom: 4px;
|
|
352
|
-
}
|
|
353
|
-
.ids-autocomplete-chip-list:not(:has(button:first-child)) {
|
|
354
|
-
display: none;
|
|
350
|
+
display: contents;
|
|
355
351
|
}
|
|
356
352
|
.ids-autocomplete-chip-list button[idsChip].ids-chip {
|
|
357
353
|
border-style: solid !important;
|
|
@@ -365,54 +361,190 @@
|
|
|
365
361
|
-webkit-box-orient: vertical;
|
|
366
362
|
-webkit-line-clamp: 1;
|
|
367
363
|
}
|
|
368
|
-
.ids-autocomplete-hint__wrapper {
|
|
369
|
-
padding: 8px 12px;
|
|
370
|
-
}
|
|
371
364
|
.ids-autocomplete.ids-autocomplete-compact > .ids-autocomplete-suffix {
|
|
372
365
|
gap: var(--ids-comp-forms-input-size-icons-gap-compact);
|
|
373
366
|
}
|
|
367
|
+
.ids-autocomplete.ids-autocomplete-compact > .ids-autocomplete-suffix > .ids-icon-button {
|
|
368
|
+
height: var(--ids-comp-forms-input-icon-button-width-compact);
|
|
369
|
+
width: var(--ids-comp-forms-input-icon-button-width-compact);
|
|
370
|
+
}
|
|
371
|
+
.ids-autocomplete.ids-autocomplete-compact > .ids-autocomplete-suffix > .ids-icon-button .ids-icon {
|
|
372
|
+
font-family: var(--ids-comp-forms-input-icon-button-typography-font-family-compact);
|
|
373
|
+
font-size: var(--ids-comp-forms-input-icon-button-typography-font-size-compact);
|
|
374
|
+
font-weight: var(--ids-comp-forms-input-icon-button-typography-font-weight-compact);
|
|
375
|
+
line-height: var(--ids-comp-forms-input-icon-button-typography-line-height-compact);
|
|
376
|
+
}
|
|
377
|
+
.ids-autocomplete.ids-autocomplete-compact > .ids-autocomplete-suffix > .ids-icon {
|
|
378
|
+
font-family: var(--ids-comp-forms-input-icon-typography-font-family-compact);
|
|
379
|
+
height: var(--ids-comp-forms-input-icon-width-compact);
|
|
380
|
+
width: var(--ids-comp-forms-input-icon-width-compact);
|
|
381
|
+
font-size: var(--ids-comp-forms-input-icon-typography-font-size-compact);
|
|
382
|
+
font-weight: var(--ids-comp-forms-input-icon-typography-font-weight-compact);
|
|
383
|
+
line-height: var(--ids-comp-forms-input-icon-typography-line-height-compact);
|
|
384
|
+
}
|
|
385
|
+
.ids-autocomplete.ids-autocomplete-compact > .ids-autocomplete-suffix .ids-spinner {
|
|
386
|
+
width: var(--ids-comp-forms-input-size-spinner-compact);
|
|
387
|
+
height: var(--ids-comp-forms-input-size-spinner-compact);
|
|
388
|
+
}
|
|
389
|
+
.ids-autocomplete-overlay-panel.ids-overlay-panel-compact .ids-autocomplete-panel {
|
|
390
|
+
gap: var(--ids-comp-forms-list-item-size-gap-compact);
|
|
391
|
+
padding: var(--ids-comp-forms-form-field-standard-field-wrapper-focused-outline-outline-compact);
|
|
392
|
+
margin: calc(var(--ids-comp-forms-form-field-standard-field-wrapper-focused-outline-outline-compact) * -1);
|
|
393
|
+
}
|
|
394
|
+
.ids-autocomplete-overlay-panel.ids-overlay-panel-compact .ids-autocomplete-panel .ids-autocomplete-hint__wrapper {
|
|
395
|
+
padding: 0 var(--ids-comp-forms-list-item-hint-text-size-padding-x-compact);
|
|
396
|
+
}
|
|
374
397
|
.ids-autocomplete.ids-autocomplete-comfortable > .ids-autocomplete-suffix {
|
|
375
398
|
gap: var(--ids-comp-forms-input-size-icons-gap-comfortable);
|
|
376
399
|
}
|
|
400
|
+
.ids-autocomplete.ids-autocomplete-comfortable > .ids-autocomplete-suffix > .ids-icon-button {
|
|
401
|
+
height: var(--ids-comp-forms-input-icon-button-width-comfortable);
|
|
402
|
+
width: var(--ids-comp-forms-input-icon-button-width-comfortable);
|
|
403
|
+
}
|
|
404
|
+
.ids-autocomplete.ids-autocomplete-comfortable > .ids-autocomplete-suffix > .ids-icon-button .ids-icon {
|
|
405
|
+
font-family: var(--ids-comp-forms-input-icon-button-typography-font-family-comfortable);
|
|
406
|
+
font-size: var(--ids-comp-forms-input-icon-button-typography-font-size-comfortable);
|
|
407
|
+
font-weight: var(--ids-comp-forms-input-icon-button-typography-font-weight-comfortable);
|
|
408
|
+
line-height: var(--ids-comp-forms-input-icon-button-typography-line-height-comfortable);
|
|
409
|
+
}
|
|
410
|
+
.ids-autocomplete.ids-autocomplete-comfortable > .ids-autocomplete-suffix > .ids-icon {
|
|
411
|
+
font-family: var(--ids-comp-forms-input-icon-typography-font-family-comfortable);
|
|
412
|
+
height: var(--ids-comp-forms-input-icon-width-comfortable);
|
|
413
|
+
width: var(--ids-comp-forms-input-icon-width-comfortable);
|
|
414
|
+
font-size: var(--ids-comp-forms-input-icon-typography-font-size-comfortable);
|
|
415
|
+
font-weight: var(--ids-comp-forms-input-icon-typography-font-weight-comfortable);
|
|
416
|
+
line-height: var(--ids-comp-forms-input-icon-typography-line-height-comfortable);
|
|
417
|
+
}
|
|
418
|
+
.ids-autocomplete.ids-autocomplete-comfortable > .ids-autocomplete-suffix .ids-spinner {
|
|
419
|
+
width: var(--ids-comp-forms-input-size-spinner-comfortable);
|
|
420
|
+
height: var(--ids-comp-forms-input-size-spinner-comfortable);
|
|
421
|
+
}
|
|
422
|
+
.ids-autocomplete-overlay-panel.ids-overlay-panel-comfortable .ids-autocomplete-panel {
|
|
423
|
+
gap: var(--ids-comp-forms-list-item-size-gap-comfortable);
|
|
424
|
+
padding: var(--ids-comp-forms-form-field-standard-field-wrapper-focused-outline-outline-compact);
|
|
425
|
+
margin: calc(var(--ids-comp-forms-form-field-standard-field-wrapper-focused-outline-outline-compact) * -1);
|
|
426
|
+
}
|
|
427
|
+
.ids-autocomplete-overlay-panel.ids-overlay-panel-comfortable .ids-autocomplete-panel .ids-autocomplete-hint__wrapper {
|
|
428
|
+
padding: 0 var(--ids-comp-forms-list-item-hint-text-size-padding-x-comfortable);
|
|
429
|
+
}
|
|
377
430
|
.ids-autocomplete.ids-autocomplete-spacious > .ids-autocomplete-suffix {
|
|
378
431
|
gap: var(--ids-comp-forms-input-size-icons-gap-spacious);
|
|
379
432
|
}
|
|
433
|
+
.ids-autocomplete.ids-autocomplete-spacious > .ids-autocomplete-suffix > .ids-icon-button {
|
|
434
|
+
height: var(--ids-comp-forms-input-icon-button-width-spacious);
|
|
435
|
+
width: var(--ids-comp-forms-input-icon-button-width-spacious);
|
|
436
|
+
}
|
|
437
|
+
.ids-autocomplete.ids-autocomplete-spacious > .ids-autocomplete-suffix > .ids-icon-button .ids-icon {
|
|
438
|
+
font-family: var(--ids-comp-forms-input-icon-button-typography-font-family-spacious);
|
|
439
|
+
font-size: var(--ids-comp-forms-input-icon-button-typography-font-size-spacious);
|
|
440
|
+
font-weight: var(--ids-comp-forms-input-icon-button-typography-font-weight-spacious);
|
|
441
|
+
line-height: var(--ids-comp-forms-input-icon-button-typography-line-height-spacious);
|
|
442
|
+
}
|
|
443
|
+
.ids-autocomplete.ids-autocomplete-spacious > .ids-autocomplete-suffix > .ids-icon {
|
|
444
|
+
font-family: var(--ids-comp-forms-input-icon-typography-font-family-spacious);
|
|
445
|
+
height: var(--ids-comp-forms-input-icon-width-spacious);
|
|
446
|
+
width: var(--ids-comp-forms-input-icon-width-spacious);
|
|
447
|
+
font-size: var(--ids-comp-forms-input-icon-typography-font-size-spacious);
|
|
448
|
+
font-weight: var(--ids-comp-forms-input-icon-typography-font-weight-spacious);
|
|
449
|
+
line-height: var(--ids-comp-forms-input-icon-typography-line-height-spacious);
|
|
450
|
+
}
|
|
451
|
+
.ids-autocomplete.ids-autocomplete-spacious > .ids-autocomplete-suffix .ids-spinner {
|
|
452
|
+
width: var(--ids-comp-forms-input-size-spinner-spacious);
|
|
453
|
+
height: var(--ids-comp-forms-input-size-spinner-spacious);
|
|
454
|
+
}
|
|
455
|
+
.ids-autocomplete-overlay-panel.ids-overlay-panel-spacious .ids-autocomplete-panel {
|
|
456
|
+
gap: var(--ids-comp-forms-list-item-size-gap-spacious);
|
|
457
|
+
padding: var(--ids-comp-forms-form-field-standard-field-wrapper-focused-outline-outline-compact);
|
|
458
|
+
margin: calc(var(--ids-comp-forms-form-field-standard-field-wrapper-focused-outline-outline-compact) * -1);
|
|
459
|
+
}
|
|
460
|
+
.ids-autocomplete-overlay-panel.ids-overlay-panel-spacious .ids-autocomplete-panel .ids-autocomplete-hint__wrapper {
|
|
461
|
+
padding: 0 var(--ids-comp-forms-list-item-hint-text-size-padding-x-spacious);
|
|
462
|
+
}
|
|
380
463
|
.ids-autocomplete.ids-autocomplete-dense > .ids-autocomplete-suffix {
|
|
381
464
|
gap: var(--ids-comp-forms-input-size-icons-gap-dense);
|
|
382
465
|
}
|
|
466
|
+
.ids-autocomplete.ids-autocomplete-dense > .ids-autocomplete-suffix > .ids-icon-button {
|
|
467
|
+
height: var(--ids-comp-forms-input-icon-button-width-dense);
|
|
468
|
+
width: var(--ids-comp-forms-input-icon-button-width-dense);
|
|
469
|
+
}
|
|
470
|
+
.ids-autocomplete.ids-autocomplete-dense > .ids-autocomplete-suffix > .ids-icon-button .ids-icon {
|
|
471
|
+
font-family: var(--ids-comp-forms-input-icon-button-typography-font-family-dense);
|
|
472
|
+
font-size: var(--ids-comp-forms-input-icon-button-typography-font-size-dense);
|
|
473
|
+
font-weight: var(--ids-comp-forms-input-icon-button-typography-font-weight-dense);
|
|
474
|
+
line-height: var(--ids-comp-forms-input-icon-button-typography-line-height-dense);
|
|
475
|
+
}
|
|
476
|
+
.ids-autocomplete.ids-autocomplete-dense > .ids-autocomplete-suffix > .ids-icon {
|
|
477
|
+
font-family: var(--ids-comp-forms-input-icon-typography-font-family-dense);
|
|
478
|
+
height: var(--ids-comp-forms-input-icon-width-dense);
|
|
479
|
+
width: var(--ids-comp-forms-input-icon-width-dense);
|
|
480
|
+
font-size: var(--ids-comp-forms-input-icon-typography-font-size-dense);
|
|
481
|
+
font-weight: var(--ids-comp-forms-input-icon-typography-font-weight-dense);
|
|
482
|
+
line-height: var(--ids-comp-forms-input-icon-typography-line-height-dense);
|
|
483
|
+
}
|
|
484
|
+
.ids-autocomplete.ids-autocomplete-dense > .ids-autocomplete-suffix .ids-spinner {
|
|
485
|
+
width: var(--ids-comp-forms-input-size-spinner-dense);
|
|
486
|
+
height: var(--ids-comp-forms-input-size-spinner-dense);
|
|
487
|
+
}
|
|
488
|
+
.ids-autocomplete-overlay-panel.ids-overlay-panel-dense .ids-autocomplete-panel {
|
|
489
|
+
gap: var(--ids-comp-forms-list-item-size-gap-dense);
|
|
490
|
+
padding: var(--ids-comp-forms-form-field-standard-field-wrapper-focused-outline-outline-compact);
|
|
491
|
+
margin: calc(var(--ids-comp-forms-form-field-standard-field-wrapper-focused-outline-outline-compact) * -1);
|
|
492
|
+
}
|
|
493
|
+
.ids-autocomplete-overlay-panel.ids-overlay-panel-dense .ids-autocomplete-panel .ids-autocomplete-hint__wrapper {
|
|
494
|
+
padding: 0 var(--ids-comp-forms-list-item-hint-text-size-padding-x-dense);
|
|
495
|
+
}
|
|
383
496
|
|
|
384
497
|
input[autocomplete] {
|
|
385
498
|
width: 100%;
|
|
386
499
|
text-overflow: ellipsis;
|
|
387
500
|
}
|
|
388
501
|
|
|
502
|
+
input[autocomplete] {
|
|
503
|
+
min-width: var(--ids-comp-forms-input-size-min-width-compact);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
input[autocomplete] {
|
|
507
|
+
min-width: var(--ids-comp-forms-input-size-min-width-comfortable);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
input[autocomplete] {
|
|
511
|
+
min-width: var(--ids-comp-forms-input-size-min-width-spacious);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
input[autocomplete] {
|
|
515
|
+
min-width: var(--ids-comp-forms-input-size-min-width-dense);
|
|
516
|
+
}
|
|
517
|
+
|
|
389
518
|
.ids-form-field > .ids-form-field__field-wrapper > .ids-form-field__field-wrapper__container > .ids-form-field__infix:has(> input[autocomplete]) {
|
|
390
519
|
width: 100%;
|
|
391
520
|
display: inline-flex;
|
|
521
|
+
flex-wrap: wrap;
|
|
392
522
|
align-items: center;
|
|
393
|
-
|
|
394
|
-
.ids-form-field > .ids-form-field__field-wrapper > .ids-form-field__field-wrapper__container > .ids-form-field__infix:has(> input[autocomplete]):has(.ids-autocomplete-chip-list > button:first-child) {
|
|
395
|
-
display: grid;
|
|
396
|
-
grid-template-columns: 1fr auto;
|
|
397
|
-
}
|
|
398
|
-
.ids-form-field > .ids-form-field__field-wrapper > .ids-form-field__field-wrapper__container > .ids-form-field__infix:has(> input[autocomplete]):has(.ids-autocomplete-chip-list > button:first-child) > input[autocomplete] {
|
|
399
|
-
order: 3;
|
|
400
|
-
}
|
|
401
|
-
.ids-form-field > .ids-form-field__field-wrapper > .ids-form-field__field-wrapper__container > .ids-form-field__infix:has(> input[autocomplete]):has(.ids-autocomplete-chip-list > button:first-child) > .ids-autocomplete {
|
|
402
|
-
order: 2;
|
|
403
|
-
grid-row: span 2/span 1;
|
|
523
|
+
position: relative;
|
|
404
524
|
}
|
|
405
525
|
.ids-form-field > .ids-form-field__field-wrapper > .ids-form-field__field-wrapper__container > .ids-form-field__infix:has(> input[autocomplete] ~ .ids-autocomplete-compact) {
|
|
406
|
-
|
|
526
|
+
padding-right: var(--ids-comp-forms-form-field-standard-field-wrapper-infix-size-padding-right-compact);
|
|
527
|
+
}
|
|
528
|
+
.ids-form-field > .ids-form-field__field-wrapper > .ids-form-field__field-wrapper__container > .ids-form-field__infix:has(> .ids-autocomplete-chip-list ~ input[autocomplete] ~ .ids-autocomplete-compact) {
|
|
529
|
+
gap: var(--ids-comp-forms-input-size-chip-input-gap-compact);
|
|
407
530
|
}
|
|
408
531
|
.ids-form-field > .ids-form-field__field-wrapper > .ids-form-field__field-wrapper__container > .ids-form-field__infix:has(> input[autocomplete] ~ .ids-autocomplete-comfortable) {
|
|
409
|
-
|
|
532
|
+
padding-right: var(--ids-comp-forms-form-field-standard-field-wrapper-infix-size-padding-right-comfortable);
|
|
533
|
+
}
|
|
534
|
+
.ids-form-field > .ids-form-field__field-wrapper > .ids-form-field__field-wrapper__container > .ids-form-field__infix:has(> .ids-autocomplete-chip-list ~ input[autocomplete] ~ .ids-autocomplete-comfortable) {
|
|
535
|
+
gap: var(--ids-comp-forms-input-size-chip-input-gap-comfortable);
|
|
410
536
|
}
|
|
411
537
|
.ids-form-field > .ids-form-field__field-wrapper > .ids-form-field__field-wrapper__container > .ids-form-field__infix:has(> input[autocomplete] ~ .ids-autocomplete-spacious) {
|
|
412
|
-
|
|
538
|
+
padding-right: var(--ids-comp-forms-form-field-standard-field-wrapper-infix-size-padding-right-spacious);
|
|
539
|
+
}
|
|
540
|
+
.ids-form-field > .ids-form-field__field-wrapper > .ids-form-field__field-wrapper__container > .ids-form-field__infix:has(> .ids-autocomplete-chip-list ~ input[autocomplete] ~ .ids-autocomplete-spacious) {
|
|
541
|
+
gap: var(--ids-comp-forms-input-size-chip-input-gap-spacious);
|
|
413
542
|
}
|
|
414
543
|
.ids-form-field > .ids-form-field__field-wrapper > .ids-form-field__field-wrapper__container > .ids-form-field__infix:has(> input[autocomplete] ~ .ids-autocomplete-dense) {
|
|
415
|
-
|
|
544
|
+
padding-right: var(--ids-comp-forms-form-field-standard-field-wrapper-infix-size-padding-right-dense);
|
|
545
|
+
}
|
|
546
|
+
.ids-form-field > .ids-form-field__field-wrapper > .ids-form-field__field-wrapper__container > .ids-form-field__infix:has(> .ids-autocomplete-chip-list ~ input[autocomplete] ~ .ids-autocomplete-dense) {
|
|
547
|
+
gap: var(--ids-comp-forms-input-size-chip-input-gap-dense);
|
|
416
548
|
}
|
|
417
549
|
|
|
418
550
|
.ids-avatar {
|