@octave-org/ui 0.0.2
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 +7 -0
- package/dist/README.md +48 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +5099 -0
- package/dist/src/components.d.ts +8 -0
- package/dist/src/components.d.ts.map +1 -0
- package/dist/src/index.d.ts +8 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/lib/blocks/auth/authFormBuilder.d.ts +35 -0
- package/dist/src/lib/blocks/auth/authFormBuilder.d.ts.map +1 -0
- package/dist/src/lib/blocks/auth/index.d.ts +2 -0
- package/dist/src/lib/blocks/auth/index.d.ts.map +1 -0
- package/dist/src/lib/blocks/auth/wrapper.d.ts +6 -0
- package/dist/src/lib/blocks/auth/wrapper.d.ts.map +1 -0
- package/dist/src/lib/data-display/badge.d.ts +14 -0
- package/dist/src/lib/data-display/badge.d.ts.map +1 -0
- package/dist/src/lib/data-display/banner.d.ts +15 -0
- package/dist/src/lib/data-display/banner.d.ts.map +1 -0
- package/dist/src/lib/data-display/index.d.ts +5 -0
- package/dist/src/lib/data-display/index.d.ts.map +1 -0
- package/dist/src/lib/data-display/stat-card.d.ts +19 -0
- package/dist/src/lib/data-display/stat-card.d.ts.map +1 -0
- package/dist/src/lib/data-display/table.d.ts +26 -0
- package/dist/src/lib/data-display/table.d.ts.map +1 -0
- package/dist/src/lib/feedback/index.d.ts +2 -0
- package/dist/src/lib/feedback/index.d.ts.map +1 -0
- package/dist/src/lib/feedback/notifications.d.ts +12 -0
- package/dist/src/lib/feedback/notifications.d.ts.map +1 -0
- package/dist/src/lib/input-components/button.d.ts +17 -0
- package/dist/src/lib/input-components/button.d.ts.map +1 -0
- package/dist/src/lib/input-components/formBuilder.d.ts +26 -0
- package/dist/src/lib/input-components/formBuilder.d.ts.map +1 -0
- package/dist/src/lib/input-components/index.d.ts +4 -0
- package/dist/src/lib/input-components/index.d.ts.map +1 -0
- package/dist/src/lib/input-components/inputs.d.ts +12 -0
- package/dist/src/lib/input-components/inputs.d.ts.map +1 -0
- package/dist/src/lib/layout/index.d.ts +2 -0
- package/dist/src/lib/layout/index.d.ts.map +1 -0
- package/dist/src/lib/layout/nav-links.d.ts +14 -0
- package/dist/src/lib/layout/nav-links.d.ts.map +1 -0
- package/dist/src/lib/layout/shell.d.ts +24 -0
- package/dist/src/lib/layout/shell.d.ts.map +1 -0
- package/dist/src/lib/provider.d.ts +11 -0
- package/dist/src/lib/provider.d.ts.map +1 -0
- package/dist/src/lib/text/index.d.ts +2 -0
- package/dist/src/lib/text/index.d.ts.map +1 -0
- package/dist/src/lib/text/linkedText.d.ts +10 -0
- package/dist/src/lib/text/linkedText.d.ts.map +1 -0
- package/dist/src/lib/text/stackedText.d.ts +9 -0
- package/dist/src/lib/text/stackedText.d.ts.map +1 -0
- package/dist/src/lib/theme/index.d.ts +3 -0
- package/dist/src/lib/theme/index.d.ts.map +1 -0
- package/dist/src/lib/theme/theme.d.ts +142 -0
- package/dist/src/lib/theme/theme.d.ts.map +1 -0
- package/dist/src/lib/theme/themeTrigger.d.ts +2 -0
- package/dist/src/lib/theme/themeTrigger.d.ts.map +1 -0
- package/dist/src/utils/index.d.ts +4 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/dist/src/utils/lib/cookies.d.ts +5 -0
- package/dist/src/utils/lib/cookies.d.ts.map +1 -0
- package/dist/src/utils/lib/formatters.d.ts +7 -0
- package/dist/src/utils/lib/formatters.d.ts.map +1 -0
- package/dist/src/utils/lib/media-queries.d.ts +6 -0
- package/dist/src/utils/lib/media-queries.d.ts.map +1 -0
- package/package.json +35 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './lib/input-components';
|
|
2
|
+
export * from './lib/layout';
|
|
3
|
+
export * from './lib/theme';
|
|
4
|
+
export * from './lib/feedback';
|
|
5
|
+
export * from './lib/text';
|
|
6
|
+
export * from './lib/data-display';
|
|
7
|
+
export * from './lib/blocks/auth';
|
|
8
|
+
//# sourceMappingURL=components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/components.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from '@mantine/core';
|
|
2
|
+
export * from '@mantine/form';
|
|
3
|
+
export * from '@mantine/hooks';
|
|
4
|
+
export * from '@mantine/notifications';
|
|
5
|
+
export * from './components';
|
|
6
|
+
export * from './utils';
|
|
7
|
+
export { OctaveProvider, UIProvider } from './lib/provider';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AAEvC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { FormValidateInput } from '@mantine/form';
|
|
2
|
+
import { FormFieldConfig } from '../../input-components/formBuilder';
|
|
3
|
+
import { OctaveButtonContext } from '../../input-components';
|
|
4
|
+
export interface AuthFormRow<T extends object> {
|
|
5
|
+
columns: FormFieldConfig<T>[][];
|
|
6
|
+
}
|
|
7
|
+
export interface AuthFormConfig<T extends object> {
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
|
+
rows?: AuthFormRow<T>[];
|
|
12
|
+
fields?: FormFieldConfig<T>[];
|
|
13
|
+
pinFieldName?: keyof T;
|
|
14
|
+
pinLength?: number;
|
|
15
|
+
primaryAction: {
|
|
16
|
+
label: string;
|
|
17
|
+
onSubmit: (values: T) => void | Promise<void>;
|
|
18
|
+
};
|
|
19
|
+
secondaryAction?: {
|
|
20
|
+
label: string;
|
|
21
|
+
link?: string;
|
|
22
|
+
onClick?: () => void;
|
|
23
|
+
variant?: 'outline' | 'default' | 'filled';
|
|
24
|
+
context?: OctaveButtonContext;
|
|
25
|
+
linkLabel?: string;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
interface AuthFormProps<T extends object> {
|
|
29
|
+
config: AuthFormConfig<T>;
|
|
30
|
+
initialValues: T;
|
|
31
|
+
validate?: FormValidateInput<T>;
|
|
32
|
+
}
|
|
33
|
+
export declare function OctaveAuthForm<T extends object>({ config, initialValues, validate, }: AuthFormProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=authFormBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authFormBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/lib/blocks/auth/authFormBuilder.tsx"],"names":[],"mappings":"AACA,OAAO,EAAW,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAE3D,OAAO,EAEL,eAAe,EAChB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAgB,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAI3E,MAAM,WAAW,WAAW,CAAC,CAAC,SAAS,MAAM;IAC3C,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;CACjC;AAED,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,MAAM;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEvB,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IACxB,MAAM,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAE9B,YAAY,CAAC,EAAE,MAAM,CAAC,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,aAAa,EAAE;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;KAC/C,CAAC;IAEF,eAAe,CAAC,EAAE;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;QACrB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;QAC3C,OAAO,CAAC,EAAE,mBAAmB,CAAC;QAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AAED,UAAU,aAAa,CAAC,CAAC,SAAS,MAAM;IACtC,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;IAC1B,aAAa,EAAE,CAAC,CAAC;IACjB,QAAQ,CAAC,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;CACjC;AAED,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,EAC/C,MAAM,EACN,aAAa,EACb,QAAQ,GACT,EAAE,aAAa,CAAC,CAAC,CAAC,2CAiGlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/blocks/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrapper.d.ts","sourceRoot":"","sources":["../../../../../src/lib/blocks/auth/wrapper.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAmD9D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BadgeProps, TextProps } from '@mantine/core';
|
|
2
|
+
import { IconProps } from '@tabler/icons-react';
|
|
3
|
+
interface OctaveBadgeProps extends BadgeProps {
|
|
4
|
+
label: string;
|
|
5
|
+
labelProps?: TextProps;
|
|
6
|
+
}
|
|
7
|
+
export declare function OctaveBadge(props: OctaveBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
interface OctaveStatusBadgeProps extends OctaveBadgeProps {
|
|
9
|
+
colorMap: Record<string, string>;
|
|
10
|
+
iconMap: Record<string, React.FC<IconProps>>;
|
|
11
|
+
}
|
|
12
|
+
export declare function OctaveStatusBadge(props: OctaveStatusBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../src/lib/data-display/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,UAAU,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAkB,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhE,UAAU,gBAAiB,SAAQ,UAAU;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAqBlD;AAED,UAAU,sBAAuB,SAAQ,gBAAgB;IACvD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;CAC9C;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAW9D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CardProps, DividerProps, FlexProps } from '@mantine/core';
|
|
2
|
+
import { OctaveStackedTextProps } from '../text';
|
|
3
|
+
import { IconProps } from '@tabler/icons-react';
|
|
4
|
+
interface OctaveBannerProps {
|
|
5
|
+
cardProps?: CardProps;
|
|
6
|
+
dividerProps?: DividerProps;
|
|
7
|
+
stackedTextProps: OctaveStackedTextProps;
|
|
8
|
+
flexProps?: FlexProps;
|
|
9
|
+
icon: React.FC<IconProps>;
|
|
10
|
+
iconProps?: IconProps;
|
|
11
|
+
actions?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare function OctaveBanner(props: OctaveBannerProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../../src/lib/data-display/banner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,SAAS,EAET,YAAY,EAEZ,SAAS,EACV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAqB,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,UAAU,iBAAiB;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,gBAAgB,EAAE,sBAAsB,CAAC;IACzC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC;IAC1B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CAgCpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/data-display/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TextProps, TitleProps } from '@mantine/core';
|
|
2
|
+
import { IconProps } from '@tabler/icons-react';
|
|
3
|
+
type OctaveStatCardDirection = 'up' | 'down' | 'neutral';
|
|
4
|
+
interface OctaveStatCardProps {
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
value: number;
|
|
8
|
+
isValuePercent?: boolean;
|
|
9
|
+
direction?: OctaveStatCardDirection;
|
|
10
|
+
color: string;
|
|
11
|
+
icon: React.FC<IconProps>;
|
|
12
|
+
colorMap?: Record<OctaveStatCardDirection, string>;
|
|
13
|
+
titleProps?: TextProps;
|
|
14
|
+
descriptionProps?: TextProps;
|
|
15
|
+
valueProps?: TitleProps;
|
|
16
|
+
}
|
|
17
|
+
export declare function OctaveStatCard(props: OctaveStatCardProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=stat-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stat-card.d.ts","sourceRoot":"","sources":["../../../../src/lib/data-display/stat-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,SAAS,EAET,UAAU,EAEX,MAAM,eAAe,CAAC;AACvB,OAAO,EAA8B,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAG5E,KAAK,uBAAuB,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;AAEzD,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,uBAAuB,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;IACnD,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CAyDxD"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PaginationProps, TextProps } from '@mantine/core';
|
|
2
|
+
export interface OctaveCol<T> {
|
|
3
|
+
key: keyof T;
|
|
4
|
+
label: string;
|
|
5
|
+
labelProps?: TextProps;
|
|
6
|
+
visible?: boolean;
|
|
7
|
+
render?: (value: T[keyof T], row: T) => React.ReactNode;
|
|
8
|
+
headerActions?: React.ReactNode;
|
|
9
|
+
tableDropdown?: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export interface OctaveTableProps<T> {
|
|
12
|
+
data: T[];
|
|
13
|
+
columns: OctaveCol<T>[];
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
leftSection?: React.ReactNode;
|
|
16
|
+
pagination?: {
|
|
17
|
+
total: number;
|
|
18
|
+
page: number;
|
|
19
|
+
pageSize: number;
|
|
20
|
+
onPageChange: (page: number) => void;
|
|
21
|
+
props?: PaginationProps;
|
|
22
|
+
};
|
|
23
|
+
idKey?: keyof T;
|
|
24
|
+
}
|
|
25
|
+
export declare function OctaveTable<T>({ data, columns, loading, idKey, pagination, leftSection, }: OctaveTableProps<T>): import("react/jsx-runtime").JSX.Element | import("react/jsx-runtime").JSX.Element[];
|
|
26
|
+
//# sourceMappingURL=table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/lib/data-display/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAUL,eAAe,EAIf,SAAS,EAEV,MAAM,eAAe,CAAC;AA2BvB,MAAM,WAAW,SAAS,CAAC,CAAC;IAC1B,GAAG,EAAE,MAAM,CAAC,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IACxD,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACjC;AAED,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE;QACX,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;QACrC,KAAK,CAAC,EAAE,eAAe,CAAC;KACzB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC;CACjB;AAqFD,wBAAgB,WAAW,CAAC,CAAC,EAAE,EAC7B,IAAI,EACJ,OAAO,EACP,OAAO,EACP,KAAK,EACL,UAAU,EACV,WAAW,GACZ,EAAE,gBAAgB,CAAC,CAAC,CAAC,uFA2KrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/feedback/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NotificationData } from '@mantine/notifications';
|
|
2
|
+
interface NotificationProps {
|
|
3
|
+
baseProps?: Omit<NotificationData, 'title' | 'message' | 'icon'>;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function success(props: NotificationProps): string;
|
|
8
|
+
export declare function info(props: NotificationProps): string;
|
|
9
|
+
export declare function warning(props: NotificationProps): string;
|
|
10
|
+
export declare function error(props: NotificationProps): string;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=notifications.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../../../src/lib/feedback/notifications.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAiB,MAAM,wBAAwB,CAAC;AASzE,UAAU,iBAAiB;IACzB,SAAS,CAAC,EAAE,IAAI,CAAC,gBAAgB,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC,CAAC;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAmCD,wBAAgB,OAAO,CAAC,KAAK,EAAE,iBAAiB,UAS/C;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE,iBAAiB,UAQ5C;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,iBAAiB,UAS/C;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,iBAAiB,UAQ7C"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ButtonProps, TextProps } from '@mantine/core';
|
|
2
|
+
export type OctaveButtonContext = 'primary' | 'destructive' | 'success' | 'warning';
|
|
3
|
+
export interface OctaveButtonProps extends ButtonProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
action?: () => void;
|
|
6
|
+
link?: string;
|
|
7
|
+
type?: 'submit' | 'reset' | 'button';
|
|
8
|
+
context?: OctaveButtonContext;
|
|
9
|
+
}
|
|
10
|
+
export interface OctaveButtonLabelProps extends TextProps {
|
|
11
|
+
case?: 'lowercase' | 'uppercase' | 'free';
|
|
12
|
+
}
|
|
13
|
+
export declare function OctaveButton({ btnProps, labelProps, }: {
|
|
14
|
+
btnProps: OctaveButtonProps;
|
|
15
|
+
labelProps?: OctaveButtonLabelProps;
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/lib/input-components/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,WAAW,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAC;AAGrE,MAAM,MAAM,mBAAmB,GAC3B,SAAS,GACT,aAAa,GACb,SAAS,GACT,SAAS,CAAC;AAEd,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;IACrC,OAAO,CAAC,EAAE,mBAAmB,CAAC;CAC/B;AAED,MAAM,WAAW,sBAAuB,SAAQ,SAAS;IACvD,IAAI,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,CAAC;CAC3C;AASD,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,UAAU,GACX,EAAE;IACD,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,UAAU,CAAC,EAAE,sBAAsB,CAAC;CACrC,2CA6CA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseFormReturnType } from '@mantine/form';
|
|
2
|
+
import { OctaveSecureInputProps } from './inputs';
|
|
3
|
+
import { TextInputProps, NumberInputProps, SelectProps, CheckboxProps, RadioProps } from '@mantine/core';
|
|
4
|
+
type FieldType = 'text' | 'number' | 'select' | 'secure' | 'checkbox' | 'radio';
|
|
5
|
+
export interface FieldConfigMap {
|
|
6
|
+
text: TextInputProps;
|
|
7
|
+
number: NumberInputProps;
|
|
8
|
+
select: SelectProps;
|
|
9
|
+
secure: OctaveSecureInputProps;
|
|
10
|
+
checkbox: CheckboxProps;
|
|
11
|
+
radio: RadioProps;
|
|
12
|
+
}
|
|
13
|
+
export type FormFieldConfig<T> = {
|
|
14
|
+
[K in FieldType]: {
|
|
15
|
+
type: K;
|
|
16
|
+
name: keyof T;
|
|
17
|
+
props?: FieldConfigMap[K];
|
|
18
|
+
};
|
|
19
|
+
}[FieldType];
|
|
20
|
+
export interface OctaveFormBuilderProps<T> {
|
|
21
|
+
form: UseFormReturnType<T>;
|
|
22
|
+
fields: FormFieldConfig<T>[];
|
|
23
|
+
}
|
|
24
|
+
export declare function OctaveFormBuilder<T>({ form, fields, }: OctaveFormBuilderProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=formBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formBuilder.d.ts","sourceRoot":"","sources":["../../../../src/lib/input-components/formBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAOL,sBAAsB,EACvB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,UAAU,EACX,MAAM,eAAe,CAAC;AAEvB,KAAK,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;AAEhF,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,cAAc,CAAC;IACrB,MAAM,EAAE,gBAAgB,CAAC;IACzB,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE,sBAAsB,CAAC;IAC/B,QAAQ,EAAE,aAAa,CAAC;IACxB,KAAK,EAAE,UAAU,CAAC;CACnB;AAED,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI;KAC9B,CAAC,IAAI,SAAS,GAAG;QAChB,IAAI,EAAE,CAAC,CAAC;QACR,IAAI,EAAE,MAAM,CAAC,CAAC;QACd,KAAK,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;KAC3B;CACF,CAAC,SAAS,CAAC,CAAC;AAEb,MAAM,WAAW,sBAAsB,CAAC,CAAC;IACvC,IAAI,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;IAC3B,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;CAC9B;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,EACnC,IAAI,EACJ,MAAM,GACP,EAAE,sBAAsB,CAAC,CAAC,CAAC,2CA2D3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/input-components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CheckboxProps, NumberInputProps, RadioProps, SelectProps, TextInputProps } from '@mantine/core';
|
|
2
|
+
export declare function OctaveTextInput(props: TextInputProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function OctaveNumberInput(props: NumberInputProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function OctaveSelectInput(props: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export interface OctaveSecureInputProps extends TextInputProps {
|
|
6
|
+
enableForgotPassword?: boolean;
|
|
7
|
+
forgotPasswordHref?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function OctaveSecureInput(props: OctaveSecureInputProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function OctaveCheckboxInput(props: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function OctaveRadioInput(props: RadioProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=inputs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../../src/lib/input-components/inputs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,aAAa,EAGb,gBAAgB,EAEhB,UAAU,EAEV,WAAW,EAIX,cAAc,EACf,MAAM,eAAe,CAAC;AAkFvB,wBAAgB,eAAe,CAAC,KAAK,EAAE,cAAc,2CAWpD;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,gBAAgB,2CAWxD;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,2CAWnD;AAED,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CA6B9D;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,aAAa,2CAkBvD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,UAAU,2CAkBjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IconProps } from '@tabler/icons-react';
|
|
2
|
+
export interface LinksGroupProps {
|
|
3
|
+
icon: React.FC<IconProps>;
|
|
4
|
+
label: string;
|
|
5
|
+
link?: string;
|
|
6
|
+
initiallyOpened?: boolean;
|
|
7
|
+
links?: {
|
|
8
|
+
label: string;
|
|
9
|
+
link: string;
|
|
10
|
+
}[];
|
|
11
|
+
shellOpened?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function LinksGroup({ icon: Icon, label, link, initiallyOpened, links, shellOpened, }: LinksGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=nav-links.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nav-links.d.ts","sourceRoot":"","sources":["../../../../src/lib/layout/nav-links.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAYlE,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC1C,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EAAE,IAAI,EACV,KAAK,EACL,IAAI,EACJ,eAAe,EACf,KAAK,EACL,WAAW,GACZ,EAAE,eAAe,2CAmFjB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { NextPage } from 'next/dist/types';
|
|
2
|
+
import { LinksGroupProps } from './nav-links';
|
|
3
|
+
export type OctaveShellProps = {
|
|
4
|
+
disablePadding?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
hasBack?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type OctavePageProps<P = Record<string, unknown>, IP = P> = NextPage<P, IP> & OctaveShellProps;
|
|
11
|
+
export declare function OctaveShell({ children, props, title, subTitle, logo, user, menu, }: {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
props: OctaveShellProps;
|
|
14
|
+
title: string;
|
|
15
|
+
subTitle: string;
|
|
16
|
+
logo?: React.ReactNode;
|
|
17
|
+
menu: LinksGroupProps[];
|
|
18
|
+
user?: {
|
|
19
|
+
fullName: string;
|
|
20
|
+
contact: string;
|
|
21
|
+
logout: () => void;
|
|
22
|
+
};
|
|
23
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=shell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../src/lib/layout/shell.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAc,eAAe,EAAE,MAAM,aAAa,CAAC;AAI1D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,GAAG,CAAC,IAAI,QAAQ,CACzE,CAAC,EACD,EAAE,CACH,GACC,gBAAgB,CAAC;AAEnB,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,KAAK,EACL,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,IAAI,GACL,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,gBAAgB,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,IAAI,CAAC,EAAE;QACL,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,IAAI,CAAC;KACpB,CAAC;CACH,2CAiMA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MantineThemeOverride } from '@mantine/core';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
3
|
+
import '@mantine/core/styles.css';
|
|
4
|
+
import '@mantine/notifications/styles.css';
|
|
5
|
+
export interface UIProviderProps extends PropsWithChildren {
|
|
6
|
+
theme?: MantineThemeOverride;
|
|
7
|
+
}
|
|
8
|
+
export declare function UIProvider({ children, theme }: UIProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export type OctaveProviderProps = UIProviderProps;
|
|
10
|
+
export declare function OctaveProvider(props: OctaveProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/lib/provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAEtE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,0BAA0B,CAAC;AAClC,OAAO,mCAAmC,CAAC;AAE3C,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IACxD,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B;AAED,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,eAAe,2CAU9D;AAED,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC;AAElD,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CAExD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/text/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AnchorProps, TextProps } from '@mantine/core';
|
|
2
|
+
export interface OctaveLinkedTextProps {
|
|
3
|
+
label: string;
|
|
4
|
+
link: string;
|
|
5
|
+
linkLabel: string;
|
|
6
|
+
baseTextProps?: TextProps;
|
|
7
|
+
baseAnchorProps?: AnchorProps;
|
|
8
|
+
}
|
|
9
|
+
export declare function OctaveLinkedText({ label, link, linkLabel, baseTextProps, baseAnchorProps, }: OctaveLinkedTextProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=linkedText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkedText.d.ts","sourceRoot":"","sources":["../../../../src/lib/text/linkedText.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,WAAW,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAC;AAGrE,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,eAAe,CAAC,EAAE,WAAW,CAAC;CAC/B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,IAAI,EACJ,SAAS,EACT,aAAa,EACb,eAAe,GAChB,EAAE,qBAAqB,2CAevB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TextProps } from '@mantine/core';
|
|
2
|
+
export interface OctaveStackedTextProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
titleProps?: TextProps;
|
|
6
|
+
descProps?: TextProps;
|
|
7
|
+
}
|
|
8
|
+
export declare function OctaveStackedText({ title, description, titleProps, descProps, }: OctaveStackedTextProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=stackedText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stackedText.d.ts","sourceRoot":"","sources":["../../../../src/lib/text/stackedText.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,SAAS,EAAE,MAAM,eAAe,CAAC;AAEvD,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,WAAW,EACX,UAAU,EACV,SAAS,GACV,EAAE,sBAAsB,2CAWxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
export declare const octaveTheme: {
|
|
2
|
+
focusRing?: "auto" | "always" | "never" | undefined;
|
|
3
|
+
scale?: number | undefined;
|
|
4
|
+
fontSmoothing?: boolean | undefined;
|
|
5
|
+
white?: string | undefined;
|
|
6
|
+
black?: string | undefined;
|
|
7
|
+
colors?: {
|
|
8
|
+
[x: string & {}]: import("@mantine/core").MantineColorsTuple | undefined;
|
|
9
|
+
red?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
10
|
+
green?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
11
|
+
orange?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
12
|
+
dark?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
13
|
+
gray?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
14
|
+
pink?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
15
|
+
grape?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
16
|
+
violet?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
17
|
+
indigo?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
18
|
+
blue?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
19
|
+
cyan?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
20
|
+
lime?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
21
|
+
yellow?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
22
|
+
teal?: import("@mantine/core").MantineColorsTuple | undefined;
|
|
23
|
+
} | undefined;
|
|
24
|
+
primaryShade?: import("@mantine/core").MantineColorShade | {
|
|
25
|
+
light?: import("@mantine/core").MantineColorShade | undefined;
|
|
26
|
+
dark?: import("@mantine/core").MantineColorShade | undefined;
|
|
27
|
+
} | undefined;
|
|
28
|
+
primaryColor?: string | undefined;
|
|
29
|
+
variantColorResolver?: import("@mantine/core").VariantColorsResolver | undefined;
|
|
30
|
+
autoContrast?: boolean | undefined;
|
|
31
|
+
luminanceThreshold?: number | undefined;
|
|
32
|
+
fontFamily?: string | undefined;
|
|
33
|
+
fontFamilyMonospace?: string | undefined;
|
|
34
|
+
headings?: {
|
|
35
|
+
fontFamily?: string | undefined;
|
|
36
|
+
fontWeight?: string | undefined;
|
|
37
|
+
textWrap?: "balance" | "nowrap" | "wrap" | "stable" | "pretty" | undefined;
|
|
38
|
+
sizes?: {
|
|
39
|
+
h1?: {
|
|
40
|
+
fontSize?: string | undefined;
|
|
41
|
+
fontWeight?: string | undefined;
|
|
42
|
+
lineHeight?: string | undefined;
|
|
43
|
+
} | undefined;
|
|
44
|
+
h2?: {
|
|
45
|
+
fontSize?: string | undefined;
|
|
46
|
+
fontWeight?: string | undefined;
|
|
47
|
+
lineHeight?: string | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
h3?: {
|
|
50
|
+
fontSize?: string | undefined;
|
|
51
|
+
fontWeight?: string | undefined;
|
|
52
|
+
lineHeight?: string | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
h4?: {
|
|
55
|
+
fontSize?: string | undefined;
|
|
56
|
+
fontWeight?: string | undefined;
|
|
57
|
+
lineHeight?: string | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
h5?: {
|
|
60
|
+
fontSize?: string | undefined;
|
|
61
|
+
fontWeight?: string | undefined;
|
|
62
|
+
lineHeight?: string | undefined;
|
|
63
|
+
} | undefined;
|
|
64
|
+
h6?: {
|
|
65
|
+
fontSize?: string | undefined;
|
|
66
|
+
fontWeight?: string | undefined;
|
|
67
|
+
lineHeight?: string | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
} | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
radius?: {
|
|
72
|
+
[x: string & {}]: string | undefined;
|
|
73
|
+
xs?: string | undefined;
|
|
74
|
+
sm?: string | undefined;
|
|
75
|
+
md?: string | undefined;
|
|
76
|
+
lg?: string | undefined;
|
|
77
|
+
xl?: string | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
defaultRadius?: import("@mantine/core").MantineRadius | undefined;
|
|
80
|
+
spacing?: {
|
|
81
|
+
[x: number]: string | undefined;
|
|
82
|
+
[x: string & {}]: string | undefined;
|
|
83
|
+
xs?: string | undefined;
|
|
84
|
+
sm?: string | undefined;
|
|
85
|
+
md?: string | undefined;
|
|
86
|
+
lg?: string | undefined;
|
|
87
|
+
xl?: string | undefined;
|
|
88
|
+
} | undefined;
|
|
89
|
+
fontSizes?: {
|
|
90
|
+
[x: string & {}]: string | undefined;
|
|
91
|
+
xs?: string | undefined;
|
|
92
|
+
sm?: string | undefined;
|
|
93
|
+
md?: string | undefined;
|
|
94
|
+
lg?: string | undefined;
|
|
95
|
+
xl?: string | undefined;
|
|
96
|
+
} | undefined;
|
|
97
|
+
lineHeights?: {
|
|
98
|
+
[x: string & {}]: string | undefined;
|
|
99
|
+
xs?: string | undefined;
|
|
100
|
+
sm?: string | undefined;
|
|
101
|
+
md?: string | undefined;
|
|
102
|
+
lg?: string | undefined;
|
|
103
|
+
xl?: string | undefined;
|
|
104
|
+
} | undefined;
|
|
105
|
+
breakpoints?: {
|
|
106
|
+
[x: string & {}]: string | undefined;
|
|
107
|
+
xs?: string | undefined;
|
|
108
|
+
sm?: string | undefined;
|
|
109
|
+
md?: string | undefined;
|
|
110
|
+
lg?: string | undefined;
|
|
111
|
+
xl?: string | undefined;
|
|
112
|
+
} | undefined;
|
|
113
|
+
shadows?: {
|
|
114
|
+
[x: string & {}]: string | undefined;
|
|
115
|
+
xs?: string | undefined;
|
|
116
|
+
sm?: string | undefined;
|
|
117
|
+
md?: string | undefined;
|
|
118
|
+
lg?: string | undefined;
|
|
119
|
+
xl?: string | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
respectReducedMotion?: boolean | undefined;
|
|
122
|
+
cursorType?: "default" | "pointer" | undefined;
|
|
123
|
+
defaultGradient?: {
|
|
124
|
+
from?: string | undefined;
|
|
125
|
+
to?: string | undefined;
|
|
126
|
+
deg?: number | undefined;
|
|
127
|
+
} | undefined;
|
|
128
|
+
activeClassName?: string | undefined;
|
|
129
|
+
focusClassName?: string | undefined;
|
|
130
|
+
components?: {
|
|
131
|
+
[x: string]: {
|
|
132
|
+
classNames?: any;
|
|
133
|
+
styles?: any;
|
|
134
|
+
vars?: any;
|
|
135
|
+
defaultProps?: any;
|
|
136
|
+
} | undefined;
|
|
137
|
+
} | undefined;
|
|
138
|
+
other?: {
|
|
139
|
+
[x: string]: any;
|
|
140
|
+
} | undefined;
|
|
141
|
+
};
|
|
142
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/lib/theme/theme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themeTrigger.d.ts","sourceRoot":"","sources":["../../../../src/lib/theme/themeTrigger.tsx"],"names":[],"mappings":"AAIA,wBAAgB,YAAY,4CAgB3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const setTokens: (accessToken: string, refreshToken?: string) => void;
|
|
2
|
+
export declare const getAccessToken: () => string | undefined;
|
|
3
|
+
export declare const getRefreshToken: () => string | undefined;
|
|
4
|
+
export declare const clearTokens: () => void;
|
|
5
|
+
//# sourceMappingURL=cookies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cookies.d.ts","sourceRoot":"","sources":["../../../../src/utils/lib/cookies.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS,GAAI,aAAa,MAAM,EAAE,eAAe,MAAM,SAGnE,CAAC;AAEF,eAAO,MAAM,cAAc,0BAAsC,CAAC;AAClE,eAAO,MAAM,eAAe,0BAAuC,CAAC;AAEpE,eAAO,MAAM,WAAW,YAIvB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function formatETB(value: number | string): string;
|
|
2
|
+
export declare function percentToFloat(value: string | number): number;
|
|
3
|
+
export declare function floatToPercent(value: string | number): string | 0;
|
|
4
|
+
export declare function formatDate(value: string): string;
|
|
5
|
+
export declare function UnderscoreToTitleCase(value: string): string;
|
|
6
|
+
export declare function TitleCaseToUnderscore(value: string): string;
|
|
7
|
+
//# sourceMappingURL=formatters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../../src/utils/lib/formatters.ts"],"names":[],"mappings":"AAAA,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAUxD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,UAOpD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,cAOpD;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,UAQvC;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,UAKlD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,UAGlD"}
|