@fairmint/ui 0.1.5 → 0.1.7

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 (125) hide show
  1. package/README.md +3 -2
  2. package/dist/components/FairmintProvider/FairmintProvider.d.ts +6 -1
  3. package/dist/components/FairmintProvider/FairmintProvider.d.ts.map +1 -1
  4. package/dist/components/form/EmailField.d.ts +8 -0
  5. package/dist/components/form/EmailField.d.ts.map +1 -0
  6. package/dist/components/form/Form.d.ts +13 -0
  7. package/dist/components/form/Form.d.ts.map +1 -0
  8. package/dist/components/form/FormField.d.ts +18 -0
  9. package/dist/components/form/FormField.d.ts.map +1 -0
  10. package/dist/components/form/PasswordField.d.ts +8 -0
  11. package/dist/components/form/PasswordField.d.ts.map +1 -0
  12. package/dist/components/form/PhoneField.d.ts +8 -0
  13. package/dist/components/form/PhoneField.d.ts.map +1 -0
  14. package/dist/components/generic/AnimateIn/AnimateIn.d.ts +18 -0
  15. package/dist/components/generic/AnimateIn/AnimateIn.d.ts.map +1 -0
  16. package/dist/components/generic/ConfirmDialog/ConfirmDialog.d.ts +23 -0
  17. package/dist/components/generic/ConfirmDialog/ConfirmDialog.d.ts.map +1 -0
  18. package/dist/components/generic/Currency/Currency.d.ts +11 -0
  19. package/dist/components/generic/Currency/Currency.d.ts.map +1 -0
  20. package/dist/components/generic/DataTable/DataTable.d.ts +37 -0
  21. package/dist/components/generic/DataTable/DataTable.d.ts.map +1 -0
  22. package/dist/components/generic/DateDisplay/DateDisplay.d.ts +7 -0
  23. package/dist/components/generic/DateDisplay/DateDisplay.d.ts.map +1 -0
  24. package/dist/components/generic/DetailDrawer/DetailDrawer.d.ts +16 -0
  25. package/dist/components/generic/DetailDrawer/DetailDrawer.d.ts.map +1 -0
  26. package/dist/components/generic/EmptyState/EmptyState.d.ts +17 -0
  27. package/dist/components/generic/EmptyState/EmptyState.d.ts.map +1 -0
  28. package/dist/components/generic/ListRow/ListRow.d.ts +33 -0
  29. package/dist/components/generic/ListRow/ListRow.d.ts.map +1 -0
  30. package/dist/components/generic/Percent/Percent.d.ts +9 -0
  31. package/dist/components/generic/Percent/Percent.d.ts.map +1 -0
  32. package/dist/components/generic/SearchInput/SearchInput.d.ts +16 -0
  33. package/dist/components/generic/SearchInput/SearchInput.d.ts.map +1 -0
  34. package/dist/components/generic/StatCard/StatCard.d.ts +19 -0
  35. package/dist/components/generic/StatCard/StatCard.d.ts.map +1 -0
  36. package/dist/components/generic/StatusBadge/StatusBadge.d.ts +11 -0
  37. package/dist/components/generic/StatusBadge/StatusBadge.d.ts.map +1 -0
  38. package/dist/components/layout/AppHeader/AppHeader.d.ts.map +1 -0
  39. package/dist/components/layout/PageHeader/PageHeader.d.ts.map +1 -0
  40. package/dist/components/layout/SideNav/SideNav.d.ts.map +1 -0
  41. package/dist/components/layout/UserMenu/UserMenu.d.ts.map +1 -0
  42. package/dist/components/primitives/ActionIcon/ActionIcon.d.ts +6 -0
  43. package/dist/components/primitives/ActionIcon/ActionIcon.d.ts.map +1 -0
  44. package/dist/components/primitives/Alert/Alert.d.ts +5 -0
  45. package/dist/components/primitives/Alert/Alert.d.ts.map +1 -0
  46. package/dist/components/primitives/Avatar/Avatar.d.ts +5 -0
  47. package/dist/components/primitives/Avatar/Avatar.d.ts.map +1 -0
  48. package/dist/components/primitives/Badge/Badge.d.ts +5 -0
  49. package/dist/components/primitives/Badge/Badge.d.ts.map +1 -0
  50. package/dist/components/primitives/Button/Button.d.ts +6 -0
  51. package/dist/components/primitives/Button/Button.d.ts.map +1 -0
  52. package/dist/components/primitives/Card/Card.d.ts +5 -0
  53. package/dist/components/primitives/Card/Card.d.ts.map +1 -0
  54. package/dist/components/primitives/Checkbox/Checkbox.d.ts +5 -0
  55. package/dist/components/primitives/Checkbox/Checkbox.d.ts.map +1 -0
  56. package/dist/components/primitives/Drawer/Drawer.d.ts +5 -0
  57. package/dist/components/primitives/Drawer/Drawer.d.ts.map +1 -0
  58. package/dist/components/primitives/Menu/Menu.d.ts +54 -0
  59. package/dist/components/primitives/Menu/Menu.d.ts.map +1 -0
  60. package/dist/components/primitives/Modal/Modal.d.ts +5 -0
  61. package/dist/components/primitives/Modal/Modal.d.ts.map +1 -0
  62. package/dist/components/primitives/PasswordInput/PasswordInput.d.ts +5 -0
  63. package/dist/components/primitives/PasswordInput/PasswordInput.d.ts.map +1 -0
  64. package/dist/components/primitives/Select/Select.d.ts +5 -0
  65. package/dist/components/primitives/Select/Select.d.ts.map +1 -0
  66. package/dist/components/primitives/Skeleton/Skeleton.d.ts +5 -0
  67. package/dist/components/primitives/Skeleton/Skeleton.d.ts.map +1 -0
  68. package/dist/components/primitives/Switch/Switch.d.ts +5 -0
  69. package/dist/components/primitives/Switch/Switch.d.ts.map +1 -0
  70. package/dist/components/primitives/Table/Table.d.ts +50 -0
  71. package/dist/components/primitives/Table/Table.d.ts.map +1 -0
  72. package/dist/components/primitives/Tabs/Tabs.d.ts +26 -0
  73. package/dist/components/primitives/Tabs/Tabs.d.ts.map +1 -0
  74. package/dist/components/primitives/TextInput/TextInput.d.ts +5 -0
  75. package/dist/components/primitives/TextInput/TextInput.d.ts.map +1 -0
  76. package/dist/components/primitives/Tooltip/Tooltip.d.ts +5 -0
  77. package/dist/components/primitives/Tooltip/Tooltip.d.ts.map +1 -0
  78. package/dist/components/primitives/layout.d.ts +3 -0
  79. package/dist/components/primitives/layout.d.ts.map +1 -0
  80. package/dist/components/specific/DocumentRow/DocumentRow.d.ts +17 -0
  81. package/dist/components/specific/DocumentRow/DocumentRow.d.ts.map +1 -0
  82. package/dist/components/specific/EquityGrantCard/EquityGrantCard.d.ts +23 -0
  83. package/dist/components/specific/EquityGrantCard/EquityGrantCard.d.ts.map +1 -0
  84. package/dist/components/specific/InvestmentCard/InvestmentCard.d.ts +19 -0
  85. package/dist/components/specific/InvestmentCard/InvestmentCard.d.ts.map +1 -0
  86. package/dist/components/specific/InvestorProfileCard/InvestorProfileCard.d.ts +15 -0
  87. package/dist/components/specific/InvestorProfileCard/InvestorProfileCard.d.ts.map +1 -0
  88. package/dist/fairmint-ui.cjs +25068 -240
  89. package/dist/fairmint-ui.cjs.map +1 -1
  90. package/dist/fairmint-ui.js +25047 -235
  91. package/dist/fairmint-ui.js.map +1 -1
  92. package/dist/hooks/index.d.ts +4 -0
  93. package/dist/hooks/index.d.ts.map +1 -0
  94. package/dist/hooks/useDebouncedCallback.d.ts +6 -0
  95. package/dist/hooks/useDebouncedCallback.d.ts.map +1 -0
  96. package/dist/hooks/useForm.d.ts +8 -0
  97. package/dist/hooks/useForm.d.ts.map +1 -0
  98. package/dist/hooks/useIsMobile.d.ts +6 -0
  99. package/dist/hooks/useIsMobile.d.ts.map +1 -0
  100. package/dist/index.d.ts +78 -9
  101. package/dist/index.d.ts.map +1 -1
  102. package/dist/notify.d.ts +23 -0
  103. package/dist/notify.d.ts.map +1 -0
  104. package/dist/styles.css +8046 -0
  105. package/dist/theme/colors.d.ts +37 -0
  106. package/dist/theme/colors.d.ts.map +1 -0
  107. package/dist/theme/index.d.ts +8 -6
  108. package/dist/theme/index.d.ts.map +1 -1
  109. package/dist/utils/address.d.ts +10 -0
  110. package/dist/utils/address.d.ts.map +1 -0
  111. package/dist/utils/avatar.d.ts +9 -0
  112. package/dist/utils/avatar.d.ts.map +1 -0
  113. package/dist/utils/format.d.ts +62 -0
  114. package/dist/utils/format.d.ts.map +1 -0
  115. package/dist/utils/index.d.ts +4 -0
  116. package/dist/utils/index.d.ts.map +1 -0
  117. package/package.json +8 -5
  118. package/dist/components/AppHeader/AppHeader.d.ts.map +0 -1
  119. package/dist/components/PageHeader/PageHeader.d.ts.map +0 -1
  120. package/dist/components/SideNav/SideNav.d.ts.map +0 -1
  121. package/dist/components/UserMenu/UserMenu.d.ts.map +0 -1
  122. /package/dist/components/{AppHeader → layout/AppHeader}/AppHeader.d.ts +0 -0
  123. /package/dist/components/{PageHeader → layout/PageHeader}/PageHeader.d.ts +0 -0
  124. /package/dist/components/{SideNav → layout/SideNav}/SideNav.d.ts +0 -0
  125. /package/dist/components/{UserMenu → layout/UserMenu}/UserMenu.d.ts +0 -0
