mogh_ui 0.6.1 → 0.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.
Files changed (93) hide show
  1. package/dist/auth/index.cjs +10 -1
  2. package/dist/auth/index.cjs.map +1 -1
  3. package/dist/auth/index.d.cts +4 -3
  4. package/dist/auth/index.d.ts +4 -3
  5. package/dist/auth/index.js +9 -1
  6. package/dist/auth/index.js.map +1 -1
  7. package/dist/auth/login/header.d.cts +2 -2
  8. package/dist/auth/login/header.d.ts +2 -2
  9. package/dist/auth/login/index.cjs +24 -9
  10. package/dist/auth/login/index.cjs.map +1 -1
  11. package/dist/auth/login/index.d.cts +2 -2
  12. package/dist/auth/login/index.d.ts +2 -2
  13. package/dist/auth/login/index.js +32 -10
  14. package/dist/auth/login/index.js.map +1 -1
  15. package/dist/auth/profile/index.d.cts +1 -1
  16. package/dist/auth/profile/index.d.ts +1 -1
  17. package/dist/auth/profile/linked-logins.d.cts +2 -2
  18. package/dist/auth/profile/linked-logins.d.ts +2 -2
  19. package/dist/auth/profile/passkey.d.cts +2 -2
  20. package/dist/auth/profile/passkey.d.ts +2 -2
  21. package/dist/auth/profile/totp.d.cts +2 -2
  22. package/dist/auth/profile/totp.d.ts +2 -2
  23. package/dist/components/back-button.d.cts +2 -2
  24. package/dist/components/back-button.d.ts +2 -2
  25. package/dist/components/button-link.d.cts +2 -2
  26. package/dist/components/button-link.d.ts +2 -2
  27. package/dist/components/config/confirm.d.cts +2 -2
  28. package/dist/components/config/confirm.d.ts +2 -2
  29. package/dist/components/config/group.d.cts +1 -2
  30. package/dist/components/config/group.d.ts +1 -2
  31. package/dist/components/config/index.d.cts +3 -3
  32. package/dist/components/config/index.d.ts +3 -3
  33. package/dist/components/config/item.d.cts +3 -4
  34. package/dist/components/config/item.d.ts +3 -4
  35. package/dist/components/config/layout.d.cts +2 -2
  36. package/dist/components/config/layout.d.ts +2 -2
  37. package/dist/components/config/unsaved-changes.d.cts +2 -2
  38. package/dist/components/config/unsaved-changes.d.ts +2 -2
  39. package/dist/components/confirm-modal.d.cts +3 -3
  40. package/dist/components/confirm-modal.d.ts +3 -3
  41. package/dist/components/copy-button.d.cts +3 -3
  42. package/dist/components/copy-button.d.ts +3 -3
  43. package/dist/components/copy-text.d.cts +2 -2
  44. package/dist/components/copy-text.d.ts +2 -2
  45. package/dist/components/create-modal.d.cts +3 -3
  46. package/dist/components/create-modal.d.ts +3 -3
  47. package/dist/components/data-table.d.cts +3 -3
  48. package/dist/components/data-table.d.ts +3 -3
  49. package/dist/components/enable-switch.d.cts +2 -2
  50. package/dist/components/enable-switch.d.ts +2 -2
  51. package/dist/components/entity-header.d.cts +2 -2
  52. package/dist/components/entity-header.d.ts +2 -2
  53. package/dist/components/entity-page.d.cts +3 -3
  54. package/dist/components/entity-page.d.ts +3 -3
  55. package/dist/components/hover-error.d.cts +2 -2
  56. package/dist/components/hover-error.d.ts +2 -2
  57. package/dist/components/input-list.d.cts +2 -2
  58. package/dist/components/input-list.d.ts +2 -2
  59. package/dist/components/labelled-switch.d.cts +3 -3
  60. package/dist/components/labelled-switch.d.ts +3 -3
  61. package/dist/components/labels-group.d.cts +2 -2
  62. package/dist/components/labels-group.d.ts +2 -2
  63. package/dist/components/loading-screen.d.cts +2 -2
  64. package/dist/components/loading-screen.d.ts +2 -2
  65. package/dist/components/mobile-friendly-tabs.d.cts +5 -5
  66. package/dist/components/mobile-friendly-tabs.d.ts +5 -5
  67. package/dist/components/monaco/index.d.cts +3 -3
  68. package/dist/components/monaco/index.d.ts +3 -3
  69. package/dist/components/page-guard.d.cts +1 -2
  70. package/dist/components/page-guard.d.ts +1 -2
  71. package/dist/components/search-input.d.cts +2 -2
  72. package/dist/components/search-input.d.ts +2 -2
  73. package/dist/components/shared-text-update.d.cts +3 -3
  74. package/dist/components/shared-text-update.d.ts +3 -3
  75. package/dist/components/show-hide-button.d.cts +2 -2
  76. package/dist/components/show-hide-button.d.ts +2 -2
  77. package/dist/components/stat-bar.d.cts +3 -3
  78. package/dist/components/stat-bar.d.ts +3 -3
  79. package/dist/components/stat-cell.d.cts +3 -3
  80. package/dist/components/stat-cell.d.ts +3 -3
  81. package/dist/components/tabbed-page.d.cts +3 -3
  82. package/dist/components/tabbed-page.d.ts +3 -3
  83. package/dist/components/table-skeleton.d.cts +2 -2
  84. package/dist/components/table-skeleton.d.ts +2 -2
  85. package/dist/components/text-update-modal.d.cts +3 -3
  86. package/dist/components/text-update-modal.d.ts +3 -3
  87. package/dist/components/theme-toggle.d.cts +2 -2
  88. package/dist/components/theme-toggle.d.ts +2 -2
  89. package/dist/index.d.cts +1 -2
  90. package/dist/index.d.ts +1 -2
  91. package/dist/theme.d.cts +3 -3
  92. package/dist/theme.d.ts +3 -3
  93. package/package.json +26 -25
