@inera/ids-design 8.1.0 → 8.2.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.
Files changed (42) hide show
  1. package/components/action-link/action-link-lit.d.ts +2 -0
  2. package/components/action-link/action-link-lit.js +7 -0
  3. package/components/action-link/action-link.css +173 -0
  4. package/components/box-link/box-link-lit.js +1 -1
  5. package/components/box-link/box-link.css +0 -2
  6. package/components/card/card-lit.js +1 -1
  7. package/components/card/card.css +8 -12
  8. package/components/carousel/carousel-item-lit.js +1 -1
  9. package/components/carousel/carousel-item.css +0 -1
  10. package/components/carousel/carousel-lit.js +1 -1
  11. package/components/carousel/carousel.css +5 -0
  12. package/components/form/datepicker/datepicker-lit.d.ts +2 -0
  13. package/components/form/datepicker/datepicker-lit.js +9 -0
  14. package/components/form/datepicker/datepicker.css +570 -0
  15. package/components/form/error-message/error-message-lit.js +1 -1
  16. package/components/form/error-message/error-message.css +1 -0
  17. package/components/form/group/group-lit.js +1 -1
  18. package/components/form/group/group.css +1 -1
  19. package/components/form/range/range-lit.js +1 -1
  20. package/components/form/range/range.css +11 -1
  21. package/components/form/select-multiple/select-multiple-lit.js +1 -1
  22. package/components/form/select-multiple/select-multiple.css +30 -6
  23. package/components/navigation/local/navigation-local-lit.js +1 -1
  24. package/components/navigation/local/navigation-local.css +1 -1
  25. package/components/side-menu/side-menu-lit.js +1 -1
  26. package/components/side-menu/side-menu.css +0 -1
  27. package/components/stepper/stepper-lit.js +1 -1
  28. package/components/stepper/stepper.css +1 -20
  29. package/components/tabs/tab-lit.js +1 -1
  30. package/components/tabs/tab.css +5 -2
  31. package/components/tabs/tabs-lit.js +1 -1
  32. package/components/tooltip/tooltip-lit.js +1 -1
  33. package/components/tooltip/tooltip.css +2 -2
  34. package/global/global.css +149 -50
  35. package/package.json +1 -1
  36. package/styles.css +305 -132
  37. package/tokens/component-tokens.scss +2 -0
  38. package/tokens/themes/1177-admin-tokens.css +110 -110
  39. package/tokens/themes/1177-pro-tokens.css +112 -112
  40. package/tokens/themes/1177-tokens.css +113 -113
  41. package/tokens/themes/inera-admin-tokens.css +113 -112
  42. package/tokens/themes/inera-tokens.css +113 -112
package/global/global.css CHANGED
@@ -121,6 +121,7 @@
121
121
  box-sizing: border-box;
122
122
  width: 1em;
123
123
  height: 1em;
124
+ flex-shrink: 0;
124
125
  }
125
126
  [class^=ids-icon-]:before,
