next-helios-fe 1.4.32 → 1.4.33
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/package.json
CHANGED
@@ -127,6 +127,7 @@ export const Autocomplete: React.FC<AutocompleteProps> = ({
|
|
127
127
|
type="text"
|
128
128
|
className={`w-full px-4 border-default border rounded-md bg-secondary-bg placeholder:duration-300 placeholder:translate-x-0 focus:placeholder:translate-x-1 placeholder:text-slate-300 focus:outline-none focus:ring-1 focus:ring-primary focus:shadow focus:shadow-primary focus:border-primary-dark disabled:bg-secondary-light disabled:text-slate-400 ${height}`}
|
129
129
|
placeholder={placeholder}
|
130
|
+
required={rest.required}
|
130
131
|
disabled={rest.disabled}
|
131
132
|
value={
|
132
133
|
menus.find((item) => item.value === tempValue)
|
@@ -127,6 +127,7 @@ export const Select: React.FC<SelectProps> = ({
|
|
127
127
|
type="text"
|
128
128
|
className={`w-full px-4 border-default border rounded-md bg-secondary-bg cursor-pointer caret-transparent placeholder:duration-300 placeholder:translate-x-0 focus:placeholder:translate-x-1 placeholder:text-slate-300 focus:outline-none focus:ring-1 focus:ring-primary focus:shadow focus:shadow-primary focus:border-primary-dark disabled:bg-secondary-light disabled:text-slate-400 disabled:cursor-default ${height}`}
|
129
129
|
placeholder={placeholder}
|
130
|
+
required={rest.required}
|
130
131
|
disabled={rest.disabled}
|
131
132
|
value={menus.find((item) => item.value === tempValue)?.label}
|
132
133
|
onClick={() => setOpenDropdown(true)}
|