@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-content.js","names":[],"sources":["../../../src/components/list/item-content.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 styles from './styles.module.css';\nimport type { ListItemContentProps } from './types';\n\n/**\n * ListItemContent - Container for list item title and description\n *\n * Provides consistent spacing and layout for text content within list items.\n * Should contain ListItemTitle and optionally ListItemDescription components.\n *\n * @example\n * <ListItemContent>\n * <ListItemTitle>Item Title</ListItemTitle>\n * <ListItemDescription>Optional description text</ListItemDescription>\n * </ListItemContent>\n */\nexport function ListItemContent({ className, ...rest }: ListItemContentProps) {\n return <div {...rest} className={clsx(styles.content, className)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BA,SAAgB,gBAAgB,EAAE,WAAW,GAAG,QAA8B;AAC5E,QAAO,oBAAC;EAAI,GAAI;EAAM,WAAW,KAAK,OAAO,SAAS,UAAU;GAAI"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { ListItemDescriptionProps } from "./types.js";
|
|
14
|
+
import "client-only";
|
|
15
|
+
import * as react_jsx_runtime121 from "react/jsx-runtime";
|
|
16
|
+
|
|
17
|
+
//#region src/components/list/item-description.d.ts
|
|
18
|
+
/**
|
|
19
|
+
* ListItemDescription - Secondary descriptive text for list items
|
|
20
|
+
*
|
|
21
|
+
* Renders supplementary information below the title with muted styling.
|
|
22
|
+
* Automatically adjusts font size for cozy (body-s) and compact (body-xs) variants.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* <ListItemDescription>Software Engineer</ListItemDescription>
|
|
26
|
+
*/
|
|
27
|
+
declare function ListItemDescription({
|
|
28
|
+
children,
|
|
29
|
+
className,
|
|
30
|
+
...rest
|
|
31
|
+
}: ListItemDescriptionProps): react_jsx_runtime121.JSX.Element;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { ListItemDescription };
|
|
34
|
+
//# sourceMappingURL=item-description.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 { useListItemVariant } from "./context.js";
|
|
17
|
+
import "client-only";
|
|
18
|
+
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
19
|
+
import { jsx } from "react/jsx-runtime";
|
|
20
|
+
import styles from "./styles.module.css";
|
|
21
|
+
|
|
22
|
+
//#region src/components/list/item-description.tsx
|
|
23
|
+
/**
|
|
24
|
+
* ListItemDescription - Secondary descriptive text for list items
|
|
25
|
+
*
|
|
26
|
+
* Renders supplementary information below the title with muted styling.
|
|
27
|
+
* Automatically adjusts font size for cozy (body-s) and compact (body-xs) variants.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* <ListItemDescription>Software Engineer</ListItemDescription>
|
|
31
|
+
*/
|
|
32
|
+
function ListItemDescription({ children, className, ...rest }) {
|
|
33
|
+
const variant = useListItemVariant();
|
|
34
|
+
return /* @__PURE__ */ jsx("div", {
|
|
35
|
+
...rest,
|
|
36
|
+
className: clsx(styles.description, styles[variant], className),
|
|
37
|
+
children
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
//#endregion
|
|
42
|
+
export { ListItemDescription };
|
|
43
|
+
//# sourceMappingURL=item-description.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-description.js","names":[],"sources":["../../../src/components/list/item-description.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 { useListItemVariant } from './context';\nimport styles from './styles.module.css';\nimport type { ListItemDescriptionProps } from './types';\n\n/**\n * ListItemDescription - Secondary descriptive text for list items\n *\n * Renders supplementary information below the title with muted styling.\n * Automatically adjusts font size for cozy (body-s) and compact (body-xs) variants.\n *\n * @example\n * <ListItemDescription>Software Engineer</ListItemDescription>\n */\nexport function ListItemDescription({\n children,\n className,\n ...rest\n}: ListItemDescriptionProps) {\n const variant = useListItemVariant();\n\n return (\n <div\n {...rest}\n className={clsx(styles.description, styles[variant], className)}\n >\n {children}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,SAAgB,oBAAoB,EAClC,UACA,WACA,GAAG,QACwB;CAC3B,MAAM,UAAU,oBAAoB;AAEpC,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,KAAK,OAAO,aAAa,OAAO,UAAU,UAAU;EAE9D;GACG"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { ListItemTitleProps } from "./types.js";
|
|
14
|
+
import "client-only";
|
|
15
|
+
import * as react_jsx_runtime122 from "react/jsx-runtime";
|
|
16
|
+
|
|
17
|
+
//#region src/components/list/item-title.d.ts
|
|
18
|
+
/**
|
|
19
|
+
* ListItemTitle - Primary text label for list items
|
|
20
|
+
*
|
|
21
|
+
* Renders the main title text with appropriate typography based on the list variant.
|
|
22
|
+
* Automatically adjusts font size for cozy (header-m) and compact (header-s) variants.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* <ListItemTitle>John Doe</ListItemTitle>
|
|
26
|
+
*/
|
|
27
|
+
declare function ListItemTitle({
|
|
28
|
+
children,
|
|
29
|
+
className,
|
|
30
|
+
...rest
|
|
31
|
+
}: ListItemTitleProps): react_jsx_runtime122.JSX.Element;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { ListItemTitle };
|
|
34
|
+
//# sourceMappingURL=item-title.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 { useListItemVariant } from "./context.js";
|
|
17
|
+
import "client-only";
|
|
18
|
+
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
19
|
+
import { jsx } from "react/jsx-runtime";
|
|
20
|
+
import styles from "./styles.module.css";
|
|
21
|
+
|
|
22
|
+
//#region src/components/list/item-title.tsx
|
|
23
|
+
/**
|
|
24
|
+
* ListItemTitle - Primary text label for list items
|
|
25
|
+
*
|
|
26
|
+
* Renders the main title text with appropriate typography based on the list variant.
|
|
27
|
+
* Automatically adjusts font size for cozy (header-m) and compact (header-s) variants.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* <ListItemTitle>John Doe</ListItemTitle>
|
|
31
|
+
*/
|
|
32
|
+
function ListItemTitle({ children, className, ...rest }) {
|
|
33
|
+
const variant = useListItemVariant();
|
|
34
|
+
return /* @__PURE__ */ jsx("div", {
|
|
35
|
+
...rest,
|
|
36
|
+
className: clsx(styles.title, styles[variant], className),
|
|
37
|
+
children
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
//#endregion
|
|
42
|
+
export { ListItemTitle };
|
|
43
|
+
//# sourceMappingURL=item-title.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-title.js","names":[],"sources":["../../../src/components/list/item-title.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 { useListItemVariant } from './context';\nimport styles from './styles.module.css';\nimport type { ListItemTitleProps } from './types';\n\n/**\n * ListItemTitle - Primary text label for list items\n *\n * Renders the main title text with appropriate typography based on the list variant.\n * Automatically adjusts font size for cozy (header-m) and compact (header-s) variants.\n *\n * @example\n * <ListItemTitle>John Doe</ListItemTitle>\n */\nexport function ListItemTitle({\n children,\n className,\n ...rest\n}: ListItemTitleProps) {\n const variant = useListItemVariant();\n\n return (\n <div {...rest} className={clsx(styles.title, styles[variant], className)}>\n {children}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,SAAgB,cAAc,EAC5B,UACA,WACA,GAAG,QACkB;CACrB,MAAM,UAAU,oBAAoB;AAEpC,QACE,oBAAC;EAAI,GAAI;EAAM,WAAW,KAAK,OAAO,OAAO,OAAO,UAAU,UAAU;EACrE;GACG"}
|
|
@@ -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 { ListItemProps } from "./types.js";
|
|
14
|
+
import "client-only";
|
|
15
|
+
import * as react_jsx_runtime125 from "react/jsx-runtime";
|
|
16
|
+
|
|
17
|
+
//#region src/components/list/item.d.ts
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* ListItem - Individual selectable item within a List
|
|
21
|
+
*
|
|
22
|
+
* Represents a single row in the grid list with full interaction support including
|
|
23
|
+
* selection, hover states, and keyboard navigation. Can contain icons, content,
|
|
24
|
+
* indicators, and action elements. If children is a string, it will be automatically
|
|
25
|
+
* wrapped in a ListItemTitle.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* <ListItem textValue="User item">
|
|
29
|
+
* <Icon><Avatar /></Icon>
|
|
30
|
+
* <ListItemContent>
|
|
31
|
+
* <ListItemTitle>John Doe</ListItemTitle>
|
|
32
|
+
* <ListItemDescription>Software Engineer</ListItemDescription>
|
|
33
|
+
* </ListItemContent>
|
|
34
|
+
* </ListItem>
|
|
35
|
+
*/
|
|
36
|
+
declare function ListItem<T extends object>({
|
|
37
|
+
children,
|
|
38
|
+
classNames,
|
|
39
|
+
textValue,
|
|
40
|
+
...rest
|
|
41
|
+
}: ListItemProps<T>): react_jsx_runtime125.JSX.Element;
|
|
42
|
+
//#endregion
|
|
43
|
+
export { ListItem };
|
|
44
|
+
//# sourceMappingURL=item.d.ts.map
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { ListItemTitle } from "./item-title.js";
|
|
17
|
+
import "client-only";
|
|
18
|
+
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
19
|
+
import { GridListItem, composeRenderProps } from "react-aria-components";
|
|
20
|
+
import { jsx } from "react/jsx-runtime";
|
|
21
|
+
import styles from "./styles.module.css";
|
|
22
|
+
|
|
23
|
+
//#region src/components/list/item.tsx
|
|
24
|
+
/**
|
|
25
|
+
* ListItem - Individual selectable item within a List
|
|
26
|
+
*
|
|
27
|
+
* Represents a single row in the grid list with full interaction support including
|
|
28
|
+
* selection, hover states, and keyboard navigation. Can contain icons, content,
|
|
29
|
+
* indicators, and action elements. If children is a string, it will be automatically
|
|
30
|
+
* wrapped in a ListItemTitle.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* <ListItem textValue="User item">
|
|
34
|
+
* <Icon><Avatar /></Icon>
|
|
35
|
+
* <ListItemContent>
|
|
36
|
+
* <ListItemTitle>John Doe</ListItemTitle>
|
|
37
|
+
* <ListItemDescription>Software Engineer</ListItemDescription>
|
|
38
|
+
* </ListItemContent>
|
|
39
|
+
* </ListItem>
|
|
40
|
+
*/
|
|
41
|
+
function ListItem({ children, classNames, textValue = typeof children === "string" ? children : "", ...rest }) {
|
|
42
|
+
return /* @__PURE__ */ jsx(GridListItem, {
|
|
43
|
+
className: composeRenderProps(classNames?.item, (className) => clsx("group/list-item", styles.item, className)),
|
|
44
|
+
textValue,
|
|
45
|
+
...rest,
|
|
46
|
+
children: composeRenderProps(children, (children$1) => typeof children$1 === "string" ? /* @__PURE__ */ jsx(ListItemTitle, { children: children$1 }) : children$1)
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
//#endregion
|
|
51
|
+
export { ListItem };
|
|
52
|
+
//# sourceMappingURL=item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.js","names":["children"],"sources":["../../../src/components/list/item.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 { composeRenderProps, GridListItem } from 'react-aria-components';\nimport { ListItemTitle } from './item-title';\nimport styles from './styles.module.css';\nimport type { ListItemProps } from './types';\n\n/**\n * ListItem - Individual selectable item within a List\n *\n * Represents a single row in the grid list with full interaction support including\n * selection, hover states, and keyboard navigation. Can contain icons, content,\n * indicators, and action elements. If children is a string, it will be automatically\n * wrapped in a ListItemTitle.\n *\n * @example\n * <ListItem textValue=\"User item\">\n * <Icon><Avatar /></Icon>\n * <ListItemContent>\n * <ListItemTitle>John Doe</ListItemTitle>\n * <ListItemDescription>Software Engineer</ListItemDescription>\n * </ListItemContent>\n * </ListItem>\n */\nexport function ListItem<T extends object>({\n children,\n classNames,\n textValue = typeof children === 'string' ? children : '',\n ...rest\n}: ListItemProps<T>) {\n return (\n <GridListItem\n className={composeRenderProps(classNames?.item, (className) =>\n clsx('group/list-item', styles.item, className),\n )}\n textValue={textValue}\n {...rest}\n >\n {composeRenderProps(children, (children) =>\n typeof children === 'string' ? (\n <ListItemTitle>{children}</ListItemTitle>\n ) : (\n children\n ),\n )}\n </GridListItem>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCA,SAAgB,SAA2B,EACzC,UACA,YACA,YAAY,OAAO,aAAa,WAAW,WAAW,IACtD,GAAG,QACgB;AACnB,QACE,oBAAC;EACC,WAAW,mBAAmB,YAAY,OAAO,cAC/C,KAAK,mBAAmB,OAAO,MAAM,UAAU,CAChD;EACU;EACX,GAAI;YAEH,mBAAmB,WAAW,eAC7B,OAAOA,eAAa,WAClB,oBAAC,2BAAeA,aAAyB,GAEzCA,WAEH;GACY"}
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
@reference '@accelint/design-foundation/styles';
|
|
14
|
+
|
|
15
|
+
@layer components.l1 {
|
|
16
|
+
.list {
|
|
17
|
+
@apply gap-xxs flex h-full w-full flex-col overflow-y-auto;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.item {
|
|
21
|
+
@apply fg-primary-bold pt-xs pb-xs pr-s pl-s text-body-s bg-surface-default rounded-medium gap-s relative flex cursor-pointer items-center outline outline-transparent;
|
|
22
|
+
|
|
23
|
+
@variant hover {
|
|
24
|
+
@apply fg-a11y-on-accent bg-interactive-muted-hover;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@variant focus-visible {
|
|
28
|
+
@apply fg-a11y-on-accent bg-interactive-muted-hover;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@variant pressed {
|
|
32
|
+
@apply bg-interactive-muted-pressed;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@variant selected {
|
|
36
|
+
@apply bg-accent-primary-muted outline-accent-primary-bold;
|
|
37
|
+
|
|
38
|
+
@variant hover {
|
|
39
|
+
@apply outline-2 -outline-offset-2;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@variant focus-visible {
|
|
43
|
+
@apply outline-2 -outline-offset-2;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@variant pressed {
|
|
47
|
+
@apply outline-accent-primary-pressed;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@variant disabled {
|
|
52
|
+
@apply cursor-not-allowed bg-transparent;
|
|
53
|
+
|
|
54
|
+
@variant selected {
|
|
55
|
+
@apply bg-interactive-disabled outline-none;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.content {
|
|
61
|
+
@apply gap-xxs flex min-w-0 flex-auto flex-col;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.title {
|
|
65
|
+
@apply fg-primary-bold truncate;
|
|
66
|
+
|
|
67
|
+
&.compact {
|
|
68
|
+
@apply text-header-s;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.cozy {
|
|
72
|
+
@apply text-header-m;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@variant group-disabled/list-item {
|
|
76
|
+
@apply fg-disabled;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.description {
|
|
81
|
+
@apply fg-primary-muted truncate;
|
|
82
|
+
|
|
83
|
+
&.compact {
|
|
84
|
+
@apply text-body-xs;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.cozy {
|
|
88
|
+
@apply text-body-s;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@variant group-disabled/list-item {
|
|
92
|
+
@apply fg-disabled;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { IconProps } from "../icon/types.js";
|
|
14
|
+
import { ComponentPropsWithRef, RefAttributes } from "react";
|
|
15
|
+
import { GridListItemProps, GridListProps } from "react-aria-components";
|
|
16
|
+
|
|
17
|
+
//#region src/components/list/types.d.ts
|
|
18
|
+
type ListItemVariant = 'cozy' | 'compact';
|
|
19
|
+
type ListItemProps<T extends object> = Omit<GridListItemProps<T>, 'className'> & {
|
|
20
|
+
classNames?: {
|
|
21
|
+
item?: GridListItemProps['className'];
|
|
22
|
+
icon?: IconProps['className'];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type ListItemTitleProps = ComponentPropsWithRef<'div'>;
|
|
26
|
+
type ListItemDescriptionProps = ComponentPropsWithRef<'div'>;
|
|
27
|
+
type ListItemContentProps = ComponentPropsWithRef<'div'>;
|
|
28
|
+
type ListProps<T> = Omit<GridListProps<T>, 'orientation' | 'layout' | 'dragAndDropHooks'> & RefAttributes<HTMLDivElement> & {
|
|
29
|
+
variant?: ListItemVariant;
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
export { ListItemContentProps, ListItemDescriptionProps, ListItemProps, ListItemTitleProps, ListItemVariant, ListProps };
|
|
33
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
import { MenuProps as MenuProps$1 } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react31 from "react";
|
|
16
16
|
import { ContextValue } from "react-aria-components";
|
|
17
17
|
|
|
18
18
|
//#region src/components/menu/context.d.ts
|
|
19
|
-
declare const MenuContext:
|
|
19
|
+
declare const MenuContext: react31.Context<ContextValue<MenuProps$1<unknown>, HTMLDivElement>>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { MenuContext };
|
|
22
22
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { MenuProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime129 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/index.d.ts
|
|
18
18
|
|
|
@@ -105,7 +105,7 @@ import * as react_jsx_runtime154 from "react/jsx-runtime";
|
|
|
105
105
|
declare function Menu<T extends object>({
|
|
106
106
|
ref,
|
|
107
107
|
...props
|
|
108
|
-
}: MenuProps<T>):
|
|
108
|
+
}: MenuProps<T>): react_jsx_runtime129.JSX.Element;
|
|
109
109
|
//#endregion
|
|
110
110
|
export { Menu };
|
|
111
111
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
14
|
import { TextProps } from "react-aria-components";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime94 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/item-description.d.ts
|
|
18
18
|
declare function MenuItemDescription({
|
|
19
19
|
children,
|
|
20
20
|
className,
|
|
21
21
|
...rest
|
|
22
|
-
}: TextProps):
|
|
22
|
+
}: TextProps): react_jsx_runtime94.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { MenuItemDescription };
|
|
25
25
|
//# sourceMappingURL=item-description.d.ts.map
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
14
|
import { TextProps } from "react-aria-components";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime95 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/item-label.d.ts
|
|
18
18
|
declare function MenuItemLabel({
|
|
19
19
|
children,
|
|
20
20
|
className,
|
|
21
21
|
...rest
|
|
22
|
-
}: TextProps):
|
|
22
|
+
}: TextProps): react_jsx_runtime95.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { MenuItemLabel };
|
|
25
25
|
//# sourceMappingURL=item-label.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { MenuItemProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime97 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/item.d.ts
|
|
18
18
|
declare function MenuItem({
|
|
@@ -20,7 +20,7 @@ declare function MenuItem({
|
|
|
20
20
|
classNames,
|
|
21
21
|
color,
|
|
22
22
|
...rest
|
|
23
|
-
}: MenuItemProps):
|
|
23
|
+
}: MenuItemProps): react_jsx_runtime97.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { MenuItem };
|
|
26
26
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { MenuSectionProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime96 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/section.d.ts
|
|
18
18
|
declare function MenuSection<T extends object>({
|
|
@@ -21,7 +21,7 @@ declare function MenuSection<T extends object>({
|
|
|
21
21
|
items,
|
|
22
22
|
title,
|
|
23
23
|
...rest
|
|
24
|
-
}: MenuSectionProps<T>):
|
|
24
|
+
}: MenuSectionProps<T>): react_jsx_runtime96.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { MenuSection };
|
|
27
27
|
//# sourceMappingURL=section.d.ts.map
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
14
|
import { SeparatorProps } from "react-aria-components";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime98 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/separator.d.ts
|
|
18
18
|
declare function MenuSeparator({
|
|
19
19
|
className,
|
|
20
20
|
...rest
|
|
21
|
-
}: SeparatorProps):
|
|
21
|
+
}: SeparatorProps): react_jsx_runtime98.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { MenuSeparator };
|
|
24
24
|
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react24 from "react";
|
|
15
15
|
import * as react_aria_components1 from "react-aria-components";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/submenu.d.ts
|
|
18
|
-
declare const MenuSubmenu: (props: react_aria_components1.SubmenuTriggerProps & React.RefAttributes<HTMLDivElement>) =>
|
|
18
|
+
declare const MenuSubmenu: (props: react_aria_components1.SubmenuTriggerProps & React.RefAttributes<HTMLDivElement>) => react24.ReactElement | null;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { MenuSubmenu };
|
|
21
21
|
//# sourceMappingURL=submenu.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { NoticeProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime100 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/notice/index.d.ts
|
|
18
18
|
declare function Notice({
|
|
@@ -29,7 +29,7 @@ declare function Notice({
|
|
|
29
29
|
onPrimaryAction,
|
|
30
30
|
onSecondaryAction,
|
|
31
31
|
onClose
|
|
32
|
-
}: NoticeProps):
|
|
32
|
+
}: NoticeProps): react_jsx_runtime100.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { Notice };
|
|
35
35
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { NoticeListProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime101 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/notice/list.d.ts
|
|
18
18
|
declare function NoticeList({
|
|
@@ -26,7 +26,7 @@ declare function NoticeList({
|
|
|
26
26
|
placement,
|
|
27
27
|
size,
|
|
28
28
|
...rest
|
|
29
|
-
}: NoticeListProps):
|
|
29
|
+
}: NoticeListProps): react_jsx_runtime101.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { NoticeList };
|
|
32
32
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
import { NoticeIconProps } 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/notice/notice-icon.d.ts
|
|
18
18
|
declare function NoticeIcon({
|
|
19
19
|
color,
|
|
20
20
|
size
|
|
21
|
-
}: NoticeIconProps):
|
|
21
|
+
}: NoticeIconProps): react_jsx_runtime70.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { NoticeIcon };
|
|
24
24
|
//# sourceMappingURL=notice-icon.d.ts.map
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
import { OptionsDataItem, OptionsProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react28 from "react";
|
|
16
16
|
import { ContextValue } from "react-aria-components";
|
|
17
17
|
|
|
18
18
|
//#region src/components/options/context.d.ts
|
|
19
|
-
declare const OptionsContext:
|
|
19
|
+
declare const OptionsContext: react28.Context<ContextValue<OptionsProps<OptionsDataItem>, HTMLDivElement>>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { OptionsContext };
|
|
22
22
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { OptionsDataItem, OptionsProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime117 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/options/index.d.ts
|
|
18
18
|
|
|
@@ -60,7 +60,7 @@ import * as react_jsx_runtime131 from "react/jsx-runtime";
|
|
|
60
60
|
declare function Options<T extends OptionsDataItem>({
|
|
61
61
|
ref,
|
|
62
62
|
...props
|
|
63
|
-
}: OptionsProps<T>):
|
|
63
|
+
}: OptionsProps<T>): react_jsx_runtime117.JSX.Element;
|
|
64
64
|
//#endregion
|
|
65
65
|
export { Options };
|
|
66
66
|
//# sourceMappingURL=index.d.ts.map
|