@@ -1,9 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ButtonProps } from '@mantine/core';
3
3
 
4
4
  interface BackButtonProps extends ButtonProps {
5
5
  to?: string | number;
6
6
  }
7
- declare function BackButton({ to, ...props }: BackButtonProps): react_jsx_runtime.JSX.Element;
7
+ declare function BackButton({ to, ...props }: BackButtonProps): react.JSX.Element;
8
8
 
9
9
  export { BackButton, type BackButtonProps };
@@ -1,9 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ButtonProps } from '@mantine/core';
3
3
 
4
4
  interface BackButtonProps extends ButtonProps {
5
5
  to?: string | number;
6
6
  }
7
- declare function BackButton({ to, ...props }: BackButtonProps): react_jsx_runtime.JSX.Element;
7
+ declare function BackButton({ to, ...props }: BackButtonProps): react.JSX.Element;
8
8
 
9
9
  export { BackButton, type BackButtonProps };
@@ -1,9 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ButtonProps } from '@mantine/core';
3
3
 
4
4
  interface ButtonLinkProps extends ButtonProps {
5
5
  to: string;
6
6
  }
7
- declare function ButtonLink({ to, ...props }: ButtonLinkProps): react_jsx_runtime.JSX.Element;
7
+ declare function ButtonLink({ to, ...props }: ButtonLinkProps): react.JSX.Element;
8
8
 
9
9
  export { ButtonLink, type ButtonLinkProps };
@@ -1,9 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ButtonProps } from '@mantine/core';
3
3
 
4
4
  interface ButtonLinkProps extends ButtonProps {
5
5
  to: string;
6
6
  }
7
- declare function ButtonLink({ to, ...props }: ButtonLinkProps): react_jsx_runtime.JSX.Element;
7
+ declare function ButtonLink({ to, ...props }: ButtonLinkProps): react.JSX.Element;
8
8
 
9
9
  export { ButtonLink, type ButtonLinkProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { MonacoLanguage } from '../monaco/index.cjs';
3
3
  import '@mantine/core';
4
4
 
@@ -15,6 +15,6 @@ interface ConfirmUpdateProps<T> {
15
15
  confirmKeyListener?: boolean;
16
16
  enableFancyToml?: boolean;
17
17
  }
18
- declare function ConfirmUpdate<T>({ original, update, onConfirm, loading, disabled, language, fileContentsLanguage, fullWidth, openKeyListener, confirmKeyListener, enableFancyToml, }: ConfirmUpdateProps<T>): react_jsx_runtime.JSX.Element;
18
+ declare function ConfirmUpdate<T>({ original, update, onConfirm, loading, disabled, language, fileContentsLanguage, fullWidth, openKeyListener, confirmKeyListener, enableFancyToml, }: ConfirmUpdateProps<T>): react.JSX.Element;
19
19
 
20
20
  export { ConfirmUpdate, type ConfirmUpdateProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { MonacoLanguage } from '../monaco/index.js';
3
3
  import '@mantine/core';
4
4
 
@@ -15,6 +15,6 @@ interface ConfirmUpdateProps<T> {
15
15
  confirmKeyListener?: boolean;
16
16
  enableFancyToml?: boolean;
17
17
  }
18
- declare function ConfirmUpdate<T>({ original, update, onConfirm, loading, disabled, language, fileContentsLanguage, fullWidth, openKeyListener, confirmKeyListener, enableFancyToml, }: ConfirmUpdateProps<T>): react_jsx_runtime.JSX.Element;
18
+ declare function ConfirmUpdate<T>({ original, update, onConfirm, loading, disabled, language, fileContentsLanguage, fullWidth, openKeyListener, confirmKeyListener, enableFancyToml, }: ConfirmUpdateProps<T>): react.JSX.Element;
19
19
 
20
20
  export { ConfirmUpdate, type ConfirmUpdateProps };
@@ -1,6 +1,5 @@
1
- import 'react/jsx-runtime';
2
- export { ConfigGroup } from './index.cjs';
3
1
  import 'react';
2
+ export { ConfigGroup } from './index.cjs';
4
3
  import '../monaco/index.cjs';
5
4
  import '@mantine/core';
6
5
  import './confirm.cjs';
@@ -1,6 +1,5 @@
1
- import 'react/jsx-runtime';
2
- export { ConfigGroup } from './index.js';
3
1
  import 'react';
2
+ export { ConfigGroup } from './index.js';
4
3
  import '../monaco/index.js';
5
4
  import '@mantine/core';
6
5
  import './confirm.js';
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { SetStateAction, ReactNode } from 'react';
3
3
  import { MonacoLanguage } from '../monaco/index.cjs';
4
4
  export { ConfirmUpdate, ConfirmUpdateProps } from './confirm.cjs';
@@ -15,7 +15,7 @@ declare function ConfigGroup<T>({ config, update, setUpdate, disabled, fields, }
15
15
  setUpdate: (update: Partial<T>) => void;
16
16
  disabled: boolean;
17
17
  fields: ConfigGroupArgs<T>["fields"];
18
- }): react_jsx_runtime.JSX.Element;
18
+ }): react.JSX.Element;
19
19
 
