@ni/ok-components 1.6.0 → 1.6.2

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.
@@ -4178,6 +4178,7 @@ const jv="nimble-icon-arrow-expander-down",Wv="above",Gv="underline",Zv="outline
4178
4178
  ${Jv}
4179
4179
 
4180
4180
  :host {
4181
+ field-sizing: fixed;
4181
4182
  --ni-private-hover-bottom-border-width: 2px;
4182
4183
  --ni-private-bottom-border-width: 1px;
4183
4184
  --ni-private-height-within-border: calc(
@@ -4186,6 +4187,7 @@ const jv="nimble-icon-arrow-expander-down",Wv="above",Gv="underline",Zv="outline
4186
4187
  }
4187
4188
 
4188
4189
  .control {
4190
+ field-sizing: inherit;
4189
4191
  bottom-border-width: var(--ni-private-bottom-border-width);
4190
4192
  }
4191
4193
 
@@ -4193,7 +4195,12 @@ const jv="nimble-icon-arrow-expander-down",Wv="above",Gv="underline",Zv="outline
4193
4195
  border-bottom-color: ${hc};
4194
4196
  }
4195
4197
 
4198
+ slot[name='control'] {
4199
+ field-sizing: inherit;
4200
+ }
4201
+
4196
4202
  .selected-value {
4203
+ field-sizing: inherit;
4197
4204
  -webkit-appearance: none;
4198
4205
  background: transparent;
4199
4206
  border: none;
@@ -5491,6 +5498,7 @@ const nw="nimble-menu-item",iw="underline",ow="outline",sw="block",rw="frameless
5491
5498
  outline: none;
5492
5499
  ${Ch}
5493
5500
  color: ${pd};
5501
+ field-sizing: fixed;
5494
5502
  --ni-private-hover-indicator-width: calc(${Lc} + 1px);
5495
5503
  --ni-private-height-within-border: calc(
5496
5504
  ${Ac} - 2 * ${Lc}
@@ -5523,6 +5531,7 @@ const nw="nimble-menu-item",iw="underline",ow="outline",sw="block",rw="frameless
5523
5531
  position: relative;
5524
5532
  display: flex;
5525
5533
  flex-direction: row;
5534
+ field-sizing: inherit;
5526
5535
  justify-content: center;
5527
5536
  align-items: center;
5528
5537
  border-radius: 0px;
@@ -5590,12 +5599,17 @@ const nw="nimble-menu-item",iw="underline",ow="outline",sw="block",rw="frameless
5590
5599
  font: inherit;
5591
5600
  background: transparent;
5592
5601
  color: inherit;
5602
+ field-sizing: inherit;
5593
5603
  height: var(--ni-private-height-within-border);
5594
5604
  width: 100%;
5595
5605
  border: none;
5596
5606
  padding: 0px;
5597
5607
  padding-left: ${Dc};
5598
5608
  }
5609
+
5610
+ :host([hide-step]) .control {
5611
+ padding-right: ${Oc};
5612
+ }
5599
5613
 
5600
5614
  .control:hover,
5601
5615
  .control:focus,
@@ -5691,6 +5705,7 @@ const nw="nimble-menu-item",iw="underline",ow="outline",sw="block",rw="frameless
5691
5705
 
5692
5706
  :host([full-bleed]) .control {
5693
5707
  padding-left: 0px;
5708
+ padding-right: 0px;
5694
5709
  }
5695
5710
  `)),lw=nb(J`<label
5696
5711
  part="label"
@@ -14404,6 +14419,8 @@ const WH="outline",GH="block",ZH=_t`
14404
14419
  outline: none;
14405
14420
  ${Ch}
14406
14421
  color: ${pd};
14422
+ field-sizing: fixed;
14423
+ min-width: 100px;
14407
14424
  flex-direction: column;
14408
14425
  vertical-align: top;
14409
14426
  --ni-private-hover-indicator-width: calc(${Lc} + 1px);
@@ -14435,6 +14452,7 @@ const WH="outline",GH="block",ZH=_t`
14435
14452
  display: flex;
14436
14453
  justify-content: center;
14437
14454
  position: relative;
14455
+ field-sizing: inherit;
14438
14456
  height: 100%;
14439
14457
  width: 100%;
14440
14458
  }
@@ -14479,7 +14497,7 @@ const WH="outline",GH="block",ZH=_t`
14479
14497
  border-radius: 0px;
14480
14498
  align-items: flex-end;
14481
14499
  border: ${Lc} solid transparent;
14482
- min-width: 100px;
14500
+ field-sizing: inherit;
14483
14501
  min-height: calc(${Bc} + ${Rc});
14484
14502
  padding: 8px;
14485
14503
  ${""}
@@ -14651,6 +14669,7 @@ const JH="underline",QH="outline",tU="block",eU="frameless",nU=_t`
14651
14669
  outline: none;
14652
14670
  ${Ch}
14653
14671
  color: ${pd};
14672
+ field-sizing: fixed;
14654
14673
  --ni-private-hover-indicator-width: calc(${Lc} + 1px);
14655
14674
  --ni-private-height-within-border: calc(
14656
14675
  ${Ac} - 2 * ${Lc}
@@ -14685,6 +14704,7 @@ const JH="underline",QH="outline",tU="block",eU="frameless",nU=_t`
14685
14704
  display: flex;
14686
14705
  flex-direction: row;
14687
14706
  border-radius: 0px;
14707
+ field-sizing: inherit;
14688
14708
  font: inherit;
14689
14709
  align-items: center;
14690
14710
  justify-content: center;
@@ -14763,6 +14783,7 @@ const JH="underline",QH="outline",tU="block",eU="frameless",nU=_t`
14763
14783
  background: transparent;
14764
14784
  color: inherit;
14765
14785
  padding: 0px;
14786
+ field-sizing: inherit;
14766
14787
  height: var(--ni-private-height-within-border);
14767
14788
  width: 100%;
14768
14789
  margin-top: auto;
@@ -17130,7 +17151,7 @@ const z1=t=>`${zo(t)}:host{box-sizing:border-box;}*{box-sizing:border-box;}:host
17130
17151
  display: none;
17131
17152
  }
17132
17153
 
17133
- .messages-anchored.anchor-active {
17154
+ .messages-anchored {
17134
17155
  min-height: 100%;
17135
17156
  }
17136
17157
 
@@ -17633,9 +17654,10 @@ const l2=_t`
17633
17654
  min-width: ${Rc};
17634
17655
  min-height: ${Rc};
17635
17656
 
17657
+ flex: 1;
17636
17658
  flex-direction: row;
17637
17659
  justify-content: center;
17638
- flex-shrink: 0;
17660
+ align-items: center;
17639
17661
  font: ${ud};
17640
17662
  color: ${pd};
17641
17663
  }