@ni/spright-components 6.2.0 → 6.2.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.
@@ -93847,12 +93847,14 @@ focus outline in that case.
93847
93847
  :host {
93848
93848
  width: 100%;
93849
93849
  height: auto;
93850
+ outline: none;
93851
+ --ni-private-hover-indicator-width: calc(${borderWidth} + 1px);
93850
93852
  }
93851
93853
 
93852
93854
  .container {
93853
- display: grid;
93854
- grid-template-rows: auto 1fr;
93855
- grid-template-columns: 1fr auto;
93855
+ display: flex;
93856
+ flex-direction: column;
93857
+ position: relative;
93856
93858
  width: 100%;
93857
93859
  height: 100%;
93858
93860
 
@@ -93861,10 +93863,34 @@ focus outline in that case.
93861
93863
  box-shadow: ${elevation2BoxShadow};
93862
93864
  }
93863
93865
 
93864
- textarea {
93865
- grid-row: 1;
93866
- grid-column: 1 / 3;
93866
+ .container::after {
93867
+ content: '';
93868
+ position: absolute;
93869
+ bottom: calc(-1 * ${borderWidth});
93870
+ width: 0px;
93871
+ height: 0px;
93872
+ align-self: center;
93873
+ border-bottom: ${borderHoverColor}
93874
+ var(--ni-private-hover-indicator-width) solid;
93875
+ transition: width ${smallDelay} ease-in;
93876
+ }
93877
+
93878
+ :host(:hover) .container::after {
93879
+ width: 100%;
93880
+ transition: width ${smallDelay} ease-in;
93881
+ }
93882
+
93883
+ :host(:focus-within) .container {
93884
+ border-bottom-color: ${borderHoverColor};
93885
+ }
93867
93886
 
93887
+ @media (prefers-reduced-motion) {
93888
+ .container::after {
93889
+ transition-duration: 0s;
93890
+ }
93891
+ }
93892
+
93893
+ textarea {
93868
93894
  font: ${bodyFont};
93869
93895
  color: ${bodyFontColor};
93870
93896
  background-color: transparent;
@@ -93885,8 +93911,7 @@ focus outline in that case.
93885
93911
  }
93886
93912
 
93887
93913
  .send-button {
93888
- grid-row: 2;
93889
- grid-column: 2;
93914
+ align-self: flex-end;
93890
93915
  width: 80px;
93891
93916
  margin: ${mediumPadding};
93892
93917
  }