@semcore/input 4.43.0-prerelease.1 → 4.43.0-prerelease.5

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.
package/lib/esm/Input.mjs CHANGED
@@ -1,90 +1,73 @@
1
1
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
2
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/esm/createClass";
4
- import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
4
+ import _callSuper from "@babel/runtime/helpers/esm/callSuper";
5
5
  import _inherits from "@babel/runtime/helpers/esm/inherits";
6
- import _createSuper from "@babel/runtime/helpers/esm/createSuper";
7
6
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
8
- import { sstyled } from "@semcore/utils/lib/core/index";
9
- import createComponent, { sstyled as sstyled$1, assignProps, Component } from "@semcore/core";
7
+ import { sstyled, lastInteraction, assignProps, Component, createComponent } from "@semcore/core";
8
+ import { Box, NeighborLocation, InvalidStateBox } from "@semcore/base-components";
10
9
  import React from "react";
11
- import { InvalidStateBox, Box } from "@semcore/flex-box";
12
- import NeighborLocation from "@semcore/neighbor-location";
13
- import autoFocusEnhance from "@semcore/utils/lib/enhances/autoFocusEnhance";
14
- import keyboardFocusEnhance from "@semcore/utils/lib/enhances/keyboardFocusEnhance";
15
10
  /*!__reshadow-styles__:"./style/input.shadow.css"*/
