@alepha/ui 0.11.1 → 0.11.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/dist/index.d.ts +13 -13
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _alepha_react0 from "@alepha/react";
|
|
|
4
4
|
import { RouterGoOptions, UseActiveOptions } from "@alepha/react";
|
|
5
5
|
import { ModalsProviderProps } from "@mantine/modals";
|
|
6
6
|
import { AutocompleteProps, ButtonProps, ColorInputProps, ColorSchemeScriptProps, FileInputProps, Flex, MantineProviderProps, ModalProps, MultiSelectProps, NumberInputProps, PasswordInputProps, SegmentedControlProps, SelectProps, SwitchProps, TableProps, TagsInputProps, TextInputProps, TextareaProps, TooltipProps } from "@mantine/core";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
8
8
|
import React$1, { ComponentType, FC, ReactNode } from "react";
|
|
9
9
|
import * as _mantine_notifications0 from "@mantine/notifications";
|
|
10
10
|
import { NotificationData, NotificationsProps } from "@mantine/notifications";
|
|
@@ -48,7 +48,7 @@ interface ControlSelectProps extends GenericControlProps {
|
|
|
48
48
|
*
|
|
49
49
|
* Automatically detects enum values and array types from schema.
|
|
50
50
|
*/
|
|
51
|
-
declare const ControlSelect: (props: ControlSelectProps) =>
|
|
51
|
+
declare const ControlSelect: (props: ControlSelectProps) => react_jsx_runtime2.JSX.Element | null;
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region src/components/Control.d.ts
|
|
54
54
|
interface ControlProps extends GenericControlProps {
|
|
@@ -86,7 +86,7 @@ interface ControlProps extends GenericControlProps {
|
|
|
86
86
|
*
|
|
87
87
|
* Automatically handles labels, descriptions, error messages, required state, and default icons.
|
|
88
88
|
*/
|
|
89
|
-
declare const Control: (_props: ControlProps) =>
|
|
89
|
+
declare const Control: (_props: ControlProps) => react_jsx_runtime2.JSX.Element | null;
|
|
90
90
|
type CustomControlProps = {
|
|
91
91
|
defaultValue: any;
|
|
92
92
|
onChange: (value: any) => void;
|
|
@@ -161,7 +161,7 @@ interface ActionCommonProps extends ButtonProps {
|
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
163
|
type ActionProps = ActionCommonProps & (ActiveHrefProps | ActionClickProps | ActionSubmitProps | {});
|
|
164
|
-
declare const Action: (_props: ActionProps) =>
|
|
164
|
+
declare const Action: (_props: ActionProps) => react_jsx_runtime2.JSX.Element;
|
|
165
165
|
interface ActionSubmitProps extends ButtonProps {
|
|
166
166
|
form: FormModel<any>;
|
|
167
167
|
}
|
|
@@ -181,7 +181,7 @@ interface OmnibarProps {
|
|
|
181
181
|
searchPlaceholder?: string;
|
|
182
182
|
nothingFound?: ReactNode;
|
|
183
183
|
}
|
|
184
|
-
declare const Omnibar: (props: OmnibarProps) =>
|
|
184
|
+
declare const Omnibar: (props: OmnibarProps) => react_jsx_runtime2.JSX.Element;
|
|
185
185
|
//#endregion
|
|
186
186
|
//#region src/components/AlephaMantineProvider.d.ts
|
|
187
187
|
interface AlephaMantineProviderProps {
|
|
@@ -193,7 +193,7 @@ interface AlephaMantineProviderProps {
|
|
|
193
193
|
modals?: ModalsProviderProps;
|
|
194
194
|
omnibar?: OmnibarProps;
|
|
195
195
|
}
|
|
196
|
-
declare const AlephaMantineProvider: (props: AlephaMantineProviderProps) =>
|
|
196
|
+
declare const AlephaMantineProvider: (props: AlephaMantineProviderProps) => react_jsx_runtime2.JSX.Element;
|
|
197
197
|
//#endregion
|
|
198
198
|
//#region src/components/ControlDate.d.ts
|
|
199
199
|
interface ControlDateProps extends GenericControlProps {
|
|
@@ -211,7 +211,7 @@ interface ControlDateProps extends GenericControlProps {
|
|
|
211
211
|
*
|
|
212
212
|
* Automatically detects date formats from schema and renders appropriate picker.
|
|
213
213
|
*/
|
|
214
|
-
declare const ControlDate: (props: ControlDateProps) =>
|
|
214
|
+
declare const ControlDate: (props: ControlDateProps) => react_jsx_runtime2.JSX.Element | null;
|
|
215
215
|
//#endregion
|
|
216
216
|
//#region src/components/DarkModeButton.d.ts
|
|
217
217
|
interface DarkModeButtonProps {
|
|
@@ -219,7 +219,7 @@ interface DarkModeButtonProps {
|
|
|
219
219
|
size?: string | number;
|
|
220
220
|
variant?: "filled" | "light" | "outline" | "default" | "subtle" | "transparent";
|
|
221
221
|
}
|
|
222
|
-
declare const DarkModeButton: (props: DarkModeButtonProps) =>
|
|
222
|
+
declare const DarkModeButton: (props: DarkModeButtonProps) => react_jsx_runtime2.JSX.Element;
|
|
223
223
|
//#endregion
|
|
224
224
|
//#region src/components/DataTable.d.ts
|
|
225
225
|
type SortDirection = "asc" | "desc" | null;
|
|
@@ -330,7 +330,7 @@ declare function DataTable<T = any>({
|
|
|
330
330
|
minHeight,
|
|
331
331
|
maxHeight,
|
|
332
332
|
...tableProps
|
|
333
|
-
}: DataTableProps<T>):
|
|
333
|
+
}: DataTableProps<T>): react_jsx_runtime2.JSX.Element;
|
|
334
334
|
//#endregion
|
|
335
335
|
//#region src/services/DialogService.d.ts
|
|
336
336
|
interface BaseDialogOptions extends Partial<ModalProps> {
|
|
@@ -425,19 +425,19 @@ declare class DialogService {
|
|
|
425
425
|
declare function AlertDialog({
|
|
426
426
|
options,
|
|
427
427
|
onClose
|
|
428
|
-
}: AlertDialogProps):
|
|
428
|
+
}: AlertDialogProps): react_jsx_runtime2.JSX.Element;
|
|
429
429
|
//#endregion
|
|
430
430
|
//#region src/components/dialogs/ConfirmDialog.d.ts
|
|
431
431
|
declare function ConfirmDialog({
|
|
432
432
|
options,
|
|
433
433
|
onConfirm
|
|
434
|
-
}: ConfirmDialogProps):
|
|
434
|
+
}: ConfirmDialogProps): react_jsx_runtime2.JSX.Element;
|
|
435
435
|
//#endregion
|
|
436
436
|
//#region src/components/dialogs/PromptDialog.d.ts
|
|
437
437
|
declare function PromptDialog({
|
|
438
438
|
options,
|
|
439
439
|
onSubmit
|
|
440
|
-
}: PromptDialogProps):
|
|
440
|
+
}: PromptDialogProps): react_jsx_runtime2.JSX.Element;
|
|
441
441
|
//#endregion
|
|
442
442
|
//#region src/components/Sidebar.d.ts
|
|
443
443
|
interface MenuItem {
|
|
@@ -509,7 +509,7 @@ interface TypeFormProps<T extends TObject> {
|
|
|
509
509
|
* return <TypeForm form={form} columns={2} />;
|
|
510
510
|
* ```
|
|
511
511
|
*/
|
|
512
|
-
declare const TypeForm: <T extends TObject>(props: TypeFormProps<T>) =>
|
|
512
|
+
declare const TypeForm: <T extends TObject>(props: TypeFormProps<T>) => react_jsx_runtime2.JSX.Element | null;
|
|
513
513
|
//#endregion
|
|
514
514
|
//#region src/hooks/useDialog.d.ts
|
|
515
515
|
/**
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"mantine"
|
|
7
7
|
],
|
|
8
8
|
"author": "Feunard",
|
|
9
|
-
"version": "0.11.
|
|
9
|
+
"version": "0.11.2",
|
|
10
10
|
"type": "module",
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": ">=22.0.0"
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"src"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@alepha/core": "0.11.
|
|
24
|
-
"@alepha/react": "0.11.
|
|
25
|
-
"@alepha/react-form": "0.11.
|
|
26
|
-
"@alepha/server": "0.11.
|
|
23
|
+
"@alepha/core": "0.11.2",
|
|
24
|
+
"@alepha/react": "0.11.2",
|
|
25
|
+
"@alepha/react-form": "0.11.2",
|
|
26
|
+
"@alepha/server": "0.11.2",
|
|
27
27
|
"@mantine/core": "^8.3.6",
|
|
28
28
|
"@mantine/dates": "^8.3.6",
|
|
29
29
|
"@mantine/hooks": "^8.3.6",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"dayjs": "^1.11.18"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@alepha/cli": "0.11.
|
|
39
|
-
"@alepha/vite": "0.11.
|
|
38
|
+
"@alepha/cli": "0.11.2",
|
|
39
|
+
"@alepha/vite": "0.11.2",
|
|
40
40
|
"@biomejs/biome": "^2.3.2",
|
|
41
41
|
"react": "^19.2.0",
|
|
42
42
|
"react-dom": "^19.2.0",
|