@vincentgraul/react-components 1.0.57 → 1.0.58

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.
@@ -9,7 +9,10 @@ export type InputProps = Exclude<React.InputHTMLAttributes<HTMLInputElement>, "t
9
9
  width?: number;
10
10
  height?: number;
11
11
  borderWidth?: number;
12
- fontWeight?: number;
12
+ labelWeight?: 400 | 500 | 600 | 700 | 800 | 900;
13
+ labelSize?: number;
14
+ messageWeight?: 400 | 500 | 600 | 700 | 800 | 900;
15
+ messageSize?: number;
13
16
  className?: string;
14
17
  };
15
- export declare const Input: ({ className, label, message, colors, status, width, height, borderWidth, fontWeight, ...rest }: InputProps) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const Input: ({ className, label, message, colors, status, width, height, borderWidth, labelWeight, labelSize, messageWeight, messageSize, ...rest }: InputProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- ._container_1mzhz_1{display:flex;align-items:center;align-self:flex-start;margin:0 0 2rem 2rem}._link_1mzhz_8{color:#fff;font-size:2rem;text-decoration:none}._arrow_1mzhz_14{margin:0 1rem;width:1rem}._flag_1ci92_1{display:block;margin:auto;border-radius:2px}._container_8q4gc_1{position:relative;width:var(--width, 100%);height:var(--height, auto)}._input-container_8q4gc_7{display:inline-flex;align-items:center;position:relative;width:100%;height:100%}._input_8q4gc_7{width:100%;height:100%;padding:10px;border:0;background-color:transparent;outline:none;z-index:1;color:#000}._input_8q4gc_7:focus+._fieldset_8q4gc_25{border-width:2px}._input_8q4gc_7:focus+._fieldset_8q4gc_25:not(.success,.warning,.error){border-color:var(--focus-color, blue)}._fieldset_8q4gc_25{border:var(--border-width, 1px) solid black;border-radius:5px;position:absolute;inset:-8.5px 0 0;font-size:15px;margin:0}._fieldset_8q4gc_25.success{border-color:var(--success-color, green);color:var(--success-color, green)}._fieldset_8q4gc_25.warning{border-color:var(--warning-color, orange);color:var(--warning-color, orange)}._fieldset_8q4gc_25.error{border-color:var(--error-color, red);color:var(--error-color, red)}._legend_8q4gc_58{padding:0 5px;font-weight:var(--font-weight, 400)}._message-container_8q4gc_63{display:flex;align-items:center;gap:5px;margin-top:5px}._message_8q4gc_63{font-size:14px}._overlay_krtsr_1{position:fixed;inset:0;background-color:#000c;overflow-y:auto;z-index:2}._container_krtsr_12{position:absolute;top:50%;left:50%;width:50%;color:#f9fbff}._image-container_krtsr_20{display:flex;flex-flow:column;align-items:center;transform:translate(-50%)}@keyframes _loading_krtsr_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._image_krtsr_20{animation:_loading_krtsr_1 3s linear infinite;margin-bottom:2rem}._container_e4hb2_1{position:absolute;top:0;left:50%;transform:translate(-50%);background-color:#f9fbff;border-radius:.5rem;padding:1rem;z-index:1;margin:5rem 0}._overlay_e4hb2_13{position:fixed;inset:0;background-color:#00000080;overflow-y:auto;z-index:1}._container_12891_1{--hover-background-color: lightgrey;--hover-text-color: black;--selected-background-color: black;--selected-text-color: white;display:flex}._item_12891_10{border-style:solid;border-width:1px 1px 1px 0;padding:.5rem 1rem;display:flex;align-items:center;cursor:pointer}._item_12891_10:first-child{border-width:1px 1px 1px 1px}._item_12891_10:hover:not(._selected_12891_22){background-color:var(--hover-background-color);color:var(--hover-text-color)}._item_12891_10._selected_12891_22{background-color:var(--selected-background-color);color:var(--selected-text-color)}._container_1syfi_1{width:fit-content}._selected-option-container_1syfi_5{display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;padding:10px;background-color:#fff;border-radius:5px}._selected-option-text_1syfi_15{padding-right:10px;border-right:1px solid black}._selected-option-arrow_1syfi_20{width:15px;margin-left:10px}._options-list_1syfi_25{width:100%;list-style:none;padding:0;margin:10px 0 0;-webkit-user-select:none;user-select:none;background-color:#fff;border-radius:5px}._option_1syfi_25{padding:10px;cursor:pointer}._option_1syfi_25:hover{background-color:#ecf0f1}._option_1syfi_25:hover:first-child{border-radius:5px 5px 0 0}._option_1syfi_25:hover:last-child{border-radius:0 0 5px 5px}._option_1syfi_25:hover:only-child{border-radius:5px}._container_cds7q_1{display:flex;flex-flow:column}._main_cds7q_6{width:100%;table-layout:fixed;border-collapse:collapse}._tbody_cds7q_12{-webkit-user-select:text;user-select:text}._tbody_cds7q_12 tr:last-child{border:none}._th_cds7q_19{padding:2rem 1rem 1rem 0;word-wrap:break-word;white-space:nowrap}._tr_cds7q_25{text-align:center;border-bottom:2px solid black}._td_cds7q_30{padding:2rem 1rem 1rem 0;word-wrap:break-word}._container_1qatf_1{display:flex}._direction-row_1qatf_5{flex-direction:row}._direction-column_1qatf_9{flex-direction:column}._justify-start_1qatf_13{justify-content:start}._justify-center_1qatf_17{justify-content:center}._justify-end_1qatf_21{justify-content:end}._justify-space-between_1qatf_25{justify-content:space-between}._justify-space-around_1qatf_29{justify-content:space-around}._justify-space-evenly_1qatf_33{justify-content:space-evenly}._justify-stretch_1qatf_37{justify-content:stretch}._align-start_1qatf_41{align-items:start}._align-center_1qatf_45{align-items:center}._align-end_1qatf_49{align-items:end}._align-stretch_1qatf_53{align-items:stretch}._wrap-nowrap_1qatf_57{flex-wrap:nowrap}._wrap-wrap_1qatf_61{flex-wrap:wrap}._wrap-wrap-reverse_1qatf_65{flex-wrap:wrap-reverse}
1
+ ._container_1mzhz_1{display:flex;align-items:center;align-self:flex-start;margin:0 0 2rem 2rem}._link_1mzhz_8{color:#fff;font-size:2rem;text-decoration:none}._arrow_1mzhz_14{margin:0 1rem;width:1rem}._flag_1ci92_1{display:block;margin:auto;border-radius:2px}._container_jvmst_1{position:relative;width:var(--width, 100%);height:var(--height, auto)}._input-container_jvmst_7{display:inline-flex;align-items:center;position:relative;width:100%;height:100%}._input_jvmst_7{width:100%;height:100%;padding:10px;border:0;background-color:transparent;outline:none;z-index:1;color:#000}._input_jvmst_7:focus+._fieldset_jvmst_25{border-width:2px}._input_jvmst_7:focus+._fieldset_jvmst_25:not(.success,.warning,.error){border-color:var(--focus-color, blue)}._fieldset_jvmst_25{border:var(--border-width, 1px) solid black;border-radius:5px;position:absolute;inset:-8.5px 0 0;font-size:15px;margin:0}._fieldset_jvmst_25.success{border-color:var(--success-color, green);color:var(--success-color, green)}._fieldset_jvmst_25.warning{border-color:var(--warning-color, orange);color:var(--warning-color, orange)}._fieldset_jvmst_25.error{border-color:var(--error-color, red);color:var(--error-color, red)}._legend_jvmst_58{padding:0 5px;font-weight:var(--label-weight, 400);font-size:var(--label-size, 1rem)}._message-container_jvmst_64{display:flex;align-items:center;gap:5px;margin-top:5px}._message_jvmst_64{font-weight:var(--message-weight, 400);font-size:var(--message-size, 1rem)}._overlay_krtsr_1{position:fixed;inset:0;background-color:#000c;overflow-y:auto;z-index:2}._container_krtsr_12{position:absolute;top:50%;left:50%;width:50%;color:#f9fbff}._image-container_krtsr_20{display:flex;flex-flow:column;align-items:center;transform:translate(-50%)}@keyframes _loading_krtsr_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._image_krtsr_20{animation:_loading_krtsr_1 3s linear infinite;margin-bottom:2rem}._container_e4hb2_1{position:absolute;top:0;left:50%;transform:translate(-50%);background-color:#f9fbff;border-radius:.5rem;padding:1rem;z-index:1;margin:5rem 0}._overlay_e4hb2_13{position:fixed;inset:0;background-color:#00000080;overflow-y:auto;z-index:1}._container_12891_1{--hover-background-color: lightgrey;--hover-text-color: black;--selected-background-color: black;--selected-text-color: white;display:flex}._item_12891_10{border-style:solid;border-width:1px 1px 1px 0;padding:.5rem 1rem;display:flex;align-items:center;cursor:pointer}._item_12891_10:first-child{border-width:1px 1px 1px 1px}._item_12891_10:hover:not(._selected_12891_22){background-color:var(--hover-background-color);color:var(--hover-text-color)}._item_12891_10._selected_12891_22{background-color:var(--selected-background-color);color:var(--selected-text-color)}._container_1syfi_1{width:fit-content}._selected-option-container_1syfi_5{display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;padding:10px;background-color:#fff;border-radius:5px}._selected-option-text_1syfi_15{padding-right:10px;border-right:1px solid black}._selected-option-arrow_1syfi_20{width:15px;margin-left:10px}._options-list_1syfi_25{width:100%;list-style:none;padding:0;margin:10px 0 0;-webkit-user-select:none;user-select:none;background-color:#fff;border-radius:5px}._option_1syfi_25{padding:10px;cursor:pointer}._option_1syfi_25:hover{background-color:#ecf0f1}._option_1syfi_25:hover:first-child{border-radius:5px 5px 0 0}._option_1syfi_25:hover:last-child{border-radius:0 0 5px 5px}._option_1syfi_25:hover:only-child{border-radius:5px}._container_cds7q_1{display:flex;flex-flow:column}._main_cds7q_6{width:100%;table-layout:fixed;border-collapse:collapse}._tbody_cds7q_12{-webkit-user-select:text;user-select:text}._tbody_cds7q_12 tr:last-child{border:none}._th_cds7q_19{padding:2rem 1rem 1rem 0;word-wrap:break-word;white-space:nowrap}._tr_cds7q_25{text-align:center;border-bottom:2px solid black}._td_cds7q_30{padding:2rem 1rem 1rem 0;word-wrap:break-word}._container_1qatf_1{display:flex}._direction-row_1qatf_5{flex-direction:row}._direction-column_1qatf_9{flex-direction:column}._justify-start_1qatf_13{justify-content:start}._justify-center_1qatf_17{justify-content:center}._justify-end_1qatf_21{justify-content:end}._justify-space-between_1qatf_25{justify-content:space-between}._justify-space-around_1qatf_29{justify-content:space-around}._justify-space-evenly_1qatf_33{justify-content:space-evenly}._justify-stretch_1qatf_37{justify-content:stretch}._align-start_1qatf_41{align-items:start}._align-center_1qatf_45{align-items:center}._align-end_1qatf_49{align-items:end}._align-stretch_1qatf_53{align-items:stretch}._wrap-nowrap_1qatf_57{flex-wrap:nowrap}._wrap-wrap_1qatf_61{flex-wrap:wrap}._wrap-wrap-reverse_1qatf_65{flex-wrap:wrap-reverse}