@box/blueprint-web 18.10.2 → 18.11.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.
@@ -9441,7 +9441,7 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9441
9441
  .bp_navigation_menu_module_navigationMenuSeparator--83055{
9442
9442
  margin-block:var(--space-2);
9443
9443
  }
9444
- .bp_base_text_input_module_textInputContainerOuter--f4735{
9444
+ .bp_base_text_input_module_textInputContainerOuter--03f16{
9445
9445
  --text-input-border-width:var(--bp-border-01);
9446
9446
  --text-input-border-width-focused:var(--bp-border-02);
9447
9447
  --text-input-border-width-error:var(--bp-border-02);
@@ -9481,7 +9481,7 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9481
9481
  letter-spacing:var(--bp-font-letter-spacing-01);
9482
9482
  line-height:var(--bp-font-line-height-04);
9483
9483
  }
9484
- :where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--f4735{
9484
+ :where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--03f16{
9485
9485
  font-family:"Inter Variable", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
9486
9486
  font-size:.875rem;
9487
9487
  font-style:normal;
@@ -9492,11 +9492,11 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9492
9492
  text-transform:none;
9493
9493
  }
9494
9494
 
9495
- .bp_base_text_input_module_textInputContainerOuter--f4735{
9495
+ .bp_base_text_input_module_textInputContainerOuter--03f16{
9496
9496
  display:flex;
9497
9497
  flex-direction:column;
9498
9498
  }
9499
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_label--f4735{
9499
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_label--03f16{
9500
9500
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
9501
9501
  font-size:var(--bp-font-size-05);
9502
9502
  font-style:normal;
@@ -9504,7 +9504,7 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9504
9504
  letter-spacing:var(--bp-font-letter-spacing-01);
9505
9505
  line-height:var(--bp-font-line-height-04);
9506
9506
  }
9507
- :where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_label--f4735{
9507
+ :where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_label--03f16{
9508
9508
  font-family:"Inter Variable", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
9509
9509
  font-size:.875rem;
9510
9510
  font-style:normal;
@@ -9515,20 +9515,20 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9515
9515
  text-transform:none;
9516
9516
  }
9517
9517
 
9518
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_label--f4735{
9518
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_label--03f16{
9519
9519
  color:var(--text-input-label-color);
9520
9520
  flex:0 0 fit-content;
9521
9521
  width:fit-content;
9522
9522
  }
9523
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_label--f4735:not(.bp_base_text_input_module_hidden--f4735){
9523
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_label--03f16:not(.bp_base_text_input_module_hidden--03f16){
9524
9524
  margin-block-end:var(--text-input-row-gap);
9525
9525
  }
9526
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735{
9526
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16{
9527
9527
  display:flex;
9528
9528
  height:var(--bp-size-100);
9529
9529
  position:relative;
9530
9530
  }
9531
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735{
9531
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16{
9532
9532
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
9533
9533
  font-size:var(--bp-font-size-05);
9534
9534
  font-style:normal;
@@ -9536,7 +9536,7 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9536
9536
  letter-spacing:var(--bp-font-letter-spacing-01);
9537
9537
  line-height:var(--bp-font-line-height-04);
9538
9538
  }
9539
- :where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735,:where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735,:where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735{
9539
+ :where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16,:where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16,:where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16{
9540
9540
  font-family:"Inter Variable", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
9541
9541
  font-size:.875rem;
9542
9542
  font-style:normal;
@@ -9547,7 +9547,7 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9547
9547
  text-transform:none;
9548
9548
  }
9549
9549
 
9550
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735{
9550
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16{
9551
9551
  background:var(--text-input-background);
9552
9552
  border:var(--text-input-border-width) solid var(--text-input-border-color);
9553
9553
  border-radius:var(--text-input-border-radius);
@@ -9559,92 +9559,133 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9559
9559
  padding-inline:var(--text-input-padding-inline);
9560
9560
  width:100%;
9561
9561
  }
9562
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:hover,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:hover,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:hover{
9562
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:hover,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:hover,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:hover{
9563
9563
  box-shadow:var(--text-input-box-shadow);
9564
9564
  }
9565
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735::placeholder,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735::placeholder,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735::placeholder{
9565
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16::placeholder,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16::placeholder,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16::placeholder{
9566
9566
  color:var(--text-input-placeholder-color);
9567
9567
  opacity:1;
9568
9568
  }
9569
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_error--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_error--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_error--f4735{
9569
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_error--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_error--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_error--03f16{
9570
9570
  background:var(--text-input-error-background);
9571
9571
  border:var(--text-input-border-width-error) solid var(--text-input-error-border-color);
9572
9572
  outline:0;
9573
9573
  padding-inline-start:var(--text-input-padding-inline-error);
9574
9574
  }
9575
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_readOnly--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_readOnly--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_readOnly--f4735{
9575
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_readOnly--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_readOnly--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_readOnly--03f16{
9576
9576
  background-color:var(--text-input-read-only-background);
9577
9577
  border-color:var(--text-input-read-only-border-color);
9578
9578
  box-shadow:var(--text-input-box-shadow);
9579
9579
  color:var(--text-input-read-only-color);
9580
9580
  cursor:default;
9581
9581
  }
9582
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_readOnly--f4735:focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_readOnly--f4735:focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_readOnly--f4735:focus-visible{
9582
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_readOnly--03f16:focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_readOnly--03f16:focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_readOnly--03f16:focus-visible{
9583
9583
  border:var(--text-input-border-width-focused) solid var(--text-input-border-color-focus);
9584
9584
  }
9585
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:disabled,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:disabled,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:disabled{
9585
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:disabled,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:disabled,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:disabled{
9586
9586
  background:var(--text-input-disabled-background);
9587
9587
  border-color:var(--text-input-disabled-border-color);
9588
9588
  box-shadow:var(--text-input-box-shadow);
9589
9589
  color:var(--text-input-disabled-color);
9590
9590
  }
9591
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:disabled:hover,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:disabled:hover,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:disabled:hover{
9591
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:disabled:hover,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:disabled:hover,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:disabled:hover{
9592
9592
  border-color:var(--text-input-border-color);
9593
9593
  }
9594
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:focus-visible{
9594
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:focus-visible{
9595
9595
  background:var(--text-input-focused-background);
9596
9596
  border:var(--text-input-border-width-focused) solid var(--text-input-focused-border-color);
9597
9597
  outline:0;
9598
9598
  padding-inline-start:var(--text-input-padding-inline-focused);
9599
9599
  }
9600
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:has(+ .bp_base_text_input_module_endIcon--f4735),.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:has(+ .bp_base_text_input_module_endIcon--f4735),.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:has(+ .bp_base_text_input_module_endIcon--f4735){
9600
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:has(+ .bp_base_text_input_module_endIcon--03f16),.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:has(+ .bp_base_text_input_module_endIcon--03f16),.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:has(+ .bp_base_text_input_module_endIcon--03f16){
9601
9601
  padding-inline-end:calc(var(--text-input-padding-inline) + var(--end-icon-width) + var(--text-input-icon-padding));
9602
9602
  }
9603
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:not(:disabled, :focus-visible, .bp_base_text_input_module_error--f4735):hover, .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:not(:disabled, :focus-visible, .bp_base_text_input_module_error--f4735):hover, .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:not(:disabled, :focus-visible, .bp_base_text_input_module_error--f4735):hover{
9603
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:not(:disabled, :focus-visible, .bp_base_text_input_module_error--03f16):hover, .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:not(:disabled, :focus-visible, .bp_base_text_input_module_error--03f16):hover, .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:not(:disabled, :focus-visible, .bp_base_text_input_module_error--03f16):hover{
9604
9604
  background:var(--text-input-hover-background);
9605
9605
  border:var(--border-1) solid var(--text-input-hover-border-color);
9606
9606
  }
9607
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_startIcon--f4735{
9607
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_startIcon--03f16{
9608
9608
  left:calc(var(--text-input-padding-inline) + var(--text-input-border-width));
9609
9609
  position:absolute;
9610
9610
  top:50%;
9611
9611
  transform:translateY(-50%);
9612
9612
  }
9613
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_startIcon--f4735 + input.bp_base_text_input_module_textInput--f4735{
9613
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_startIcon--03f16 + input.bp_base_text_input_module_textInput--03f16{
9614
9614
  --text-input-start-icon-space:calc(var(--text-input-icon-padding) + var(--start-icon-width));
9615
9615
  padding-inline-start:calc(var(--text-input-padding-inline) + var(--text-input-start-icon-space));
9616
9616
  }
9617
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_startIcon--f4735 + input.bp_base_text_input_module_textInput--f4735:focus-visible{
9617
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_startIcon--03f16 + input.bp_base_text_input_module_textInput--03f16:focus-visible{
9618
9618
  padding-inline-start:calc(var(--text-input-padding-inline-focused) + var(--text-input-start-icon-space));
9619
9619
  }
9620
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_startIcon--f4735 + input.bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_error--f4735{
9620
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_startIcon--03f16 + input.bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_error--03f16{
9621
9621
  padding-inline-start:calc(var(--text-input-padding-inline-error) + var(--text-input-start-icon-space));
9622
9622
  }
9623
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_endIcon--f4735{
9623
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_endIcon--03f16{
9624
9624
  position:absolute;
9625
9625
  right:calc(var(--text-input-padding-inline) + var(--text-input-border-width));
9626
9626
  top:50%;
9627
9627
  transform:translateY(-50%);
9628
9628
  }
9629
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_inlineErrorIcon--f4735{
9629
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_inlineErrorIcon--03f16{
9630
9630
  height:var(--text-input-inline-error-icon-height);
9631
9631
  width:var(--text-input-inline-error-icon-width);
9632
9632
  }
9633
- .bp_base_text_input_module_textInputContainerOuter--f4735.bp_base_text_input_module_disabled--f4735{
9633
+ .bp_base_text_input_module_textInputContainerOuter--03f16.bp_base_text_input_module_disabled--03f16{
9634
9634
  opacity:var(--text-input-disabled-opacity);
9635
9635
  }
9636
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_inlineError--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_subtext--f4735{
9636
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_inlineError--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_subtext--03f16{
9637
9637
  margin-block-start:var(--text-input-inline-error-subtext-block-margin);
9638
9638
  }
9639
9639
 
9640
- .bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735{
9640
+ .bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16{
9641
9641
  transition-duration:var(--bp-duration-short);
9642
9642
  transition-property:border-color, background-color;
9643
9643
  transition-timing-function:var(--bp-curve-small-off);
9644
9644
  }
9645
- .bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:not(:disabled).bp_base_text_input_module_error--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:not(:disabled):focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:not(:disabled):hover,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:not(:disabled).bp_base_text_input_module_error--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:not(:disabled):focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:not(:disabled):hover,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:not(:disabled).bp_base_text_input_module_error--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:not(:disabled):focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:not(:disabled):hover{
9645
+ .bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:not(:disabled).bp_base_text_input_module_error--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:not(:disabled):focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:not(:disabled):hover,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:not(:disabled).bp_base_text_input_module_error--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:not(:disabled):focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:not(:disabled):hover,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:not(:disabled).bp_base_text_input_module_error--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:not(:disabled):focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:not(:disabled):hover{
9646
9646
  transition-timing-function:var(--bp-curve-small-on);
9647
9647
  }
9648
+
9649
+ .bp_base_text_input_module_textInputContainer--03f16[data-bp-animated=true][data-state=playing]{
9650
+ --text-input-shake-distance:0.375rem;
9651
+ --text-input-shake-overshoot:var(--bp-space-010);
9652
+ --text-input-shake-dur-a:80ms;
9653
+ --text-input-shake-dur-b:60ms;
9654
+ --text-input-shake-ease:cubic-bezier(0.22, 1, 0.36, 1);
9655
+ animation-duration:calc(var(--text-input-shake-dur-a)*2 + var(--text-input-shake-dur-b)*2);
9656
+ animation-name:bp_base_text_input_module_bpTextInputErrorShake--03f16;
9657
+ animation-timing-function:linear;
9658
+ will-change:transform;
9659
+ }
9660
+ @media (prefers-reduced-motion: reduce){
9661
+ .bp_base_text_input_module_textInputContainer--03f16[data-bp-animated=true][data-state=playing]{
9662
+ animation:none;
9663
+ transform:none;
9664
+ transition:none;
9665
+ }
9666
+ }
9667
+
9668
+ @keyframes bp_base_text_input_module_bpTextInputErrorShake--03f16{
9669
+ 0%{
9670
+ animation-timing-function:var(--text-input-shake-ease);
9671
+ transform:translateX(0);
9672
+ }
9673
+ 28.57%{
9674
+ animation-timing-function:var(--text-input-shake-ease);
9675
+ transform:translateX(var(--text-input-shake-distance));
9676
+ }
9677
+ 50%{
9678
+ animation-timing-function:var(--text-input-shake-ease);
9679
+ transform:translateX(calc(var(--text-input-shake-distance)*-1));
9680
+ }
9681
+ 78.57%{
9682
+ animation-timing-function:var(--text-input-shake-ease);
9683
+ transform:translateX(var(--text-input-shake-overshoot));
9684
+ }
9685
+ 100%{
9686
+ transform:translateX(0);
9687
+ }
9688
+ }
9648
9689
  .bp_number_field_module_numberField--7cb77{
9649
9690
  --number-field-row-gap:var(--bp-space-020);
9650
9691
  --number-field-segment-height:var(--bp-size-100);
@@ -9441,7 +9441,7 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9441
9441
  .bp_navigation_menu_module_navigationMenuSeparator--83055{
9442
9442
  margin-block:var(--space-2);
9443
9443
  }
9444
- .bp_base_text_input_module_textInputContainerOuter--f4735{
9444
+ .bp_base_text_input_module_textInputContainerOuter--03f16{
9445
9445
  --text-input-border-width:var(--bp-border-01);
9446
9446
  --text-input-border-width-focused:var(--bp-border-02);
9447
9447
  --text-input-border-width-error:var(--bp-border-02);
@@ -9481,7 +9481,7 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9481
9481
  letter-spacing:var(--bp-font-letter-spacing-01);
9482
9482
  line-height:var(--bp-font-line-height-04);
9483
9483
  }
9484
- :where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--f4735{
9484
+ :where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--03f16{
9485
9485
  font-family:"Inter Variable", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
9486
9486
  font-size:.875rem;
9487
9487
  font-style:normal;
@@ -9492,11 +9492,11 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9492
9492
  text-transform:none;
9493
9493
  }
9494
9494
 
9495
- .bp_base_text_input_module_textInputContainerOuter--f4735{
9495
+ .bp_base_text_input_module_textInputContainerOuter--03f16{
9496
9496
  display:flex;
9497
9497
  flex-direction:column;
9498
9498
  }
9499
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_label--f4735{
9499
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_label--03f16{
9500
9500
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
9501
9501
  font-size:var(--bp-font-size-05);
9502
9502
  font-style:normal;
@@ -9504,7 +9504,7 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9504
9504
  letter-spacing:var(--bp-font-letter-spacing-01);
9505
9505
  line-height:var(--bp-font-line-height-04);
9506
9506
  }
9507
- :where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_label--f4735{
9507
+ :where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_label--03f16{
9508
9508
  font-family:"Inter Variable", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
9509
9509
  font-size:.875rem;
9510
9510
  font-style:normal;
@@ -9515,20 +9515,20 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9515
9515
  text-transform:none;
9516
9516
  }
9517
9517
 
9518
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_label--f4735{
9518
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_label--03f16{
9519
9519
  color:var(--text-input-label-color);
9520
9520
  flex:0 0 fit-content;
9521
9521
  width:fit-content;
9522
9522
  }
9523
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_label--f4735:not(.bp_base_text_input_module_hidden--f4735){
9523
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_label--03f16:not(.bp_base_text_input_module_hidden--03f16){
9524
9524
  margin-block-end:var(--text-input-row-gap);
9525
9525
  }
9526
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735{
9526
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16{
9527
9527
  display:flex;
9528
9528
  height:var(--bp-size-100);
9529
9529
  position:relative;
9530
9530
  }
9531
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735{
9531
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16{
9532
9532
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
9533
9533
  font-size:var(--bp-font-size-05);
9534
9534
  font-style:normal;
@@ -9536,7 +9536,7 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9536
9536
  letter-spacing:var(--bp-font-letter-spacing-01);
9537
9537
  line-height:var(--bp-font-line-height-04);
9538
9538
  }
9539
- :where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735,:where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735,:where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735{
9539
+ :where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16,:where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16,:where(body.is-inter-font) .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16{
9540
9540
  font-family:"Inter Variable", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
9541
9541
  font-size:.875rem;
9542
9542
  font-style:normal;
@@ -9547,7 +9547,7 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9547
9547
  text-transform:none;
9548
9548
  }
9549
9549
 
9550
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735{
9550
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16{
9551
9551
  background:var(--text-input-background);
9552
9552
  border:var(--text-input-border-width) solid var(--text-input-border-color);
9553
9553
  border-radius:var(--text-input-border-radius);
@@ -9559,92 +9559,133 @@ table.bp_inline_table_module_inlineTable--f26a1 tr:not(:last-child) td{
9559
9559
  padding-inline:var(--text-input-padding-inline);
9560
9560
  width:100%;
9561
9561
  }
9562
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:hover,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:hover,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:hover{
9562
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:hover,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:hover,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:hover{
9563
9563
  box-shadow:var(--text-input-box-shadow);
9564
9564
  }
9565
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735::placeholder,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735::placeholder,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735::placeholder{
9565
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16::placeholder,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16::placeholder,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16::placeholder{
9566
9566
  color:var(--text-input-placeholder-color);
9567
9567
  opacity:1;
9568
9568
  }
9569
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_error--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_error--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_error--f4735{
9569
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_error--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_error--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_error--03f16{
9570
9570
  background:var(--text-input-error-background);
9571
9571
  border:var(--text-input-border-width-error) solid var(--text-input-error-border-color);
9572
9572
  outline:0;
9573
9573
  padding-inline-start:var(--text-input-padding-inline-error);
9574
9574
  }
9575
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_readOnly--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_readOnly--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_readOnly--f4735{
9575
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_readOnly--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_readOnly--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_readOnly--03f16{
9576
9576
  background-color:var(--text-input-read-only-background);
9577
9577
  border-color:var(--text-input-read-only-border-color);
9578
9578
  box-shadow:var(--text-input-box-shadow);
9579
9579
  color:var(--text-input-read-only-color);
9580
9580
  cursor:default;
9581
9581
  }
9582
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_readOnly--f4735:focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_readOnly--f4735:focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_readOnly--f4735:focus-visible{
9582
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_readOnly--03f16:focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_readOnly--03f16:focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_readOnly--03f16:focus-visible{
9583
9583
  border:var(--text-input-border-width-focused) solid var(--text-input-border-color-focus);
9584
9584
  }
9585
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:disabled,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:disabled,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:disabled{
9585
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:disabled,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:disabled,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:disabled{
9586
9586
  background:var(--text-input-disabled-background);
9587
9587
  border-color:var(--text-input-disabled-border-color);
9588
9588
  box-shadow:var(--text-input-box-shadow);
9589
9589
  color:var(--text-input-disabled-color);
9590
9590
  }
9591
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:disabled:hover,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:disabled:hover,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:disabled:hover{
9591
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:disabled:hover,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:disabled:hover,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:disabled:hover{
9592
9592
  border-color:var(--text-input-border-color);
9593
9593
  }
9594
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:focus-visible{
9594
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:focus-visible{
9595
9595
  background:var(--text-input-focused-background);
9596
9596
  border:var(--text-input-border-width-focused) solid var(--text-input-focused-border-color);
9597
9597
  outline:0;
9598
9598
  padding-inline-start:var(--text-input-padding-inline-focused);
9599
9599
  }
9600
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:has(+ .bp_base_text_input_module_endIcon--f4735),.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:has(+ .bp_base_text_input_module_endIcon--f4735),.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:has(+ .bp_base_text_input_module_endIcon--f4735){
9600
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:has(+ .bp_base_text_input_module_endIcon--03f16),.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:has(+ .bp_base_text_input_module_endIcon--03f16),.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:has(+ .bp_base_text_input_module_endIcon--03f16){
9601
9601
  padding-inline-end:calc(var(--text-input-padding-inline) + var(--end-icon-width) + var(--text-input-icon-padding));
9602
9602
  }
9603
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:not(:disabled, :focus-visible, .bp_base_text_input_module_error--f4735):hover, .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:not(:disabled, :focus-visible, .bp_base_text_input_module_error--f4735):hover, .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:not(:disabled, :focus-visible, .bp_base_text_input_module_error--f4735):hover{
9603
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:not(:disabled, :focus-visible, .bp_base_text_input_module_error--03f16):hover, .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:not(:disabled, :focus-visible, .bp_base_text_input_module_error--03f16):hover, .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:not(:disabled, :focus-visible, .bp_base_text_input_module_error--03f16):hover{
9604
9604
  background:var(--text-input-hover-background);
9605
9605
  border:var(--border-1) solid var(--text-input-hover-border-color);
9606
9606
  }
9607
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_startIcon--f4735{
9607
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_startIcon--03f16{
9608
9608
  left:calc(var(--text-input-padding-inline) + var(--text-input-border-width));
9609
9609
  position:absolute;
9610
9610
  top:50%;
9611
9611
  transform:translateY(-50%);
9612
9612
  }
9613
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_startIcon--f4735 + input.bp_base_text_input_module_textInput--f4735{
9613
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_startIcon--03f16 + input.bp_base_text_input_module_textInput--03f16{
9614
9614
  --text-input-start-icon-space:calc(var(--text-input-icon-padding) + var(--start-icon-width));
9615
9615
  padding-inline-start:calc(var(--text-input-padding-inline) + var(--text-input-start-icon-space));
9616
9616
  }
9617
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_startIcon--f4735 + input.bp_base_text_input_module_textInput--f4735:focus-visible{
9617
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_startIcon--03f16 + input.bp_base_text_input_module_textInput--03f16:focus-visible{
9618
9618
  padding-inline-start:calc(var(--text-input-padding-inline-focused) + var(--text-input-start-icon-space));
9619
9619
  }
9620
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_startIcon--f4735 + input.bp_base_text_input_module_textInput--f4735.bp_base_text_input_module_error--f4735{
9620
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_startIcon--03f16 + input.bp_base_text_input_module_textInput--03f16.bp_base_text_input_module_error--03f16{
9621
9621
  padding-inline-start:calc(var(--text-input-padding-inline-error) + var(--text-input-start-icon-space));
9622
9622
  }
9623
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_endIcon--f4735{
9623
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_endIcon--03f16{
9624
9624
  position:absolute;
9625
9625
  right:calc(var(--text-input-padding-inline) + var(--text-input-border-width));
9626
9626
  top:50%;
9627
9627
  transform:translateY(-50%);
9628
9628
  }
9629
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_inlineErrorIcon--f4735{
9629
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_inlineErrorIcon--03f16{
9630
9630
  height:var(--text-input-inline-error-icon-height);
9631
9631
  width:var(--text-input-inline-error-icon-width);
9632
9632
  }
9633
- .bp_base_text_input_module_textInputContainerOuter--f4735.bp_base_text_input_module_disabled--f4735{
9633
+ .bp_base_text_input_module_textInputContainerOuter--03f16.bp_base_text_input_module_disabled--03f16{
9634
9634
  opacity:var(--text-input-disabled-opacity);
9635
9635
  }
9636
- .bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_inlineError--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735 .bp_base_text_input_module_subtext--f4735{
9636
+ .bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_inlineError--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16 .bp_base_text_input_module_subtext--03f16{
9637
9637
  margin-block-start:var(--text-input-inline-error-subtext-block-margin);
9638
9638
  }
9639
9639
 
9640
- .bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735{
9640
+ .bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16{
9641
9641
  transition-duration:var(--bp-duration-short);
9642
9642
  transition-property:border-color, background-color;
9643
9643
  transition-timing-function:var(--bp-curve-small-off);
9644
9644
  }
9645
- .bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:not(:disabled).bp_base_text_input_module_error--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:not(:disabled):focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 .bp_base_text_input_module_textInput--f4735:not(:disabled):hover,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:not(:disabled).bp_base_text_input_module_error--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:not(:disabled):focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=number].bp_base_text_input_module_textInput--f4735:not(:disabled):hover,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:not(:disabled).bp_base_text_input_module_error--f4735,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:not(:disabled):focus-visible,.bp_base_text_input_module_textInputContainerOuter--f4735[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--f4735 input[type=text].bp_base_text_input_module_textInput--f4735:not(:disabled):hover{
9645
+ .bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:not(:disabled).bp_base_text_input_module_error--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:not(:disabled):focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 .bp_base_text_input_module_textInput--03f16:not(:disabled):hover,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:not(:disabled).bp_base_text_input_module_error--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:not(:disabled):focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=number].bp_base_text_input_module_textInput--03f16:not(:disabled):hover,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:not(:disabled).bp_base_text_input_module_error--03f16,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:not(:disabled):focus-visible,.bp_base_text_input_module_textInputContainerOuter--03f16[data-bp-animated=true] .bp_base_text_input_module_textInputContainer--03f16 input[type=text].bp_base_text_input_module_textInput--03f16:not(:disabled):hover{
9646
9646
  transition-timing-function:var(--bp-curve-small-on);
9647
9647
  }
9648
+
9649
+ .bp_base_text_input_module_textInputContainer--03f16[data-bp-animated=true][data-state=playing]{
9650
+ --text-input-shake-distance:0.375rem;
9651
+ --text-input-shake-overshoot:var(--bp-space-010);
9652
+ --text-input-shake-dur-a:80ms;
9653
+ --text-input-shake-dur-b:60ms;
9654
+ --text-input-shake-ease:cubic-bezier(0.22, 1, 0.36, 1);
9655
+ animation-duration:calc(var(--text-input-shake-dur-a)*2 + var(--text-input-shake-dur-b)*2);
9656
+ animation-name:bp_base_text_input_module_bpTextInputErrorShake--03f16;
9657
+ animation-timing-function:linear;
9658
+ will-change:transform;
9659
+ }
9660
+ @media (prefers-reduced-motion: reduce){
9661
+ .bp_base_text_input_module_textInputContainer--03f16[data-bp-animated=true][data-state=playing]{
9662
+ animation:none;
9663
+ transform:none;
9664
+ transition:none;
9665
+ }
9666
+ }
9667
+
9668
+ @keyframes bp_base_text_input_module_bpTextInputErrorShake--03f16{
9669
+ 0%{
9670
+ animation-timing-function:var(--text-input-shake-ease);
9671
+ transform:translateX(0);
9672
+ }
9673
+ 28.57%{
9674
+ animation-timing-function:var(--text-input-shake-ease);
9675
+ transform:translateX(var(--text-input-shake-distance));
9676
+ }
9677
+ 50%{
9678
+ animation-timing-function:var(--text-input-shake-ease);
9679
+ transform:translateX(calc(var(--text-input-shake-distance)*-1));
9680
+ }
9681
+ 78.57%{
9682
+ animation-timing-function:var(--text-input-shake-ease);
9683
+ transform:translateX(var(--text-input-shake-overshoot));
9684
+ }
9685
+ 100%{
9686
+ transform:translateX(0);
9687
+ }
9688
+ }
9648
9689
  .bp_number_field_module_numberField--7cb77{
9649
9690
  --number-field-row-gap:var(--bp-space-020);
9650
9691
  --number-field-segment-height:var(--bp-size-100);
@@ -3,10 +3,15 @@ import { AlertCircle } from '@box/blueprint-web-assets/icons/Medium';
3
3
  import { IconIconErrorOnLight } from '@box/blueprint-web-assets/tokens/tokens';
4
4
  import clsx from 'clsx';
5
5
  import { forwardRef, useState, useMemo, cloneElement } from 'react';
6
+ import '../../blueprint-configuration-context/blueprint-configuration-context.js';
7
+ import '../../blueprint-configuration-context/consts.js';
8
+ import { useBlueprintConfiguration } from '../../blueprint-configuration-context/useBlueprintConfiguration.js';
6
9
  import { Focusable } from '../../focusable/focusable.js';
7
10
  import { Text } from '../../text/text.js';
8
11
  import { Tooltip } from '../../tooltip/tooltip.js';
9
12
  import { useLabelable } from '../../util-components/labelable/useLabelable.js';
13
+ import { composeEventHandlers } from '../../utils/composeEventHandlers.js';
14
+ import { useOneShotAnimation } from '../../utils/use-one-shot-animation.js';
10
15
  import { useUniqueId } from '../../utils/useUniqueId.js';
11
16
  import { VisuallyHidden } from '../../visually-hidden/visually-hidden.js';
12
17
  import { InlineError } from '../inline-error/inline-error.js';
@@ -39,6 +44,7 @@ const BaseTextInput = /*#__PURE__*/forwardRef((props, forwardedRef) => {
39
44
  startIcon,
40
45
  subtext,
41
46
  id,
47
+ onKeyDown,
42
48
  'data-bp-animated': animatedDataAttribute,
43
49
  ...rest
44
50
  } = props;
@@ -56,6 +62,23 @@ const BaseTextInput = /*#__PURE__*/forwardRef((props, forwardedRef) => {
56
62
  describedByText = subtextId;
57
63
  }
58
64
  const shouldMarkError = (!!error || invalid) && !disabled;
65
+ const {
66
+ componentsWithAnimationEnabled
67
+ } = useBlueprintConfiguration();
68
+ const isShakeEnabled = componentsWithAnimationEnabled.includes('TextInputErrorShake');
69
+ const [shakeNonce, setShakeNonce] = useState(0);
70
+ const canShake = isShakeEnabled && shouldMarkError;
71
+ // Preserve the original error value (React elements stringify to the same
72
+ // "[object Object]") so distinct element errors still change the trigger.
73
+ const shakeTrigger = useMemo(() => canShake ? {
74
+ error,
75
+ invalid,
76
+ shakeNonce
77
+ } : 0, [canShake, error, invalid, shakeNonce]);
78
+ const {
79
+ animationState,
80
+ onAnimationEnd
81
+ } = useOneShotAnimation(shakeTrigger, canShake);
59
82
  const ariaDescribedBy = clsx(rest['aria-describedby'], {
60
83
  [describedByText]: hasDescribedByText
61
84
  });
@@ -83,6 +106,9 @@ const BaseTextInput = /*#__PURE__*/forwardRef((props, forwardedRef) => {
83
106
  hideLabel: hideLabel
84
107
  }), jsxs("div", {
85
108
  className: styles.textInputContainer,
109
+ "data-bp-animated": isShakeEnabled ? 'true' : 'false',
110
+ "data-state": animationState,
111
+ onAnimationEnd: onAnimationEnd,
86
112
  style: {
87
113
  '--end-icon-width': endIconWidth ? `${endIconWidth}px` : '0px',
88
114
  '--start-icon-width': startIconWidth ? `${startIconWidth}px` : '0px'
@@ -99,6 +125,12 @@ const BaseTextInput = /*#__PURE__*/forwardRef((props, forwardedRef) => {
99
125
  }),
100
126
  disabled: disabled,
101
127
  id: inputId,
128
+ onKeyDown: composeEventHandlers(onKeyDown, event => {
129
+ if (!canShake || event.key !== 'Enter') {
130
+ return;
131
+ }
132
+ setShakeNonce(nonce => nonce + 1);
133
+ }),
102
134
  readOnly: readOnly,
103
135
  required: required,
104
136
  type: type
@@ -1,4 +1,4 @@
1
1
  import '../../index.css';
2
- var styles = {"textInputContainerOuter":"bp_base_text_input_module_textInputContainerOuter--f4735","label":"bp_base_text_input_module_label--f4735","hidden":"bp_base_text_input_module_hidden--f4735","textInputContainer":"bp_base_text_input_module_textInputContainer--f4735","textInput":"bp_base_text_input_module_textInput--f4735","error":"bp_base_text_input_module_error--f4735","readOnly":"bp_base_text_input_module_readOnly--f4735","endIcon":"bp_base_text_input_module_endIcon--f4735","startIcon":"bp_base_text_input_module_startIcon--f4735","inlineErrorIcon":"bp_base_text_input_module_inlineErrorIcon--f4735","disabled":"bp_base_text_input_module_disabled--f4735","inlineError":"bp_base_text_input_module_inlineError--f4735","subtext":"bp_base_text_input_module_subtext--f4735"};
2
+ var styles = {"textInputContainerOuter":"bp_base_text_input_module_textInputContainerOuter--03f16","label":"bp_base_text_input_module_label--03f16","hidden":"bp_base_text_input_module_hidden--03f16","textInputContainer":"bp_base_text_input_module_textInputContainer--03f16","textInput":"bp_base_text_input_module_textInput--03f16","error":"bp_base_text_input_module_error--03f16","readOnly":"bp_base_text_input_module_readOnly--03f16","endIcon":"bp_base_text_input_module_endIcon--03f16","startIcon":"bp_base_text_input_module_startIcon--03f16","inlineErrorIcon":"bp_base_text_input_module_inlineErrorIcon--03f16","disabled":"bp_base_text_input_module_disabled--03f16","inlineError":"bp_base_text_input_module_inlineError--03f16","subtext":"bp_base_text_input_module_subtext--03f16"};
3
3
 
4
4
  export { styles as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "18.10.2",
3
+ "version": "18.11.0",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {
@@ -16,7 +16,6 @@
16
16
  },
17
17
  "scripts": {
18
18
  "build-storybook": "nx run blueprint-web:build-storybook",
19
- "test-storybook": "test-storybook --watch --url http://localhost:4400",
20
19
  "test:vrt": "yarn build-storybook && FORCE_VRT_CHECK=true playwright test -c test/vrt/playwright.vrt.config.ts",
21
20
  "test:vrt:ci": "CI=true yarn test:vrt",
22
21
  "test:vrt:update": "yarn test:vrt --update-snapshots",
@@ -55,7 +54,7 @@
55
54
  "dependencies": {
56
55
  "@ariakit/react": "0.4.21",
57
56
  "@ariakit/react-core": "0.4.21",
58
- "@box/blueprint-web-assets": "^5.14.3",
57
+ "@box/blueprint-web-assets": "^5.15.1",
59
58
  "@internationalized/date": "^3.12.0",
60
59
  "@radix-ui/react-accordion": "1.1.2",
61
60
  "@radix-ui/react-checkbox": "1.0.4",
@@ -85,7 +84,7 @@
85
84
  "devDependencies": {
86
85
  "@box/box-test-client": "^3.2.7",
87
86
  "@box/playwright-utils": "^2.8.5",
88
- "@box/storybook-utils": "^1.4.33",
87
+ "@box/storybook-utils": "^1.4.35",
89
88
  "@figma/code-connect": "1.4.4",
90
89
  "@playwright/test": "1.46.1",
91
90
  "@types/js-yaml": "^4.0.9",