@nexub/react 8.6.0 → 8.7.0
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/accessibility.json +1 -1
- package/dist/components/Combobox/Combobox.js +1 -2
- package/dist/vendor/vaul.js +1 -1494
- package/package.json +6 -6
package/accessibility.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "8.
|
|
2
|
+
"version": "8.7.0",
|
|
3
3
|
"standard": "WCAG 2.2 Level AA",
|
|
4
4
|
"method": {
|
|
5
5
|
"automated": "axe-core rules tagged wcag2a, wcag2aa, wcag21a, wcag21aa and wcag22aa, run on every Storybook story in light and dark, and on open popups (menus, listboxes, dialogs), on every pull request; a new violation fails the build.",
|
|
@@ -4,7 +4,6 @@ import * as React from "react";
|
|
|
4
4
|
import { Command } from "cmdk";
|
|
5
5
|
import { cn } from "../../utils/cn.js";
|
|
6
6
|
import { useNexubMessages } from "../NexubProvider/NexubProvider.js";
|
|
7
|
-
import { Spinner } from "../Spinner/Spinner.js";
|
|
8
7
|
function scrollWithinList(el) {
|
|
9
8
|
if (!el) return;
|
|
10
9
|
el.scrollIntoView = () => {
|
|
@@ -68,7 +67,7 @@ const List = React.forwardRef(
|
|
|
68
67
|
loading && // Not Command.Loading: its role="progressbar" isn't allowed inside a listbox
|
|
69
68
|
// (axe aria-required-children). The listbox's aria-busy carries the state.
|
|
70
69
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 px-2.5 py-2 text-body-sm text-[var(--color-on-surface-muted)]", children: [
|
|
71
|
-
/* @__PURE__ */ jsx(
|
|
70
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "inline-block h-4 w-4 animate-spin rounded-full border-2 border-solid border-[var(--color-on-surface-variant)] border-t-transparent" }),
|
|
72
71
|
messages.loading
|
|
73
72
|
] }),
|
|
74
73
|
children
|