package/README.md CHANGED
@@ -12,13 +12,14 @@ bun add @fairmint/ui
12
12
 
13
13
  Mantine is included as a dependency — no extra packages to install.
14
14
 
15
- ### 2. Import styles
15
+ ### 2. Import styles (required)
16
16
 
17
17
  ```typescript
18
+ // In your app's entry file (main.tsx, App.tsx, etc.)
18
19
  import '@fairmint/ui/styles.css';
19
20
  ```
20
21
 
21
- This single import includes both Mantine core styles and Fairmint component styles.
22
+ **This is required.** This single import includes Mantine core CSS, notification styles, and Fairmint component animations. Without it, components render unstyled. You do NOT need to install or import `@mantine/core/styles.css` separately — it's all included.
22
23
 
23
24
  ### 3. Wrap with provider
24
25
 
@@ -4,6 +4,11 @@ export interface FairmintProviderProps {
4
4
  children: ReactNode;
5
5
  /** Color scheme. @default "light" */
6
6
  colorScheme?: MantineColorScheme;
7
+ /**
8
+ * Notification position.
9
+ * @default "top-right"
10
+ */
11
+ notificationPosition?: "top-left" | "top-right" | "top-center" | "bottom-left" | "bottom-right" | "bottom-center";
7
12
  }
