@wellingtonhlc/shared-ui 0.26.12 → 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.
@@ -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
+ }
@@ -0,0 +1,14 @@
1
+ import { type ReactNode, type RefObject } from 'react';
2
+ export interface DismissiblePopoverProps {
3
+ open: boolean;
4
+ onOpenChange: (open: boolean) => void;
5
+ trigger: ReactNode;
6
+ content: ReactNode;
7
+ className?: string;
8
+ contentClassName?: string;
9
+ containerRef?: RefObject<HTMLDivElement | null>;
10
+ closeDelay?: number;
11
+ animationDuration?: number;
12
+ }
13
+ export declare function DismissiblePopover({ open, onOpenChange, trigger, content, className, contentClassName, containerRef, closeDelay, animationDuration, }: DismissiblePopoverProps): import("react").JSX.Element;
14
+ //# sourceMappingURL=DismissiblePopover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DismissiblePopover.d.ts","sourceRoot":"","sources":["../../src/components/DismissiblePopover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIpF,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,OAAO,EAAE,SAAS,CAAC;IACnB,OAAO,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,OAAO,EACP,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,UAAiB,EACjB,iBAAuB,GACxB,EAAE,uBAAuB,+BA6EzB"}
@@ -0,0 +1,51 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useEffect, useRef, useState } from 'react';
3
+ import { cn } from '../utils/cn';
4
+ export function DismissiblePopover({ open, onOpenChange, trigger, content, className, contentClassName, containerRef, closeDelay = 1500, animationDuration = 180, }) {
5
+ const closeTimerRef = useRef(null);
6
+ const animationTimerRef = useRef(null);
7
+ const [contentVisible, setContentVisible] = useState(open);
8
+ useEffect(() => {
9
+ if (closeTimerRef.current !== null) {
10
+ window.clearTimeout(closeTimerRef.current);
11
+ closeTimerRef.current = null;
12
+ }
13
+ if (open) {
14
+ setContentVisible(true);
15
+ return undefined;
16
+ }
17
+ animationTimerRef.current = window.setTimeout(() => {
18
+ setContentVisible(false);
19
+ animationTimerRef.current = null;
20
+ }, animationDuration);
21
+ return () => {
22
+ if (animationTimerRef.current !== null) {
23
+ window.clearTimeout(animationTimerRef.current);
24
+ animationTimerRef.current = null;
25
+ }
26
+ };
27
+ }, [animationDuration, open]);
28
+ useEffect(() => () => {
29
+ if (closeTimerRef.current !== null)
30
+ window.clearTimeout(closeTimerRef.current);
31
+ if (animationTimerRef.current !== null)
32
+ window.clearTimeout(animationTimerRef.current);
33
+ }, []);
34
+ function clearCloseTimer() {
35
+ if (closeTimerRef.current !== null) {
36
+ window.clearTimeout(closeTimerRef.current);
37
+ closeTimerRef.current = null;
38
+ }
39
+ }
40
+ function handleMouseEnter() {
41
+ clearCloseTimer();
42
+ }
43
+ function handleMouseLeave() {
44
+ clearCloseTimer();
45
+ closeTimerRef.current = window.setTimeout(() => {
46
+ onOpenChange(false);
47
+ closeTimerRef.current = null;
48
+ }, closeDelay);
49
+ }
50
+ return (_jsxs("div", { ref: containerRef, className: cn('relative', className), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onFocus: handleMouseEnter, children: [trigger, contentVisible ? (_jsx("div", { "data-state": open ? 'open' : 'closed', className: cn('transition-[opacity,transform] ease-out', open ? 'translate-x-0 opacity-100' : 'pointer-events-none translate-x-2 opacity-0', contentClassName), style: { transitionDuration: `${animationDuration}ms` }, children: content })) : null] }));
51
+ }
@@ -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,11 @@ 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';
9
+ export { DismissiblePopover, type DismissiblePopoverProps } from './components/DismissiblePopover';
6
10
  export { ConfirmationDialog, type ConfirmationDialogAction, type ConfirmationDialogProps, type ConfirmationDialogVariant, type ConfirmationDialogVariantInput, } from './components/ConfirmationDialog';
7
11
  export { CopyableField, type CopyableFieldProps } from './components/CopyableField';
8
12
  export { FieldGroup, FormSection, type FieldGroupProps } from './components/FieldGroup';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],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O,EACL,MAAM,EACN,uBAAuB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,KAAK,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAC/G,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACpF,OAAO,EACL,wBAAwB,EACxB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,GAC3B,MAAM,uCAAuC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,OAAO,EACL,IAAI,EACJ,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,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,11 @@ 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';
9
+ export { DismissiblePopover } from './components/DismissiblePopover';
6
10
  export { ConfirmationDialog, } from './components/ConfirmationDialog';
7
11
  export { CopyableField } from './components/CopyableField';
8
12
  export { FieldGroup, FormSection } from './components/FieldGroup';