@elaraai/east-ui-components 0.0.1-beta.5 → 0.0.1-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +9819 -652
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9830 -666
- package/dist/index.js.map +1 -1
- package/package.json +7 -3
- package/dist/buttons/button/index.d.ts +0 -25
- package/dist/buttons/button/index.d.ts.map +0 -1
- package/dist/buttons/icon-button/index.d.ts +0 -22
- package/dist/buttons/icon-button/index.d.ts.map +0 -1
- package/dist/buttons/index.d.ts +0 -10
- package/dist/buttons/index.d.ts.map +0 -1
- package/dist/charts/area/index.d.ts +0 -16
- package/dist/charts/area/index.d.ts.map +0 -1
- package/dist/charts/bar/index.d.ts +0 -16
- package/dist/charts/bar/index.d.ts.map +0 -1
- package/dist/charts/bar-list/index.d.ts +0 -16
- package/dist/charts/bar-list/index.d.ts.map +0 -1
- package/dist/charts/bar-segment/index.d.ts +0 -16
- package/dist/charts/bar-segment/index.d.ts.map +0 -1
- package/dist/charts/index.d.ts +0 -17
- package/dist/charts/index.d.ts.map +0 -1
- package/dist/charts/line/index.d.ts +0 -16
- package/dist/charts/line/index.d.ts.map +0 -1
- package/dist/charts/pie/index.d.ts +0 -16
- package/dist/charts/pie/index.d.ts.map +0 -1
- package/dist/charts/radar/index.d.ts +0 -16
- package/dist/charts/radar/index.d.ts.map +0 -1
- package/dist/charts/scatter/index.d.ts +0 -16
- package/dist/charts/scatter/index.d.ts.map +0 -1
- package/dist/charts/sparkline/index.d.ts +0 -35
- package/dist/charts/sparkline/index.d.ts.map +0 -1
- package/dist/charts/utils.d.ts +0 -151
- package/dist/charts/utils.d.ts.map +0 -1
- package/dist/collections/data-list/index.d.ts +0 -24
- package/dist/collections/data-list/index.d.ts.map +0 -1
- package/dist/collections/gantt/EventAxis.d.ts +0 -14
- package/dist/collections/gantt/EventAxis.d.ts.map +0 -1
- package/dist/collections/gantt/GanttEventRow.d.ts +0 -20
- package/dist/collections/gantt/GanttEventRow.d.ts.map +0 -1
- package/dist/collections/gantt/GanttMilestone.d.ts +0 -16
- package/dist/collections/gantt/GanttMilestone.d.ts.map +0 -1
- package/dist/collections/gantt/GanttTask.d.ts +0 -17
- package/dist/collections/gantt/GanttTask.d.ts.map +0 -1
- package/dist/collections/gantt/index.d.ts +0 -65
- package/dist/collections/gantt/index.d.ts.map +0 -1
- package/dist/collections/index.d.ts +0 -8
- package/dist/collections/index.d.ts.map +0 -1
- package/dist/collections/table/index.d.ts +0 -59
- package/dist/collections/table/index.d.ts.map +0 -1
- package/dist/collections/tree-view/index.d.ts +0 -31
- package/dist/collections/tree-view/index.d.ts.map +0 -1
- package/dist/component.d.ts +0 -15
- package/dist/component.d.ts.map +0 -1
- package/dist/container/card/index.d.ts +0 -22
- package/dist/container/card/index.d.ts.map +0 -1
- package/dist/container/index.d.ts +0 -6
- package/dist/container/index.d.ts.map +0 -1
- package/dist/disclosure/accordion/index.d.ts +0 -36
- package/dist/disclosure/accordion/index.d.ts.map +0 -1
- package/dist/disclosure/carousel/index.d.ts +0 -22
- package/dist/disclosure/carousel/index.d.ts.map +0 -1
- package/dist/disclosure/index.d.ts +0 -8
- package/dist/disclosure/index.d.ts.map +0 -1
- package/dist/disclosure/tabs/index.d.ts +0 -45
- package/dist/disclosure/tabs/index.d.ts.map +0 -1
- package/dist/display/avatar/index.d.ts +0 -22
- package/dist/display/avatar/index.d.ts.map +0 -1
- package/dist/display/badge/index.d.ts +0 -22
- package/dist/display/badge/index.d.ts.map +0 -1
- package/dist/display/icon/index.d.ts +0 -22
- package/dist/display/icon/index.d.ts.map +0 -1
- package/dist/display/index.d.ts +0 -10
- package/dist/display/index.d.ts.map +0 -1
- package/dist/display/stat/index.d.ts +0 -16
- package/dist/display/stat/index.d.ts.map +0 -1
- package/dist/display/tag/index.d.ts +0 -22
- package/dist/display/tag/index.d.ts.map +0 -1
- package/dist/feedback/alert/index.d.ts +0 -22
- package/dist/feedback/alert/index.d.ts.map +0 -1
- package/dist/feedback/index.d.ts +0 -7
- package/dist/feedback/index.d.ts.map +0 -1
- package/dist/feedback/progress/index.d.ts +0 -22
- package/dist/feedback/progress/index.d.ts.map +0 -1
- package/dist/forms/checkbox/index.d.ts +0 -22
- package/dist/forms/checkbox/index.d.ts.map +0 -1
- package/dist/forms/field/index.d.ts +0 -22
- package/dist/forms/field/index.d.ts.map +0 -1
- package/dist/forms/fieldset/index.d.ts +0 -76
- package/dist/forms/fieldset/index.d.ts.map +0 -1
- package/dist/forms/file-upload/index.d.ts +0 -22
- package/dist/forms/file-upload/index.d.ts.map +0 -1
- package/dist/forms/index.d.ts +0 -15
- package/dist/forms/index.d.ts.map +0 -1
- package/dist/forms/input/index.d.ts +0 -60
- package/dist/forms/input/index.d.ts.map +0 -1
- package/dist/forms/select/index.d.ts +0 -31
- package/dist/forms/select/index.d.ts.map +0 -1
- package/dist/forms/slider/index.d.ts +0 -22
- package/dist/forms/slider/index.d.ts.map +0 -1
- package/dist/forms/switch/index.d.ts +0 -22
- package/dist/forms/switch/index.d.ts.map +0 -1
- package/dist/forms/tags-input/index.d.ts +0 -22
- package/dist/forms/tags-input/index.d.ts.map +0 -1
- package/dist/forms/textarea/index.d.ts +0 -22
- package/dist/forms/textarea/index.d.ts.map +0 -1
- package/dist/index.d.ts +0 -23
- package/dist/index.d.ts.map +0 -1
- package/dist/layout/box/index.d.ts +0 -25
- package/dist/layout/box/index.d.ts.map +0 -1
- package/dist/layout/grid/index.d.ts +0 -25
- package/dist/layout/grid/index.d.ts.map +0 -1
- package/dist/layout/index.d.ts +0 -13
- package/dist/layout/index.d.ts.map +0 -1
- package/dist/layout/separator/index.d.ts +0 -25
- package/dist/layout/separator/index.d.ts.map +0 -1
- package/dist/layout/splitter/index.d.ts +0 -33
- package/dist/layout/splitter/index.d.ts.map +0 -1
- package/dist/layout/stack/index.d.ts +0 -25
- package/dist/layout/stack/index.d.ts.map +0 -1
- package/dist/overlays/action-bar/index.d.ts +0 -18
- package/dist/overlays/action-bar/index.d.ts.map +0 -1
- package/dist/overlays/dialog/index.d.ts +0 -16
- package/dist/overlays/dialog/index.d.ts.map +0 -1
- package/dist/overlays/drawer/index.d.ts +0 -16
- package/dist/overlays/drawer/index.d.ts.map +0 -1
- package/dist/overlays/hover-card/index.d.ts +0 -16
- package/dist/overlays/hover-card/index.d.ts.map +0 -1
- package/dist/overlays/index.d.ts +0 -13
- package/dist/overlays/index.d.ts.map +0 -1
- package/dist/overlays/menu/index.d.ts +0 -18
- package/dist/overlays/menu/index.d.ts.map +0 -1
- package/dist/overlays/popover/index.d.ts +0 -16
- package/dist/overlays/popover/index.d.ts.map +0 -1
- package/dist/overlays/toggle-tip/index.d.ts +0 -17
- package/dist/overlays/toggle-tip/index.d.ts.map +0 -1
- package/dist/overlays/tooltip/index.d.ts +0 -16
- package/dist/overlays/tooltip/index.d.ts.map +0 -1
- package/dist/platform/hooks.d.ts +0 -145
- package/dist/platform/hooks.d.ts.map +0 -1
- package/dist/platform/index.d.ts +0 -16
- package/dist/platform/index.d.ts.map +0 -1
- package/dist/platform/store.d.ts +0 -114
- package/dist/platform/store.d.ts.map +0 -1
- package/dist/typography/code/index.d.ts +0 -22
- package/dist/typography/code/index.d.ts.map +0 -1
- package/dist/typography/code-block/index.d.ts +0 -35
- package/dist/typography/code-block/index.d.ts.map +0 -1
- package/dist/typography/heading/index.d.ts +0 -22
- package/dist/typography/heading/index.d.ts.map +0 -1
- package/dist/typography/highlight/index.d.ts +0 -27
- package/dist/typography/highlight/index.d.ts.map +0 -1
- package/dist/typography/index.d.ts +0 -13
- package/dist/typography/index.d.ts.map +0 -1
- package/dist/typography/link/index.d.ts +0 -22
- package/dist/typography/link/index.d.ts.map +0 -1
- package/dist/typography/list/index.d.ts +0 -22
- package/dist/typography/list/index.d.ts.map +0 -1
- package/dist/typography/mark/index.d.ts +0 -22
- package/dist/typography/mark/index.d.ts.map +0 -1
- package/dist/typography/text/index.d.ts +0 -25
- package/dist/typography/text/index.d.ts.map +0 -1
- package/dist/utils/RowSortManager.d.ts +0 -68
- package/dist/utils/RowSortManager.d.ts.map +0 -1
- package/dist/utils/RowStateManager.d.ts +0 -42
- package/dist/utils/RowStateManager.d.ts.map +0 -1
- package/dist/utils.d.ts +0 -7
- package/dist/utils.d.ts.map +0 -1
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type FieldRootProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Field } from "@elaraai/east-ui";
|
|
8
|
-
/** East Field value type */
|
|
9
|
-
export type FieldValue = ValueTypeOf<typeof Field.Types.Field>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Field value to Chakra UI Field props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toChakraField(value: FieldValue): FieldRootProps;
|
|
15
|
-
export interface EastChakraFieldProps {
|
|
16
|
-
value: FieldValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI Field value using Chakra UI Field component.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraField: import("react").NamedExoticComponent<EastChakraFieldProps>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/field/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAOzC,4BAA4B;AAC5B,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,OAAO,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAE/D;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG,cAAc,CAO/D;AAED,MAAM,WAAW,oBAAoB;IACjC,KAAK,EAAE,UAAU,CAAC;CACrB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,4DAa0B,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type FieldsetRootProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { UIComponentType } from "@elaraai/east-ui";
|
|
8
|
-
/** East Fieldset value type - extracted from the component variant */
|
|
9
|
-
export type FieldsetValue = {
|
|
10
|
-
legend: {
|
|
11
|
-
type: "some";
|
|
12
|
-
value: string;
|
|
13
|
-
} | {
|
|
14
|
-
type: "none";
|
|
15
|
-
value: null;
|
|
16
|
-
};
|
|
17
|
-
helperText: {
|
|
18
|
-
type: "some";
|
|
19
|
-
value: string;
|
|
20
|
-
} | {
|
|
21
|
-
type: "none";
|
|
22
|
-
value: null;
|
|
23
|
-
};
|
|
24
|
-
errorText: {
|
|
25
|
-
type: "some";
|
|
26
|
-
value: string;
|
|
27
|
-
} | {
|
|
28
|
-
type: "none";
|
|
29
|
-
value: null;
|
|
30
|
-
};
|
|
31
|
-
content: Array<ValueTypeOf<UIComponentType>>;
|
|
32
|
-
disabled: {
|
|
33
|
-
type: "some";
|
|
34
|
-
value: boolean;
|
|
35
|
-
} | {
|
|
36
|
-
type: "none";
|
|
37
|
-
value: null;
|
|
38
|
-
};
|
|
39
|
-
invalid: {
|
|
40
|
-
type: "some";
|
|
41
|
-
value: boolean;
|
|
42
|
-
} | {
|
|
43
|
-
type: "none";
|
|
44
|
-
value: null;
|
|
45
|
-
};
|
|
46
|
-
style: {
|
|
47
|
-
type: "some";
|
|
48
|
-
value: {
|
|
49
|
-
size: {
|
|
50
|
-
type: "some";
|
|
51
|
-
value: {
|
|
52
|
-
type: string;
|
|
53
|
-
};
|
|
54
|
-
} | {
|
|
55
|
-
type: "none";
|
|
56
|
-
value: null;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
} | {
|
|
60
|
-
type: "none";
|
|
61
|
-
value: null;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* Converts an East UI Fieldset value to Chakra UI Fieldset props.
|
|
66
|
-
* Pure function - easy to test independently.
|
|
67
|
-
*/
|
|
68
|
-
export declare function toChakraFieldset(value: FieldsetValue): FieldsetRootProps;
|
|
69
|
-
export interface EastChakraFieldsetProps {
|
|
70
|
-
value: FieldsetValue;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Renders an East UI Fieldset value using Chakra UI Fieldset component.
|
|
74
|
-
*/
|
|
75
|
-
export declare const EastChakraFieldset: import("react").NamedExoticComponent<EastChakraFieldsetProps>;
|
|
76
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/fieldset/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAA8B,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACtF,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGnD,sEAAsE;AACtE,MAAM,MAAM,aAAa,GAAG;IACxB,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE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ACpC,KAAK,EAAE,aAAa,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,+DAkB7B,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type FileUploadRootProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { FileUpload } from "@elaraai/east-ui";
|
|
8
|
-
/** East FileUpload value type */
|
|
9
|
-
export type FileUploadValue = ValueTypeOf<typeof FileUpload.Types.FileUpload>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI FileUpload value to Chakra UI FileUpload props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toChakraFileUpload(value: FileUploadValue): FileUploadRootProps;
|
|
15
|
-
export interface EastChakraFileUploadProps {
|
|
16
|
-
value: FileUploadValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI FileUpload value using Chakra UI FileUpload component.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraFileUpload: import("react").NamedExoticComponent<EastChakraFileUploadProps>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/file-upload/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAkC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5F,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAM9C,iCAAiC;AACjC,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,OAAO,UAAU,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;AAE9E;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,eAAe,GAAG,mBAAmB,CAiB9E;AAED,MAAM,WAAW,yBAAyB;IACtC,KAAK,EAAE,eAAe,CAAC;CAC1B;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,iEA+B0B,CAAC"}
|
package/dist/forms/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
export { EastChakraStringInput, EastChakraIntegerInput, EastChakraFloatInput, EastChakraDateTimeInput, toChakraStringInput, toChakraIntegerInput, toChakraFloatInput, toChakraDateTimeInput, type StringInputValue, type IntegerInputValue, type FloatInputValue, type DateTimeInputValue, type EastChakraStringInputProps, type EastChakraIntegerInputProps, type EastChakraFloatInputProps, type EastChakraDateTimeInputProps, } from "./input/index.js";
|
|
6
|
-
export { EastChakraCheckbox, toChakraCheckbox, type CheckboxValue, type EastChakraCheckboxProps, } from "./checkbox/index.js";
|
|
7
|
-
export { EastChakraSwitch, toChakraSwitch, type SwitchValue, type EastChakraSwitchProps, } from "./switch/index.js";
|
|
8
|
-
export { EastChakraSelect, toChakraSelect, type SelectRootValue, type SelectItemValue, type EastChakraSelectProps, } from "./select/index.js";
|
|
9
|
-
export { EastChakraSlider, toChakraSlider, type SliderValue, type EastChakraSliderProps, } from "./slider/index.js";
|
|
10
|
-
export { EastChakraField, toChakraField, type FieldValue, type EastChakraFieldProps, } from "./field/index.js";
|
|
11
|
-
export { EastChakraFieldset, toChakraFieldset, type FieldsetValue, type EastChakraFieldsetProps, } from "./fieldset/index.js";
|
|
12
|
-
export { EastChakraTextarea, toChakraTextarea, type TextareaValue, type EastChakraTextareaProps, } from "./textarea/index.js";
|
|
13
|
-
export { EastChakraTagsInput, toChakraTagsInput, type TagsInputValue, type EastChakraTagsInputProps, } from "./tags-input/index.js";
|
|
14
|
-
export { EastChakraFileUpload, toChakraFileUpload, type FileUploadValue, type EastChakraFileUploadProps, } from "./file-upload/index.js";
|
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/forms/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EACH,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,GACpC,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACH,kBAAkB,EAClB,gBAAgB,EAChB,KAAK,aAAa,EAClB,KAAK,uBAAuB,GAC/B,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACH,gBAAgB,EAChB,cAAc,EACd,KAAK,WAAW,EAChB,KAAK,qBAAqB,GAC7B,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACH,gBAAgB,EAChB,cAAc,EACd,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,qBAAqB,GAC7B,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACH,gBAAgB,EAChB,cAAc,EACd,KAAK,WAAW,EAChB,KAAK,qBAAqB,GAC7B,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACH,eAAe,EACf,aAAa,EACb,KAAK,UAAU,EACf,KAAK,oBAAoB,GAC5B,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACH,kBAAkB,EAClB,gBAAgB,EAChB,KAAK,aAAa,EAClB,KAAK,uBAAuB,GAC/B,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACH,kBAAkB,EAClB,gBAAgB,EAChB,KAAK,aAAa,EAClB,KAAK,uBAAuB,GAC/B,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACH,mBAAmB,EACnB,iBAAiB,EACjB,KAAK,cAAc,EACnB,KAAK,wBAAwB,GAChC,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EACH,oBAAoB,EACpB,kBAAkB,EAClB,KAAK,eAAe,EACpB,KAAK,yBAAyB,GACjC,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type InputProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Input } from "@elaraai/east-ui";
|
|
8
|
-
/** East StringInput value type */
|
|
9
|
-
export type StringInputValue = ValueTypeOf<typeof Input.Types.String>;
|
|
10
|
-
/** East IntegerInput value type */
|
|
11
|
-
export type IntegerInputValue = ValueTypeOf<typeof Input.Types.Integer>;
|
|
12
|
-
/** East FloatInput value type */
|
|
13
|
-
export type FloatInputValue = ValueTypeOf<typeof Input.Types.Float>;
|
|
14
|
-
/** East DateTimeInput value type */
|
|
15
|
-
export type DateTimeInputValue = ValueTypeOf<typeof Input.Types.DateTime>;
|
|
16
|
-
/**
|
|
17
|
-
* Converts an East UI StringInput value to Chakra UI Input props.
|
|
18
|
-
*/
|
|
19
|
-
export declare function toChakraStringInput(value: StringInputValue): InputProps;
|
|
20
|
-
/**
|
|
21
|
-
* Converts an East UI IntegerInput value to Chakra UI Input props.
|
|
22
|
-
*/
|
|
23
|
-
export declare function toChakraIntegerInput(value: IntegerInputValue): InputProps;
|
|
24
|
-
/**
|
|
25
|
-
* Converts an East UI FloatInput value to Chakra UI Input props.
|
|
26
|
-
*/
|
|
27
|
-
export declare function toChakraFloatInput(value: FloatInputValue): InputProps;
|
|
28
|
-
/**
|
|
29
|
-
* Converts an East UI DateTimeInput value to Chakra UI Input props.
|
|
30
|
-
*/
|
|
31
|
-
export declare function toChakraDateTimeInput(value: DateTimeInputValue): InputProps;
|
|
32
|
-
export interface EastChakraStringInputProps {
|
|
33
|
-
value: StringInputValue;
|
|
34
|
-
}
|
|
35
|
-
export interface EastChakraIntegerInputProps {
|
|
36
|
-
value: IntegerInputValue;
|
|
37
|
-
}
|
|
38
|
-
export interface EastChakraFloatInputProps {
|
|
39
|
-
value: FloatInputValue;
|
|
40
|
-
}
|
|
41
|
-
export interface EastChakraDateTimeInputProps {
|
|
42
|
-
value: DateTimeInputValue;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Renders an East UI StringInput value using Chakra UI Input component.
|
|
46
|
-
*/
|
|
47
|
-
export declare const EastChakraStringInput: import("react").NamedExoticComponent<EastChakraStringInputProps>;
|
|
48
|
-
/**
|
|
49
|
-
* Renders an East UI IntegerInput value using Chakra UI Input component.
|
|
50
|
-
*/
|
|
51
|
-
export declare const EastChakraIntegerInput: import("react").NamedExoticComponent<EastChakraIntegerInputProps>;
|
|
52
|
-
/**
|
|
53
|
-
* Renders an East UI FloatInput value using Chakra UI Input component.
|
|
54
|
-
*/
|
|
55
|
-
export declare const EastChakraFloatInput: import("react").NamedExoticComponent<EastChakraFloatInputProps>;
|
|
56
|
-
/**
|
|
57
|
-
* Renders an East UI DateTimeInput value using Chakra UI Input component.
|
|
58
|
-
*/
|
|
59
|
-
export declare const EastChakraDateTimeInput: import("react").NamedExoticComponent<EastChakraDateTimeInputProps>;
|
|
60
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/input/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAwB,KAAK,UAAU,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mEAG0B,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,oBAAoB,iEAG0B,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,uBAAuB,oEAG0B,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type SelectRootProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Select } from "@elaraai/east-ui";
|
|
8
|
-
/** East Select Root value type */
|
|
9
|
-
export type SelectRootValue = ValueTypeOf<typeof Select.Types.Root>;
|
|
10
|
-
/** East Select Item value type */
|
|
11
|
-
export type SelectItemValue = ValueTypeOf<typeof Select.Types.Item>;
|
|
12
|
-
/** Select item for collection */
|
|
13
|
-
interface SelectCollectionItem {
|
|
14
|
-
value: string;
|
|
15
|
-
label: string;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Converts an East UI Select value to Chakra UI Select props.
|
|
20
|
-
* Pure function - easy to test independently.
|
|
21
|
-
*/
|
|
22
|
-
export declare function toChakraSelect(value: SelectRootValue): Omit<SelectRootProps<SelectCollectionItem>, "collection">;
|
|
23
|
-
export interface EastChakraSelectProps {
|
|
24
|
-
value: SelectRootValue;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Renders an East UI Select value using Chakra UI Select component.
|
|
28
|
-
*/
|
|
29
|
-
export declare const EastChakraSelect: import("react").NamedExoticComponent<EastChakraSelectProps>;
|
|
30
|
-
export {};
|
|
31
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/select/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAgD,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACtG,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAM1C,kCAAkC;AAClC,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAEpE,kCAAkC;AAClC,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAEpE,iCAAiC;AACjC,UAAU,oBAAoB;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC,oBAAoB,CAAC,EAAE,YAAY,CAAC,CAShH;AAED,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,eAAe,CAAC;CAC1B;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,6DAsC8B,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type SliderRootProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Slider } from "@elaraai/east-ui";
|
|
8
|
-
/** East Slider value type */
|
|
9
|
-
export type SliderValue = ValueTypeOf<typeof Slider.Types.Slider>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Slider value to Chakra UI Slider props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toChakraSlider(value: SliderValue): SliderRootProps;
|
|
15
|
-
export interface EastChakraSliderProps {
|
|
16
|
-
value: SliderValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI Slider value using Chakra UI Slider component.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraSlider: import("react").NamedExoticComponent<EastChakraSliderProps>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/slider/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAiD,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvG,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAM1C,6BAA6B;AAC7B,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AAElE;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,GAAG,eAAe,CAYlE;AAED,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,WAAW,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,6DAa0B,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type SwitchRootProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Switch } from "@elaraai/east-ui";
|
|
8
|
-
/** East Switch value type */
|
|
9
|
-
export type SwitchValue = ValueTypeOf<typeof Switch.Types.Switch>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Switch value to Chakra UI Switch props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toChakraSwitch(value: SwitchValue): SwitchRootProps;
|
|
15
|
-
export interface EastChakraSwitchProps {
|
|
16
|
-
value: SwitchValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI Switch value using Chakra UI Switch component.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraSwitch: import("react").NamedExoticComponent<EastChakraSwitchProps>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/switch/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAA0B,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAM1C,6BAA6B;AAC7B,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AAElE;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,GAAG,eAAe,CAOlE;AAED,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,WAAW,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,6DAW0B,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type TagsInputRootProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { TagsInput } from "@elaraai/east-ui";
|
|
8
|
-
/** East TagsInput value type */
|
|
9
|
-
export type TagsInputValue = ValueTypeOf<typeof TagsInput.Types.Root>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI TagsInput value to Chakra UI TagsInput props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toChakraTagsInput(value: TagsInputValue): TagsInputRootProps;
|
|
15
|
-
export interface EastChakraTagsInputProps {
|
|
16
|
-
value: TagsInputValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI TagsInput value using Chakra UI TagsInput component.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraTagsInput: import("react").NamedExoticComponent<EastChakraTagsInputProps>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/tags-input/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAgC,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACzF,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAM7C,gCAAgC;AAChC,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAEtE;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,cAAc,GAAG,kBAAkB,CAqB3E;AAED,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,gEAwB0B,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type TextareaProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Textarea } from "@elaraai/east-ui";
|
|
8
|
-
/** East Textarea value type */
|
|
9
|
-
export type TextareaValue = ValueTypeOf<typeof Textarea.Types.Textarea>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Textarea value to Chakra UI Textarea props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toChakraTextarea(value: TextareaValue): TextareaProps;
|
|
15
|
-
export interface EastChakraTextareaProps {
|
|
16
|
-
value: TextareaValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI Textarea value using Chakra UI Textarea component.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraTextarea: import("react").NamedExoticComponent<EastChakraTextareaProps>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/textarea/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAA8B,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAClF,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAM5C,+BAA+B;AAC/B,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;AAExE;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,aAAa,GAAG,aAAa,CAiBpE;AAED,MAAM,WAAW,uBAAuB;IACpC,KAAK,EAAE,aAAa,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,+DAI0B,CAAC"}
|
package/dist/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* East UI React - React components for rendering East UI types with Chakra UI.
|
|
7
|
-
*
|
|
8
|
-
* @packageDocumentation
|
|
9
|
-
*/
|
|
10
|
-
export { EastChakraComponent, type EastChakraComponentProps } from "./component.js";
|
|
11
|
-
export { toChakraText, EastChakraText, type TextValue, type EastChakraTextProps, } from "./typography/index.js";
|
|
12
|
-
export { toChakraButton, EastChakraButton, type ButtonValue, type EastChakraButtonProps, toChakraIconButton, EastChakraIconButton, type IconButtonValue, type EastChakraIconButtonProps, } from "./buttons/index.js";
|
|
13
|
-
export { toChakraBox, EastChakraBox, type BoxValue, type EastChakraBoxProps, toChakraStack, EastChakraStack, type StackValue, type EastChakraStackProps, toChakraSeparator, EastChakraSeparator, type SeparatorValue, type EastChakraSeparatorProps, toChakraGrid, EastChakraGrid, type GridValue, type EastChakraGridProps, toChakraSplitter, EastChakraSplitter, type SplitterValue, type EastChakraSplitterProps, } from "./layout/index.js";
|
|
14
|
-
export { EastChakraSparkline, type EastChakraSparklineProps, EastChakraAreaChart, type EastChakraAreaChartProps, } from "./charts/index.js";
|
|
15
|
-
export { EastChakraAccordion, EastChakraAccordionItem, toChakraAccordionRoot, toChakraAccordionItem, type AccordionRootValue, type AccordionItemValue, type EastChakraAccordionProps, type EastChakraAccordionItemProps, EastChakraCarousel, toChakraCarousel, type CarouselValue, type EastChakraCarouselProps, EastChakraTabs, EastChakraTabsTrigger, EastChakraTabsContent, toChakraTabsRoot, toChakraTabsTrigger, toChakraTabsContent, type TabsRootValue, type TabsItemValue, type EastChakraTabsProps, type EastChakraTabsItemProps, } from "./disclosure/index.js";
|
|
16
|
-
export { EastChakraDataList, toChakraDataListRoot, type DataListRootValue, type DataListItemValue, type EastChakraDataListProps, EastChakraTable, toChakraTableRoot, type TableRootValue, type TableColumnValue, type EastChakraTableProps, EastChakraTreeView, toChakraTreeViewRoot, type TreeViewRootValue, type TreeNodeValue, type EastChakraTreeViewProps, } from "./collections/index.js";
|
|
17
|
-
export { EastChakraIcon, toFontAwesomeIcon, type IconValue, type EastChakraIconProps, EastChakraBadge, toChakraBadge, type BadgeValue, type EastChakraBadgeProps, EastChakraTag, toChakraTag, type TagValue, type EastChakraTagProps, EastChakraAvatar, toChakraAvatar, type AvatarValue, type EastChakraAvatarProps, EastChakraStat, type StatValue, type EastChakraStatProps, } from "./display/index.js";
|
|
18
|
-
export { EastChakraStringInput, EastChakraIntegerInput, EastChakraFloatInput, EastChakraDateTimeInput, toChakraStringInput, toChakraIntegerInput, toChakraFloatInput, toChakraDateTimeInput, type StringInputValue, type IntegerInputValue, type FloatInputValue, type DateTimeInputValue, type EastChakraStringInputProps, type EastChakraIntegerInputProps, type EastChakraFloatInputProps, type EastChakraDateTimeInputProps, EastChakraCheckbox, toChakraCheckbox, type CheckboxValue, type EastChakraCheckboxProps, EastChakraSwitch, toChakraSwitch, type SwitchValue, type EastChakraSwitchProps, EastChakraSelect, toChakraSelect, type SelectRootValue, type SelectItemValue, type EastChakraSelectProps, EastChakraSlider, toChakraSlider, type SliderValue, type EastChakraSliderProps, EastChakraField, toChakraField, type FieldValue, type EastChakraFieldProps, EastChakraFieldset, toChakraFieldset, type FieldsetValue, type EastChakraFieldsetProps, EastChakraTextarea, toChakraTextarea, type TextareaValue, type EastChakraTextareaProps, EastChakraTagsInput, toChakraTagsInput, type TagsInputValue, type EastChakraTagsInputProps, EastChakraFileUpload, toChakraFileUpload, type FileUploadValue, type EastChakraFileUploadProps, } from "./forms/index.js";
|
|
19
|
-
export { EastChakraAlert, toChakraAlert, type AlertValue, type EastChakraAlertProps, EastChakraProgress, toChakraProgress, type ProgressValue, type EastChakraProgressProps, } from "./feedback/index.js";
|
|
20
|
-
export { EastChakraCard, toChakraCard, type CardValue, type EastChakraCardProps, } from "./container/index.js";
|
|
21
|
-
export { EastChakraTooltip, type TooltipValue, type EastChakraTooltipProps, EastChakraMenu, type MenuValue, type MenuItemValue, type EastChakraMenuProps, EastChakraPopover, type PopoverValue, type EastChakraPopoverProps, EastChakraHoverCard, type HoverCardValue, type EastChakraHoverCardProps, EastChakraDialog, type DialogValue, type EastChakraDialogProps, EastChakraDrawer, type DrawerValue, type EastChakraDrawerProps, EastChakraActionBar, type ActionBarValue, type ActionBarItemValue, type EastChakraActionBarProps, EastChakraToggleTip, type ToggleTipValue, type EastChakraToggleTipProps, } from "./overlays/index.js";
|
|
22
|
-
export { State, state_write, state_read, EastStore, createEastStore, type EastStoreOptions, EastStoreProvider, EastFunction, useEastStore, useEastState, useEastKey, useEastWrite, useEastBatch, type EastStoreProviderProps, type EastFunctionProps, } from "./platform/index.js";
|
|
23
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAGH,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAGpF,OAAO,EACH,YAAY,EACZ,cAAc,EACd,KAAK,SAAS,EACd,KAAK,mBAAmB,GAC3B,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EACH,cAAc,EACd,gBAAgB,EAChB,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,kBAAkB,EAClB,oBAAoB,EACpB,KAAK,eAAe,EACpB,KAAK,yBAAyB,GACjC,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACH,WAAW,EACX,aAAa,EACb,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,aAAa,EACb,eAAe,EACf,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,iBAAiB,EACjB,mBAAmB,EACnB,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,YAAY,EACZ,cAA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AC3B,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACH,iBAAiB,EACjB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,cAAc,EACd,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,iBAAiB,EACjB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,mBAAmB,EACnB,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,gBAAgB,EAChB,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,gBAAgB,EAChB,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,mBAAmB,EACnB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,mBAAmB,EACnB,KAAK,cAAc,EACnB,KAAK,wBAAwB,GAChC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAEH,KAAK,EACL,WAAW,EACX,UAAU,EAEV,SAAS,EACT,eAAe,EACf,KAAK,gBAAgB,EAErB,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,GACzB,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type BoxProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Box } from "@elaraai/east-ui";
|
|
8
|
-
/** East Box value type */
|
|
9
|
-
export type BoxValue = ValueTypeOf<typeof Box.Types.Box>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Box value to Chakra UI Box props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*
|
|
14
|
-
* @param value - The East Box value
|
|
15
|
-
* @returns Chakra Box props
|
|
16
|
-
*/
|
|
17
|
-
export declare function toChakraBox(value: BoxValue): BoxProps;
|
|
18
|
-
export interface EastChakraBoxProps {
|
|
19
|
-
value: BoxValue;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Renders an East UI Box value using Chakra UI Box component.
|
|
23
|
-
*/
|
|
24
|
-
export declare const EastChakraBox: import("react").NamedExoticComponent<EastChakraBoxProps>;
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/box/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAoB,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAOvC,0BAA0B;AAC1B,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAEzD;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,CA2BrD;AAED,MAAM,WAAW,kBAAkB;IAC/B,KAAK,EAAE,QAAQ,CAAC;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,0DAU0B,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type GridProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Grid } from "@elaraai/east-ui";
|
|
8
|
-
/** East Grid value type */
|
|
9
|
-
export type GridValue = ValueTypeOf<typeof Grid.Types.Grid>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Grid value to Chakra UI Grid props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*
|
|
14
|
-
* @param value - The East Grid value
|
|
15
|
-
* @returns Chakra Grid props
|
|
16
|
-
*/
|
|
17
|
-
export declare function toChakraGrid(value: GridValue): GridProps;
|
|
18
|
-
export interface EastChakraGridProps {
|
|
19
|
-
value: GridValue;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Renders an East UI Grid value using Chakra UI Grid component.
|
|
23
|
-
*/
|
|
24
|
-
export declare const EastChakraGrid: import("react").NamedExoticComponent<EastChakraGridProps>;
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/grid/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAkD,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClG,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAiBxC,2BAA2B;AAC3B,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAG5D;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAqBxD;AAED,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,SAAS,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,2DAoB0B,CAAC"}
|
package/dist/layout/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Layout components for structuring content.
|
|
7
|
-
*/
|
|
8
|
-
export { toChakraBox, EastChakraBox, type BoxValue, type EastChakraBoxProps, } from "./box/index.js";
|
|
9
|
-
export { toChakraStack, EastChakraStack, type StackValue, type EastChakraStackProps, } from "./stack/index.js";
|
|
10
|
-
export { toChakraSeparator, EastChakraSeparator, type SeparatorValue, type EastChakraSeparatorProps, } from "./separator/index.js";
|
|
11
|
-
export { toChakraGrid, EastChakraGrid, type GridValue, type EastChakraGridProps, } from "./grid/index.js";
|
|
12
|
-
export { toChakraSplitter, EastChakraSplitter, type SplitterValue, type EastChakraSplitterProps, } from "./splitter/index.js";
|
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layout/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,OAAO,EACH,WAAW,EACX,aAAa,EACb,KAAK,QAAQ,EACb,KAAK,kBAAkB,GAC1B,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACH,aAAa,EACb,eAAe,EACf,KAAK,UAAU,EACf,KAAK,oBAAoB,GAC5B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACH,iBAAiB,EACjB,mBAAmB,EACnB,KAAK,cAAc,EACnB,KAAK,wBAAwB,GAChC,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACH,YAAY,EACZ,cAAc,EACd,KAAK,SAAS,EACd,KAAK,mBAAmB,GAC3B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACH,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,aAAa,EAClB,KAAK,uBAAuB,GAC/B,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type SeparatorProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Separator } from "@elaraai/east-ui";
|
|
8
|
-
/** East Separator value type */
|
|
9
|
-
export type SeparatorValue = ValueTypeOf<typeof Separator.Types.Separator>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Separator value to Chakra UI Separator props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*
|
|
14
|
-
* @param value - The East Separator value
|
|
15
|
-
* @returns Chakra Separator props
|
|
16
|
-
*/
|
|
17
|
-
export declare function toChakraSeparator(value: SeparatorValue): SeparatorProps;
|
|
18
|
-
export interface EastChakraSeparatorProps {
|
|
19
|
-
value: SeparatorValue;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Renders an East UI Separator value using Chakra UI Separator component.
|
|
23
|
-
*/
|
|
24
|
-
export declare const EastChakraSeparator: import("react").NamedExoticComponent<EastChakraSeparatorProps>;
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/separator/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAgC,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACrF,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAM7C,gCAAgC;AAChC,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAG3E;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,cAAc,GAAG,cAAc,CAOvE;AAED,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,gEAS0B,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import React from "react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Splitter } from "@elaraai/east-ui";
|
|
8
|
-
/** East Splitter value type */
|
|
9
|
-
export type SplitterValue = ValueTypeOf<typeof Splitter.Types.Splitter>;
|
|
10
|
-
/**
|
|
11
|
-
* Splitter style props (without panels, which are rendered separately).
|
|
12
|
-
*/
|
|
13
|
-
interface SplitterStyleProps {
|
|
14
|
-
orientation?: "horizontal" | "vertical";
|
|
15
|
-
defaultSize?: number[];
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Converts an East UI Splitter value to Chakra UI Splitter style props.
|
|
19
|
-
* Pure function - easy to test independently.
|
|
20
|
-
*
|
|
21
|
-
* @param value - The East Splitter value
|
|
22
|
-
* @returns Splitter style props
|
|
23
|
-
*/
|
|
24
|
-
export declare function toChakraSplitter(value: SplitterValue): SplitterStyleProps;
|
|
25
|
-
export interface EastChakraSplitterProps {
|
|
26
|
-
value: SplitterValue;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Renders an East UI Splitter value using Chakra UI Splitter component.
|
|
30
|
-
*/
|
|
31
|
-
export declare const EastChakraSplitter: React.NamedExoticComponent<EastChakraSplitterProps>;
|
|
32
|
-
export {};
|
|
33
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/splitter/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAO5C,+BAA+B;AAC/B,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;AAGxE;;GAEG;AACH,UAAU,kBAAkB;IACxB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,aAAa,GAAG,kBAAkB,CAUzE;AAED,MAAM,WAAW,uBAAuB;IACpC,KAAK,EAAE,aAAa,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,qDAwB0B,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type StackProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Stack } from "@elaraai/east-ui";
|
|
8
|
-
/** East Stack value type */
|
|
9
|
-
export type StackValue = ValueTypeOf<typeof Stack.Types.Stack>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Stack value to Chakra UI Stack props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*
|
|
14
|
-
* @param value - The East Stack value
|
|
15
|
-
* @returns Chakra Stack props
|
|
16
|
-
*/
|
|
17
|
-
export declare function toChakraStack(value: StackValue): StackProps;
|
|
18
|
-
export interface EastChakraStackProps {
|
|
19
|
-
value: StackValue;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Renders an East UI Stack value using Chakra UI Stack component.
|
|
23
|
-
*/
|
|
24
|
-
export declare const EastChakraStack: import("react").NamedExoticComponent<EastChakraStackProps>;
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/stack/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAwB,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAOzC,4BAA4B;AAC5B,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,OAAO,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAE/D;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,CAuB3D;AAED,MAAM,WAAW,oBAAoB;IACjC,KAAK,EAAE,UAAU,CAAC;CACrB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,4DAU0B,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
6
|
-
import { ActionBar } from "@elaraai/east-ui";
|
|
7
|
-
/** East ActionBar value type */
|
|
8
|
-
export type ActionBarValue = ValueTypeOf<typeof ActionBar.Types.ActionBar>;
|
|
9
|
-
/** East ActionBar item value type */
|
|
10
|
-
export type ActionBarItemValue = ValueTypeOf<typeof ActionBar.Types.Item>;
|
|
11
|
-
export interface EastChakraActionBarProps {
|
|
12
|
-
value: ActionBarValue;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Renders an East UI ActionBar value using Chakra UI ActionBar component.
|
|
16
|
-
*/
|
|
17
|
-
export declare const EastChakraActionBar: import("react").NamedExoticComponent<EastChakraActionBarProps>;
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/overlays/action-bar/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAmB,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAM7C,gCAAgC;AAChC,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE3E,qCAAqC;AACrC,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAE1E,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,gEAkC0B,CAAC"}
|