126
127
  [class*=" ids-icon-"]:before {
@@ -4478,6 +4479,7 @@ button.ids-button:not(.ids-button--fab) {
4478
4479
  justify-content: center;
4479
4480
  align-items: center;
4480
4481
  width: fit-content;
4482
+ vertical-align: bottom;
4481
4483
  flex-shrink: 0;
4482
4484
  text-transform: uppercase;
4483
4485
  user-select: none;
@@ -4514,7 +4516,7 @@ button.ids-button:not(.ids-button--fab):focus-visible {
4514
4516
  button.ids-button:not(.ids-button--fab).ids-button--disabled,
4515
4517
  button.ids-button:not(.ids-button--fab)[disabled] {
4516
4518
  color: var(--IDS-BUTTON--DISABLED__COLOR) !important;
4517
- border: var(--IDS-BUTTON__BORDER-THICKNESS) solid var(--IDS-BUTTON--DISABLED__BORDER-COLOR);
4519
+ border: var(--IDS-BUTTON__BORDER-THICKNESS) solid var(--IDS-BUTTON--DISABLED__BORDER-COLOR) !important;
4518
4520
  background-color: var(--IDS-BUTTON--DISABLED__BACKGROUND-COLOR) !important;
4519
4521
  pointer-events: none;
4520
4522
  }
@@ -4580,7 +4582,7 @@ button.ids-button:not(.ids-button--fab).ids-button--secondary:focus-visible {
4580
4582
  button.ids-button:not(.ids-button--fab).ids-button--secondary.ids-button--disabled,
4581
4583
  button.ids-button:not(.ids-button--fab).ids-button--secondary[disabled] {
4582
4584
  color: var(--IDS-BUTTON--DISABLED__COLOR) !important;
4583
- border: var(--IDS-BUTTON__BORDER-THICKNESS) solid var(--IDS-BUTTON--DISABLED__BORDER-COLOR);
4585
+ border: var(--IDS-BUTTON__BORDER-THICKNESS) solid var(--IDS-BUTTON--DISABLED__BORDER-COLOR) !important;
4584
4586
  background-color: var(--IDS-BUTTON--DISABLED__BACKGROUND-COLOR) !important;
4585
4587
  pointer-events: none;
4586
4588
  }
@@ -4617,8 +4619,8 @@ button.ids-button:not(.ids-button--fab).ids-button--tertiary:focus-visible {
4617
4619
  button.ids-button:not(.ids-button--fab).ids-button--tertiary.ids-button--disabled,
4618
4620
  button.ids-button:not(.ids-button--fab).ids-button--tertiary[disabled] {
4619
4621
  color: var(--IDS-BUTTON--DISABLED__COLOR) !important;
4620
- border: var(--IDS-BUTTON__BORDER-THICKNESS) solid transparent;
4621
- background-color: var(--IDS-BUTTON--DISABLED__BACKGROUND-COLOR) !important;
4622
+ border: var(--IDS-BUTTON__BORDER-THICKNESS) solid transparent !important;
4623
+ background-color: transparent !important;
4622
4624
  pointer-events: none;
4623
4625
  }
4624
4626
  .ids-button:not(.ids-button--fab).ids-button--icon,
@@ -4660,7 +4662,7 @@ button.ids-button:not(.ids-button--fab).ids-button--icon:focus-visible {
4660
4662
  button.ids-button:not(.ids-button--fab).ids-button--icon.ids-button--disabled,
4661
4663
  button.ids-button:not(.ids-button--fab).ids-button--icon[disabled] {
4662
4664
  color: var(--IDS-BUTTON--DISABLED__COLOR) !important;
4663
- border: var(--IDS-BUTTON__BORDER-THICKNESS) solid var(--IDS-BUTTON--DISABLED__BORDER-COLOR);
4665
+ border: var(--IDS-BUTTON__BORDER-THICKNESS) solid var(--IDS-BUTTON--DISABLED__BORDER-COLOR) !important;
4664
4666
  background-color: var(--IDS-BUTTON--DISABLED__BACKGROUND-COLOR) !important;
4665
4667
  pointer-events: none;
4666
4668
  }
@@ -4687,7 +4689,7 @@ button.ids-button:not(.ids-button--fab).ids-button--icon.ids-button--tertiary:fo
4687
4689
  button.ids-button:not(.ids-button--fab).ids-button--icon.ids-button--tertiary.ids-button--disabled,
4688
4690
  button.ids-button:not(.ids-button--fab).ids-button--icon.ids-button--tertiary[disabled] {
4689
4691
  color: var(--IDS-BUTTON--DISABLED__COLOR) !important;
4690
- border: var(--IDS-BUTTON__BORDER-THICKNESS) solid transparent;
4692
+ border: var(--IDS-BUTTON__BORDER-THICKNESS) solid transparent !important;
4691
4693
  background-color: transparent !important;
4692
4694
  pointer-events: none;
4693
4695
  }
@@ -5057,12 +5059,6 @@ button.ids-button:not(.ids-button--fab).ids-button--submit.ids-button--s {
5057
5059
  top: -0.1875rem;
5058
5060
  }
5059
5061
 
5060
- input::placeholder,
5061
- textarea::placeholder,
5062
- select::placeholder {
5063
- color: var(--IDS-FORM-PLACEHOLDER__COLOR);
5064
- }
5065
-
5066
5062
  .ids-input {
5067
5063
  position: relative;
5068
5064
  display: flex;
@@ -5150,9 +5146,12 @@ select::placeholder {
5150
5146
  border: var(--IDS-INPUT__BORDER-THICKNESS) solid var(--IDS-INPUT__BORDER-COLOR);
5151
5147
  border-radius: var(--IDS-BORDER-RADIUS);
5152
5148
  font-size: 1rem;
5153
- color: var(--IDS-INPUT__COLOR);
5149
+ color: var(--IDS-FORM__COLOR);
5154
5150
  display: block;
5155
5151
  }
5152
+ .ids-input__input::placeholder {
5153
+ color: var(--IDS-FORM__COLOR);
5154
+ }
5156
5155
  .ids-input__input:hover {
5157
5156
  background-color: var(--IDS-INPUT__HOVER-BACKGROUND-COLOR);
5158
5157
  }
@@ -5164,13 +5163,16 @@ select::placeholder {
5164
5163
  background-color: var(--IDS-INPUT__BACKGROUND-COLOR);
5165
5164
  border-color: var(--IDS-INPUT__FOCUS-BORDER-COLOR);
5166
5165
  }
5167
- .ids-input__input:disabled, .ids-input__input[readonly] {
5166
+ .ids-input__input:disabled, .ids-input__input[readonly], .ids-input__input[readonly]:focus-visible, .ids-input__input[readonly]:focus-visible:hover {
5168
5167
  color: var(--IDS-FORM--DISABLED__COLOR);
5169
5168
  font-style: italic !important;
5170
5169
  background: var(--IDS-FORM--DISABLED__BACKGROUND-COLOR);
5171
5170
  border: var(--IDS-FORM--DISABLED__BORDER);
5172
5171
  opacity: 1;
5173
5172
  }
5173
+ .ids-input__input:disabled::placeholder, .ids-input__input[readonly]::placeholder, .ids-input__input[readonly]:focus-visible::placeholder, .ids-input__input[readonly]:focus-visible:hover::placeholder {
5174
+ color: var(--IDS-FORM--DISABLED__COLOR);
5175
+ }
5174
5176
  .ids-input__input.ids-input--invalid, .ids-input__input[aria-invalid=true] {
5175
5177
  background: var(--IDS-FORM--INVALID__BACKGROUND-COLOR) !important;
5176
5178
  border: var(--IDS-FORM--INVALID__BORDER);
@@ -5188,14 +5190,17 @@ select::placeholder {
5188
5190
  .ids-input__input.ids-input--light:focus-visible, .ids-input__input.ids-input--light:focus-visible:hover {
5189
5191
  background-color: var(--IDS-INPUT--LIGHT__BACKGROUND-COLOR);
5190
5192
  }
5191
- .ids-input__input.ids-input--light:disabled, .ids-input__input.ids-input--light[readonly] {
5193
+ .ids-input__input.ids-input--light:disabled, .ids-input__input.ids-input--light[readonly], .ids-input__input.ids-input--light[readonly]:focus-visible, .ids-input__input.ids-input--light[readonly]:focus-visible:hover {
5192
5194
  color: var(--IDS-FORM--DISABLED__COLOR);
5193
5195
  font-style: italic !important;
5194
5196
  background: var(--IDS-FORM--DISABLED__BACKGROUND-COLOR);
5195
5197
  border: var(--IDS-FORM--DISABLED__BORDER);
5196
5198
  opacity: 1;
5197
5199
  }
5198
- .ids-input__input.ids-input--light.ids-input--invalid {
5200
+ .ids-input__input.ids-input--light:disabled::placeholder, .ids-input__input.ids-input--light[readonly]::placeholder, .ids-input__input.ids-input--light[readonly]:focus-visible::placeholder, .ids-input__input.ids-input--light[readonly]:focus-visible:hover::placeholder {
5201
+ color: var(--IDS-FORM--DISABLED__COLOR);
5202
+ }
5203
+ .ids-input__input.ids-input--light.ids-input--invalid, .ids-input__input.ids-input--light[aria-invalid=true] {
5199
5204
  background-color: var(--IDS-FORM--INVALID__BACKGROUND-COLOR);
5200
5205
  }
5201
5206
  .ids-input__input:focus-visible {
@@ -5257,9 +5262,13 @@ ids-input input[type=search]::-webkit-search-results-decoration {
5257
5262
  border: var(--IDS-INPUT__BORDER-THICKNESS) solid var(--IDS-INPUT__BORDER-COLOR);
5258
5263
  border-radius: var(--IDS-BORDER-RADIUS);
5259
5264
  font-size: 1rem;
5260
- color: var(--IDS-INPUT__COLOR);
5265
+ color: var(--IDS-FORM__COLOR);
5261
5266
  display: block;
5262
5267
  }
5268
+ .ids-textarea textarea::placeholder,
5269
+ .ids-textarea .ids-textarea__textarea::placeholder {
5270
+ color: var(--IDS-FORM__COLOR);
5271
+ }
5263
5272
  .ids-textarea textarea:hover,
5264
5273
  .ids-textarea .ids-textarea__textarea:hover {
5265
5274
  background-color: var(--IDS-INPUT__HOVER-BACKGROUND-COLOR);
@@ -5275,15 +5284,24 @@ ids-input input[type=search]::-webkit-search-results-decoration {
5275
5284
  background-color: var(--IDS-INPUT__BACKGROUND-COLOR);
5276
5285
  border-color: var(--IDS-INPUT__FOCUS-BORDER-COLOR);
5277
5286
  }
5278
- .ids-textarea textarea:disabled, .ids-textarea textarea[readonly],
5287
+ .ids-textarea textarea:disabled, .ids-textarea textarea[readonly], .ids-textarea textarea[readonly]:focus-visible, .ids-textarea textarea[readonly]:focus-visible:hover,
5279
5288
  .ids-textarea .ids-textarea__textarea:disabled,
5280
- .ids-textarea .ids-textarea__textarea[readonly] {
5289
+ .ids-textarea .ids-textarea__textarea[readonly],
5290
+ .ids-textarea .ids-textarea__textarea[readonly]:focus-visible,
5291
+ .ids-textarea .ids-textarea__textarea[readonly]:focus-visible:hover {
5281
5292
  color: var(--IDS-FORM--DISABLED__COLOR);
5282
5293
  font-style: italic !important;
5283
5294
  background: var(--IDS-FORM--DISABLED__BACKGROUND-COLOR);
5284
5295
  border: var(--IDS-FORM--DISABLED__BORDER);
5285
5296
  opacity: 1;
5286
5297
  }
5298
+ .ids-textarea textarea:disabled::placeholder, .ids-textarea textarea[readonly]::placeholder, .ids-textarea textarea[readonly]:focus-visible::placeholder, .ids-textarea textarea[readonly]:focus-visible:hover::placeholder,
5299
+ .ids-textarea .ids-textarea__textarea:disabled::placeholder,
5300
+ .ids-textarea .ids-textarea__textarea[readonly]::placeholder,
5301
+ .ids-textarea .ids-textarea__textarea[readonly]:focus-visible::placeholder,
5302
+ .ids-textarea .ids-textarea__textarea[readonly]:focus-visible:hover::placeholder {
5303
+ color: var(--IDS-FORM--DISABLED__COLOR);
5304
+ }
5287
5305
  .ids-textarea textarea.ids-input--invalid, .ids-textarea textarea[aria-invalid=true],
5288
5306
  .ids-textarea .ids-textarea__textarea.ids-input--invalid,
5289
5307
  .ids-textarea .ids-textarea__textarea[aria-invalid=true] {
@@ -5308,17 +5326,27 @@ ids-input input[type=search]::-webkit-search-results-decoration {
5308
5326
  .ids-textarea .ids-textarea__textarea.ids-input--light:focus-visible:hover {
5309
5327
  background-color: var(--IDS-INPUT--LIGHT__BACKGROUND-COLOR);
5310
5328
  }
5311
- .ids-textarea textarea.ids-input--light:disabled, .ids-textarea textarea.ids-input--light[readonly],
5329
+ .ids-textarea textarea.ids-input--light:disabled, .ids-textarea textarea.ids-input--light[readonly], .ids-textarea textarea.ids-input--light[readonly]:focus-visible, .ids-textarea textarea.ids-input--light[readonly]:focus-visible:hover,
5312
5330
  .ids-textarea .ids-textarea__textarea.ids-input--light:disabled,
5313
- .ids-textarea .ids-textarea__textarea.ids-input--light[readonly] {
5331
+ .ids-textarea .ids-textarea__textarea.ids-input--light[readonly],
5332
+ .ids-textarea .ids-textarea__textarea.ids-input--light[readonly]:focus-visible,
5333
+ .ids-textarea .ids-textarea__textarea.ids-input--light[readonly]:focus-visible:hover {
5314
5334
  color: var(--IDS-FORM--DISABLED__COLOR);
5315
5335
  font-style: italic !important;
5316
5336
  background: var(--IDS-FORM--DISABLED__BACKGROUND-COLOR);
5317
5337
  border: var(--IDS-FORM--DISABLED__BORDER);
5318
5338
  opacity: 1;
5319
5339
  }
5320
- .ids-textarea textarea.ids-input--light.ids-input--invalid,
5321
- .ids-textarea .ids-textarea__textarea.ids-input--light.ids-input--invalid {
5340
+ .ids-textarea textarea.ids-input--light:disabled::placeholder, .ids-textarea textarea.ids-input--light[readonly]::placeholder, .ids-textarea textarea.ids-input--light[readonly]:focus-visible::placeholder, .ids-textarea textarea.ids-input--light[readonly]:focus-visible:hover::placeholder,
5341
+ .ids-textarea .ids-textarea__textarea.ids-input--light:disabled::placeholder,
5342
+ .ids-textarea .ids-textarea__textarea.ids-input--light[readonly]::placeholder,
5343
+ .ids-textarea .ids-textarea__textarea.ids-input--light[readonly]:focus-visible::placeholder,
5344
+ .ids-textarea .ids-textarea__textarea.ids-input--light[readonly]:focus-visible:hover::placeholder {
5345
+ color: var(--IDS-FORM--DISABLED__COLOR);
5346
+ }
5347
+ .ids-textarea textarea.ids-input--light.ids-input--invalid, .ids-textarea textarea.ids-input--light[aria-invalid=true],
5348
+ .ids-textarea .ids-textarea__textarea.ids-input--light.ids-input--invalid,
5349
+ .ids-textarea .ids-textarea__textarea.ids-input--light[aria-invalid=true] {
5322
5350
  background-color: var(--IDS-FORM--INVALID__BACKGROUND-COLOR);
5323
5351
  }
5324
5352
  .ids-textarea textarea::-webkit-scrollbar,
@@ -5682,15 +5710,13 @@ ids-input input[type=search]::-webkit-search-results-decoration {
5682
5710
  .ids-radio input[type=radio]:active:after {
5683
5711
  background-color: var(--IDS-RADIO__ACTIVE-BACKGROUND-COLOR);
5684
5712
  }
5685
- .ids-radio input:checked:after, .ids-radio input[checked]:after,
5686
- .ids-radio input[type=radio]:checked:after,
5687
- .ids-radio input[type=radio][checked]:after {
5713
+ .ids-radio input:checked:after,
5714
+ .ids-radio input[type=radio]:checked:after {
5688
5715
  border-color: var(--IDS-RADIO__BACKGROUND-COLOR);
5689
5716
  background-color: var(--IDS-RADIO--CHECKED__BACKGROUND-COLOR);
5690
5717
  }
5691
- .ids-radio input:checked:hover:after, .ids-radio input[checked]:hover:after,
5692
- .ids-radio input[type=radio]:checked:hover:after,
5693
- .ids-radio input[type=radio][checked]:hover:after {
5718
+ .ids-radio input:checked:hover:after,
5719
+ .ids-radio input[type=radio]:checked:hover:after {
5694
5720
  border-color: var(--IDS-RADIO__BACKGROUND-COLOR);
5695
5721
  background-color: var(--IDS-RADIO--CHECKED__HOVER-BACKGROUND-COLOR);
5696
5722
  }
@@ -5823,7 +5849,7 @@ ids-input input[type=search]::-webkit-search-results-decoration {
5823
5849
  letter-spacing: 0;
5824
5850
  color: var(--IDS-FORM-LABEL__COLOR);
5825
5851
  display: inline-flex;
5826
- align-items: center;
5852
+ align-items: flex-start;
5827
5853
  gap: 0.5rem;
5828
5854
  margin-bottom: 0.625rem;
5829
5855
  }
@@ -5915,6 +5941,7 @@ ids-input input[type=search]::-webkit-search-results-decoration {
5915
5941
  pointer-events: none;
5916
5942
  font-style: normal;
5917
5943
  background-color: var(--IDS-FORM--DISABLED__BACKGROUND-COLOR);
5944
+ color: var(--IDS-FORM--DISABLED__COLOR);
5918
5945
  }
5919
5946
  .ids-radio-button:has(.ids-radio-button__input:disabled) {
5920
5947
  pointer-events: none;
@@ -5982,8 +6009,18 @@ ids-input input[type=search]::-webkit-search-results-decoration {
5982
6009
  display: block;
5983
6010
  }
5984
6011
  .ids-range .ids-range-ticks.ids-range-ticks--disabled .ids-range-tick {
6012
+ font-style: normal;
6013
+ color: var(--IDS-FORM--DISABLED__COLOR);
6014
+ font-family: var(--ids-font-family-body-text);
6015
+ font-size: var(--ids-font-size-body-text);
6016
+ line-height: var(--ids-line-height-body-text);
6017
+ font-weight: var(--ids-font-weight-body-text);
6018
+ letter-spacing: 0;
5985
6019
  font-style: italic;
5986
6020
  }
6021
+ .ids-range .ids-range-ticks.ids-range-ticks--disabled .ids-range-tick:before {
6022
+ background-color: var(--IDS-FORM--DISABLED__COLOR);
6023
+ }
5987
6024
 
5988
6025
  .ids-range__input,
5989
6026
  input[type=range] {
@@ -6068,7 +6105,7 @@ input[type=range]::-ms-thumb:active {
6068
6105
  .ids-range__input:disabled,
6069
6106
  input[type=range]:disabled {
6070
6107
  cursor: default;
6071
- border: 0.0625rem dashed var(--IDS-RANGE--DISABLED__BORDER-COLOR);
6108
+ border: 0.0625rem solid var(--IDS-RANGE--DISABLED__BORDER-COLOR);
6072
6109
  background-color: transparent;
6073
6110
  background-image: linear-gradient(var(--IDS-RANGE--DISABLED__SELECTION-BACKGROUND-COLOR), var(--IDS-RANGE--DISABLED__SELECTION-BACKGROUND-COLOR));
6074
6111
  }
@@ -6098,9 +6135,12 @@ input[type=range]:disabled::-ms-thumb {
6098
6135
  border: var(--IDS-INPUT__BORDER-THICKNESS) solid var(--IDS-INPUT__BORDER-COLOR);
6099
6136
  border-radius: var(--IDS-BORDER-RADIUS);
6100
6137
  font-size: 1rem;
6101
- color: var(--IDS-INPUT__COLOR);
6138
+ color: var(--IDS-FORM__COLOR);
6102
6139
  display: block;
6103
6140
  }
6141
+ .ids-select__select::placeholder {
6142
+ color: var(--IDS-FORM__COLOR);
6143
+ }
6104
6144
  .ids-select__select:hover {
6105
6145
  background-color: var(--IDS-INPUT__HOVER-BACKGROUND-COLOR);
6106
6146
  }
@@ -6112,13 +6152,16 @@ input[type=range]:disabled::-ms-thumb {
6112
6152
  background-color: var(--IDS-INPUT__BACKGROUND-COLOR);
6113
6153
  border-color: var(--IDS-INPUT__FOCUS-BORDER-COLOR);
6114
6154
  }
6115
- .ids-select__select:disabled, .ids-select__select[readonly] {
6155
+ .ids-select__select:disabled, .ids-select__select[readonly], .ids-select__select[readonly]:focus-visible, .ids-select__select[readonly]:focus-visible:hover {
6116
6156
  color: var(--IDS-FORM--DISABLED__COLOR);
6117
6157
  font-style: italic !important;
6118
6158
  background: var(--IDS-FORM--DISABLED__BACKGROUND-COLOR);
6119
6159
  border: var(--IDS-FORM--DISABLED__BORDER);
6120
6160
  opacity: 1;
6121
6161
  }
6162
+ .ids-select__select:disabled::placeholder, .ids-select__select[readonly]::placeholder, .ids-select__select[readonly]:focus-visible::placeholder, .ids-select__select[readonly]:focus-visible:hover::placeholder {
6163
+ color: var(--IDS-FORM--DISABLED__COLOR);
6164
+ }
6122
6165
  .ids-select__select.ids-input--invalid, .ids-select__select[aria-invalid=true] {
6123
6166
  background: var(--IDS-FORM--INVALID__BACKGROUND-COLOR) !important;
6124
6167
  border: var(--IDS-FORM--INVALID__BORDER);
@@ -6136,14 +6179,17 @@ input[type=range]:disabled::-ms-thumb {
6136
6179
  .ids-select__select.ids-input--light:focus-visible, .ids-select__select.ids-input--light:focus-visible:hover {
6137
6180
  background-color: var(--IDS-INPUT--LIGHT__BACKGROUND-COLOR);
6138
6181
  }
6139
- .ids-select__select.ids-input--light:disabled, .ids-select__select.ids-input--light[readonly] {
6182
+ .ids-select__select.ids-input--light:disabled, .ids-select__select.ids-input--light[readonly], .ids-select__select.ids-input--light[readonly]:focus-visible, .ids-select__select.ids-input--light[readonly]:focus-visible:hover {
6140
6183
  color: var(--IDS-FORM--DISABLED__COLOR);
6141
6184
  font-style: italic !important;
6142
6185
  background: var(--IDS-FORM--DISABLED__BACKGROUND-COLOR);
6143
6186
  border: var(--IDS-FORM--DISABLED__BORDER);
6144
6187
  opacity: 1;
6145
6188
  }
6146
- .ids-select__select.ids-input--light.ids-input--invalid {
6189
+ .ids-select__select.ids-input--light:disabled::placeholder, .ids-select__select.ids-input--light[readonly]::placeholder, .ids-select__select.ids-input--light[readonly]:focus-visible::placeholder, .ids-select__select.ids-input--light[readonly]:focus-visible:hover::placeholder {
6190
+ color: var(--IDS-FORM--DISABLED__COLOR);
6191
+ }
6192
+ .ids-select__select.ids-input--light.ids-input--invalid, .ids-select__select.ids-input--light[aria-invalid=true] {
6147
6193
  background-color: var(--IDS-FORM--INVALID__BACKGROUND-COLOR);
6148
6194
  }
6149
6195
  .ids-select__select:focus-visible {
@@ -6162,6 +6208,9 @@ input[type=range]:disabled::-ms-thumb {
6162
6208
  border: var(--IDS-INPUT__BORDER-THICKNESS) solid var(--IDS-INPUT__BORDER-COLOR);
6163
6209
  width: 100% !important;
6164
6210
  }
6211
+ .ids-select__select::placeholder {
6212
+ color: var(--IDS-FORM__COLOR);
6213
+ }
6165
6214
  .ids-select__select.ids-input--invalid, .ids-select__select[aria-invalid=true] {
6166
6215
  background: var(--IDS-FORM--INVALID__BACKGROUND-COLOR) !important;
6167
6216
  border: var(--IDS-FORM--INVALID__BORDER);
@@ -6180,9 +6229,15 @@ input[type=range]:disabled::-ms-thumb {
6180
6229
  border: var(--IDS-FORM--DISABLED__BORDER);
6181
6230
  opacity: 1;
6182
6231
  }
6232
+ .ids-select__select[aria-disabled=true]::placeholder {
6233
+ color: var(--IDS-FORM--DISABLED__COLOR);
6234
+ }
6183
6235
  .ids-select__select:disabled {
6184
6236
  cursor: default;
6185
6237
  }
6238
+ .ids-select__select:disabled::placeholder {
6239
+ color: var(--IDS-FORM--DISABLED__COLOR);
6240
+ }
6186
6241
  .ids-select__select:disabled.ids-input--light {
6187
6242
  background-color: var(--IDS-INPUT--LIGHT__BACKGROUND-COLOR);
6188
6243
  color: var(--IDS-FORM--DISABLED__COLOR);
@@ -6191,6 +6246,9 @@ input[type=range]:disabled::-ms-thumb {
6191
6246
  border: var(--IDS-FORM--DISABLED__BORDER);
6192
6247
  opacity: 1;
6193
6248
  }
6249
+ .ids-select__select:disabled.ids-input--light::placeholder {
6250
+ color: var(--IDS-FORM--DISABLED__COLOR);
6251
+ }
6194
6252
 
6195
6253
  .ids-select__wrapper {
6196
6254
  position: relative;
@@ -6209,7 +6267,7 @@ input[type=range]:disabled::-ms-thumb {
6209
6267
  top: 50%;
6210
6268
  transform: translateY(-50%);
6211
6269
  right: var(--IDS-INPUT__ICON-RIGHT);
6212
- z-index: 20;
6270
+ z-index: 2;
6213
6271
  }
6214
6272
  .ids-select__wrapper:has(select:disabled)::after, .ids-select__wrapper:has(select[aria-disabled=true])::after {
6215
6273
  color: var(--IDS-FORM--DISABLED__COLOR) !important;
@@ -6225,9 +6283,12 @@ input[type=range]:disabled::-ms-thumb {
6225
6283
  border: var(--IDS-INPUT__BORDER-THICKNESS) solid var(--IDS-INPUT__BORDER-COLOR);
6226
6284
  border-radius: var(--IDS-BORDER-RADIUS);
6227
6285
  font-size: 1rem;
6228
- color: var(--IDS-INPUT__COLOR);
6286
+ color: var(--IDS-FORM__COLOR);
6229
6287
  display: block;
6230
6288
  }
6289
+ .ids-select-multiple__select::placeholder {
6290
+ color: var(--IDS-FORM__COLOR);
6291
+ }
6231
6292
  .ids-select-multiple__select:hover {
6232
6293
  background-color: var(--IDS-INPUT__HOVER-BACKGROUND-COLOR);
6233
6294
  }
@@ -6239,13 +6300,16 @@ input[type=range]:disabled::-ms-thumb {
6239
6300
  background-color: var(--IDS-INPUT__BACKGROUND-COLOR);
6240
6301
  border-color: var(--IDS-INPUT__FOCUS-BORDER-COLOR);
6241
6302
  }
6242
- .ids-select-multiple__select:disabled, .ids-select-multiple__select[readonly] {
6303
+ .ids-select-multiple__select:disabled, .ids-select-multiple__select[readonly], .ids-select-multiple__select[readonly]:focus-visible, .ids-select-multiple__select[readonly]:focus-visible:hover {
6243
6304
  color: var(--IDS-FORM--DISABLED__COLOR);
6244
6305
  font-style: italic !important;
6245
6306
  background: var(--IDS-FORM--DISABLED__BACKGROUND-COLOR);
6246
6307
  border: var(--IDS-FORM--DISABLED__BORDER);
6247
6308
  opacity: 1;
6248
6309
  }
6310
+ .ids-select-multiple__select:disabled::placeholder, .ids-select-multiple__select[readonly]::placeholder, .ids-select-multiple__select[readonly]:focus-visible::placeholder, .ids-select-multiple__select[readonly]:focus-visible:hover::placeholder {
6311
+ color: var(--IDS-FORM--DISABLED__COLOR);
6312
+ }
6249
6313
  .ids-select-multiple__select.ids-input--invalid, .ids-select-multiple__select[aria-invalid=true] {
6250
6314
  background: var(--IDS-FORM--INVALID__BACKGROUND-COLOR) !important;
6251
6315
  border: var(--IDS-FORM--INVALID__BORDER);
@@ -6263,14 +6327,17 @@ input[type=range]:disabled::-ms-thumb {
6263
6327
  .ids-select-multiple__select.ids-input--light:focus-visible, .ids-select-multiple__select.ids-input--light:focus-visible:hover {
6264
6328
  background-color: var(--IDS-INPUT--LIGHT__BACKGROUND-COLOR);
6265
6329
  }
6266
- .ids-select-multiple__select.ids-input--light:disabled, .ids-select-multiple__select.ids-input--light[readonly] {
6330
+ .ids-select-multiple__select.ids-input--light:disabled, .ids-select-multiple__select.ids-input--light[readonly], .ids-select-multiple__select.ids-input--light[readonly]:focus-visible, .ids-select-multiple__select.ids-input--light[readonly]:focus-visible:hover {
6267
6331
  color: var(--IDS-FORM--DISABLED__COLOR);
6268
6332
  font-style: italic !important;
6269
6333
  background: var(--IDS-FORM--DISABLED__BACKGROUND-COLOR);
6270
6334
  border: var(--IDS-FORM--DISABLED__BORDER);
6271
6335
  opacity: 1;
6272
6336
  }
6273
- .ids-select-multiple__select.ids-input--light.ids-input--invalid {
6337
+ .ids-select-multiple__select.ids-input--light:disabled::placeholder, .ids-select-multiple__select.ids-input--light[readonly]::placeholder, .ids-select-multiple__select.ids-input--light[readonly]:focus-visible::placeholder, .ids-select-multiple__select.ids-input--light[readonly]:focus-visible:hover::placeholder {
6338
+ color: var(--IDS-FORM--DISABLED__COLOR);
6339
+ }
6340
+ .ids-select-multiple__select.ids-input--light.ids-input--invalid, .ids-select-multiple__select.ids-input--light[aria-invalid=true] {
6274
6341
  background-color: var(--IDS-FORM--INVALID__BACKGROUND-COLOR);
6275
6342
  }
6276
6343
  .ids-select-multiple__select:focus-visible {
@@ -6289,6 +6356,9 @@ input[type=range]:disabled::-ms-thumb {
6289
6356
  border: var(--IDS-INPUT__BORDER-THICKNESS) solid var(--IDS-INPUT__BORDER-COLOR);
6290
6357
  width: 100% !important;
6291
6358
  }
6359
+ .ids-select-multiple__select::placeholder {
6360
+ color: var(--IDS-FORM__COLOR);
6361
+ }
6292
6362
  .ids-select-multiple__select.ids-input--invalid, .ids-select-multiple__select[aria-invalid=true] {
6293
6363
  background: var(--IDS-FORM--INVALID__BACKGROUND-COLOR) !important;
6294
6364
  border: var(--IDS-FORM--INVALID__BORDER);
@@ -6307,9 +6377,15 @@ input[type=range]:disabled::-ms-thumb {
6307
6377
  border: var(--IDS-FORM--DISABLED__BORDER);
6308
6378
  opacity: 1;
6309
6379
  }
6380
+ .ids-select-multiple__select[aria-disabled=true]::placeholder {
6381
+ color: var(--IDS-FORM--DISABLED__COLOR);
6382
+ }
6310
6383
  .ids-select-multiple__select:disabled {
6311
6384
  cursor: default;
6312
6385
  }
6386
+ .ids-select-multiple__select:disabled::placeholder {
6387
+ color: var(--IDS-FORM--DISABLED__COLOR);
6388
+ }
6313
6389
  .ids-select-multiple__select:disabled.ids-input--light {
6314
6390
  background-color: var(--IDS-INPUT--LIGHT__BACKGROUND-COLOR);
6315
6391
  color: var(--IDS-FORM--DISABLED__COLOR);
@@ -6318,6 +6394,9 @@ input[type=range]:disabled::-ms-thumb {
6318
6394
  border: var(--IDS-FORM--DISABLED__BORDER);
6319
6395
  opacity: 1;
6320
6396
  }
6397
+ .ids-select-multiple__select:disabled.ids-input--light::placeholder {
6398
+ color: var(--IDS-FORM--DISABLED__COLOR);
6399
+ }
6321
6400
 
6322
6401
  .ids-select-multiple__select-wrapper {
6323
6402
  position: relative;
@@ -6336,7 +6415,7 @@ input[type=range]:disabled::-ms-thumb {
6336
6415
  top: 50%;
6337
6416
  transform: translateY(-50%);
6338
6417
  right: var(--IDS-INPUT__ICON-RIGHT);
6339
- z-index: 20;
6418
+ z-index: 2;
6340
6419
  }
6341
6420
  .ids-select-multiple__select-wrapper:has(.ids-input--invalid)::after, .ids-select-multiple__select-wrapper:has(input[aria-invalid=true])::after {
6342
6421
  color: var(--IDS-FORM--INVALID__COLOR);
@@ -6355,7 +6434,7 @@ input[type=range]:disabled::-ms-thumb {
6355
6434
  color: var(--IDS-FONT-COLOR);
6356
6435
  border-radius: var(--IDS-BORDER-RADIUS);
6357
6436
  position: absolute;
6358
- z-index: 10;
6437
+ z-index: 3;
6359
6438
  left: 0;
6360
6439
  right: 0;
6361
6440
  display: none;
@@ -6396,6 +6475,9 @@ input[type=range]:disabled::-ms-thumb {
6396
6475
  border: var(--IDS-FORM--DISABLED__BORDER);
6397
6476
  opacity: 1;
6398
6477
  }
6478
+ :host([disabled]) input::placeholder {
6479
+ color: var(--IDS-FORM--DISABLED__COLOR);
6480
+ }
6399
6481
 
6400
6482
  .ids-select-multiple-label-wrapper .ids-label-tooltip-wrapper {
6401
6483
  display: inline-flex;
@@ -6553,6 +6635,7 @@ input[type=range]:disabled::-ms-thumb {
6553
6635
  -moz-osx-font-smoothing: grayscale;
6554
6636
  content: "\e913";
6555
6637
  font-size: 1.25rem;
6638
+ line-height: 1.5rem;
6556
6639
  color: var(--IDS-ERROR-MESSAGE__COLOR);
6557
6640
  left: 0;
6558
6641
  top: 0;
@@ -6601,9 +6684,12 @@ input.ids-time__input {
6601
6684
  border: var(--IDS-INPUT__BORDER-THICKNESS) solid var(--IDS-INPUT__BORDER-COLOR);
6602
6685
  border-radius: var(--IDS-BORDER-RADIUS);
6603
6686
  font-size: 1rem;
6604
- color: var(--IDS-INPUT__COLOR);
6687
+ color: var(--IDS-FORM__COLOR);
6605
6688
  display: block;
6606
6689
  }
6690
+ input.ids-time__input::placeholder {
6691
+ color: var(--IDS-FORM__COLOR);
6692
+ }
6607
6693
  input.ids-time__input:hover {
6608
6694
  background-color: var(--IDS-INPUT__HOVER-BACKGROUND-COLOR);
6609
6695
  }
@@ -6615,13 +6701,16 @@ input.ids-time__input:focus-visible, input.ids-time__input:focus-visible:hover {
6615
6701
  background-color: var(--IDS-INPUT__BACKGROUND-COLOR);
6616
6702
  border-color: var(--IDS-INPUT__FOCUS-BORDER-COLOR);
6617
6703
  }
6618
- input.ids-time__input:disabled, input.ids-time__input[readonly] {
6704
+ input.ids-time__input:disabled, input.ids-time__input[readonly], input.ids-time__input[readonly]:focus-visible, input.ids-time__input[readonly]:focus-visible:hover {
6619
6705
  color: var(--IDS-FORM--DISABLED__COLOR);
6620
6706
  font-style: italic !important;
6621
6707
  background: var(--IDS-FORM--DISABLED__BACKGROUND-COLOR);
6622
6708
  border: var(--IDS-FORM--DISABLED__BORDER);
6623
6709
  opacity: 1;
6624
6710
  }
6711
+ input.ids-time__input:disabled::placeholder, input.ids-time__input[readonly]::placeholder, input.ids-time__input[readonly]:focus-visible::placeholder, input.ids-time__input[readonly]:focus-visible:hover::placeholder {
6712
+ color: var(--IDS-FORM--DISABLED__COLOR);
6713
+ }
6625
6714
  input.ids-time__input.ids-input--invalid, input.ids-time__input[aria-invalid=true] {
6626
6715
  background: var(--IDS-FORM--INVALID__BACKGROUND-COLOR) !important;
6627
6716
  border: var(--IDS-FORM--INVALID__BORDER);
@@ -6639,14 +6728,17 @@ input.ids-time__input.ids-input--light:active {
6639
6728
  input.ids-time__input.ids-input--light:focus-visible, input.ids-time__input.ids-input--light:focus-visible:hover {
6640
6729
  background-color: var(--IDS-INPUT--LIGHT__BACKGROUND-COLOR);
6641
6730
  }
6642
- input.ids-time__input.ids-input--light:disabled, input.ids-time__input.ids-input--light[readonly] {
6731
+ input.ids-time__input.ids-input--light:disabled, input.ids-time__input.ids-input--light[readonly], input.ids-time__input.ids-input--light[readonly]:focus-visible, input.ids-time__input.ids-input--light[readonly]:focus-visible:hover {
6643
6732
  color: var(--IDS-FORM--DISABLED__COLOR);
6644
6733
  font-style: italic !important;
6645
6734
  background: var(--IDS-FORM--DISABLED__BACKGROUND-COLOR);
6646
6735
  border: var(--IDS-FORM--DISABLED__BORDER);
6647
6736
  opacity: 1;
6648
6737
  }
6649
- input.ids-time__input.ids-input--light.ids-input--invalid {
6738
+ input.ids-time__input.ids-input--light:disabled::placeholder, input.ids-time__input.ids-input--light[readonly]::placeholder, input.ids-time__input.ids-input--light[readonly]:focus-visible::placeholder, input.ids-time__input.ids-input--light[readonly]:focus-visible:hover::placeholder {
6739
+ color: var(--IDS-FORM--DISABLED__COLOR);
6740
+ }
6741
+ input.ids-time__input.ids-input--light.ids-input--invalid, input.ids-time__input.ids-input--light[aria-invalid=true] {
6650
6742
  background-color: var(--IDS-FORM--INVALID__BACKGROUND-COLOR);
6651
6743
  }
6652
6744
  input.ids-time__input {
@@ -6668,7 +6760,7 @@ input.ids-time__input:disabled {
6668
6760
 
6669
6761
  .ids-toggle {
6670
6762
  display: inline-flex;
6671
- align-items: center;
6763
+ align-items: flex-start;
6672
6764
  justify-content: flex-start;
6673
6765
  gap: 0.5rem;
6674
6766
  margin-bottom: 0.25rem;
@@ -6680,14 +6772,21 @@ input.ids-time__input:disabled {
6680
6772
  align-items: center;
6681
6773
  justify-content: flex-start;
6682
6774
  margin-bottom: 0;
6775
+ bottom: -0.25rem;
6683
6776
  }
6684
6777
  .ids-toggle .ids-label-tooltip-wrapper {
6685
6778
  position: relative;
6686
- top: 0.375rem;
6779
+ min-height: 1.875rem;
6780
+ align-items: center;
6687
6781
  }
6688
6782
  .ids-toggle .ids-label-tooltip-wrapper label {
6689
- top: -0.25rem;
6690
- margin-right: 0.5rem;
6783
+ top: 0;
6784
+ }
6785
+ .ids-toggle .ids-label-tooltip-wrapper.ids-label-tooltip-wrapper--inline {
6786
+ display: inline-flex;
6787
+ }
6788
+ .ids-toggle .ids-label-tooltip-wrapper.ids-label-tooltip-wrapper--inline label {
6789
+ margin-right: 0;
6691
6790
  }
6692
6791
  .ids-toggle input[type=checkbox],
6693
6792
  .ids-toggle input {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@inera/ids-design",
4
- "version": "8.1.0",
4
+ "version": "8.2.0",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "publishConfig": {
7
7
  "access": "public"