@spark-ui/components 10.0.6 → 10.0.7
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [10.0.7](https://github.com/leboncoin/spark-web/compare/v10.0.6...v10.0.7) (2025-03-25)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **components:** removed inherited form-field require attr from combobox ([970c956](https://github.com/leboncoin/spark-web/commit/970c956b1212c30bc6561c232c5dcbbaff6e8cec))
|
|
11
|
+
|
|
6
12
|
## [10.0.6](https://github.com/leboncoin/spark-web/compare/v10.0.5...v10.0.6) (2025-03-25)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
package/dist/combobox/index.js
CHANGED
|
@@ -1910,7 +1910,7 @@ var Input = ({
|
|
|
1910
1910
|
const ctx = useComboboxContext();
|
|
1911
1911
|
const field = (0, import_form_field2.useFormFieldControl)();
|
|
1912
1912
|
const [inputValue] = (0, import_use_combined_state2.useCombinedState)(value, defaultValue);
|
|
1913
|
-
const { isInvalid,
|
|
1913
|
+
const { isInvalid, description } = field;
|
|
1914
1914
|
(0, import_react10.useEffect)(() => {
|
|
1915
1915
|
if (inputValue != null) {
|
|
1916
1916
|
ctx.setInputValue(inputValue);
|
|
@@ -1982,7 +1982,6 @@ var Input = ({
|
|
|
1982
1982
|
disabled: ctx.disabled,
|
|
1983
1983
|
readOnly: ctx.readOnly,
|
|
1984
1984
|
"aria-invalid": isInvalid,
|
|
1985
|
-
required: isRequired,
|
|
1986
1985
|
"aria-describedby": description
|
|
1987
1986
|
}
|
|
1988
1987
|
) })
|