@elaraai/east-ui-components 0.0.1-beta.16 → 0.0.1-beta.18
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 +5223 -1192
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5223 -1192
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- 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,45 +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 TabsRootProps, type TabsTriggerProps, type TabsContentProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Tabs } from "@elaraai/east-ui";
|
|
8
|
-
/** East Tabs Root value type */
|
|
9
|
-
export type TabsRootValue = ValueTypeOf<typeof Tabs.Types.Root>;
|
|
10
|
-
/** East Tabs Item value type */
|
|
11
|
-
export type TabsItemValue = ValueTypeOf<typeof Tabs.Types.Item>;
|
|
12
|
-
/**
|
|
13
|
-
* Converts an East UI Tabs Root value to Chakra UI TabsRoot props.
|
|
14
|
-
* Pure function - easy to test independently.
|
|
15
|
-
*/
|
|
16
|
-
export declare function toChakraTabsRoot(value: TabsRootValue): TabsRootProps;
|
|
17
|
-
/**
|
|
18
|
-
* Converts an East UI Tabs Item value to Chakra UI TabsTrigger props.
|
|
19
|
-
* Pure function - easy to test independently.
|
|
20
|
-
*/
|
|
21
|
-
export declare function toChakraTabsTrigger(value: TabsItemValue): TabsTriggerProps;
|
|
22
|
-
/**
|
|
23
|
-
* Converts an East UI Tabs Item value to Chakra UI TabsContent props.
|
|
24
|
-
* Pure function - easy to test independently.
|
|
25
|
-
*/
|
|
26
|
-
export declare function toChakraTabsContent(value: TabsItemValue): TabsContentProps;
|
|
27
|
-
export interface EastChakraTabsItemProps {
|
|
28
|
-
value: TabsItemValue;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Renders an East UI Tabs Item trigger using Chakra UI Tabs components.
|
|
32
|
-
*/
|
|
33
|
-
export declare const EastChakraTabsTrigger: import("react").NamedExoticComponent<EastChakraTabsItemProps>;
|
|
34
|
-
/**
|
|
35
|
-
* Renders an East UI Tabs Item content using Chakra UI Tabs components.
|
|
36
|
-
*/
|
|
37
|
-
export declare const EastChakraTabsContent: import("react").NamedExoticComponent<EastChakraTabsItemProps>;
|
|
38
|
-
export interface EastChakraTabsProps {
|
|
39
|
-
value: TabsRootValue;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Renders an East UI Tabs value using Chakra UI Tabs components.
|
|
43
|
-
*/
|
|
44
|
-
export declare const EastChakraTabs: import("react").NamedExoticComponent<EastChakraTabsProps>;
|
|
45
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/disclosure/tabs/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAEH,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAQxC,gCAAgC;AAChC,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAEhE,gCAAgC;AAChC,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAEhE;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,aAAa,GAAG,aAAa,CAgBpE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,aAAa,GAAG,gBAAgB,CAK1E;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,aAAa,GAAG,gBAAgB,CAI1E;AAED,MAAM,WAAW,uBAAuB;IACpC,KAAK,EAAE,aAAa,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,+DAQuB,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,qBAAqB,+DAUuB,CAAC;AAE1D,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,aAAa,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,2DAyB8B,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 AvatarRootProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Avatar } from "@elaraai/east-ui";
|
|
8
|
-
/** East Avatar value type */
|
|
9
|
-
export type AvatarValue = ValueTypeOf<typeof Avatar.Types.Avatar>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Avatar value to Chakra UI Avatar props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toChakraAvatar(value: AvatarValue): AvatarRootProps;
|
|
15
|
-
export interface EastChakraAvatarProps {
|
|
16
|
-
value: AvatarValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI Avatar value using Chakra UI Avatar component.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraAvatar: import("react").NamedExoticComponent<EastChakraAvatarProps>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/avatar/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,CAMlE;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 BadgeProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Badge } from "@elaraai/east-ui";
|
|
8
|
-
/** East Badge value type */
|
|
9
|
-
export type BadgeValue = ValueTypeOf<typeof Badge.Types.Badge>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Badge value to Chakra UI Badge props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toChakraBadge(value: BadgeValue): BadgeProps;
|
|
15
|
-
export interface EastChakraBadgeProps {
|
|
16
|
-
value: BadgeValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI Badge value using Chakra UI Badge component.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraBadge: import("react").NamedExoticComponent<EastChakraBadgeProps>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/badge/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;AAMzC,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,UAAU,CAa3D;AAED,MAAM,WAAW,oBAAoB;IACjC,KAAK,EAAE,UAAU,CAAC;CACrB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,4DAI0B,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 FontAwesomeIconProps } from "@fortawesome/react-fontawesome";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Icon } from "@elaraai/east-ui";
|
|
8
|
-
/** East Icon value type */
|
|
9
|
-
export type IconValue = ValueTypeOf<typeof Icon.Types.Icon>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Icon value to FontAwesomeIcon props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toFontAwesomeIcon(value: IconValue): FontAwesomeIconProps;
|
|
15
|
-
export interface EastChakraIconProps {
|
|
16
|
-
value: IconValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI Icon value using Font Awesome.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraIcon: import("react").NamedExoticComponent<EastChakraIconProps>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/icon/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAmB,KAAK,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAK5F,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AASxC,2BAA2B;AAC3B,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAY5D;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,GAAG,oBAAoB,CAaxE;AAED,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,SAAS,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,2DAI0B,CAAC"}
|
package/dist/display/index.d.ts
DELETED
|
@@ -1,10 +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 { EastChakraIcon, toFontAwesomeIcon, type IconValue, type EastChakraIconProps, } from "./icon/index.js";
|
|
6
|
-
export { EastChakraBadge, toChakraBadge, type BadgeValue, type EastChakraBadgeProps, } from "./badge/index.js";
|
|
7
|
-
export { EastChakraTag, toChakraTag, type TagValue, type EastChakraTagProps, } from "./tag/index.js";
|
|
8
|
-
export { EastChakraAvatar, toChakraAvatar, type AvatarValue, type EastChakraAvatarProps, } from "./avatar/index.js";
|
|
9
|
-
export { EastChakraStat, type StatValue, type EastChakraStatProps, } from "./stat/index.js";
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/display/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,cAAc,EACd,iBAAiB,EACjB,KAAK,SAAS,EACd,KAAK,mBAAmB,GAC3B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACH,eAAe,EACf,aAAa,EACb,KAAK,UAAU,EACf,KAAK,oBAAoB,GAC5B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACH,aAAa,EACb,WAAW,EACX,KAAK,QAAQ,EACb,KAAK,kBAAkB,GAC1B,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACH,gBAAgB,EAChB,cAAc,EACd,KAAK,WAAW,EAChB,KAAK,qBAAqB,GAC7B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACH,cAAc,EACd,KAAK,SAAS,EACd,KAAK,mBAAmB,GAC3B,MAAM,iBAAiB,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 { Stat } from "@elaraai/east-ui";
|
|
7
|
-
/** East Stat value type */
|
|
8
|
-
export type StatValue = ValueTypeOf<typeof Stat.Types.Stat>;
|
|
9
|
-
export interface EastChakraStatProps {
|
|
10
|
-
value: StatValue;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Renders an East UI Stat value using Chakra UI Stat component.
|
|
14
|
-
*/
|
|
15
|
-
export declare const EastChakraStat: import("react").NamedExoticComponent<EastChakraStatProps>;
|
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/stat/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAMxC,2BAA2B;AAC3B,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAE5D,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,SAAS,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,2DAe0B,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 TagRootProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Tag } from "@elaraai/east-ui";
|
|
8
|
-
/** East Tag value type */
|
|
9
|
-
export type TagValue = ValueTypeOf<typeof Tag.Types.Tag>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Tag value to Chakra UI Tag props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toChakraTag(value: TagValue): TagRootProps;
|
|
15
|
-
export interface EastChakraTagProps {
|
|
16
|
-
value: TagValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI Tag value using Chakra UI Tag component.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraTag: import("react").NamedExoticComponent<EastChakraTagProps>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/tag/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAoB,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAMvC,0BAA0B;AAC1B,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAEzD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,GAAG,YAAY,CAazD;AAED,MAAM,WAAW,kBAAkB;IAC/B,KAAK,EAAE,QAAQ,CAAC;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,0DAmB0B,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 AlertRootProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Alert } from "@elaraai/east-ui";
|
|
8
|
-
/** East Alert value type */
|
|
9
|
-
export type AlertValue = ValueTypeOf<typeof Alert.Types.Alert>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Alert value to Chakra UI Alert props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toChakraAlert(value: AlertValue): AlertRootProps;
|
|
15
|
-
export interface EastChakraAlertProps {
|
|
16
|
-
value: AlertValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI Alert value using Chakra UI Alert component.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraAlert: import("react").NamedExoticComponent<EastChakraAlertProps>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/feedback/alert/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;AAMzC,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,CAK/D;AAED,MAAM,WAAW,oBAAoB;IACjC,KAAK,EAAE,UAAU,CAAC;CACrB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,4DAc0B,CAAC"}
|
package/dist/feedback/index.d.ts
DELETED
|
@@ -1,7 +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 { EastChakraAlert, toChakraAlert, type AlertValue, type EastChakraAlertProps, } from "./alert/index.js";
|
|
6
|
-
export { EastChakraProgress, toChakraProgress, type ProgressValue, type EastChakraProgressProps, } from "./progress/index.js";
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/feedback/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,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"}
|
|
@@ -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 ProgressRootProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Progress } from "@elaraai/east-ui";
|
|
8
|
-
/** East Progress value type */
|
|
9
|
-
export type ProgressValue = ValueTypeOf<typeof Progress.Types.Progress>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Progress value to Chakra UI Progress props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toChakraProgress(value: ProgressValue): ProgressRootProps;
|
|
15
|
-
export interface EastChakraProgressProps {
|
|
16
|
-
value: ProgressValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI Progress value using Chakra UI Progress component.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraProgress: import("react").NamedExoticComponent<EastChakraProgressProps>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/feedback/progress/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAA8B,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACtF,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,iBAAiB,CAWxE;AAED,MAAM,WAAW,uBAAuB;IACpC,KAAK,EAAE,aAAa,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,+DAkB0B,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 CheckboxRootProps } from "@chakra-ui/react";
|
|
6
|
-
import { type ValueTypeOf } from "@elaraai/east";
|
|
7
|
-
import { Checkbox } from "@elaraai/east-ui";
|
|
8
|
-
/** East Checkbox value type */
|
|
9
|
-
export type CheckboxValue = ValueTypeOf<typeof Checkbox.Types.Checkbox>;
|
|
10
|
-
/**
|
|
11
|
-
* Converts an East UI Checkbox value to Chakra UI Checkbox props.
|
|
12
|
-
* Pure function - easy to test independently.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toChakraCheckbox(value: CheckboxValue): CheckboxRootProps;
|
|
15
|
-
export interface EastChakraCheckboxProps {
|
|
16
|
-
value: CheckboxValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI Checkbox value using Chakra UI Checkbox component.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraCheckbox: import("react").NamedExoticComponent<EastChakraCheckboxProps>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/checkbox/index.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAA8B,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACtF,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,iBAAiB,CASxE;AAED,MAAM,WAAW,uBAAuB;IACpC,KAAK,EAAE,aAAa,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,+DAqB0B,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 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,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,iEA8D0B,CAAC"}
|
package/dist/forms/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 { 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, } 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 { EastChakraTextarea, toChakraTextarea, type TextareaValue, type EastChakraTextareaProps, } from "./textarea/index.js";
|
|
12
|
-
export { EastChakraTagsInput, toChakraTagsInput, type TagsInputValue, type EastChakraTagsInputProps, } from "./tags-input/index.js";
|
|
13
|
-
export { EastChakraFileUpload, toChakraFileUpload, type FileUploadValue, type EastChakraFileUploadProps, } from "./file-upload/index.js";
|
|
14
|
-
//# 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,EACjC,KAAK,wBAAwB,GAChC,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,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,32 +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 { DateSegment as DateSegmentType } from '@react-stately/datepicker';
|
|
7
|
-
import type { AriaDateFieldProps } from '@react-aria/datepicker';
|
|
8
|
-
import type { DateValue } from '@internationalized/date';
|
|
9
|
-
interface DateFieldProps extends AriaDateFieldProps<DateValue> {
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
value?: DateValue;
|
|
12
|
-
onChange?: (value: DateValue | null) => void;
|
|
13
|
-
isReadOnly?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export declare function DateField({ children, value, onChange, isReadOnly, ...props }: DateFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
interface LabelProps {
|
|
17
|
-
children: React.ReactNode;
|
|
18
|
-
}
|
|
19
|
-
export declare function Label({ children }: LabelProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
interface DateInputProps {
|
|
21
|
-
children: (props: {
|
|
22
|
-
segment: DateSegmentType;
|
|
23
|
-
key: number;
|
|
24
|
-
}) => React.ReactNode;
|
|
25
|
-
}
|
|
26
|
-
export declare function DateInput({ children }: DateInputProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
interface DateSegmentProps {
|
|
28
|
-
segment: DateSegmentType;
|
|
29
|
-
}
|
|
30
|
-
export declare function DateSegment({ segment }: DateSegmentProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export {};
|
|
32
|
-
//# sourceMappingURL=CompoundDateField.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CompoundDateField.d.ts","sourceRoot":"","sources":["../../../../src/forms/input/date/CompoundDateField.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA0B,MAAM,OAAO,CAAC;AAK/C,OAAO,KAAK,EAAkB,WAAW,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAChG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAUzD,UAAU,cAAe,SAAQ,kBAAkB,CAAC,SAAS,CAAC;IAC5D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CA0B5F;AAED,UAAU,UAAU;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE,UAAU,2CAM7C;AAED,UAAU,cAAc;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,OAAO,EAAE,eAAe,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;CACjF;AAED,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,cAAc,2CAmCrD;AAED,UAAU,gBAAgB;IACxB,OAAO,EAAE,eAAe,CAAC;CAC1B;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,gBAAgB,2CAwCxD"}
|
|
@@ -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
|
-
import type { AriaDateFieldProps } from '@react-aria/datepicker';
|
|
6
|
-
import type { DateValue } from '@internationalized/date';
|
|
7
|
-
interface DateFieldProps extends AriaDateFieldProps<DateValue> {
|
|
8
|
-
label?: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function DateField(props: DateFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=DateField.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DateField.d.ts","sourceRoot":"","sources":["../../../../src/forms/input/date/DateField.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAOzD,UAAU,cAAe,SAAQ,kBAAkB,CAAC,SAAS,CAAC;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AA4BD,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAiC9C"}
|
|
@@ -1,32 +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 { DateSegment as DateSegmentType } from '@react-stately/datepicker';
|
|
7
|
-
import type { AriaTimeFieldProps } from '@react-aria/datepicker';
|
|
8
|
-
import type { Time } from '@internationalized/date';
|
|
9
|
-
interface TimeFieldProps extends AriaTimeFieldProps<Time> {
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
value?: Time;
|
|
12
|
-
onChange?: (value: Time | null) => void;
|
|
13
|
-
isReadOnly?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export declare function TimeField({ children, value, onChange, isReadOnly, ...props }: TimeFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
interface LabelProps {
|
|
17
|
-
children: React.ReactNode;
|
|
18
|
-
}
|
|
19
|
-
export declare function Label({ children }: LabelProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
interface DateInputProps {
|
|
21
|
-
children: (props: {
|
|
22
|
-
segment: DateSegmentType;
|
|
23
|
-
key: number;
|
|
24
|
-
}) => React.ReactNode;
|
|
25
|
-
}
|
|
26
|
-
export declare function DateInput({ children }: DateInputProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
interface DateSegmentProps {
|
|
28
|
-
segment: DateSegmentType;
|
|
29
|
-
}
|
|
30
|
-
export declare function DateSegment({ segment }: DateSegmentProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export {};
|
|
32
|
-
//# sourceMappingURL=TimeField.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TimeField.d.ts","sourceRoot":"","sources":["../../../../src/forms/input/date/TimeField.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA0B,MAAM,OAAO,CAAC;AAK/C,OAAO,KAAK,EAAkB,WAAW,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAChG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAUpD,UAAU,cAAe,SAAQ,kBAAkB,CAAC,IAAI,CAAC;IACvD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAuB5F;AAED,UAAU,UAAU;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE,UAAU,2CAM7C;AAED,UAAU,cAAc;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,OAAO,EAAE,eAAe,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;CACjF;AAED,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,cAAc,2CAkCrD;AAED,UAAU,gBAAgB;IACxB,OAAO,EAAE,eAAe,CAAC;CAC1B;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,gBAAgB,2CAwCxD"}
|
|
@@ -1,8 +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 { DateField as CompoundDateField, DateInput as CompoundDateInput, DateSegment as CompoundDateSegment, Label as CompoundDateLabel, } from "./CompoundDateField";
|
|
6
|
-
export { TimeField, DateInput as TimeInput, DateSegment as TimeSegment, Label as TimeLabel, } from "./TimeField";
|
|
7
|
-
export { DateField } from "./DateField";
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/input/date/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,SAAS,IAAI,iBAAiB,EAC9B,SAAS,IAAI,iBAAiB,EAC9B,WAAW,IAAI,mBAAmB,EAClC,KAAK,IAAI,iBAAiB,GAC7B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACH,SAAS,EACT,SAAS,IAAI,SAAS,EACtB,WAAW,IAAI,WAAW,EAC1B,KAAK,IAAI,SAAS,GACrB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,70 +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
|
-
import { CalendarDate, Time } from "@internationalized/date";
|
|
9
|
-
/** East StringInput value type */
|
|
10
|
-
export type StringInputValue = ValueTypeOf<typeof Input.Types.String>;
|
|
11
|
-
/**
|
|
12
|
-
* Converts an East UI StringInput value to Chakra UI Input props.
|
|
13
|
-
*/
|
|
14
|
-
export declare function toChakraStringInput(value: StringInputValue): InputProps;
|
|
15
|
-
export interface EastChakraStringInputProps {
|
|
16
|
-
value: StringInputValue;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders an East UI StringInput value using Chakra UI Input component.
|
|
20
|
-
*/
|
|
21
|
-
export declare const EastChakraStringInput: import("react").NamedExoticComponent<EastChakraStringInputProps>;
|
|
22
|
-
/** East IntegerInput value type */
|
|
23
|
-
export type IntegerInputValue = ValueTypeOf<typeof Input.Types.Integer>;
|
|
24
|
-
/**
|
|
25
|
-
* Converts an East UI IntegerInput value to Chakra UI Input props.
|
|
26
|
-
*/
|
|
27
|
-
export declare function toChakraIntegerInput(value: IntegerInputValue): InputProps;
|
|
28
|
-
export interface EastChakraIntegerInputProps {
|
|
29
|
-
value: IntegerInputValue;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Renders an East UI IntegerInput value using Chakra UI Input component.
|
|
33
|
-
*/
|
|
34
|
-
export declare const EastChakraIntegerInput: import("react").NamedExoticComponent<EastChakraIntegerInputProps>;
|
|
35
|
-
/** East FloatInput value type */
|
|
36
|
-
export type FloatInputValue = ValueTypeOf<typeof Input.Types.Float>;
|
|
37
|
-
/**
|
|
38
|
-
* Converts an East UI FloatInput value to Chakra UI Input props.
|
|
39
|
-
*/
|
|
40
|
-
export declare function toChakraFloatInput(value: FloatInputValue): InputProps;
|
|
41
|
-
export interface EastChakraFloatInputProps {
|
|
42
|
-
value: FloatInputValue;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Renders an East UI FloatInput value using Chakra UI Input component.
|
|
46
|
-
*/
|
|
47
|
-
export declare const EastChakraFloatInput: import("react").NamedExoticComponent<EastChakraFloatInputProps>;
|
|
48
|
-
/** East DateTimeInput value type */
|
|
49
|
-
export type DateTimeInputValue = ValueTypeOf<typeof Input.Types.DateTime>;
|
|
50
|
-
/** Props returned by toChakraDateTimeInput for memoization */
|
|
51
|
-
export interface ChakraDateTimeInputProps {
|
|
52
|
-
calendarDate: CalendarDate;
|
|
53
|
-
timeValue: Time;
|
|
54
|
-
precision: "date" | "time" | "datetime";
|
|
55
|
-
disabled: boolean;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Converts an East UI DateTimeInput value to props for the compound date field components.
|
|
59
|
-
* Use with useMemo for performance optimization.
|
|
60
|
-
*/
|
|
61
|
-
export declare function toChakraDateTimeInput(value: DateTimeInputValue): ChakraDateTimeInputProps;
|
|
62
|
-
export interface EastChakraDateTimeInputProps {
|
|
63
|
-
value: DateTimeInputValue;
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Renders an East UI DateTimeInput value using compound date field components.
|
|
67
|
-
* Supports date-only, time-only, and datetime modes based on the precision property.
|
|
68
|
-
*/
|
|
69
|
-
export declare const EastChakraDateTimeInput: import("react").NamedExoticComponent<EastChakraDateTimeInputProps>;
|
|
70
|
-
//# 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,EAAO,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAkB,MAAM,yBAAyB,CAAC;AAY7E,kCAAkC;AAClC,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AAEtE;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,gBAAgB,GAAG,UAAU,CAUvE;AAGD,MAAM,WAAW,0BAA0B;IACvC,KAAK,EAAE,gBAAgB,CAAC;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,kEA+B0B,CAAC;AAI7D,mCAAmC;AACnC,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAGxE;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,iBAAiB,GAAG,UAAU,CAWzE;AAED,MAAM,WAAW,2BAA2B;IACxC,KAAK,EAAE,iBAAiB,CAAC;CAC5B;AAGD;;GAEG;AACH,eAAO,MAAM,sBAAsB,mEA+D0B,CAAC;AAK9D,iCAAiC;AACjC,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,OAAO,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAGpE;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,eAAe,GAAG,UAAU,CAgBrE;AAED,MAAM,WAAW,yBAAyB;IACtC,KAAK,EAAE,eAAe,CAAC;CAC1B;AAGD;;GAEG;AACH,eAAO,MAAM,oBAAoB,iEAsC0B,CAAC;AAM5D,oCAAoC;AACpC,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,OAAO,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;AAyC1E,8DAA8D;AAC9D,MAAM,WAAW,wBAAwB;IACrC,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;IACxC,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,kBAAkB,GAAG,wBAAwB,CAQzF;AAED,MAAM,WAAW,4BAA4B;IACzC,KAAK,EAAE,kBAAkB,CAAC;CAC7B;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,oEAuD0B,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,6DA6D8B,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,6DA+B0B,CAAC"}
|