@ni/ok-components 1.6.0 → 1.6.1

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.
@@ -22244,6 +22244,7 @@ so this becomes the fallback color for the slot */ ''}
22244
22244
  ${styles$1d}
22245
22245
 
22246
22246
  :host {
22247
+ field-sizing: fixed;
22247
22248
  --ni-private-hover-bottom-border-width: 2px;
22248
22249
  --ni-private-bottom-border-width: 1px;
22249
22250
  --ni-private-height-within-border: calc(
@@ -22252,6 +22253,7 @@ so this becomes the fallback color for the slot */ ''}
22252
22253
  }
22253
22254
 
22254
22255
  .control {
22256
+ field-sizing: inherit;
22255
22257
  bottom-border-width: var(--ni-private-bottom-border-width);
22256
22258
  }
22257
22259
 
@@ -22259,7 +22261,12 @@ so this becomes the fallback color for the slot */ ''}
22259
22261
  border-bottom-color: ${borderHoverColor};
22260
22262
  }
22261
22263
 
22264
+ slot[name='control'] {
22265
+ field-sizing: inherit;
22266
+ }
22267
+
22262
22268
  .selected-value {
22269
+ field-sizing: inherit;
22263
22270
  -webkit-appearance: none;
22264
22271
  background: transparent;
22265
22272
  border: none;
@@ -28115,6 +28122,7 @@ so this becomes the fallback color for the slot */ ''}
28115
28122
  outline: none;
28116
28123
  ${userSelectNone$1}
28117
28124
  color: ${bodyFontColor};
28125
+ field-sizing: fixed;
28118
28126
  --ni-private-hover-indicator-width: calc(${borderWidth} + 1px);
28119
28127
  --ni-private-height-within-border: calc(
28120
28128
  ${controlHeight} - 2 * ${borderWidth}
@@ -28147,6 +28155,7 @@ so this becomes the fallback color for the slot */ ''}
28147
28155
  position: relative;
28148
28156
  display: flex;
28149
28157
  flex-direction: row;
28158
+ field-sizing: inherit;
28150
28159
  justify-content: center;
28151
28160
  align-items: center;
28152
28161
  border-radius: 0px;
@@ -28214,12 +28223,17 @@ so this becomes the fallback color for the slot */ ''}
28214
28223
  font: inherit;
28215
28224
  background: transparent;
28216
28225
  color: inherit;
28226
+ field-sizing: inherit;
28217
28227
  height: var(--ni-private-height-within-border);
28218
28228
  width: 100%;
28219
28229
  border: none;
28220
28230
  padding: 0px;
28221
28231
  padding-left: ${mediumPadding};
28222
28232
  }
28233
+
28234
+ :host([hide-step]) .control {
28235
+ padding-right: ${smallPadding};
28236
+ }
28223
28237
 
28224
28238
  .control:hover,
28225
28239
  .control:focus,
@@ -28317,6 +28331,7 @@ so this becomes the fallback color for the slot */ ''}
28317
28331
 
28318
28332
  :host([full-bleed]) .control {
28319
28333
  padding-left: 0px;
28334
+ padding-right: 0px;
28320
28335
  }
28321
28336
  `));
28322
28337
 
@@ -81206,6 +81221,8 @@ focus outline in that case.
81206
81221
  outline: none;
81207
81222
  ${userSelectNone$1}
81208
81223
  color: ${bodyFontColor};
81224
+ field-sizing: fixed;
81225
+ min-width: 100px;
81209
81226
  flex-direction: column;
81210
81227
  vertical-align: top;
81211
81228
  --ni-private-hover-indicator-width: calc(${borderWidth} + 1px);
@@ -81237,6 +81254,7 @@ focus outline in that case.
81237
81254
  display: flex;
81238
81255
  justify-content: center;
81239
81256
  position: relative;
81257
+ field-sizing: inherit;
81240
81258
  height: 100%;
81241
81259
  width: 100%;
81242
81260
  }
@@ -81281,7 +81299,7 @@ focus outline in that case.
81281
81299
  border-radius: 0px;
81282
81300
  align-items: flex-end;
81283
81301
  border: ${borderWidth} solid transparent;
81284
- min-width: 100px;
81302
+ field-sizing: inherit;
81285
81303
  min-height: calc(${iconSize} + ${standardPadding});
81286
81304
  padding: 8px;
81287
81305
  ${
@@ -81567,6 +81585,7 @@ focus outline in that case.
81567
81585
  outline: none;
81568
81586
  ${userSelectNone$1}
81569
81587
  color: ${bodyFontColor};
81588
+ field-sizing: fixed;
81570
81589
  --ni-private-hover-indicator-width: calc(${borderWidth} + 1px);
81571
81590
  --ni-private-height-within-border: calc(
81572
81591
  ${controlHeight} - 2 * ${borderWidth}
@@ -81601,6 +81620,7 @@ focus outline in that case.
81601
81620
  display: flex;
81602
81621
  flex-direction: row;
81603
81622
  border-radius: 0px;
81623
+ field-sizing: inherit;
81604
81624
  font: inherit;
81605
81625
  align-items: center;
81606
81626
  justify-content: center;
@@ -81679,6 +81699,7 @@ focus outline in that case.
81679
81699
  background: transparent;
81680
81700
  color: inherit;
81681
81701
  padding: 0px;
81702
+ field-sizing: inherit;
81682
81703
  height: var(--ni-private-height-within-border);
81683
81704
  width: 100%;
81684
81705
  margin-top: auto;