@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.
@@ -15237,12 +15237,14 @@ const DJ=Mt`
15237
15237
  :host {
15238
15238
  width: 100%;
15239
15239
  height: auto;
15240
+ outline: none;
15241
+ --ni-private-hover-indicator-width: calc(${Vl} + 1px);
15240
15242
  }
15241
15243
 
15242
15244
  .container {
15243
- display: grid;
15244
- grid-template-rows: auto 1fr;
15245
- grid-template-columns: 1fr auto;
15245
+ display: flex;
15246
+ flex-direction: column;
15247
+ position: relative;
15246
15248
  width: 100%;
15247
15249
  height: 100%;
15248
15250
 
@@ -15251,10 +15253,34 @@ const DJ=Mt`
15251
15253
  box-shadow: ${Kl};
15252
15254
  }
15253
15255
 
15254
- textarea {
15255
- grid-row: 1;
15256
- grid-column: 1 / 3;
15256
+ .container::after {
15257
+ content: '';
15258
+ position: absolute;
15259
+ bottom: calc(-1 * ${Vl});
15260
+ width: 0px;
15261
+ height: 0px;
15262
+ align-self: center;
15263
+ border-bottom: ${Cl}
15264
+ var(--ni-private-hover-indicator-width) solid;
15265
+ transition: width ${nh} ease-in;
15266
+ }
15267
+
15268
+ :host(:hover) .container::after {
15269
+ width: 100%;
15270
+ transition: width ${nh} ease-in;
15271
+ }
15272
+
15273
+ :host(:focus-within) .container {
15274
+ border-bottom-color: ${Cl};
15275
+ }
15257
15276
 
15277
+ @media (prefers-reduced-motion) {
15278
+ .container::after {
15279
+ transition-duration: 0s;
15280
+ }
15281
+ }
15282
+
15283
+ textarea {
15258
15284
  font: ${Qc};
15259
15285
  color: ${td};
15260
15286
  background-color: transparent;
@@ -15275,8 +15301,7 @@ const DJ=Mt`
15275
15301
  }
15276
15302
 
15277
15303
  .send-button {
15278
- grid-row: 2;
15279
- grid-column: 2;
15304
+ align-self: flex-end;
15280
15305
  width: 80px;
15281
15306
  margin: ${Ll};
15282
15307
  }