@wellingtonhlc/shared-ui 0.26.13 → 0.26.14
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/README.md +405 -405
- package/dist/components/Banner.d.ts +13 -0
- package/dist/components/Banner.d.ts.map +1 -0
- package/dist/components/Banner.js +29 -0
- package/dist/components/FieldControl.js +20 -20
- package/dist/components/Loading.d.ts +17 -0
- package/dist/components/Loading.d.ts.map +1 -0
- package/dist/components/Loading.js +15 -0
- package/dist/components/LoadingOverlay.d.ts +11 -0
- package/dist/components/LoadingOverlay.d.ts.map +1 -0
- package/dist/components/LoadingOverlay.js +8 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/styles.css +135 -29
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export type BannerVariant = 'info' | 'warning' | 'critical' | 'success';
|
|
3
|
+
export type BannerSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
export interface BannerProps {
|
|
5
|
+
variant?: BannerVariant;
|
|
6
|
+
size?: BannerSize;
|
|
7
|
+
closable?: boolean;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
className?: string;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare function Banner({ variant, size, closable, onClose, className, children, }: BannerProps): import("react").JSX.Element | null;
|
|
13
|
+
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../src/components/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMjD,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;AACxE,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAeD,wBAAgB,MAAM,CAAC,EACrB,OAAgB,EAChB,IAAW,EACX,QAAe,EACf,OAAO,EACP,SAAS,EACT,QAAQ,GACT,EAAE,WAAW,sCAwCb"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from 'react';
|
|
3
|
+
import { X } from 'lucide-react';
|
|
4
|
+
import { Button } from './Button';
|
|
5
|
+
import { cn } from '../utils/cn';
|
|
6
|
+
const variantStyles = {
|
|
7
|
+
info: 'border-[color-mix(in_srgb,#60a5fa_45%,var(--app-border))] bg-[color-mix(in_srgb,#3b82f6_16%,var(--background-secondary))] text-[var(--status-info-text)]',
|
|
8
|
+
warning: 'border-[color-mix(in_srgb,#fbbf24_52%,var(--app-border))] bg-[color-mix(in_srgb,#f59e0b_16%,var(--background-secondary))] text-[var(--status-warning-text)]',
|
|
9
|
+
critical: 'border-[color-mix(in_srgb,#f87171_52%,var(--app-border))] bg-[color-mix(in_srgb,#ef4444_16%,var(--background-secondary))] text-[var(--status-danger-text)]',
|
|
10
|
+
success: 'border-[color-mix(in_srgb,#34d399_45%,var(--app-border))] bg-[color-mix(in_srgb,#10b981_16%,var(--background-secondary))] text-[var(--status-success-text)]',
|
|
11
|
+
};
|
|
12
|
+
const sizeStyles = {
|
|
13
|
+
sm: 'min-h-10 px-3 py-2 text-sm',
|
|
14
|
+
md: 'min-h-11 px-4 py-2.5 text-sm',
|
|
15
|
+
lg: 'min-h-12 px-4 py-3 text-base',
|
|
16
|
+
};
|
|
17
|
+
export function Banner({ variant = 'info', size = 'md', closable = true, onClose, className, children, }) {
|
|
18
|
+
const [visible, setVisible] = useState(true);
|
|
19
|
+
function handleClose() {
|
|
20
|
+
if (onClose) {
|
|
21
|
+
onClose();
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
setVisible(false);
|
|
25
|
+
}
|
|
26
|
+
if (!visible)
|
|
27
|
+
return null;
|
|
28
|
+
return (_jsxs("div", { className: cn('relative flex w-full items-center border shadow-sm', variantStyles[variant], sizeStyles[size], className), children: [_jsx("div", { className: "flex min-w-0 flex-1 items-center justify-center gap-2 text-center", children: children }), closable ? (_jsx(Button, { variant: "ghost", size: "xs", rounded: true, "aria-label": "Fechar banner", className: "absolute top-1/2 right-2 -translate-y-1/2 text-current hover:bg-black/10 dark:hover:bg-white/10", onClick: handleClose, children: _jsx(X, { className: "size-4" }) })) : null] }));
|
|
29
|
+
}
|
|
@@ -48,26 +48,26 @@ export const FieldControl = ({ label, id, wrapperClassName, labelClassName = '',
|
|
|
48
48
|
};
|
|
49
49
|
const renderedChildren = typeof children === 'function' ? children(renderProps) : children;
|
|
50
50
|
const renderedLabel = label ? (_jsxs("div", { className: cn('flex items-center justify-between gap-2', isHorizontal && 'shrink-0'), style: { order: labelOrder }, children: [_jsx("label", { htmlFor: componentId, className: mergedLabelClassName, children: label }), labelAction] })) : null;
|
|
51
|
-
return (_jsxs("div", { className: cn(fieldWrapper, wrapperClassName, scopeClass, roundedClass), "data-disabled": disabled || undefined, "data-invalid": !!errorMessage || undefined, children: [_jsx("style", { children: `
|
|
52
|
-
.${scopeClass} input,
|
|
53
|
-
.${scopeClass} textarea,
|
|
54
|
-
.${scopeClass} select { color: var(--foreground); }
|
|
55
|
-
.${scopeClass} input::placeholder,
|
|
56
|
-
.${scopeClass} textarea::placeholder,
|
|
57
|
-
.${scopeClass} select::placeholder { color: var(--muted-foreground); opacity: 0.34; }
|
|
58
|
-
.dark .${scopeClass} input::placeholder,
|
|
59
|
-
.dark .${scopeClass} textarea::placeholder,
|
|
60
|
-
.dark .${scopeClass} select::placeholder { color: var(--muted-foreground); opacity: 0.50; }
|
|
61
|
-
.${scopeClass} input::-webkit-input-placeholder,
|
|
62
|
-
.${scopeClass} textarea::-webkit-input-placeholder { color: var(--muted-foreground); opacity: 0.34; }
|
|
63
|
-
.dark .${scopeClass} input::-webkit-input-placeholder,
|
|
64
|
-
.dark .${scopeClass} textarea::-webkit-input-placeholder { color: var(--muted-foreground); opacity: 0.50; }
|
|
65
|
-
.${roundedClass} input,
|
|
66
|
-
.${roundedClass} textarea,
|
|
67
|
-
.${roundedClass} select { border-radius: 9999px; padding: 0.375rem 1rem; min-height: 2rem; }
|
|
68
|
-
.${roundedClass} input::placeholder,
|
|
69
|
-
.${roundedClass} textarea::placeholder,
|
|
70
|
-
.${roundedClass} select::placeholder { opacity: 0.5; }
|
|
51
|
+
return (_jsxs("div", { className: cn(fieldWrapper, wrapperClassName, scopeClass, roundedClass), "data-disabled": disabled || undefined, "data-invalid": !!errorMessage || undefined, children: [_jsx("style", { children: `
|
|
52
|
+
.${scopeClass} input,
|
|
53
|
+
.${scopeClass} textarea,
|
|
54
|
+
.${scopeClass} select { color: var(--foreground); }
|
|
55
|
+
.${scopeClass} input::placeholder,
|
|
56
|
+
.${scopeClass} textarea::placeholder,
|
|
57
|
+
.${scopeClass} select::placeholder { color: var(--muted-foreground); opacity: 0.34; }
|
|
58
|
+
.dark .${scopeClass} input::placeholder,
|
|
59
|
+
.dark .${scopeClass} textarea::placeholder,
|
|
60
|
+
.dark .${scopeClass} select::placeholder { color: var(--muted-foreground); opacity: 0.50; }
|
|
61
|
+
.${scopeClass} input::-webkit-input-placeholder,
|
|
62
|
+
.${scopeClass} textarea::-webkit-input-placeholder { color: var(--muted-foreground); opacity: 0.34; }
|
|
63
|
+
.dark .${scopeClass} input::-webkit-input-placeholder,
|
|
64
|
+
.dark .${scopeClass} textarea::-webkit-input-placeholder { color: var(--muted-foreground); opacity: 0.50; }
|
|
65
|
+
.${roundedClass} input,
|
|
66
|
+
.${roundedClass} textarea,
|
|
67
|
+
.${roundedClass} select { border-radius: 9999px; padding: 0.375rem 1rem; min-height: 2rem; }
|
|
68
|
+
.${roundedClass} input::placeholder,
|
|
69
|
+
.${roundedClass} textarea::placeholder,
|
|
70
|
+
.${roundedClass} select::placeholder { opacity: 0.5; }
|
|
71
71
|
` }), _jsxs("div", { className: cn('flex gap-2', flexDirection), children: [labelOrder === 0 && renderedLabel, _jsx("div", { style: { order: inputOrder }, className: isHorizontal ? 'flex-1' : undefined, children: renderedChildren }), labelOrder === 1 && renderedLabel] }), _jsx(FieldValidationError, { id: errorId, message: errorMessage, hasValidation: hasValidation })] }));
|
|
72
72
|
};
|
|
73
73
|
FieldControl.displayName = 'FieldControl';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ReactNode, type SVGProps } from 'react';
|
|
2
|
+
declare const sizeClasses: {
|
|
3
|
+
readonly xs: "h-3 w-3";
|
|
4
|
+
readonly sm: "h-4 w-4";
|
|
5
|
+
readonly md: "h-5 w-5";
|
|
6
|
+
readonly lg: "h-6 w-6";
|
|
7
|
+
};
|
|
8
|
+
export type LoadingSize = keyof typeof sizeClasses;
|
|
9
|
+
export interface LoadingProps extends Omit<SVGProps<SVGSVGElement>, 'children'> {
|
|
10
|
+
isLoading?: boolean;
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
size?: LoadingSize;
|
|
13
|
+
strokeWidth?: number;
|
|
14
|
+
}
|
|
15
|
+
export declare function Loading({ isLoading, children, className, size, strokeWidth, 'aria-label': ariaLabel, ...props }: LoadingProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=Loading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loading.d.ts","sourceRoot":"","sources":["../../src/components/Loading.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAS,MAAM,OAAO,CAAC;AAI7D,QAAA,MAAM,WAAW;;;;;CAKP,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,WAAW,CAAC;AAEnD,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC;IAC7E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,OAAO,CAAC,EACtB,SAAgB,EAChB,QAAQ,EACR,SAAS,EACT,IAAW,EACX,WAAe,EACf,YAAY,EAAE,SAAS,EACvB,GAAG,KAAK,EACT,EAAE,YAAY,+TAoCd"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useId } from 'react';
|
|
3
|
+
import { cn } from '../utils/cn';
|
|
4
|
+
const sizeClasses = {
|
|
5
|
+
xs: 'h-3 w-3',
|
|
6
|
+
sm: 'h-4 w-4',
|
|
7
|
+
md: 'h-5 w-5',
|
|
8
|
+
lg: 'h-6 w-6',
|
|
9
|
+
};
|
|
10
|
+
export function Loading({ isLoading = true, children, className, size = 'sm', strokeWidth = 4, 'aria-label': ariaLabel, ...props }) {
|
|
11
|
+
const gradientId = useId().replace(/:/g, '');
|
|
12
|
+
if (!isLoading)
|
|
13
|
+
return children;
|
|
14
|
+
return (_jsxs("svg", { className: cn('text-brand m-auto animate-spin', sizeClasses[size], className), viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg", role: ariaLabel ? 'status' : undefined, "aria-label": ariaLabel, "aria-hidden": ariaLabel ? undefined : true, ...props, children: [_jsx("defs", { children: _jsxs("linearGradient", { id: gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "0%", children: [_jsx("stop", { offset: "0%", stopColor: "currentColor", stopOpacity: "1" }), _jsx("stop", { offset: "70%", stopColor: "currentColor", stopOpacity: "0.25" }), _jsx("stop", { offset: "100%", stopColor: "currentColor", stopOpacity: "0" })] }) }), _jsx("circle", { cx: "24", cy: "24", r: "18", stroke: "currentColor", strokeOpacity: "0.06", strokeWidth: strokeWidth, fill: "none" }), _jsx("circle", { cx: "24", cy: "24", r: "18", stroke: `url(#${gradientId})`, strokeWidth: strokeWidth, strokeLinecap: "round", strokeDasharray: "80 113", transform: "rotate(-90 24 24)", fill: "none" })] }));
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type LoadingSize } from './Loading';
|
|
2
|
+
export type LoadingOverlayVariant = 'solid' | 'scrim';
|
|
3
|
+
export interface LoadingOverlayProps {
|
|
4
|
+
open?: boolean;
|
|
5
|
+
variant?: LoadingOverlayVariant;
|
|
6
|
+
size?: LoadingSize;
|
|
7
|
+
label?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadingOverlay({ open, variant, size, label, className, }: LoadingOverlayProps): import("react").JSX.Element | null;
|
|
11
|
+
//# sourceMappingURL=LoadingOverlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingOverlay.d.ts","sourceRoot":"","sources":["../../src/components/LoadingOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAItD,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,OAAO,CAAC;AAEtD,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAY,EACZ,OAAiB,EACjB,IAAW,EACX,KAAoB,EACpB,SAAS,GACV,EAAE,mBAAmB,sCAiBrB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Loading } from './Loading';
|
|
3
|
+
import { cn } from '../utils/cn';
|
|
4
|
+
export function LoadingOverlay({ open = false, variant = 'solid', size = 'lg', label = 'Carregando', className, }) {
|
|
5
|
+
if (!open)
|
|
6
|
+
return null;
|
|
7
|
+
return (_jsx("div", { className: cn('fixed inset-0 z-[999] flex items-center justify-center', variant === 'solid' ? 'bg-background' : 'bg-background/40 backdrop-blur-[3px]', className), role: "status", "aria-label": label, "aria-live": "polite", children: _jsx(Loading, { size: size, "aria-label": label }) }));
|
|
8
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,10 @@ export { cn } from './utils/cn';
|
|
|
2
2
|
export { AppShell, type AppShellContentMode, type AppShellMainProps, type AppShellOverlayProps, type AppShellOverlayVariant, type AppShellTopbarButtonProps, type AppShellTopbarProps, } from './components/AppShell';
|
|
3
3
|
export { AppShellActionButton, AppShellActions, AppShellActionsSeparator, type AppShellActionButtonProps, type AppShellActionButtonVariant, type AppShellActionsAlign, type AppShellActionsProps, type AppShellActionsRegion, type AppShellActionsSeparatorProps, } from './components/AppShellActions';
|
|
4
4
|
export { Badge, type BadgeProps, type BadgeVariant } from './components/Badge';
|
|
5
|
+
export { Banner, type BannerProps, type BannerSize, type BannerVariant } from './components/Banner';
|
|
5
6
|
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant } from './components/Button';
|
|
7
|
+
export { Loading, type LoadingProps, type LoadingSize } from './components/Loading';
|
|
8
|
+
export { LoadingOverlay, type LoadingOverlayProps, type LoadingOverlayVariant, } from './components/LoadingOverlay';
|
|
6
9
|
export { DismissiblePopover, type DismissiblePopoverProps } from './components/DismissiblePopover';
|
|
7
10
|
export { ConfirmationDialog, type ConfirmationDialogAction, type ConfirmationDialogProps, type ConfirmationDialogVariant, type ConfirmationDialogVariantInput, } from './components/ConfirmationDialog';
|
|
8
11
|
export { CopyableField, type CopyableFieldProps } from './components/CopyableField';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAC;AAChC,OAAO,EACL,QAAQ,EACR,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,wBAAwB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,6BAA6B,GACnC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpG,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AACnG,OAAO,EACL,kBAAkB,EAClB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,8BAA8B,GACpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE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KAAK,gBAAgB,EACrB,KAAK,WAAW,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC9G,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,10 @@ export { cn } from './utils/cn';
|
|
|
2
2
|
export { AppShell, } from './components/AppShell';
|
|
3
3
|
export { AppShellActionButton, AppShellActions, AppShellActionsSeparator, } from './components/AppShellActions';
|
|
4
4
|
export { Badge } from './components/Badge';
|
|
5
|
+
export { Banner } from './components/Banner';
|
|
5
6
|
export { Button } from './components/Button';
|
|
7
|
+
export { Loading } from './components/Loading';
|
|
8
|
+
export { LoadingOverlay, } from './components/LoadingOverlay';
|
|
6
9
|
export { DismissiblePopover } from './components/DismissiblePopover';
|
|
7
10
|
export { ConfirmationDialog, } from './components/ConfirmationDialog';
|
|
8
11
|
export { CopyableField } from './components/CopyableField';
|
package/dist/styles.css
CHANGED
|
@@ -637,6 +637,7 @@ h2.react-datepicker__current-month {
|
|
|
637
637
|
--radius-2xl: 1rem;
|
|
638
638
|
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
639
639
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
640
|
+
--animate-spin: spin 1s linear infinite;
|
|
640
641
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
641
642
|
--default-transition-duration: 150ms;
|
|
642
643
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -953,6 +954,9 @@ h2.react-datepicker__current-month {
|
|
|
953
954
|
.z-\[110\] {
|
|
954
955
|
z-index: 110;
|
|
955
956
|
}
|
|
957
|
+
.z-\[999\] {
|
|
958
|
+
z-index: 999;
|
|
959
|
+
}
|
|
956
960
|
.order-3 {
|
|
957
961
|
order: 3;
|
|
958
962
|
}
|
|
@@ -983,6 +987,9 @@ h2.react-datepicker__current-month {
|
|
|
983
987
|
.m-3 {
|
|
984
988
|
margin: calc(var(--spacing) * 3);
|
|
985
989
|
}
|
|
990
|
+
.m-auto {
|
|
991
|
+
margin: auto;
|
|
992
|
+
}
|
|
986
993
|
.mx-1 {
|
|
987
994
|
margin-inline: calc(var(--spacing) * 1);
|
|
988
995
|
}
|
|
@@ -1196,12 +1203,12 @@ h2.react-datepicker__current-month {
|
|
|
1196
1203
|
.h-16 {
|
|
1197
1204
|
height: calc(var(--spacing) * 16);
|
|
1198
1205
|
}
|
|
1206
|
+
.h-32 {
|
|
1207
|
+
height: calc(var(--spacing) * 32);
|
|
1208
|
+
}
|
|
1199
1209
|
.h-56 {
|
|
1200
1210
|
height: calc(var(--spacing) * 56);
|
|
1201
1211
|
}
|
|
1202
|
-
.h-64 {
|
|
1203
|
-
height: calc(var(--spacing) * 64);
|
|
1204
|
-
}
|
|
1205
1212
|
.h-72 {
|
|
1206
1213
|
height: calc(var(--spacing) * 72);
|
|
1207
1214
|
}
|
|
@@ -1292,6 +1299,9 @@ h2.react-datepicker__current-month {
|
|
|
1292
1299
|
.min-h-16 {
|
|
1293
1300
|
min-height: calc(var(--spacing) * 16);
|
|
1294
1301
|
}
|
|
1302
|
+
.min-h-32 {
|
|
1303
|
+
min-height: calc(var(--spacing) * 32);
|
|
1304
|
+
}
|
|
1295
1305
|
.min-h-\[2\.5rem\] {
|
|
1296
1306
|
min-height: 2.5rem;
|
|
1297
1307
|
}
|
|
@@ -1376,6 +1386,9 @@ h2.react-datepicker__current-month {
|
|
|
1376
1386
|
.w-36 {
|
|
1377
1387
|
width: calc(var(--spacing) * 36);
|
|
1378
1388
|
}
|
|
1389
|
+
.w-64 {
|
|
1390
|
+
width: calc(var(--spacing) * 64);
|
|
1391
|
+
}
|
|
1379
1392
|
.w-72 {
|
|
1380
1393
|
width: calc(var(--spacing) * 72);
|
|
1381
1394
|
}
|
|
@@ -1400,9 +1413,6 @@ h2.react-datepicker__current-month {
|
|
|
1400
1413
|
.w-\[44rem\] {
|
|
1401
1414
|
width: 44rem;
|
|
1402
1415
|
}
|
|
1403
|
-
.w-\[46rem\] {
|
|
1404
|
-
width: 46rem;
|
|
1405
|
-
}
|
|
1406
1416
|
.w-\[52rem\] {
|
|
1407
1417
|
width: 52rem;
|
|
1408
1418
|
}
|
|
@@ -1595,6 +1605,9 @@ h2.react-datepicker__current-month {
|
|
|
1595
1605
|
.animate-pulse {
|
|
1596
1606
|
animation: var(--animate-pulse);
|
|
1597
1607
|
}
|
|
1608
|
+
.animate-spin {
|
|
1609
|
+
animation: var(--animate-spin);
|
|
1610
|
+
}
|
|
1598
1611
|
.cursor-not-allowed {
|
|
1599
1612
|
cursor: not-allowed;
|
|
1600
1613
|
}
|
|
@@ -1855,6 +1868,30 @@ h2.react-datepicker__current-month {
|
|
|
1855
1868
|
--tw-border-style: dashed;
|
|
1856
1869
|
border-style: dashed;
|
|
1857
1870
|
}
|
|
1871
|
+
.border-\[color-mix\(in_srgb\,\#34d399_45\%\,var\(--app-border\)\)\] {
|
|
1872
|
+
border-color: #34d399;
|
|
1873
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1874
|
+
border-color: color-mix(in srgb,#34d399 45%,var(--app-border));
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
.border-\[color-mix\(in_srgb\,\#60a5fa_45\%\,var\(--app-border\)\)\] {
|
|
1878
|
+
border-color: #60a5fa;
|
|
1879
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1880
|
+
border-color: color-mix(in srgb,#60a5fa 45%,var(--app-border));
|
|
1881
|
+
}
|
|
1882
|
+
}
|
|
1883
|
+
.border-\[color-mix\(in_srgb\,\#f87171_52\%\,var\(--app-border\)\)\] {
|
|
1884
|
+
border-color: #f87171;
|
|
1885
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1886
|
+
border-color: color-mix(in srgb,#f87171 52%,var(--app-border));
|
|
1887
|
+
}
|
|
1888
|
+
}
|
|
1889
|
+
.border-\[color-mix\(in_srgb\,\#fbbf24_52\%\,var\(--app-border\)\)\] {
|
|
1890
|
+
border-color: #fbbf24;
|
|
1891
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1892
|
+
border-color: color-mix(in srgb,#fbbf24 52%,var(--app-border));
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1858
1895
|
.border-\[color-mix\(in_srgb\,var\(--brand\)_34\%\,var\(--app-border\)\)\] {
|
|
1859
1896
|
border-color: var(--brand);
|
|
1860
1897
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1930,6 +1967,30 @@ h2.react-datepicker__current-month {
|
|
|
1930
1967
|
.\!bg-transparent {
|
|
1931
1968
|
background-color: transparent !important;
|
|
1932
1969
|
}
|
|
1970
|
+
.bg-\[color-mix\(in_srgb\,\#3b82f6_16\%\,var\(--background-secondary\)\)\] {
|
|
1971
|
+
background-color: #3b82f6;
|
|
1972
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1973
|
+
background-color: color-mix(in srgb,#3b82f6 16%,var(--background-secondary));
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1976
|
+
.bg-\[color-mix\(in_srgb\,\#10b981_16\%\,var\(--background-secondary\)\)\] {
|
|
1977
|
+
background-color: #10b981;
|
|
1978
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1979
|
+
background-color: color-mix(in srgb,#10b981 16%,var(--background-secondary));
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1982
|
+
.bg-\[color-mix\(in_srgb\,\#ef4444_16\%\,var\(--background-secondary\)\)\] {
|
|
1983
|
+
background-color: #ef4444;
|
|
1984
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1985
|
+
background-color: color-mix(in srgb,#ef4444 16%,var(--background-secondary));
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
.bg-\[color-mix\(in_srgb\,\#f59e0b_16\%\,var\(--background-secondary\)\)\] {
|
|
1989
|
+
background-color: #f59e0b;
|
|
1990
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1991
|
+
background-color: color-mix(in srgb,#f59e0b 16%,var(--background-secondary));
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1933
1994
|
.bg-\[color-mix\(in_srgb\,var\(--brand\)_5\%\,var\(--surface\)\)\] {
|
|
1934
1995
|
background-color: var(--brand);
|
|
1935
1996
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2038,6 +2099,12 @@ h2.react-datepicker__current-month {
|
|
|
2038
2099
|
.bg-background-secondary {
|
|
2039
2100
|
background-color: var(--color-background-secondary);
|
|
2040
2101
|
}
|
|
2102
|
+
.bg-background\/40 {
|
|
2103
|
+
background-color: var(--color-background);
|
|
2104
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2105
|
+
background-color: color-mix(in oklab, var(--color-background) 40%, transparent);
|
|
2106
|
+
}
|
|
2107
|
+
}
|
|
2041
2108
|
.bg-black\/50 {
|
|
2042
2109
|
background-color: color-mix(in srgb, #000 50%, transparent);
|
|
2043
2110
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2509,18 +2576,30 @@ h2.react-datepicker__current-month {
|
|
|
2509
2576
|
.text-\[var\(--primary-foreground\,\#ffffff\)\] {
|
|
2510
2577
|
color: var(--primary-foreground,#ffffff);
|
|
2511
2578
|
}
|
|
2579
|
+
.text-\[var\(--status-danger-text\)\] {
|
|
2580
|
+
color: var(--status-danger-text);
|
|
2581
|
+
}
|
|
2512
2582
|
.text-\[var\(--status-danger-text\,\#7f1d1d\)\] {
|
|
2513
2583
|
color: var(--status-danger-text,#7f1d1d);
|
|
2514
2584
|
}
|
|
2515
2585
|
.text-\[var\(--status-danger-text\,\#b91c1c\)\] {
|
|
2516
2586
|
color: var(--status-danger-text,#b91c1c);
|
|
2517
2587
|
}
|
|
2588
|
+
.text-\[var\(--status-info-text\)\] {
|
|
2589
|
+
color: var(--status-info-text);
|
|
2590
|
+
}
|
|
2518
2591
|
.text-\[var\(--status-info-text\,\#1d4ed8\)\] {
|
|
2519
2592
|
color: var(--status-info-text,#1d4ed8);
|
|
2520
2593
|
}
|
|
2594
|
+
.text-\[var\(--status-success-text\)\] {
|
|
2595
|
+
color: var(--status-success-text);
|
|
2596
|
+
}
|
|
2521
2597
|
.text-\[var\(--status-success-text\,\#15803d\)\] {
|
|
2522
2598
|
color: var(--status-success-text,#15803d);
|
|
2523
2599
|
}
|
|
2600
|
+
.text-\[var\(--status-warning-text\)\] {
|
|
2601
|
+
color: var(--status-warning-text);
|
|
2602
|
+
}
|
|
2524
2603
|
.text-\[var\(--status-warning-text\,\#92400e\)\] {
|
|
2525
2604
|
color: var(--status-warning-text,#92400e);
|
|
2526
2605
|
}
|
|
@@ -3203,6 +3282,16 @@ h2.react-datepicker__current-month {
|
|
|
3203
3282
|
}
|
|
3204
3283
|
}
|
|
3205
3284
|
}
|
|
3285
|
+
.hover\:bg-black\/10 {
|
|
3286
|
+
&:hover {
|
|
3287
|
+
@media (hover: hover) {
|
|
3288
|
+
background-color: color-mix(in srgb, #000 10%, transparent);
|
|
3289
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3290
|
+
background-color: color-mix(in oklab, var(--color-black) 10%, transparent);
|
|
3291
|
+
}
|
|
3292
|
+
}
|
|
3293
|
+
}
|
|
3294
|
+
}
|
|
3206
3295
|
.hover\:bg-destructive {
|
|
3207
3296
|
&:hover {
|
|
3208
3297
|
@media (hover: hover) {
|
|
@@ -4040,6 +4129,18 @@ h2.react-datepicker__current-month {
|
|
|
4040
4129
|
}
|
|
4041
4130
|
}
|
|
4042
4131
|
}
|
|
4132
|
+
.dark\:hover\:bg-white\/10 {
|
|
4133
|
+
@media (prefers-color-scheme: dark) {
|
|
4134
|
+
&:hover {
|
|
4135
|
+
@media (hover: hover) {
|
|
4136
|
+
background-color: color-mix(in srgb, #fff 10%, transparent);
|
|
4137
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4138
|
+
background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
|
|
4139
|
+
}
|
|
4140
|
+
}
|
|
4141
|
+
}
|
|
4142
|
+
}
|
|
4143
|
+
}
|
|
4043
4144
|
.dark\:hover\:bg-white\/\[0\.06\] {
|
|
4044
4145
|
@media (prefers-color-scheme: dark) {
|
|
4045
4146
|
&:hover {
|
|
@@ -4476,15 +4577,15 @@ h2.react-datepicker__current-month {
|
|
|
4476
4577
|
border-color: var(--status-danger-border);
|
|
4477
4578
|
background-color: var(--status-danger-bg);
|
|
4478
4579
|
}
|
|
4479
|
-
.app-stat-card__label--default,
|
|
4480
|
-
.app-stat-card__description--default,
|
|
4580
|
+
.app-stat-card__label--default,
|
|
4581
|
+
.app-stat-card__description--default,
|
|
4481
4582
|
.app-stat-card__icon--default {
|
|
4482
4583
|
color: var(--foreground-muted);
|
|
4483
4584
|
}
|
|
4484
4585
|
.app-stat-card__value--default {
|
|
4485
4586
|
color: var(--foreground);
|
|
4486
4587
|
}
|
|
4487
|
-
.app-stat-card__label--info,
|
|
4588
|
+
.app-stat-card__label--info,
|
|
4488
4589
|
.app-stat-card__description--info {
|
|
4489
4590
|
color: var(--status-info-text);
|
|
4490
4591
|
}
|
|
@@ -4494,7 +4595,7 @@ h2.react-datepicker__current-month {
|
|
|
4494
4595
|
.app-stat-card__icon--info {
|
|
4495
4596
|
color: var(--status-info-icon);
|
|
4496
4597
|
}
|
|
4497
|
-
.app-stat-card__label--success,
|
|
4598
|
+
.app-stat-card__label--success,
|
|
4498
4599
|
.app-stat-card__description--success {
|
|
4499
4600
|
color: var(--status-success-text);
|
|
4500
4601
|
}
|
|
@@ -4504,7 +4605,7 @@ h2.react-datepicker__current-month {
|
|
|
4504
4605
|
.app-stat-card__icon--success {
|
|
4505
4606
|
color: var(--status-success-icon);
|
|
4506
4607
|
}
|
|
4507
|
-
.app-stat-card__label--warning,
|
|
4608
|
+
.app-stat-card__label--warning,
|
|
4508
4609
|
.app-stat-card__description--warning {
|
|
4509
4610
|
color: var(--status-warning-text);
|
|
4510
4611
|
}
|
|
@@ -4514,7 +4615,7 @@ h2.react-datepicker__current-month {
|
|
|
4514
4615
|
.app-stat-card__icon--warning {
|
|
4515
4616
|
color: var(--status-warning-icon);
|
|
4516
4617
|
}
|
|
4517
|
-
.app-stat-card__label--danger,
|
|
4618
|
+
.app-stat-card__label--danger,
|
|
4518
4619
|
.app-stat-card__description--danger {
|
|
4519
4620
|
color: var(--status-danger-text);
|
|
4520
4621
|
}
|
|
@@ -4539,14 +4640,14 @@ h2.react-datepicker__current-month {
|
|
|
4539
4640
|
background-color: var(--background-secondary) !important;
|
|
4540
4641
|
border-bottom-color: var(--app-border) !important;
|
|
4541
4642
|
}
|
|
4542
|
-
.react-datepicker__current-month,
|
|
4643
|
+
.react-datepicker__current-month,
|
|
4543
4644
|
.react-datepicker-time__header {
|
|
4544
4645
|
color: var(--foreground) !important;
|
|
4545
4646
|
font-size: 0.8125rem !important;
|
|
4546
4647
|
font-weight: 600 !important;
|
|
4547
4648
|
}
|
|
4548
|
-
.react-datepicker__day-name,
|
|
4549
|
-
.react-datepicker__day,
|
|
4649
|
+
.react-datepicker__day-name,
|
|
4650
|
+
.react-datepicker__day,
|
|
4550
4651
|
.react-datepicker__time-name {
|
|
4551
4652
|
width: 2rem;
|
|
4552
4653
|
line-height: 2rem;
|
|
@@ -4567,21 +4668,21 @@ h2.react-datepicker__current-month {
|
|
|
4567
4668
|
color: var(--foreground) !important;
|
|
4568
4669
|
transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
|
|
4569
4670
|
}
|
|
4570
|
-
.react-datepicker__day:hover,
|
|
4671
|
+
.react-datepicker__day:hover,
|
|
4571
4672
|
.react-datepicker__day--keyboard-selected {
|
|
4572
4673
|
background-color: var(--background) !important;
|
|
4573
4674
|
color: var(--foreground) !important;
|
|
4574
4675
|
}
|
|
4575
|
-
.react-datepicker__day--disabled,
|
|
4676
|
+
.react-datepicker__day--disabled,
|
|
4576
4677
|
.react-datepicker__day--disabled:hover {
|
|
4577
4678
|
background-color: transparent !important;
|
|
4578
4679
|
color: var(--foreground-muted) !important;
|
|
4579
4680
|
opacity: 0.4;
|
|
4580
4681
|
cursor: not-allowed;
|
|
4581
4682
|
}
|
|
4582
|
-
.react-datepicker__day--selected,
|
|
4583
|
-
.react-datepicker__day--selected:hover,
|
|
4584
|
-
.react-datepicker__day--in-selecting-range,
|
|
4683
|
+
.react-datepicker__day--selected,
|
|
4684
|
+
.react-datepicker__day--selected:hover,
|
|
4685
|
+
.react-datepicker__day--in-selecting-range,
|
|
4585
4686
|
.react-datepicker__day--in-range {
|
|
4586
4687
|
background-color: var(--brand) !important;
|
|
4587
4688
|
color: #ffffff !important;
|
|
@@ -4621,8 +4722,8 @@ h2.react-datepicker__current-month {
|
|
|
4621
4722
|
float: none !important;
|
|
4622
4723
|
border-left: 1px solid var(--app-border) !important;
|
|
4623
4724
|
}
|
|
4624
|
-
.react-datepicker__time-container .react-datepicker__header--time,
|
|
4625
|
-
.react-datepicker__time-container .react-datepicker__time,
|
|
4725
|
+
.react-datepicker__time-container .react-datepicker__header--time,
|
|
4726
|
+
.react-datepicker__time-container .react-datepicker__time,
|
|
4626
4727
|
.react-datepicker__time-container .react-datepicker__time-box {
|
|
4627
4728
|
background-color: var(--background-secondary) !important;
|
|
4628
4729
|
border-bottom-color: var(--app-border) !important;
|
|
@@ -4640,13 +4741,13 @@ h2.react-datepicker__current-month {
|
|
|
4640
4741
|
background-color: var(--background) !important;
|
|
4641
4742
|
color: var(--foreground) !important;
|
|
4642
4743
|
}
|
|
4643
|
-
.react-datepicker__time-list-item--selected,
|
|
4744
|
+
.react-datepicker__time-list-item--selected,
|
|
4644
4745
|
.react-datepicker__time-list-item--selected:hover {
|
|
4645
4746
|
background-color: var(--brand) !important;
|
|
4646
4747
|
color: #ffffff !important;
|
|
4647
4748
|
font-weight: 600 !important;
|
|
4648
4749
|
}
|
|
4649
|
-
.react-datepicker__time-list-item--disabled,
|
|
4750
|
+
.react-datepicker__time-list-item--disabled,
|
|
4650
4751
|
.react-datepicker__time-list-item--disabled:hover {
|
|
4651
4752
|
color: var(--foreground-muted) !important;
|
|
4652
4753
|
opacity: 0.4;
|
|
@@ -4662,18 +4763,18 @@ h2.react-datepicker__current-month {
|
|
|
4662
4763
|
.field-select:focus {
|
|
4663
4764
|
background-color: var(--input-bg) !important;
|
|
4664
4765
|
}
|
|
4665
|
-
.field-select option,
|
|
4766
|
+
.field-select option,
|
|
4666
4767
|
.field-select optgroup {
|
|
4667
4768
|
background-color: var(--background-secondary) !important;
|
|
4668
4769
|
color: var(--foreground) !important;
|
|
4669
4770
|
}
|
|
4670
|
-
.field-select option:checked,
|
|
4671
|
-
.field-select option:hover,
|
|
4771
|
+
.field-select option:checked,
|
|
4772
|
+
.field-select option:hover,
|
|
4672
4773
|
.field-select option:focus {
|
|
4673
4774
|
background-color: var(--brand) !important;
|
|
4674
4775
|
color: #ffffff !important;
|
|
4675
4776
|
}
|
|
4676
|
-
.dark .field-select,
|
|
4777
|
+
.dark .field-select,
|
|
4677
4778
|
[data-theme='dark'] .field-select {
|
|
4678
4779
|
color-scheme: dark;
|
|
4679
4780
|
}
|
|
@@ -4948,6 +5049,11 @@ h2.react-datepicker__current-month {
|
|
|
4948
5049
|
syntax: "*";
|
|
4949
5050
|
inherits: false;
|
|
4950
5051
|
}
|
|
5052
|
+
@keyframes spin {
|
|
5053
|
+
to {
|
|
5054
|
+
transform: rotate(360deg);
|
|
5055
|
+
}
|
|
5056
|
+
}
|
|
4951
5057
|
@keyframes pulse {
|
|
4952
5058
|
50% {
|
|
4953
5059
|
opacity: 0.5;
|
|
@@ -5013,4 +5119,4 @@ h2.react-datepicker__current-month {
|
|
|
5013
5119
|
--tw-ease: initial;
|
|
5014
5120
|
}
|
|
5015
5121
|
}
|
|
5016
|
-
}
|
|
5122
|
+
}
|