20
20
  interface ConfigFieldArgs {
21
21
  label?: string;
@@ -57,6 +57,6 @@ interface ConfigProps<T> {
57
57
  // Section key
58
58
  ConfigGroupArgs<T>[] | false | undefined>;
59
59
  }
60
- declare function Config<T>({ original, update, setUpdate, disabled, onSave, titleOther, disableSidebar, fileContentsLanguage, enableFancyToml, groups: _groups, }: ConfigProps<T>): react_jsx_runtime.JSX.Element;
60
+ declare function Config<T>({ original, update, setUpdate, disabled, onSave, titleOther, disableSidebar, fileContentsLanguage, enableFancyToml, groups: _groups, }: ConfigProps<T>): react.JSX.Element;
61
61
 
62
62
  export { Config, type ConfigFieldArgs, ConfigGroup, type ConfigGroupArgs, type ConfigProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { SetStateAction, ReactNode } from 'react';
3
3
  import { MonacoLanguage } from '../monaco/index.js';
4
4
  export { ConfirmUpdate, ConfirmUpdateProps } from './confirm.js';
@@ -15,7 +15,7 @@ declare function ConfigGroup<T>({ config, update, setUpdate, disabled, fields, }
15
15
  setUpdate: (update: Partial<T>) => void;
16
16
  disabled: boolean;
17
17
  fields: ConfigGroupArgs<T>["fields"];
18
- }): react_jsx_runtime.JSX.Element;
18
+ }): react.JSX.Element;
19
19
 
20
20
  interface ConfigFieldArgs {
21
21
  label?: string;
@@ -57,6 +57,6 @@ interface ConfigProps<T> {
57
57
  // Section key
58
58
  ConfigGroupArgs<T>[] | false | undefined>;
59
59
  }
60
- declare function Config<T>({ original, update, setUpdate, disabled, onSave, titleOther, disableSidebar, fileContentsLanguage, enableFancyToml, groups: _groups, }: ConfigProps<T>): react_jsx_runtime.JSX.Element;
60
+ declare function Config<T>({ original, update, setUpdate, disabled, onSave, titleOther, disableSidebar, fileContentsLanguage, enableFancyToml, groups: _groups, }: ConfigProps<T>): react.JSX.Element;
61
61
 
62
62
  export { Config, type ConfigFieldArgs, ConfigGroup, type ConfigGroupArgs, type ConfigProps };
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as react from 'react';
3
2
  import { ReactNode } from 'react';
4
3
  import * as _mantine_core from '@mantine/core';
@@ -30,16 +29,16 @@ declare function ConfigInput({ value, disabled, placeholder, onChange, onValueCh
30
29
  inputRight?: ReactNode;
31
30
  inputProps?: TextInputProps;
32
31
  email?: boolean;
33
- } & Omit<ConfigItemProps, "children">): react_jsx_runtime.JSX.Element;
32
+ } & Omit<ConfigItemProps, "children">): react.JSX.Element;
34
33
  declare function ConfigSwitch({ value, disabled, onCheckedChange, switchProps, ...itemProps }: {
35
34
  value: boolean | undefined;
36
35
  disabled: boolean;
37
36
  onCheckedChange: (value: boolean) => void;
38
37
  switchProps?: SwitchProps;
39
- } & Omit<ConfigItemProps, "children">): react_jsx_runtime.JSX.Element;
38
+ } & Omit<ConfigItemProps, "children">): react.JSX.Element;
40
39
  declare function ConfigList<T>({ addLabel, label, description, ...inputListProps }: {
41
40
  label?: string;
42
41
  addLabel?: string;
43
- } & InputListProps<T> & Omit<ConfigItemProps, "children">): react_jsx_runtime.JSX.Element;
42
+ } & InputListProps<T> & Omit<ConfigItemProps, "children">): react.JSX.Element;
44
43
 