16
11
  var style = (
17
12
  /*__reshadow_css_start__*/
18
13
  (sstyled.insert(
19
14
  /*__inner_css_start__*/
20
- ".___SInput_1v5g2_gg_{display:inline-flex;width:100%;align-items:center;position:relative;z-index:0;vertical-align:middle;padding:1px;box-sizing:border-box}.___SInput_1v5g2_gg_ input:-webkit-autofill{border-radius:var(--intergalactic-control-rounded, 6px);-webkit-box-shadow:0 0 0 30px #faffbd inset}.___SInput_1v5g2_gg_ input:-webkit-autofill~.___SOutline_1v5g2_gg_{background-color:#faffbd}.___SValue_1v5g2_gg_{min-width:0;width:100%;height:100%;padding:0;border:0;box-sizing:border-box;color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));font-size:inherit;text-overflow:ellipsis;font-family:inherit;background:0 0}.___SValue_1v5g2_gg_:focus{outline:0}.___SValue_1v5g2_gg_::-moz-placeholder{color:var(--intergalactic-text-placeholder, rgba(0, 5, 2, 0.457))}.___SValue_1v5g2_gg_::placeholder{color:var(--intergalactic-text-placeholder, rgba(0, 5, 2, 0.457))}.___SValue_1v5g2_gg_:not(:disabled):-moz-read-only~.___SOutline_1v5g2_gg_{background:var(--intergalactic-bg-secondary-neutral, rgb(248, 249, 248))}.___SValue_1v5g2_gg_:not(:disabled):read-only~.___SOutline_1v5g2_gg_{background:var(--intergalactic-bg-secondary-neutral, rgb(248, 249, 248))}.___SValue_1v5g2_gg_:disabled{-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--intergalactic-disabled-opacity, 0.4)}.___SInput_1v5g2_gg_.__disabled_1v5g2_gg_ .___SOutline_1v5g2_gg_,.___SValue_1v5g2_gg_:disabled~.___SOutline_1v5g2_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none}.___SOutline_1v5g2_gg_{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid;border-radius:var(--intergalactic-control-rounded, 6px);z-index:-1;background:var(--intergalactic-bg-primary-neutral, rgb(255, 255, 255))}.___SAddon_1v5g2_gg_{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;padding:0 var(--intergalactic-spacing-2x, 8px);height:100%;color:var(--intergalactic-icon-secondary-neutral, rgba(0, 5, 2, 0.385))}@supports (color:color(display-p3 0 0 0)){.___SAddon_1v5g2_gg_{color:var(--intergalactic-icon-secondary-neutral, rgba(0, 5, 2, 0.385))}@media (color-gamut:p3){.___SAddon_1v5g2_gg_{color:var(--intergalactic-icon-secondary-neutral, color(display-p3 0.0036 0.02041 0.00996 / 0.385))}}}.___SAddon_1v5g2_gg_.__interactive_1v5g2_gg_{cursor:pointer}@media (hover:hover){.___SAddon_1v5g2_gg_.__interactive_1v5g2_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, rgba(0, 5, 2, 0.433))}@supports (color:color(display-p3 0 0 0)){.___SAddon_1v5g2_gg_.__interactive_1v5g2_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, rgba(0, 5, 2, 0.433))}@media (color-gamut:p3){.___SAddon_1v5g2_gg_.__interactive_1v5g2_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, color(display-p3 0.00333 0.01824 0.00791 / 0.433))}}}}.___SAddon_1v5g2_gg_.__disabled_1v5g2_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none}.___SAddon_1v5g2_gg_._size_m_1v5g2_gg_:not(.___SButton_1v5g2_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)}.___SAddon_1v5g2_gg_._size_l_1v5g2_gg_:not(.___SButton_1v5g2_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)0 var(--intergalactic-spacing-3x, 12px)}.___SInput_1v5g2_gg_ .___SAddon_1v5g2_gg_:nth-last-child(2){margin-right:-1px}.___SValue_1v5g2_gg_._size_m_1v5g2_gg_{padding:0 var(--intergalactic-spacing-2x, 8px)}.___SValue_1v5g2_gg_._size_l_1v5g2_gg_{padding:0 var(--intergalactic-spacing-3x, 12px)}.___SInput_1v5g2_gg_._size_m_1v5g2_gg_{font-size:var(--intergalactic-fs-200, 14px);height:var(--intergalactic-form-control-m, 28px)}.___SInput_1v5g2_gg_._size_l_1v5g2_gg_{font-size:var(--intergalactic-fs-300, 16px);height:var(--intergalactic-form-control-l, 40px)}.___SInput_1v5g2_gg_.__focused_1v5g2_gg_{z-index:1}.___SInput_1v5g2_gg_._state_normal_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@supports (color:color(display-p3 0 0 0)){.___SInput_1v5g2_gg_._state_normal_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___SInput_1v5g2_gg_._state_normal_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}.___SInput_1v5g2_gg_._state_normal_1v5g2_gg_.__focused_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-info-active, rgba(0, 22, 195, 0.386));box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 18, 193, 0.441))}@supports (color:color(display-p3 0 0 0)){.___SInput_1v5g2_gg_._state_normal_1v5g2_gg_.__focused_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-info-active, rgba(0, 22, 195, 0.386))}@media (color-gamut:p3){.___SInput_1v5g2_gg_._state_normal_1v5g2_gg_.__focused_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-info-active, color(display-p3 0.01805 0.08333 0.73488 / 0.386))}}}.___SInput_1v5g2_gg_._state_valid_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-success-active, rgb(0, 204, 154))}@supports (color:color(display-p3 0 0 0)){.___SInput_1v5g2_gg_._state_valid_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-success-active, rgb(0, 204, 154))}@media (color-gamut:p3){.___SInput_1v5g2_gg_._state_valid_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-success-active, color(display-p3 0.36013 0.78771 0.61714))}}}.___SInput_1v5g2_gg_._state_valid_1v5g2_gg_.__focused_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-success-active, rgb(0, 204, 154));box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgb(0, 190, 142))}@supports (color:color(display-p3 0 0 0)){.___SInput_1v5g2_gg_._state_valid_1v5g2_gg_.__focused_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-success-active, rgb(0, 204, 154));box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgb(0, 190, 142))}@media (color-gamut:p3){.___SInput_1v5g2_gg_._state_valid_1v5g2_gg_.__focused_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-success-active, color(display-p3 0.36013 0.78771 0.61714));box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px color(display-p3 0.33388 0.7337 0.56959))}}}.___SInput_1v5g2_gg_._state_invalid_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-critical-active, rgba(255, 0, 4, 0.56))}@supports (color:color(display-p3 0 0 0)){.___SInput_1v5g2_gg_._state_invalid_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-critical-active, rgba(255, 0, 4, 0.56))}@media (color-gamut:p3){.___SInput_1v5g2_gg_._state_invalid_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-critical-active, color(display-p3 0.918 0.19866 0.14259 / 0.56))}}}.___SInput_1v5g2_gg_._state_invalid_1v5g2_gg_.__focused_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-critical-active, rgba(255, 0, 4, 0.56));box-shadow:var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 2, 7, 0.652))}@supports (color:color(display-p3 0 0 0)){.___SInput_1v5g2_gg_._state_invalid_1v5g2_gg_.__focused_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-critical-active, rgba(255, 0, 4, 0.56))}@media (color-gamut:p3){.___SInput_1v5g2_gg_._state_invalid_1v5g2_gg_.__focused_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-color:var(--intergalactic-border-critical-active, color(display-p3 0.918 0.19866 0.14259 / 0.56))}}}.___SInput_1v5g2_gg_._neighborLocation_right_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SInput_1v5g2_gg_._neighborLocation_both_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-radius:0;border-left:none}.___SInput_1v5g2_gg_._neighborLocation_left_1v5g2_gg_ .___SOutline_1v5g2_gg_{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.___SValue_1v5g2_gg_._neighborLocation_right_1v5g2_gg_{padding-right:0}.___SValue_1v5g2_gg_._neighborLocation_both_1v5g2_gg_{padding-left:0;padding-right:0}.___SValue_1v5g2_gg_._neighborLocation_left_1v5g2_gg_{padding-left:0}",
15
+ ".___SInput_80gtr_gg_{display:inline-flex;width:100%;align-items:center;position:relative;z-index:0;vertical-align:middle;padding:1px;box-sizing:border-box}.___SInput_80gtr_gg_ input:-webkit-autofill{border-radius:var(--intergalactic-control-rounded, 6px);-webkit-box-shadow:0 0 0 30px #faffbd inset}.___SInput_80gtr_gg_ input:-webkit-autofill~.___SOutline_80gtr_gg_{background-color:#faffbd}.___SInput_80gtr_gg_ .___SValue_80gtr_gg_:focus,.___SInput_80gtr_gg_ .___SValue_80gtr_gg_:focus-visible,.___SInput_80gtr_gg_ .___SValue_80gtr_gg_:focus-visible::after,.___SInput_80gtr_gg_ .___SValue_80gtr_gg_:focus::after{outline:0}.___SValue_80gtr_gg_{min-width:0;width:100%;height:100%;padding:0;border:0;box-sizing:border-box;color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));font-size:inherit;text-overflow:ellipsis;font-family:inherit;background:0 0}.___SValue_80gtr_gg_::-moz-placeholder{color:var(--intergalactic-text-placeholder, rgba(0, 5, 2, 0.457))}.___SValue_80gtr_gg_::placeholder{color:var(--intergalactic-text-placeholder, rgba(0, 5, 2, 0.457))}.___SValue_80gtr_gg_:not(:disabled):-moz-read-only~.___SOutline_80gtr_gg_{background:var(--intergalactic-bg-secondary-neutral, rgb(248, 249, 248))}.___SValue_80gtr_gg_:not(:disabled):read-only~.___SOutline_80gtr_gg_{background:var(--intergalactic-bg-secondary-neutral, rgb(248, 249, 248))}.___SValue_80gtr_gg_:disabled{-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--intergalactic-disabled-opacity, 0.4)}.___SInput_80gtr_gg_.__disabled_80gtr_gg_ .___SOutline_80gtr_gg_,.___SValue_80gtr_gg_:disabled~.___SOutline_80gtr_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none}.___SOutline_80gtr_gg_{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid;border-radius:var(--intergalactic-control-rounded, 6px);z-index:-1;background:var(--intergalactic-bg-primary-neutral, rgb(255, 255, 255))}.___SAddon_80gtr_gg_{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;padding:0 var(--intergalactic-spacing-2x, 8px);height:100%;color:var(--intergalactic-icon-secondary-neutral, rgba(0, 5, 2, 0.385))}@supports (color:color(display-p3 0 0 0%)){.___SAddon_80gtr_gg_{color:var(--intergalactic-icon-secondary-neutral, rgba(0, 5, 2, 0.385))}@media (color-gamut:p3){.___SAddon_80gtr_gg_{color:var(--intergalactic-icon-secondary-neutral, color(display-p3 0.0036 0.02041 0.00996 / 0.385))}}}.___SAddon_80gtr_gg_.__interactive_80gtr_gg_{cursor:pointer}@media (hover:hover){.___SAddon_80gtr_gg_.__interactive_80gtr_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, rgba(0, 5, 2, 0.433))}@supports (color:color(display-p3 0 0 0%)){.___SAddon_80gtr_gg_.__interactive_80gtr_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, rgba(0, 5, 2, 0.433))}@media (color-gamut:p3){.___SAddon_80gtr_gg_.__interactive_80gtr_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, color(display-p3 0.00333 0.01824 0.00791 / 0.433))}}}}.___SAddon_80gtr_gg_.__disabled_80gtr_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none}.___SAddon_80gtr_gg_._size_m_80gtr_gg_:not(.___SButton_80gtr_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)}.___SAddon_80gtr_gg_._size_l_80gtr_gg_._neighborLocation_right_80gtr_gg_:not(.___SButton_80gtr_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)0 var(--intergalactic-spacing-3x, 12px)}.___SAddon_80gtr_gg_._size_l_80gtr_gg_._neighborLocation_left_80gtr_gg_:not(.___SButton_80gtr_gg_){padding:0 var(--intergalactic-spacing-3x, 12px)0 var(--intergalactic-spacing-2x, 8px)}.___SInput_80gtr_gg_ .___SAddon_80gtr_gg_:nth-last-child(2){margin-right:-1px}.___SValue_80gtr_gg_._size_m_80gtr_gg_{padding:0 var(--intergalactic-spacing-2x, 8px)}.___SValue_80gtr_gg_._size_l_80gtr_gg_{padding:0 var(--intergalactic-spacing-3x, 12px)}.___SInput_80gtr_gg_._size_m_80gtr_gg_{font-size:var(--intergalactic-fs-200, 14px);height:var(--intergalactic-form-control-m, 28px)}.___SInput_80gtr_gg_._size_l_80gtr_gg_{font-size:var(--intergalactic-fs-300, 16px);height:var(--intergalactic-form-control-l, 40px)}.___SInput_80gtr_gg_:has(.___SValue_80gtr_gg_:focus-visible){z-index:1}.___SInput_80gtr_gg_._state_normal_80gtr_gg_ .___SOutline_80gtr_gg_{border-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@supports (color:color(display-p3 0 0 0%)){.___SInput_80gtr_gg_._state_normal_80gtr_gg_ .___SOutline_80gtr_gg_{border-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___SInput_80gtr_gg_._state_normal_80gtr_gg_ .___SOutline_80gtr_gg_{border-color:var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}.___SInput_80gtr_gg_._state_normal_80gtr_gg_:has(.___SValue_80gtr_gg_:focus-visible) .___SOutline_80gtr_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 32, 221, 0.469));outline-style:solid;outline-width:2px;transition-duration:calc(var(--intergalactic-duration-extra-fast, 100)*1ms);transition-timing-function:ease-in-out;outline-offset:0;transition-property:outline-color,outline-width;border-color:var(--intergalactic-border-info-active, rgba(0, 40, 230, 0.419))}@supports (color:color(display-p3 0 0 0%)){.___SInput_80gtr_gg_._state_normal_80gtr_gg_:has(.___SValue_80gtr_gg_:focus-visible) .___SOutline_80gtr_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 32, 221, 0.469))}@media (color-gamut:p3){.___SInput_80gtr_gg_._state_normal_80gtr_gg_:has(.___SValue_80gtr_gg_:focus-visible) .___SOutline_80gtr_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, color(display-p3 0.03256 0.12227 0.83249 / 0.469))}}}.___SInput_80gtr_gg_._state_valid_80gtr_gg_ .___SOutline_80gtr_gg_{border-color:var(--intergalactic-border-success-active, rgb(0, 204, 154))}@supports (color:color(display-p3 0 0 0%)){.___SInput_80gtr_gg_._state_valid_80gtr_gg_ .___SOutline_80gtr_gg_{border-color:var(--intergalactic-border-success-active, rgb(0, 204, 154))}@media (color-gamut:p3){.___SInput_80gtr_gg_._state_valid_80gtr_gg_ .___SOutline_80gtr_gg_{border-color:var(--intergalactic-border-success-active, color(display-p3 0.36013 0.78771 0.61714))}}}.___SInput_80gtr_gg_._state_valid_80gtr_gg_:has(.___SValue_80gtr_gg_:focus-visible) .___SOutline_80gtr_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 32, 221, 0.469));outline-style:solid;outline-width:2px;transition-duration:calc(var(--intergalactic-duration-extra-fast, 100)*1ms);transition-timing-function:ease-in-out;outline-offset:0;transition-property:outline-color,outline-width;border-color:var(--intergalactic-border-success-active, rgb(0, 204, 154))}@supports (color:color(display-p3 0 0 0%)){.___SInput_80gtr_gg_._state_valid_80gtr_gg_:has(.___SValue_80gtr_gg_:focus-visible) .___SOutline_80gtr_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 32, 221, 0.469));border-color:var(--intergalactic-border-success-active, rgb(0, 204, 154))}@media (color-gamut:p3){.___SInput_80gtr_gg_._state_valid_80gtr_gg_:has(.___SValue_80gtr_gg_:focus-visible) .___SOutline_80gtr_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, color(display-p3 0.03256 0.12227 0.83249 / 0.469));border-color:var(--intergalactic-border-success-active, color(display-p3 0.36013 0.78771 0.61714))}}}@supports (color:oklab(0%0 0%)){.___SInput_80gtr_gg_._state_valid_80gtr_gg_:has(.___SValue_80gtr_gg_:focus-visible) .___SOutline_80gtr_gg_{outline-color:var(--intergalactic-keyboard-focus-valid-outline, rgb(0, 190, 142))}@media (color-gamut:p3){.___SInput_80gtr_gg_._state_valid_80gtr_gg_:has(.___SValue_80gtr_gg_:focus-visible) .___SOutline_80gtr_gg_{outline-color:var(--intergalactic-keyboard-focus-valid-outline, oklch(0.711 0.146 166.9))}}}.___SInput_80gtr_gg_._state_invalid_80gtr_gg_ .___SOutline_80gtr_gg_{border-color:var(--intergalactic-border-critical-active, rgba(255, 0, 4, 0.56))}@supports (color:color(display-p3 0 0 0%)){.___SInput_80gtr_gg_._state_invalid_80gtr_gg_ .___SOutline_80gtr_gg_{border-color:var(--intergalactic-border-critical-active, rgba(255, 0, 4, 0.56))}@media (color-gamut:p3){.___SInput_80gtr_gg_._state_invalid_80gtr_gg_ .___SOutline_80gtr_gg_{border-color:var(--intergalactic-border-critical-active, color(display-p3 0.918 0.19866 0.14259 / 0.56))}}}.___SInput_80gtr_gg_._state_invalid_80gtr_gg_:has(.___SValue_80gtr_gg_:focus-visible) .___SOutline_80gtr_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 32, 221, 0.469));outline-style:solid;outline-width:2px;transition-duration:calc(var(--intergalactic-duration-extra-fast, 100)*1ms);transition-timing-function:ease-in-out;outline-offset:0;transition-property:outline-color,outline-width;border-color:var(--intergalactic-border-critical-active, rgba(255, 0, 4, 0.56))}@supports (color:color(display-p3 0 0 0%)){.___SInput_80gtr_gg_._state_invalid_80gtr_gg_:has(.___SValue_80gtr_gg_:focus-visible) .___SOutline_80gtr_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 32, 221, 0.469));border-color:var(--intergalactic-border-critical-active, rgba(255, 0, 4, 0.56))}@media (color-gamut:p3){.___SInput_80gtr_gg_._state_invalid_80gtr_gg_:has(.___SValue_80gtr_gg_:focus-visible) .___SOutline_80gtr_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, color(display-p3 0.03256 0.12227 0.83249 / 0.469));border-color:var(--intergalactic-border-critical-active, color(display-p3 0.918 0.19866 0.14259 / 0.56))}}}@supports (color:oklab(0%0 0%)){.___SInput_80gtr_gg_._state_invalid_80gtr_gg_:has(.___SValue_80gtr_gg_:focus-visible) .___SOutline_80gtr_gg_{outline-color:var(--intergalactic-keyboard-focus-invalid-outline, oklch(0.628 0.257 28.9 / 0.652))}}.___SInput_80gtr_gg_._neighborLocation_right_80gtr_gg_ .___SOutline_80gtr_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SInput_80gtr_gg_._neighborLocation_both_80gtr_gg_ .___SOutline_80gtr_gg_{border-radius:0;border-left:none}.___SInput_80gtr_gg_._neighborLocation_left_80gtr_gg_ .___SOutline_80gtr_gg_{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.___SValue_80gtr_gg_._neighborLocation_right_80gtr_gg_{padding-right:0}.___SValue_80gtr_gg_._neighborLocation_both_80gtr_gg_{padding-left:0;padding-right:0}.___SValue_80gtr_gg_._neighborLocation_left_80gtr_gg_{padding-left:0}",
21
16
  /*__inner_css_end__*/
22
- "1v5g2_gg_"
17
+ "80gtr_gg_"
23
18
  ), /*__reshadow_css_end__*/
24
19
  {
25
- "__SInput": "___SInput_1v5g2_gg_",
26
- "_disabled": "__disabled_1v5g2_gg_",
27
- "__SOutline": "___SOutline_1v5g2_gg_",
28
- "__SValue": "___SValue_1v5g2_gg_",
29
- "__SAddon": "___SAddon_1v5g2_gg_",
30
- "_size_m": "_size_m_1v5g2_gg_",
31
- "__SButton": "___SButton_1v5g2_gg_",
32
- "_size_l": "_size_l_1v5g2_gg_",
33
- "_focused": "__focused_1v5g2_gg_",
34
- "_neighborLocation_right": "_neighborLocation_right_1v5g2_gg_",
35
- "_neighborLocation_both": "_neighborLocation_both_1v5g2_gg_",
36
- "_neighborLocation_left": "_neighborLocation_left_1v5g2_gg_",
37
- "_interactive": "__interactive_1v5g2_gg_",
38
- "_state_normal": "_state_normal_1v5g2_gg_",
39
- "_state_valid": "_state_valid_1v5g2_gg_",
40
- "_state_invalid": "_state_invalid_1v5g2_gg_"
20
+ "__SInput": "___SInput_80gtr_gg_",
21
+ "_disabled": "__disabled_80gtr_gg_",
22
+ "__SOutline": "___SOutline_80gtr_gg_",
23
+ "__SValue": "___SValue_80gtr_gg_",
24
+ "__SAddon": "___SAddon_80gtr_gg_",
25
+ "_size_m": "_size_m_80gtr_gg_",
26
+ "__SButton": "___SButton_80gtr_gg_",
27
+ "_size_l": "_size_l_80gtr_gg_",
28
+ "_neighborLocation_right": "_neighborLocation_right_80gtr_gg_",
29
+ "_neighborLocation_left": "_neighborLocation_left_80gtr_gg_",
30
+ "_neighborLocation_both": "_neighborLocation_both_80gtr_gg_",
31
+ "_interactive": "__interactive_80gtr_gg_",
32
+ "_state_normal": "_state_normal_80gtr_gg_",
33
+ "_state_valid": "_state_valid_80gtr_gg_",
34
+ "_state_invalid": "_state_invalid_80gtr_gg_"
41
35
  })
42
36
  );
