@schemavaults/ui 0.15.0 → 0.16.2
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/dist/components/ui/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/components/ui/index.d.ts +2 -0
- package/dist/components/ui/index.js +1 -0
- package/dist/components/ui/index.js.map +1 -1
- package/dist/components/ui/loading-page/loading-page.d.ts +2 -1
- package/dist/components/ui/loading-page/loading-page.js +2 -1
- package/dist/components/ui/loading-page/loading-page.js.map +1 -1
- package/dist/components/ui/spinner/index.d.ts +2 -0
- package/dist/components/ui/spinner/index.js +2 -0
- package/dist/components/ui/spinner/index.js.map +1 -0
- package/dist/components/ui/spinner/spinner-variants.d.ts +4 -0
- package/dist/components/ui/spinner/spinner-variants.js +17 -0
- package/dist/components/ui/spinner/spinner-variants.js.map +1 -0
- package/dist/components/ui/spinner/spinner.d.ts +42 -0
- package/dist/components/ui/spinner/spinner.js +62 -0
- package/dist/components/ui/spinner/spinner.js.map +1 -0
- package/package.json +5 -3
|
@@ -3,7 +3,7 @@ import { type VariantProps } from "class-variance-authority";
|
|
|
3
3
|
import { type BreadcrumbSeparatorVariant, type BreadcrumbSize, type BreadcrumbVariant } from "./breadcrumb-variants";
|
|
4
4
|
declare const breadcrumbListVariants: (props?: ({
|
|
5
5
|
size?: "sm" | "default" | "lg" | null | undefined;
|
|
6
|
-
variant?: "default" | "ghost" | "
|
|
6
|
+
variant?: "default" | "ghost" | "primary" | "muted" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface BreadcrumbProps extends ComponentPropsWithoutRef<"nav"> {
|
|
9
9
|
separator?: BreadcrumbSeparatorVariant;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AAGzB,cAAc,aAAa,CAAC;AA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C;AAGvB,cAAc,QAAQ,CAAC;AAGvB,cAAc,UAAU,CAAC;AAGzB,cAAc,UAAU,CAAC;AAGzB,cAAc,gBAAgB,CAAC;AAG/B,cAAc,cAAc,CAAC;AAG7B,cAAc,OAAO,CAAC;AAGtB,cAAc,WAAW,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
1
2
|
export interface LoadingPageProps {
|
|
2
3
|
message?: string;
|
|
3
4
|
}
|
|
4
|
-
export declare function LoadingPage({ message }: LoadingPageProps):
|
|
5
|
+
export declare function LoadingPage({ message }: LoadingPageProps): ReactElement;
|
|
5
6
|
export default LoadingPage;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Spinner } from "../spinner";
|
|
3
4
|
export function LoadingPage({ message }) {
|
|
4
|
-
return (_jsxs("div", { className: "w-full h-full flex grow flex-col items-center justify-center gap-4 min-h-[75vh]", children: [_jsx(
|
|
5
|
+
return (_jsxs("div", { className: "w-full h-full flex grow flex-col items-center justify-center gap-4 min-h-[75vh]", children: [_jsx(Spinner, { size: "lg", label: message ?? "Loading" }), message && (_jsx("p", { className: "text-xs font-light text-muted-foreground", children: message }))] }));
|
|
5
6
|
}
|
|
6
7
|
export default LoadingPage;
|
|
7
8
|
//# sourceMappingURL=loading-page.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loading-page.js","sourceRoot":"","sources":["../../../../src/components/ui/loading-page/loading-page.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;
|
|
1
|
+
{"version":3,"file":"loading-page.js","sourceRoot":"","sources":["../../../../src/components/ui/loading-page/loading-page.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAIb,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,MAAM,UAAU,WAAW,CAAC,EAAE,OAAO,EAAoB;IACvD,OAAO,CACL,eAAK,SAAS,EAAC,iFAAiF,aAC9F,KAAC,OAAO,IAAC,IAAI,EAAC,IAAI,EAAC,KAAK,EAAE,OAAO,IAAI,SAAS,GAAI,EACjD,OAAO,IAAI,CACV,YAAG,SAAS,EAAC,0CAA0C,YAAE,OAAO,GAAK,CACtE,IACG,CACP,CAAC;AACJ,CAAC;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,OAAO,IAAI,OAAO,EAClB,qBAAqB,EACrB,cAAc,EACd,iBAAiB,GAClB,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const spinnerSizeIds: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
2
|
+
export type SpinnerSize = (typeof spinnerSizeIds)[number];
|
|
3
|
+
export declare const spinnerVariantIds: readonly ["default", "primary", "secondary", "brand", "destructive", "warning", "muted"];
|
|
4
|
+
export type SpinnerVariant = (typeof spinnerVariantIds)[number];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const spinnerSizeIds = [
|
|
2
|
+
"xs",
|
|
3
|
+
"sm",
|
|
4
|
+
"md",
|
|
5
|
+
"lg",
|
|
6
|
+
"xl",
|
|
7
|
+
];
|
|
8
|
+
export const spinnerVariantIds = [
|
|
9
|
+
"default",
|
|
10
|
+
"primary",
|
|
11
|
+
"secondary",
|
|
12
|
+
"brand",
|
|
13
|
+
"destructive",
|
|
14
|
+
"warning",
|
|
15
|
+
"muted",
|
|
16
|
+
];
|
|
17
|
+
//# sourceMappingURL=spinner-variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spinner-variants.js","sourceRoot":"","sources":["../../../../src/components/ui/spinner/spinner-variants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;CACgC,CAAC;AAGvC,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,SAAS;IACT,SAAS;IACT,WAAW;IACX,OAAO;IACP,aAAa;IACb,SAAS;IACT,OAAO;CAC6B,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
import type { HTMLAttributes, ReactElement, ReactNode, Ref } from "react";
|
|
3
|
+
import { type SpinnerSize, type SpinnerVariant, spinnerSizeIds, spinnerVariantIds } from "./spinner-variants";
|
|
4
|
+
/**
|
|
5
|
+
* Visual styling for the spinning circle itself. Border color uses
|
|
6
|
+
* `border-current` so the color is inherited from the wrapping element's
|
|
7
|
+
* text color (set by the variant).
|
|
8
|
+
*/
|
|
9
|
+
declare const spinnerCircleVariants: (props?: ({
|
|
10
|
+
size?: "xs" | "sm" | "lg" | "xl" | "md" | null | undefined;
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
|
+
export interface SpinnerProps extends Omit<HTMLAttributes<HTMLSpanElement>, "role" | "aria-label">, VariantProps<typeof spinnerCircleVariants> {
|
|
13
|
+
/**
|
|
14
|
+
* Color/intent variant. Defaults to "default" (foreground).
|
|
15
|
+
*/
|
|
16
|
+
variant?: SpinnerVariant;
|
|
17
|
+
/**
|
|
18
|
+
* Accessible label describing what is loading. Announced to screen readers.
|
|
19
|
+
* Defaults to "Loading".
|
|
20
|
+
*/
|
|
21
|
+
label?: string;
|
|
22
|
+
/**
|
|
23
|
+
* If true, the label is rendered visibly next to the spinner.
|
|
24
|
+
* If false (default), the label is only available to screen readers.
|
|
25
|
+
*/
|
|
26
|
+
showLabel?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Optional content rendered alongside the spinner. When provided, the
|
|
29
|
+
* content is rendered visibly and replaces the default visible label.
|
|
30
|
+
* The wrapping element retains the spinner's color so any nested text
|
|
31
|
+
* inherits it automatically.
|
|
32
|
+
*/
|
|
33
|
+
children?: ReactNode;
|
|
34
|
+
ref?: Ref<HTMLSpanElement>;
|
|
35
|
+
}
|
|
36
|
+
declare function Spinner({ className, size, variant, label, showLabel, children, ref, ...props }: SpinnerProps): ReactElement;
|
|
37
|
+
declare namespace Spinner {
|
|
38
|
+
var displayName: string;
|
|
39
|
+
}
|
|
40
|
+
export { Spinner, spinnerCircleVariants, spinnerSizeIds, spinnerVariantIds, };
|
|
41
|
+
export type { SpinnerSize, SpinnerVariant };
|
|
42
|
+
export default Spinner;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { cn } from "../../../lib/utils";
|
|
5
|
+
import { spinnerSizeIds, spinnerVariantIds, } from "./spinner-variants";
|
|
6
|
+
/**
|
|
7
|
+
* Visual styling for the spinning circle itself. Border color uses
|
|
8
|
+
* `border-current` so the color is inherited from the wrapping element's
|
|
9
|
+
* text color (set by the variant).
|
|
10
|
+
*/
|
|
11
|
+
const spinnerCircleVariants = cva("inline-block rounded-full border-solid border-current border-r-transparent animate-spin motion-reduce:animate-[spin_1.5s_linear_infinite] align-[-0.125em]", {
|
|
12
|
+
variants: {
|
|
13
|
+
size: {
|
|
14
|
+
xs: "h-3 w-3 border-2",
|
|
15
|
+
sm: "h-4 w-4 border-2",
|
|
16
|
+
md: "h-6 w-6 border-[3px]",
|
|
17
|
+
lg: "h-8 w-8 border-4",
|
|
18
|
+
xl: "h-12 w-12 border-4",
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
defaultVariants: {
|
|
22
|
+
size: "md",
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
const spinnerLabelSizes = {
|
|
26
|
+
xs: "text-[10px]",
|
|
27
|
+
sm: "text-xs",
|
|
28
|
+
md: "text-sm",
|
|
29
|
+
lg: "text-base",
|
|
30
|
+
xl: "text-lg",
|
|
31
|
+
};
|
|
32
|
+
const spinnerWrapperGapSizes = {
|
|
33
|
+
xs: "gap-1.5",
|
|
34
|
+
sm: "gap-2",
|
|
35
|
+
md: "gap-2.5",
|
|
36
|
+
lg: "gap-3",
|
|
37
|
+
xl: "gap-3.5",
|
|
38
|
+
};
|
|
39
|
+
const spinnerVariantColors = {
|
|
40
|
+
default: "text-foreground",
|
|
41
|
+
primary: "text-primary",
|
|
42
|
+
secondary: "text-secondary-foreground",
|
|
43
|
+
brand: "text-schemavaults-brand-blue",
|
|
44
|
+
destructive: "text-destructive",
|
|
45
|
+
warning: "text-warning",
|
|
46
|
+
muted: "text-muted-foreground",
|
|
47
|
+
};
|
|
48
|
+
function Spinner({ className, size, variant, label = "Loading", showLabel = false, children, ref, ...props }) {
|
|
49
|
+
const resolvedSize = size ?? "md";
|
|
50
|
+
const resolvedVariant = variant ?? "default";
|
|
51
|
+
const colorClass = spinnerVariantColors[resolvedVariant];
|
|
52
|
+
const hasVisibleContent = showLabel || children !== undefined;
|
|
53
|
+
if (!hasVisibleContent) {
|
|
54
|
+
return (_jsxs("span", { ref: ref, role: "status", "aria-live": "polite", "aria-label": label, "data-slot": "spinner", className: cn("inline-flex items-center", colorClass, className), ...props, children: [_jsx("span", { "aria-hidden": "true", className: cn(spinnerCircleVariants({ size: resolvedSize })) }), _jsx("span", { className: "sr-only", children: label })] }));
|
|
55
|
+
}
|
|
56
|
+
const visibleLabel = children ?? label;
|
|
57
|
+
return (_jsxs("span", { ref: ref, role: "status", "aria-live": "polite", "data-slot": "spinner", className: cn("inline-flex items-center", spinnerWrapperGapSizes[resolvedSize], colorClass, className), ...props, children: [_jsx("span", { "aria-hidden": "true", className: cn(spinnerCircleVariants({ size: resolvedSize })) }), _jsx("span", { className: cn("font-medium", spinnerLabelSizes[resolvedSize]), children: visibleLabel })] }));
|
|
58
|
+
}
|
|
59
|
+
Spinner.displayName = "Spinner";
|
|
60
|
+
export { Spinner, spinnerCircleVariants, spinnerSizeIds, spinnerVariantIds, };
|
|
61
|
+
export default Spinner;
|
|
62
|
+
//# sourceMappingURL=spinner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../../../src/components/ui/spinner/spinner.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAGL,cAAc,EACd,iBAAiB,GAClB,MAAM,oBAAoB,CAAC;AAE5B;;;;GAIG;AACH,MAAM,qBAAqB,GAAG,GAAG,CAC/B,4JAA4J,EAC5J;IACE,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,EAAE,EAAE,kBAAkB;YACtB,EAAE,EAAE,kBAAkB;YACtB,EAAE,EAAE,sBAAsB;YAC1B,EAAE,EAAE,kBAAkB;YACtB,EAAE,EAAE,oBAAoB;SACa;KACxC;IACD,eAAe,EAAE;QACf,IAAI,EAAE,IAAI;KACX;CACF,CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG;IACxB,EAAE,EAAE,aAAa;IACjB,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,SAAS;CACiC,CAAC;AAEjD,MAAM,sBAAsB,GAAG;IAC7B,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,SAAS;CACiC,CAAC;AAEjD,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,OAAO,EAAE,cAAc;IACvB,SAAS,EAAE,2BAA2B;IACtC,KAAK,EAAE,8BAA8B;IACrC,WAAW,EAAE,kBAAkB;IAC/B,OAAO,EAAE,cAA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B,CAAC,YAAY,CAAC,CAAC,YAChE,YAAY,GACR,IACF,CACR,CAAC;AACJ,CAAC;AACD,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;AAEhC,OAAO,EACL,OAAO,EACP,qBAAqB,EACrB,cAAc,EACd,iBAAiB,GAClB,CAAC;AAGF,eAAe,OAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schemavaults/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "React.js UI components for SchemaVaults frontend applications",
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "https://github.com/schemavaults/ui.git"
|
|
10
10
|
},
|
|
11
|
+
"peerDependencies": {
|
|
12
|
+
"react": "^19.2.5",
|
|
13
|
+
"react-dom": "^19.2.5"
|
|
14
|
+
},
|
|
11
15
|
"dependencies": {
|
|
12
16
|
"@emotion/is-prop-valid": "1.4.0",
|
|
13
17
|
"@hookform/resolvers": "3.9.0",
|
|
@@ -40,8 +44,6 @@
|
|
|
40
44
|
"framer-motion": "12.23.24",
|
|
41
45
|
"lucide-react": "0.575.0",
|
|
42
46
|
"next-themes": "0.4.6",
|
|
43
|
-
"react": "19.2.4",
|
|
44
|
-
"react-dom": "19.2.4",
|
|
45
47
|
"react-hook-form": "7.58.1",
|
|
46
48
|
"tailwind-merge": "3.0.2"
|
|
47
49
|
},
|