8
- export declare function FairmintProvider({ children, colorScheme }: FairmintProviderProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function FairmintProvider({ children, colorScheme, notificationPosition, }: FairmintProviderProps): import("react/jsx-runtime").JSX.Element;
9
14
  //# sourceMappingURL=FairmintProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FairmintProvider.d.ts","sourceRoot":"","sources":["../../../src/components/FairmintProvider/FairmintProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,qCAAqC;IACrC,WAAW,CAAC,EAAE,kBAAkB,CAAC;CAClC;AAED,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,WAAqB,EAAE,EAAE,qBAAqB,2CAU1F"}
1
+ {"version":3,"file":"FairmintProvider.d.ts","sourceRoot":"","sources":["../../../src/components/FairmintProvider/FairmintProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,qCAAqC;IACrC,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC;;;OAGG;IACH,oBAAoB,CAAC,EACjB,UAAU,GACV,WAAW,GACX,YAAY,GACZ,aAAa,GACb,cAAc,GACd,eAAe,CAAC;CACrB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,WAAqB,EACrB,oBAAkC,GACnC,EAAE,qBAAqB,2CAWvB"}
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import { TextInputProps } from '../primitives/TextInput/TextInput';
3
+ export declare const emailSchema: z.ZodString;
4
+ export interface EmailFieldProps extends Omit<TextInputProps, "type"> {
5
+ error?: string;
6
+ }
7
+ export declare function EmailField({ error, ...rest }: EmailFieldProps): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=EmailField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmailField.d.ts","sourceRoot":"","sources":["../../../src/components/form/EmailField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAGxE,eAAO,MAAM,WAAW,aAAyD,CAAC;AAElF,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,eAAe,2CAW7D"}
@@ -0,0 +1,13 @@
1
+ import { UseFormReturnType } from '@mantine/form';
2
+ import { ReactNode } from 'react';
3
+ import { z } from 'zod';
4
+ export interface FormProps<S extends z.ZodType> {
5
+ schema: S;
6
+ initialValues: z.infer<S>;
7
+ onSubmit: (values: z.infer<S>) => void | Promise<void>;
8
+ validateInputOnBlur?: boolean;
9
+ /** Form content. Receives form instance for getInputProps. */
10
+ children: (form: UseFormReturnType<z.infer<S>>) => ReactNode;
11
+ }
12
+ export declare function Form<S extends z.ZodType>({ schema, initialValues, onSubmit, validateInputOnBlur, children, }: FormProps<S>): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=Form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/components/form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAG7B,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO;IAC5C,MAAM,EAAE,CAAC,CAAC;IACV,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAC1B,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,8DAA8D;IAC9D,QAAQ,EAAE,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC;CAC9D;AAED,wBAAgB,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,EACxC,MAAM,EACN,aAAa,EACb,QAAQ,EACR,mBAA0B,EAC1B,QAAQ,GACT,EAAE,SAAS,CAAC,CAAC,CAAC,2CAQd"}
@@ -0,0 +1,18 @@
1
+ import { UseFormReturnType } from '@mantine/form';
2
+ import { ReactNode } from 'react';
3
+ export interface FormFieldProps {
4
+ /** Field name — must match a key in the parent form's schema. */
5
+ name: string;
6
+ /** Field label. */
7
+ label: string;
8
+ /** Helper text shown below the input. */
9
+ description?: string;
10
+ /** Whether the field is required. @default false */
11
+ required?: boolean;
12
+ /** Input slot. Must accept props from form.getInputProps(name). */
13
+ children?: ReactNode;
14
+ /** Form instance — from useForm. */
15
+ form: UseFormReturnType<Record<string, unknown>>;
16
+ }
17
+ export declare function FormField({ name, label, description, required, children, form, }: FormFieldProps): import("react/jsx-runtime").JSX.Element;
18
+ //# sourceMappingURL=FormField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../../src/components/form/FormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,cAAc;IAC7B,iEAAiE;IACjE,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,oCAAoC;IACpC,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CAClD;AAED,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,QAAgB,EAChB,QAAQ,EACR,IAAI,GACL,EAAE,cAAc,2CA6BhB"}
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import { PasswordInputProps } from '../primitives/PasswordInput/PasswordInput';
3
+ export declare const passwordSchema: z.ZodString;
4
+ export interface PasswordFieldProps extends PasswordInputProps {
5
+ error?: string;
6
+ }
7
+ export declare function PasswordField({ error, ...rest }: PasswordFieldProps): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=PasswordField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../../src/components/form/PasswordField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAGpF,eAAO,MAAM,cAAc,aAA8D,CAAC;AAE1F,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;IAC5D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,kBAAkB,2CAUnE"}
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import { TextInputProps } from '../primitives/TextInput/TextInput';
3
+ export declare const phoneSchema: z.ZodString;
4
+ export interface PhoneFieldProps extends Omit<TextInputProps, "type"> {
5
+ error?: string;
6
+ }
7
+ export declare function PhoneField({ error, ...rest }: PhoneFieldProps): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=PhoneField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PhoneField.d.ts","sourceRoot":"","sources":["../../../src/components/form/PhoneField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAGxE,eAAO,MAAM,WAAW,aAE+C,CAAC;AAExE,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,eAAe,2CAW7D"}
@@ -0,0 +1,18 @@
1
+ import { ReactNode } from 'react';
2
+ export type AnimateInDirection = "up" | "down" | "left" | "right" | "none";
3
+ export interface AnimateInProps {
4
+ /** Children to animate in. */
5
+ children: ReactNode;
6
+ /** Animation direction. @default "up" */
7
+ direction?: AnimateInDirection;
8
+ /** Animation duration in ms. @default 500 */
9
+ duration?: number;
10
+ /** Delay before animation starts in ms. @default 0 */
11
+ delay?: number;
12
+ /** CSS easing function. @default "cubic-bezier(0.22, 1, 0.36, 1)" */
13
+ easing?: string;
14
+ /** Additional class name. */
15
+ className?: string;
16
+ }
17
+ export declare function AnimateIn({ children, direction, duration, delay, easing, className, }: AnimateInProps): import("react/jsx-runtime").JSX.Element;
18
+ //# sourceMappingURL=AnimateIn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimateIn.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/AnimateIn/AnimateIn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3E,MAAM,WAAW,cAAc;IAC7B,8BAA8B;IAC9B,QAAQ,EAAE,SAAS,CAAC;IACpB,yCAAyC;IACzC,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAUD,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,SAAgB,EAChB,QAAc,EACd,KAAS,EACT,MAAyC,EACzC,SAAS,GACV,EAAE,cAAc,2CAYhB"}
@@ -0,0 +1,23 @@
1
+ import { ReactNode } from 'react';
2
+ export interface ConfirmDialogProps {
3
+ /** Dialog title. Accepts ReactNode for flexibility (layout component). */
4
+ title: ReactNode;
5
+ /** Confirmation message body. Accepts ReactNode for rich content (layout component). */
6
+ message: ReactNode;
7
+ /** Whether the dialog is open. */
8
+ opened: boolean;
9
+ /** Confirm button label. @default "Confirm" */
10
+ confirmLabel?: string;
11
+ /** Cancel button label. @default "Cancel" */
12
+ cancelLabel?: string;
13
+ /** Confirm button color. Use colors.error for destructive actions. @default colors.primary */
14
+ confirmColor?: string;
15
+ /** Called when user confirms. */
16
+ onConfirm: () => void;
17
+ /** Called when user cancels or closes. */
18
+ onCancel: () => void;
19
+ /** Whether the confirm action is loading. @default false */
20
+ loading?: boolean;
21
+ }
22
+ export declare function ConfirmDialog({ title, message, opened, confirmLabel, cancelLabel, confirmColor, onConfirm, onCancel, loading, }: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element;
23
+ //# sourceMappingURL=ConfirmDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/ConfirmDialog/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,MAAM,WAAW,kBAAkB;IACjC,0EAA0E;IAC1E,KAAK,EAAE,SAAS,CAAC;IACjB,wFAAwF;IACxF,OAAO,EAAE,SAAS,CAAC;IACnB,kCAAkC;IAClC,MAAM,EAAE,OAAO,CAAC;IAChB,+CAA+C;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8FAA8F;IAC9F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iCAAiC;IACjC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,OAAO,EACP,MAAM,EACN,YAAwB,EACxB,WAAsB,EACtB,YAA6B,EAC7B,SAAS,EACT,QAAQ,EACR,OAAe,GAChB,EAAE,kBAAkB,2CAgBpB"}
@@ -0,0 +1,11 @@
1
+ import { TextProps } from '../../primitives/layout';
2
+ export interface CurrencyProps extends Omit<TextProps, "children"> {
3
+ /** Numeric value to format. */
4
+ value: number;
5
+ /** Show sub-penny precision (up to 6 decimals). @default false */
6
+ precise?: boolean;
7
+ /** Currency code for non-USD display (e.g., "EUR"). Implies precise=true. */
8
+ currency?: string;
9
+ }
10
+ export declare function Currency({ value, precise, currency, ...rest }: CurrencyProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=Currency.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Currency.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/Currency/Currency.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAE/D,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAChE,+BAA+B;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,OAAe,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa,2CAcpF"}
@@ -0,0 +1,37 @@
1
+ import { ReactNode } from 'react';
2
+ export interface DataTableColumn<T extends Record<string, unknown>> {
3
+ /** Unique key matching a property in the data row. */
4
+ key: string;
5
+ /** Column header label. */
6
+ label: string;
7
+ /** Custom render function for the cell. */
8
+ render?: (row: T) => ReactNode;
9
+ /** Whether this column is sortable. @default false */
10
+ sortable?: boolean;
11
+ /** Column width (CSS value). */
12
+ width?: string | number;
13
+ }
14
+ export interface DataTableProps<T extends Record<string, unknown>> {
15
+ /** Column definitions. */
16
+ columns: DataTableColumn<T>[];
17
+ /** Data rows. */
18
+ data: T[];
19
+ /** Unique key for each row. @default "id" */
20
+ rowKey?: string;
21
+ /** Whether data is loading. @default false */
22
+ loading?: boolean;
23
+ /** Number of skeleton rows to show when loading. @default 5 */
24
+ loadingRows?: number;
25
+ /** Empty state title. @default "No data" */
26
+ emptyTitle?: string;
27
+ /** Empty state description. */
28
+ emptyDescription?: string;
29
+ /** Empty state icon. */
30
+ emptyIcon?: ReactNode;
31
+ /** Row click handler. */
32
+ onRowClick?: (row: T) => void;
33
+ /** Controlled sort callback. When provided, skips internal sort. */
34
+ onSortChange?: (key: string, direction: "asc" | "desc") => void;
35
+ }
36
+ export declare function DataTable<T extends Record<string, unknown>>({ columns, data, rowKey, loading, loadingRows, emptyTitle, emptyDescription, emptyIcon, onRowClick, onSortChange, }: DataTableProps<T>): import("react/jsx-runtime").JSX.Element;
37
+ //# sourceMappingURL=DataTable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/DataTable/DataTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAO1D,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAChE,sDAAsD;IACtD,GAAG,EAAE,MAAM,CAAC;IACZ,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,SAAS,CAAC;IAC/B,sDAAsD;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC/D,0BAA0B;IAC1B,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9B,iBAAiB;IACjB,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+BAA+B;IAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wBAAwB;IACxB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,yBAAyB;IACzB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B,oEAAoE;IACpE,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,GAAG,MAAM,KAAK,IAAI,CAAC;CACjE;AAwBD,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC3D,OAAO,EACP,IAAI,EACJ,MAAa,EACb,OAAe,EACf,WAAe,EACf,UAAsB,EACtB,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,YAAY,GACb,EAAE,cAAc,CAAC,CAAC,CAAC,2CAoGnB"}
@@ -0,0 +1,7 @@
1
+ import { TextProps } from '../../primitives/layout';
2
+ export interface DateDisplayProps extends Omit<TextProps, "children"> {
3
+ /** ISO date string or YYYY-MM-DD. */
4
+ value: string;
5
+ }
6
+ export declare function DateDisplay({ value, ...rest }: DateDisplayProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=DateDisplay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateDisplay.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/DateDisplay/DateDisplay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAE/D,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IACnE,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,2CAM/D"}
@@ -0,0 +1,16 @@
1
+ import { ReactNode } from 'react';
2
+ import { DrawerProps } from '../../primitives/Drawer/Drawer';
3
+ export interface DetailDrawerProps extends Omit<DrawerProps, "title"> {
4
+ /** Drawer title shown in the header. Accepts ReactNode for flexibility (layout component). */
5
+ title: ReactNode;
6
+ /** Whether the drawer is open. */
7
+ opened: boolean;
8
+ /** Close callback. */
9
+ onClose: () => void;
10
+ /** Drawer content. */
11
+ children: ReactNode;
12
+ /** Drawer width. @default "md" */
13
+ size?: DrawerProps["size"];
14
+ }
15
+ export declare function DetailDrawer({ title, opened, onClose, children, size, ...rest }: DetailDrawerProps): import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=DetailDrawer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailDrawer.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/DetailDrawer/DetailDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE1E,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;IACnE,8FAA8F;IAC9F,KAAK,EAAE,SAAS,CAAC;IACjB,kCAAkC;IAClC,MAAM,EAAE,OAAO,CAAC;IAChB,sBAAsB;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,sBAAsB;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,kCAAkC;IAClC,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC5B;AAED,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,MAAM,EACN,OAAO,EACP,QAAQ,EACR,IAAW,EACX,GAAG,IAAI,EACR,EAAE,iBAAiB,2CAcnB"}
@@ -0,0 +1,17 @@
1
+ import { ReactNode } from 'react';
2
+ export interface EmptyStateProps {
3
+ /** Icon element (ReactNode — use any icon library). */
4
+ icon?: ReactNode;
5
+ /** Primary heading. */
6
+ title: ReactNode;
7
+ /** Supporting description. */
8
+ description?: ReactNode;
9
+ /** CTA button label. If provided, `onAction` is required. */
10
+ actionLabel?: string;
11
+ /** CTA button callback. */
12
+ onAction?: () => void;
13
+ /** CTA button color. @default colors.primary */
14
+ actionColor?: string;
15
+ }
16
+ export declare function EmptyState({ icon, title, description, actionLabel, onAction, actionColor, }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
17
+ //# sourceMappingURL=EmptyState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/EmptyState/EmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,WAAW,eAAe;IAC9B,uDAAuD;IACvD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,uBAAuB;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,6DAA6D;IAC7D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,WAAW,EACX,QAAQ,EACR,WAA4B,GAC7B,EAAE,eAAe,2CAuBjB"}
@@ -0,0 +1,33 @@
1
+ import { ReactNode } from 'react';
2
+ export interface ListRowProps {
3
+ /** Avatar image URL. Falls back to `avatarFallback`. */
4
+ avatarSrc?: string;
5
+ /** Single character shown when `avatarSrc` is absent. */
6
+ avatarFallback?: string;
7
+ /** Avatar background color (Mantine color name). @default colors.primary */
8
+ avatarColor?: string;
9
+ /** Primary text. */
10
+ title: string;
11
+ /** Secondary text below title. */
12
+ subtitle?: string;
13
+ /** Right-aligned value text. */
14
+ value?: string;
15
+ /** Right-aligned secondary value text (below `value`). */
16
+ valueSubtitle?: string;
17
+ /** Right section slot — overrides `value`/`valueSubtitle` if provided. */
18
+ rightSection?: ReactNode;
19
+ /** Show chevron indicator. @default true when onClick is provided */
20
+ showChevron?: boolean;
21
+ /** Chevron icon override. */
22
+ chevronIcon?: ReactNode;
23
+ /** Click handler. Makes the row interactive. */
24
+ onClick?: () => void;
25
+ /** Entrance animation delay in seconds. Omit to skip animation. */
26
+ animationDelay?: number;
27
+ /** Whether this row is selected (highlighted state). @default false */
28
+ isSelected?: boolean;
29
+ /** aria-label for the button. Defaults to title. */
30
+ ariaLabel?: string;
31
+ }
32
+ export declare function ListRow({ avatarSrc, avatarFallback, avatarColor, title, subtitle, value, valueSubtitle, rightSection, showChevron, chevronIcon, onClick, animationDelay, isSelected, ariaLabel, }: ListRowProps): import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=ListRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListRow.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/ListRow/ListRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,WAAW,YAAY;IAC3B,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0EAA0E;IAC1E,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,qEAAqE;IACrE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,6BAA6B;IAC7B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,mEAAmE;IACnE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uEAAuE;IACvE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkBD,wBAAgB,OAAO,CAAC,EACtB,SAAS,EACT,cAAc,EACd,WAA4B,EAC5B,KAAK,EACL,QAAQ,EACR,KAAK,EACL,aAAa,EACb,YAAY,EACZ,WAAW,EACX,WAAW,EACX,OAAO,EACP,cAAc,EACd,UAAkB,EAClB,SAAS,GACV,EAAE,YAAY,2CA4Fd"}
@@ -0,0 +1,9 @@
1
+ import { TextProps } from '../../primitives/layout';
2
+ export interface PercentProps extends Omit<TextProps, "children"> {
3
+ /** Numeric value (e.g., 12.5 for 12.5%). */
4
+ value: number;
5
+ /** Decimal places. @default 2 */
6
+ decimals?: number;
7
+ }
8
+ export declare function Percent({ value, decimals, ...rest }: PercentProps): import("react/jsx-runtime").JSX.Element;
9
+ //# sourceMappingURL=Percent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Percent.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/Percent/Percent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAE/D,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC/D,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,OAAO,CAAC,EAAE,KAAK,EAAE,QAAY,EAAE,GAAG,IAAI,EAAE,EAAE,YAAY,2CAMrE"}
@@ -0,0 +1,16 @@
1
+ import { ReactNode } from 'react';
2
+ import { TextInputProps } from '../../primitives/TextInput/TextInput';
3
+ export interface SearchInputProps extends Omit<TextInputProps, "onChange" | "value"> {
4
+ /** Current search value (controlled). */
5
+ value: string;
6
+ /** Called with the debounced value after `debounceMs`. */
7
+ onChange: (value: string) => void;
8
+ /** Debounce delay in ms. @default 300 */
9
+ debounceMs?: number;
10
+ /** Left section icon. @default search icon SVG */
11
+ searchIcon?: ReactNode;
12
+ /** Clear button icon. @default × */
13
+ clearIcon?: ReactNode;
14
+ }
15
+ export declare function SearchInput({ value, onChange, debounceMs, searchIcon, clearIcon, placeholder, ...rest }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=SearchInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAC;AAIpE,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAEtF,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC;IAClF,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kDAAkD;IAClD,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,oCAAoC;IACpC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,UAAgB,EAChB,UAAU,EACV,SAAS,EACT,WAAyB,EACzB,GAAG,IAAI,EACR,EAAE,gBAAgB,2CAoElB"}
@@ -0,0 +1,19 @@
1
+ import { ReactNode } from 'react';
2
+ import { CardProps } from '../../primitives/Card/Card';
3
+ export interface StatCardProps extends Omit<CardProps, "children"> {
4
+ /** Card label (e.g., "Total Value"). */
5
+ label: string;
6
+ /** Formatted value string (e.g., "$125,000"). */
7
+ value: string;
8
+ /** Optional icon element. */
9
+ icon?: ReactNode;
10
+ /**
11
+ * Mantine color name for the gradient background.
12
+ * @default colors.primary
13
+ */
14
+ color?: string;
15
+ /** Optional trend or supporting text below the value. */
16
+ trend?: string;
17
+ }
18
+ export declare function StatCard({ label, value, icon, color, trend, ...rest }: StatCardProps): import("react/jsx-runtime").JSX.Element;
19
+ //# sourceMappingURL=StatCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatCard.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/StatCard/StatCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAGlE,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAChE,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,KAAK,EACL,IAAI,EACJ,KAAsB,EACtB,KAAK,EACL,GAAG,IAAI,EACR,EAAE,aAAa,2CAmCf"}
@@ -0,0 +1,11 @@
1
+ import { BadgeProps } from '../../primitives/Badge/Badge';
2
+ export interface StatusBadgeProps extends Omit<BadgeProps, "color" | "children"> {
3
+ /** Status string. Matched case-insensitively against colorMap. */
4
+ status: string;
5
+ /** Override or extend the default status→color mapping. */
6
+ colorMap?: Record<string, string>;
7
+ /** Display label. Defaults to capitalized status. */
8
+ label?: string;
9
+ }
10
+ export declare function StatusBadge({ status, colorMap, label, ...rest }: StatusBadgeProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=StatusBadge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusBadge.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/StatusBadge/StatusBadge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAiB/D,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,UAAU,CAAC;IAC9E,kEAAkE;IAClE,MAAM,EAAE,MAAM,CAAC;IACf,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,2CASjF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/AppHeader/AppHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,cAAc;IAC7B,6CAA6C;IAC7C,IAAI,EAAE,SAAS,CAAC;IAChB,kDAAkD;IAClD,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,yDAAyD;IACzD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,2CAA2C;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,YAAY,EACZ,eAAuB,EACvB,iBAAiB,EACjB,MAAW,GACZ,EAAE,cAAc,2CAkBhB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/PageHeader/PageHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,eAAe;IAC9B,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yEAAyE;IACzE,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,eAAe,2CActE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/SideNav/SideNav.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,WAAW;IAC1B,sEAAsE;IACtE,EAAE,EAAE,MAAM,CAAC;IACX,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,YAAY;IAC3B,kCAAkC;IAClC,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,qEAAqE;IACrE,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,OAAO,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAgB,EAAE,EAAE,YAAY,2CA0B7E"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/UserMenu/UserMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,YAAY;IAC3B,4CAA4C;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uCAAuC;IACvC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,aAAa;IAC5B,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2GAA2G;IAC3G,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,kBAAkB;IAClB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,sEAAsE;IACtE,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;AAED,wBAAgB,QAAQ,CAAC,EACvB,WAAW,EACX,aAAa,EACb,WAAsB,EACtB,SAAS,EACT,KAAK,EACL,WAAW,GACZ,EAAE,aAAa,2CAsCf"}
@@ -0,0 +1,6 @@
1
+ import { ActionIconProps as MantineActionIconProps } from '@mantine/core';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
+ export interface ActionIconProps extends MantineActionIconProps, Omit<ComponentPropsWithoutRef<"button">, keyof MantineActionIconProps> {
4
+ }
5
+ export declare const ActionIcon: import('react').ForwardRefExoticComponent<ActionIconProps & import('react').RefAttributes<HTMLButtonElement>>;
6
+ //# sourceMappingURL=ActionIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/ActionIcon/ActionIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,IAAI,sBAAsB,EAC/C,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAItD,MAAM,WAAW,eACf,SAAQ,sBAAsB,EAC5B,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,MAAM,sBAAsB,CAAC;CAAG;AAE7E,eAAO,MAAM,UAAU,+GAErB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { AlertProps as MantineAlertProps } from '@mantine/core';
2
+ export interface AlertProps extends MantineAlertProps {
3
+ }
4
+ export declare function Alert(props: AlertProps): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=Alert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,UAAU,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAE5F,MAAM,WAAW,UAAW,SAAQ,iBAAiB;CAAG;AAExD,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,2CAEtC"}
@@ -0,0 +1,5 @@
1
+ import { AvatarProps as MantineAvatarProps } from '@mantine/core';
2
+ export interface AvatarProps extends MantineAvatarProps {
3
+ }
4
+ export declare const Avatar: import('react').ForwardRefExoticComponent<AvatarProps & import('react').RefAttributes<HTMLDivElement>>;
5
+ //# sourceMappingURL=Avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,WAAW,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAIhG,MAAM,WAAW,WAAY,SAAQ,kBAAkB;CAAG;AAE1D,eAAO,MAAM,MAAM,wGAEjB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BadgeProps as MantineBadgeProps } from '@mantine/core';
2
+ export interface BadgeProps extends MantineBadgeProps {
3
+ }
4
+ export declare const Badge: import('react').ForwardRefExoticComponent<BadgeProps & import('react').RefAttributes<HTMLDivElement>>;
5
+ //# sourceMappingURL=Badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,UAAU,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAG5F,MAAM,WAAW,UAAW,SAAQ,iBAAiB;CAAG;AAExD,eAAO,MAAM,KAAK,uGAEhB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ButtonProps as MantineButtonProps } from '@mantine/core';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
+ export interface ButtonProps extends MantineButtonProps, Omit<ComponentPropsWithoutRef<"button">, keyof MantineButtonProps> {
4
+ }
5
+ export declare const Button: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
6
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,WAAW,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAChG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAItD,MAAM,WAAW,WACf,SAAQ,kBAAkB,EACxB,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,MAAM,kBAAkB,CAAC;CAAG;AAEzE,eAAO,MAAM,MAAM,2GAEjB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { CardProps as MantineCardProps } from '@mantine/core';
2
+ export interface CardProps extends MantineCardProps {
3
+ }
4
+ export declare const Card: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>>;
5
+ //# sourceMappingURL=Card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGxF,MAAM,WAAW,SAAU,SAAQ,gBAAgB;CAAG;AAEtD,eAAO,MAAM,IAAI,sGAEf,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { CheckboxProps as MantineCheckboxProps } from '@mantine/core';
2
+ export interface CheckboxProps extends MantineCheckboxProps {
3
+ }
4
+ export declare const Checkbox: import('react').ForwardRefExoticComponent<CheckboxProps & import('react').RefAttributes<HTMLInputElement>>;
5
+ //# sourceMappingURL=Checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,IAAI,oBAAoB,EAC3C,MAAM,eAAe,CAAC;AAIvB,MAAM,WAAW,aAAc,SAAQ,oBAAoB;CAAG;AAE9D,eAAO,MAAM,QAAQ,4GAEnB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { DrawerProps as MantineDrawerProps } from '@mantine/core';
2
+ export interface DrawerProps extends MantineDrawerProps {
3
+ }
4
+ export declare function Drawer(props: DrawerProps): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=Drawer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,WAAW,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEhG,MAAM,WAAW,WAAY,SAAQ,kBAAkB;CAAG;AAE1D,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,2CAExC"}
@@ -0,0 +1,54 @@
1
+ import { MenuProps as MantineMenuProps } from '@mantine/core';
2
+ export interface MenuProps extends MantineMenuProps {
3
+ }
4
+ declare function MenuBase(props: MenuProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare const Menu: typeof MenuBase & {
6
+ Target: import('react').ForwardRefExoticComponent<import('@mantine/core').MenuTargetProps & import('react').RefAttributes<HTMLElement>>;
7
+ Dropdown: import('@mantine/core').MantineComponent<{
8
+ props: import('@mantine/core').MenuDropdownProps;
9
+ ref: HTMLDivElement;
10
+ stylesNames: import('node_modules/@mantine/core/lib/components/Menu/MenuDropdown/MenuDropdown').MenuDropdownStylesNames;
11
+ compound: true;
12
+ }>;
13
+ Item: (<C = "button">(props: import('@mantine/core').PolymorphicComponentProps<C, import('@mantine/core').MenuItemProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(import('@mantine/core').MenuItemProps & {
14
+ component?: any;
15
+ } & Omit<Omit<any, "ref">, "component" | keyof import('@mantine/core').MenuItemProps> & {
16
+ ref?: any;
17
+ renderRoot?: (props: any) => any;
18
+ }) | (import('@mantine/core').MenuItemProps & {
19
+ component: React.ElementType;
20
+ renderRoot?: (props: Record<string, any>) => any;
21
+ })>, never> & import('@mantine/core').ThemeExtend<{
22
+ props: import('@mantine/core').MenuItemProps;
23
+ defaultRef: HTMLButtonElement;
24
+ defaultComponent: "button";
25
+ stylesNames: import('node_modules/@mantine/core/lib/components/Menu/MenuItem/MenuItem').MenuItemStylesNames;
26
+ compound: true;
27
+ }> & import('@mantine/core').ComponentClasses<{
28
+ props: import('@mantine/core').MenuItemProps;
29
+ defaultRef: HTMLButtonElement;
30
+ defaultComponent: "button";
31
+ stylesNames: import('node_modules/@mantine/core/lib/components/Menu/MenuItem/MenuItem').MenuItemStylesNames;
32
+ compound: true;
33
+ }> & import('@mantine/core').PolymorphicComponentWithProps<{
34
+ props: import('@mantine/core').MenuItemProps;
35
+ defaultRef: HTMLButtonElement;
36
+ defaultComponent: "button";
37
+ stylesNames: import('node_modules/@mantine/core/lib/components/Menu/MenuItem/MenuItem').MenuItemStylesNames;
38
+ compound: true;
39
+ }> & Record<string, never>;
40
+ Label: import('@mantine/core').MantineComponent<{
41
+ props: import('@mantine/core').MenuLabelProps;
42
+ ref: HTMLDivElement;
43
+ stylesNames: import('node_modules/@mantine/core/lib/components/Menu/MenuLabel/MenuLabel').MenuLabelStylesNames;
44
+ compound: true;
45
+ }>;
46
+ Divider: import('@mantine/core').MantineComponent<{
47
+ props: import('@mantine/core').MenuDividerProps;
48
+ ref: HTMLDivElement;
49
+ stylesNames: import('node_modules/@mantine/core/lib/components/Menu/MenuDivider/MenuDivider').MenuDividerStylesNames;
50
+ compound: true;
51
+ }>;
52
+ };
53
+ export {};
54
+ //# sourceMappingURL=Menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAExF,MAAM,WAAW,SAAU,SAAQ,gBAAgB;CAAG;AAEtD,iBAAS,QAAQ,CAAC,KAAK,EAAE,SAAS,2CAEjC;AAED,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMf,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { ModalProps as MantineModalProps } from '@mantine/core';
2
+ export interface ModalProps extends MantineModalProps {
3
+ }
4
+ export declare function Modal(props: ModalProps): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=Modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,UAAU,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAE5F,MAAM,WAAW,UAAW,SAAQ,iBAAiB;CAAG;AAExD,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,2CAEtC"}
@@ -0,0 +1,5 @@
1
+ import { PasswordInputProps as MantinePasswordInputProps } from '@mantine/core';
2
+ export interface PasswordInputProps extends MantinePasswordInputProps {
3
+ }
4
+ export declare const PasswordInput: import('react').ForwardRefExoticComponent<PasswordInputProps & import('react').RefAttributes<HTMLInputElement>>;
5
+ //# sourceMappingURL=PasswordInput.d.ts.map