@elaraai/east-ui-components 0.0.1-beta.16 → 0.0.1-beta.17
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 +3694 -1347
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3694 -1347
- package/dist/index.js.map +1 -1
- package/package.json +3 -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 -19
- 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 -177
- 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 -34
- package/dist/collections/gantt/GanttEventRow.d.ts.map +0 -1
- package/dist/collections/gantt/GanttMilestone.d.ts +0 -25
- package/dist/collections/gantt/GanttMilestone.d.ts.map +0 -1
- package/dist/collections/gantt/GanttTask.d.ts +0 -39
- package/dist/collections/gantt/GanttTask.d.ts.map +0 -1
- package/dist/collections/gantt/index.d.ts +0 -68
- package/dist/collections/gantt/index.d.ts.map +0 -1
- package/dist/collections/index.d.ts +0 -9
- package/dist/collections/index.d.ts.map +0 -1
- package/dist/collections/planner/PlannerAxis.d.ts +0 -16
- package/dist/collections/planner/PlannerAxis.d.ts.map +0 -1
- package/dist/collections/planner/PlannerEvent.d.ts +0 -28
- package/dist/collections/planner/PlannerEvent.d.ts.map +0 -1
- package/dist/collections/planner/PlannerEventRow.d.ts +0 -33
- package/dist/collections/planner/PlannerEventRow.d.ts.map +0 -1
- package/dist/collections/planner/PlannerSlotCell.d.ts +0 -15
- package/dist/collections/planner/PlannerSlotCell.d.ts.map +0 -1
- package/dist/collections/planner/index.d.ts +0 -69
- package/dist/collections/planner/index.d.ts.map +0 -1
- package/dist/collections/table/index.d.ts +0 -62
- 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/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 -14
- package/dist/forms/index.d.ts.map +0 -1
- package/dist/forms/input/date/CompoundDateField.d.ts +0 -32
- package/dist/forms/input/date/CompoundDateField.d.ts.map +0 -1
- package/dist/forms/input/date/DateField.d.ts +0 -13
- package/dist/forms/input/date/DateField.d.ts.map +0 -1
- package/dist/forms/input/date/TimeField.d.ts +0 -32
- package/dist/forms/input/date/TimeField.d.ts.map +0 -1
- package/dist/forms/input/date/index.d.ts +0 -8
- package/dist/forms/input/date/index.d.ts.map +0 -1
- package/dist/forms/input/index.d.ts +0 -70
- 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/flex/index.d.ts +0 -25
- package/dist/layout/flex/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 -14
- 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 -42
- package/dist/overlays/dialog/index.d.ts.map +0 -1
- package/dist/overlays/drawer/index.d.ts +0 -42
- 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 -14
- 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/overlay-manager.d.ts +0 -69
- package/dist/overlays/overlay-manager.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 -241
- package/dist/platform/hooks.d.ts.map +0 -1
- package/dist/platform/index.d.ts +0 -17
- package/dist/platform/index.d.ts.map +0 -1
- package/dist/platform/store.d.ts +0 -65
- package/dist/platform/store.d.ts.map +0 -1
- package/dist/reactive/index.d.ts +0 -42
- package/dist/reactive/index.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 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,6DAqB0B,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,EAAwB,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AACvE,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,gEAuD0B,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,+DAkC0B,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, EastChakraPlanner, toChakraPlannerRoot, type PlannerRootValue, type PlannerEventValue, type EastChakraPlannerProps, } 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, type ChakraDateTimeInputProps, 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, 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, OverlayManagerProvider, type OverlayManagerProviderProps, DialogOpenImpl, DrawerOpenImpl, OverlayImpl, } from "./overlays/index.js";
|
|
22
|
-
export { State, UIStore, createUIStore, type UIStoreInterface, type UIStoreOptions, PersistentUIStore, createPersistentUIStore, UIStoreProvider, type UIStoreProviderProps, useUIStore, useUIStoreSubscription, useUIState, useUIKey, useUIWrite, useUIBatch, EastComponent, type EastComponentProps, EastFunction, type EastFunctionProps, EastStoreProvider, useEastStore, useEastState, useEastKey, useEastWrite, useEastBatch, createEastStore, } 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":"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"}
|
|
@@ -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,CAkCrD;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 FlexProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Flex } from "@elaraai/east-ui";
|
|
8
|
-
/** East Flex value type */
|
|
9
|
-
export type FlexValue = ValueTypeOf<typeof Flex.Types.Flex>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Flex value to Chakra UI Flex props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*
|
|
14
|
-
* @param value - The East Flex value
|
|
15
|
-
* @returns Chakra Flex props
|
|
16
|
-
*/
|
|
17
|
-
export declare function toChakraFlex(value: FlexValue): FlexProps;
|
|
18
|
-
export interface EastChakraFlexProps {
|
|
19
|
-
value: FlexValue;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Renders an East UI Flex value using Chakra UI Flex component.
|
|
23
|
-
*/
|
|
24
|
-
export declare const EastChakraFlex: import("react").NamedExoticComponent<EastChakraFlexProps>;
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/flex/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAOxC,2BAA2B;AAC3B,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAE5D;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAkCxD;AAED,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,SAAS,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,2DAU0B,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,CAqCxD;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,14 +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 { toChakraFlex, EastChakraFlex, type FlexValue, type EastChakraFlexProps, } from "./flex/index.js";
|
|
10
|
-
export { toChakraStack, EastChakraStack, type StackValue, type EastChakraStackProps, } from "./stack/index.js";
|
|
11
|
-
export { toChakraSeparator, EastChakraSeparator, type SeparatorValue, type EastChakraSeparatorProps, } from "./separator/index.js";
|
|
12
|
-
export { toChakraGrid, EastChakraGrid, type GridValue, type EastChakraGridProps, } from "./grid/index.js";
|
|
13
|
-
export { toChakraSplitter, EastChakraSplitter, type SplitterValue, type EastChakraSplitterProps, } from "./splitter/index.js";
|
|
14
|
-
//# 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,YAAY,EACZ,cAAc,EACd,KAAK,SAAS,EACd,KAAK,mBAAmB,GAC3B,MAAM,iBAAiB,CAAC;AAEzB,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,KAAqC,MAAM,OAAO,CAAC;AAE1D,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,qDAsD0B,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,CA+B3D;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,gEAyD0B,CAAC"}
|
|
@@ -1,42 +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 ReactNode } from "react";
|
|
6
|
-
import { Dialog as ChakraDialog } from "@chakra-ui/react";
|
|
7
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
8
|
-
import { Dialog } from "@elaraai/east-ui";
|
|
9
|
-
/** East Dialog value type */
|
|
10
|
-
export type DialogValue = ValueTypeOf<typeof Dialog.Types.Dialog>;
|
|
11
|
-
/** East Dialog open input value type */
|
|
12
|
-
export type DialogOpenInputValue = ValueTypeOf<typeof Dialog.Types.OpenInput>;
|
|
13
|
-
export interface EastChakraDialogProps {
|
|
14
|
-
value: DialogValue;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Converts an East UI Dialog open input value to Chakra UI Dialog props.
|
|
18
|
-
* Pure function - easy to test independently.
|
|
19
|
-
*
|
|
20
|
-
* @param value - The East DialogOpenInputValue
|
|
21
|
-
* @returns Chakra Dialog props
|
|
22
|
-
*/
|
|
23
|
-
export declare function toChakraDialog(value: DialogOpenInputValue): Partial<ChakraDialog.RootProps>;
|
|
24
|
-
export interface DialogContentProps {
|
|
25
|
-
/** Dialog open input value containing body, title, description, style */
|
|
26
|
-
value: DialogOpenInputValue;
|
|
27
|
-
/** Optional trigger element (for trigger-based dialogs) */
|
|
28
|
-
trigger?: ReactNode;
|
|
29
|
-
/** Whether dialog is controlled open (for programmatic dialogs) */
|
|
30
|
-
open?: boolean;
|
|
31
|
-
/** Additional onClose handler (for programmatic dialogs) */
|
|
32
|
-
onClose?: () => void;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Shared dialog content component used by both trigger-based and programmatic dialogs.
|
|
36
|
-
*/
|
|
37
|
-
export declare function DialogContent({ value, trigger, open, onClose }: DialogContentProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
/**
|
|
39
|
-
* Renders an East UI Dialog value using Chakra UI Dialog component.
|
|
40
|
-
*/
|
|
41
|
-
export declare const EastChakraDialog: import("react").NamedExoticComponent<EastChakraDialogProps>;
|
|
42
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/overlays/dialog/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAA8B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,MAAM,IAAI,YAAY,EAAuB,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAO1C,6BAA6B;AAC7B,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AAElE,wCAAwC;AACxC,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE9E,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,WAAW,CAAC;CACtB;AAMD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,YAAY,CAAC,SAAS,CAAC,CAW3F;AAMD,MAAM,WAAW,kBAAkB;IAC/B,yEAAyE;IACzE,KAAK,EAAE,oBAAoB,CAAC;IAC5B,2DAA2D;IAC3D,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,mEAAmE;IACnE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,kBAAkB,2CAoFlF;AAMD;;GAEG;AACH,eAAO,MAAM,gBAAgB,6DAe0B,CAAC"}
|
|
@@ -1,42 +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 ReactNode } from "react";
|
|
6
|
-
import { type DrawerRootProps } from "@chakra-ui/react";
|
|
7
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
8
|
-
import { Drawer } from "@elaraai/east-ui";
|
|
9
|
-
/** East Drawer value type */
|
|
10
|
-
export type DrawerValue = ValueTypeOf<typeof Drawer.Types.Drawer>;
|
|
11
|
-
/** East Drawer open input value type */
|
|
12
|
-
export type DrawerOpenInputValue = ValueTypeOf<typeof Drawer.Types.OpenInput>;
|
|
13
|
-
export interface EastChakraDrawerProps {
|
|
14
|
-
value: DrawerValue;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Converts an East UI Drawer open input value to Chakra UI Drawer props.
|
|
18
|
-
* Pure function - easy to test independently.
|
|
19
|
-
*
|
|
20
|
-
* @param value - The East DrawerOpenInputValue
|
|
21
|
-
* @returns Chakra Drawer props
|
|
22
|
-
*/
|
|
23
|
-
export declare function toChakraDrawer(value: DrawerOpenInputValue): Partial<DrawerRootProps>;
|
|
24
|
-
export interface DrawerContentProps {
|
|
25
|
-
/** Drawer open input value containing body, title, description, style */
|
|
26
|
-
value: DrawerOpenInputValue;
|
|
27
|
-
/** Optional trigger element (for trigger-based drawers) */
|
|
28
|
-
trigger?: ReactNode;
|
|
29
|
-
/** Whether drawer is controlled open (for programmatic drawers) */
|
|
30
|
-
open?: boolean;
|
|
31
|
-
/** Additional onClose handler (for programmatic drawers) */
|
|
32
|
-
onClose?: () => void;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Shared drawer content component used by both trigger-based and programmatic drawers.
|
|
36
|
-
*/
|
|
37
|
-
export declare function DrawerContent({ value, trigger, open, onClose }: DrawerContentProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
/**
|
|
39
|
-
* Renders an East UI Drawer value using Chakra UI Drawer component.
|
|
40
|
-
*/
|
|
41
|
-
export declare const EastChakraDrawer: import("react").NamedExoticComponent<EastChakraDrawerProps>;
|
|
42
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/overlays/drawer/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAwC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAsD,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAG5G,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAO1C,6BAA6B;AAC7B,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AAElE,wCAAwC;AACxC,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE9E,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,WAAW,CAAC;CACtB;AAKD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC,CASpF;AAMD,MAAM,WAAW,kBAAkB;IAC/B,yEAAyE;IACzE,KAAK,EAAE,oBAAoB,CAAC;IAC5B,2DAA2D;IAC3D,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,mEAAmE;IACnE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,kBAAkB,2CAwFlF;AAMD;;GAEG;AACH,eAAO,MAAM,gBAAgB,6DAe0B,CAAC"}
|
|
@@ -1,16 +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 { HoverCard } from "@elaraai/east-ui";
|
|
7
|
-
/** East HoverCard value type */
|
|
8
|
-
export type HoverCardValue = ValueTypeOf<typeof HoverCard.Types.HoverCard>;
|
|
9
|
-
export interface EastChakraHoverCardProps {
|
|
10
|
-
value: HoverCardValue;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Renders an East UI HoverCard value using Chakra UI HoverCard component.
|
|
14
|
-
*/
|
|
15
|
-
export declare const EastChakraHoverCard: import("react").NamedExoticComponent<EastChakraHoverCardProps>;
|
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/overlays/hover-card/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAO7C,gCAAgC;AAChC,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE3E,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,gEAgD0B,CAAC"}
|
package/dist/overlays/index.d.ts
DELETED
|
@@ -1,14 +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 { EastChakraTooltip, type TooltipValue, type EastChakraTooltipProps, } from "./tooltip/index.js";
|
|
6
|
-
export { EastChakraMenu, type MenuValue, type MenuItemValue, type EastChakraMenuProps, } from "./menu/index.js";
|
|
7
|
-
export { EastChakraPopover, type PopoverValue, type EastChakraPopoverProps, } from "./popover/index.js";
|
|
8
|
-
export { EastChakraHoverCard, type HoverCardValue, type EastChakraHoverCardProps, } from "./hover-card/index.js";
|
|
9
|
-
export { EastChakraDialog, DialogContent, toChakraDialog, type DialogValue, type DialogOpenInputValue, type EastChakraDialogProps, type DialogContentProps, } from "./dialog/index.js";
|
|
10
|
-
export { EastChakraDrawer, DrawerContent, toChakraDrawer, type DrawerValue, type DrawerOpenInputValue, type EastChakraDrawerProps, type DrawerContentProps, } from "./drawer/index.js";
|
|
11
|
-
export { EastChakraActionBar, type ActionBarValue, type ActionBarItemValue, type EastChakraActionBarProps, } from "./action-bar/index.js";
|
|
12
|
-
export { EastChakraToggleTip, type ToggleTipValue, type EastChakraToggleTipProps, } from "./toggle-tip/index.js";
|
|
13
|
-
export { OverlayManagerProvider, type OverlayManagerProviderProps, DialogOpenImpl, DrawerOpenImpl, OverlayImpl, } from "./overlay-manager.js";
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/overlays/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,iBAAiB,EACjB,KAAK,YAAY,EACjB,KAAK,sBAAsB,GAC9B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACH,cAAc,EACd,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,mBAAmB,GAC3B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACH,iBAAiB,EACjB,KAAK,YAAY,EACjB,KAAK,sBAAsB,GAC9B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACH,mBAAmB,EACnB,KAAK,cAAc,EACnB,KAAK,wBAAwB,GAChC,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACH,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,GAC1B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACH,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,GAC1B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACH,mBAAmB,EACnB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,GAChC,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACH,mBAAmB,EACnB,KAAK,cAAc,EACnB,KAAK,wBAAwB,GAChC,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACH,sBAAsB,EACtB,KAAK,2BAA2B,EAChC,cAAc,EACd,cAAc,EACd,WAAW,GACd,MAAM,sBAAsB,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 { Menu } from "@elaraai/east-ui";
|
|
7
|
-
/** East Menu value type */
|
|
8
|
-
export type MenuValue = ValueTypeOf<typeof Menu.Types.Menu>;
|
|
9
|
-
/** East MenuItem value type */
|
|
10
|
-
export type MenuItemValue = ValueTypeOf<typeof Menu.Types.Item>;
|
|
11
|
-
export interface EastChakraMenuProps {
|
|
12
|
-
value: MenuValue;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Renders an East UI Menu value using Chakra UI Menu component.
|
|
16
|
-
*/
|
|
17
|
-
export declare const EastChakraMenu: import("react").NamedExoticComponent<EastChakraMenuProps>;
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/overlays/menu/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAmB,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAOxC,2BAA2B;AAC3B,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAE5D,+BAA+B;AAC/B,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAEhE,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,SAAS,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,2DAoC0B,CAAC"}
|
|
@@ -1,69 +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 ReactNode } from "react";
|
|
6
|
-
import { type PlatformFunction } from "@elaraai/east/internal";
|
|
7
|
-
import { type DialogOpenInputValue } from "./dialog/index.js";
|
|
8
|
-
import { type DrawerOpenInputValue } from "./drawer/index.js";
|
|
9
|
-
interface OverlayManagerContextValue {
|
|
10
|
-
openDialog: (value: DialogOpenInputValue) => void;
|
|
11
|
-
openDrawer: (value: DrawerOpenInputValue) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare function useOverlayManager(): OverlayManagerContextValue;
|
|
14
|
-
export interface OverlayManagerProviderProps {
|
|
15
|
-
children: ReactNode;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Provider component for programmatic dialog and drawer management.
|
|
19
|
-
*
|
|
20
|
-
* @remarks
|
|
21
|
-
* Wrap your application with this provider to enable programmatic
|
|
22
|
-
* opening of dialogs and drawers via `Dialog.open` and `Drawer.open`.
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```tsx
|
|
26
|
-
* import { OverlayManagerProvider } from "@elaraai/east-ui-components";
|
|
27
|
-
*
|
|
28
|
-
* function App() {
|
|
29
|
-
* return (
|
|
30
|
-
* <OverlayManagerProvider>
|
|
31
|
-
* <YourApp />
|
|
32
|
-
* </OverlayManagerProvider>
|
|
33
|
-
* );
|
|
34
|
-
* }
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
export declare function OverlayManagerProvider({ children }: OverlayManagerProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
/**
|
|
39
|
-
* Platform implementation for dialog_open.
|
|
40
|
-
*
|
|
41
|
-
* @remarks
|
|
42
|
-
* Requires the application to be wrapped in {@link OverlayManagerProvider}.
|
|
43
|
-
*/
|
|
44
|
-
export declare const DialogOpenImpl: PlatformFunction;
|
|
45
|
-
/**
|
|
46
|
-
* Platform implementation for drawer_open.
|
|
47
|
-
*
|
|
48
|
-
* @remarks
|
|
49
|
-
* Requires the application to be wrapped in {@link OverlayManagerProvider}.
|
|
50
|
-
*/
|
|
51
|
-
export declare const DrawerOpenImpl: PlatformFunction;
|
|
52
|
-
/**
|
|
53
|
-
* Combined platform implementations for overlay management.
|
|
54
|
-
*
|
|
55
|
-
* @remarks
|
|
56
|
-
* Pass this to `ir.compile()` along with other implementations to enable
|
|
57
|
-
* programmatic dialog and drawer opening.
|
|
58
|
-
*
|
|
59
|
-
* @example
|
|
60
|
-
* ```ts
|
|
61
|
-
* import { State } from "@elaraai/east-ui";
|
|
62
|
-
* import { OverlayImpl } from "@elaraai/east-ui-components";
|
|
63
|
-
*
|
|
64
|
-
* const compiled = myFunction.toIR().compile([...State.Implementation, ...OverlayImpl]);
|
|
65
|
-
* ```
|
|
66
|
-
*/
|
|
67
|
-
export declare const OverlayImpl: PlatformFunction[];
|
|
68
|
-
export {};
|
|
69
|
-
//# sourceMappingURL=overlay-manager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"overlay-manager.d.ts","sourceRoot":"","sources":["../../src/overlays/overlay-manager.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAoD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACzF,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,OAAO,EAAiB,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAiB,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAY7E,UAAU,0BAA0B;IAChC,UAAU,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAClD,UAAU,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;CACrD;AAUD,wBAAgB,iBAAiB,IAAI,0BAA0B,CAM9D;AAMD,MAAM,WAAW,2BAA2B;IACxC,QAAQ,EAAE,SAAS,CAAC;CACvB;AAKD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,QAAQ,EAAE,EAAE,2BAA2B,2CAqD/E;AA4CD;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,gBAM3B,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,gBAM3B,CAAC;AAEH;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW,EAAE,gBAAgB,EAAqC,CAAC"}
|
|
@@ -1,16 +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 { Popover } from "@elaraai/east-ui";
|
|
7
|
-
/** East Popover value type */
|
|
8
|
-
export type PopoverValue = ValueTypeOf<typeof Popover.Types.Popover>;
|
|
9
|
-
export interface EastChakraPopoverProps {
|
|
10
|
-
value: PopoverValue;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Renders an East UI Popover value using Chakra UI Popover component.
|
|
14
|
-
*/
|
|
15
|
-
export declare const EastChakraPopover: import("react").NamedExoticComponent<EastChakraPopoverProps>;
|
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/overlays/popover/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAO3C,8BAA8B;AAC9B,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,OAAO,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAErE,MAAM,WAAW,sBAAsB;IACnC,KAAK,EAAE,YAAY,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,8DA4C0B,CAAC"}
|