45
44
  export { ConfigInput, ConfigItem, type ConfigItemProps, ConfigList, ConfigSwitch };
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as react from 'react';
3
2
  import { ReactNode } from 'react';
4
3
  import * as _mantine_core from '@mantine/core';
@@ -30,16 +29,16 @@ declare function ConfigInput({ value, disabled, placeholder, onChange, onValueCh
30
29
  inputRight?: ReactNode;
31
30
  inputProps?: TextInputProps;
32
31
  email?: boolean;
33
- } & Omit<ConfigItemProps, "children">): react_jsx_runtime.JSX.Element;
32
+ } & Omit<ConfigItemProps, "children">): react.JSX.Element;
34
33
  declare function ConfigSwitch({ value, disabled, onCheckedChange, switchProps, ...itemProps }: {
35
34
  value: boolean | undefined;
36
35
  disabled: boolean;
37
36
  onCheckedChange: (value: boolean) => void;
38
37
  switchProps?: SwitchProps;
39
- } & Omit<ConfigItemProps, "children">): react_jsx_runtime.JSX.Element;
38
+ } & Omit<ConfigItemProps, "children">): react.JSX.Element;
40
39
  declare function ConfigList<T>({ addLabel, label, description, ...inputListProps }: {
41
40
  label?: string;
42
41
  addLabel?: string;
43
- } & InputListProps<T> & Omit<ConfigItemProps, "children">): react_jsx_runtime.JSX.Element;
42
+ } & InputListProps<T> & Omit<ConfigItemProps, "children">): react.JSX.Element;
44
43
 
45
44
  export { ConfigInput, ConfigItem, type ConfigItemProps, ConfigList, ConfigSwitch };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { SectionProps } from '../section.cjs';
4
4
  import '@mantine/core';
@@ -6,6 +6,6 @@ import '@mantine/core';
6
6
  /** Includes save buttons */
7
7
  declare function ConfigLayout({ title, icon, titleOther, SaveOrReset, ...sectionProps }: {
8
8
  SaveOrReset: ReactNode | undefined;
9
- } & SectionProps): react_jsx_runtime.JSX.Element;
9
+ } & SectionProps): react.JSX.Element;
10
10
 
11
11
  export { ConfigLayout };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { SectionProps } from '../section.js';
4
4
  import '@mantine/core';
@@ -6,6 +6,6 @@ import '@mantine/core';
6
6
  /** Includes save buttons */
7
7
  declare function ConfigLayout({ title, icon, titleOther, SaveOrReset, ...sectionProps }: {
8
8
  SaveOrReset: ReactNode | undefined;
9
- } & SectionProps): react_jsx_runtime.JSX.Element;
9
+ } & SectionProps): react.JSX.Element;
10
10
 
11
11
  export { ConfigLayout };
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
3
  declare function UnsavedChanges({ fullWidth }: {
4
4
  fullWidth?: boolean;
5
- }): react_jsx_runtime.JSX.Element;
5
+ }): react.JSX.Element;
6
6
 
7
7
  export { UnsavedChanges };
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
3
  declare function UnsavedChanges({ fullWidth }: {
4
4
  fullWidth?: boolean;
5
- }): react_jsx_runtime.JSX.Element;
5
+ }): react.JSX.Element;
6
6
 
7
7
  export { UnsavedChanges };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ModalProps, ButtonProps } from '@mantine/core';
1
+ import * as react from 'react';
3
2
  import { ReactNode } from 'react';
3
+ import { ModalProps, ButtonProps } from '@mantine/core';
4
4
 
5
5
  interface ConfirmModalProps extends Omit<Omit<Omit<ModalProps, "opened">, "onClose">, "onClick"> {
6
6
  children?: ReactNode;
@@ -20,6 +20,6 @@ interface ConfirmModalProps extends Omit<Omit<Omit<ModalProps, "opened">, "onClo
20
20
  /** Converts into ConfirmButton */
21
21
  disableModal?: boolean;
22
22
  }
