@i-cell/ids-styles 0.0.62 → 0.0.64
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 +69 -20
- package/dist/autocomplete/autocomplete.min.css +1 -1
- package/dist/autocomplete/autocomplete.plugin.js +38 -20
- package/dist/components.css +76 -20
- package/dist/components.min.css +1 -1
- package/dist/components.plugin.js +46 -23
- package/dist/form-elements/form-field/form-field.css +7 -0
- package/dist/form-elements/form-field/form-field.min.css +1 -1
- package/dist/form-elements/form-field/form-field.plugin.js +5 -0
- package/package.json +2 -2
|
@@ -327,8 +327,6 @@ module.exports = function ComponentsPlugin() {
|
|
|
327
327
|
borderStyle: 'none',
|
|
328
328
|
borderColor: 'rgba(0,0,0,0)',
|
|
329
329
|
lineHeight: 1.5,
|
|
330
|
-
display: 'inline-flex',
|
|
331
|
-
alignItems: 'center',
|
|
332
330
|
},
|
|
333
331
|
'.ids-autocomplete::before,.ids-autocomplete::after,.ids-autocomplete *,.ids-autocomplete ::before,.ids-autocomplete ::after': {
|
|
334
332
|
boxSizing: 'border-box',
|
|
@@ -336,27 +334,47 @@ module.exports = function ComponentsPlugin() {
|
|
|
336
334
|
borderStyle: 'none',
|
|
337
335
|
borderColor: 'rgba(0,0,0,0)',
|
|
338
336
|
},
|
|
339
|
-
'.ids-autocomplete
|
|
340
|
-
'.ids-autocomplete
|
|
341
|
-
'.ids-autocomplete
|
|
342
|
-
|
|
343
|
-
},
|
|
344
|
-
'.ids-autocomplete.ids-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
'.ids-
|
|
356
|
-
'.ids-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
337
|
+
'.ids-autocomplete-panel': { overflow: 'auto', width: '100%', padding: '8px', scrollbarWidth: 'thin' },
|
|
338
|
+
'.ids-autocomplete-overlay-panel': { width: '100%' },
|
|
339
|
+
'.ids-autocomplete-suffix': { display: 'flex', alignItems: 'center' },
|
|
340
|
+
'.ids-autocomplete-chip-list': { display: 'flex', flexWrap: 'wrap', gap: '4px', marginBottom: '4px' },
|
|
341
|
+
'.ids-autocomplete-chip-list:not(:has(button:first-child))': { display: 'none' },
|
|
342
|
+
'.ids-autocomplete-chip-list button[idsChip].ids-chip': { borderStyle: 'solid !important' },
|
|
343
|
+
'.ids-autocomplete-chip-list button[idsChip].ids-chip>div.ids-chip__label': {
|
|
344
|
+
textAlign: 'left',
|
|
345
|
+
wordBreak: 'break-all',
|
|
346
|
+
overflow: 'hidden',
|
|
347
|
+
display: '-webkit-box',
|
|
348
|
+
lineClamp: 1,
|
|
349
|
+
WebkitBoxOrient: 'vertical',
|
|
350
|
+
WebkitLineClamp: '1',
|
|
351
|
+
},
|
|
352
|
+
'.ids-autocomplete-hint__wrapper': { padding: '8px 12px' },
|
|
353
|
+
'.ids-autocomplete.ids-autocomplete-compact>.ids-autocomplete-suffix': { gap: 'var(--ids-comp-forms-input-size-icons-gap-compact)' },
|
|
354
|
+
'.ids-autocomplete.ids-autocomplete-comfortable>.ids-autocomplete-suffix': {
|
|
355
|
+
gap: 'var(--ids-comp-forms-input-size-icons-gap-comfortable)',
|
|
356
|
+
},
|
|
357
|
+
'.ids-autocomplete.ids-autocomplete-spacious>.ids-autocomplete-suffix': {
|
|
358
|
+
gap: 'var(--ids-comp-forms-input-size-icons-gap-spacious)',
|
|
359
|
+
},
|
|
360
|
+
'.ids-autocomplete.ids-autocomplete-dense>.ids-autocomplete-suffix': { gap: 'var(--ids-comp-forms-input-size-icons-gap-dense)' },
|
|
361
|
+
'input[autocomplete]': { width: '100%', textOverflow: 'ellipsis' },
|
|
362
|
+
'.ids-form-field>.ids-form-field__field-wrapper>.ids-form-field__field-wrapper__container>.ids-form-field__infix:has(>input[autocomplete])':
|
|
363
|
+
{ width: '100%', display: 'inline-flex', alignItems: 'center' },
|
|
364
|
+
'.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)':
|
|
365
|
+
{ display: 'grid', gridTemplateColumns: '1fr auto' },
|
|
366
|
+
'.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]':
|
|
367
|
+
{ order: 3 },
|
|
368
|
+
'.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':
|
|
369
|
+
{ order: 2, gridRow: 'span 2/span 1' },
|
|
370
|
+
'.ids-form-field>.ids-form-field__field-wrapper>.ids-form-field__field-wrapper__container>.ids-form-field__infix:has(>input[autocomplete]~.ids-autocomplete-compact)':
|
|
371
|
+
{ columnGap: 'var(--ids-comp-forms-input-size-gap-compact)' },
|
|
372
|
+
'.ids-form-field>.ids-form-field__field-wrapper>.ids-form-field__field-wrapper__container>.ids-form-field__infix:has(>input[autocomplete]~.ids-autocomplete-comfortable)':
|
|
373
|
+
{ columnGap: 'var(--ids-comp-forms-input-size-gap-comfortable)' },
|
|
374
|
+
'.ids-form-field>.ids-form-field__field-wrapper>.ids-form-field__field-wrapper__container>.ids-form-field__infix:has(>input[autocomplete]~.ids-autocomplete-spacious)':
|
|
375
|
+
{ columnGap: 'var(--ids-comp-forms-input-size-gap-spacious)' },
|
|
376
|
+
'.ids-form-field>.ids-form-field__field-wrapper>.ids-form-field__field-wrapper__container>.ids-form-field__infix:has(>input[autocomplete]~.ids-autocomplete-dense)':
|
|
377
|
+
{ columnGap: 'var(--ids-comp-forms-input-size-gap-dense)' },
|
|
360
378
|
'.ids-avatar': {
|
|
361
379
|
boxSizing: 'border-box',
|
|
362
380
|
borderWidth: '0',
|
|
@@ -6101,6 +6119,11 @@ module.exports = function ComponentsPlugin() {
|
|
|
6101
6119
|
'.ids-form-field.ids-form-field-dense>.ids-form-field__field-wrapper:has(.ids-form-field-control:focus)': {
|
|
6102
6120
|
outlineWidth: 'var(--ids-comp-forms-form-field-standard-field-wrapper-focused-outline-outline-dense)',
|
|
6103
6121
|
},
|
|
6122
|
+
'.ids-form-field:not(.ids-form-field-disabled)>.ids-form-field__field-wrapper:has(.ids-input)': { cursor: 'text' },
|
|
6123
|
+
'.ids-form-field.ids-form-field-disabled>.ids-form-field__field-wrapper:has(.ids-input)': {
|
|
6124
|
+
cursor: 'default',
|
|
6125
|
+
pointerEvents: 'none',
|
|
6126
|
+
},
|
|
6104
6127
|
'.ids-form-field.ids-form-field-surface:not(.ids-form-field-disabled)>.ids-form-field__field-wrapper': {
|
|
6105
6128
|
borderColor: 'var(--ids-comp-forms-form-field-standard-field-wrapper-container-color-border-surface-default)',
|
|
6106
6129
|
background: 'var(--ids-comp-forms-form-field-standard-field-wrapper-container-color-bg-surface-default)',
|
|
@@ -364,6 +364,13 @@
|
|
|
364
364
|
.ids-form-field.ids-form-field-dense > .ids-form-field__field-wrapper:has(.ids-form-field-control:focus) {
|
|
365
365
|
outline-width: var(--ids-comp-forms-form-field-standard-field-wrapper-focused-outline-outline-dense);
|
|
366
366
|
}
|
|
367
|
+
.ids-form-field:not(.ids-form-field-disabled) > .ids-form-field__field-wrapper:has(.ids-input) {
|
|
368
|
+
cursor: text;
|
|
369
|
+
}
|
|
370
|
+
.ids-form-field.ids-form-field-disabled > .ids-form-field__field-wrapper:has(.ids-input) {
|
|
371
|
+
cursor: default;
|
|
372
|
+
pointer-events: none;
|
|
373
|
+
}
|
|
367
374
|
.ids-form-field.ids-form-field-surface:not(.ids-form-field-disabled) > .ids-form-field__field-wrapper {
|
|
368
375
|
border-color: var(--ids-comp-forms-form-field-standard-field-wrapper-container-color-border-surface-default);
|
|
369
376
|
background: var(--ids-comp-forms-form-field-standard-field-wrapper-container-color-bg-surface-default);
|