@ni/nimble-components 35.11.0 → 35.12.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.
@@ -22242,6 +22242,7 @@ so this becomes the fallback color for the slot */ ''}
22242
22242
  ${styles$L}
22243
22243
 
22244
22244
  :host {
22245
+ field-sizing: fixed;
22245
22246
  --ni-private-hover-bottom-border-width: 2px;
22246
22247
  --ni-private-bottom-border-width: 1px;
22247
22248
  --ni-private-height-within-border: calc(
@@ -22250,6 +22251,7 @@ so this becomes the fallback color for the slot */ ''}
22250
22251
  }
22251
22252
 
22252
22253
  .control {
22254
+ field-sizing: inherit;
22253
22255
  bottom-border-width: var(--ni-private-bottom-border-width);
22254
22256
  }
22255
22257
 
@@ -22257,7 +22259,12 @@ so this becomes the fallback color for the slot */ ''}
22257
22259
  border-bottom-color: ${borderHoverColor};
22258
22260
  }
22259
22261
 
22262
+ slot[name='control'] {
22263
+ field-sizing: inherit;
22264
+ }
22265
+
22260
22266
  .selected-value {
22267
+ field-sizing: inherit;
22261
22268
  -webkit-appearance: none;
22262
22269
  background: transparent;
22263
22270
  border: none;
@@ -28105,6 +28112,7 @@ so this becomes the fallback color for the slot */ ''}
28105
28112
  outline: none;
28106
28113
  ${userSelectNone}
28107
28114
  color: ${bodyFontColor};
28115
+ field-sizing: fixed;
28108
28116
  --ni-private-hover-indicator-width: calc(${borderWidth} + 1px);
28109
28117
  --ni-private-height-within-border: calc(
28110
28118
  ${controlHeight} - 2 * ${borderWidth}
@@ -28137,6 +28145,7 @@ so this becomes the fallback color for the slot */ ''}
28137
28145
  position: relative;
28138
28146
  display: flex;
28139
28147
  flex-direction: row;
28148
+ field-sizing: inherit;
28140
28149
  justify-content: center;
28141
28150
  align-items: center;
28142
28151
  border-radius: 0px;
@@ -28204,12 +28213,17 @@ so this becomes the fallback color for the slot */ ''}
28204
28213
  font: inherit;
28205
28214
  background: transparent;
28206
28215
  color: inherit;
28216
+ field-sizing: inherit;
28207
28217
  height: var(--ni-private-height-within-border);
28208
28218
  width: 100%;
28209
28219
  border: none;
28210
28220
  padding: 0px;
28211
28221
  padding-left: ${mediumPadding};
28212
28222
  }
28223
+
28224
+ :host([hide-step]) .control {
28225
+ padding-right: ${smallPadding};
28226
+ }
28213
28227
 
28214
28228
  .control:hover,
28215
28229
  .control:focus,
@@ -28307,6 +28321,7 @@ so this becomes the fallback color for the slot */ ''}
28307
28321
 
28308
28322
  :host([full-bleed]) .control {
28309
28323
  padding-left: 0px;
28324
+ padding-right: 0px;
28310
28325
  }
28311
28326
  `));
28312
28327
 
@@ -81196,6 +81211,8 @@ focus outline in that case.
81196
81211
  outline: none;
81197
81212
  ${userSelectNone}
81198
81213
  color: ${bodyFontColor};
81214
+ field-sizing: fixed;
81215
+ min-width: 100px;
81199
81216
  flex-direction: column;
81200
81217
  vertical-align: top;
81201
81218
  --ni-private-hover-indicator-width: calc(${borderWidth} + 1px);
@@ -81227,6 +81244,7 @@ focus outline in that case.
81227
81244
  display: flex;
81228
81245
  justify-content: center;
81229
81246
  position: relative;
81247
+ field-sizing: inherit;
81230
81248
  height: 100%;
81231
81249
  width: 100%;
81232
81250
  }
@@ -81271,7 +81289,7 @@ focus outline in that case.
81271
81289
  border-radius: 0px;
81272
81290
  align-items: flex-end;
81273
81291
  border: ${borderWidth} solid transparent;
81274
- min-width: 100px;
81292
+ field-sizing: inherit;
81275
81293
  min-height: calc(${iconSize} + ${standardPadding});
81276
81294
  padding: 8px;
81277
81295
  ${
@@ -81557,6 +81575,7 @@ focus outline in that case.
81557
81575
  outline: none;
81558
81576
  ${userSelectNone}
81559
81577
  color: ${bodyFontColor};
81578
+ field-sizing: fixed;
81560
81579
  --ni-private-hover-indicator-width: calc(${borderWidth} + 1px);
81561
81580
  --ni-private-height-within-border: calc(
81562
81581
  ${controlHeight} - 2 * ${borderWidth}
@@ -81591,6 +81610,7 @@ focus outline in that case.
81591
81610
  display: flex;
81592
81611
  flex-direction: row;
81593
81612
  border-radius: 0px;
81613
+ field-sizing: inherit;
81594
81614
  font: inherit;
81595
81615
  align-items: center;
81596
81616
  justify-content: center;
@@ -81669,6 +81689,7 @@ focus outline in that case.
81669
81689
  background: transparent;
81670
81690
  color: inherit;
81671
81691
  padding: 0px;
81692
+ field-sizing: inherit;
81672
81693
  height: var(--ni-private-height-within-border);
81673
81694
  width: 100%;
81674
81695
  margin-top: auto;