@accelint/design-toolkit 9.11.1 → 9.11.3
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/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 +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/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/checkbox/index.js +3 -1
- package/dist/components/checkbox/index.js.map +1 -1
- package/dist/components/checkbox/styles.module.css +2 -0
- 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/styles.module.css +18 -0
- 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/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 +4 -4
- package/dist/components/gantt/context/temporal-data/index.d.ts +4 -4
- 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 +3 -3
- 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 +2 -2
- package/dist/components/notice/list.d.ts +2 -2
- package/dist/components/notice/list.js +7 -9
- package/dist/components/notice/list.js.map +1 -1
- 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 +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/styles.module.css +14 -8
- 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/switch/index.js +3 -1
- package/dist/components/switch/index.js.map +1 -1
- package/dist/components/switch/styles.module.css +2 -0
- 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/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/hooks/coordinate-field/use-coordinate-field-state.js +5 -1
- package/dist/hooks/coordinate-field/use-coordinate-field-state.js.map +1 -1
- package/dist/hooks/use-prevent-scroll-focus/index.d.ts +39 -0
- package/dist/hooks/use-prevent-scroll-focus/index.js +69 -0
- package/dist/hooks/use-prevent-scroll-focus/index.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/providers/portal.d.ts +2 -2
- package/dist/providers/theme-provider.d.ts +2 -2
- package/package.json +13 -12
|
@@ -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_runtime124 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/index.d.ts
|
|
18
18
|
|
|
@@ -126,7 +126,7 @@ import * as react_jsx_runtime165 from "react/jsx-runtime";
|
|
|
126
126
|
declare function Menu<T extends object>({
|
|
127
127
|
ref,
|
|
128
128
|
...props
|
|
129
|
-
}: MenuProps<T>):
|
|
129
|
+
}: MenuProps<T>): react_jsx_runtime124.JSX.Element;
|
|
130
130
|
//#endregion
|
|
131
131
|
export { Menu };
|
|
132
132
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime152 from "react/jsx-runtime";
|
|
15
15
|
import { TextProps } from "react-aria-components/Text";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/item-description.d.ts
|
|
@@ -34,7 +34,7 @@ declare function MenuItemDescription({
|
|
|
34
34
|
children,
|
|
35
35
|
className,
|
|
36
36
|
...rest
|
|
37
|
-
}: TextProps):
|
|
37
|
+
}: TextProps): react_jsx_runtime152.JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { MenuItemDescription };
|
|
40
40
|
//# sourceMappingURL=item-description.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime148 from "react/jsx-runtime";
|
|
15
15
|
import { TextProps } from "react-aria-components/Text";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/item-label.d.ts
|
|
@@ -34,7 +34,7 @@ declare function MenuItemLabel({
|
|
|
34
34
|
children,
|
|
35
35
|
className,
|
|
36
36
|
...rest
|
|
37
|
-
}: TextProps):
|
|
37
|
+
}: TextProps): react_jsx_runtime148.JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { MenuItemLabel };
|
|
40
40
|
//# 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_runtime196 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/item.d.ts
|
|
18
18
|
|
|
@@ -41,7 +41,7 @@ declare function MenuItem({
|
|
|
41
41
|
classNames,
|
|
42
42
|
color,
|
|
43
43
|
...rest
|
|
44
|
-
}: MenuItemProps):
|
|
44
|
+
}: MenuItemProps): react_jsx_runtime196.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { MenuItem };
|
|
47
47
|
//# 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_runtime237 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/section.d.ts
|
|
18
18
|
|
|
@@ -42,7 +42,7 @@ declare function MenuSection<T extends object>({
|
|
|
42
42
|
items,
|
|
43
43
|
title,
|
|
44
44
|
...rest
|
|
45
|
-
}: MenuSectionProps<T>):
|
|
45
|
+
}: MenuSectionProps<T>): react_jsx_runtime237.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { MenuSection };
|
|
48
48
|
//# sourceMappingURL=section.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime197 from "react/jsx-runtime";
|
|
15
15
|
import { SeparatorProps } from "react-aria-components/Separator";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/separator.d.ts
|
|
@@ -32,7 +32,7 @@ import { SeparatorProps } from "react-aria-components/Separator";
|
|
|
32
32
|
declare function MenuSeparator({
|
|
33
33
|
className,
|
|
34
34
|
...rest
|
|
35
|
-
}: SeparatorProps):
|
|
35
|
+
}: SeparatorProps): react_jsx_runtime197.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { MenuSeparator };
|
|
38
38
|
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react49 from "react";
|
|
15
15
|
import * as react_aria_components_Menu0 from "react-aria-components/Menu";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/submenu.d.ts
|
|
@@ -31,7 +31,7 @@ import * as react_aria_components_Menu0 from "react-aria-components/Menu";
|
|
|
31
31
|
* </MenuSubmenu>
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
|
-
declare const MenuSubmenu: (props: react_aria_components_Menu0.SubmenuTriggerProps & React.RefAttributes<HTMLDivElement>) =>
|
|
34
|
+
declare const MenuSubmenu: (props: react_aria_components_Menu0.SubmenuTriggerProps & React.RefAttributes<HTMLDivElement>) => react49.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { MenuSubmenu };
|
|
37
37
|
//# 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_runtime236 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/notice/index.d.ts
|
|
18
18
|
|
|
@@ -61,7 +61,7 @@ declare function Notice({
|
|
|
61
61
|
onPrimaryAction,
|
|
62
62
|
onSecondaryAction,
|
|
63
63
|
onClose
|
|
64
|
-
}: NoticeProps):
|
|
64
|
+
}: NoticeProps): react_jsx_runtime236.JSX.Element;
|
|
65
65
|
//#endregion
|
|
66
66
|
export { Notice };
|
|
67
67
|
//# 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_runtime201 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/notice/list.d.ts
|
|
18
18
|
|
|
@@ -55,7 +55,7 @@ declare function NoticeList({
|
|
|
55
55
|
placement,
|
|
56
56
|
size,
|
|
57
57
|
...rest
|
|
58
|
-
}: NoticeListProps):
|
|
58
|
+
}: NoticeListProps): react_jsx_runtime201.JSX.Element;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { NoticeList };
|
|
61
61
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -78,12 +78,12 @@ function NoticeList({ id, classNames, defaultColor, defaultTimeout, hideClearAll
|
|
|
78
78
|
const emitActionSecondary = useEmit$1(NoticeEventTypes.actionSecondary);
|
|
79
79
|
const emitClose = useEmit$1(NoticeEventTypes.close);
|
|
80
80
|
useOn$1(NoticeEventTypes.queue, (data) => {
|
|
81
|
-
if (id
|
|
82
|
-
const timeout =
|
|
81
|
+
if (id ? data.payload.target === id : !data.payload.target) {
|
|
82
|
+
const timeout = data.payload.timeout ?? defaultTimeout;
|
|
83
83
|
queue.add({
|
|
84
84
|
...data.payload,
|
|
85
85
|
id: data.payload.id || uuid(),
|
|
86
|
-
color:
|
|
86
|
+
color: data.payload.color || defaultColor
|
|
87
87
|
}, { timeout });
|
|
88
88
|
if (timeout) queue.resumeAll();
|
|
89
89
|
}
|
|
@@ -94,15 +94,13 @@ function NoticeList({ id, classNames, defaultColor, defaultTimeout, hideClearAll
|
|
|
94
94
|
if (dequeue.length && dequeue.length === queuedNotices.length) queue.clear();
|
|
95
95
|
else for (const toast of dequeue) queue.close(toast.key);
|
|
96
96
|
});
|
|
97
|
-
useEffect(() => {
|
|
98
|
-
queue.
|
|
99
|
-
|
|
100
|
-
});
|
|
101
|
-
});
|
|
97
|
+
useEffect(() => queue.subscribe(() => {
|
|
98
|
+
setHasNotices(queue.visibleToasts.length > 0);
|
|
99
|
+
}), [queue]);
|
|
102
100
|
const children = /* @__PURE__ */ jsxs(Fragment$1, { children: [!hideClearAll && hasNotices && /* @__PURE__ */ jsx(Button, {
|
|
103
101
|
className: composeRenderProps(classNames?.button, (className) => className ?? ""),
|
|
104
102
|
variant: "outline",
|
|
105
|
-
onPress: queue.clear,
|
|
103
|
+
onPress: () => queue.clear(),
|
|
106
104
|
children: "Clear All"
|
|
107
105
|
}), /* @__PURE__ */ jsx(UNSTABLE_ToastList, {
|
|
108
106
|
className: composeRenderProps(classNames?.list, (className) => clsx(styles.list, className)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","names":["ToastQueue","useEmit","ToastList","ToastRegion","ToastStateContext"],"sources":["../../../src/components/notice/list.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';\n\nimport { useBus } from '@accelint/bus/react';\nimport { uuid } from '@accelint/core';\nimport { useToastRegion } from 'react-aria/useToast';\nimport { useToastQueue } from 'react-stately/useToastState';\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { useEffect, useMemo, useRef, useState } from 'react';\nimport { flushSync } from 'react-dom';\nimport {\n type QueuedToast,\n UNSTABLE_ToastList as ToastList,\n UNSTABLE_ToastQueue as ToastQueue,\n UNSTABLE_ToastRegion as ToastRegion,\n UNSTABLE_ToastStateContext as ToastStateContext,\n} from 'react-aria-components/Toast';\nimport { Button } from '../button';\nimport { Notice } from './';\nimport { NoticeEventTypes } from './events';\nimport styles from './styles.module.css';\nimport { matchesMetadata } from './utils';\nimport type {\n NoticeActionEvent,\n NoticeContent,\n NoticeDequeueEvent,\n NoticeListProps,\n NoticeQueueEvent,\n} from './types';\nimport { composeRenderProps } from 'react-aria-components/composeRenderProps';\n\n/**\n * NoticeList - Queue manager for displaying multiple notices\n *\n * Manages a FIFO queue of notices with automatic timeout and dismissal.\n * New notices push out older ones when the limit is reached.\n * Uses event-driven communication via the bus system.\n *\n * @example\n * ```tsx\n * <NoticeList\n * aria-label=\"notifications\"\n * placement=\"top right\"\n * limit={3}\n * />\n * ```\n *\n * @param props - {@link NoticeListProps}\n * @param props.id - Unique identifier for targeting notices to this list.\n * @param props.classNames - CSS class names for list elements.\n * @param props.defaultColor - Default color for notices without explicit color.\n * @param props.defaultTimeout - Default timeout for notices without explicit timeout.\n * @param props.hideClearAll - Whether to hide the \"Clear All\" button.\n * @param props.limit - Maximum number of visible notices.\n * @param props.global - Whether to use global ToastRegion for portal rendering.\n * @param props.placement - Position of the notice list on screen.\n * @param props.size - Size variant for notices in the list.\n * @returns The rendered NoticeList component.\n */\nexport function NoticeList({\n id,\n classNames,\n defaultColor,\n defaultTimeout,\n hideClearAll,\n limit = 3,\n global,\n placement,\n size = 'medium',\n ...rest\n}: NoticeListProps) {\n const queue = useMemo(\n () =>\n new ToastQueue<NoticeContent>({\n maxVisibleToasts: limit,\n wrapUpdate(fn) {\n if ('startViewTransition' in document) {\n document.startViewTransition(() => {\n flushSync(fn);\n });\n } else {\n fn();\n }\n },\n }),\n [limit],\n );\n const state = useToastQueue(queue);\n\n const [hasNotices, setHasNotices] = useState(false);\n const ref = useRef(null);\n const { regionProps } = useToastRegion(rest, queue, ref);\n\n const { useEmit, useOn } = useBus<\n NoticeQueueEvent | NoticeDequeueEvent | NoticeActionEvent\n >();\n const emitActionPrimary = useEmit(NoticeEventTypes.actionPrimary);\n const emitActionSecondary = useEmit(NoticeEventTypes.actionSecondary);\n const emitClose = useEmit(NoticeEventTypes.close);\n\n useOn(NoticeEventTypes.queue, (data) => {\n if (
|
|
1
|
+
{"version":3,"file":"list.js","names":["ToastQueue","useEmit","ToastList","ToastRegion","ToastStateContext"],"sources":["../../../src/components/notice/list.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';\n\nimport { useBus } from '@accelint/bus/react';\nimport { uuid } from '@accelint/core';\nimport { useToastRegion } from 'react-aria/useToast';\nimport { useToastQueue } from 'react-stately/useToastState';\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { useEffect, useMemo, useRef, useState } from 'react';\nimport { flushSync } from 'react-dom';\nimport {\n type QueuedToast,\n UNSTABLE_ToastList as ToastList,\n UNSTABLE_ToastQueue as ToastQueue,\n UNSTABLE_ToastRegion as ToastRegion,\n UNSTABLE_ToastStateContext as ToastStateContext,\n} from 'react-aria-components/Toast';\nimport { Button } from '../button';\nimport { Notice } from './';\nimport { NoticeEventTypes } from './events';\nimport styles from './styles.module.css';\nimport { matchesMetadata } from './utils';\nimport type {\n NoticeActionEvent,\n NoticeContent,\n NoticeDequeueEvent,\n NoticeListProps,\n NoticeQueueEvent,\n} from './types';\nimport { composeRenderProps } from 'react-aria-components/composeRenderProps';\n\n/**\n * NoticeList - Queue manager for displaying multiple notices\n *\n * Manages a FIFO queue of notices with automatic timeout and dismissal.\n * New notices push out older ones when the limit is reached.\n * Uses event-driven communication via the bus system.\n *\n * @example\n * ```tsx\n * <NoticeList\n * aria-label=\"notifications\"\n * placement=\"top right\"\n * limit={3}\n * />\n * ```\n *\n * @param props - {@link NoticeListProps}\n * @param props.id - Unique identifier for targeting notices to this list.\n * @param props.classNames - CSS class names for list elements.\n * @param props.defaultColor - Default color for notices without explicit color.\n * @param props.defaultTimeout - Default timeout for notices without explicit timeout.\n * @param props.hideClearAll - Whether to hide the \"Clear All\" button.\n * @param props.limit - Maximum number of visible notices.\n * @param props.global - Whether to use global ToastRegion for portal rendering.\n * @param props.placement - Position of the notice list on screen.\n * @param props.size - Size variant for notices in the list.\n * @returns The rendered NoticeList component.\n */\nexport function NoticeList({\n id,\n classNames,\n defaultColor,\n defaultTimeout,\n hideClearAll,\n limit = 3,\n global,\n placement,\n size = 'medium',\n ...rest\n}: NoticeListProps) {\n const queue = useMemo(\n () =>\n new ToastQueue<NoticeContent>({\n maxVisibleToasts: limit,\n wrapUpdate(fn) {\n if ('startViewTransition' in document) {\n document.startViewTransition(() => {\n flushSync(fn);\n });\n } else {\n fn();\n }\n },\n }),\n [limit],\n );\n const state = useToastQueue(queue);\n\n const [hasNotices, setHasNotices] = useState(false);\n const ref = useRef(null);\n const { regionProps } = useToastRegion(rest, queue, ref);\n\n const { useEmit, useOn } = useBus<\n NoticeQueueEvent | NoticeDequeueEvent | NoticeActionEvent\n >();\n const emitActionPrimary = useEmit(NoticeEventTypes.actionPrimary);\n const emitActionSecondary = useEmit(NoticeEventTypes.actionSecondary);\n const emitClose = useEmit(NoticeEventTypes.close);\n\n useOn(NoticeEventTypes.queue, (data) => {\n if (id ? data.payload.target === id : !data.payload.target) {\n const timeout = data.payload.timeout ?? defaultTimeout;\n queue.add(\n {\n ...data.payload,\n id: data.payload.id || uuid(),\n color: data.payload.color || defaultColor,\n },\n {\n timeout,\n },\n );\n if (timeout) {\n queue.resumeAll();\n }\n }\n });\n\n useOn(NoticeEventTypes.dequeue, (data) => {\n // @ts-expect-error : queue.queue exists, but is not currently documented\n const queuedNotices = queue.queue;\n\n const dequeue = queuedNotices.filter((toast: QueuedToast<NoticeContent>) =>\n matchesMetadata(data.payload, toast.content),\n );\n\n if (dequeue.length && dequeue.length === queuedNotices.length) {\n queue.clear();\n } else {\n for (const toast of dequeue) {\n queue.close(toast.key);\n }\n }\n });\n\n useEffect(\n () =>\n queue.subscribe(() => {\n setHasNotices(queue.visibleToasts.length > 0);\n }),\n [queue],\n );\n\n const children = (\n <>\n {!hideClearAll && hasNotices && (\n <Button\n className={composeRenderProps(\n classNames?.button,\n (className) => className ?? '',\n )}\n variant='outline'\n onPress={() => queue.clear()}\n >\n Clear All\n </Button>\n )}\n <ToastList\n className={composeRenderProps(classNames?.list, (className) =>\n clsx(styles.list, className),\n )}\n >\n {({ toast }: { toast: QueuedToast<NoticeContent> }) => (\n <Notice\n {...toast.content}\n key={toast.key}\n showClose={\n !(\n toast.timeout &&\n toast.content.primary &&\n toast.content.secondary\n )\n }\n classNames={classNames?.notice}\n size={size}\n onPrimaryAction={() => emitActionPrimary({ id: toast.content.id })}\n onSecondaryAction={() =>\n emitActionSecondary({ id: toast.content.id })\n }\n onClose={() => {\n toast.onClose?.();\n queue.close(toast.key);\n emitClose({ id: toast.content.id });\n }}\n />\n )}\n </ToastList>\n </>\n );\n\n return global ? (\n <ToastRegion\n className={clsx('group/region', styles.region, classNames?.region)}\n data-placement={placement}\n queue={queue}\n >\n {children}\n </ToastRegion>\n ) : (\n <div\n {...regionProps}\n className={clsx('group/region', styles.region, classNames?.region)}\n data-placement={placement}\n ref={ref}\n >\n <ToastStateContext.Provider value={state}>\n {children}\n </ToastStateContext.Provider>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEA,SAAgB,WAAW,EACzB,IACA,YACA,cACA,gBACA,cACA,QAAQ,GACR,QACA,WACA,OAAO,UACP,GAAG,QACe;CAClB,MAAM,QAAQ,cAEV,IAAIA,oBAA0B;EAC5B,kBAAkB;EAClB,WAAW,IAAI;AACb,OAAI,yBAAyB,SAC3B,UAAS,0BAA0B;AACjC,cAAU,GAAG;KACb;OAEF,KAAI;;EAGT,CAAC,EACJ,CAAC,MAAM,CACR;CACD,MAAM,QAAQ,cAAc,MAAM;CAElC,MAAM,CAAC,YAAY,iBAAiB,SAAS,MAAM;CACnD,MAAM,MAAM,OAAO,KAAK;CACxB,MAAM,EAAE,gBAAgB,eAAe,MAAM,OAAO,IAAI;CAExD,MAAM,EAAE,oBAAS,mBAAU,QAExB;CACH,MAAM,oBAAoBC,UAAQ,iBAAiB,cAAc;CACjE,MAAM,sBAAsBA,UAAQ,iBAAiB,gBAAgB;CACrE,MAAM,YAAYA,UAAQ,iBAAiB,MAAM;AAEjD,SAAM,iBAAiB,QAAQ,SAAS;AACtC,MAAI,KAAK,KAAK,QAAQ,WAAW,KAAK,CAAC,KAAK,QAAQ,QAAQ;GAC1D,MAAM,UAAU,KAAK,QAAQ,WAAW;AACxC,SAAM,IACJ;IACE,GAAG,KAAK;IACR,IAAI,KAAK,QAAQ,MAAM,MAAM;IAC7B,OAAO,KAAK,QAAQ,SAAS;IAC9B,EACD,EACE,SACD,CACF;AACD,OAAI,QACF,OAAM,WAAW;;GAGrB;AAEF,SAAM,iBAAiB,UAAU,SAAS;EAExC,MAAM,gBAAgB,MAAM;EAE5B,MAAM,UAAU,cAAc,QAAQ,UACpC,gBAAgB,KAAK,SAAS,MAAM,QAAQ,CAC7C;AAED,MAAI,QAAQ,UAAU,QAAQ,WAAW,cAAc,OACrD,OAAM,OAAO;MAEb,MAAK,MAAM,SAAS,QAClB,OAAM,MAAM,MAAM,IAAI;GAG1B;AAEF,iBAEI,MAAM,gBAAgB;AACpB,gBAAc,MAAM,cAAc,SAAS,EAAE;GAC7C,EACJ,CAAC,MAAM,CACR;CAED,MAAM,WACJ,8CACG,CAAC,gBAAgB,cAChB,oBAAC;EACC,WAAW,mBACT,YAAY,SACX,cAAc,aAAa,GAC7B;EACD,SAAQ;EACR,eAAe,MAAM,OAAO;YAC7B;GAEQ,EAEX,oBAACC;EACC,WAAW,mBAAmB,YAAY,OAAO,cAC/C,KAAK,OAAO,MAAM,UAAU,CAC7B;aAEC,EAAE,YACF,8BAAC;GACC,GAAI,MAAM;GACV,KAAK,MAAM;GACX,WACE,EACE,MAAM,WACN,MAAM,QAAQ,WACd,MAAM,QAAQ;GAGlB,YAAY,YAAY;GAClB;GACN,uBAAuB,kBAAkB,EAAE,IAAI,MAAM,QAAQ,IAAI,CAAC;GAClE,yBACE,oBAAoB,EAAE,IAAI,MAAM,QAAQ,IAAI,CAAC;GAE/C,eAAe;AACb,UAAM,WAAW;AACjB,UAAM,MAAM,MAAM,IAAI;AACtB,cAAU,EAAE,IAAI,MAAM,QAAQ,IAAI,CAAC;;IAErC;GAEM,IACX;AAGL,QAAO,SACL,oBAACC;EACC,WAAW,KAAK,gBAAgB,OAAO,QAAQ,YAAY,OAAO;EAClE,kBAAgB;EACT;EAEN;GACW,GAEd,oBAAC;EACC,GAAI;EACJ,WAAW,KAAK,gBAAgB,OAAO,QAAQ,YAAY,OAAO;EAClE,kBAAgB;EACX;YAEL,oBAACC,2BAAkB;GAAS,OAAO;GAChC;IAC0B;GACzB"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { NoticeIconProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime206 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/notice/notice-icon.d.ts
|
|
18
18
|
|
|
@@ -38,7 +38,7 @@ import * as react_jsx_runtime172 from "react/jsx-runtime";
|
|
|
38
38
|
declare function NoticeIcon({
|
|
39
39
|
color,
|
|
40
40
|
size
|
|
41
|
-
}: NoticeIconProps):
|
|
41
|
+
}: NoticeIconProps): react_jsx_runtime206.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { NoticeIcon };
|
|
44
44
|
//# sourceMappingURL=notice-icon.d.ts.map
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
|
|
13
13
|
import { OptionsDataItem, OptionsProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react51 from "react";
|
|
16
16
|
import { ContextValue } from "react-aria-components/slots";
|
|
17
17
|
|
|
18
18
|
//#region src/components/options/context.d.ts
|
|
19
19
|
/** Context for sharing Options props with nested components */
|
|
20
|
-
declare const OptionsContext:
|
|
20
|
+
declare const OptionsContext: react51.Context<ContextValue<OptionsProps<OptionsDataItem>, HTMLDivElement>>;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { OptionsContext };
|
|
23
23
|
//# 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_runtime212 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/options/index.d.ts
|
|
18
18
|
|
|
@@ -73,7 +73,7 @@ import * as react_jsx_runtime175 from "react/jsx-runtime";
|
|
|
73
73
|
declare function Options<T extends OptionsDataItem>({
|
|
74
74
|
ref,
|
|
75
75
|
...props
|
|
76
|
-
}: OptionsProps<T>):
|
|
76
|
+
}: OptionsProps<T>): react_jsx_runtime212.JSX.Element;
|
|
77
77
|
//#endregion
|
|
78
78
|
export { Options };
|
|
79
79
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import * as
|
|
13
|
+
import * as react_jsx_runtime217 from "react/jsx-runtime";
|
|
14
14
|
import { TextProps } from "react-aria-components/Text";
|
|
15
15
|
|
|
16
16
|
//#region src/components/options/item-content.d.ts
|
|
@@ -37,7 +37,7 @@ import { TextProps } from "react-aria-components/Text";
|
|
|
37
37
|
declare function OptionsItemContent({
|
|
38
38
|
className,
|
|
39
39
|
...rest
|
|
40
|
-
}: TextProps):
|
|
40
|
+
}: TextProps): react_jsx_runtime217.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { OptionsItemContent };
|
|
43
43
|
//# sourceMappingURL=item-content.d.ts.map
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import * as
|
|
13
|
+
import * as react_jsx_runtime203 from "react/jsx-runtime";
|
|
14
14
|
import { TextProps } from "react-aria-components/Text";
|
|
15
15
|
|
|
16
16
|
//#region src/components/options/item-description.d.ts
|
|
@@ -29,7 +29,7 @@ import { TextProps } from "react-aria-components/Text";
|
|
|
29
29
|
declare function OptionsItemDescription({
|
|
30
30
|
className,
|
|
31
31
|
...rest
|
|
32
|
-
}: TextProps):
|
|
32
|
+
}: TextProps): react_jsx_runtime203.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { OptionsItemDescription };
|
|
35
35
|
//# sourceMappingURL=item-description.d.ts.map
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import * as
|
|
13
|
+
import * as react_jsx_runtime205 from "react/jsx-runtime";
|
|
14
14
|
import { TextProps } from "react-aria-components/Text";
|
|
15
15
|
|
|
16
16
|
//#region src/components/options/item-label.d.ts
|
|
@@ -30,7 +30,7 @@ declare function OptionsItemLabel({
|
|
|
30
30
|
className,
|
|
31
31
|
children,
|
|
32
32
|
...rest
|
|
33
|
-
}: TextProps):
|
|
33
|
+
}: TextProps): react_jsx_runtime205.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { OptionsItemLabel };
|
|
36
36
|
//# sourceMappingURL=item-label.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { OptionsDataItem, OptionsItemProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime223 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/options/item.d.ts
|
|
18
18
|
|
|
@@ -43,7 +43,7 @@ declare function OptionsItem<T extends OptionsDataItem>({
|
|
|
43
43
|
color,
|
|
44
44
|
textValue,
|
|
45
45
|
...rest
|
|
46
|
-
}: OptionsItemProps<T>):
|
|
46
|
+
}: OptionsItemProps<T>): react_jsx_runtime223.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { OptionsItem };
|
|
49
49
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { OptionsDataItem, OptionsSectionProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime234 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/options/section.d.ts
|
|
17
17
|
|
|
@@ -38,7 +38,7 @@ declare function OptionsSection<T extends OptionsDataItem>({
|
|
|
38
38
|
classNames,
|
|
39
39
|
header,
|
|
40
40
|
items
|
|
41
|
-
}: OptionsSectionProps<T>):
|
|
41
|
+
}: OptionsSectionProps<T>): react_jsx_runtime234.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { OptionsSection };
|
|
44
44
|
//# sourceMappingURL=section.d.ts.map
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
import { PaginationContextValue } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react52 from "react";
|
|
16
16
|
|
|
17
17
|
//#region src/components/pagination/context.d.ts
|
|
18
18
|
/** Context for sharing pagination state with sub-components */
|
|
19
|
-
declare const PaginationContext:
|
|
19
|
+
declare const PaginationContext: react52.Context<PaginationContextValue>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { PaginationContext };
|
|
22
22
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PaginationProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime230 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/pagination/index.d.ts
|
|
18
18
|
|
|
@@ -46,7 +46,7 @@ declare function Pagination({
|
|
|
46
46
|
isLoading,
|
|
47
47
|
onChange,
|
|
48
48
|
...rest
|
|
49
|
-
}: PaginationProps):
|
|
49
|
+
}: PaginationProps): react_jsx_runtime230.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { Pagination };
|
|
52
52
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PaginationNextProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime222 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/pagination/next.d.ts
|
|
18
18
|
/**
|
|
@@ -33,7 +33,7 @@ import * as react_jsx_runtime47 from "react/jsx-runtime";
|
|
|
33
33
|
declare function PaginationNext({
|
|
34
34
|
className,
|
|
35
35
|
onPress
|
|
36
|
-
}: PaginationNextProps):
|
|
36
|
+
}: PaginationNextProps): react_jsx_runtime222.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { PaginationNext };
|
|
39
39
|
//# sourceMappingURL=next.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PaginationPagesProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime232 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/pagination/pages.d.ts
|
|
18
18
|
|
|
@@ -37,7 +37,7 @@ import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
|
37
37
|
declare function PaginationPages({
|
|
38
38
|
className,
|
|
39
39
|
onPress
|
|
40
|
-
}: PaginationPagesProps):
|
|
40
|
+
}: PaginationPagesProps): react_jsx_runtime232.JSX.Element[] | null;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { PaginationPages };
|
|
43
43
|
//# sourceMappingURL=pages.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PaginationPrevProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime233 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/pagination/prev.d.ts
|
|
18
18
|
/**
|
|
@@ -33,7 +33,7 @@ import * as react_jsx_runtime59 from "react/jsx-runtime";
|
|
|
33
33
|
declare function PaginationPrev({
|
|
34
34
|
className,
|
|
35
35
|
onPress
|
|
36
|
-
}: PaginationPrevProps):
|
|
36
|
+
}: PaginationPrevProps): react_jsx_runtime233.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { PaginationPrev };
|
|
39
39
|
//# sourceMappingURL=prev.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_runtime174 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/popover/content.d.ts
|
|
18
18
|
|
|
@@ -36,7 +36,7 @@ import * as react_jsx_runtime71 from "react/jsx-runtime";
|
|
|
36
36
|
declare function PopoverContent({
|
|
37
37
|
className,
|
|
38
38
|
...rest
|
|
39
|
-
}: ComponentPropsWithRef<'div'>):
|
|
39
|
+
}: ComponentPropsWithRef<'div'>): react_jsx_runtime174.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { PopoverContent };
|
|
42
42
|
//# sourceMappingURL=content.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_runtime176 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/popover/footer.d.ts
|
|
18
18
|
|
|
@@ -38,7 +38,7 @@ import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
|
38
38
|
declare function PopoverFooter({
|
|
39
39
|
children,
|
|
40
40
|
className
|
|
41
|
-
}: ComponentPropsWithRef<'footer'>):
|
|
41
|
+
}: ComponentPropsWithRef<'footer'>): react_jsx_runtime176.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { PopoverFooter };
|
|
44
44
|
//# sourceMappingURL=footer.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PopoverProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime175 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/popover/index.d.ts
|
|
18
18
|
|
|
@@ -58,7 +58,7 @@ declare function Popover({
|
|
|
58
58
|
classNames,
|
|
59
59
|
dialogProps,
|
|
60
60
|
...rest
|
|
61
|
-
}: PopoverProps):
|
|
61
|
+
}: PopoverProps): react_jsx_runtime175.JSX.Element;
|
|
62
62
|
//#endregion
|
|
63
63
|
export { Popover };
|
|
64
64
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime170 from "react/jsx-runtime";
|
|
15
15
|
import { HeadingProps } from "react-aria-components/Heading";
|
|
16
16
|
|
|
17
17
|
//#region src/components/popover/title.d.ts
|
|
@@ -33,7 +33,7 @@ import { HeadingProps } from "react-aria-components/Heading";
|
|
|
33
33
|
declare function PopoverTitle({
|
|
34
34
|
className,
|
|
35
35
|
...rest
|
|
36
|
-
}: HeadingProps):
|
|
36
|
+
}: HeadingProps): react_jsx_runtime170.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { PopoverTitle };
|
|
39
39
|
//# sourceMappingURL=title.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PopoverTriggerProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime180 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/popover/trigger.d.ts
|
|
18
18
|
|
|
@@ -41,7 +41,7 @@ declare function PopoverTrigger({
|
|
|
41
41
|
ref,
|
|
42
42
|
children,
|
|
43
43
|
...rest
|
|
44
|
-
}: PopoverTriggerProps):
|
|
44
|
+
}: PopoverTriggerProps): react_jsx_runtime180.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { PopoverTrigger };
|
|
47
47
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime204 from "react/jsx-runtime";
|
|
15
15
|
import { ActionProps } from "react-querybuilder";
|
|
16
16
|
|
|
17
17
|
//#region src/components/query-builder/action-element.d.ts
|
|
@@ -38,7 +38,7 @@ declare function ActionElement({
|
|
|
38
38
|
disabledTranslation,
|
|
39
39
|
title: titleProp,
|
|
40
40
|
handleOnClick
|
|
41
|
-
}: ActionProps):
|
|
41
|
+
}: ActionProps): react_jsx_runtime204.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { ActionElement };
|
|
44
44
|
//# sourceMappingURL=action-element.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime219 from "react/jsx-runtime";
|
|
15
15
|
import { ActionProps } from "react-querybuilder";
|
|
16
16
|
|
|
17
17
|
//#region src/components/query-builder/actions.d.ts
|
|
@@ -30,7 +30,7 @@ declare function RemoveRuleAction({
|
|
|
30
30
|
handleOnClick,
|
|
31
31
|
className,
|
|
32
32
|
...rest
|
|
33
|
-
}: ActionProps):
|
|
33
|
+
}: ActionProps): react_jsx_runtime219.JSX.Element;
|
|
34
34
|
/**
|
|
35
35
|
* Lock/unlock toggle button for rules or groups
|
|
36
36
|
*
|
|
@@ -46,7 +46,7 @@ declare function LockAction({
|
|
|
46
46
|
handleOnClick,
|
|
47
47
|
className,
|
|
48
48
|
...rest
|
|
49
|
-
}: ActionProps):
|
|
49
|
+
}: ActionProps): react_jsx_runtime219.JSX.Element;
|
|
50
50
|
/**
|
|
51
51
|
* Duplicate button for cloning rules or groups
|
|
52
52
|
*
|
|
@@ -62,7 +62,7 @@ declare function CloneAction({
|
|
|
62
62
|
handleOnClick,
|
|
63
63
|
className,
|
|
64
64
|
...rest
|
|
65
|
-
}: ActionProps):
|
|
65
|
+
}: ActionProps): react_jsx_runtime219.JSX.Element;
|
|
66
66
|
//#endregion
|
|
67
67
|
export { CloneAction, LockAction, RemoveRuleAction };
|
|
68
68
|
//# sourceMappingURL=actions.d.ts.map
|