@accelint/design-toolkit 9.1.0 → 9.2.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 +2 -2
- package/dist/components/accordion/group.d.ts +2 -2
- package/dist/components/accordion/header.d.ts +2 -2
- package/dist/components/accordion/header.js +2 -1
- package/dist/components/accordion/header.js.map +1 -1
- package/dist/components/accordion/index.d.ts +2 -2
- package/dist/components/accordion/panel.d.ts +2 -2
- package/dist/components/accordion/styles.module.css +6 -0
- package/dist/components/accordion/trigger.d.ts +2 -2
- package/dist/components/action-bar/index.d.ts +2 -2
- package/dist/components/avatar/context.d.ts +4 -4
- 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/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/coordinate-utils.js +32 -10
- package/dist/components/coordinate-field/coordinate-utils.js.map +1 -1
- 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/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/hero/context.d.ts +2 -2
- package/dist/components/hero/index.d.ts +2 -2
- package/dist/components/hero/subtitle.d.ts +2 -2
- 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/input/styles.module.css +8 -1
- 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 +23 -0
- package/dist/components/list/context.js +32 -0
- package/dist/components/list/context.js.map +1 -0
- package/dist/components/list/index.d.ts +44 -0
- package/dist/components/list/index.js +63 -0
- package/dist/components/list/index.js.map +1 -0
- package/dist/components/list/item-content.d.ts +36 -0
- package/dist/components/list/item-content.js +43 -0
- package/dist/components/list/item-content.js.map +1 -0
- package/dist/components/list/item-description.d.ts +34 -0
- package/dist/components/list/item-description.js +43 -0
- package/dist/components/list/item-description.js.map +1 -0
- package/dist/components/list/item-title.d.ts +34 -0
- package/dist/components/list/item-title.js +43 -0
- package/dist/components/list/item-title.js.map +1 -0
- package/dist/components/list/item.d.ts +44 -0
- package/dist/components/list/item.js +52 -0
- package/dist/components/list/item.js.map +1 -0
- package/dist/components/list/styles.module.css +95 -0
- package/dist/components/list/types.d.ts +33 -0
- package/dist/components/list/types.js +12 -0
- 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 +2 -2
- package/dist/components/notice/list.d.ts +2 -2
- package/dist/components/notice/notice-icon.d.ts +2 -2
- 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 +2 -2
- 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/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 +4 -4
- 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/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/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 +8 -1
- package/dist/index.js +7 -1
- package/dist/providers/portal.d.ts +2 -2
- package/dist/providers/theme-provider.d.ts +2 -2
- package/package.json +17 -9
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanComponentProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime75 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/kanban/card-header.d.ts
|
|
18
18
|
declare function KanbanCardHeader({
|
|
19
19
|
className,
|
|
20
20
|
children,
|
|
21
21
|
...rest
|
|
22
|
-
}: KanbanComponentProps):
|
|
22
|
+
}: KanbanComponentProps): react_jsx_runtime75.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { KanbanCardHeader };
|
|
25
25
|
//# sourceMappingURL=card-header.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanCardProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime76 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/kanban/card.d.ts
|
|
18
18
|
declare function KanbanCard({
|
|
@@ -21,7 +21,7 @@ declare function KanbanCard({
|
|
|
21
21
|
card,
|
|
22
22
|
isActive,
|
|
23
23
|
...rest
|
|
24
|
-
}: KanbanCardProps):
|
|
24
|
+
}: KanbanCardProps): react_jsx_runtime76.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { KanbanCard };
|
|
27
27
|
//# sourceMappingURL=card.d.ts.map
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanColContentActionProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime77 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/kanban/column-actions.d.ts
|
|
18
18
|
declare function KanbanColumnActions({
|
|
19
19
|
className,
|
|
20
20
|
onAddCard,
|
|
21
21
|
...rest
|
|
22
|
-
}: KanbanColContentActionProps):
|
|
22
|
+
}: KanbanColContentActionProps): react_jsx_runtime77.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { KanbanColumnActions };
|
|
25
25
|
//# sourceMappingURL=column-actions.d.ts.map
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanComponentProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime78 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/kanban/column-container.d.ts
|
|
18
18
|
declare function KanbanColumnContainer({
|
|
19
19
|
children,
|
|
20
20
|
className,
|
|
21
21
|
...rest
|
|
22
|
-
}: KanbanComponentProps):
|
|
22
|
+
}: KanbanComponentProps): react_jsx_runtime78.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { KanbanColumnContainer };
|
|
25
25
|
//# sourceMappingURL=column-container.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanColContentProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime79 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/kanban/column-content.d.ts
|
|
18
18
|
declare function KanbanColumnContent({
|
|
@@ -20,7 +20,7 @@ declare function KanbanColumnContent({
|
|
|
20
20
|
className,
|
|
21
21
|
column,
|
|
22
22
|
...rest
|
|
23
|
-
}: KanbanColContentProps):
|
|
23
|
+
}: KanbanColContentProps): react_jsx_runtime79.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { KanbanColumnContent };
|
|
26
26
|
//# sourceMappingURL=column-content.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanMenuProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime80 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/kanban/column-header-actions.d.ts
|
|
18
18
|
declare function KanbanColumnHeaderActions({
|
|
@@ -20,7 +20,7 @@ declare function KanbanColumnHeaderActions({
|
|
|
20
20
|
cardCount,
|
|
21
21
|
children,
|
|
22
22
|
...rest
|
|
23
|
-
}: KanbanMenuProps):
|
|
23
|
+
}: KanbanMenuProps): react_jsx_runtime80.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { KanbanColumnHeaderActions };
|
|
26
26
|
//# sourceMappingURL=column-header-actions.d.ts.map
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/kanban/column-header-drag-handle.d.ts
|
|
17
|
-
declare function KanbanColumnHeaderDragHandle():
|
|
17
|
+
declare function KanbanColumnHeaderDragHandle(): react_jsx_runtime81.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { KanbanColumnHeaderDragHandle };
|
|
20
20
|
//# sourceMappingURL=column-header-drag-handle.d.ts.map
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanComponentProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime82 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/kanban/column-header-title.d.ts
|
|
18
18
|
declare function KanbanColumnHeaderTitle({
|
|
19
19
|
children,
|
|
20
20
|
className,
|
|
21
21
|
...rest
|
|
22
|
-
}: KanbanComponentProps):
|
|
22
|
+
}: KanbanComponentProps): react_jsx_runtime82.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { KanbanColumnHeaderTitle };
|
|
25
25
|
//# sourceMappingURL=column-header-title.d.ts.map
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanComponentProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime87 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/kanban/column-header.d.ts
|
|
18
18
|
declare function KanbanColumnHeader({
|
|
19
19
|
children,
|
|
20
20
|
className,
|
|
21
21
|
...rest
|
|
22
|
-
}: KanbanComponentProps):
|
|
22
|
+
}: KanbanComponentProps): react_jsx_runtime87.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { KanbanColumnHeader };
|
|
25
25
|
//# sourceMappingURL=column-header.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanColProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime84 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/kanban/column.d.ts
|
|
18
18
|
declare function KanbanColumn({
|
|
@@ -20,7 +20,7 @@ declare function KanbanColumn({
|
|
|
20
20
|
className,
|
|
21
21
|
column,
|
|
22
22
|
...rest
|
|
23
|
-
}: KanbanColProps):
|
|
23
|
+
}: KanbanColProps): react_jsx_runtime84.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { KanbanColumn };
|
|
26
26
|
//# sourceMappingURL=column.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanCardData, KanbanColumnData } from "./types.js";
|
|
14
14
|
import { ReactNode } from "react";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime85 from "react/jsx-runtime";
|
|
16
16
|
import { DragEndEvent } from "@dnd-kit/core";
|
|
17
17
|
|
|
18
18
|
//#region src/components/kanban/context.d.ts
|
|
@@ -113,7 +113,7 @@ declare const KanbanProvider: ({
|
|
|
113
113
|
children,
|
|
114
114
|
columns,
|
|
115
115
|
updateColumnState
|
|
116
|
-
}: KanbanProviderProps) =>
|
|
116
|
+
}: KanbanProviderProps) => react_jsx_runtime85.JSX.Element;
|
|
117
117
|
declare const useKanban: () => KanbanContextData;
|
|
118
118
|
//#endregion
|
|
119
119
|
export { DropTargetInfo, KanbanContextData, KanbanProvider, KanbanProviderProps, MoveCard, MoveCardValidationParams, MoveCardValidationResult, calculateClosestEdge, getInsertIndex, parseDropTarget, useKanban, validateMoveCard };
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanComponentProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime88 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/kanban/header-actions.d.ts
|
|
18
18
|
declare function KanbanHeaderActions({
|
|
19
19
|
children,
|
|
20
20
|
className,
|
|
21
21
|
...rest
|
|
22
|
-
}: KanbanComponentProps):
|
|
22
|
+
}: KanbanComponentProps): react_jsx_runtime88.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { KanbanHeaderActions };
|
|
25
25
|
//# sourceMappingURL=header-actions.d.ts.map
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanSearchProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime89 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/kanban/header-search.d.ts
|
|
18
18
|
declare function KanbanHeaderSearch({
|
|
19
19
|
classNames,
|
|
20
20
|
...rest
|
|
21
|
-
}: KanbanSearchProps):
|
|
21
|
+
}: KanbanSearchProps): react_jsx_runtime89.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { KanbanHeaderSearch };
|
|
24
24
|
//# sourceMappingURL=header-search.d.ts.map
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanComponentProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime90 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/kanban/header-title.d.ts
|
|
18
18
|
declare function KanbanHeaderTitle({
|
|
19
19
|
children,
|
|
20
20
|
className,
|
|
21
21
|
...rest
|
|
22
|
-
}: KanbanComponentProps):
|
|
22
|
+
}: KanbanComponentProps): react_jsx_runtime90.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { KanbanHeaderTitle };
|
|
25
25
|
//# sourceMappingURL=header-title.d.ts.map
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanComponentProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime92 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/kanban/header.d.ts
|
|
18
18
|
declare function KanbanHeader({
|
|
19
19
|
children,
|
|
20
20
|
className,
|
|
21
21
|
...rest
|
|
22
|
-
}: KanbanComponentProps):
|
|
22
|
+
}: KanbanComponentProps): react_jsx_runtime92.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { KanbanHeader };
|
|
25
25
|
//# sourceMappingURL=header.d.ts.map
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
import { KanbanProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
15
|
+
import * as react23 from "react";
|
|
16
|
+
import * as react_jsx_runtime93 from "react/jsx-runtime";
|
|
17
17
|
|
|
18
18
|
//#region src/components/kanban/kanban.d.ts
|
|
19
|
-
declare const DragContext:
|
|
19
|
+
declare const DragContext: react23.Context<{
|
|
20
20
|
activeId: string | null;
|
|
21
21
|
} | null>;
|
|
22
22
|
declare const useDragContext: () => {
|
|
@@ -26,7 +26,7 @@ declare function Kanban({
|
|
|
26
26
|
children,
|
|
27
27
|
className,
|
|
28
28
|
...rest
|
|
29
|
-
}: KanbanProps):
|
|
29
|
+
}: KanbanProps): react_jsx_runtime93.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { DragContext, Kanban, useDragContext };
|
|
32
32
|
//# sourceMappingURL=kanban.d.ts.map
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { LabelProps as LabelProps$1 } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react25 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime106 from "react/jsx-runtime";
|
|
19
19
|
|
|
20
20
|
//#region src/components/label/context.d.ts
|
|
21
|
-
declare const LabelContext:
|
|
21
|
+
declare const LabelContext: react25.Context<ContextValue<LabelProps$1, HTMLLabelElement>>;
|
|
22
22
|
declare function LabelProvider({
|
|
23
23
|
children,
|
|
24
24
|
...props
|
|
25
|
-
}: ProviderProps<LabelProps$1>):
|
|
25
|
+
}: ProviderProps<LabelProps$1>): react_jsx_runtime106.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { LabelContext, LabelProvider };
|
|
28
28
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { LabelProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime107 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/label/index.d.ts
|
|
18
18
|
|
|
@@ -38,7 +38,7 @@ import * as react_jsx_runtime52 from "react/jsx-runtime";
|
|
|
38
38
|
declare function Label({
|
|
39
39
|
ref,
|
|
40
40
|
...props
|
|
41
|
-
}: LabelProps):
|
|
41
|
+
}: LabelProps): react_jsx_runtime107.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { Label };
|
|
44
44
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { LinesProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime109 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/lines/index.d.ts
|
|
17
17
|
/**
|
|
@@ -28,7 +28,7 @@ declare function Lines({
|
|
|
28
28
|
size,
|
|
29
29
|
variant,
|
|
30
30
|
isVisible
|
|
31
|
-
}: LinesProps):
|
|
31
|
+
}: LinesProps): react_jsx_runtime109.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { Lines };
|
|
34
34
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { LinkProps } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react_jsx_runtime111 from "react/jsx-runtime";
|
|
17
17
|
|
|
18
18
|
//#region src/components/link/context.d.ts
|
|
19
19
|
declare function LinkProvider({
|
|
20
20
|
children,
|
|
21
21
|
...props
|
|
22
|
-
}: ProviderProps<LinkProps>):
|
|
22
|
+
}: ProviderProps<LinkProps>): react_jsx_runtime111.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { LinkProvider };
|
|
25
25
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { LinkProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime113 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/link/index.d.ts
|
|
18
18
|
/**
|
|
@@ -27,7 +27,7 @@ import * as react_jsx_runtime123 from "react/jsx-runtime";
|
|
|
27
27
|
declare function Link({
|
|
28
28
|
ref,
|
|
29
29
|
...props
|
|
30
|
-
}: LinkProps):
|
|
30
|
+
}: LinkProps): react_jsx_runtime113.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { Link };
|
|
33
33
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { ListItemVariant, ListProps } from "./types.js";
|
|
14
|
+
import "client-only";
|
|
15
|
+
import * as react27 from "react";
|
|
16
|
+
import { ContextValue } from "react-aria-components";
|
|
17
|
+
|
|
18
|
+
//#region src/components/list/context.d.ts
|
|
19
|
+
declare const ListContext: react27.Context<ContextValue<ListProps<object>, HTMLDivElement>>;
|
|
20
|
+
declare const useListItemVariant: () => ListItemVariant;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { ListContext, useListItemVariant };
|
|
23
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
'use client';
|
|
15
|
+
|
|
16
|
+
import "client-only";
|
|
17
|
+
import { createContext, useContext } from "react";
|
|
18
|
+
|
|
19
|
+
//#region src/components/list/context.tsx
|
|
20
|
+
const ListStylesDefaults = { variant: "cozy" };
|
|
21
|
+
const ListContext = createContext({ variant: ListStylesDefaults.variant });
|
|
22
|
+
const useListItemVariant = () => {
|
|
23
|
+
const context = useContext(ListContext);
|
|
24
|
+
if (typeof context === "object" && context !== null) {
|
|
25
|
+
if ("variant" in context && context.variant) return context.variant;
|
|
26
|
+
}
|
|
27
|
+
return ListStylesDefaults.variant;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export { ListContext, useListItemVariant };
|
|
32
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","names":[],"sources":["../../../src/components/list/context.tsx"],"sourcesContent":["/*\n * Copyright 2025 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'use client';\n\nimport 'client-only';\nimport { createContext, useContext } from 'react';\nimport type { ContextValue } from 'react-aria-components';\nimport type { ListProps } from './types';\n\nconst ListStylesDefaults = {\n variant: 'cozy',\n} as const;\n\nexport const ListContext = createContext<\n ContextValue<ListProps<object>, HTMLDivElement>\n>({ variant: ListStylesDefaults.variant });\n\nexport const useListItemVariant = () => {\n const context = useContext(ListContext);\n\n if (typeof context === 'object' && context !== null) {\n if ('variant' in context && context.variant) {\n return context.variant;\n }\n }\n\n return ListStylesDefaults.variant;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAkBA,MAAM,qBAAqB,EACzB,SAAS,QACV;AAED,MAAa,cAAc,cAEzB,EAAE,SAAS,mBAAmB,SAAS,CAAC;AAE1C,MAAa,2BAA2B;CACtC,MAAM,UAAU,WAAW,YAAY;AAEvC,KAAI,OAAO,YAAY,YAAY,YAAY,MAC7C;MAAI,aAAa,WAAW,QAAQ,QAClC,QAAO,QAAQ;;AAInB,QAAO,mBAAmB"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { ListProps } from "./types.js";
|
|
14
|
+
import "client-only";
|
|
15
|
+
import * as react_jsx_runtime115 from "react/jsx-runtime";
|
|
16
|
+
|
|
17
|
+
//#region src/components/list/index.d.ts
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* List - A flexible grid list component for selectable items with rich content
|
|
21
|
+
*
|
|
22
|
+
* Provides accessible grid list functionality with support for selection,
|
|
23
|
+
* and rich item content including labels, descriptions, icons, and actions. Perfect for
|
|
24
|
+
* data tables, file lists, or any selectable grid interface.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* // Basic list view with sizing
|
|
28
|
+
* <div className='h-[400px] w-[300px]'>
|
|
29
|
+
* <List className='h-full' aria-label='Items'>
|
|
30
|
+
* <ListItem>
|
|
31
|
+
* <ListItemContent>
|
|
32
|
+
* <ListItemTitle>Item 1</ListItemTitle>
|
|
33
|
+
* </ListItemContent>
|
|
34
|
+
* </ListItem>
|
|
35
|
+
* </List>
|
|
36
|
+
* </div>
|
|
37
|
+
*/
|
|
38
|
+
declare function List<T extends object>({
|
|
39
|
+
ref,
|
|
40
|
+
...props
|
|
41
|
+
}: ListProps<T>): react_jsx_runtime115.JSX.Element;
|
|
42
|
+
//#endregion
|
|
43
|
+
export { List };
|
|
44
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
'use client';
|
|
15
|
+
|
|
16
|
+
import { IconProvider } from "../icon/context.js";
|
|
17
|
+
import { ListContext } from "./context.js";
|
|
18
|
+
import "client-only";
|
|
19
|
+
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
20
|
+
import { GridList, composeRenderProps, useContextProps } from "react-aria-components";
|
|
21
|
+
import { jsx } from "react/jsx-runtime";
|
|
22
|
+
import styles from "./styles.module.css";
|
|
23
|
+
|
|
24
|
+
//#region src/components/list/index.tsx
|
|
25
|
+
/**
|
|
26
|
+
* List - A flexible grid list component for selectable items with rich content
|
|
27
|
+
*
|
|
28
|
+
* Provides accessible grid list functionality with support for selection,
|
|
29
|
+
* and rich item content including labels, descriptions, icons, and actions. Perfect for
|
|
30
|
+
* data tables, file lists, or any selectable grid interface.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* // Basic list view with sizing
|
|
34
|
+
* <div className='h-[400px] w-[300px]'>
|
|
35
|
+
* <List className='h-full' aria-label='Items'>
|
|
36
|
+
* <ListItem>
|
|
37
|
+
* <ListItemContent>
|
|
38
|
+
* <ListItemTitle>Item 1</ListItemTitle>
|
|
39
|
+
* </ListItemContent>
|
|
40
|
+
* </ListItem>
|
|
41
|
+
* </List>
|
|
42
|
+
* </div>
|
|
43
|
+
*/
|
|
44
|
+
function List({ ref, ...props }) {
|
|
45
|
+
[props, ref] = useContextProps(props, ref ?? null, ListContext);
|
|
46
|
+
const { children, className, variant, ...rest } = props;
|
|
47
|
+
return /* @__PURE__ */ jsx(ListContext.Provider, {
|
|
48
|
+
value: { variant },
|
|
49
|
+
children: /* @__PURE__ */ jsx(IconProvider, {
|
|
50
|
+
size: variant === "cozy" ? "large" : "small",
|
|
51
|
+
children: /* @__PURE__ */ jsx(GridList, {
|
|
52
|
+
...rest,
|
|
53
|
+
ref,
|
|
54
|
+
className: composeRenderProps(className, (className$1) => clsx("group/list", styles.list, className$1)),
|
|
55
|
+
children
|
|
56
|
+
})
|
|
57
|
+
})
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
//#endregion
|
|
62
|
+
export { List };
|
|
63
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["className"],"sources":["../../../src/components/list/index.tsx"],"sourcesContent":["/*\n * Copyright 2025 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'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {\n composeRenderProps,\n GridList,\n useContextProps,\n} from 'react-aria-components';\nimport { IconProvider } from '../icon/context';\nimport { ListContext } from './context';\nimport styles from './styles.module.css';\nimport type { ListProps } from './types';\n\n/**\n * List - A flexible grid list component for selectable items with rich content\n *\n * Provides accessible grid list functionality with support for selection,\n * and rich item content including labels, descriptions, icons, and actions. Perfect for\n * data tables, file lists, or any selectable grid interface.\n *\n * @example\n * // Basic list view with sizing\n * <div className='h-[400px] w-[300px]'>\n * <List className='h-full' aria-label='Items'>\n * <ListItem>\n * <ListItemContent>\n * <ListItemTitle>Item 1</ListItemTitle>\n * </ListItemContent>\n * </ListItem>\n * </List>\n * </div>\n */\nexport function List<T extends object>({ ref, ...props }: ListProps<T>) {\n [props, ref] = useContextProps(props, ref ?? null, ListContext);\n\n const { children, className, variant, ...rest } = props;\n\n return (\n <ListContext.Provider value={{ variant }}>\n <IconProvider size={variant === 'cozy' ? 'large' : 'small'}>\n <GridList<T>\n {...rest}\n ref={ref}\n className={composeRenderProps(className, (className) =>\n clsx('group/list', styles.list, className),\n )}\n >\n {children}\n </GridList>\n </IconProvider>\n </ListContext.Provider>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,SAAgB,KAAuB,EAAE,KAAK,GAAG,SAAuB;AACtE,EAAC,OAAO,OAAO,gBAAgB,OAAO,OAAO,MAAM,YAAY;CAE/D,MAAM,EAAE,UAAU,WAAW,SAAS,GAAG,SAAS;AAElD,QACE,oBAAC,YAAY;EAAS,OAAO,EAAE,SAAS;YACtC,oBAAC;GAAa,MAAM,YAAY,SAAS,UAAU;aACjD,oBAAC;IACC,GAAI;IACC;IACL,WAAW,mBAAmB,YAAY,gBACxC,KAAK,cAAc,OAAO,MAAMA,YAAU,CAC3C;IAEA;KACQ;IACE;GACM"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { ListItemContentProps } from "./types.js";
|
|
14
|
+
import "client-only";
|
|
15
|
+
import * as react_jsx_runtime120 from "react/jsx-runtime";
|
|
16
|
+
|
|
17
|
+
//#region src/components/list/item-content.d.ts
|
|
18
|
+
/**
|
|
19
|
+
* ListItemContent - Container for list item title and description
|
|
20
|
+
*
|
|
21
|
+
* Provides consistent spacing and layout for text content within list items.
|
|
22
|
+
* Should contain ListItemTitle and optionally ListItemDescription components.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* <ListItemContent>
|
|
26
|
+
* <ListItemTitle>Item Title</ListItemTitle>
|
|
27
|
+
* <ListItemDescription>Optional description text</ListItemDescription>
|
|
28
|
+
* </ListItemContent>
|
|
29
|
+
*/
|
|
30
|
+
declare function ListItemContent({
|
|
31
|
+
className,
|
|
32
|
+
...rest
|
|
33
|
+
}: ListItemContentProps): react_jsx_runtime120.JSX.Element;
|
|
34
|
+
//#endregion
|
|
35
|
+
export { ListItemContent };
|
|
36
|
+
//# sourceMappingURL=item-content.d.ts.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
'use client';
|
|
15
|
+
|
|
16
|
+
import "client-only";
|
|
17
|
+
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
18
|
+
import { jsx } from "react/jsx-runtime";
|
|
19
|
+
import styles from "./styles.module.css";
|
|
20
|
+
|
|
21
|
+
//#region src/components/list/item-content.tsx
|
|
22
|
+
/**
|
|
23
|
+
* ListItemContent - Container for list item title and description
|
|
24
|
+
*
|
|
25
|
+
* Provides consistent spacing and layout for text content within list items.
|
|
26
|
+
* Should contain ListItemTitle and optionally ListItemDescription components.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* <ListItemContent>
|
|
30
|
+
* <ListItemTitle>Item Title</ListItemTitle>
|
|
31
|
+
* <ListItemDescription>Optional description text</ListItemDescription>
|
|
32
|
+
* </ListItemContent>
|
|
33
|
+
*/
|
|
34
|
+
function ListItemContent({ className, ...rest }) {
|
|
35
|
+
return /* @__PURE__ */ jsx("div", {
|
|
36
|
+
...rest,
|
|
37
|
+
className: clsx(styles.content, className)
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
//#endregion
|
|
42
|
+
export { ListItemContent };
|
|
43
|
+
//# sourceMappingURL=item-content.js.map
|