23
- declare function ConfirmModal({ children, icon, disabled, confirmText, title, confirmButtonContent, onConfirm, loading, additional, topAdditonal, targetProps, targetNoIcon, confirmProps, disableModal, ...modalProps }: ConfirmModalProps): react_jsx_runtime.JSX.Element;
23
+ declare function ConfirmModal({ children, icon, disabled, confirmText, title, confirmButtonContent, onConfirm, loading, additional, topAdditonal, targetProps, targetNoIcon, confirmProps, disableModal, ...modalProps }: ConfirmModalProps): react.JSX.Element;
24
24
 
25
25
  export { ConfirmModal, type ConfirmModalProps };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ModalProps, ButtonProps } from '@mantine/core';
1
+ import * as react from 'react';
3
2
  import { ReactNode } from 'react';
3
+ import { ModalProps, ButtonProps } from '@mantine/core';
4
4
 
5
5
  interface ConfirmModalProps extends Omit<Omit<Omit<ModalProps, "opened">, "onClose">, "onClick"> {
6
6
  children?: ReactNode;
@@ -20,6 +20,6 @@ interface ConfirmModalProps extends Omit<Omit<Omit<ModalProps, "opened">, "onClo
20
20
  /** Converts into ConfirmButton */
21
21
  disableModal?: boolean;
22
22
  }
23
- declare function ConfirmModal({ children, icon, disabled, confirmText, title, confirmButtonContent, onConfirm, loading, additional, topAdditonal, targetProps, targetNoIcon, confirmProps, disableModal, ...modalProps }: ConfirmModalProps): react_jsx_runtime.JSX.Element;
23
+ declare function ConfirmModal({ children, icon, disabled, confirmText, title, confirmButtonContent, onConfirm, loading, additional, topAdditonal, targetProps, targetNoIcon, confirmProps, disableModal, ...modalProps }: ConfirmModalProps): react.JSX.Element;
24
24
 
25
25
  export { ConfirmModal, type ConfirmModalProps };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ActionIconProps } from '@mantine/core';
1
+ import * as react from 'react';
3
2
  import { ReactNode } from 'react';
3
+ import { ActionIconProps } from '@mantine/core';
4
4
 
5
5
  interface CopyButtonProps {
6
6
  content: string;
@@ -9,7 +9,7 @@ interface CopyButtonProps {
9
9
  size?: string | number;
10
10
  buttonSize?: ActionIconProps["size"];
11
11
  }
12
- declare function CopyButton({ content, icon, label, size, buttonSize, }: CopyButtonProps): react_jsx_runtime.JSX.Element;
12
+ declare function CopyButton({ content, icon, label, size, buttonSize, }: CopyButtonProps): react.JSX.Element;
13
13
  declare function sendCopyNotification(label?: string): void;
14
14
 
15
15
  export { CopyButton, type CopyButtonProps, sendCopyNotification };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ActionIconProps } from '@mantine/core';
1
+ import * as react from 'react';
3
2
  import { ReactNode } from 'react';
3
+ import { ActionIconProps } from '@mantine/core';
4
4
 
