@spark-ui/components 10.2.6 → 10.2.8
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,16 @@
|
|
|
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.2.8](https://github.com/leboncoin/spark-web/compare/v10.2.7...v10.2.8) (2025-04-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @spark-ui/components
|
|
9
|
+
|
|
10
|
+
## [10.2.7](https://github.com/leboncoin/spark-web/compare/v10.2.6...v10.2.7) (2025-04-24)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **components:** reverting combobox a11y to investigate why it impacts ARIA role in cypress env ([ac0e96d](https://github.com/leboncoin/spark-web/commit/ac0e96debb337c5f7e7a1ad19e48d04c035b3477))
|
|
15
|
+
|
|
6
16
|
## [10.2.6](https://github.com/leboncoin/spark-web/compare/v10.2.5...v10.2.6) (2025-04-23)
|
|
7
17
|
|
|
8
18
|
### Bug Fixes
|
|
@@ -148,7 +148,7 @@ declare const Disclosure: {
|
|
|
148
148
|
interface EmptyProps {
|
|
149
149
|
className?: string;
|
|
150
150
|
children: ReactNode;
|
|
151
|
-
ref?: Ref<
|
|
151
|
+
ref?: Ref<HTMLDivElement>;
|
|
152
152
|
}
|
|
153
153
|
declare const Empty: {
|
|
154
154
|
({ className, children, ref: forwardedRef }: EmptyProps): react_jsx_runtime.JSX.Element | null;
|
package/dist/combobox/index.d.ts
CHANGED
|
@@ -148,7 +148,7 @@ declare const Disclosure: {
|
|
|
148
148
|
interface EmptyProps {
|
|
149
149
|
className?: string;
|
|
150
150
|
children: ReactNode;
|
|
151
|
-
ref?: Ref<
|
|
151
|
+
ref?: Ref<HTMLDivElement>;
|
|
152
152
|
}
|
|
153
153
|
declare const Empty: {
|
|
154
154
|
({ className, children, ref: forwardedRef }: EmptyProps): react_jsx_runtime.JSX.Element | null;
|
package/dist/combobox/index.js
CHANGED
|
@@ -1836,11 +1836,9 @@ var Empty = ({ className, children, ref: forwardedRef }) => {
|
|
|
1836
1836
|
const ctx = useComboboxContext();
|
|
1837
1837
|
const hasNoItemVisible = ctx.filteredItemsMap.size === 0;
|
|
1838
1838
|
return hasNoItemVisible ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1839
|
-
"
|
|
1839
|
+
"div",
|
|
1840
1840
|
{
|
|
1841
1841
|
ref: forwardedRef,
|
|
1842
|
-
role: "option",
|
|
1843
|
-
"aria-selected": false,
|
|
1844
1842
|
className: (0, import_class_variance_authority12.cx)("px-lg py-md text-body-1 text-on-surface/dim-1", className),
|
|
1845
1843
|
children
|
|
1846
1844
|
}
|
|
@@ -1929,8 +1927,7 @@ var Input = ({
|
|
|
1929
1927
|
const PopoverTrigger = ctx.hasPopover ? Popover2.Trigger : import_react10.Fragment;
|
|
1930
1928
|
const popoverTriggerProps = ctx.hasPopover ? {
|
|
1931
1929
|
asChild: true,
|
|
1932
|
-
type: void 0
|
|
1933
|
-
"aria-haspopup": void 0
|
|
1930
|
+
type: void 0
|
|
1934
1931
|
} : {};
|
|
1935
1932
|
const multiselectInputProps = ctx.getDropdownProps();
|
|
1936
1933
|
const inputRef = (0, import_use_merge_refs2.useMergeRefs)(forwardedRef, ctx.innerInputRef, multiselectInputProps.ref);
|