@accelint/design-toolkit 9.12.0 → 9.13.0
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/catalog-info.yaml +1 -1
- package/dist/components/accordion/context.d.ts +2 -2
- package/dist/components/accordion/group.d.ts +2 -2
- package/dist/components/accordion/header.d.ts +2 -2
- package/dist/components/accordion/index.d.ts +2 -2
- package/dist/components/accordion/panel.d.ts +2 -2
- package/dist/components/accordion/trigger.d.ts +2 -2
- package/dist/components/action-bar/index.d.ts +2 -2
- package/dist/components/audio/index.d.ts +2 -2
- package/dist/components/avatar/context.d.ts +2 -2
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/badge/context.d.ts +4 -4
- package/dist/components/badge/index.d.ts +2 -2
- package/dist/components/breadcrumbs/index.d.ts +2 -2
- package/dist/components/breadcrumbs/item.d.ts +2 -2
- package/dist/components/button/context.d.ts +8 -8
- package/dist/components/button/index.d.ts +2 -2
- package/dist/components/button/link.d.ts +2 -2
- package/dist/components/button/toggle.d.ts +2 -2
- package/dist/components/carousel/context.d.ts +4 -4
- package/dist/components/carousel/gallery.d.ts +2 -2
- package/dist/components/carousel/index.d.ts +2 -2
- package/dist/components/carousel/navigation.d.ts +3 -3
- package/dist/components/carousel/position.d.ts +2 -2
- package/dist/components/carousel/select.d.ts +2 -2
- package/dist/components/carousel/viewer.d.ts +2 -2
- package/dist/components/checkbox/context.d.ts +3 -3
- package/dist/components/checkbox/group.d.ts +2 -2
- package/dist/components/checkbox/index.d.ts +2 -2
- package/dist/components/chip/context.d.ts +4 -4
- package/dist/components/chip/deletable.d.ts +2 -2
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/chip/list.d.ts +4 -4
- package/dist/components/chip/selectable.d.ts +2 -2
- package/dist/components/classification-badge/context.d.ts +4 -4
- package/dist/components/classification-badge/index.d.ts +2 -2
- package/dist/components/classification-banner/context.d.ts +4 -4
- package/dist/components/classification-banner/index.d.ts +2 -2
- package/dist/components/clock/index.d.ts +2 -2
- package/dist/components/color-picker/index.d.ts +2 -2
- package/dist/components/combobox-field/context.d.ts +4 -4
- package/dist/components/combobox-field/index.d.ts +2 -2
- package/dist/components/coordinate-field/context.d.ts +6 -6
- package/dist/components/coordinate-field/index.d.ts +2 -2
- package/dist/components/coordinate-field/segment.d.ts +2 -2
- package/dist/components/date-field/index.d.ts +2 -2
- package/dist/components/deferred-collection/index.d.ts +2 -2
- package/dist/components/details-list/context.d.ts +4 -4
- package/dist/components/details-list/index.d.ts +2 -2
- package/dist/components/details-list/label.d.ts +2 -2
- package/dist/components/details-list/value.d.ts +2 -2
- package/dist/components/dialog/content.d.ts +2 -2
- package/dist/components/dialog/context.d.ts +2 -2
- package/dist/components/dialog/footer.d.ts +2 -2
- package/dist/components/dialog/index.d.ts +2 -2
- package/dist/components/dialog/title.d.ts +2 -2
- package/dist/components/divider/context.d.ts +4 -4
- package/dist/components/divider/index.d.ts +2 -2
- package/dist/components/drawer/back.d.ts +2 -2
- package/dist/components/drawer/close.d.ts +2 -2
- package/dist/components/drawer/content.d.ts +2 -2
- package/dist/components/drawer/context.d.ts +2 -2
- package/dist/components/drawer/footer.d.ts +2 -2
- package/dist/components/drawer/header-title.d.ts +2 -2
- package/dist/components/drawer/header.d.ts +2 -2
- package/dist/components/drawer/index.d.ts +2 -2
- package/dist/components/drawer/layout-main.d.ts +2 -2
- package/dist/components/drawer/layout.d.ts +2 -2
- package/dist/components/drawer/menu-item.d.ts +2 -2
- package/dist/components/drawer/menu.d.ts +2 -2
- package/dist/components/drawer/panel.d.ts +2 -2
- package/dist/components/drawer/trigger.d.ts +2 -2
- package/dist/components/drawer/view.d.ts +2 -2
- package/dist/components/flashcard/index.d.ts +9 -9
- package/dist/components/flashcard/index.js +1 -1
- package/dist/components/flashcard/index.js.map +1 -1
- package/dist/components/flashcard/styles.module.css +4 -0
- package/dist/components/floating-card/context.d.ts +2 -2
- package/dist/components/floating-card/index.d.ts +2 -2
- package/dist/components/floating-card/provider.d.ts +2 -2
- package/dist/components/gantt/components/base-elements/point.d.ts +2 -2
- package/dist/components/gantt/components/base-elements/range.d.ts +2 -2
- package/dist/components/gantt/components/containers/external/gantt-content-container/index.d.ts +2 -2
- package/dist/components/gantt/components/containers/external/gantt-panel-container/index.d.ts +2 -2
- package/dist/components/gantt/components/containers/internal/index.d.ts +2 -2
- package/dist/components/gantt/components/containers/internal/layout-container/index.d.ts +2 -2
- package/dist/components/gantt/components/containers/internal/virtualized-content-height-container/index.d.ts +2 -2
- package/dist/components/gantt/components/content-row/block.d.ts +2 -2
- package/dist/components/gantt/components/content-row/bracket.d.ts +3 -3
- package/dist/components/gantt/components/content-row/icon-marker.d.ts +2 -2
- package/dist/components/gantt/components/content-row/index.d.ts +2 -2
- package/dist/components/gantt/components/content-row/marker.d.ts +2 -2
- package/dist/components/gantt/components/content-row/spacer.d.ts +2 -2
- package/dist/components/gantt/components/current-time/index.d.ts +2 -2
- package/dist/components/gantt/components/header/index.d.ts +3 -3
- package/dist/components/gantt/components/panel-row/index.d.ts +2 -2
- package/dist/components/gantt/components/rows-virtualizer/index.d.ts +3 -3
- package/dist/components/gantt/components/timeline/index.d.ts +2 -2
- package/dist/components/gantt/components/timeline-chunk/index.d.ts +3 -3
- package/dist/components/gantt/context/index.d.ts +4 -4
- package/dist/components/gantt/context/store/index.d.ts +2 -2
- package/dist/components/gantt/context/temporal-data/index.d.ts +2 -2
- package/dist/components/hero/context.d.ts +2 -2
- package/dist/components/hero/index.d.ts +2 -2
- package/dist/components/hero/subtitle.d.ts +3 -3
- package/dist/components/hero/title.d.ts +2 -2
- package/dist/components/hotkey/context.d.ts +4 -4
- package/dist/components/hotkey/index.d.ts +2 -2
- package/dist/components/hotkey/set.d.ts +2 -2
- package/dist/components/icon/context.d.ts +4 -4
- package/dist/components/icon/index.d.ts +2 -2
- package/dist/components/input/context.d.ts +2 -2
- package/dist/components/input/index.d.ts +2 -2
- package/dist/components/kanban/card-body.d.ts +2 -2
- package/dist/components/kanban/card-header-actions.d.ts +2 -2
- package/dist/components/kanban/card-header-title.d.ts +2 -2
- package/dist/components/kanban/card-header.d.ts +2 -2
- package/dist/components/kanban/card.d.ts +2 -2
- package/dist/components/kanban/column-actions.d.ts +2 -2
- package/dist/components/kanban/column-container.d.ts +2 -2
- package/dist/components/kanban/column-content.d.ts +2 -2
- package/dist/components/kanban/column-header-actions.d.ts +2 -2
- package/dist/components/kanban/column-header-drag-handle.d.ts +2 -2
- package/dist/components/kanban/column-header-title.d.ts +2 -2
- package/dist/components/kanban/column-header.d.ts +2 -2
- package/dist/components/kanban/column.d.ts +2 -2
- package/dist/components/kanban/context.d.ts +2 -2
- package/dist/components/kanban/header-actions.d.ts +2 -2
- package/dist/components/kanban/header-search.d.ts +2 -2
- package/dist/components/kanban/header-title.d.ts +2 -2
- package/dist/components/kanban/header.d.ts +2 -2
- package/dist/components/kanban/kanban.d.ts +4 -4
- package/dist/components/label/context.d.ts +4 -4
- package/dist/components/label/index.d.ts +2 -2
- package/dist/components/lines/index.d.ts +2 -2
- package/dist/components/link/context.d.ts +2 -2
- package/dist/components/link/index.d.ts +2 -2
- package/dist/components/list/context.d.ts +2 -2
- package/dist/components/list/index.d.ts +2 -2
- package/dist/components/list/item-content.d.ts +2 -2
- package/dist/components/list/item-description.d.ts +2 -2
- package/dist/components/list/item-title.d.ts +2 -2
- package/dist/components/list/item.d.ts +2 -2
- package/dist/components/media-controls/context.d.ts +4 -4
- package/dist/components/media-controls/fullscreen-button.d.ts +2 -2
- package/dist/components/media-controls/index.d.ts +2 -2
- package/dist/components/media-controls/mute-button.d.ts +2 -2
- package/dist/components/media-controls/play-button.d.ts +2 -2
- package/dist/components/media-controls/playback-rate.d.ts +2 -2
- package/dist/components/media-controls/seek-button.d.ts +2 -2
- package/dist/components/media-controls/time-display.d.ts +2 -2
- package/dist/components/media-controls/time-range.d.ts +2 -2
- package/dist/components/media-controls/volume-slider.d.ts +2 -2
- package/dist/components/menu/context.d.ts +2 -2
- package/dist/components/menu/index.d.ts +2 -2
- package/dist/components/menu/item-description.d.ts +2 -2
- package/dist/components/menu/item-label.d.ts +2 -2
- package/dist/components/menu/item.d.ts +2 -2
- package/dist/components/menu/section.d.ts +2 -2
- package/dist/components/menu/separator.d.ts +2 -2
- package/dist/components/menu/submenu.d.ts +2 -2
- package/dist/components/notice/index.d.ts +3 -2
- package/dist/components/notice/index.js +3 -3
- package/dist/components/notice/index.js.map +1 -1
- package/dist/components/notice/list.d.ts +2 -2
- package/dist/components/notice/list.js +14 -5
- package/dist/components/notice/list.js.map +1 -1
- package/dist/components/notice/notice-icon.d.ts +2 -2
- package/dist/components/notice/types.d.ts +6 -5
- package/dist/components/notice/utils.d.ts +11 -1
- package/dist/components/notice/utils.js +16 -1
- package/dist/components/notice/utils.js.map +1 -1
- package/dist/components/options/context.d.ts +2 -2
- package/dist/components/options/index.d.ts +2 -2
- package/dist/components/options/item-content.d.ts +2 -2
- package/dist/components/options/item-description.d.ts +2 -2
- package/dist/components/options/item-label.d.ts +2 -2
- package/dist/components/options/item.d.ts +2 -2
- package/dist/components/options/section.d.ts +2 -2
- package/dist/components/pagination/context.d.ts +2 -2
- package/dist/components/pagination/index.d.ts +2 -2
- package/dist/components/pagination/next.d.ts +2 -2
- package/dist/components/pagination/pages.d.ts +2 -2
- package/dist/components/pagination/prev.d.ts +2 -2
- package/dist/components/popover/content.d.ts +2 -2
- package/dist/components/popover/footer.d.ts +2 -2
- package/dist/components/popover/index.d.ts +2 -2
- package/dist/components/popover/title.d.ts +2 -2
- package/dist/components/popover/trigger.d.ts +2 -2
- package/dist/components/query-builder/action-element.d.ts +2 -2
- package/dist/components/query-builder/actions.d.ts +4 -4
- package/dist/components/query-builder/combinator-selector.d.ts +2 -2
- package/dist/components/query-builder/index.d.ts +2 -2
- package/dist/components/query-builder/rule-group.d.ts +4 -4
- package/dist/components/query-builder/rule.d.ts +2 -2
- package/dist/components/query-builder/value-editor.d.ts +2 -2
- package/dist/components/query-builder/value-selector.d.ts +2 -2
- package/dist/components/radio/context.d.ts +3 -3
- package/dist/components/radio/group.d.ts +2 -2
- package/dist/components/radio/index.d.ts +2 -2
- package/dist/components/search-field/context.d.ts +4 -4
- package/dist/components/search-field/index.d.ts +2 -2
- package/dist/components/select-field/context.d.ts +4 -4
- package/dist/components/select-field/index.d.ts +2 -2
- package/dist/components/sidenav/avatar.d.ts +2 -2
- package/dist/components/sidenav/content.d.ts +2 -2
- package/dist/components/sidenav/context.d.ts +2 -2
- package/dist/components/sidenav/footer.d.ts +2 -2
- package/dist/components/sidenav/header.d.ts +2 -2
- package/dist/components/sidenav/index.d.ts +2 -2
- package/dist/components/sidenav/item.d.ts +2 -2
- package/dist/components/sidenav/link.d.ts +2 -2
- package/dist/components/sidenav/menu-item.d.ts +2 -2
- package/dist/components/sidenav/menu.d.ts +2 -2
- package/dist/components/sidenav/trigger.d.ts +2 -2
- package/dist/components/skeleton/index.d.ts +2 -2
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/status-indicator/index.d.ts +2 -2
- package/dist/components/switch/context.d.ts +4 -4
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/table/body.d.ts +2 -2
- package/dist/components/table/cell.d.ts +2 -2
- package/dist/components/table/context.d.ts +2 -2
- package/dist/components/table/header-cell.d.ts +2 -2
- package/dist/components/table/header.d.ts +2 -2
- package/dist/components/table/index.d.ts +2 -2
- package/dist/components/table/row.d.ts +2 -2
- package/dist/components/tabs/context.d.ts +6 -6
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/tabs/list.d.ts +2 -2
- package/dist/components/tabs/panel.d.ts +2 -2
- package/dist/components/tabs/tab.d.ts +2 -2
- package/dist/components/text-area-field/context.d.ts +4 -4
- package/dist/components/text-area-field/index.d.ts +2 -2
- package/dist/components/text-field/context.d.ts +4 -4
- package/dist/components/text-field/index.d.ts +2 -2
- package/dist/components/time-field/index.d.ts +2 -2
- package/dist/components/time-field/styles.module.css +4 -0
- package/dist/components/tooltip/context.d.ts +2 -2
- package/dist/components/tooltip/index.d.ts +2 -2
- package/dist/components/tooltip/trigger.d.ts +2 -2
- package/dist/components/tree/context.d.ts +3 -3
- package/dist/components/tree/index.d.ts +2 -2
- package/dist/components/tree/item-actions.d.ts +2 -2
- package/dist/components/tree/item-content.d.ts +2 -2
- package/dist/components/tree/item-description.d.ts +2 -2
- package/dist/components/tree/item-label.d.ts +2 -2
- package/dist/components/tree/item-prefix-icon.d.ts +2 -2
- package/dist/components/tree/item.d.ts +2 -2
- package/dist/components/tree/lines.d.ts +2 -2
- package/dist/components/video/index.d.ts +2 -2
- package/dist/components/view-stack/context.d.ts +2 -2
- package/dist/components/view-stack/index.d.ts +2 -2
- package/dist/components/view-stack/trigger.d.ts +2 -2
- package/dist/components/view-stack/view.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/providers/portal.d.ts +2 -2
- package/dist/providers/theme-provider.d.ts +2 -2
- package/package.json +9 -9
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { DrawerContextValue, DrawerEvent } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react18 from "react";
|
|
16
16
|
import { UniqueId } from "@accelint/core";
|
|
17
17
|
import { Broadcast } from "@accelint/bus";
|
|
18
18
|
|
|
@@ -25,7 +25,7 @@ import { Broadcast } from "@accelint/bus";
|
|
|
25
25
|
* const { register, unregister, placement } = useContext(DrawerContext);
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
declare const DrawerContext:
|
|
28
|
+
declare const DrawerContext: react18.Context<DrawerContextValue>;
|
|
29
29
|
/**
|
|
30
30
|
* Event bus instance for drawer-related events.
|
|
31
31
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { ComponentPropsWithRef } from "react";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime64 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/drawer/footer.d.ts
|
|
17
17
|
|
|
@@ -39,7 +39,7 @@ import * as react_jsx_runtime39 from "react/jsx-runtime";
|
|
|
39
39
|
declare function DrawerFooter({
|
|
40
40
|
className,
|
|
41
41
|
...rest
|
|
42
|
-
}: ComponentPropsWithRef<'footer'>):
|
|
42
|
+
}: ComponentPropsWithRef<'footer'>): react_jsx_runtime64.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { DrawerFooter };
|
|
45
45
|
//# sourceMappingURL=footer.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { DrawerTitleProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime65 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/drawer/header-title.d.ts
|
|
17
17
|
|
|
@@ -41,7 +41,7 @@ declare function DrawerHeaderTitle({
|
|
|
41
41
|
className,
|
|
42
42
|
level,
|
|
43
43
|
...rest
|
|
44
|
-
}: DrawerTitleProps):
|
|
44
|
+
}: DrawerTitleProps): react_jsx_runtime65.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { DrawerHeaderTitle };
|
|
47
47
|
//# sourceMappingURL=header-title.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
14
|
import { ComponentPropsWithRef } from "react";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime66 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/drawer/header.d.ts
|
|
18
18
|
|
|
@@ -52,7 +52,7 @@ declare function DrawerHeader({
|
|
|
52
52
|
title,
|
|
53
53
|
children,
|
|
54
54
|
...rest
|
|
55
|
-
}: ComponentPropsWithRef<'header'>):
|
|
55
|
+
}: ComponentPropsWithRef<'header'>): react_jsx_runtime66.JSX.Element;
|
|
56
56
|
//#endregion
|
|
57
57
|
export { DrawerHeader };
|
|
58
58
|
//# sourceMappingURL=header.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { DrawerProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime67 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/drawer/index.d.ts
|
|
18
18
|
|
|
@@ -63,7 +63,7 @@ declare function Drawer({
|
|
|
63
63
|
size,
|
|
64
64
|
onChange,
|
|
65
65
|
...rest
|
|
66
|
-
}: DrawerProps):
|
|
66
|
+
}: DrawerProps): react_jsx_runtime67.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { Drawer };
|
|
69
69
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { ComponentPropsWithRef } from "react";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime68 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/drawer/layout-main.d.ts
|
|
17
17
|
|
|
@@ -38,7 +38,7 @@ import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
|
38
38
|
declare function DrawerLayoutMain({
|
|
39
39
|
className,
|
|
40
40
|
...rest
|
|
41
|
-
}: ComponentPropsWithRef<'main'>):
|
|
41
|
+
}: ComponentPropsWithRef<'main'>): react_jsx_runtime68.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { DrawerLayoutMain };
|
|
44
44
|
//# sourceMappingURL=layout-main.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { DrawerLayoutProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime69 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/drawer/layout.d.ts
|
|
17
17
|
|
|
@@ -42,7 +42,7 @@ declare function DrawerLayout({
|
|
|
42
42
|
extend,
|
|
43
43
|
push,
|
|
44
44
|
...rest
|
|
45
|
-
}: DrawerLayoutProps):
|
|
45
|
+
}: DrawerLayoutProps): react_jsx_runtime69.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { DrawerLayout };
|
|
48
48
|
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { DrawerMenuItemProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime70 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/drawer/menu-item.d.ts
|
|
18
18
|
|
|
@@ -45,7 +45,7 @@ declare function DrawerMenuItem({
|
|
|
45
45
|
toggle,
|
|
46
46
|
textValue,
|
|
47
47
|
...rest
|
|
48
|
-
}: DrawerMenuItemProps):
|
|
48
|
+
}: DrawerMenuItemProps): react_jsx_runtime70.JSX.Element | null;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { DrawerMenuItem };
|
|
51
51
|
//# sourceMappingURL=menu-item.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { DrawerMenuProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime71 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/drawer/menu.d.ts
|
|
17
17
|
|
|
@@ -39,7 +39,7 @@ declare function DrawerMenu({
|
|
|
39
39
|
position,
|
|
40
40
|
children,
|
|
41
41
|
...rest
|
|
42
|
-
}: DrawerMenuProps):
|
|
42
|
+
}: DrawerMenuProps): react_jsx_runtime71.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { DrawerMenu };
|
|
45
45
|
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { ComponentPropsWithRef } from "react";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/drawer/panel.d.ts
|
|
17
17
|
|
|
@@ -36,7 +36,7 @@ import * as react_jsx_runtime132 from "react/jsx-runtime";
|
|
|
36
36
|
declare function DrawerPanel({
|
|
37
37
|
className,
|
|
38
38
|
...rest
|
|
39
|
-
}: ComponentPropsWithRef<'div'>):
|
|
39
|
+
}: ComponentPropsWithRef<'div'>): react_jsx_runtime72.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { DrawerPanel };
|
|
42
42
|
//# sourceMappingURL=panel.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { DrawerTriggerProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime73 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/drawer/trigger.d.ts
|
|
18
18
|
|
|
@@ -47,7 +47,7 @@ import * as react_jsx_runtime133 from "react/jsx-runtime";
|
|
|
47
47
|
declare function DrawerTrigger({
|
|
48
48
|
for: events,
|
|
49
49
|
...rest
|
|
50
|
-
}: DrawerTriggerProps):
|
|
50
|
+
}: DrawerTriggerProps): react_jsx_runtime73.JSX.Element;
|
|
51
51
|
//#endregion
|
|
52
52
|
export { DrawerTrigger };
|
|
53
53
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import { ViewStackViewProps } from "../view-stack/types.js";
|
|
14
14
|
import "client-only";
|
|
15
15
|
import { ComponentPropsWithRef } from "react";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react_jsx_runtime74 from "react/jsx-runtime";
|
|
17
17
|
|
|
18
18
|
//#region src/components/drawer/view.d.ts
|
|
19
19
|
|
|
@@ -44,7 +44,7 @@ declare function DrawerView({
|
|
|
44
44
|
children,
|
|
45
45
|
className,
|
|
46
46
|
...rest
|
|
47
|
-
}: ViewStackViewProps & ComponentPropsWithRef<'div'>):
|
|
47
|
+
}: ViewStackViewProps & ComponentPropsWithRef<'div'>): react_jsx_runtime74.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { DrawerView };
|
|
50
50
|
//# sourceMappingURL=view.d.ts.map
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
import { FlashcardComponentProps, FlashcardDetailsListProps, FlashcardProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
15
|
+
import * as react21 from "react";
|
|
16
|
+
import * as react_jsx_runtime77 from "react/jsx-runtime";
|
|
17
17
|
|
|
18
18
|
//#region src/components/flashcard/index.d.ts
|
|
19
19
|
/**
|
|
20
20
|
* Context for sharing Flashcard state across child components.
|
|
21
21
|
*/
|
|
22
|
-
declare const FlashcardContext:
|
|
22
|
+
declare const FlashcardContext: react21.Context<FlashcardProps>;
|
|
23
23
|
/**
|
|
24
24
|
* Flashcard - A quick visual identifier for map entity data.
|
|
25
25
|
*
|
|
@@ -46,7 +46,7 @@ declare const FlashcardContext: react13.Context<FlashcardProps>;
|
|
|
46
46
|
* </Flashcard>
|
|
47
47
|
* ```
|
|
48
48
|
*/
|
|
49
|
-
declare function Flashcard(props: FlashcardProps):
|
|
49
|
+
declare function Flashcard(props: FlashcardProps): react_jsx_runtime77.JSX.Element;
|
|
50
50
|
declare namespace Flashcard {
|
|
51
51
|
var displayName: string;
|
|
52
52
|
}
|
|
@@ -68,7 +68,7 @@ declare namespace Flashcard {
|
|
|
68
68
|
* </Flashcard>
|
|
69
69
|
* ```
|
|
70
70
|
*/
|
|
71
|
-
declare function FlashcardHero(props: FlashcardComponentProps):
|
|
71
|
+
declare function FlashcardHero(props: FlashcardComponentProps): react_jsx_runtime77.JSX.Element;
|
|
72
72
|
declare namespace FlashcardHero {
|
|
73
73
|
var displayName: string;
|
|
74
74
|
}
|
|
@@ -92,7 +92,7 @@ declare namespace FlashcardHero {
|
|
|
92
92
|
* </Flashcard>
|
|
93
93
|
* ```
|
|
94
94
|
*/
|
|
95
|
-
declare function FlashcardAdditionalData(props: FlashcardComponentProps):
|
|
95
|
+
declare function FlashcardAdditionalData(props: FlashcardComponentProps): react_jsx_runtime77.JSX.Element | null;
|
|
96
96
|
declare namespace FlashcardAdditionalData {
|
|
97
97
|
var displayName: string;
|
|
98
98
|
}
|
|
@@ -119,7 +119,7 @@ declare namespace FlashcardAdditionalData {
|
|
|
119
119
|
* </Flashcard>
|
|
120
120
|
* ```
|
|
121
121
|
*/
|
|
122
|
-
declare function FlashcardDetailsList(props: FlashcardDetailsListProps):
|
|
122
|
+
declare function FlashcardDetailsList(props: FlashcardDetailsListProps): react_jsx_runtime77.JSX.Element;
|
|
123
123
|
declare namespace FlashcardDetailsList {
|
|
124
124
|
var displayName: string;
|
|
125
125
|
}
|
|
@@ -141,7 +141,7 @@ declare namespace FlashcardDetailsList {
|
|
|
141
141
|
* </FlashcardDetailsList>
|
|
142
142
|
* ```
|
|
143
143
|
*/
|
|
144
|
-
declare function FlashcardDetailsLabel(props: FlashcardComponentProps):
|
|
144
|
+
declare function FlashcardDetailsLabel(props: FlashcardComponentProps): react_jsx_runtime77.JSX.Element;
|
|
145
145
|
declare namespace FlashcardDetailsLabel {
|
|
146
146
|
var displayName: string;
|
|
147
147
|
}
|
|
@@ -163,7 +163,7 @@ declare namespace FlashcardDetailsLabel {
|
|
|
163
163
|
* </FlashcardDetailsList>
|
|
164
164
|
* ```
|
|
165
165
|
*/
|
|
166
|
-
declare function FlashcardDetailsValue(props: FlashcardComponentProps):
|
|
166
|
+
declare function FlashcardDetailsValue(props: FlashcardComponentProps): react_jsx_runtime77.JSX.Element;
|
|
167
167
|
declare namespace FlashcardDetailsValue {
|
|
168
168
|
var displayName: string;
|
|
169
169
|
}
|
|
@@ -99,7 +99,7 @@ function FlashcardHero(props) {
|
|
|
99
99
|
const { isLoading, header, subheader } = useContext(FlashcardContext);
|
|
100
100
|
if (isLoading) return /* @__PURE__ */ jsxs("div", {
|
|
101
101
|
...rest,
|
|
102
|
-
className: clsx(styles.
|
|
102
|
+
className: clsx(styles.loading, className),
|
|
103
103
|
children: [/* @__PURE__ */ jsx(Skeleton, {
|
|
104
104
|
className: styles.skeleton,
|
|
105
105
|
"data-testid": "hero-skeleton"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/flashcard/index.tsx"],"sourcesContent":["/*\n * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n'use client';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport 'client-only';\nimport { createContext, useContext } from 'react';\nimport { Heading } from 'react-aria-components/Heading';\nimport { Text } from 'react-aria-components/Text';\nimport { DetailsList } from '../details-list';\nimport { DetailsListLabel } from '../details-list/label';\nimport { DetailsListValue } from '../details-list/value';\nimport { Skeleton } from '../skeleton';\nimport styles from './styles.module.css';\nimport type {\n FlashcardComponentProps,\n FlashcardDetailsListProps,\n FlashcardProps,\n} from './types';\n\n/**\n * Context for sharing Flashcard state across child components.\n */\nexport const FlashcardContext = createContext<FlashcardProps>({\n isLoading: false,\n header: '',\n subheader: '',\n});\n\n/**\n * Flashcard - A quick visual identifier for map entity data.\n *\n * Container component that provides loading state and header/subheader\n * to child components via context.\n *\n * @param props - {@link FlashcardProps}\n * @param props.isLoading - Whether the flashcard is in a loading state.\n * @param props.header - Primary header text.\n * @param props.subheader - Secondary text below the header.\n * @param props.children - Child components to render.\n * @param props.className - Optional CSS class name.\n * @returns The rendered Flashcard component.\n *\n * @example\n * ```tsx\n * <Flashcard isLoading={false} header=\"Identifier\" subheader=\"DATA\">\n * <FlashcardHero />\n * <FlashcardAdditionalData>Secondary info</FlashcardAdditionalData>\n * <FlashcardDetailsList>\n * <FlashcardDetailsLabel>Status</FlashcardDetailsLabel>\n * <FlashcardDetailsValue>Active</FlashcardDetailsValue>\n * </FlashcardDetailsList>\n * </Flashcard>\n * ```\n */\nexport function Flashcard(props: FlashcardProps) {\n const { isLoading, header, subheader, children, className, ...rest } = props;\n\n return (\n <FlashcardContext.Provider value={{ isLoading, header, subheader }}>\n <div {...rest} className={clsx(styles.container, className)}>\n {children}\n </div>\n </FlashcardContext.Provider>\n );\n}\nFlashcard.displayName = 'Flashcard';\n\n/**\n * FlashcardHero - Upper section displaying header and subheader.\n *\n * Reads header and subheader from Flashcard context. Shows skeleton\n * placeholders when the parent Flashcard has isLoading=true.\n *\n * @param props - {@link FlashcardComponentProps}\n * @param props.children - Optional child content.\n * @param props.className - Optional CSS class name.\n * @returns The rendered FlashcardHero component.\n *\n * @example\n * ```tsx\n * <Flashcard header=\"Entity Name\" subheader=\"Type\">\n * <FlashcardHero />\n * </Flashcard>\n * ```\n */\nexport function FlashcardHero(props: FlashcardComponentProps) {\n const { children, className, ...rest } = props;\n const { isLoading, header, subheader } = useContext(FlashcardContext);\n\n if (isLoading) {\n return (\n <div {...rest} className={clsx(styles.hero, className, 'gap-s')}>\n <Skeleton className={styles.skeleton} data-testid='hero-skeleton' />\n <Skeleton className={clsx(styles.skeleton, styles.half)} />\n </div>\n );\n }\n\n return (\n <div {...rest} className={clsx(styles.hero, className)}>\n <FlashcardHeader className={styles.header}>{header}</FlashcardHeader>\n <FlashcardSubheader className={styles.subheader}>\n {subheader}\n </FlashcardSubheader>\n </div>\n );\n}\nFlashcardHero.displayName = 'FlashcardHero';\n\nconst FlashcardHeader = Heading;\nconst FlashcardSubheader = Text;\n\n/**\n * FlashcardAdditionalData - Secondary data section below the hero.\n *\n * Hidden when the parent Flashcard has isLoading=true.\n *\n * @param props - {@link FlashcardComponentProps}\n * @param props.children - Content to display in the section.\n * @param props.className - Optional CSS class name.\n * @returns The rendered FlashcardAdditionalData component, or null if loading.\n *\n * @example\n * ```tsx\n * <Flashcard header=\"Entity\" subheader=\"Data\">\n * <FlashcardHero />\n * <FlashcardAdditionalData>\n * Last updated: 2024-01-15\n * </FlashcardAdditionalData>\n * </Flashcard>\n * ```\n */\nexport function FlashcardAdditionalData(props: FlashcardComponentProps) {\n const { children, className, ...rest } = props;\n const { isLoading } = useContext(FlashcardContext);\n\n // While loading, don't display.\n if (isLoading) {\n return null;\n }\n\n return (\n <div {...rest} className={clsx(styles.data, className)}>\n {children}\n </div>\n );\n}\nFlashcardAdditionalData.displayName = 'FlashcardAdditionalData';\n\n/**\n * FlashcardDetailsList - Wrapper for key-value detail pairs.\n *\n * Wraps DetailsList with justify alignment for flashcard styling.\n *\n * @param props - {@link FlashcardDetailsListProps}\n * @param props.children - FlashcardDetailsLabel and FlashcardDetailsValue pairs.\n * @param props.className - Optional CSS class name.\n * @returns The rendered FlashcardDetailsList component.\n *\n * @example\n * ```tsx\n * <Flashcard header=\"Aircraft\" subheader=\"Entity\">\n * <FlashcardHero />\n * <FlashcardDetailsList>\n * <FlashcardDetailsLabel>Status</FlashcardDetailsLabel>\n * <FlashcardDetailsValue>Active</FlashcardDetailsValue>\n * <FlashcardDetailsLabel>Speed</FlashcardDetailsLabel>\n * <FlashcardDetailsValue>450 kts</FlashcardDetailsValue>\n * </FlashcardDetailsList>\n * </Flashcard>\n * ```\n */\nexport function FlashcardDetailsList(props: FlashcardDetailsListProps) {\n const { children, className, ...rest } = props;\n return (\n <DetailsList\n {...rest}\n align='justify'\n classNames={{ list: clsx(styles['details-list'], className) }}\n >\n {children}\n </DetailsList>\n );\n}\nFlashcardDetailsList.displayName = 'FlashcardDetailsList';\n\n/**\n * FlashcardDetailsLabel - Label for detail items.\n *\n * Shows skeleton placeholder when the parent Flashcard has isLoading=true.\n *\n * @param props - {@link FlashcardComponentProps}\n * @param props.children - Label text content.\n * @param props.className - Optional CSS class name.\n * @returns The rendered FlashcardDetailsLabel component.\n *\n * @example\n * ```tsx\n * <FlashcardDetailsList>\n * <FlashcardDetailsLabel>Status</FlashcardDetailsLabel>\n * <FlashcardDetailsValue>Active</FlashcardDetailsValue>\n * </FlashcardDetailsList>\n * ```\n */\nexport function FlashcardDetailsLabel(props: FlashcardComponentProps) {\n const { isLoading } = useContext(FlashcardContext);\n const { className, children, ...rest } = props;\n return (\n <DetailsListLabel\n {...rest}\n className={clsx(styles['details-label'], className)}\n >\n {isLoading ? (\n <Skeleton className={clsx(styles.skeleton, styles.smaller)} />\n ) : (\n children\n )}\n </DetailsListLabel>\n );\n}\nFlashcardDetailsLabel.displayName = 'FlashcardDetailsLabel';\n\n/**\n * FlashcardDetailsValue - Value for detail items.\n *\n * Shows skeleton placeholder when the parent Flashcard has isLoading=true.\n *\n * @param props - {@link FlashcardComponentProps}\n * @param props.children - Value text content.\n * @param props.className - Optional CSS class name.\n * @returns The rendered FlashcardDetailsValue component.\n *\n * @example\n * ```tsx\n * <FlashcardDetailsList>\n * <FlashcardDetailsLabel>Type</FlashcardDetailsLabel>\n * <FlashcardDetailsValue>Aircraft</FlashcardDetailsValue>\n * </FlashcardDetailsList>\n * ```\n */\nexport function FlashcardDetailsValue(props: FlashcardComponentProps) {\n const { isLoading } = useContext(FlashcardContext);\n const { className, children, ...rest } = props;\n return (\n <DetailsListValue\n {...rest}\n className={clsx(styles['details-value'], className)}\n >\n {isLoading ? (\n <Skeleton className={clsx(styles.skeleton, styles.smaller)} />\n ) : (\n children\n )}\n </DetailsListValue>\n );\n}\nFlashcardDetailsValue.displayName = 'FlashcardDetailsValue';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,MAAa,mBAAmB,cAA8B;CAC5D,WAAW;CACX,QAAQ;CACR,WAAW;CACZ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BF,SAAgB,UAAU,OAAuB;CAC/C,MAAM,EAAE,WAAW,QAAQ,WAAW,UAAU,WAAW,GAAG,SAAS;AAEvE,QACE,oBAAC,iBAAiB;EAAS,OAAO;GAAE;GAAW;GAAQ;GAAW;YAChE,oBAAC;GAAI,GAAI;GAAM,WAAW,KAAK,OAAO,WAAW,UAAU;GACxD;IACG;GACoB;;AAGhC,UAAU,cAAc;;;;;;;;;;;;;;;;;;;AAoBxB,SAAgB,cAAc,OAAgC;CAC5D,MAAM,EAAE,UAAU,WAAW,GAAG,SAAS;CACzC,MAAM,EAAE,WAAW,QAAQ,cAAc,WAAW,iBAAiB;AAErE,KAAI,UACF,QACE,qBAAC;EAAI,GAAI;EAAM,WAAW,KAAK,OAAO,MAAM,WAAW,QAAQ;aAC7D,oBAAC;GAAS,WAAW,OAAO;GAAU,eAAY;IAAkB,EACpE,oBAAC,YAAS,WAAW,KAAK,OAAO,UAAU,OAAO,KAAK,GAAI;GACvD;AAIV,QACE,qBAAC;EAAI,GAAI;EAAM,WAAW,KAAK,OAAO,MAAM,UAAU;aACpD,oBAAC;GAAgB,WAAW,OAAO;aAAS;IAAyB,EACrE,oBAAC;GAAmB,WAAW,OAAO;aACnC;IACkB;GACjB;;AAGV,cAAc,cAAc;AAE5B,MAAM,kBAAkB;AACxB,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;AAsB3B,SAAgB,wBAAwB,OAAgC;CACtE,MAAM,EAAE,UAAU,WAAW,GAAG,SAAS;CACzC,MAAM,EAAE,cAAc,WAAW,iBAAiB;AAGlD,KAAI,UACF,QAAO;AAGT,QACE,oBAAC;EAAI,GAAI;EAAM,WAAW,KAAK,OAAO,MAAM,UAAU;EACnD;GACG;;AAGV,wBAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;AAyBtC,SAAgB,qBAAqB,OAAkC;CACrE,MAAM,EAAE,UAAU,WAAW,GAAG,SAAS;AACzC,QACE,oBAAC;EACC,GAAI;EACJ,OAAM;EACN,YAAY,EAAE,MAAM,KAAK,OAAO,iBAAiB,UAAU,EAAE;EAE5D;GACW;;AAGlB,qBAAqB,cAAc;;;;;;;;;;;;;;;;;;;AAoBnC,SAAgB,sBAAsB,OAAgC;CACpE,MAAM,EAAE,cAAc,WAAW,iBAAiB;CAClD,MAAM,EAAE,WAAW,UAAU,GAAG,SAAS;AACzC,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,KAAK,OAAO,kBAAkB,UAAU;YAElD,YACC,oBAAC,YAAS,WAAW,KAAK,OAAO,UAAU,OAAO,QAAQ,GAAI,GAE9D;GAEe;;AAGvB,sBAAsB,cAAc;;;;;;;;;;;;;;;;;;;AAoBpC,SAAgB,sBAAsB,OAAgC;CACpE,MAAM,EAAE,cAAc,WAAW,iBAAiB;CAClD,MAAM,EAAE,WAAW,UAAU,GAAG,SAAS;AACzC,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,KAAK,OAAO,kBAAkB,UAAU;YAElD,YACC,oBAAC,YAAS,WAAW,KAAK,OAAO,UAAU,OAAO,QAAQ,GAAI,GAE9D;GAEe;;AAGvB,sBAAsB,cAAc"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/flashcard/index.tsx"],"sourcesContent":["/*\n * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n'use client';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport 'client-only';\nimport { createContext, useContext } from 'react';\nimport { Heading } from 'react-aria-components/Heading';\nimport { Text } from 'react-aria-components/Text';\nimport { DetailsList } from '../details-list';\nimport { DetailsListLabel } from '../details-list/label';\nimport { DetailsListValue } from '../details-list/value';\nimport { Skeleton } from '../skeleton';\nimport styles from './styles.module.css';\nimport type {\n FlashcardComponentProps,\n FlashcardDetailsListProps,\n FlashcardProps,\n} from './types';\n\n/**\n * Context for sharing Flashcard state across child components.\n */\nexport const FlashcardContext = createContext<FlashcardProps>({\n isLoading: false,\n header: '',\n subheader: '',\n});\n\n/**\n * Flashcard - A quick visual identifier for map entity data.\n *\n * Container component that provides loading state and header/subheader\n * to child components via context.\n *\n * @param props - {@link FlashcardProps}\n * @param props.isLoading - Whether the flashcard is in a loading state.\n * @param props.header - Primary header text.\n * @param props.subheader - Secondary text below the header.\n * @param props.children - Child components to render.\n * @param props.className - Optional CSS class name.\n * @returns The rendered Flashcard component.\n *\n * @example\n * ```tsx\n * <Flashcard isLoading={false} header=\"Identifier\" subheader=\"DATA\">\n * <FlashcardHero />\n * <FlashcardAdditionalData>Secondary info</FlashcardAdditionalData>\n * <FlashcardDetailsList>\n * <FlashcardDetailsLabel>Status</FlashcardDetailsLabel>\n * <FlashcardDetailsValue>Active</FlashcardDetailsValue>\n * </FlashcardDetailsList>\n * </Flashcard>\n * ```\n */\nexport function Flashcard(props: FlashcardProps) {\n const { isLoading, header, subheader, children, className, ...rest } = props;\n\n return (\n <FlashcardContext.Provider value={{ isLoading, header, subheader }}>\n <div {...rest} className={clsx(styles.container, className)}>\n {children}\n </div>\n </FlashcardContext.Provider>\n );\n}\nFlashcard.displayName = 'Flashcard';\n\n/**\n * FlashcardHero - Upper section displaying header and subheader.\n *\n * Reads header and subheader from Flashcard context. Shows skeleton\n * placeholders when the parent Flashcard has isLoading=true.\n *\n * @param props - {@link FlashcardComponentProps}\n * @param props.children - Optional child content.\n * @param props.className - Optional CSS class name.\n * @returns The rendered FlashcardHero component.\n *\n * @example\n * ```tsx\n * <Flashcard header=\"Entity Name\" subheader=\"Type\">\n * <FlashcardHero />\n * </Flashcard>\n * ```\n */\nexport function FlashcardHero(props: FlashcardComponentProps) {\n const { children, className, ...rest } = props;\n const { isLoading, header, subheader } = useContext(FlashcardContext);\n\n if (isLoading) {\n return (\n <div {...rest} className={clsx(styles.loading, className)}>\n <Skeleton className={styles.skeleton} data-testid='hero-skeleton' />\n <Skeleton className={clsx(styles.skeleton, styles.half)} />\n </div>\n );\n }\n\n return (\n <div {...rest} className={clsx(styles.hero, className)}>\n <FlashcardHeader className={styles.header}>{header}</FlashcardHeader>\n <FlashcardSubheader className={styles.subheader}>\n {subheader}\n </FlashcardSubheader>\n </div>\n );\n}\nFlashcardHero.displayName = 'FlashcardHero';\n\nconst FlashcardHeader = Heading;\nconst FlashcardSubheader = Text;\n\n/**\n * FlashcardAdditionalData - Secondary data section below the hero.\n *\n * Hidden when the parent Flashcard has isLoading=true.\n *\n * @param props - {@link FlashcardComponentProps}\n * @param props.children - Content to display in the section.\n * @param props.className - Optional CSS class name.\n * @returns The rendered FlashcardAdditionalData component, or null if loading.\n *\n * @example\n * ```tsx\n * <Flashcard header=\"Entity\" subheader=\"Data\">\n * <FlashcardHero />\n * <FlashcardAdditionalData>\n * Last updated: 2024-01-15\n * </FlashcardAdditionalData>\n * </Flashcard>\n * ```\n */\nexport function FlashcardAdditionalData(props: FlashcardComponentProps) {\n const { children, className, ...rest } = props;\n const { isLoading } = useContext(FlashcardContext);\n\n // While loading, don't display.\n if (isLoading) {\n return null;\n }\n\n return (\n <div {...rest} className={clsx(styles.data, className)}>\n {children}\n </div>\n );\n}\nFlashcardAdditionalData.displayName = 'FlashcardAdditionalData';\n\n/**\n * FlashcardDetailsList - Wrapper for key-value detail pairs.\n *\n * Wraps DetailsList with justify alignment for flashcard styling.\n *\n * @param props - {@link FlashcardDetailsListProps}\n * @param props.children - FlashcardDetailsLabel and FlashcardDetailsValue pairs.\n * @param props.className - Optional CSS class name.\n * @returns The rendered FlashcardDetailsList component.\n *\n * @example\n * ```tsx\n * <Flashcard header=\"Aircraft\" subheader=\"Entity\">\n * <FlashcardHero />\n * <FlashcardDetailsList>\n * <FlashcardDetailsLabel>Status</FlashcardDetailsLabel>\n * <FlashcardDetailsValue>Active</FlashcardDetailsValue>\n * <FlashcardDetailsLabel>Speed</FlashcardDetailsLabel>\n * <FlashcardDetailsValue>450 kts</FlashcardDetailsValue>\n * </FlashcardDetailsList>\n * </Flashcard>\n * ```\n */\nexport function FlashcardDetailsList(props: FlashcardDetailsListProps) {\n const { children, className, ...rest } = props;\n return (\n <DetailsList\n {...rest}\n align='justify'\n classNames={{ list: clsx(styles['details-list'], className) }}\n >\n {children}\n </DetailsList>\n );\n}\nFlashcardDetailsList.displayName = 'FlashcardDetailsList';\n\n/**\n * FlashcardDetailsLabel - Label for detail items.\n *\n * Shows skeleton placeholder when the parent Flashcard has isLoading=true.\n *\n * @param props - {@link FlashcardComponentProps}\n * @param props.children - Label text content.\n * @param props.className - Optional CSS class name.\n * @returns The rendered FlashcardDetailsLabel component.\n *\n * @example\n * ```tsx\n * <FlashcardDetailsList>\n * <FlashcardDetailsLabel>Status</FlashcardDetailsLabel>\n * <FlashcardDetailsValue>Active</FlashcardDetailsValue>\n * </FlashcardDetailsList>\n * ```\n */\nexport function FlashcardDetailsLabel(props: FlashcardComponentProps) {\n const { isLoading } = useContext(FlashcardContext);\n const { className, children, ...rest } = props;\n return (\n <DetailsListLabel\n {...rest}\n className={clsx(styles['details-label'], className)}\n >\n {isLoading ? (\n <Skeleton className={clsx(styles.skeleton, styles.smaller)} />\n ) : (\n children\n )}\n </DetailsListLabel>\n );\n}\nFlashcardDetailsLabel.displayName = 'FlashcardDetailsLabel';\n\n/**\n * FlashcardDetailsValue - Value for detail items.\n *\n * Shows skeleton placeholder when the parent Flashcard has isLoading=true.\n *\n * @param props - {@link FlashcardComponentProps}\n * @param props.children - Value text content.\n * @param props.className - Optional CSS class name.\n * @returns The rendered FlashcardDetailsValue component.\n *\n * @example\n * ```tsx\n * <FlashcardDetailsList>\n * <FlashcardDetailsLabel>Type</FlashcardDetailsLabel>\n * <FlashcardDetailsValue>Aircraft</FlashcardDetailsValue>\n * </FlashcardDetailsList>\n * ```\n */\nexport function FlashcardDetailsValue(props: FlashcardComponentProps) {\n const { isLoading } = useContext(FlashcardContext);\n const { className, children, ...rest } = props;\n return (\n <DetailsListValue\n {...rest}\n className={clsx(styles['details-value'], className)}\n >\n {isLoading ? (\n <Skeleton className={clsx(styles.skeleton, styles.smaller)} />\n ) : (\n children\n )}\n </DetailsListValue>\n );\n}\nFlashcardDetailsValue.displayName = 'FlashcardDetailsValue';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,MAAa,mBAAmB,cAA8B;CAC5D,WAAW;CACX,QAAQ;CACR,WAAW;CACZ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BF,SAAgB,UAAU,OAAuB;CAC/C,MAAM,EAAE,WAAW,QAAQ,WAAW,UAAU,WAAW,GAAG,SAAS;AAEvE,QACE,oBAAC,iBAAiB;EAAS,OAAO;GAAE;GAAW;GAAQ;GAAW;YAChE,oBAAC;GAAI,GAAI;GAAM,WAAW,KAAK,OAAO,WAAW,UAAU;GACxD;IACG;GACoB;;AAGhC,UAAU,cAAc;;;;;;;;;;;;;;;;;;;AAoBxB,SAAgB,cAAc,OAAgC;CAC5D,MAAM,EAAE,UAAU,WAAW,GAAG,SAAS;CACzC,MAAM,EAAE,WAAW,QAAQ,cAAc,WAAW,iBAAiB;AAErE,KAAI,UACF,QACE,qBAAC;EAAI,GAAI;EAAM,WAAW,KAAK,OAAO,SAAS,UAAU;aACvD,oBAAC;GAAS,WAAW,OAAO;GAAU,eAAY;IAAkB,EACpE,oBAAC,YAAS,WAAW,KAAK,OAAO,UAAU,OAAO,KAAK,GAAI;GACvD;AAIV,QACE,qBAAC;EAAI,GAAI;EAAM,WAAW,KAAK,OAAO,MAAM,UAAU;aACpD,oBAAC;GAAgB,WAAW,OAAO;aAAS;IAAyB,EACrE,oBAAC;GAAmB,WAAW,OAAO;aACnC;IACkB;GACjB;;AAGV,cAAc,cAAc;AAE5B,MAAM,kBAAkB;AACxB,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;AAsB3B,SAAgB,wBAAwB,OAAgC;CACtE,MAAM,EAAE,UAAU,WAAW,GAAG,SAAS;CACzC,MAAM,EAAE,cAAc,WAAW,iBAAiB;AAGlD,KAAI,UACF,QAAO;AAGT,QACE,oBAAC;EAAI,GAAI;EAAM,WAAW,KAAK,OAAO,MAAM,UAAU;EACnD;GACG;;AAGV,wBAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;AAyBtC,SAAgB,qBAAqB,OAAkC;CACrE,MAAM,EAAE,UAAU,WAAW,GAAG,SAAS;AACzC,QACE,oBAAC;EACC,GAAI;EACJ,OAAM;EACN,YAAY,EAAE,MAAM,KAAK,OAAO,iBAAiB,UAAU,EAAE;EAE5D;GACW;;AAGlB,qBAAqB,cAAc;;;;;;;;;;;;;;;;;;;AAoBnC,SAAgB,sBAAsB,OAAgC;CACpE,MAAM,EAAE,cAAc,WAAW,iBAAiB;CAClD,MAAM,EAAE,WAAW,UAAU,GAAG,SAAS;AACzC,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,KAAK,OAAO,kBAAkB,UAAU;YAElD,YACC,oBAAC,YAAS,WAAW,KAAK,OAAO,UAAU,OAAO,QAAQ,GAAI,GAE9D;GAEe;;AAGvB,sBAAsB,cAAc;;;;;;;;;;;;;;;;;;;AAoBpC,SAAgB,sBAAsB,OAAgC;CACpE,MAAM,EAAE,cAAc,WAAW,iBAAiB;CAClD,MAAM,EAAE,WAAW,UAAU,GAAG,SAAS;AACzC,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,KAAK,OAAO,kBAAkB,UAAU;YAElD,YACC,oBAAC,YAAS,WAAW,KAAK,OAAO,UAAU,OAAO,QAAQ,GAAI,GAE9D;GAEe;;AAGvB,sBAAsB,cAAc"}
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { FloatingCardContextValue } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react19 from "react";
|
|
15
15
|
|
|
16
16
|
//#region src/components/floating-card/context.d.ts
|
|
17
|
-
declare const FloatingCardContext:
|
|
17
|
+
declare const FloatingCardContext: react19.Context<FloatingCardContextValue | null>;
|
|
18
18
|
/**
|
|
19
19
|
* Hook to access floating card management functionality.
|
|
20
20
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { FloatingCardProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react20 from "react";
|
|
15
15
|
import { PropsWithChildren } from "react";
|
|
16
16
|
|
|
17
17
|
//#region src/components/floating-card/index.d.ts
|
|
@@ -64,7 +64,7 @@ declare function FloatingCard({
|
|
|
64
64
|
isOpen,
|
|
65
65
|
initialDimensions,
|
|
66
66
|
initialPosition
|
|
67
|
-
}: PropsWithChildren<FloatingCardProps>):
|
|
67
|
+
}: PropsWithChildren<FloatingCardProps>): react20.ReactPortal | null;
|
|
68
68
|
//#endregion
|
|
69
69
|
export { FloatingCard };
|
|
70
70
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { FloatingCardProviderProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime76 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/floating-card/provider.d.ts
|
|
17
17
|
|
|
@@ -56,7 +56,7 @@ declare function FloatingCardProvider({
|
|
|
56
56
|
headerActions,
|
|
57
57
|
initialPinned,
|
|
58
58
|
className
|
|
59
|
-
}: FloatingCardProviderProps):
|
|
59
|
+
}: FloatingCardProviderProps): react_jsx_runtime76.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { FloatingCardProvider };
|
|
62
62
|
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { GanttRowElementColorProp } from "../../types.js";
|
|
14
14
|
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime148 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/gantt/components/base-elements/point.d.ts
|
|
18
18
|
/** Props for point-based Gantt elements (markers, brackets). */
|
|
@@ -22,7 +22,7 @@ type PointProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
22
22
|
/** Visual color variant. @default 'accent' */
|
|
23
23
|
color?: GanttRowElementColorProp;
|
|
24
24
|
};
|
|
25
|
-
declare function Point(props: PropsWithChildren<PointProps>):
|
|
25
|
+
declare function Point(props: PropsWithChildren<PointProps>): react_jsx_runtime148.JSX.Element | null;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { Point, PointProps };
|
|
28
28
|
//# sourceMappingURL=point.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { GanttRowElementColorProp } from "../../types.js";
|
|
14
14
|
import { HTMLAttributes, PropsWithChildren } from "react";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime153 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/gantt/components/base-elements/range.d.ts
|
|
18
18
|
/** Props for range-based Gantt elements (blocks, spacers). */
|
|
@@ -24,7 +24,7 @@ type RangeProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
24
24
|
/** Visual color variant. @default 'accent' */
|
|
25
25
|
color?: GanttRowElementColorProp;
|
|
26
26
|
};
|
|
27
|
-
declare function Range(props: PropsWithChildren<RangeProps>):
|
|
27
|
+
declare function Range(props: PropsWithChildren<RangeProps>): react_jsx_runtime153.JSX.Element | null;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { Range, RangeProps };
|
|
30
30
|
//# sourceMappingURL=range.d.ts.map
|
package/dist/components/gantt/components/containers/external/gantt-content-container/index.d.ts
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { PropsWithChildren } from "react";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime222 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/gantt/components/containers/external/gantt-content-container/index.d.ts
|
|
17
17
|
/** Scrollable content area of the Gantt chart containing the timeline header and virtualized content rows. */
|
|
18
18
|
declare function GanttContentContainer({
|
|
19
19
|
children
|
|
20
|
-
}: PropsWithChildren):
|
|
20
|
+
}: PropsWithChildren): react_jsx_runtime222.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { GanttContentContainer };
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/components/gantt/components/containers/external/gantt-panel-container/index.d.ts
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { PropsWithChildren } from "react";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime221 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/gantt/components/containers/external/gantt-panel-container/index.d.ts
|
|
17
17
|
/** Fixed-width side panel of the Gantt chart for row labels, paired alongside `GanttContentContainer`. */
|
|
18
18
|
declare function GanttPanelContainer({
|
|
19
19
|
children
|
|
20
|
-
}: PropsWithChildren):
|
|
20
|
+
}: PropsWithChildren): react_jsx_runtime221.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { GanttPanelContainer };
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { PropsWithChildren } from "react";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime219 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/gantt/components/containers/internal/index.d.ts
|
|
17
17
|
declare function RootContainer({
|
|
18
18
|
children
|
|
19
|
-
}: PropsWithChildren):
|
|
19
|
+
}: PropsWithChildren): react_jsx_runtime219.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { RootContainer };
|
|
22
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { PropsWithChildren } from "react";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime223 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/gantt/components/containers/internal/layout-container/index.d.ts
|
|
17
17
|
declare function LayoutContainer({
|
|
18
18
|
children
|
|
19
|
-
}: PropsWithChildren):
|
|
19
|
+
}: PropsWithChildren): react_jsx_runtime223.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { LayoutContainer };
|
|
22
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { PropsWithChildren } from "react";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime88 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/gantt/components/containers/internal/virtualized-content-height-container/index.d.ts
|
|
17
17
|
declare function VirtualizedContentHeightContainer({
|
|
18
18
|
children
|
|
19
|
-
}: PropsWithChildren):
|
|
19
|
+
}: PropsWithChildren): react_jsx_runtime88.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { VirtualizedContentHeightContainer };
|
|
22
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { RangeProps } from "../base-elements/range.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime201 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/gantt/components/content-row/block.d.ts
|
|
17
17
|
/** Time-range element rendered as a filled bar on the timeline. Supports elapsed-percentage styling and child content. */
|
|
@@ -21,7 +21,7 @@ declare function GanttBlock({
|
|
|
21
21
|
endTimeMs,
|
|
22
22
|
className,
|
|
23
23
|
...rest
|
|
24
|
-
}: RangeProps):
|
|
24
|
+
}: RangeProps): react_jsx_runtime201.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { GanttBlock };
|
|
27
27
|
//# sourceMappingURL=block.d.ts.map
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { PointProps } from "../base-elements/point.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime202 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/gantt/components/content-row/bracket.d.ts
|
|
17
17
|
/** Opening bracket marker at a specific timestamp, indicating the start of a grouped range. */
|
|
18
|
-
declare function GanttBracketOpen(props: PointProps):
|
|
18
|
+
declare function GanttBracketOpen(props: PointProps): react_jsx_runtime202.JSX.Element;
|
|
19
19
|
/** Closing bracket marker at a specific timestamp, indicating the end of a grouped range. */
|
|
20
|
-
declare function GanttBracketClose(props: PointProps):
|
|
20
|
+
declare function GanttBracketClose(props: PointProps): react_jsx_runtime202.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { GanttBracketClose, GanttBracketOpen };
|
|
23
23
|
//# sourceMappingURL=bracket.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PointProps } from "../base-elements/point.js";
|
|
14
14
|
import { PropsWithChildren } from "react";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime205 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/gantt/components/content-row/icon-marker.d.ts
|
|
18
18
|
type GanttIconMarkerProps = PropsWithChildren<PointProps>;
|
|
@@ -21,7 +21,7 @@ declare function GanttIconMarker({
|
|
|
21
21
|
children,
|
|
22
22
|
color,
|
|
23
23
|
...rest
|
|
24
|
-
}: GanttIconMarkerProps):
|
|
24
|
+
}: GanttIconMarkerProps): react_jsx_runtime205.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { GanttIconMarker };
|
|
27
27
|
//# sourceMappingURL=icon-marker.d.ts.map
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { PropsWithChildren } from "react";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime206 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/gantt/components/content-row/index.d.ts
|
|
17
17
|
/** Row wrapper for content-side elements (blocks, markers, spacers, brackets). Paired 1:1 with `GanttPanelRow`. */
|
|
18
18
|
declare function GanttContentRow({
|
|
19
19
|
children,
|
|
20
20
|
...rest
|
|
21
|
-
}: PropsWithChildren):
|
|
21
|
+
}: PropsWithChildren): react_jsx_runtime206.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { GanttContentRow };
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { PointProps } from "../base-elements/point.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime220 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/gantt/components/content-row/marker.d.ts
|
|
17
17
|
/** Point marker rendered as a vertical line with a dot at a specific timestamp on the timeline. */
|
|
18
|
-
declare function GanttMarker(props: PointProps):
|
|
18
|
+
declare function GanttMarker(props: PointProps): react_jsx_runtime220.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { GanttMarker };
|
|
21
21
|
//# sourceMappingURL=marker.d.ts.map
|