@teelur/budget-board-ui 0.1.0 → 0.2.0-canary.100.bce7f0b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -2
- package/dist/ActionIcon/ActionIcon.d.ts +17 -0
- package/dist/ActionIcon/ActionIcon.d.ts.map +1 -0
- package/dist/Alert/Alert.d.ts +11 -0
- package/dist/Alert/Alert.d.ts.map +1 -0
- package/dist/AmountText/AmountText.d.ts +27 -0
- package/dist/AmountText/AmountText.d.ts.map +1 -0
- package/dist/AppShell/AppShell.d.ts +19 -0
- package/dist/AppShell/AppShell.d.ts.map +1 -0
- package/dist/Autocomplete/Autocomplete.d.ts +4 -0
- package/dist/Autocomplete/Autocomplete.d.ts.map +1 -0
- package/dist/Badge/Badge.d.ts +18 -0
- package/dist/Badge/Badge.d.ts.map +1 -0
- package/dist/BodyText/BodyText.d.ts +5 -0
- package/dist/BodyText/BodyText.d.ts.map +1 -0
- package/dist/Button/Button.d.ts +8 -6
- package/dist/Button/Button.d.ts.map +1 -1
- package/dist/CaptionText/CaptionText.d.ts +5 -0
- package/dist/CaptionText/CaptionText.d.ts.map +1 -0
- package/dist/Card/Card.d.ts +58 -0
- package/dist/Card/Card.d.ts.map +1 -0
- package/dist/CategoryMultiSelect/CategoryMultiSelect.d.ts +19 -0
- package/dist/CategoryMultiSelect/CategoryMultiSelect.d.ts.map +1 -0
- package/dist/CategorySelect/CategorySelect.d.ts +25 -0
- package/dist/CategorySelect/CategorySelect.d.ts.map +1 -0
- package/dist/CategorySelect/categoryOptions.d.ts +18 -0
- package/dist/CategorySelect/categoryOptions.d.ts.map +1 -0
- package/dist/Checkbox/Checkbox.d.ts +4 -0
- package/dist/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/Code/Code.d.ts +4 -0
- package/dist/Code/Code.d.ts.map +1 -0
- package/dist/CollapsibleCard/CollapsibleCard.d.ts +11 -0
- package/dist/CollapsibleCard/CollapsibleCard.d.ts.map +1 -0
- package/dist/Combobox/Combobox.d.ts +9 -0
- package/dist/Combobox/Combobox.d.ts.map +1 -0
- package/dist/DataText/DataText.d.ts +5 -0
- package/dist/DataText/DataText.d.ts.map +1 -0
- package/dist/DateInput/DateInput.d.ts +4 -0
- package/dist/DateInput/DateInput.d.ts.map +1 -0
- package/dist/DatePickerInput/DatePickerInput.d.ts +4 -0
- package/dist/DatePickerInput/DatePickerInput.d.ts.map +1 -0
- package/dist/DisplayText/DisplayText.d.ts +5 -0
- package/dist/DisplayText/DisplayText.d.ts.map +1 -0
- package/dist/Divider/Divider.d.ts +5 -0
- package/dist/Divider/Divider.d.ts.map +1 -0
- package/dist/Drawer/Drawer.d.ts +5 -0
- package/dist/Drawer/Drawer.d.ts.map +1 -0
- package/dist/FileInput/FileInput.d.ts +4 -0
- package/dist/FileInput/FileInput.d.ts.map +1 -0
- package/dist/FlowsChart/FlowsChart.d.ts +48 -0
- package/dist/FlowsChart/FlowsChart.d.ts.map +1 -0
- package/dist/HeadingText/HeadingText.d.ts +11 -0
- package/dist/HeadingText/HeadingText.d.ts.map +1 -0
- package/dist/LoadingOverlay/LoadingOverlay.d.ts +4 -0
- package/dist/LoadingOverlay/LoadingOverlay.d.ts.map +1 -0
- package/dist/Modal/Modal.d.ts +5 -0
- package/dist/Modal/Modal.d.ts.map +1 -0
- package/dist/MonthPickerInput/MonthPickerInput.d.ts +4 -0
- package/dist/MonthPickerInput/MonthPickerInput.d.ts.map +1 -0
- package/dist/MonthToolcards/MonthToolcards.d.ts +15 -0
- package/dist/MonthToolcards/MonthToolcards.d.ts.map +1 -0
- package/dist/MonthlySpendingChart/MonthlySpendingChart.d.ts +19 -0
- package/dist/MonthlySpendingChart/MonthlySpendingChart.d.ts.map +1 -0
- package/dist/MultiSelect/MultiSelect.d.ts +12 -0
- package/dist/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/dist/NavbarLink/NavbarLink.d.ts +26 -0
- package/dist/NavbarLink/NavbarLink.d.ts.map +1 -0
- package/dist/NetCashFlowChart/NetCashFlowChart.d.ts +23 -0
- package/dist/NetCashFlowChart/NetCashFlowChart.d.ts.map +1 -0
- package/dist/NetWorthChart/NetWorthChart.d.ts +23 -0
- package/dist/NetWorthChart/NetWorthChart.d.ts.map +1 -0
- package/dist/Notification/Notification.d.ts +9 -0
- package/dist/Notification/Notification.d.ts.map +1 -0
- package/dist/NumberInput/NumberInput.d.ts +6 -0
- package/dist/NumberInput/NumberInput.d.ts.map +1 -0
- package/dist/Pagination/Pagination.d.ts +85 -0
- package/dist/Pagination/Pagination.d.ts.map +1 -0
- package/dist/PasswordInput/PasswordInput.d.ts +4 -0
- package/dist/PasswordInput/PasswordInput.d.ts.map +1 -0
- package/dist/PinInput/PinInput.d.ts +4 -0
- package/dist/PinInput/PinInput.d.ts.map +1 -0
- package/dist/Popover/Popover.d.ts +20 -0
- package/dist/Popover/Popover.d.ts.map +1 -0
- package/dist/Progress/Progress.d.ts +36 -0
- package/dist/Progress/Progress.d.ts.map +1 -0
- package/dist/Progress/progressTypes.d.ts +3 -0
- package/dist/Progress/progressTypes.d.ts.map +1 -0
- package/dist/SegmentedControl/SegmentedControl.d.ts +35 -0
- package/dist/SegmentedControl/SegmentedControl.d.ts.map +1 -0
- package/dist/Select/Select.d.ts +4 -0
- package/dist/Select/Select.d.ts.map +1 -0
- package/dist/Skeleton/Skeleton.d.ts +4 -0
- package/dist/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/SpendingCategoriesChart/SpendingCategoriesChart.d.ts +23 -0
- package/dist/SpendingCategoriesChart/SpendingCategoriesChart.d.ts.map +1 -0
- package/dist/Stepper/Stepper.d.ts +8 -0
- package/dist/Stepper/Stepper.d.ts.map +1 -0
- package/dist/Table/Table.d.ts +5 -0
- package/dist/Table/Table.d.ts.map +1 -0
- package/dist/TagsInput/TagsInput.d.ts +4 -0
- package/dist/TagsInput/TagsInput.d.ts.map +1 -0
- package/dist/TextInput/TextInput.d.ts +4 -0
- package/dist/TextInput/TextInput.d.ts.map +1 -0
- package/dist/Textarea/Textarea.d.ts +4 -0
- package/dist/Textarea/Textarea.d.ts.map +1 -0
- package/dist/Tooltip/Tooltip.d.ts +7 -0
- package/dist/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/TransactionTrendsChart/TransactionTrendsChart.d.ts +23 -0
- package/dist/TransactionTrendsChart/TransactionTrendsChart.d.ts.map +1 -0
- package/dist/ValueChart/ValueChart.d.ts +22 -0
- package/dist/ValueChart/ValueChart.d.ts.map +1 -0
- package/dist/colors.d.ts +75 -24
- package/dist/colors.d.ts.map +1 -1
- package/dist/index.d.ts +59 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4306 -309
- package/dist/shared/TextRole.d.ts +17 -0
- package/dist/shared/TextRole.d.ts.map +1 -0
- package/dist/shared/badgeStyles.d.ts +10 -0
- package/dist/shared/badgeStyles.d.ts.map +1 -0
- package/dist/shared/buttonStyles.d.ts +9 -0
- package/dist/shared/buttonStyles.d.ts.map +1 -0
- package/dist/shared/comboboxStyles.d.ts +10 -0
- package/dist/shared/comboboxStyles.d.ts.map +1 -0
- package/dist/shared/inputStyles.d.ts +22 -0
- package/dist/shared/inputStyles.d.ts.map +1 -0
- package/dist/shared/styleSlots.d.ts +7 -0
- package/dist/shared/styleSlots.d.ts.map +1 -0
- package/dist/shared/themeStyles.d.ts +108 -0
- package/dist/shared/themeStyles.d.ts.map +1 -0
- package/dist/shared/useResponsiveTextFit.d.ts +17 -0
- package/dist/shared/useResponsiveTextFit.d.ts.map +1 -0
- package/dist/styles.css +2 -0
- package/dist/theme.d.ts +12 -4
- package/dist/theme.d.ts.map +1 -1
- package/package.json +32 -17
- package/dist/index.css +0 -2
package/README.md
CHANGED
|
@@ -21,6 +21,24 @@ when the pull request closes.
|
|
|
21
21
|
Add new component examples and API reference rows in `docs/App.tsx`, keeping the examples tied to
|
|
22
22
|
the public exports from `src/index.ts`.
|
|
23
23
|
|
|
24
|
+
Import the package stylesheet once in the consuming app:
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
import "@teelur/budget-board-ui/styles.css";
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
The stylesheet includes BBUI's IBM Plex Sans and Plus Jakarta Sans variable fonts.
|
|
31
|
+
|
|
32
|
+
`SpendingCategoriesChart` uses Recharts and requires the `recharts` and `react-is` peer dependencies.
|
|
33
|
+
|
|
34
|
+
When using `DateInput` or `DatePickerInput`, also import the Mantine Dates stylesheet:
|
|
35
|
+
|
|
36
|
+
```ts
|
|
37
|
+
import "@mantine/dates/styles.css";
|
|
38
|
+
```
|
|
39
|
+
|
|
24
40
|
Publishing runs automatically after changes are merged into `main` and publishes canary packages
|
|
25
|
-
to GitHub Packages under the `canary` tag. Publishing a GitHub release publishes the
|
|
26
|
-
stable version to GitHub
|
|
41
|
+
to GitHub Packages and npm under the `canary` tag. Publishing a GitHub release publishes the
|
|
42
|
+
matching stable version to both registries. npm publishing uses GitHub Actions OIDC trusted
|
|
43
|
+
publishing; configure `canary.yml` and `release.yml` as trusted publishers in the npm package
|
|
44
|
+
settings.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ButtonHTMLAttributes, type ReactNode } from "react";
|
|
2
|
+
import type { UnstyledButtonProps } from "@mantine/core";
|
|
3
|
+
import { type ButtonColor, type ButtonVariant } from "../shared/buttonStyles";
|
|
4
|
+
export declare const actionIconSizes: readonly ["compact-xs", "compact-sm", "compact-md", "compact-lg", "compact-xl", "xs", "sm", "md", "lg", "xl"];
|
|
5
|
+
export type ActionIconSize = (typeof actionIconSizes)[number] | number | (string & {});
|
|
6
|
+
export interface ActionIconProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "color" | "disabled" | "style">, Omit<UnstyledButtonProps, "children" | "color" | "disabled" | "size" | "style" | "unstyled" | "variant"> {
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
size?: ActionIconSize;
|
|
12
|
+
color?: ButtonColor;
|
|
13
|
+
variant?: ButtonVariant;
|
|
14
|
+
style?: UnstyledButtonProps["style"];
|
|
15
|
+
}
|
|
16
|
+
export declare function ActionIcon({ selected, children, className, color, disabled, loading, size, style, type, variant, ...buttonProps }: ActionIconProps): import("react").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=ActionIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionIcon.d.ts","sourceRoot":"","sources":["../../src/ActionIcon/ActionIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oBAAoB,EAEzB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,aAAa,EACnB,MAAM,wBAAwB,CAAC;AAIhC,eAAO,MAAM,eAAe,YAC1B,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,CACI,CAAC;AACX,MAAM,MAAM,cAAc,GACtB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,GAChC,MAAM,GACN,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,MAAM,WAAW,eACf,SACE,IAAI,CACF,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,CAC5C,EACD,IAAI,CACF,mBAAmB,EACjB,UAAU,GACV,OAAO,GACP,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,SAAS,CACZ;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,KAAK,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;CACtC;AAED,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,KAAiB,EACjB,QAAQ,EACR,OAAe,EACf,IAAW,EACX,KAAK,EACL,IAAe,EACf,OAAkB,EAClB,GAAG,WAAW,EACf,EAAE,eAAe,+BA8DjB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type AlertProps as MantineAlertProps } from "@mantine/core";
|
|
2
|
+
import { type ButtonColor } from "../shared/buttonStyles";
|
|
3
|
+
export declare const alertColors: readonly ["primary", "secondary", "accent", "muted", "neutral", "contrast", "info", "success", "warning", "error"];
|
|
4
|
+
export type AlertColor = ButtonColor | NonNullable<MantineAlertProps["color"]>;
|
|
5
|
+
export declare const alertVariants: readonly ["filled", "light", "outline", "default", "transparent", "white"];
|
|
6
|
+
export type AlertVariant = (typeof alertVariants)[number];
|
|
7
|
+
export type AlertProps = Omit<MantineAlertProps, "color"> & {
|
|
8
|
+
color?: AlertColor;
|
|
9
|
+
};
|
|
10
|
+
export declare const Alert: import("react").ForwardRefExoticComponent<Omit<AlertProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
+
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../src/Alert/Alert.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,UAAU,IAAI,iBAAiB,EACrC,MAAM,eAAe,CAAC;AACvB,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAIxE,eAAO,MAAM,WAAW,oHAAe,CAAC;AACxC,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAC;AAE/E,eAAO,MAAM,aAAa,YACxB,QAAQ,EACR,OAAO,EACP,SAAS,EACT,SAAS,EACT,aAAa,EACb,OAAO,CACC,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1D,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,EAAE,OAAO,CAAC,GAAG;IAC1D,KAAK,CAAC,EAAE,UAAU,CAAC;CACpB,CAAC;AA2IF,eAAO,MAAM,KAAK,oHAAY,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { TextProps } from "@mantine/core";
|
|
3
|
+
import type { BudgetBoardColorMode } from "../colors";
|
|
4
|
+
export declare enum StatusColorType {
|
|
5
|
+
Expense = 0,
|
|
6
|
+
Income = 1,
|
|
7
|
+
Total = 2,
|
|
8
|
+
Target = 3
|
|
9
|
+
}
|
|
10
|
+
export declare function getStatusColor(amount: number, total: number, type: StatusColorType, warningThreshold?: number, colors?: BudgetBoardColorMode): string;
|
|
11
|
+
export interface AmountTextProps extends TextProps {
|
|
12
|
+
amount: number;
|
|
13
|
+
total?: number;
|
|
14
|
+
type?: StatusColorType;
|
|
15
|
+
warningThreshold?: number;
|
|
16
|
+
isSensitive?: boolean;
|
|
17
|
+
disableStatusColor?: boolean;
|
|
18
|
+
sensitiveText?: ReactNode;
|
|
19
|
+
locale?: string;
|
|
20
|
+
currency?: string;
|
|
21
|
+
decimalPlaces?: number;
|
|
22
|
+
signDisplay?: Intl.NumberFormatOptions["signDisplay"];
|
|
23
|
+
invertSign?: boolean;
|
|
24
|
+
children?: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
export declare function AmountText({ amount, total, type, warningThreshold, isSensitive, disableStatusColor, sensitiveText, locale, currency, decimalPlaces, signDisplay, invertSign, children, c, fw, ...textProps }: AmountTextProps): import("react").JSX.Element;
|
|
27
|
+
//# sourceMappingURL=AmountText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AmountText.d.ts","sourceRoot":"","sources":["../../src/AmountText/AmountText.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEtD,oBAAY,eAAe;IACzB,OAAO,IAAA;IACP,MAAM,IAAA;IACN,KAAK,IAAA;IACL,MAAM,IAAA;CACP;AAmBD,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,eAAe,EACrB,gBAAgB,CAAC,EAAE,MAAM,EACzB,MAAM,GAAE,oBAA8C,GACrD,MAAM,CAwCR;AAED,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC;IACtD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA0BD,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,KAAK,EACL,IAA4B,EAC5B,gBAAgB,EAChB,WAAmB,EACnB,kBAA0B,EAC1B,aAAsB,EACtB,MAAM,EACN,QAAQ,EACR,aAAa,EACb,WAAW,EACX,UAAkB,EAClB,QAAQ,EACR,CAAC,EACD,EAAE,EACF,GAAG,SAAS,EACb,EAAE,eAAe,+BA2CjB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { AppShellAsideProps as MantineAppShellAsideProps, AppShellFooterProps as MantineAppShellFooterProps, AppShellHeaderProps as MantineAppShellHeaderProps, AppShellMainProps as MantineAppShellMainProps, AppShellNavbarProps as MantineAppShellNavbarProps, AppShellProps as MantineAppShellProps, AppShellSectionProps as MantineAppShellSectionProps } from "@mantine/core";
|
|
3
|
+
export type AppShellProps = MantineAppShellProps;
|
|
4
|
+
export type AppShellAsideProps = MantineAppShellAsideProps;
|
|
5
|
+
export type AppShellFooterProps = MantineAppShellFooterProps;
|
|
6
|
+
export type AppShellHeaderProps = MantineAppShellHeaderProps;
|
|
7
|
+
export type AppShellMainProps = MantineAppShellMainProps;
|
|
8
|
+
export type AppShellNavbarProps = MantineAppShellNavbarProps;
|
|
9
|
+
export type AppShellSectionProps = MantineAppShellSectionProps & {
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
};
|
|
12
|
+
export declare function AppShell({ className, style, ...props }: AppShellProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
13
|
+
export declare function AppShellAside({ className, ...props }: AppShellAsideProps): import("react").JSX.Element;
|
|
14
|
+
export declare function AppShellFooter({ className, ...props }: AppShellFooterProps): import("react").JSX.Element;
|
|
15
|
+
export declare function AppShellHeader({ className, ...props }: AppShellHeaderProps): import("react").JSX.Element;
|
|
16
|
+
export declare function AppShellMain({ className, ...props }: AppShellMainProps): import("react").JSX.Element;
|
|
17
|
+
export declare function AppShellNavbar({ className, ...props }: AppShellNavbarProps): import("react").JSX.Element;
|
|
18
|
+
export declare function AppShellSection({ className, ...props }: AppShellSectionProps): import("react").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=AppShell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppShell.d.ts","sourceRoot":"","sources":["../../src/AppShell/AppShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAUtD,OAAO,KAAK,EACV,kBAAkB,IAAI,yBAAyB,EAC/C,mBAAmB,IAAI,0BAA0B,EACjD,mBAAmB,IAAI,0BAA0B,EACjD,iBAAiB,IAAI,wBAAwB,EAC7C,mBAAmB,IAAI,0BAA0B,EACjD,aAAa,IAAI,oBAAoB,EACrC,oBAAoB,IAAI,2BAA2B,EACpD,MAAM,eAAe,CAAC;AAIvB,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAAC;AACjD,MAAM,MAAM,kBAAkB,GAAG,yBAAyB,CAAC;AAC3D,MAAM,MAAM,mBAAmB,GAAG,0BAA0B,CAAC;AAC7D,MAAM,MAAM,mBAAmB,GAAG,0BAA0B,CAAC;AAC7D,MAAM,MAAM,iBAAiB,GAAG,wBAAwB,CAAC;AACzD,MAAM,MAAM,mBAAmB,GAAG,0BAA0B,CAAC;AAC7D,MAAM,MAAM,oBAAoB,GAAG,2BAA2B,GAAG;IAC/D,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AASF,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,8FA4BrE;AAED,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,+BAOxE;AAED,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,+BAO1E;AAED,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,+BAO1E;AAED,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,+BAOtE;AAED,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,+BAO1E;AAED,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,+BAO5E"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { AutocompleteProps as MantineAutocompleteProps } from "@mantine/core";
|
|
2
|
+
export type AutocompleteProps = MantineAutocompleteProps;
|
|
3
|
+
export declare function Autocomplete(props: AutocompleteProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
4
|
+
//# sourceMappingURL=Autocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../src/Autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,IAAI,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAanF,MAAM,MAAM,iBAAiB,GAAG,wBAAwB,CAAC;AAEzD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,8FAoDpD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { BoxProps } from "@mantine/core";
|
|
3
|
+
import { badgeColors, badgeVariants, type BadgeColor, type BadgeVariant } from "../shared/badgeStyles";
|
|
4
|
+
export { badgeColors, badgeVariants };
|
|
5
|
+
export type { BadgeColor, BadgeVariant };
|
|
6
|
+
export declare const badgeSizes: readonly ["xs", "sm", "md"];
|
|
7
|
+
export type BadgeSize = (typeof badgeSizes)[number];
|
|
8
|
+
export interface BadgeProps extends Omit<BoxProps, "children" | "color" | "component" | "style" | "variant"> {
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
leftSection?: ReactNode;
|
|
11
|
+
rightSection?: ReactNode;
|
|
12
|
+
size?: BadgeSize;
|
|
13
|
+
color?: BadgeColor;
|
|
14
|
+
variant?: BadgeVariant;
|
|
15
|
+
style?: BoxProps["style"];
|
|
16
|
+
}
|
|
17
|
+
export declare function Badge({ children, className, color, leftSection, rightSection, size, style, variant, ...boxProps }: BadgeProps): import("react").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../src/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EACL,WAAW,EACX,aAAa,EAEb,KAAK,UAAU,EACf,KAAK,YAAY,EAClB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;AACtC,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC;AAEzC,eAAO,MAAM,UAAU,YAAI,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAC;AACtD,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpD,MAAM,WAAW,UAAW,SAAQ,IAAI,CACtC,QAAQ,EACR,UAAU,GAAG,OAAO,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,CACzD;IACC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,KAAK,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;CAC3B;AAED,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,SAAS,EACT,KAAiB,EACjB,WAAW,EACX,YAAY,EACZ,IAAW,EACX,KAAK,EACL,OAAkB,EAClB,GAAG,QAAQ,EACZ,EAAE,UAAU,+BAwCZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BodyText.d.ts","sourceRoot":"","sources":["../../src/BodyText/BodyText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,MAAM,aAAa,GAAG,aAAa,CAAC;AAE1C,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,GAAG,YAAY,CAE3D"}
|
package/dist/Button/Button.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
1
|
+
import { type ButtonHTMLAttributes, type ReactNode } from "react";
|
|
2
|
+
import type { UnstyledButtonProps } from "@mantine/core";
|
|
3
|
+
import { buttonColors, buttonVariants } from "../shared/buttonStyles";
|
|
4
|
+
import type { ButtonColor, ButtonVariant } from "../shared/buttonStyles";
|
|
5
|
+
export { buttonColors, buttonVariants };
|
|
6
|
+
export type { ButtonColor, ButtonVariant };
|
|
6
7
|
export declare const buttonSizes: readonly ["compact-xs", "compact-sm", "compact-md", "compact-lg", "compact-xl", "xs", "sm", "md", "lg", "xl"];
|
|
7
8
|
export type ButtonSize = (typeof buttonSizes)[number];
|
|
8
|
-
export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "color" | "disabled"> {
|
|
9
|
+
export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "color" | "disabled" | "style">, Omit<UnstyledButtonProps, "children" | "color" | "disabled" | "size" | "style" | "unstyled" | "variant"> {
|
|
9
10
|
selected?: boolean;
|
|
10
11
|
children?: ReactNode;
|
|
11
12
|
disabled?: boolean;
|
|
@@ -16,6 +17,7 @@ export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement
|
|
|
16
17
|
size?: ButtonSize;
|
|
17
18
|
color?: ButtonColor;
|
|
18
19
|
variant?: ButtonVariant;
|
|
20
|
+
style?: UnstyledButtonProps["style"];
|
|
19
21
|
}
|
|
20
22
|
export declare function Button({ selected, children, className, color, disabled, fullWidth, leftSection, loading, rightSection, size, style, type, variant, ...buttonProps }: ButtonProps): import("react").JSX.Element;
|
|
21
23
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EACL,YAAY,EACZ,cAAc,EAEf,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAIzE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AACxC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;AAE3C,eAAO,MAAM,WAAW,YACtB,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,CACI,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtD,MAAM,WAAW,WACf,SACE,IAAI,CACF,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,CAC5C,EACD,IAAI,CACF,mBAAmB,EACjB,UAAU,GACV,OAAO,GACP,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,SAAS,CACZ;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,KAAK,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;CACtC;AAED,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,KAAiB,EACjB,QAAQ,EACR,SAAiB,EACjB,WAAW,EACX,OAAe,EACf,YAAY,EACZ,IAAW,EACX,KAAK,EACL,IAAe,EACf,OAAkB,EAClB,GAAG,WAAW,EACf,EAAE,WAAW,+BAiDb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaptionText.d.ts","sourceRoot":"","sources":["../../src/CaptionText/CaptionText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC;AAE7C,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,YAAY,CAEjE"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { type MouseEventHandler, type ReactNode } from "react";
|
|
2
|
+
import type { CardProps as MantineCardProps, CardSectionProps as MantineCardSectionProps, DividerProps as MantineDividerProps } from "@mantine/core";
|
|
3
|
+
export type CardSurface = "default" | "elevated" | "sunken" | "outline";
|
|
4
|
+
export type CardSeparatorThickness = "default" | "thick";
|
|
5
|
+
export type CardProps = MantineCardProps & {
|
|
6
|
+
hoverable?: boolean;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
surface?: CardSurface;
|
|
9
|
+
};
|
|
10
|
+
type CardPartProps = MantineCardSectionProps & {
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
"data-orientation"?: "horizontal" | "vertical";
|
|
13
|
+
hoverable?: boolean;
|
|
14
|
+
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
15
|
+
separatorThickness?: CardSeparatorThickness;
|
|
16
|
+
};
|
|
17
|
+
export type CardSectionProps = CardPartProps & Pick<MantineDividerProps, "label" | "labelPosition">;
|
|
18
|
+
export declare const Card: (<C = "div">(props: import("@mantine/core").PolymorphicComponentProps<C, CardProps>) => React.ReactElement) & Omit<import("react").FunctionComponent<(MantineCardProps & {
|
|
19
|
+
hoverable?: boolean;
|
|
20
|
+
selected?: boolean;
|
|
21
|
+
surface?: CardSurface;
|
|
22
|
+
} & {
|
|
23
|
+
component: React.ElementType;
|
|
24
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
25
|
+
}) | (MantineCardProps & {
|
|
26
|
+
hoverable?: boolean;
|
|
27
|
+
selected?: boolean;
|
|
28
|
+
surface?: CardSurface;
|
|
29
|
+
} & {
|
|
30
|
+
component?: any;
|
|
31
|
+
} & Omit<any, "component" | "hoverable" | "selected" | "surface" | keyof MantineCardProps> & {
|
|
32
|
+
ref?: any;
|
|
33
|
+
renderRoot?: (props: any) => any;
|
|
34
|
+
})>, never> & Record<string, never> & {
|
|
35
|
+
Section: (<C = "div">(props: import("@mantine/core").PolymorphicComponentProps<C, CardSectionProps>) => React.ReactElement) & Omit<import("react").FunctionComponent<(MantineCardSectionProps & {
|
|
36
|
+
children?: ReactNode;
|
|
37
|
+
"data-orientation"?: "horizontal" | "vertical";
|
|
38
|
+
hoverable?: boolean;
|
|
39
|
+
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
40
|
+
separatorThickness?: CardSeparatorThickness;
|
|
41
|
+
} & Pick<MantineDividerProps, "label" | "labelPosition"> & {
|
|
42
|
+
component: React.ElementType;
|
|
43
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
44
|
+
}) | (MantineCardSectionProps & {
|
|
45
|
+
children?: ReactNode;
|
|
46
|
+
"data-orientation"?: "horizontal" | "vertical";
|
|
47
|
+
hoverable?: boolean;
|
|
48
|
+
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
49
|
+
separatorThickness?: CardSeparatorThickness;
|
|
50
|
+
} & Pick<MantineDividerProps, "label" | "labelPosition"> & {
|
|
51
|
+
component?: any;
|
|
52
|
+
} & Omit<any, "children" | "component" | "data-orientation" | "hoverable" | "label" | "labelPosition" | "onClick" | "separatorThickness" | keyof MantineCardSectionProps> & {
|
|
53
|
+
ref?: any;
|
|
54
|
+
renderRoot?: (props: any) => any;
|
|
55
|
+
})>, never> & Record<string, never>;
|
|
56
|
+
};
|
|
57
|
+
export {};
|
|
58
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../src/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EACV,SAAS,IAAI,gBAAgB,EAC7B,gBAAgB,IAAI,uBAAuB,EAC3C,YAAY,IAAI,mBAAmB,EACpC,MAAM,eAAe,CAAC;AAKvB,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AACxE,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,OAAO,CAAC;AAEzD,MAAM,MAAM,SAAS,GAAG,gBAAgB,GAAG;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB,CAAC;AAEF,KAAK,aAAa,GAAG,uBAAuB,GAAG;IAC7C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,kBAAkB,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAC5C,kBAAkB,CAAC,EAAE,sBAAsB,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAC1C,IAAI,CAAC,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAAC,CAAC;AA8IvD,eAAO,MAAM,IAAI;gBA5JH,OAAO;eACR,OAAO;cACR,WAAW;;;;;;;;;;;;;;;mBAIV,SAAS;6BACC,YAAY,GAAG,UAAU;oBAClC,OAAO;kBACT,iBAAiB,CAAC,cAAc,CAAC;6BACtB,sBAAsB;;;;;;;;;;;;;;;;CAuJ5C,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { CategorySelectCategory, CategorySelectOption } from "../CategorySelect/categoryOptions";
|
|
3
|
+
import type { MultiSelectProps } from "../MultiSelect/MultiSelect";
|
|
4
|
+
interface CategoryMultiSelectCommonProps extends Omit<MultiSelectProps, "data"> {
|
|
5
|
+
includeUncategorized?: boolean;
|
|
6
|
+
nothingFoundMessage?: ReactNode;
|
|
7
|
+
uncategorizedLabel?: string;
|
|
8
|
+
withinPortal?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type CategoryMultiSelectProps = CategoryMultiSelectCommonProps & ({
|
|
11
|
+
categories: CategorySelectCategory[];
|
|
12
|
+
data?: never;
|
|
13
|
+
} | {
|
|
14
|
+
categories?: never;
|
|
15
|
+
data: CategorySelectOption[];
|
|
16
|
+
});
|
|
17
|
+
export declare function CategoryMultiSelect({ categories, data, includeUncategorized, nothingFoundMessage, uncategorizedLabel, withinPortal, comboboxProps, renderOption, searchable, placeholder, ...inputProps }: CategoryMultiSelectProps): import("react").JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=CategoryMultiSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryMultiSelect.d.ts","sourceRoot":"","sources":["../../src/CategoryMultiSelect/CategoryMultiSelect.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,mCAAmC,CAAC;AAG3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,UAAU,8BAA+B,SAAQ,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAC7E,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,MAAM,wBAAwB,GAAG,8BAA8B,GACnE,CACI;IAAE,UAAU,EAAE,sBAAsB,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CAAE,GACtD;IAAE,UAAU,CAAC,EAAE,KAAK,CAAC;IAAC,IAAI,EAAE,oBAAoB,EAAE,CAAA;CAAE,CACvD,CAAC;AAEJ,wBAAgB,mBAAmB,CAAC,EAClC,UAAU,EACV,IAAI,EACJ,oBAA4B,EAC5B,mBAA2C,EAC3C,kBAAoC,EACpC,YAAmB,EACnB,aAAa,EACb,YAAY,EACZ,UAAU,EACV,WAAiC,EACjC,GAAG,UAAU,EACd,EAAE,wBAAwB,+BA+E1B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ComboboxProps, InputBaseProps } from "@mantine/core";
|
|
2
|
+
import type { MouseEventHandler, ReactNode } from "react";
|
|
3
|
+
import type { CategorySelectCategory, CategorySelectOption } from "./categoryOptions";
|
|
4
|
+
export type { CategorySelectCategory, CategorySelectOption } from "./categoryOptions";
|
|
5
|
+
interface CategorySelectCommonProps extends Omit<InputBaseProps, "defaultValue" | "onChange" | "value"> {
|
|
6
|
+
value: string | null;
|
|
7
|
+
onChange: (value: string) => void;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
searchPlaceholder?: string;
|
|
10
|
+
nothingFoundMessage?: ReactNode;
|
|
11
|
+
withinPortal?: boolean;
|
|
12
|
+
includeUncategorized?: boolean;
|
|
13
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
14
|
+
readOnly?: boolean;
|
|
15
|
+
comboboxProps?: Omit<ComboboxProps, "children" | "onOptionSubmit" | "store" | "withinPortal">;
|
|
16
|
+
}
|
|
17
|
+
export type CategorySelectProps = CategorySelectCommonProps & ({
|
|
18
|
+
categories: CategorySelectCategory[];
|
|
19
|
+
data?: never;
|
|
20
|
+
} | {
|
|
21
|
+
categories?: never;
|
|
22
|
+
data: CategorySelectOption[];
|
|
23
|
+
});
|
|
24
|
+
export declare function CategorySelect({ data, categories, value, onChange, onClick, readOnly, classNames, comboboxProps, styles, wrapperProps, placeholder, searchPlaceholder, nothingFoundMessage, withinPortal, includeUncategorized, ...inputProps }: CategorySelectProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
25
|
+
//# sourceMappingURL=CategorySelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategorySelect.d.ts","sourceRoot":"","sources":["../../src/CategorySelect/CategorySelect.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAiB1D,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EAErB,MAAM,mBAAmB,CAAC;AAG3B,YAAY,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEtF,UAAU,yBAA0B,SAAQ,IAAI,CAC9C,cAAc,EACd,cAAc,GAAG,UAAU,GAAG,OAAO,CACtC;IACC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,IAAI,CAClB,aAAa,EACb,UAAU,GAAG,gBAAgB,GAAG,OAAO,GAAG,cAAc,CACzD,CAAC;CACH;AAED,MAAM,MAAM,mBAAmB,GAAG,yBAAyB,GACzD,CACI;IAAE,UAAU,EAAE,sBAAsB,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CAAE,GACtD;IAAE,UAAU,CAAC,EAAE,KAAK,CAAC;IAAC,IAAI,EAAE,oBAAoB,EAAE,CAAA;CAAE,CACvD,CAAC;AAQJ,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,UAAU,EACV,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,UAAU,EACV,aAAa,EACb,MAAM,EACN,YAAY,EACZ,WAAiC,EACjC,iBAAuC,EACvC,mBAA2C,EAC3C,YAAoB,EACpB,oBAA4B,EAC5B,GAAG,UAAU,EACd,EAAE,mBAAmB,8FA4JrB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface CategorySelectOption {
|
|
2
|
+
value: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
children?: CategorySelectOption[];
|
|
5
|
+
}
|
|
6
|
+
export interface CategorySelectCategory {
|
|
7
|
+
value: string;
|
|
8
|
+
parent: string;
|
|
9
|
+
categoryType?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface FlattenedCategorySelectOption {
|
|
12
|
+
value: string;
|
|
13
|
+
label: string;
|
|
14
|
+
depth: number;
|
|
15
|
+
}
|
|
16
|
+
export declare function flattenOptions(options: CategorySelectOption[], depth?: number): FlattenedCategorySelectOption[];
|
|
17
|
+
export declare function flattenCategories(categories: CategorySelectCategory[]): FlattenedCategorySelectOption[];
|
|
18
|
+
//# sourceMappingURL=categoryOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"categoryOptions.d.ts","sourceRoot":"","sources":["../../src/CategorySelect/categoryOptions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,oBAAoB,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,cAAc,CAC5B,OAAO,EAAE,oBAAoB,EAAE,EAC/B,KAAK,SAAI,GACR,6BAA6B,EAAE,CAKjC;AAED,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,sBAAsB,EAAE,GACnC,6BAA6B,EAAE,CA2BjC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CheckboxProps as MantineCheckboxProps } from "@mantine/core";
|
|
2
|
+
export type CheckboxProps = MantineCheckboxProps;
|
|
3
|
+
export declare function Checkbox(props: CheckboxProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
4
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../src/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,aAAa,IAAI,oBAAoB,EAEtC,MAAM,eAAe,CAAC;AAQvB,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAAC;AA0BjD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,8FA+C5C"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CodeProps as MantineCodeProps } from "@mantine/core";
|
|
2
|
+
export type CodeProps = MantineCodeProps;
|
|
3
|
+
export declare function Code({ className, style, ...props }: CodeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
4
|
+
//# sourceMappingURL=Code.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Code.d.ts","sourceRoot":"","sources":["../../src/Code/Code.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAMnE,MAAM,MAAM,SAAS,GAAG,gBAAgB,CAAC;AAEzC,wBAAgB,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,8FAqB7D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { CardProps } from "../Card/Card";
|
|
3
|
+
export type CollapsibleCardProps = Omit<CardProps, "children" | "p" | "padding"> & {
|
|
4
|
+
title: ReactNode;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
expanded?: boolean;
|
|
7
|
+
defaultExpanded?: boolean;
|
|
8
|
+
onExpandedChange?: (expanded: boolean) => void;
|
|
9
|
+
};
|
|
10
|
+
export declare function CollapsibleCard({ children, className, defaultExpanded, expanded, onExpandedChange, title, ...cardProps }: CollapsibleCardProps): import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=CollapsibleCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollapsibleCard.d.ts","sourceRoot":"","sources":["../../src/CollapsibleCard/CollapsibleCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,SAAS,EACT,UAAU,GAAG,GAAG,GAAG,SAAS,CAC7B,GAAG;IACF,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAChD,CAAC;AAMF,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,SAAS,EACT,eAAsB,EACtB,QAAQ,EACR,gBAAgB,EAChB,KAAK,EACL,GAAG,SAAS,EACb,EAAE,oBAAoB,+BAyDtB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Combobox as MantineCombobox } from "@mantine/core";
|
|
2
|
+
import type { ComboboxProps as MantineComboboxProps } from "@mantine/core";
|
|
3
|
+
import type { ReactElement } from "react";
|
|
4
|
+
export type ComboboxProps = MantineComboboxProps;
|
|
5
|
+
export type { ComboboxStore, ComboboxStylesNames, UseComboboxOptions, } from "@mantine/core";
|
|
6
|
+
export { useCombobox } from "@mantine/core";
|
|
7
|
+
declare function ComboboxRoot({ classNames, styles, ...props }: ComboboxProps): ReactElement;
|
|
8
|
+
export declare const Combobox: typeof MantineCombobox & typeof ComboboxRoot;
|
|
9
|
+
//# sourceMappingURL=Combobox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../src/Combobox/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,EAAE,aAAa,IAAI,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAU1C,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAAC;AACjD,YAAY,EACV,aAAa,EACb,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,iBAAS,YAAY,CAAC,EACpB,UAAU,EACV,MAAM,EACN,GAAG,KAAK,EACT,EAAE,aAAa,GAAG,YAAY,CAqB9B;AAED,eAAO,MAAM,QAAQ,EAAE,OAAO,eAAe,GAAG,OAAO,YACT,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataText.d.ts","sourceRoot":"","sources":["../../src/DataText/DataText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,MAAM,aAAa,GAAG,aAAa,CAAC;AAE1C,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,GAAG,YAAY,CAE3D"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { DateInputProps as MantineDateInputProps } from "@mantine/dates";
|
|
2
|
+
export type DateInputProps = MantineDateInputProps;
|
|
3
|
+
export declare function DateInput(props: DateInputProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
4
|
+
//# sourceMappingURL=DateInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../src/DateInput/DateInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,IAAI,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAU9E,MAAM,MAAM,cAAc,GAAG,qBAAqB,CAAC;AAEnD,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,8FA+B9C"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { DatePickerInputProps as MantineDatePickerInputProps, DatePickerType } from "@mantine/dates";
|
|
2
|
+
export type DatePickerInputProps<Type extends DatePickerType = "default"> = MantineDatePickerInputProps<Type>;
|
|
3
|
+
export declare function DatePickerInput<Type extends DatePickerType = "default">(props: DatePickerInputProps<Type>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
4
|
+
//# sourceMappingURL=DatePickerInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePickerInput.d.ts","sourceRoot":"","sources":["../../src/DatePickerInput/DatePickerInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,oBAAoB,IAAI,2BAA2B,EACnD,cAAc,EACf,MAAM,gBAAgB,CAAC;AAWxB,MAAM,MAAM,oBAAoB,CAAC,IAAI,SAAS,cAAc,GAAG,SAAS,IACtE,2BAA2B,CAAC,IAAI,CAAC,CAAC;AAEpC,wBAAgB,eAAe,CAAC,IAAI,SAAS,cAAc,GAAG,SAAS,EACrE,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,8FAyClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisplayText.d.ts","sourceRoot":"","sources":["../../src/DisplayText/DisplayText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC;AAE7C,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,YAAY,CAEjE"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DividerProps as MantineDividerProps, DividerVariant as MantineDividerVariant } from "@mantine/core";
|
|
2
|
+
export type DividerProps = MantineDividerProps;
|
|
3
|
+
export type DividerVariant = MantineDividerVariant;
|
|
4
|
+
export declare const Divider: import("react").ForwardRefExoticComponent<Omit<MantineDividerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
//# sourceMappingURL=Divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../src/Divider/Divider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,IAAI,mBAAmB,EACnC,cAAc,IAAI,qBAAqB,EACxC,MAAM,eAAe,CAAC;AAIvB,MAAM,MAAM,YAAY,GAAG,mBAAmB,CAAC;AAC/C,MAAM,MAAM,cAAc,GAAG,qBAAqB,CAAC;AAwBnD,eAAO,MAAM,OAAO,6HAAc,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { DrawerProps as MantineDrawerProps } from "@mantine/core";
|
|
3
|
+
export type DrawerProps = MantineDrawerProps;
|
|
4
|
+
export declare function Drawer({ children, classNames, p, styles, title, ...props }: DrawerProps): ReactElement;
|
|
5
|
+
//# sourceMappingURL=Drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../src/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,YAAY,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,WAAW,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAOvE,MAAM,MAAM,WAAW,GAAG,kBAAkB,CAAC;AAE7C,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,UAAU,EACV,CAAC,EACD,MAAM,EACN,KAAK,EACL,GAAG,KAAK,EACT,EAAE,WAAW,GAAG,YAAY,CAuC5B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { FileInputProps as MantineFileInputProps } from "@mantine/core";
|
|
2
|
+
export type FileInputProps<Multiple extends boolean = false> = MantineFileInputProps<Multiple>;
|
|
3
|
+
export declare function FileInput<Multiple extends boolean = false>(props: FileInputProps<Multiple>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
4
|
+
//# sourceMappingURL=FileInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../src/FileInput/FileInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,IAAI,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAQ7E,MAAM,MAAM,cAAc,CAAC,QAAQ,SAAS,OAAO,GAAG,KAAK,IACzD,qBAAqB,CAAC,QAAQ,CAAC,CAAC;AAElC,wBAAgB,SAAS,CAAC,QAAQ,SAAS,OAAO,GAAG,KAAK,EACxD,KAAK,EAAE,cAAc,CAAC,QAAQ,CAAC,8FAqBhC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
|
+
export type FlowType = "income" | "expense" | "surplus" | "deficit";
|
|
3
|
+
export interface FlowsChartNode {
|
|
4
|
+
name: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
flowType?: FlowType;
|
|
7
|
+
parentName?: string;
|
|
8
|
+
transactionCount?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface FlowsChartLink {
|
|
11
|
+
source: number;
|
|
12
|
+
target: number;
|
|
13
|
+
value: number;
|
|
14
|
+
transactionCount?: number;
|
|
15
|
+
flowType?: FlowType;
|
|
16
|
+
}
|
|
17
|
+
export interface FlowsChartData {
|
|
18
|
+
nodes: FlowsChartNode[];
|
|
19
|
+
links: FlowsChartLink[];
|
|
20
|
+
totalIncome: number;
|
|
21
|
+
totalSpending: number;
|
|
22
|
+
}
|
|
23
|
+
export interface FlowsChartLabels {
|
|
24
|
+
cashAvailable: string;
|
|
25
|
+
amount: string;
|
|
26
|
+
from: string;
|
|
27
|
+
to: string;
|
|
28
|
+
percentOfIncome: string;
|
|
29
|
+
percentOfSpending: string;
|
|
30
|
+
percentOfBranch: string;
|
|
31
|
+
transactions: string;
|
|
32
|
+
income: string;
|
|
33
|
+
expense: string;
|
|
34
|
+
surplus: string;
|
|
35
|
+
deficit: string;
|
|
36
|
+
}
|
|
37
|
+
export interface FlowsChartProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
38
|
+
ariaLabel: string;
|
|
39
|
+
data: FlowsChartData;
|
|
40
|
+
emptyMessage?: ReactNode;
|
|
41
|
+
formatValue: (value: number) => string;
|
|
42
|
+
height?: number;
|
|
43
|
+
isLoading?: boolean;
|
|
44
|
+
labels: FlowsChartLabels;
|
|
45
|
+
minScrollWidth?: number;
|
|
46
|
+
}
|
|
47
|
+
export declare function FlowsChart({ ariaLabel, className, data, emptyMessage, formatValue, height, isLoading, labels, minScrollWidth, style, ...rootProps }: FlowsChartProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
48
|
+
//# sourceMappingURL=FlowsChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlowsChart.d.ts","sourceRoot":"","sources":["../../src/FlowsChart/FlowsChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAiBtE,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAEpE,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,CACX;IACC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,cAAc,CAAC;IACrB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,gBAAgB,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAsaD,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,SAAS,EACT,IAAI,EACJ,YAAwC,EACxC,WAAW,EACX,MAAY,EACZ,SAAiB,EACjB,MAAM,EACN,cAAoB,EACpB,KAAK,EACL,GAAG,SAAS,EACb,EAAE,eAAe,8FA0WjB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementType, ReactElement } from "react";
|
|
2
|
+
import type { TitleOrder, TitleProps } from "@mantine/core";
|
|
3
|
+
import { type TextTone } from "../shared/TextRole";
|
|
4
|
+
export type HeadingTextProps = Omit<TitleProps, "component" | "order"> & {
|
|
5
|
+
component?: ElementType;
|
|
6
|
+
level?: TitleOrder;
|
|
7
|
+
responsive?: boolean;
|
|
8
|
+
tone?: TextTone;
|
|
9
|
+
};
|
|
10
|
+
export declare function HeadingText({ children, className, c, component, ff, fz, fw, level, responsive, tone, unstyled, style, ...titleProps }: HeadingTextProps): ReactElement;
|
|
11
|
+
//# sourceMappingURL=HeadingText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeadingText.d.ts","sourceRoot":"","sources":["../../src/HeadingText/HeadingText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG5D,OAAO,EAA6B,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAG9E,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,UAAU,EAAE,WAAW,GAAG,OAAO,CAAC,GAAG;IACvE,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,CAAC;AAUF,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,SAAS,EACT,CAAC,EACD,SAAS,EACT,EAAE,EACF,EAAE,EACF,EAAE,EACF,KAAS,EACT,UAAU,EACV,IAAgB,EAChB,QAAQ,EACR,KAAK,EACL,GAAG,UAAU,EACd,EAAE,gBAAgB,GAAG,YAAY,CAmDjC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type LoadingOverlayProps as MantineLoadingOverlayProps } from "@mantine/core";
|
|
2
|
+
export type LoadingOverlayProps = MantineLoadingOverlayProps;
|
|
3
|
+
export declare const LoadingOverlay: import("react").ForwardRefExoticComponent<Omit<MantineLoadingOverlayProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
//# sourceMappingURL=LoadingOverlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingOverlay.d.ts","sourceRoot":"","sources":["../../src/LoadingOverlay/LoadingOverlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,mBAAmB,IAAI,0BAA0B,EACvD,MAAM,eAAe,CAAC;AAGvB,MAAM,MAAM,mBAAmB,GAAG,0BAA0B,CAAC;AAqC7D,eAAO,MAAM,cAAc,oIAAqB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { ModalProps as MantineModalProps } from "@mantine/core";
|
|
3
|
+
export type ModalProps = MantineModalProps;
|
|
4
|
+
export declare function Modal({ children, classNames, p, styles, title, ...props }: ModalProps): ReactElement;
|
|
5
|
+
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,YAAY,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAOrE,MAAM,MAAM,UAAU,GAAG,iBAAiB,CAAC;AAE3C,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,UAAU,EACV,CAAC,EACD,MAAM,EACN,KAAK,EACL,GAAG,KAAK,EACT,EAAE,UAAU,GAAG,YAAY,CA6C3B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { DatePickerType, MonthPickerInputProps as MantineMonthPickerInputProps } from "@mantine/dates";
|
|
2
|
+
export type MonthPickerInputProps<Type extends DatePickerType = "default"> = MantineMonthPickerInputProps<Type>;
|
|
3
|
+
export declare function MonthPickerInput<Type extends DatePickerType = "default">(props: MonthPickerInputProps<Type>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
4
|
+
//# sourceMappingURL=MonthPickerInput.d.ts.map
|