@semcore/input
Advanced tools
Comparing version 4.28.1 to 4.28.2-prerelease.0
@@ -5,2 +5,8 @@ # Changelog | ||
## [4.28.2] - 2024-06-04 | ||
### Fixed | ||
- Type definition for Input's `placeholder` prop. | ||
## [4.28.1] - 2024-05-28 | ||
@@ -7,0 +13,0 @@ |
@@ -24,19 +24,19 @@ "use strict"; | ||
/*__reshadow-styles__:"./style/input.shadow.css"*/ | ||
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SInput_x0go4_gg_{display:inline-flex;width:100%;align-items:center;position:relative;z-index:0;vertical-align:middle;padding:1px;box-sizing:border-box}.___SInput_x0go4_gg_ input:-webkit-autofill{border-radius:var(--intergalactic-control-rounded, 6px);-webkit-box-shadow:0 0 0 30px #faffbd inset}.___SInput_x0go4_gg_ input:-webkit-autofill~.___SOutline_x0go4_gg_{background-color:#faffbd}.___SValue_x0go4_gg_{min-width:0;width:100%;height:100%;padding:0;border:0;box-sizing:border-box;color:var(--intergalactic-text-primary, #191b23);font-size:inherit;text-overflow:ellipsis;font-family:inherit;background:0 0}.___SValue_x0go4_gg_:focus{outline:0}.___SValue_x0go4_gg_::-moz-placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_x0go4_gg_::placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_x0go4_gg_:not(:disabled):-moz-read-only~.___SOutline_x0go4_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SValue_x0go4_gg_:not(:disabled):read-only~.___SOutline_x0go4_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SValue_x0go4_gg_:disabled{-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SInput_x0go4_gg_.__disabled_x0go4_gg_ .___SOutline_x0go4_gg_,.___SValue_x0go4_gg_:disabled~.___SOutline_x0go4_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SOutline_x0go4_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, #ffffff)}.___SAddon_x0go4_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, #a9abb6)}.___SAddon_x0go4_gg_.__interactive_x0go4_gg_{cursor:pointer}@media (hover:hover){.___SAddon_x0go4_gg_.__interactive_x0go4_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, #878992)}}.___SAddon_x0go4_gg_.__disabled_x0go4_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SAddon_x0go4_gg_._size_m_x0go4_gg_:not(.___SButton_x0go4_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)}.___SAddon_x0go4_gg_._size_l_x0go4_gg_:not(.___SButton_x0go4_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)0 var(--intergalactic-spacing-3x, 12px)}.___SInput_x0go4_gg_ .___SAddon_x0go4_gg_:nth-last-child(2){margin-right:-1px}.___SValue_x0go4_gg_._size_m_x0go4_gg_{padding:0 var(--intergalactic-spacing-2x, 8px)}.___SValue_x0go4_gg_._size_l_x0go4_gg_{padding:0 var(--intergalactic-spacing-3x, 12px)}.___SInput_x0go4_gg_._size_m_x0go4_gg_{font-size:var(--intergalactic-fs-200, 14px);height:var(--intergalactic-form-control-m, 28px)}.___SInput_x0go4_gg_._size_l_x0go4_gg_{font-size:var(--intergalactic-fs-300, 16px);height:var(--intergalactic-form-control-l, 40px)}.___SInput_x0go4_gg_.__focused_x0go4_gg_{z-index:1}.___SInput_x0go4_gg_._state_normal_x0go4_gg_ .___SOutline_x0go4_gg_{border-color:var(--intergalactic-border-primary, #c4c7cf)}.___SInput_x0go4_gg_._state_normal_x0go4_gg_.__focused_x0go4_gg_ .___SOutline_x0go4_gg_{border-color:var(--intergalactic-border-info-active, #006dca);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SInput_x0go4_gg_._state_valid_x0go4_gg_ .___SOutline_x0go4_gg_{border-color:var(--intergalactic-border-success-active, #007c65)}.___SInput_x0go4_gg_._state_valid_x0go4_gg_.__focused_x0go4_gg_ .___SOutline_x0go4_gg_{border-color:var(--intergalactic-border-success-active, #007c65);box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgba(0, 159, 129, 0.5))}.___SInput_x0go4_gg_._state_invalid_x0go4_gg_ .___SOutline_x0go4_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f)}.___SInput_x0go4_gg_._state_invalid_x0go4_gg_.__focused_x0go4_gg_ .___SOutline_x0go4_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f);box-shadow:var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 73, 83, 0.5))}.___SInput_x0go4_gg_._neighborLocation_right_x0go4_gg_ .___SOutline_x0go4_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SInput_x0go4_gg_._neighborLocation_both_x0go4_gg_ .___SOutline_x0go4_gg_{border-radius:0;border-left:none}.___SInput_x0go4_gg_._neighborLocation_left_x0go4_gg_ .___SOutline_x0go4_gg_{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.___SValue_x0go4_gg_._neighborLocation_right_x0go4_gg_{padding-right:0}.___SValue_x0go4_gg_._neighborLocation_both_x0go4_gg_{padding-left:0;padding-right:0}.___SValue_x0go4_gg_._neighborLocation_left_x0go4_gg_{padding-left:0}" /*__inner_css_end__*/, "x0go4_gg_") /*__reshadow_css_end__*/, { | ||
"__SInput": "___SInput_x0go4_gg_", | ||
"_disabled": "__disabled_x0go4_gg_", | ||
"__SOutline": "___SOutline_x0go4_gg_", | ||
"__SValue": "___SValue_x0go4_gg_", | ||
"__SAddon": "___SAddon_x0go4_gg_", | ||
"_size_m": "_size_m_x0go4_gg_", | ||
"__SButton": "___SButton_x0go4_gg_", | ||
"_size_l": "_size_l_x0go4_gg_", | ||
"_focused": "__focused_x0go4_gg_", | ||
"_neighborLocation_right": "_neighborLocation_right_x0go4_gg_", | ||
"_neighborLocation_both": "_neighborLocation_both_x0go4_gg_", | ||
"_neighborLocation_left": "_neighborLocation_left_x0go4_gg_", | ||
"_interactive": "__interactive_x0go4_gg_", | ||
"_state_normal": "_state_normal_x0go4_gg_", | ||
"_state_valid": "_state_valid_x0go4_gg_", | ||
"_state_invalid": "_state_invalid_x0go4_gg_" | ||
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SInput_hdm8o_gg_{display:inline-flex;width:100%;align-items:center;position:relative;z-index:0;vertical-align:middle;padding:1px;box-sizing:border-box}.___SInput_hdm8o_gg_ input:-webkit-autofill{border-radius:var(--intergalactic-control-rounded, 6px);-webkit-box-shadow:0 0 0 30px #faffbd inset}.___SInput_hdm8o_gg_ input:-webkit-autofill~.___SOutline_hdm8o_gg_{background-color:#faffbd}.___SValue_hdm8o_gg_{min-width:0;width:100%;height:100%;padding:0;border:0;box-sizing:border-box;color:var(--intergalactic-text-primary, #191b23);font-size:inherit;text-overflow:ellipsis;font-family:inherit;background:0 0}.___SValue_hdm8o_gg_:focus{outline:0}.___SValue_hdm8o_gg_::-moz-placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_hdm8o_gg_::placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_hdm8o_gg_:not(:disabled):-moz-read-only~.___SOutline_hdm8o_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SValue_hdm8o_gg_:not(:disabled):read-only~.___SOutline_hdm8o_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SValue_hdm8o_gg_:disabled{-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SInput_hdm8o_gg_.__disabled_hdm8o_gg_ .___SOutline_hdm8o_gg_,.___SValue_hdm8o_gg_:disabled~.___SOutline_hdm8o_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SOutline_hdm8o_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, #ffffff)}.___SAddon_hdm8o_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, #a9abb6)}.___SAddon_hdm8o_gg_.__interactive_hdm8o_gg_{cursor:pointer}@media (hover:hover){.___SAddon_hdm8o_gg_.__interactive_hdm8o_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, #878992)}}.___SAddon_hdm8o_gg_.__disabled_hdm8o_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SAddon_hdm8o_gg_._size_m_hdm8o_gg_:not(.___SButton_hdm8o_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)}.___SAddon_hdm8o_gg_._size_l_hdm8o_gg_:not(.___SButton_hdm8o_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)0 var(--intergalactic-spacing-3x, 12px)}.___SInput_hdm8o_gg_ .___SAddon_hdm8o_gg_:nth-last-child(2){margin-right:-1px}.___SValue_hdm8o_gg_._size_m_hdm8o_gg_{padding:0 var(--intergalactic-spacing-2x, 8px)}.___SValue_hdm8o_gg_._size_l_hdm8o_gg_{padding:0 var(--intergalactic-spacing-3x, 12px)}.___SInput_hdm8o_gg_._size_m_hdm8o_gg_{font-size:var(--intergalactic-fs-200, 14px);height:var(--intergalactic-form-control-m, 28px)}.___SInput_hdm8o_gg_._size_l_hdm8o_gg_{font-size:var(--intergalactic-fs-300, 16px);height:var(--intergalactic-form-control-l, 40px)}.___SInput_hdm8o_gg_.__focused_hdm8o_gg_{z-index:1}.___SInput_hdm8o_gg_._state_normal_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-color:var(--intergalactic-border-primary, #c4c7cf)}.___SInput_hdm8o_gg_._state_normal_hdm8o_gg_.__focused_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-color:var(--intergalactic-border-info-active, #006dca);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SInput_hdm8o_gg_._state_valid_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-color:var(--intergalactic-border-success-active, #007c65)}.___SInput_hdm8o_gg_._state_valid_hdm8o_gg_.__focused_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-color:var(--intergalactic-border-success-active, #007c65);box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgba(0, 159, 129, 0.5))}.___SInput_hdm8o_gg_._state_invalid_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f)}.___SInput_hdm8o_gg_._state_invalid_hdm8o_gg_.__focused_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f);box-shadow:var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 73, 83, 0.5))}.___SInput_hdm8o_gg_._neighborLocation_right_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SInput_hdm8o_gg_._neighborLocation_both_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-radius:0;border-left:none}.___SInput_hdm8o_gg_._neighborLocation_left_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.___SValue_hdm8o_gg_._neighborLocation_right_hdm8o_gg_{padding-right:0}.___SValue_hdm8o_gg_._neighborLocation_both_hdm8o_gg_{padding-left:0;padding-right:0}.___SValue_hdm8o_gg_._neighborLocation_left_hdm8o_gg_{padding-left:0}" /*__inner_css_end__*/, "hdm8o_gg_") /*__reshadow_css_end__*/, { | ||
"__SInput": "___SInput_hdm8o_gg_", | ||
"_disabled": "__disabled_hdm8o_gg_", | ||
"__SOutline": "___SOutline_hdm8o_gg_", | ||
"__SValue": "___SValue_hdm8o_gg_", | ||
"__SAddon": "___SAddon_hdm8o_gg_", | ||
"_size_m": "_size_m_hdm8o_gg_", | ||
"__SButton": "___SButton_hdm8o_gg_", | ||
"_size_l": "_size_l_hdm8o_gg_", | ||
"_focused": "__focused_hdm8o_gg_", | ||
"_neighborLocation_right": "_neighborLocation_right_hdm8o_gg_", | ||
"_neighborLocation_both": "_neighborLocation_both_hdm8o_gg_", | ||
"_neighborLocation_left": "_neighborLocation_left_hdm8o_gg_", | ||
"_interactive": "__interactive_hdm8o_gg_", | ||
"_state_normal": "_state_normal_hdm8o_gg_", | ||
"_state_valid": "_state_valid_hdm8o_gg_", | ||
"_state_invalid": "_state_invalid_hdm8o_gg_" | ||
}); | ||
@@ -43,0 +43,0 @@ var Input = /*#__PURE__*/function (_Component) { |
@@ -19,19 +19,19 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread2"; | ||
/*__reshadow-styles__:"./style/input.shadow.css"*/ | ||
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SInput_x0go4_gg_{display:inline-flex;width:100%;align-items:center;position:relative;z-index:0;vertical-align:middle;padding:1px;box-sizing:border-box}.___SInput_x0go4_gg_ input:-webkit-autofill{border-radius:var(--intergalactic-control-rounded, 6px);-webkit-box-shadow:0 0 0 30px #faffbd inset}.___SInput_x0go4_gg_ input:-webkit-autofill~.___SOutline_x0go4_gg_{background-color:#faffbd}.___SValue_x0go4_gg_{min-width:0;width:100%;height:100%;padding:0;border:0;box-sizing:border-box;color:var(--intergalactic-text-primary, #191b23);font-size:inherit;text-overflow:ellipsis;font-family:inherit;background:0 0}.___SValue_x0go4_gg_:focus{outline:0}.___SValue_x0go4_gg_::-moz-placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_x0go4_gg_::placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_x0go4_gg_:not(:disabled):-moz-read-only~.___SOutline_x0go4_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SValue_x0go4_gg_:not(:disabled):read-only~.___SOutline_x0go4_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SValue_x0go4_gg_:disabled{-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SInput_x0go4_gg_.__disabled_x0go4_gg_ .___SOutline_x0go4_gg_,.___SValue_x0go4_gg_:disabled~.___SOutline_x0go4_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SOutline_x0go4_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, #ffffff)}.___SAddon_x0go4_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, #a9abb6)}.___SAddon_x0go4_gg_.__interactive_x0go4_gg_{cursor:pointer}@media (hover:hover){.___SAddon_x0go4_gg_.__interactive_x0go4_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, #878992)}}.___SAddon_x0go4_gg_.__disabled_x0go4_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SAddon_x0go4_gg_._size_m_x0go4_gg_:not(.___SButton_x0go4_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)}.___SAddon_x0go4_gg_._size_l_x0go4_gg_:not(.___SButton_x0go4_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)0 var(--intergalactic-spacing-3x, 12px)}.___SInput_x0go4_gg_ .___SAddon_x0go4_gg_:nth-last-child(2){margin-right:-1px}.___SValue_x0go4_gg_._size_m_x0go4_gg_{padding:0 var(--intergalactic-spacing-2x, 8px)}.___SValue_x0go4_gg_._size_l_x0go4_gg_{padding:0 var(--intergalactic-spacing-3x, 12px)}.___SInput_x0go4_gg_._size_m_x0go4_gg_{font-size:var(--intergalactic-fs-200, 14px);height:var(--intergalactic-form-control-m, 28px)}.___SInput_x0go4_gg_._size_l_x0go4_gg_{font-size:var(--intergalactic-fs-300, 16px);height:var(--intergalactic-form-control-l, 40px)}.___SInput_x0go4_gg_.__focused_x0go4_gg_{z-index:1}.___SInput_x0go4_gg_._state_normal_x0go4_gg_ .___SOutline_x0go4_gg_{border-color:var(--intergalactic-border-primary, #c4c7cf)}.___SInput_x0go4_gg_._state_normal_x0go4_gg_.__focused_x0go4_gg_ .___SOutline_x0go4_gg_{border-color:var(--intergalactic-border-info-active, #006dca);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SInput_x0go4_gg_._state_valid_x0go4_gg_ .___SOutline_x0go4_gg_{border-color:var(--intergalactic-border-success-active, #007c65)}.___SInput_x0go4_gg_._state_valid_x0go4_gg_.__focused_x0go4_gg_ .___SOutline_x0go4_gg_{border-color:var(--intergalactic-border-success-active, #007c65);box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgba(0, 159, 129, 0.5))}.___SInput_x0go4_gg_._state_invalid_x0go4_gg_ .___SOutline_x0go4_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f)}.___SInput_x0go4_gg_._state_invalid_x0go4_gg_.__focused_x0go4_gg_ .___SOutline_x0go4_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f);box-shadow:var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 73, 83, 0.5))}.___SInput_x0go4_gg_._neighborLocation_right_x0go4_gg_ .___SOutline_x0go4_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SInput_x0go4_gg_._neighborLocation_both_x0go4_gg_ .___SOutline_x0go4_gg_{border-radius:0;border-left:none}.___SInput_x0go4_gg_._neighborLocation_left_x0go4_gg_ .___SOutline_x0go4_gg_{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.___SValue_x0go4_gg_._neighborLocation_right_x0go4_gg_{padding-right:0}.___SValue_x0go4_gg_._neighborLocation_both_x0go4_gg_{padding-left:0;padding-right:0}.___SValue_x0go4_gg_._neighborLocation_left_x0go4_gg_{padding-left:0}" /*__inner_css_end__*/, "x0go4_gg_") /*__reshadow_css_end__*/, { | ||
"__SInput": "___SInput_x0go4_gg_", | ||
"_disabled": "__disabled_x0go4_gg_", | ||
"__SOutline": "___SOutline_x0go4_gg_", | ||
"__SValue": "___SValue_x0go4_gg_", | ||
"__SAddon": "___SAddon_x0go4_gg_", | ||
"_size_m": "_size_m_x0go4_gg_", | ||
"__SButton": "___SButton_x0go4_gg_", | ||
"_size_l": "_size_l_x0go4_gg_", | ||
"_focused": "__focused_x0go4_gg_", | ||
"_neighborLocation_right": "_neighborLocation_right_x0go4_gg_", | ||
"_neighborLocation_both": "_neighborLocation_both_x0go4_gg_", | ||
"_neighborLocation_left": "_neighborLocation_left_x0go4_gg_", | ||
"_interactive": "__interactive_x0go4_gg_", | ||
"_state_normal": "_state_normal_x0go4_gg_", | ||
"_state_valid": "_state_valid_x0go4_gg_", | ||
"_state_invalid": "_state_invalid_x0go4_gg_" | ||
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SInput_hdm8o_gg_{display:inline-flex;width:100%;align-items:center;position:relative;z-index:0;vertical-align:middle;padding:1px;box-sizing:border-box}.___SInput_hdm8o_gg_ input:-webkit-autofill{border-radius:var(--intergalactic-control-rounded, 6px);-webkit-box-shadow:0 0 0 30px #faffbd inset}.___SInput_hdm8o_gg_ input:-webkit-autofill~.___SOutline_hdm8o_gg_{background-color:#faffbd}.___SValue_hdm8o_gg_{min-width:0;width:100%;height:100%;padding:0;border:0;box-sizing:border-box;color:var(--intergalactic-text-primary, #191b23);font-size:inherit;text-overflow:ellipsis;font-family:inherit;background:0 0}.___SValue_hdm8o_gg_:focus{outline:0}.___SValue_hdm8o_gg_::-moz-placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_hdm8o_gg_::placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_hdm8o_gg_:not(:disabled):-moz-read-only~.___SOutline_hdm8o_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SValue_hdm8o_gg_:not(:disabled):read-only~.___SOutline_hdm8o_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SValue_hdm8o_gg_:disabled{-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SInput_hdm8o_gg_.__disabled_hdm8o_gg_ .___SOutline_hdm8o_gg_,.___SValue_hdm8o_gg_:disabled~.___SOutline_hdm8o_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SOutline_hdm8o_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, #ffffff)}.___SAddon_hdm8o_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, #a9abb6)}.___SAddon_hdm8o_gg_.__interactive_hdm8o_gg_{cursor:pointer}@media (hover:hover){.___SAddon_hdm8o_gg_.__interactive_hdm8o_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, #878992)}}.___SAddon_hdm8o_gg_.__disabled_hdm8o_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SAddon_hdm8o_gg_._size_m_hdm8o_gg_:not(.___SButton_hdm8o_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)}.___SAddon_hdm8o_gg_._size_l_hdm8o_gg_:not(.___SButton_hdm8o_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)0 var(--intergalactic-spacing-3x, 12px)}.___SInput_hdm8o_gg_ .___SAddon_hdm8o_gg_:nth-last-child(2){margin-right:-1px}.___SValue_hdm8o_gg_._size_m_hdm8o_gg_{padding:0 var(--intergalactic-spacing-2x, 8px)}.___SValue_hdm8o_gg_._size_l_hdm8o_gg_{padding:0 var(--intergalactic-spacing-3x, 12px)}.___SInput_hdm8o_gg_._size_m_hdm8o_gg_{font-size:var(--intergalactic-fs-200, 14px);height:var(--intergalactic-form-control-m, 28px)}.___SInput_hdm8o_gg_._size_l_hdm8o_gg_{font-size:var(--intergalactic-fs-300, 16px);height:var(--intergalactic-form-control-l, 40px)}.___SInput_hdm8o_gg_.__focused_hdm8o_gg_{z-index:1}.___SInput_hdm8o_gg_._state_normal_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-color:var(--intergalactic-border-primary, #c4c7cf)}.___SInput_hdm8o_gg_._state_normal_hdm8o_gg_.__focused_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-color:var(--intergalactic-border-info-active, #006dca);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SInput_hdm8o_gg_._state_valid_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-color:var(--intergalactic-border-success-active, #007c65)}.___SInput_hdm8o_gg_._state_valid_hdm8o_gg_.__focused_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-color:var(--intergalactic-border-success-active, #007c65);box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgba(0, 159, 129, 0.5))}.___SInput_hdm8o_gg_._state_invalid_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f)}.___SInput_hdm8o_gg_._state_invalid_hdm8o_gg_.__focused_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f);box-shadow:var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 73, 83, 0.5))}.___SInput_hdm8o_gg_._neighborLocation_right_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SInput_hdm8o_gg_._neighborLocation_both_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-radius:0;border-left:none}.___SInput_hdm8o_gg_._neighborLocation_left_hdm8o_gg_ .___SOutline_hdm8o_gg_{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.___SValue_hdm8o_gg_._neighborLocation_right_hdm8o_gg_{padding-right:0}.___SValue_hdm8o_gg_._neighborLocation_both_hdm8o_gg_{padding-left:0;padding-right:0}.___SValue_hdm8o_gg_._neighborLocation_left_hdm8o_gg_{padding-left:0}" /*__inner_css_end__*/, "hdm8o_gg_") /*__reshadow_css_end__*/, { | ||
"__SInput": "___SInput_hdm8o_gg_", | ||
"_disabled": "__disabled_hdm8o_gg_", | ||
"__SOutline": "___SOutline_hdm8o_gg_", | ||
"__SValue": "___SValue_hdm8o_gg_", | ||
"__SAddon": "___SAddon_hdm8o_gg_", | ||
"_size_m": "_size_m_hdm8o_gg_", | ||
"__SButton": "___SButton_hdm8o_gg_", | ||
"_size_l": "_size_l_hdm8o_gg_", | ||
"_focused": "__focused_hdm8o_gg_", | ||
"_neighborLocation_right": "_neighborLocation_right_hdm8o_gg_", | ||
"_neighborLocation_both": "_neighborLocation_both_hdm8o_gg_", | ||
"_neighborLocation_left": "_neighborLocation_left_hdm8o_gg_", | ||
"_interactive": "__interactive_hdm8o_gg_", | ||
"_state_normal": "_state_normal_hdm8o_gg_", | ||
"_state_valid": "_state_valid_hdm8o_gg_", | ||
"_state_invalid": "_state_invalid_hdm8o_gg_" | ||
}); | ||
@@ -38,0 +38,0 @@ var Input = /*#__PURE__*/function (_Component) { |
@@ -60,2 +60,6 @@ import React from 'react'; | ||
size?: InputSize; | ||
/** | ||
* Placeholder for input | ||
*/ | ||
placeholder?: string; | ||
}; | ||
@@ -62,0 +66,0 @@ |
{ | ||
"name": "@semcore/input", | ||
"description": "Semrush Input Component", | ||
"version": "4.28.1", | ||
"version": "4.28.2-prerelease.0", | ||
"main": "lib/cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "lib/es6/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
99082
927
2