43
- var Input = /* @__PURE__ */ function(_Component) {
44
- _inherits(Input2, _Component);
45
- var _super = _createSuper(Input2);
37
+ var Input = /* @__PURE__ */ (function(_Component) {
46
38
  function Input2() {
47
39
  var _this;
48
40
  _classCallCheck(this, Input2);
49
41
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
50
42
  args[_key] = arguments[_key];
51
43
  }
52
- _this = _super.call.apply(_super, [this].concat(args));
53
- _defineProperty(_assertThisInitialized(_this), "state", {
54
- focused: false
55
- });
56
- _defineProperty(_assertThisInitialized(_this), "inputRef", /* @__PURE__ */ React.createRef());
57
- _defineProperty(_assertThisInitialized(_this), "handleMouseDownAddon", function(event) {
44
+ _this = _callSuper(this, Input2, [].concat(args));
45
+ _defineProperty(_this, "inputRef", /* @__PURE__ */ React.createRef());
46
+ _defineProperty(_this, "handleMouseDownAddon", function(event) {
58
47
  var _this$inputRef$curren;
59
48
  event.preventDefault();
60
- (_this$inputRef$curren = _this.inputRef.current) === null || _this$inputRef$curren === void 0 ? void 0 : _this$inputRef$curren.focus();
61
- });
62
- _defineProperty(_assertThisInitialized(_this), "handleKeyDown", function(event) {
63
- if (event.key === "Enter") {
64
- setTimeout(function() {
65
- if (document.activeElement === document.body) {
66
- var _this$inputRef$curren2;
67
- (_this$inputRef$curren2 = _this.inputRef.current) === null || _this$inputRef$curren2 === void 0 ? void 0 : _this$inputRef$curren2.focus();
68
- }
69
- }, 10);
70
- }
49
+ (_this$inputRef$curren = _this.inputRef.current) === null || _this$inputRef$curren === void 0 || _this$inputRef$curren.focus();
71
50
  });
72
- _defineProperty(_assertThisInitialized(_this), "bindHandleValueFocused", function(focused) {
73
- return function() {
74
- return _this.setState({
75
- focused
76
- });
77
- };
51
+ _defineProperty(_this, "handleClick", function() {
52
+ if (!lastInteraction.isKeyboard) return;
53
+ setTimeout(function() {
54
+ if (document.activeElement === document.body) {
55
+ var _this$inputRef$curren2;
56
+ (_this$inputRef$curren2 = _this.inputRef.current) === null || _this$inputRef$curren2 === void 0 || _this$inputRef$curren2.focus();
57
+ }
58
+ }, 0);
78
59
  });
79
60
  return _this;
80
61
  }
81
- _createClass(Input2, [{
62
+ _inherits(Input2, _Component);
63
+ return _createClass(Input2, [{
82
64
  key: "getAddonProps",
83
65
  value: function getAddonProps() {
84
66
  var _this$asProps = this.asProps, disabled = _this$asProps.disabled, size = _this$asProps.size;
85
67
  return {
86
68
  disabled,
87
69
  onMouseDown: this.handleMouseDownAddon,
70
+ onClick: this.handleClick,
88
71
  size
89
72
  };
90
73
  }
@@ -93,12 +76,10 @@ var Input = /* @__PURE__ */ function(_Component) {
93
76
  value: function getValueProps() {
94
77
  var _this$asProps2 = this.asProps, size = _this$asProps2.size, disabled = _this$asProps2.disabled, state = _this$asProps2.state, role = _this$asProps2.role, placeholder = _this$asProps2.placeholder, ariaHaspopup = _this$asProps2["aria-haspopup"], ariaControls = _this$asProps2["aria-controls"], ariaExpanded = _this$asProps2["aria-expanded"], ariaAutocomplete = _this$asProps2["aria-autocomplete"], ariaOwns = _this$asProps2["aria-owns"], ariaActivedescendant = _this$asProps2["aria-activedescendant"];
95
78
  return {
96
- ref: this.inputRef,
79
+ "ref": this.inputRef,
97
80
  size,
98
81
  disabled,
99
82
  state,
100
- onFocus: this.bindHandleValueFocused(true),
101
- onBlur: this.bindHandleValueFocused(false),
102
83
  role,
103
84
  placeholder,
104
85
  "aria-haspopup": ariaHaspopup,
@@ -109,30 +90,18 @@ var Input = /* @__PURE__ */ function(_Component) {
109
90
  "aria-activedescendant": ariaActivedescendant
110
91
  };
111
92
  }
112
- }, {
113
- key: "componentDidUpdate",
114
- value: function componentDidUpdate(prevProps) {
115
- if (prevProps.disabled !== this.asProps.disabled && this.asProps.disabled) {
116
- this.setState({
117
- focused: false
118
- });
119
- }
120
- }
121
93
  }, {
122
94
  key: "render",
123
95
  value: function render() {
124
- var _ref = this.asProps, _this2 = this;
96
+ var _ref = this.asProps;
125
97
  var SInput = Box;
126
98
  var SOutline = "div";
127
99
  var _this$asProps3 = this.asProps, Children = _this$asProps3.Children, styles = _this$asProps3.styles, neighborLocation = _this$asProps3.neighborLocation, controlsLength = _this$asProps3.controlsLength, state = _this$asProps3.state;
128
- var focused = this.state.focused;
129
100
  return /* @__PURE__ */ React.createElement(NeighborLocation.Detect, {
130
101
  neighborLocation
131
102
  }, function(neighborLocation2) {
132
103
  var _ref4;
133
- return _ref4 = sstyled$1(styles), /* @__PURE__ */ React.createElement(SInput, _ref4.cn("SInput", _objectSpread({}, assignProps({
134
- "focused": focused,
135
- "onKeyDown": _this2.handleKeyDown,
104
+ return _ref4 = sstyled(styles), /* @__PURE__ */ React.createElement(SInput, _ref4.cn("SInput", _objectSpread({}, assignProps({
136
105
  "neighborLocation": neighborLocation2,
137
106
  "__excludeProps": ["role", "aria-haspopup", "aria-controls", "aria-expanded", "placeholder", "aria-autocomplete", "aria-owns", "aria-activedescendant", "tabIndex"]
138
107
  }, _ref))), /* @__PURE__ */ React.createElement(NeighborLocation, _ref4.cn("NeighborLocation", {
@@ -141,22 +110,37 @@ var Input = /* @__PURE__ */ function(_Component) {
141
110
  });
142
111
  }
143
112
  }]);
144
- return Input2;
145
- }(Component);
113
+ })(Component);
146
114
  _defineProperty(Input, "displayName", "Input");
147
115
  _defineProperty(Input, "defaultProps", {
148
116
  size: "m",
149
117
  state: "normal"
150
118
  });
151
119
  _defineProperty(Input, "style", style);
152
- var Value = /* @__PURE__ */ function(_Component2) {
153
- _inherits(Value2, _Component2);
154
- var _super2 = _createSuper(Value2);
120
+ var Value = /* @__PURE__ */ (function(_Component2) {
155
121
  function Value2() {
122
+ var _this2;
156
123
  _classCallCheck(this, Value2);
157
- return _super2.apply(this, arguments);
124
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
125
+ args[_key2] = arguments[_key2];
126
+ }
127
+ _this2 = _callSuper(this, Value2, [].concat(args));
128
+ _defineProperty(_this2, "inputRef", /* @__PURE__ */ React.createRef());
129
+ return _this2;
158
130
  }
159
- _createClass(Value2, [{
131
+ _inherits(Value2, _Component2);
132
+ return _createClass(Value2, [{
133
+ key: "componentDidMount",
134
+ value: function componentDidMount() {
135
+ var _this3 = this;
136
+ if (this.asProps.autoFocus) {
137
+ setTimeout(function() {
138
+ var _this3$inputRef$curre;
139
+ (_this3$inputRef$curre = _this3.inputRef.current) === null || _this3$inputRef$curre === void 0 || _this3$inputRef$curre.focus();
140
+ }, 10);
141
+ }
142
+ }
143
+ }, {
160
144
  key: "uncontrolledProps",
161
145
  value: function uncontrolledProps() {
162
146
  return {
@@ -168,28 +152,29 @@ var Value = /* @__PURE__ */ function(_Component2) {
168
152
  }, {
169
153
  key: "render",
170
154
  value: function render() {
171
- var _ref2 = this.asProps;
155
+ var _ref2 = this.asProps, _this4 = this;
172
156
  var SValue = Box;
173
157
  var _this$asProps4 = this.asProps, styles = _this$asProps4.styles, neighborLocation = _this$asProps4.neighborLocation, state = _this$asProps4.state;
174
158
  return /* @__PURE__ */ React.createElement(NeighborLocation.Detect, {
175
159
  neighborLocation
176
160
  }, function(neighborLocation2) {
177
161
  var _ref5;
178
- return _ref5 = sstyled$1(styles), /* @__PURE__ */ React.createElement(SValue, _ref5.cn("SValue", _objectSpread({}, assignProps({
162
+ return _ref5 = sstyled(styles), /* @__PURE__ */ React.createElement(SValue, _ref5.cn("SValue", _objectSpread({}, assignProps({
163
+ "ref": _this4.inputRef,
164
+ "inAfterOutline": true,
179
165
  "neighborLocation": neighborLocation2,
180
166
  "tag": "input",
181
167
  "type": "text",
182
- "aria-invalid": state === "invalid"
168
+ "aria-invalid": state === "invalid",
169
+ "use:autoFocus": false
183
170
  }, _ref2))));
184
171
  });
185
172
  }
186
173
  }]);
187
- return Value2;
188
- }(Component);
174
+ })(Component);
189
175
  _defineProperty(Value, "defaultProps", {
190
176
  defaultValue: ""
191
177
  });
192
- _defineProperty(Value, "enhance", [keyboardFocusEnhance(), autoFocusEnhance()]);
193
178
  function Addon(props) {
194
179
  var _ref3 = arguments[0];
195
180
  var SAddon = Box;
@@ -198,15 +183,15 @@ function Addon(props) {
198
183
  neighborLocation
199
184
  }, function(neighborLocation2) {
200
185
  var _ref6;
201
- return _ref6 = sstyled$1(styles), /* @__PURE__ */ React.createElement(SAddon, _ref6.cn("SAddon", _objectSpread({}, assignProps({
186
+ return _ref6 = sstyled(styles), /* @__PURE__ */ React.createElement(SAddon, _ref6.cn("SAddon", _objectSpread({}, assignProps({
202
187
  "neighborLocation": neighborLocation2
203
188
  }, _ref3))), /* @__PURE__ */ React.createElement(Children, _ref6.cn("Children", {})));
204
189
  });
205
190
  }
206
- const Input$1 = createComponent(Input, {
191
+ const Input_default = createComponent(Input, {
207
192
  Addon,
208
193
  Value
209
194
  });
210
195
  export {
211
- Input$1 as default
196
+ Input_default as default
212
197
  };
@@ -13,10 +13,20 @@ SInput {
13
13
  border-radius: var(--intergalactic-control-rounded, 6px);
14
14
  -webkit-box-shadow: 0 0 0 30px rgb(250, 255, 189) inset;
15
15
 
16
- & ~ SOutline {
16
+ &~SOutline {
17
17
  background-color: rgb(250, 255, 189);
18
18
  }
19
19
  }
20
+
21
+ SValue {
22
+ &:focus, &:focus-visible {
23
+ outline: none;
24
+
25
+ &::after {
26
+ outline: none;
27
+ }
28
+ }
29
+ }
20
30
  }
21
31
 
22
32
  SValue {
@@ -33,15 +43,11 @@ SValue {
33
43
  font-family: inherit;
34
44
  background: transparent;
35
45
 
36
- &:focus {
37
- outline: none;
38
- }
39
-
40
46
  &::placeholder {
41
47
  color: var(--intergalactic-text-placeholder, oklch(0.098 0.023 157.4 / 0.457));
42
48
  }
43
49
 
44
- &:not(:disabled):read-only ~ SOutline {
50
+ &:not(:disabled):read-only~SOutline {
45
51
  background: var(--intergalactic-bg-secondary-neutral, oklch(0.98 0.001 180));
46
52
  }
47
53
 
@@ -51,7 +57,8 @@ SValue {
51
57
  }
52
58
  }
53
59
 
54
- SInput[disabled] SOutline, SValue:disabled ~ SOutline {
60
+ SInput[disabled] SOutline,
61
+ SValue:disabled~SOutline {
55
62
 
56
63
  opacity: var(--intergalactic-disabled-opacity, 0.4);
57
64
  cursor: default;
@@ -97,10 +104,15 @@ SAddon[disabled] {
97
104
  SAddon[size='m']:not(SButton) {
98
105
  padding: 0 var(--intergalactic-spacing-2x, 8px);
99
106
  }
100
- SAddon[size='l']:not(SButton) {
107
+
108
+ SAddon[size='l'][neighborLocation='right']:not(SButton) {
101
109
  padding: 0 var(--intergalactic-spacing-2x, 8px) 0 var(--intergalactic-spacing-3x, 12px);
102
110
  }
103
111
 
112
+ SAddon[size='l'][neighborLocation='left']:not(SButton) {
113
+ padding: 0 var(--intergalactic-spacing-3x, 12px) 0 var(--intergalactic-spacing-2x, 8px);
114
+ }
115
+
104
116
  SInput SAddon:nth-last-child(2) {
105
117
  margin-right: -1px;
106
118
  }
@@ -108,6 +120,7 @@ SInput SAddon:nth-last-child(2) {
108
120
  SValue[size='m'] {
109
121
  padding: 0 var(--intergalactic-spacing-2x, 8px);
110
122
  }
123
+
111
124
  SValue[size='l'] {
112
125
  padding: 0 var(--intergalactic-spacing-3x, 12px);
113
126
  }
@@ -122,7 +135,7 @@ SInput[size='l'] {
122
135
  height: var(--intergalactic-form-control-l, 40px);
123
136
  }
124
137
 
125
- SInput[focused] {
138
+ SInput:has(SValue:focus-visible) {
126
139
  z-index: 1;
127
140
  }
128
141
 
@@ -131,29 +144,42 @@ SInput[state='normal'] {
131
144
  border-color: var(--intergalactic-border-primary, oklch(0.137 0.026 175.7 / 0.161));
132
145
  }
133
146
 
134
- &[focused] SOutline {
135
- border-color: var(--intergalactic-border-info-active, oklch(0.382 0.248 264.2 / 0.386));
136
- box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.376 0.247 264.2 / 0.441));
147
+ &:has(SValue:focus-visible) SOutline {
148
+ @mixin focus-outline-mixin {
149
+ outline-offset: 0;
150
+ transition-property: outline-color, outline-width;
151
+ }
152
+ border-color: var(--intergalactic-border-info-active, oklch(0.443 0.273 264.2 / 0.419));
137
153
  }
138
154
  }
155
+
139
156
  SInput[state='valid'] {
140
157
  & SOutline {
141
158
  border-color: var(--intergalactic-border-success-active, oklch(0.75 0.153 167.5));
142
159
  }
143
160
 
144
- &[focused] SOutline {
161
+ &:has(SValue:focus-visible) SOutline {
162
+ @mixin focus-outline-mixin {
163
+ outline-offset: 0;
164
+ transition-property: outline-color, outline-width;
165
+ }
145
166
  border-color: var(--intergalactic-border-success-active, oklch(0.75 0.153 167.5));
146
- box-shadow: var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px oklch(0.711 0.146 166.9));
167
+ outline-color: var(--intergalactic-keyboard-focus-valid-outline, oklch(0.711 0.146 166.9));
147
168
  }
148
169
  }
170
+
149
171
  SInput[state='invalid'] {
150
172
  & SOutline {
151
173
  border-color: var(--intergalactic-border-critical-active, oklch(0.628 0.258 29 / 0.56));
152
174
  }
153
175
 
154
- &[focused] SOutline {
176
+ &:has(SValue:focus-visible) SOutline {
177
+ @mixin focus-outline-mixin {
178
+ outline-offset: 0;
179
+ transition-property: outline-color, outline-width;
180
+ }
155
181
  border-color: var(--intergalactic-border-critical-active, oklch(0.628 0.258 29 / 0.56));
156
- box-shadow: var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px oklch(0.628 0.257 28.9 / 0.652));
182
+ outline-color: var(--intergalactic-keyboard-focus-invalid-outline, oklch(0.628 0.257 28.9 / 0.652));
157
183
  }
158
184
  }
159
185
 
@@ -163,12 +189,14 @@ SInput[neighborLocation='right'] {
163
189
  border-bottom-right-radius: 0;
164
190
  }
165
191
  }
192
+
166
193
  SInput[neighborLocation='both'] {
167
194
  & SOutline {
168
195
  border-radius: 0;
169
196
  border-left: none;
170
197
  }
171
198
  }
199
+
172
200
  SInput[neighborLocation='left'] {
173
201
  & SOutline {
174
202
  border-top-left-radius: 0;
@@ -1,13 +1,9 @@
1
- import React from 'react';
2
- import { Intergalactic, PropGetterFn, UnknownProperties } from '@semcore/core';
3
- import { BoxProps } from '@semcore/flex-box';
4
- import { NeighborItemProps, NeighborLocationProps } from '@semcore/neighbor-location';
5
- import { WithAutoFocusEnhanceProps } from '@semcore/utils/lib/enhances/autoFocusEnhance';
1
+ import type { BoxProps, NeighborItemProps, NeighborLocationProps } from '@semcore/base-components';
2
+ import type { Intergalactic, PropGetterFn } from '@semcore/core';
3
+ import type React from 'react';
6
4
 
7
5
  export type InputSize = 'm' | 'l';
8
6
 
9
- /** @deprecated */
10
- export interface IInputProps extends InputProps, UnknownProperties {}
11
7
  export type InputProps = BoxProps &
12
8
  NeighborItemProps &
13
9
  NeighborLocationProps & {
@@ -27,11 +23,8 @@ export type InputProps = BoxProps &
27
23
  state?: 'normal' | 'invalid' | 'valid';
28
24
  };
29
25
 
30
- /** @deprecated */
31
- export interface IInputValueProps extends InputValueProps, UnknownProperties {}
32
26
  export type InputValueProps = BoxProps &
33
- NeighborItemProps &
34
- WithAutoFocusEnhanceProps & {
27
+ NeighborItemProps & {
35
28
  /**
36
29
  * Input value
37
30
  */
@@ -44,10 +37,6 @@ export type InputValueProps = BoxProps &
44
37
  * Handler for changing the value
45
38
  */
46
39
  onChange?: (value: string, event: React.SyntheticEvent<HTMLInputElement>) => void;
47
- /**
48
- * @deprecated Set `disabled` on `Input` instead.
49
- * */
50
- disabled?: boolean;
51
40
  /**
52
41
  * Sets the input to the read-only state
53
42
  * */
@@ -61,29 +50,15 @@ export type InputValueProps = BoxProps &
61
50
  * Placeholder for input
62
51
  */
63
52
  placeholder?: string;
64
- };
65
-
66
- /** @deprecated */
67
- export interface IInputAddonProps extends InputAddonProps, UnknownProperties {}
68
- export type InputAddonProps = BoxProps &
69
- NeighborItemProps & {
70
53
  /**
71
- * Adds styles for interactive icons
54
+ * Flag to enable autofocusing after component mounting
55
+ * @default false
72
56
  */
73
- interactive?: boolean;
74
- /**
75
- * Blocks the addon
76
- * */
77
- disabled?: boolean;
78
- /**
79
- * Input size
80
- * @default m
81
- */
82
- size?: InputSize;
57
+ autoFocus?: boolean;
83
58
  };
84
59
 
85
- /** @deprecated */
86
- export interface IInputCtx extends InputCtx, UnknownProperties {}
60
+ export type InputAddonProps = BoxProps & NeighborItemProps;
61
+
87
62
  export type InputCtx = {
88
63
  getValueProps: PropGetterFn;
89
64
  getAddonProps: PropGetterFn;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/input",
3
3
  "description": "Semrush Input Component",
4
- "version": "4.43.0-prerelease.1",
4
+ "version": "4.43.0-prerelease.5",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -14,12 +14,12 @@
14
14
  "types": "./lib/types/index.d.ts"
15
15
  },
16
16
  "dependencies": {
17
- "@semcore/utils": "4.49.0-prerelease.1",
18
- "@semcore/neighbor-location": "4.41.0-prerelease.1",
19
- "@semcore/flex-box": "5.42.0-prerelease.1"
17
+ "@semcore/utils": "4.49.0-prerelease.5",
18
+ "@semcore/neighbor-location": "4.41.0-prerelease.5",
19
+ "@semcore/flex-box": "5.42.0-prerelease.5"
20
20
  },
21
21
  "peerDependencies": {
22
- "@semcore/core": "^2.40.0-prerelease.1",
22
+ "@semcore/core": "^2.40.0-prerelease.5",
23
23
  "react": "16.8 - 18",
24
24
  "react-dom": "16.8 - 18"
25
25
  },