5
5
  interface CopyButtonProps {
6
6
  content: string;
@@ -9,7 +9,7 @@ interface CopyButtonProps {
9
9
  size?: string | number;
10
10
  buttonSize?: ActionIconProps["size"];
11
11
  }
12
- declare function CopyButton({ content, icon, label, size, buttonSize, }: CopyButtonProps): react_jsx_runtime.JSX.Element;
12
+ declare function CopyButton({ content, icon, label, size, buttonSize, }: CopyButtonProps): react.JSX.Element;
13
13
  declare function sendCopyNotification(label?: string): void;
14
14
 
15
15
  export { CopyButton, type CopyButtonProps, sendCopyNotification };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { TextProps, GroupProps } from '@mantine/core';
3
3
 
4
4
  interface CopyTextProps extends TextProps {
@@ -6,6 +6,6 @@ interface CopyTextProps extends TextProps {
6
6
  label?: string;
7
7
  groupProps?: GroupProps;
8
8
  }
9
- declare function CopyText({ content, label, groupProps, ...textProps }: CopyTextProps): react_jsx_runtime.JSX.Element;
9
+ declare function CopyText({ content, label, groupProps, ...textProps }: CopyTextProps): react.JSX.Element;
10
10
 
11
11
  export { CopyText, type CopyTextProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { TextProps, GroupProps } from '@mantine/core';
3
3
 
4
4
  interface CopyTextProps extends TextProps {
@@ -6,6 +6,6 @@ interface CopyTextProps extends TextProps {
6
6
  label?: string;
7
7
  groupProps?: GroupProps;
8
8
  }
9
- declare function CopyText({ content, label, groupProps, ...textProps }: CopyTextProps): react_jsx_runtime.JSX.Element;
9
+ declare function CopyText({ content, label, groupProps, ...textProps }: CopyTextProps): react.JSX.Element;
10
10
 
11
11
  export { CopyText, type CopyTextProps };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ButtonProps, ModalBaseProps } from '@mantine/core';
1
+ import * as react from 'react';
3
2
  import { ReactNode } from 'react';
3
+ import { ButtonProps, ModalBaseProps } from '@mantine/core';
4
4
 
5
5
  interface CreateModalProps extends ButtonProps {
6
6
  entityType: string;
@@ -13,6 +13,6 @@ interface CreateModalProps extends ButtonProps {
13
13
  children?: ReactNode;
14
14
  modalSize?: ModalBaseProps["size"];
15
15
  }
16
- declare function CreateModal({ entityType, configSection, disabled, loading, onConfirm, onOpenChange, configureLabel, openShiftKeyListener, leftSection, children, modalSize, ...targetProps }: CreateModalProps): react_jsx_runtime.JSX.Element;
16
+ declare function CreateModal({ entityType, configSection, disabled, loading, onConfirm, onOpenChange, configureLabel, openShiftKeyListener, leftSection, children, modalSize, ...targetProps }: CreateModalProps): react.JSX.Element;
17
17
 
18
18
  export { CreateModal, type CreateModalProps };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ButtonProps, ModalBaseProps } from '@mantine/core';
1
+ import * as react from 'react';
3
2
  import { ReactNode } from 'react';
3
+ import { ButtonProps, ModalBaseProps } from '@mantine/core';
4
4
 
5
5
  interface CreateModalProps extends ButtonProps {
6
6
  entityType: string;
@@ -13,6 +13,6 @@ interface CreateModalProps extends ButtonProps {
13
13
  children?: ReactNode;
14
14
  modalSize?: ModalBaseProps["size"];
15
15
  }
16
- declare function CreateModal({ entityType, configSection, disabled, loading, onConfirm, onOpenChange, configureLabel, openShiftKeyListener, leftSection, children, modalSize, ...targetProps }: CreateModalProps): react_jsx_runtime.JSX.Element;
16
+ declare function CreateModal({ entityType, configSection, disabled, loading, onConfirm, onOpenChange, configureLabel, openShiftKeyListener, leftSection, children, modalSize, ...targetProps }: CreateModalProps): react.JSX.Element;
17
17
 
18
18
  export { CreateModal, type CreateModalProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode, Dispatch, SetStateAction } from 'react';
3
3
  import { ColumnDef, SortingState, RowSelectionState, Row, Column } from '@tanstack/react-table';
4
4
  import { BoxProps, DefaultMantineColor, TableProps } from '@mantine/core';
@@ -25,12 +25,12 @@ interface DataTableProps<TData, TValue = unknown> extends BoxProps {
25
25
  noBox?: boolean;
26
26
  noBorder?: boolean;
27
27
  }
28
- declare function DataTable<TData, TValue>({ tableKey, columns, data, loading, onRowClick, noResults, sortDescFirst, defaultSort, selectOptions, caption, tableProps, noBox, noBorder, mah, ...boxProps }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
28
+ declare function DataTable<TData, TValue>({ tableKey, columns, data, loading, onRowClick, noResults, sortDescFirst, defaultSort, selectOptions, caption, tableProps, noBox, noBorder, mah, ...boxProps }: DataTableProps<TData, TValue>): react.JSX.Element;
29
29
  declare const SortableHeader: <T, V>({ column, title, description, sortDescFirst, }: {
30
30
  column: Column<T, V>;
31
31
  title: string;
32
32
  description?: ReactNode;
33
33
  sortDescFirst?: boolean;
34
- }) => react_jsx_runtime.JSX.Element;
34
+ }) => react.JSX.Element;
35
35
 
36
36
  export { DataTable, type DataTableProps, SortableHeader };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode, Dispatch, SetStateAction } from 'react';
3
3
  import { ColumnDef, SortingState, RowSelectionState, Row, Column } from '@tanstack/react-table';
4
4
  import { BoxProps, DefaultMantineColor, TableProps } from '@mantine/core';
@@ -25,12 +25,12 @@ interface DataTableProps<TData, TValue = unknown> extends BoxProps {
25
25
  noBox?: boolean;
26
26
  noBorder?: boolean;
27
27
  }
28
- declare function DataTable<TData, TValue>({ tableKey, columns, data, loading, onRowClick, noResults, sortDescFirst, defaultSort, selectOptions, caption, tableProps, noBox, noBorder, mah, ...boxProps }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
28
+ declare function DataTable<TData, TValue>({ tableKey, columns, data, loading, onRowClick, noResults, sortDescFirst, defaultSort, selectOptions, caption, tableProps, noBox, noBorder, mah, ...boxProps }: DataTableProps<TData, TValue>): react.JSX.Element;
29
29
  declare const SortableHeader: <T, V>({ column, title, description, sortDescFirst, }: {
30
30
  column: Column<T, V>;
31
31
  title: string;
32
32
  description?: ReactNode;
33
33
  sortDescFirst?: boolean;
34
- }) => react_jsx_runtime.JSX.Element;
34
+ }) => react.JSX.Element;
35
35
 
36
36
  export { DataTable, type DataTableProps, SortableHeader };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { SwitchProps, GroupProps } from '@mantine/core';
3
3
 
4
4
  interface EnableSwitchProps extends SwitchProps {
@@ -7,6 +7,6 @@ interface EnableSwitchProps extends SwitchProps {
7
7
  redDisabled?: boolean;
8
8
  labelProps?: GroupProps;
9
9
  }
10
- declare function EnableSwitch({ checked, color, label, onChange, onCheckedChange, disabled, redDisabled, labelProps, ...props }: EnableSwitchProps): react_jsx_runtime.JSX.Element;
10
+ declare function EnableSwitch({ checked, color, label, onChange, onCheckedChange, disabled, redDisabled, labelProps, ...props }: EnableSwitchProps): react.JSX.Element;
11
11
 
12
12
  export { EnableSwitch, type EnableSwitchProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { SwitchProps, GroupProps } from '@mantine/core';
3
3
 
4
4
  interface EnableSwitchProps extends SwitchProps {
@@ -7,6 +7,6 @@ interface EnableSwitchProps extends SwitchProps {
7
7
  redDisabled?: boolean;
8
8
  labelProps?: GroupProps;
9
9
  }
10
- declare function EnableSwitch({ checked, color, label, onChange, onCheckedChange, disabled, redDisabled, labelProps, ...props }: EnableSwitchProps): react_jsx_runtime.JSX.Element;
10
+ declare function EnableSwitch({ checked, color, label, onChange, onCheckedChange, disabled, redDisabled, labelProps, ...props }: EnableSwitchProps): react.JSX.Element;
11
11
 
12
12
  export { EnableSwitch, type EnableSwitchProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { FC, ReactNode } from 'react';
3
3
  import { ColorIntention } from '../color.cjs';
4
4
 
@@ -15,6 +15,6 @@ interface EntityHeaderProps {
15
15
  onRename?: (name: string) => Promise<unknown>;
16
16
  renamePending?: boolean;
17
17
  }
18
- declare function EntityHeader({ name, icon: Icon, intent, state, status, action, onRename: _onRename, renamePending, }: EntityHeaderProps): react_jsx_runtime.JSX.Element;
18
+ declare function EntityHeader({ name, icon: Icon, intent, state, status, action, onRename: _onRename, renamePending, }: EntityHeaderProps): react.JSX.Element;
19
19
 
20
20
  export { EntityHeader, type EntityHeaderProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { FC, ReactNode } from 'react';
3
3
  import { ColorIntention } from '../color.js';
4
4
 
@@ -15,6 +15,6 @@ interface EntityHeaderProps {
15
15
  onRename?: (name: string) => Promise<unknown>;
16
16
  renamePending?: boolean;
17
17
  }
18
- declare function EntityHeader({ name, icon: Icon, intent, state, status, action, onRename: _onRename, renamePending, }: EntityHeaderProps): react_jsx_runtime.JSX.Element;
18
+ declare function EntityHeader({ name, icon: Icon, intent, state, status, action, onRename: _onRename, renamePending, }: EntityHeaderProps): react.JSX.Element;
19
19
 
20
20
  export { EntityHeader, type EntityHeaderProps };
@@ -1,11 +1,11 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StackProps } from '@mantine/core';
1
+ import * as react from 'react';
3
2
  import { ReactNode } from 'react';
3
+ import { StackProps } from '@mantine/core';
4
4
 
5
5
  interface EntityPageProps extends StackProps {
6
6
  backTo?: string;
7
7
  actions?: ReactNode;
8
8
  }
9
- declare function EntityPage({ backTo, actions, children, ...props }: EntityPageProps): react_jsx_runtime.JSX.Element;
9
+ declare function EntityPage({ backTo, actions, children, ...props }: EntityPageProps): react.JSX.Element;
10
10
 
11
11
  export { EntityPage, type EntityPageProps };
@@ -1,11 +1,11 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StackProps } from '@mantine/core';
1
+ import * as react from 'react';
3
2
  import { ReactNode } from 'react';
3
+ import { StackProps } from '@mantine/core';
4
4
 
5
5
  interface EntityPageProps extends StackProps {
6
6
  backTo?: string;
7
7
  actions?: ReactNode;
8
8
  }
9
- declare function EntityPage({ backTo, actions, children, ...props }: EntityPageProps): react_jsx_runtime.JSX.Element;
9
+ declare function EntityPage({ backTo, actions, children, ...props }: EntityPageProps): react.JSX.Element;
10
10
 
11
11
  export { EntityPage, type EntityPageProps };
@@ -1,9 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
3
  interface HoverErrorProps {
4
4
  error: string;
5
5
  trace: string[];
6
6
  }
7
- declare function HoverError({ error, trace }: HoverErrorProps): react_jsx_runtime.JSX.Element;
7
+ declare function HoverError({ error, trace }: HoverErrorProps): react.JSX.Element;
8
8
 
9
9
  export { HoverError, type HoverErrorProps };
@@ -1,9 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
3
  interface HoverErrorProps {
4
4
  error: string;
5
5
  trace: string[];
6
6
  }
7
- declare function HoverError({ error, trace }: HoverErrorProps): react_jsx_runtime.JSX.Element;
7
+ declare function HoverError({ error, trace }: HoverErrorProps): react.JSX.Element;
8
8
 
9
9
  export { HoverError, type HoverErrorProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { TextInputProps } from '@mantine/core';
3
3
 
4
4
  interface InputListProps<T> {
@@ -9,6 +9,6 @@ interface InputListProps<T> {
9
9
  placeholder?: string;
10
10
  inputProps?: TextInputProps;
11
11
  }
12
- declare function InputList<T>({ field, values, disabled, set, placeholder, inputProps, }: InputListProps<T>): react_jsx_runtime.JSX.Element;
12
+ declare function InputList<T>({ field, values, disabled, set, placeholder, inputProps, }: InputListProps<T>): react.JSX.Element;
13
13
 
14
14
  export { InputList, type InputListProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { TextInputProps } from '@mantine/core';
3
3
 
4
4
  interface InputListProps<T> {
@@ -9,6 +9,6 @@ interface InputListProps<T> {
9
9
  placeholder?: string;
10
10
  inputProps?: TextInputProps;
11
11
  }
12
- declare function InputList<T>({ field, values, disabled, set, placeholder, inputProps, }: InputListProps<T>): react_jsx_runtime.JSX.Element;
12
+ declare function InputList<T>({ field, values, disabled, set, placeholder, inputProps, }: InputListProps<T>): react.JSX.Element;
13
13
 
14
14
  export { InputList, type InputListProps };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { SwitchProps, GroupProps, TextProps } from '@mantine/core';
1
+ import * as react from 'react';
3
2
  import { ReactNode } from 'react';
3
+ import { SwitchProps, GroupProps, TextProps } from '@mantine/core';
4
4
 
5
5
  interface LabelledSwitchProps extends SwitchProps {
6
6
  checked: boolean | undefined;
@@ -9,6 +9,6 @@ interface LabelledSwitchProps extends SwitchProps {
9
9
  groupProps?: GroupProps;
10
10
  labelProps?: TextProps;
11
11
  }
12
- declare function LabelledSwitch({ checked, onCheckedChange, label, groupProps, labelProps, ...switchProps }: LabelledSwitchProps): react_jsx_runtime.JSX.Element;
12
+ declare function LabelledSwitch({ checked, onCheckedChange, label, groupProps, labelProps, ...switchProps }: LabelledSwitchProps): react.JSX.Element;
13
13
 
14
14
  export { LabelledSwitch, type LabelledSwitchProps };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { SwitchProps, GroupProps, TextProps } from '@mantine/core';
1
+ import * as react from 'react';
3
2
  import { ReactNode } from 'react';
3
+ import { SwitchProps, GroupProps, TextProps } from '@mantine/core';
4
4
 
5
5
  interface LabelledSwitchProps extends SwitchProps {
6
6
  checked: boolean | undefined;
@@ -9,6 +9,6 @@ interface LabelledSwitchProps extends SwitchProps {
9
9
  groupProps?: GroupProps;
10
10
  labelProps?: TextProps;
11
11
  }
12
- declare function LabelledSwitch({ checked, onCheckedChange, label, groupProps, labelProps, ...switchProps }: LabelledSwitchProps): react_jsx_runtime.JSX.Element;
12
+ declare function LabelledSwitch({ checked, onCheckedChange, label, groupProps, labelProps, ...switchProps }: LabelledSwitchProps): react.JSX.Element;
13
13
 
14
14
  export { LabelledSwitch, type LabelledSwitchProps };
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { GroupProps } from '@mantine/core';
3
3
 
4
4
  interface LabelsGroupProps extends GroupProps {
5
5
  labels: [string, string][];
6
6
  showEllipsis?: boolean;
7
7
  }
8
- declare function LabelsGroup({ labels, showEllipsis, ...groupProps }: LabelsGroupProps): react_jsx_runtime.JSX.Element;
8
+ declare function LabelsGroup({ labels, showEllipsis, ...groupProps }: LabelsGroupProps): react.JSX.Element;
9
9
 
10
10
  export { LabelsGroup, type LabelsGroupProps };