@nswds/app 1.59.0 → 1.60.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/dist/index.d.cts CHANGED
@@ -61,17 +61,30 @@ declare function Alert({ className, variant, ...props }: React$1.ComponentProps<
61
61
  declare function AlertTitle({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
62
62
  declare function AlertDescription({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
63
63
 
64
- declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
65
- declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
66
- declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
67
- declare function AlertDialogOverlay({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
68
- declare function AlertDialogContent({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
69
- declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
70
- declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
71
- declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
72
- declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
73
- declare function AlertDialogAction({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime.JSX.Element;
74
- declare function AlertDialogCancel({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime.JSX.Element;
64
+ declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
65
+ declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
66
+ declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
67
+ declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
68
+ declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
69
+ declare const AlertDialogHeader: {
70
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
71
+ displayName: string;
72
+ };
73
+ declare const AlertDialogFooter: {
74
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
75
+ displayName: string;
76
+ };
77
+ declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
78
+ declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
79
+ declare function AlertDialogAction({ className, variant, color, size, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action> & {
80
+ variant?: 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
81
+ color?: 'primary/grey' | 'light' | 'primary/white' | 'white' | 'grey' | 'primary' | 'secondary' | 'tertiary' | 'accent' | 'danger';
82
+ size?: 'default' | 'sm' | 'lg' | 'icon';
83
+ }): react_jsx_runtime.JSX.Element;
84
+ declare namespace AlertDialogAction {
85
+ var displayName: string | undefined;
86
+ }
87
+ declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
75
88
 
76
89
  type ColorUtility = 'bg' | 'stroke' | 'fill' | 'text';
77
90
  declare const chartColors: {
@@ -1251,6 +1264,7 @@ declare const Icons: {
1251
1264
  east: (props: IconProps) => react_jsx_runtime.JSX.Element;
1252
1265
  edit_square: (props: IconProps) => react_jsx_runtime.JSX.Element;
1253
1266
  edit: (props: IconProps) => react_jsx_runtime.JSX.Element;
1267
+ encrypted: (props: IconProps) => react_jsx_runtime.JSX.Element;
1254
1268
  error: (props: IconProps) => react_jsx_runtime.JSX.Element;
1255
1269
  exclamation: (props: IconProps) => react_jsx_runtime.JSX.Element;
1256
1270
  eye: (props: IconProps) => react_jsx_runtime.JSX.Element;
@@ -1284,6 +1298,8 @@ declare const Icons: {
1284
1298
  light_mode: (props: IconProps) => react_jsx_runtime.JSX.Element;
1285
1299
  link: (props: IconProps) => react_jsx_runtime.JSX.Element;
1286
1300
  list: (props: IconProps) => react_jsx_runtime.JSX.Element;
1301
+ lock: (props: IconProps) => react_jsx_runtime.JSX.Element;
1302
+ lock_person: (props: IconProps) => react_jsx_runtime.JSX.Element;
1287
1303
  login: (props: IconProps) => react_jsx_runtime.JSX.Element;
1288
1304
  logout: (props: IconProps) => react_jsx_runtime.JSX.Element;
1289
1305
  mail: (props: IconProps) => react_jsx_runtime.JSX.Element;
@@ -1326,6 +1342,7 @@ declare const Icons: {
1326
1342
  view_column: (props: IconProps) => react_jsx_runtime.JSX.Element;
1327
1343
  view_list: (props: IconProps) => react_jsx_runtime.JSX.Element;
1328
1344
  view_module: (props: IconProps) => react_jsx_runtime.JSX.Element;
1345
+ visibility_lock: (props: IconProps) => react_jsx_runtime.JSX.Element;
1329
1346
  warning: (props: IconProps) => react_jsx_runtime.JSX.Element;
1330
1347
  west: (props: IconProps) => react_jsx_runtime.JSX.Element;
1331
1348
  work: (props: IconProps) => react_jsx_runtime.JSX.Element;
@@ -2086,9 +2103,10 @@ declare const Tooltip: React__default.ForwardRefExoticComponent<TooltipProps & R
2086
2103
 
2087
2104
  declare function ViewToggle({ viewMode, setViewMode }: ViewToggleProps): react_jsx_runtime.JSX.Element;
2088
2105
 
2089
- declare function Wrapper({ children }: {
2106
+ declare function Wrapper({ children, className, ...props }: {
2090
2107
  children: React__default.ReactNode;
2091
- }): react_jsx_runtime.JSX.Element;
2108
+ className?: string;
2109
+ } & React__default.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
2092
2110
 
2093
2111
  declare function MultiLevelPushMenu({ navigation, onItemClick, onNavigate, onClose, className, showHeader, showFooter, showBreadcrumbs, showStats, showBackButton, initialTitle, }: MultiLevelPushMenuProps): react_jsx_runtime.JSX.Element;
2094
2112
 
package/dist/index.d.ts CHANGED
@@ -61,17 +61,30 @@ declare function Alert({ className, variant, ...props }: React$1.ComponentProps<
61
61
  declare function AlertTitle({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
62
62
  declare function AlertDescription({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
63
63
 
64
- declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
65
- declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
66
- declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
67
- declare function AlertDialogOverlay({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
68
- declare function AlertDialogContent({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
69
- declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
70
- declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
71
- declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
72
- declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
73
- declare function AlertDialogAction({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime.JSX.Element;
74
- declare function AlertDialogCancel({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime.JSX.Element;
64
+ declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
65
+ declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
66
+ declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
67
+ declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
68
+ declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
69
+ declare const AlertDialogHeader: {
70
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
71
+ displayName: string;
72
+ };
73
+ declare const AlertDialogFooter: {
74
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
75
+ displayName: string;
76
+ };
77
+ declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
78
+ declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
79
+ declare function AlertDialogAction({ className, variant, color, size, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action> & {
80
+ variant?: 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
81
+ color?: 'primary/grey' | 'light' | 'primary/white' | 'white' | 'grey' | 'primary' | 'secondary' | 'tertiary' | 'accent' | 'danger';
82
+ size?: 'default' | 'sm' | 'lg' | 'icon';
83
+ }): react_jsx_runtime.JSX.Element;
84
+ declare namespace AlertDialogAction {
85
+ var displayName: string | undefined;
86
+ }
87
+ declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
75
88
 
76
89
  type ColorUtility = 'bg' | 'stroke' | 'fill' | 'text';
77
90
  declare const chartColors: {
@@ -1251,6 +1264,7 @@ declare const Icons: {
1251
1264
  east: (props: IconProps) => react_jsx_runtime.JSX.Element;
1252
1265
  edit_square: (props: IconProps) => react_jsx_runtime.JSX.Element;
1253
1266
  edit: (props: IconProps) => react_jsx_runtime.JSX.Element;
1267
+ encrypted: (props: IconProps) => react_jsx_runtime.JSX.Element;
1254
1268
  error: (props: IconProps) => react_jsx_runtime.JSX.Element;
1255
1269
  exclamation: (props: IconProps) => react_jsx_runtime.JSX.Element;
1256
1270
  eye: (props: IconProps) => react_jsx_runtime.JSX.Element;
@@ -1284,6 +1298,8 @@ declare const Icons: {
1284
1298
  light_mode: (props: IconProps) => react_jsx_runtime.JSX.Element;
1285
1299
  link: (props: IconProps) => react_jsx_runtime.JSX.Element;
1286
1300
  list: (props: IconProps) => react_jsx_runtime.JSX.Element;
1301
+ lock: (props: IconProps) => react_jsx_runtime.JSX.Element;
1302
+ lock_person: (props: IconProps) => react_jsx_runtime.JSX.Element;
1287
1303
  login: (props: IconProps) => react_jsx_runtime.JSX.Element;
1288
1304
  logout: (props: IconProps) => react_jsx_runtime.JSX.Element;
1289
1305
  mail: (props: IconProps) => react_jsx_runtime.JSX.Element;
@@ -1326,6 +1342,7 @@ declare const Icons: {
1326
1342
  view_column: (props: IconProps) => react_jsx_runtime.JSX.Element;
1327
1343
  view_list: (props: IconProps) => react_jsx_runtime.JSX.Element;
1328
1344
  view_module: (props: IconProps) => react_jsx_runtime.JSX.Element;
1345
+ visibility_lock: (props: IconProps) => react_jsx_runtime.JSX.Element;
1329
1346
  warning: (props: IconProps) => react_jsx_runtime.JSX.Element;
1330
1347
  west: (props: IconProps) => react_jsx_runtime.JSX.Element;
1331
1348
  work: (props: IconProps) => react_jsx_runtime.JSX.Element;
@@ -2086,9 +2103,10 @@ declare const Tooltip: React__default.ForwardRefExoticComponent<TooltipProps & R
2086
2103
 
2087
2104
  declare function ViewToggle({ viewMode, setViewMode }: ViewToggleProps): react_jsx_runtime.JSX.Element;
2088
2105
 
2089
- declare function Wrapper({ children }: {
2106
+ declare function Wrapper({ children, className, ...props }: {
2090
2107
  children: React__default.ReactNode;
2091
- }): react_jsx_runtime.JSX.Element;
2108
+ className?: string;
2109
+ } & React__default.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
2092
2110
 
2093
2111
  declare function MultiLevelPushMenu({ navigation, onItemClick, onNavigate, onClose, className, showHeader, showFooter, showBreadcrumbs, showStats, showBackButton, initialTitle, }: MultiLevelPushMenuProps): react_jsx_runtime.JSX.Element;
2094
2112