@stenajs-webui/forms 19.0.0-next.50 → 19.0.0-next.52

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/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  (function(){"use strict";try{var r=document.createElement("style");r.appendChild(document.createTextNode('._switch_1d6s8_1{--swui-switch-width: 50px;--swui-switch-height: var(--swui-field-box-size-medium);--swui-switch-animation-time: var(--swui-animation-time-medium);--swui-switch-selected-highlight-color: var(--lhds-color-blue-500);--swui-switch-knob-width: calc(var(--swui-switch-height) - 2px);--swui-switch-knob-bg-color-enabled: var(--swui-handle-bg-enabled-color);--swui-switch-knob-bg-color-disabled: var(--swui-handle-bg-disabled-color);--swui-switch-container-bg-color-enabled: var(--swui-field-bg-enabled);--swui-switch-container-bg-color-disabled: var(--swui-field-bg-disabled);--swui-switch-knob-border-color-enabled: var(--swui-separator-color);--swui-switch-container-border-color: var(--swui-field-border-color);--swui-switch-container-border-color-hover: var( --swui-field-border-color-hover );--swui-switch-container-border-color-disabled: var( --swui-field-border-color-disabled );--swui-switch-knob-shadow-color: var(--swui-field-shadow-color);display:flex;flex-direction:row;border:1px solid var(--swui-switch-container-border-color);box-sizing:border-box;background-color:var(--swui-switch-container-bg-color-enabled);height:var(--swui-switch-height);width:var(--swui-switch-width);border-radius:calc(var(--swui-switch-height) / 2);padding:0;margin:0;cursor:pointer;transition:background-color var(--swui-switch-animation-time)}._switch_1d6s8_1:focus{outline:0}._switch_1d6s8_1:focus-visible{outline:var(--swui-focus-outline);outline-offset:2px;border:1px solid var(--swui-switch-selected-highlight-color)}._switch_1d6s8_1:hover{border:1px solid var(--swui-switch-selected-highlight-color)}._switch_1d6s8_1:disabled{cursor:default;background-color:var(--swui-switch-container-bg-color-disabled);border:1px solid var(--swui-switch-container-border-color-disabled)}._switch_1d6s8_1:disabled ._knob_1d6s8_56{background-color:var(--swui-switch-knob-bg-color-disabled)}._switch_1d6s8_1 ._filler_1d6s8_61{flex:none;transition:flex var(--swui-switch-animation-time)}._switch_1d6s8_1 ._knob_1d6s8_56{width:var(--swui-switch-knob-width);height:var(--swui-switch-knob-width);border-radius:50%;background-color:var(--swui-switch-knob-bg-color-enabled);box-shadow:var(--swui-switch-knob-shadow-color) 0 0 4px 1px}._checked_1d6s8_75{border:1px solid var(--swui-switch-selected-highlight-color);background-color:var(--swui-switch-selected-highlight-color)}._checked_1d6s8_75 ._filler_1d6s8_61{flex:1}._checkbox_1ndou_1{--swui-checkbox-height: var(--swui-field-box-size-medium);--swui-checkbox-height-small: var(--swui-field-box-size-small);--swui-checkbox-border-radius: var(--swui-field-border-radius);--swui-checkbox-animation-time: var(--swui-animation-time-medium);--swui-checkbox-icon-color: var(--swui-field-indicator-active-color);--swui-checkbox-disabled-icon-color: var(--swui-text-disabled-color);--swui-checkbox-unchecked-icon-color: var( --swui-field-indicator-inactive-color );--swui-checkbox-unchecked-bg-color: var(--swui-white);--swui-checkbox-checked-bg-color: var(--lhds-color-blue-500);--swui-checkbox-disabled-bg-color: var(--swui-field-bg-disabled);--swui-checkbox-disabled-checked-bg-color: var(--swui-field-bg-disabled);--swui-checkbox-border-color: var(--swui-field-border-color);--swui-checkbox-border-hover-color: var(--swui-field-border-color-hover);--swui-checkbox-disabled-border-color: var(--swui-checkbox-disabled-bg-color);-webkit-appearance:none;-moz-appearance:none;border-radius:var(--swui-checkbox-border-radius);outline:none;display:inline-block;vertical-align:top;position:relative;margin:0;cursor:pointer;border:1px solid var(--current-border-color, var(--swui-checkbox-border-color));background:var(--current-bg-color, var(--swui-checkbox-unchecked-bg-color));transition:background var(--swui-checkbox-animation-time),border-color var(--swui-checkbox-animation-time);flex-shrink:0}._checkbox_1ndou_1._standard_1ndou_39{width:var(--swui-checkbox-height);height:var(--swui-checkbox-height)}._checkbox_1ndou_1._standard_1ndou_39:after{width:3px;height:6px;left:9px;top:6px}._checkbox_1ndou_1._small_1ndou_51{width:var(--swui-checkbox-height-small);height:var(--swui-checkbox-height-small)}._checkbox_1ndou_1._small_1ndou_51:after{width:3px;height:6px;left:5px;top:2px}._checkbox_1ndou_1:after{content:"";display:block;position:absolute;transition:opacity var(--swui-checkbox-animation-time),width var(--swui-checkbox-animation-time),top var(--swui-checkbox-animation-time),-webkit-transform var(--swui-checkbox-animation-time) var(--d-t-e, ease);transition:transform var(--swui-checkbox-animation-time) var(--d-t-e, ease),opacity var(--swui-checkbox-animation-time),width var(--swui-checkbox-animation-time),top var(--swui-checkbox-animation-time);transition:transform var(--swui-checkbox-animation-time) var(--d-t-e, ease),opacity var(--swui-checkbox-animation-time),width var(--swui-checkbox-animation-time),top var(--swui-checkbox-animation-time),-webkit-transform var(--swui-checkbox-animation-time) var(--d-t-e, ease);border:2px solid var( --current-checkbox-icon-color, var(--swui-checkbox-unchecked-icon-color) );border-top:0;border-left:0;-webkit-transform:rotate(var(--current-check-rotation, 20deg));transform:rotate(var(--current-check-rotation, 20deg));box-sizing:content-box}._checkbox_1ndou_1:checked{--current-check-rotation: 43deg;--current-bg-color: var(--swui-checkbox-checked-bg-color);--current-border-color: var(--swui-checkbox-checked-bg-color);--d-t-e: cubic-bezier(.2, .85, .32, 1.2)}._checkbox_1ndou_1:checked:after{--current-checkbox-icon-color: var(--swui-checkbox-icon-color)}._checkbox_1ndou_1:disabled:not(:checked){--current-bg-color: var(--swui-checkbox-disabled-bg-color);--current-border-color: var(--swui-checkbox-disabled-border-color)}._checkbox_1ndou_1:disabled:not(:checked):after{--current-checkbox-icon-color: --swui-checkbox-unchecked-icon-color}._checkbox_1ndou_1:disabled:checked{--current-bg-color: var(--swui-checkbox-disabled-checked-bg-color);--current-border-color: var(--swui-checkbox-disabled-border-color)}._checkbox_1ndou_1:disabled:checked:after{--current-checkbox-icon-color: var(--swui-checkbox-disabled-icon-color)}._checkbox_1ndou_1:indeterminate{--current-check-rotation: 43deg;--current-bg-color: var(--swui-checkbox-checked-bg-color);--current-border-color: var(--swui-checkbox-checked-bg-color);--d-t-e: cubic-bezier(.2, .85, .32, 1.2)}._checkbox_1ndou_1:indeterminate:after{--current-checkbox-icon-color: var(--swui-checkbox-icon-color);border-right:0;-webkit-transform:rotate(0deg);transform:rotate(0);width:6px}._checkbox_1ndou_1:indeterminate._standard_1ndou_39:after{top:4px;left:8px}._checkbox_1ndou_1:indeterminate._small_1ndou_51:after{top:0;left:4px}._checkbox_1ndou_1:indeterminate:disabled:after{--current-checkbox-icon-color: var(--swui-checkbox-disabled-icon-color)}._checkbox_1ndou_1:hover:not(:checked):not(:disabled){--current-border-color: var(--swui-checkbox-border-hover-color)}._checkbox_1ndou_1:focus-visible{outline:var(--swui-focus-outline)}._checkbox_1ndou_1+label{font-size:1.4rem;line-height:var(--swui-checkbox-height);display:inline-block;vertical-align:top;cursor:pointer;margin-left:4px}._radiobutton_foy83_1{--swui-radiobutton-size-standard: var(--swui-field-box-size-medium);--swui-radiobutton-size-small: var(--swui-field-box-size-small);--swui-radiobutton-animation-time: var(--swui-animation-time-medium);--swui-radiobutton-icon-color: var(--swui-field-indicator-active-color);--swui-radiobutton-disabled-icon-color: var(--swui-field-text-color-disabled);--swui-radiobutton-unchecked-icon-color: var( --swui-field-indicator-inactive-color );--swui-radiobutton-checked-bg-color: var(--lhds-color-blue-500);--swui-radiobutton-checked-disabled-bg-color: var(--swui-field-bg-disabled);--swui-radiobutton-unchecked-bg-color: var(--swui-white);--swui-radiobutton-unchecked-disabled-bg-color: var(--swui-field-bg-disabled);--swui-radiobutton-unchecked-border-color: var(--swui-field-border-color);--swui-radiobutton-unchecked-hover-border-color: var( --swui-field-border-color-hover );--swui-radiobutton-disabled-border-color: var( --swui-radiobutton-checked-disabled-bg-color );-webkit-appearance:none;-moz-appearance:none;outline:none;display:inline-block;vertical-align:top;position:relative;margin:0;flex:none;cursor:pointer;border:1px solid var(--current-border-color, var(--swui-radiobutton-unchecked-border-color));border-radius:50%;background:var( --current-bg-color, var(--swui-radiobutton-unchecked-bg-color) );transition:background var(--swui-radiobutton-animation-time),border-color var(--swui-radiobutton-animation-time)}._radiobutton_foy83_1._standard_foy83_45{height:var(--swui-radiobutton-size-standard);width:var(--swui-radiobutton-size-standard)}._radiobutton_foy83_1._standard_foy83_45:after{left:7px;top:7px}._radiobutton_foy83_1._small_foy83_55{height:var(--swui-radiobutton-size-small);width:var(--swui-radiobutton-size-small)}._radiobutton_foy83_1._small_foy83_55:after{left:3px;top:3px}._radiobutton_foy83_1:after{content:"";display:block;position:absolute;transition:opacity var(--current-opacity-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease),-webkit-transform var(--current-transform-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease);transition:transform var(--current-transform-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease),opacity var(--current-opacity-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease);transition:transform var(--current-transform-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease),opacity var(--current-opacity-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease),-webkit-transform var(--current-transform-time, var(--swui-radiobutton-animation-time)) var(--current-transform-type, ease);-webkit-transform:scale(var(--current-scale, 0));transform:scale(var(--current-scale, 0));width:8px;height:8px;border-radius:50%;background:var( --current-icon-color, var(--swui-radiobutton-unchecked-icon-color) );opacity:var(--current-opacity, 0)}._radiobutton_foy83_1:checked{--current-bg-color: var(--swui-radiobutton-checked-bg-color);--current-border-color: var(--swui-radiobutton-checked-bg-color);--current-opacity-time: var(--swui-radiobutton-animation-time);--current-transform-time: .6s;--current-transform-type: cubic-bezier(.2, .85, .32, 1.2);--current-opacity: 1;--current-scale: 1}._radiobutton_foy83_1:checked:after{--current-icon-color: var(--swui-radiobutton-icon-color)}._radiobutton_foy83_1:disabled{--current-bg-color: var(--swui-radiobutton-unchecked-disabled-bg-color);--current-border-color: var(--swui-radiobutton-disabled-border-color)}._radiobutton_foy83_1:disabled:checked{--current-bg-color: var(--swui-radiobutton-checked-disabled-bg-color)}._radiobutton_foy83_1:disabled:checked:after{--current-icon-color: var(--swui-radiobutton-disabled-icon-color)}._radiobutton_foy83_1:hover:not(:checked):not(:disabled){--current-border-color: var( --swui-radiobutton-unchecked-hover-border-color )}._radiobutton_foy83_1:focus-visible{outline:var(--swui-focus-outline)}._radiobutton_foy83_1+label{font-size:1.4rem;line-height:var(--swui-radiobutton-size-standard);display:inline-block;vertical-align:top;cursor:pointer;margin-left:4px}._radioButtonBox_1h0yy_1{--swui-radio-button-box-background: var(--lhds-color-ui-200);--swui-radio-button-box-background-danger: var(--snackskal-light);--swui-radio-button-box-border-color: var(--snackskal-light);--swui-radio-button-box-border-color-hover: var(--hav);--swui-radio-button-box-border-color-danger: var(--snackskal-light);--swui-radio-button-box-border-color-danger-hover: var(--lhds-color-red-500);--current-border-color: var(--swui-radio-button-box-border-color);box-sizing:border-box;background-color:var(--swui-radio-button-box-background);position:relative;border:1px solid var(--current-border-color);width:100%;border-radius:16px;padding:var(--swui-metrics-space);font-size:var(--swui-font-size-inputs);align-items:center;display:flex;cursor:pointer;outline:none}._radioButtonBox_1h0yy_1:hover{--current-border-color: var(--swui-radio-button-box-border-color-hover)}._radioButtonBox_1h0yy_1._danger_1h0yy_29{background-color:var(--swui-radio-button-box-background-danger);--current-border-color: var(--swui-radio-button-box-border-color-danger)}._radioButtonBox_1h0yy_1._danger_1h0yy_29:hover{--current-border-color: var( --swui-radio-button-box-border-color-danger-hover )}@media (max-width: 768px){._radioButtonWrapper_1h0yy_42{width:100%}}._textInput_axgdw_1{display:flex;height:36px;width:100%;align-items:center;background:var(--swui-field-bg-enabled);border:1px solid var(--swui-field-border-color);border-radius:var(--swui-field-border-radius);outline:none}._textInput_axgdw_1._textInput_axgdw_1:focus-within:not(._disabled_axgdw_11){outline:var(--swui-focus-outline);border-color:transparent}._textInput_axgdw_1 ._input_axgdw_16{letter-spacing:var(--swui-field-letter-spacing);line-height:var(--swui-field-text-line-height);width:100%;padding:2px var(--swui-metrics-indent);color:var(--swui-field-text-color);font-size:var(--swui-font-size-inputs);font-family:var(--swui-font-input);font-weight:var(--swui-font-weight-inputs);background:var(--swui-hidden);border:none;min-width:0;margin:0;outline:none}._textInput_axgdw_1 ._input_axgdw_16:disabled{color:var(--swui-field-text-color-disabled)}._textInput_axgdw_1 ._input_axgdw_16::-webkit-input-placeholder{color:var(--swui-field-placeholder-color);font-weight:var(--swui-field-placeholder-font-weight)}._textInput_axgdw_1 ._input_axgdw_16::placeholder{color:var(--swui-field-placeholder-color);font-weight:var(--swui-field-placeholder-font-weight)}._textInput_axgdw_1 ._input_axgdw_16:focus::-webkit-input-placeholder{opacity:0}._textInput_axgdw_1 ._input_axgdw_16:focus::placeholder{opacity:0}._textInput_axgdw_1 ._input_axgdw_16::-webkit-calendar-picker-indicator{display:none}._textInput_axgdw_1 ._icon_axgdw_49{transition:color var(--swui-animation-time-medium);color:var(--swui-field-icon-color);font-size:var(--swui-field-icon-size)}._textInput_axgdw_1._standard_axgdw_59:hover:not(:focus-within):not(._disabled_axgdw_11),._textInput_axgdw_1._success_axgdw_60:hover:not(:focus-within):not(._disabled_axgdw_11){border-color:var(--swui-field-border-color-hover)}._textInput_axgdw_1._success_axgdw_60 ._icon_axgdw_49{color:var(--swui-state-success-color)}._textInput_axgdw_1._loading_axgdw_72{background:var(--swui-state-loading-light-color);border-color:var(--swui-state-loading-color)}._textInput_axgdw_1._modified_axgdw_77{background:var(--swui-state-modified-light-color);border-color:var(--swui-state-modified-light-color)}._textInput_axgdw_1._modified_axgdw_77 ._icon_axgdw_49{color:var(--lhds-color-blue-300)}._textInput_axgdw_1._error_axgdw_86{background:var(--swui-state-error-light-color);border-color:var(--swui-state-error-light-color)}._textInput_axgdw_1._error_axgdw_86 ._icon_axgdw_49{color:var(--swui-state-error-light-color)}._textInput_axgdw_1._warning_axgdw_95{background:var(--swui-state-alert-light-color);border-color:var(--swui-state-alert-light-color)}._textInput_axgdw_1._warning_axgdw_95 ._icon_axgdw_49{color:var(--swui-state-alert-light-color)}._textInput_axgdw_1._disabled_axgdw_11{background:var(--swui-field-bg-disabled);border-color:var(--swui-field-bg-disabled)}._textInput_axgdw_1._textInput_axgdw_1._hideBorder_axgdw_109{border:none;box-shadow:none;background:none;outline:none}._textInput_axgdw_1 ._clickable_axgdw_116:hover{cursor:pointer}._textInput_axgdw_1 ._clickable_axgdw_116:hover ._icon_axgdw_49{color:var(--swui-primary-action-color)}._numericTextInputInput_1tnr6_1{-moz-appearance:textfield}._numericTextInputInput_1tnr6_1::-webkit-outer-spin-button,._numericTextInputInput_1tnr6_1::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}._textInputButton_t6d0j_1{border:none;outline:none;width:30px;height:30px;display:flex;border-radius:var(--swui-border-radius-small);justify-content:center;align-items:center;background:transparent;cursor:pointer}._textInputButton_t6d0j_1._normal_t6d0j_13:hover{background:var(--himmel-lighter)}._textInputButton_t6d0j_1._normal_t6d0j_13:active{background:var(--himmel)}._textInputButton_t6d0j_1._normal_t6d0j_13 ._icon_t6d0j_22{color:var(--core-blue)}._textInputButton_t6d0j_1._error_t6d0j_27:hover{background:var(--snackskal-light)}._textInputButton_t6d0j_1._error_t6d0j_27:active{background:var(--snackskal)}._textInputButton_t6d0j_1._error_t6d0j_27 ._icon_t6d0j_22{color:var(--modern-red)}._textInputButton_t6d0j_1:focus-visible{outline:var(--swui-focus-outline)}._labelledSelect_1evxo_1{border:1px solid var(--swui-field-border-color);border-radius:var(--swui-border-radius-large);position:relative;overflow:hidden;cursor:pointer}._labelledSelect_1evxo_1._labelledSelect_1evxo_1._onlyTopBorder_1evxo_8{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:transparent}._labelledSelect_1evxo_1._onlyBottomBorder_1evxo_14{border-top-left-radius:0;border-top-right-radius:0}._labelledSelect_1evxo_1._error_1evxo_19{border-color:var(--snackskal);background-color:var(--snackskal)}._labelledSelect_1evxo_1._normal_1evxo_24{border-color:var(--swui-field-border-color);background-color:var(--moln)}._labelledSelect_1evxo_1._labelledSelect_1evxo_1:focus-within{border-color:var(--swui-field-border-color-hover);outline:var(--swui-focus-outline);outline-offset:0;z-index:10}._labelledSelect_1evxo_1._labelledSelect_1evxo_1:hover{border-color:var(--swui-field-border-color-hover)}._labelledSelect_1evxo_1 ._label_1evxo_1{display:flex;position:absolute;top:var(--swui-metrics-space);left:calc(var(--swui-metrics-space) * 2);cursor:pointer}._labelledSelect_1evxo_1 ._select_1evxo_48{color:var(--swui-text-primary-color);display:block;margin:0;width:100%;-webkit-appearance:none;appearance:none;border:none;outline:none;font-size:var(--swui-font-size-inputs-large);line-height:1.5;box-sizing:border-box;cursor:pointer;padding:calc(var(--swui-metrics-space) * 5) calc(var(--swui-metrics-space) * 8) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 2)}._labelledSelect_1evxo_1 ._select_1evxo_48._error_1evxo_19{background-color:var(--snackskal)}._labelledSelect_1evxo_1 ._select_1evxo_48._normal_1evxo_24{background-color:var(--moln)}._labelledSelect_1evxo_1 ._iconWrapper_1evxo_73{border-radius:var(--swui-max-border-radius);width:40px;height:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:absolute;top:0;bottom:0;right:calc(var(--swui-metrics-space) * 2);margin-top:auto;margin-bottom:auto;padding:0;background:var(--silver-lighter);pointer-events:none}._labelledTextInput_lnht8_1{position:relative;background:var(--moln);overflow:hidden;cursor:text;border:1px solid var(--silver-light);border-radius:var(--swui-border-radius)}._labelledTextInput_lnht8_1 input{outline:none;border:none;margin:0;color:var(--swui-text-primary-color);background-color:transparent;line-height:var(--swui-line-height);width:100%;box-sizing:border-box;cursor:text}._labelledTextInput_lnht8_1._labelledTextInput_lnht8_1._onlyTop_lnht8_21{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:transparent}._labelledTextInput_lnht8_1._labelledTextInput_lnht8_1._onlyBottom_lnht8_27{border-top-left-radius:0;border-top-right-radius:0}._labelledTextInput_lnht8_1:focus-within{outline:var(--swui-focus-outline);outline-offset:-1px;border-color:transparent}._labelledTextInput_lnht8_1:hover:not(:focus-within){border-color:var(--hav)}._labelledTextInput_lnht8_1._disabled_lnht8_42{background-color:var(--silver-lighter)}._labelledTextInput_lnht8_1._disabled_lnht8_42 input{color:var(--silver)}._labelledTextInput_lnht8_1._medium_lnht8_50:focus-within{outline-width:2px}._labelledTextInput_lnht8_1._medium_lnht8_50 input{font-size:var(--swui-font-size-inputs);padding:calc(var(--swui-metrics-space) * 4) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 1)}._labelledTextInput_lnht8_1._large_lnht8_62{border-radius:var(--swui-border-radius-large)}._labelledTextInput_lnht8_1._large_lnht8_62:focus-within{outline-width:3px}._labelledTextInput_lnht8_1._large_lnht8_62 input{font-size:var(--swui-font-size-inputs-large);padding:calc(var(--swui-metrics-space) * 5) calc(var(--swui-metrics-space) * 2) calc(var(--swui-metrics-space) * 2)}._labelledTextInput_lnht8_1._error_lnht8_76{border-color:var(--swui-state-error-light-color)}._labelledTextInput_lnht8_1._error_lnht8_76:hover:not(:focus-within){border-color:var(--modern-red)}._labelledTextInput_lnht8_1._error_lnht8_76 input{background-color:var(--swui-state-error-light-color)}._labelledTextInput_lnht8_1 label{display:flex;position:absolute;top:var(--swui-metrics-space);left:calc(var(--swui-metrics-space) * 2);cursor:text}._textArea_6n6nc_1{--swui-textarea-text-color: var(--swui-field-text-color);--swui-textarea-text-color-disabled: var(--swui-field-text-color-disabled);--swui-textarea-letter-spacing: var(--swui-field-letter-spacing);--swui-textarea-line-height: var(--swui-field-text-line-height);--swui-textarea-indent: var(--swui-metrics-indent);--swui-textarea-font-size: var(--swui-font-size-inputs);--swui-textarea-font-family: var(--swui-font-input);--swui-textarea-font-weight: var(--swui-font-weight-inputs);--swui-textarea-placeholder-color: var(--swui-text-disabled-color);--swui-textarea-animation-time: var(--swui-animation-time-medium);--swui-textarea-icon-color: var(--swui-field-border-color-disabled);--swui-textarea-icon-size: var(--swui-field-icon-size);--swui-textarea-icon-color-success: var(--swui-state-success-color);--swui-textarea-bg-loading: var(--swui-state-loading-light-color);--swui-textarea-border-color-loading: var(--swui-state-loading-color);--swui-textarea-bg-modified: var(--swui-state-modified-light-color);--swui-textarea-border-color-modified: var(--swui-state-modified-color);--swui-textarea-bg-warning: var(--swui-state-alert-light-color);--swui-textarea-border-color-warning: var(--swui-state-alert-color);--swui-textarea-bg-error: var(--swui-state-error-light-color);--swui-textarea-border-color-error: var(--swui-state-error-color);--swui-textarea-bg-color: var(--swui-field-bg-enabled);--swui-textarea-bg-color-disabled: var(--swui-field-bg-disabled);--swui-textarea-border-radius: var(--swui-field-border-radius);--swui-textarea-border-color: var(--swui-field-border-color);--swui-textarea-border-color-hover: var(--swui-field-border-color-hover);--swui-textarea-border-color-disabled: var( --swui-field-border-color-disabled );max-width:100%;letter-spacing:var(--swui-textarea-letter-spacing);line-height:var(--swui-textarea-line-height);padding:2px var(--swui-textarea-indent);color:var(--swui-textarea-text-color);font-size:var(--swui-textarea-font-size);font-family:var(--swui-textarea-font-family);font-weight:var(--swui-textarea-font-weight);background:var(--current-bg, var(--swui-textarea-bg-color));border:1px solid var(--current-border-color, var(--swui-textarea-border-color));border-radius:var(--swui-textarea-border-radius);transition:border var(--swui-textarea-animation-time);--current-icon-color: var(--swui-textarea-icon-color)}._textArea_6n6nc_1:focus:not(:focus-visible){outline:none}._textArea_6n6nc_1:focus{--current-border-color: var(--swui-textarea-border-color-hover);--current-bg: var(--swui-textarea-bg-color)}._textArea_6n6nc_1:focus-visible{outline:var(--swui-focus-outline)}._textArea_6n6nc_1:disabled{color:var(--swui-textarea-text-color-disabled);--current-bg: var(--swui-textarea-bg-color-disabled);--current-border-color: var(--swui-textarea-border-color-disabled)}')),document.head.appendChild(r)}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
- import { jsx as o, jsxs as m, Fragment as N } from "react/jsx-runtime";
2
+ import { jsx as o, jsxs as m, Fragment as S } from "react/jsx-runtime";
3
3
  import { Box as ft, Space as y, Text as v, Row as k, ScreenReaderOnlyText as O, parseFloatElseUndefined as j, getDataProps as mt } from "@stenajs-webui/core";
4
4
  import * as xt from "react";
5
5
  import { forwardRef as P, useRef as U, useCallback as I, useEffect as D, useMemo as ht, useState as bt, useId as E } from "react";
@@ -7,27 +7,27 @@ import h from "classnames";
7
7
  import { Icon as F, stenaCheck as G, stenaExclamationTriangle as X, InputSpinner as q, UpDownButtons as yt, stenaEyeShow as wt, stenaEyeHide as It, stenaAngleDown as gt } from "@stenajs-webui/elements";
8
8
  import { FontAwesomeIcon as Bt } from "@fortawesome/react-fontawesome";
9
9
  import { cssColor as J } from "@stenajs-webui/theme";
10
- const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", St = "_checked_1d6s8_75", R = {
10
+ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", Nt = "_checked_1d6s8_75", R = {
11
11
  switch: "_switch_1d6s8_1",
12
12
  knob: Tt,
13
13
  filler: kt,
14
- checked: St
15
- }, Nt = `${R.switch} ${R.checked}`, Rt = ({
14
+ checked: Nt
15
+ }, St = `${R.switch} ${R.checked}`, Rt = ({
16
16
  value: t,
17
17
  disabled: e,
18
- onValueChange: r,
19
- className: n,
18
+ onValueChange: n,
19
+ className: r,
20
20
  wrapperRef: c,
21
21
  ...s
22
- }) => /* @__PURE__ */ o("div", { className: n, ref: c, children: /* @__PURE__ */ m(
22
+ }) => /* @__PURE__ */ o("div", { className: r, ref: c, children: /* @__PURE__ */ m(
23
23
  "button",
24
24
  {
25
25
  type: "button",
26
26
  role: "switch",
27
27
  "aria-checked": t,
28
- className: t ? Nt : R.switch,
28
+ className: t ? St : R.switch,
29
29
  disabled: e,
30
- onClick: () => r && r(!t),
30
+ onClick: () => n && n(!t),
31
31
  ...s,
32
32
  children: [
33
33
  /* @__PURE__ */ o("div", { className: R.filler }),
@@ -37,13 +37,13 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", St = "_checked_1d6s8_75",
37
37
  ) }), je = ({
38
38
  label: t,
39
39
  disabled: e,
40
- textColor: r,
41
- wrapperRef: n,
40
+ textColor: n,
41
+ wrapperRef: r,
42
42
  ...c
43
- }) => /* @__PURE__ */ o("div", { ref: n, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ m(ft, { row: !0, alignItems: "center", children: [
43
+ }) => /* @__PURE__ */ o("div", { ref: r, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ m(ft, { row: !0, alignItems: "center", children: [
44
44
  /* @__PURE__ */ o(Rt, { disabled: e, ...c }),
45
45
  /* @__PURE__ */ o(y, {}),
46
- /* @__PURE__ */ o(v, { userSelect: "none", color: r, children: t })
46
+ /* @__PURE__ */ o(v, { userSelect: "none", color: n, children: t })
47
47
  ] }) }) }), vt = "_checkbox_1ndou_1", $t = "_standard_1ndou_39", At = "_small_1ndou_51", K = {
48
48
  checkbox: vt,
49
49
  standard: $t,
@@ -52,19 +52,19 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", St = "_checked_1d6s8_75",
52
52
  ({
53
53
  indeterminate: t = !1,
54
54
  onChange: e,
55
- onValueChange: r,
56
- value: n = !1,
55
+ onValueChange: n,
56
+ value: r = !1,
57
57
  size: c = "standard",
58
58
  className: s,
59
59
  ...l
60
- }, d) => {
61
- const i = U(), f = (_) => {
62
- i.current = _, i.current && (i.current.indeterminate = Boolean(t)), d && (typeof d == "function" ? d(_) : d.current = _);
60
+ }, a) => {
61
+ const i = U(), f = (u) => {
62
+ i.current = u, i.current && (i.current.indeterminate = Boolean(t)), a && (typeof a == "function" ? a(u) : a.current = u);
63
63
  }, p = I(
64
- (_) => {
65
- e && e(_), r && r(_.target.checked);
64
+ (u) => {
65
+ e && e(u), n && n(u.target.checked);
66
66
  },
67
- [e, r]
67
+ [e, n]
68
68
  );
69
69
  return D(() => {
70
70
  i.current && (i.current.indeterminate = Boolean(t));
@@ -73,7 +73,7 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", St = "_checked_1d6s8_75",
73
73
  {
74
74
  type: "checkbox",
75
75
  className: h(K.checkbox, K[c], s),
76
- checked: n,
76
+ checked: r,
77
77
  onChange: p,
78
78
  ref: f,
79
79
  ...l
@@ -83,12 +83,12 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", St = "_checked_1d6s8_75",
83
83
  ), Pe = ({
84
84
  children: t,
85
85
  label: e,
86
- inputRef: r,
87
- wrapperRef: n,
86
+ inputRef: n,
87
+ wrapperRef: r,
88
88
  textColor: c,
89
89
  ...s
90
- }) => /* @__PURE__ */ o("div", { ref: n, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ m(k, { alignItems: "center", children: [
91
- /* @__PURE__ */ o(Ht, { ...s, ref: r }),
90
+ }) => /* @__PURE__ */ o("div", { ref: r, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ m(k, { alignItems: "center", children: [
91
+ /* @__PURE__ */ o(Ht, { ...s, ref: n }),
92
92
  /* @__PURE__ */ o(y, {}),
93
93
  e && /* @__PURE__ */ o(v, { userSelect: "none", color: c, children: e }),
94
94
  t
@@ -97,10 +97,10 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", St = "_checked_1d6s8_75",
97
97
  standard: jt,
98
98
  small: Pt
99
99
  }, Q = P(
100
- ({ onChange: t, onValueChange: e, size: r = "standard", name: n, ...c }, s) => {
100
+ ({ onChange: t, onValueChange: e, size: n = "standard", name: r, ...c }, s) => {
101
101
  const l = I(
102
- (d) => {
103
- t && t(d), e && e(d.target.value);
102
+ (a) => {
103
+ t && t(a), e && e(a.target.value);
104
104
  },
105
105
  [t, e]
106
106
  );
@@ -108,8 +108,8 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", St = "_checked_1d6s8_75",
108
108
  "input",
109
109
  {
110
110
  type: "radio",
111
- name: n,
112
- className: M.radiobutton + " " + M[r],
111
+ name: r,
112
+ className: M.radiobutton + " " + M[n],
113
113
  onChange: l,
114
114
  ref: s,
115
115
  ...c
@@ -123,61 +123,62 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", St = "_checked_1d6s8_75",
123
123
  }, Ue = ({
124
124
  label: t,
125
125
  screenReaderLabel: e,
126
- variant: r = "normal",
127
- icon: n,
126
+ variant: n = "normal",
127
+ icon: r,
128
128
  className: c,
129
129
  style: s,
130
- ...l
130
+ radioButtonClassName: l,
131
+ ...a
131
132
  }) => /* @__PURE__ */ o(
132
133
  "label",
133
134
  {
134
- className: h(z.radioButtonBox, z[r], c),
135
+ className: h(z.radioButtonBox, z[n], c),
135
136
  style: s,
136
137
  children: /* @__PURE__ */ m(k, { justifyContent: "space-between", flexGrow: 1, children: [
137
138
  /* @__PURE__ */ m(k, { alignItems: "center", children: [
138
- /* @__PURE__ */ o(Q, { ...l }),
139
+ /* @__PURE__ */ o(Q, { ...a, className: l }),
139
140
  /* @__PURE__ */ o(y, {}),
140
141
  e ? /* @__PURE__ */ o(O, { children: e }) : null,
141
142
  /* @__PURE__ */ o(v, { "aria-hidden": Boolean(e), children: t })
142
143
  ] }),
143
- /* @__PURE__ */ o(k, { alignItems: "center", width: "48px", justifyContent: "center", children: n && /* @__PURE__ */ o(F, { icon: n, size: 24 }) })
144
+ /* @__PURE__ */ o(k, { alignItems: "center", width: "48px", justifyContent: "center", children: r && /* @__PURE__ */ o(F, { icon: r, size: 24 }) })
144
145
  ] })
145
146
  }
146
147
  ), Fe = ({
147
148
  label: t,
148
149
  inputRef: e,
149
- wrapperRef: r,
150
- textColor: n,
150
+ wrapperRef: n,
151
+ textColor: r,
151
152
  ...c
152
- }) => /* @__PURE__ */ o("div", { ref: r, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ m(k, { alignItems: "center", children: [
153
+ }) => /* @__PURE__ */ o("div", { ref: n, children: /* @__PURE__ */ o("label", { children: /* @__PURE__ */ m(k, { alignItems: "center", children: [
153
154
  /* @__PURE__ */ o(Q, { ref: e, ...c }),
154
155
  /* @__PURE__ */ o(y, {}),
155
- /* @__PURE__ */ o(v, { color: n, userSelect: "none", children: t })
156
- ] }) }) }), Kt = (t, e, r, n, c, s, l, d) => {
157
- const i = U(!1), f = (a) => {
158
- var u;
159
- i.current || s == null || s((u = a.target.value) != null ? u : ""), l == null || l(a);
160
- }, p = (a) => {
161
- i.current = !1, d == null || d(a);
156
+ /* @__PURE__ */ o(v, { color: r, userSelect: "none", children: t })
157
+ ] }) }) }), Kt = (t, e, n, r, c, s, l, a) => {
158
+ const i = U(!1), f = (d) => {
159
+ var _;
160
+ i.current || s == null || s((_ = d.target.value) != null ? _ : ""), l == null || l(d);
161
+ }, p = (d) => {
162
+ i.current = !1, a == null || a(d);
162
163
  };
163
164
  return {
164
165
  onKeyDownHandler: I(
165
- (a) => {
166
+ (d) => {
166
167
  var b;
167
- const { key: u } = a;
168
- if (u === "Enter")
169
- i.current = !0, r == null || r(), s == null || s((b = a.currentTarget.value) != null ? b : "");
170
- else if (u === "Escape")
171
- i.current = !0, n == null || n(), a.preventDefault(), a.stopPropagation();
168
+ const { key: _ } = d;
169
+ if (_ === "Enter")
170
+ i.current = !0, n == null || n(), s == null || s((b = d.currentTarget.value) != null ? b : "");
171
+ else if (_ === "Escape")
172
+ i.current = !0, r == null || r(), d.preventDefault(), d.stopPropagation();
172
173
  else if (c) {
173
174
  const x = (g, B) => {
174
175
  i.current = !0, t.current.blur(), c(g), B.preventDefault(), B.stopPropagation();
175
176
  };
176
- a.shiftKey && u === "Tab" ? x("left", a) : u === "Tab" ? x("right", a) : u === "ArrowUp" ? x("up", a) : u === "ArrowDown" ? x("down", a) : u === "ArrowRight" ? t.current.value.length === t.current.selectionStart && x("right", a) : u === "ArrowLeft" && t.current.selectionStart === 0 && x("left", a);
177
+ d.shiftKey && _ === "Tab" ? x("left", d) : _ === "Tab" ? x("right", d) : _ === "ArrowUp" ? x("up", d) : _ === "ArrowDown" ? x("down", d) : _ === "ArrowRight" ? t.current.value.length === t.current.selectionStart && x("right", d) : _ === "ArrowLeft" && t.current.selectionStart === 0 && x("left", d);
177
178
  }
178
- e && e(a);
179
+ e && e(d);
179
180
  },
180
- [n, c, e, t, r, s]
181
+ [r, c, e, t, n, s]
181
182
  ),
182
183
  onBlurHandler: f,
183
184
  onFocusHandler: p
@@ -186,49 +187,49 @@ const Tt = "_knob_1d6s8_56", kt = "_filler_1d6s8_61", St = "_checked_1d6s8_75",
186
187
  function Mt(t) {
187
188
  return t.tagName === "TEXTAREA" || t.tagName === "INPUT" && (t.type === "text" || t.type === "search" || t.type === "url" || t.type === "tel" || t.type === "password");
188
189
  }
189
- const zt = (t, e, r) => {
190
+ const zt = (t, e, n) => {
190
191
  D(() => {
191
- !t.current || !Mt(t.current) || (r ? t.current.setSelectionRange(0, t.current.value.length) : e && t.current.setSelectionRange(
192
+ !t.current || !Mt(t.current) || (n ? t.current.setSelectionRange(0, t.current.value.length) : e && t.current.setSelectionRange(
192
193
  t.current.value.length,
193
194
  t.current.value.length
194
195
  ));
195
- }, [e, t, r]);
196
+ }, [e, t, n]);
196
197
  }, Ot = (t, {
197
198
  onEnter: e,
198
- onEsc: r,
199
- onChange: n,
199
+ onEsc: n,
200
+ onChange: r,
200
201
  onValueChange: c,
201
202
  selectAllOnMount: s,
202
203
  moveCursorToEndOnMount: l,
203
- onDone: d,
204
+ onDone: a,
204
205
  onMove: i,
205
206
  onFocus: f,
206
207
  onBlur: p,
207
- onKeyDown: _,
208
- autoFocus: a
208
+ onKeyDown: u,
209
+ autoFocus: d
209
210
  }) => {
210
211
  zt(t, !!l, !!s);
211
- const { onKeyDownHandler: u, onFocusHandler: b, onBlurHandler: x } = Kt(
212
+ const { onKeyDownHandler: _, onFocusHandler: b, onBlurHandler: x } = Kt(
212
213
  t,
213
- _,
214
+ u,
214
215
  e,
215
- r,
216
+ n,
216
217
  i,
217
- d,
218
+ a,
218
219
  p,
219
220
  f
220
221
  ), g = I(
221
222
  (B) => {
222
- n == null || n(B), c == null || c(B.target.value);
223
+ r == null || r(B), c == null || c(B.target.value);
223
224
  },
224
- [n, c]
225
+ [r, c]
225
226
  );
226
227
  return {
227
228
  onBlur: x,
228
229
  onChange: g,
229
230
  onFocus: b,
230
- onKeyDown: u,
231
- autoFocus: s || a
231
+ onKeyDown: _,
232
+ autoFocus: s || d
232
233
  };
233
234
  }, Dt = "_textInput_axgdw_1", Et = "_disabled_axgdw_11", Gt = "_input_axgdw_16", Xt = "_icon_axgdw_49", qt = "_standard_axgdw_59", Jt = "_success_axgdw_60", Qt = "_loading_axgdw_72", Yt = "_modified_axgdw_77", Zt = "_error_axgdw_86", Ct = "_warning_axgdw_95", Vt = "_hideBorder_axgdw_109", te = "_clickable_axgdw_116", w = {
234
235
  textInput: Dt,
@@ -246,46 +247,46 @@ const zt = (t, e, r) => {
246
247
  }, $ = ({
247
248
  button: t,
248
249
  icon: e,
249
- iconClassName: r,
250
- content: n,
250
+ iconClassName: n,
251
+ content: r,
251
252
  spaceOnLeft: c,
252
253
  spaceOnRight: s,
253
254
  disableContentPadding: l,
254
- disableContentPaddingLeft: d,
255
+ disableContentPaddingLeft: a,
255
256
  disableContentPaddingRight: i
256
- }) => !n && !e && !t ? null : t ? /* @__PURE__ */ m(N, { children: [
257
+ }) => !r && !e && !t ? null : t ? /* @__PURE__ */ m(S, { children: [
257
258
  c ? /* @__PURE__ */ o(y, { num: 0.25 }) : null,
258
259
  t,
259
260
  s ? /* @__PURE__ */ o(y, { num: 0.25 }) : null
260
- ] }) : n ? /* @__PURE__ */ m(N, { children: [
261
- c && !(l || d) ? /* @__PURE__ */ o(y, {}) : null,
262
- n || null,
261
+ ] }) : r ? /* @__PURE__ */ m(S, { children: [
262
+ c && !(l || a) ? /* @__PURE__ */ o(y, {}) : null,
263
+ r || null,
263
264
  s && !(l || i) ? /* @__PURE__ */ o(y, {}) : null
264
- ] }) : /* @__PURE__ */ m(N, { children: [
265
+ ] }) : /* @__PURE__ */ m(S, { children: [
265
266
  c ? /* @__PURE__ */ o(y, {}) : null,
266
267
  e && /* @__PURE__ */ o(
267
268
  Bt,
268
269
  {
269
270
  icon: e,
270
- className: h(w.icon, r)
271
+ className: h(w.icon, n)
271
272
  }
272
273
  ),
273
274
  s ? /* @__PURE__ */ o(y, {}) : null
274
275
  ] }), Y = (t) => {
275
276
  const {
276
277
  variant: e = "standard",
277
- inputRef: r,
278
- disabled: n,
278
+ inputRef: n,
279
+ disabled: r,
279
280
  className: c,
280
281
  buttonLeft: s,
281
282
  buttonRight: l,
282
- contentLeft: d,
283
+ contentLeft: a,
283
284
  contentRight: i,
284
285
  disableContentPadding: f,
285
286
  disableContentPaddingLeft: p,
286
- disableContentPaddingRight: _,
287
- iconLeft: a,
288
- iconRight: u,
287
+ disableContentPaddingRight: u,
288
+ iconLeft: d,
289
+ iconRight: _,
289
290
  moveCursorToEndOnMount: b,
290
291
  selectAllOnMount: x,
291
292
  autoFocus: g,
@@ -302,7 +303,7 @@ const zt = (t, e, r) => {
302
303
  onFocus: lt,
303
304
  onBlur: it,
304
305
  ...at
305
- } = t, dt = U(null), L = r != null ? r : dt, ut = Ot(L, {
306
+ } = t, dt = U(null), L = n != null ? n : dt, ut = Ot(L, {
306
307
  onEnter: et,
307
308
  onEsc: nt,
308
309
  onChange: ot,
@@ -315,7 +316,7 @@ const zt = (t, e, r) => {
315
316
  onBlur: it,
316
317
  onKeyDown: ct,
317
318
  autoFocus: g
318
- }), _t = e === "success" ? G : e === "warning" || e === "error" ? X : u, pt = e === "loading" ? /* @__PURE__ */ o(q, {}) : i;
319
+ }), _t = e === "success" ? G : e === "warning" || e === "error" ? X : _, pt = e === "loading" ? /* @__PURE__ */ o(q, {}) : i;
319
320
  return /* @__PURE__ */ m(
320
321
  "div",
321
322
  {
@@ -323,7 +324,7 @@ const zt = (t, e, r) => {
323
324
  w.textInput,
324
325
  w[e],
325
326
  {
326
- [w.disabled]: n
327
+ [w.disabled]: r
327
328
  },
328
329
  {
329
330
  [w.hideBorder]: st
@@ -335,11 +336,11 @@ const zt = (t, e, r) => {
335
336
  /* @__PURE__ */ o(
336
337
  $,
337
338
  {
338
- content: d,
339
+ content: a,
339
340
  disableContentPadding: f,
340
341
  disableContentPaddingLeft: p,
341
- disableContentPaddingRight: _,
342
- icon: a,
342
+ disableContentPaddingRight: u,
343
+ icon: d,
343
344
  spaceOnLeft: !0,
344
345
  button: s
345
346
  }
@@ -349,7 +350,7 @@ const zt = (t, e, r) => {
349
350
  {
350
351
  className: h(w.input, c),
351
352
  type: "text",
352
- disabled: n,
353
+ disabled: r,
353
354
  ref: L,
354
355
  autoFocus: g,
355
356
  ...at,
@@ -362,7 +363,7 @@ const zt = (t, e, r) => {
362
363
  content: pt,
363
364
  disableContentPadding: f,
364
365
  disableContentPaddingLeft: p,
365
- disableContentPaddingRight: _,
366
+ disableContentPaddingRight: u,
366
367
  icon: _t,
367
368
  spaceOnRight: !0,
368
369
  button: l
@@ -376,61 +377,61 @@ const zt = (t, e, r) => {
376
377
  }, re = ({
377
378
  onValueChange: t,
378
379
  value: e,
379
- numSteps: r,
380
- min: n,
380
+ numSteps: n,
381
+ min: r,
381
382
  max: c
382
383
  }) => {
383
384
  if (t)
384
385
  if (!e)
385
- t(String(H(r, n, c)));
386
+ t(String(H(n, r, c)));
386
387
  else {
387
- const l = (j(e) || 0) + r;
388
- t(String(H(l, n, c)));
388
+ const l = (j(e) || 0) + n;
389
+ t(String(H(l, r, c)));
389
390
  }
390
391
  }, oe = ({
391
392
  onValueChange: t,
392
393
  newValue: e,
393
- min: r,
394
- max: n
394
+ min: n,
395
+ max: r
395
396
  }) => {
396
397
  if (t)
397
398
  if (e === "")
398
399
  t("");
399
400
  else {
400
401
  const s = j(e) || 0;
401
- t(String(H(s, r, n)));
402
+ t(String(H(s, n, r)));
402
403
  }
403
- }, H = (t, e, r) => {
404
- let n = t;
405
- return e != null && (n = Math.max(e, n)), r != null && (n = Math.min(r, n)), n;
404
+ }, H = (t, e, n) => {
405
+ let r = t;
406
+ return e != null && (r = Math.max(e, r)), n != null && (r = Math.min(n, r)), r;
406
407
  }, Le = ({
407
408
  value: t,
408
409
  onValueChange: e,
409
- max: r,
410
- min: n,
410
+ max: n,
411
+ min: r,
411
412
  step: c = 1,
412
413
  contentRight: s,
413
414
  disabled: l,
414
- className: d,
415
+ className: a,
415
416
  hideButtons: i,
416
417
  ...f
417
418
  }) => {
418
419
  const p = I(
419
- (u) => {
420
- re({ onValueChange: e, value: t, numSteps: u, min: n, max: r });
420
+ (_) => {
421
+ re({ onValueChange: e, value: t, numSteps: _, min: r, max: n });
421
422
  },
422
- [t, r, n, e]
423
- ), _ = I(
424
- (u) => {
425
- oe({ onValueChange: e, newValue: u, min: n, max: r });
423
+ [t, n, r, e]
424
+ ), u = I(
425
+ (_) => {
426
+ oe({ onValueChange: e, newValue: _, min: r, max: n });
426
427
  },
427
- [r, n, e]
428
+ [n, r, e]
428
429
  );
429
430
  return /* @__PURE__ */ o(
430
431
  Y,
431
432
  {
432
- contentRight: i ? s : /* @__PURE__ */ m(N, { children: [
433
- s && /* @__PURE__ */ m(N, { children: [
433
+ contentRight: i ? s : /* @__PURE__ */ m(S, { children: [
434
+ s && /* @__PURE__ */ m(S, { children: [
434
435
  s,
435
436
  /* @__PURE__ */ o(y, {})
436
437
  ] }),
@@ -445,19 +446,19 @@ const zt = (t, e, r) => {
445
446
  )
446
447
  ] }),
447
448
  value: t,
448
- onValueChange: _,
449
+ onValueChange: u,
449
450
  disableContentPaddingRight: !i,
450
451
  type: "number",
451
- min: n,
452
- max: r,
452
+ min: r,
453
+ max: n,
453
454
  step: c,
454
- className: h(ne.numericTextInputInput, d),
455
+ className: h(ne.numericTextInputInput, a),
455
456
  disabled: l,
456
457
  ...f
457
458
  }
458
459
  );
459
460
  }, Ke = (t, e) => {
460
- const r = I(
461
+ const n = I(
461
462
  (c) => {
462
463
  if (e)
463
464
  if (!c)
@@ -468,10 +469,10 @@ const zt = (t, e, r) => {
468
469
  }
469
470
  },
470
471
  [e]
471
- ), n = ht(() => t === void 0 ? "" : String(t), [t]);
472
+ ), r = ht(() => t === void 0 ? "" : String(t), [t]);
472
473
  return {
473
- onValueChange: r,
474
- value: n
474
+ onValueChange: n,
475
+ value: r
475
476
  };
476
477
  }, ce = "_textInputButton_t6d0j_1", se = "_normal_t6d0j_13", le = "_icon_t6d0j_22", ie = "_error_t6d0j_27", A = {
477
478
  textInputButton: ce,
@@ -481,53 +482,53 @@ const zt = (t, e, r) => {
481
482
  }, W = ({
482
483
  variant: t = "normal",
483
484
  icon: e,
484
- className: r,
485
- ...n
485
+ className: n,
486
+ ...r
486
487
  }) => /* @__PURE__ */ o(
487
488
  "button",
488
489
  {
489
- ...n,
490
- className: h(A.textInputButton, A[t], r),
490
+ ...r,
491
+ className: h(A.textInputButton, A[t], n),
491
492
  children: /* @__PURE__ */ o(F, { icon: e, size: 20, className: A.icon })
492
493
  }
493
494
  ), Me = ({
494
495
  hiddenIcon: t = wt,
495
496
  visibleIcon: e = It,
496
- ...r
497
+ ...n
497
498
  }) => {
498
- const [n, c] = bt(!0);
499
+ const [r, c] = bt(!0);
499
500
  return /* @__PURE__ */ o(
500
501
  Y,
501
502
  {
502
503
  buttonRight: /* @__PURE__ */ o(
503
504
  W,
504
505
  {
505
- icon: n ? t : e,
506
+ icon: r ? t : e,
506
507
  onClick: () => c((s) => !s)
507
508
  }
508
509
  ),
509
- type: n ? "password" : "text",
510
- ...r
510
+ type: r ? "password" : "text",
511
+ ...n
511
512
  }
512
513
  );
513
514
  }, ae = ({
514
515
  disabled: t,
515
516
  text: e,
516
- ...r
517
+ ...n
517
518
  }) => /* @__PURE__ */ o(
518
519
  v,
519
520
  {
520
521
  variant: "bold",
521
522
  color: J(t ? "--silver" : "--tjara"),
522
523
  size: "small",
523
- ...mt(r),
524
+ ...mt(n),
524
525
  children: e
525
526
  }
526
527
  ), Z = ({
527
528
  htmlFor: t,
528
529
  screenReaderLabel: e,
529
- label: r,
530
- disabled: n,
530
+ label: n,
531
+ disabled: r,
531
532
  className: c
532
533
  }) => /* @__PURE__ */ m("label", { htmlFor: t, className: c, children: [
533
534
  e ? /* @__PURE__ */ o(O, { children: e }) : null,
@@ -535,8 +536,8 @@ const zt = (t, e, r) => {
535
536
  ae,
536
537
  {
537
538
  "aria-hidden": Boolean(e),
538
- text: r,
539
- disabled: n
539
+ text: n,
540
+ disabled: r
540
541
  }
541
542
  )
542
543
  ] }), de = "_labelledSelect_1evxo_1", ue = "_onlyTopBorder_1evxo_8", _e = "_onlyBottomBorder_1evxo_14", pe = "_error_1evxo_19", fe = "_normal_1evxo_24", me = "_label_1evxo_1", xe = "_select_1evxo_48", he = "_iconWrapper_1evxo_73", T = {
@@ -549,51 +550,48 @@ const zt = (t, e, r) => {
549
550
  select: xe,
550
551
  iconWrapper: he
551
552
  }, ze = ({
552
- id: t,
553
- name: e,
554
- value: r,
555
- onValueChange: n,
556
- label: c,
557
- screenReaderLabel: s,
558
- borderVariant: l = "normalBorder",
559
- variant: d = "normal",
560
- children: i,
561
- ...f
553
+ onChange: t,
554
+ onValueChange: e,
555
+ id: n,
556
+ label: r,
557
+ screenReaderLabel: c,
558
+ borderVariant: s = "normalBorder",
559
+ variant: l = "normal",
560
+ children: a,
561
+ ...i
562
562
  }) => {
563
- const p = E(), _ = t != null ? t : p, a = I(
564
- (u) => {
565
- a == null || a(u), n == null || n(u.target.value);
563
+ const f = E(), p = n != null ? n : f, u = I(
564
+ (d) => {
565
+ t == null || t(d), e == null || e(d.target.value);
566
566
  },
567
- [n]
567
+ [t, e]
568
568
  );
569
569
  return /* @__PURE__ */ m(
570
570
  "div",
571
571
  {
572
572
  className: h(
573
573
  T.labelledSelect,
574
- T[d],
575
- T[l]
574
+ T[l],
575
+ T[s]
576
576
  ),
577
577
  children: [
578
578
  /* @__PURE__ */ o(
579
579
  Z,
580
580
  {
581
- htmlFor: _,
581
+ htmlFor: p,
582
582
  className: T.label,
583
- label: c,
584
- screenReaderLabel: s
583
+ label: r,
584
+ screenReaderLabel: c
585
585
  }
586
586
  ),
587
587
  /* @__PURE__ */ o(
588
588
  "select",
589
589
  {
590
- className: h(T.select, T[d]),
591
- id: _,
592
- name: e,
593
- value: r,
594
- onChange: a,
595
- ...f,
596
- children: i
590
+ id: p,
591
+ onChange: u,
592
+ className: h(T.select, T[l]),
593
+ ...i,
594
+ children: a
597
595
  }
598
596
  ),
599
597
  /* @__PURE__ */ o("div", { className: h(T.iconWrapper), children: /* @__PURE__ */ o(
@@ -607,7 +605,7 @@ const zt = (t, e, r) => {
607
605
  ]
608
606
  }
609
607
  );
610
- }, be = "_labelledTextInput_lnht8_1", ye = "_onlyTop_lnht8_21", we = "_onlyBottom_lnht8_27", Ie = "_disabled_lnht8_42", ge = "_medium_lnht8_50", Be = "_large_lnht8_62", Te = "_error_lnht8_76", S = {
608
+ }, be = "_labelledTextInput_lnht8_1", ye = "_onlyTop_lnht8_21", we = "_onlyBottom_lnht8_27", Ie = "_disabled_lnht8_42", ge = "_medium_lnht8_50", Be = "_large_lnht8_62", Te = "_error_lnht8_76", N = {
611
609
  labelledTextInput: be,
612
610
  onlyTop: ye,
613
611
  onlyBottom: we,
@@ -619,18 +617,18 @@ const zt = (t, e, r) => {
619
617
  ({
620
618
  autoComplete: t = "off",
621
619
  label: e,
622
- id: r,
623
- screenReaderLabel: n,
620
+ id: n,
621
+ screenReaderLabel: r,
624
622
  size: c = "medium",
625
623
  value: s,
626
624
  onChange: l,
627
- disabled: d,
625
+ disabled: a,
628
626
  onValueChange: i,
629
627
  borderRadiusVariant: f = "normalBorder",
630
628
  variant: p = "normal",
631
- ..._
632
- }, a) => {
633
- const u = E(), b = r != null ? r : u, x = I(
629
+ ...u
630
+ }, d) => {
631
+ const _ = E(), b = n != null ? n : _, x = I(
634
632
  (g) => {
635
633
  l == null || l(g), i == null || i(g.target.value);
636
634
  },
@@ -640,32 +638,32 @@ const zt = (t, e, r) => {
640
638
  "div",
641
639
  {
642
640
  className: h(
643
- S.labelledTextInput,
644
- S[p],
645
- S[f],
646
- S[c],
647
- d && S.disabled
641
+ N.labelledTextInput,
642
+ N[p],
643
+ N[f],
644
+ N[c],
645
+ a && N.disabled
648
646
  ),
649
647
  children: [
650
648
  /* @__PURE__ */ o(
651
649
  Z,
652
650
  {
653
651
  htmlFor: b,
654
- screenReaderLabel: n,
652
+ screenReaderLabel: r,
655
653
  label: e
656
654
  }
657
655
  ),
658
656
  /* @__PURE__ */ o(
659
657
  "input",
660
658
  {
661
- ref: a,
659
+ ref: d,
662
660
  id: b,
663
661
  autoComplete: t,
664
662
  type: "text",
665
663
  value: s,
666
664
  onChange: x,
667
- disabled: d,
668
- ..._
665
+ disabled: a,
666
+ ...u
669
667
  }
670
668
  )
671
669
  ]
@@ -675,18 +673,18 @@ const zt = (t, e, r) => {
675
673
  ), De = ({
676
674
  variant: t = "standard",
677
675
  disabled: e,
678
- wrapperClassName: r,
679
- wrapperStyle: n,
676
+ wrapperClassName: n,
677
+ wrapperStyle: r,
680
678
  contentLeft: c,
681
679
  contentRight: s,
682
680
  disableContentPadding: l,
683
- disableContentPaddingLeft: d,
681
+ disableContentPaddingLeft: a,
684
682
  disableContentPaddingRight: i,
685
683
  iconRight: f,
686
684
  iconLeft: p,
687
- onClickLeft: _,
688
- onClickRight: a,
689
- children: u
685
+ onClickLeft: u,
686
+ onClickRight: d,
687
+ children: _
690
688
  }) => {
691
689
  const b = t === "success" ? G : t === "warning" || t === "error" ? X : f, x = t === "loading" ? /* @__PURE__ */ o(q, {}) : s;
692
690
  return /* @__PURE__ */ m(
@@ -699,63 +697,63 @@ const zt = (t, e, r) => {
699
697
  {
700
698
  [w.disabled]: e
701
699
  },
702
- r
700
+ n
703
701
  ),
704
- style: n,
702
+ style: r,
705
703
  children: [
706
704
  /* @__PURE__ */ o(
707
705
  $,
708
706
  {
709
707
  content: c,
710
708
  disableContentPadding: l,
711
- disableContentPaddingLeft: d,
709
+ disableContentPaddingLeft: a,
712
710
  disableContentPaddingRight: i,
713
711
  spaceOnLeft: !0,
714
- button: p ? /* @__PURE__ */ o(W, { onClick: _, icon: p }) : void 0
712
+ button: p ? /* @__PURE__ */ o(W, { onClick: u, icon: p }) : void 0
715
713
  }
716
714
  ),
717
- /* @__PURE__ */ o(k, { alignItems: "center", children: u }),
715
+ /* @__PURE__ */ o(k, { alignItems: "center", children: _ }),
718
716
  /* @__PURE__ */ o(
719
717
  $,
720
718
  {
721
719
  content: x,
722
720
  disableContentPadding: l,
723
- disableContentPaddingLeft: d,
721
+ disableContentPaddingLeft: a,
724
722
  disableContentPaddingRight: i,
725
723
  spaceOnRight: !0,
726
- button: b ? /* @__PURE__ */ o(W, { onClick: a, icon: b }) : void 0
724
+ button: b ? /* @__PURE__ */ o(W, { onClick: d, icon: b }) : void 0
727
725
  }
728
726
  )
729
727
  ]
730
728
  }
731
729
  );
732
- }, ke = "_textArea_6n6nc_1", Se = {
730
+ }, ke = "_textArea_6n6nc_1", Ne = {
733
731
  textArea: ke
734
732
  }, Ee = P(
735
733
  ({
736
734
  className: t,
737
735
  value: e,
738
- onValueChange: r,
739
- onChange: n,
736
+ onValueChange: n,
737
+ onChange: r,
740
738
  resize: c = "none",
741
739
  readOnly: s = !1,
742
740
  rows: l,
743
- disabled: d,
741
+ disabled: a,
744
742
  ...i
745
743
  }, f) => {
746
744
  const p = I(
747
- (_) => {
748
- n && n(_), r && r(_.target.value);
745
+ (u) => {
746
+ r && r(u), n && n(u.target.value);
749
747
  },
750
- [n, r]
748
+ [r, n]
751
749
  );
752
750
  return /* @__PURE__ */ o(
753
751
  "textarea",
754
752
  {
755
- disabled: d,
753
+ disabled: a,
756
754
  rows: l,
757
755
  readOnly: s,
758
- className: h(Se.textArea, t),
756
+ className: h(Ne.textArea, t),
759
757
  style: { resize: c },
760
758
  onChange: p,
761
759
  value: e,