@accelint/design-toolkit 9.6.0 → 9.7.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 +3 -3
- 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/checkbox/group.d.ts +2 -2
- package/dist/components/checkbox/index.d.ts +2 -2
- package/dist/components/chip/context.d.ts +4 -4
- package/dist/components/chip/deletable.d.ts +2 -2
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/chip/list.d.ts +4 -4
- package/dist/components/chip/selectable.d.ts +2 -2
- package/dist/components/classification-badge/context.d.ts +4 -4
- package/dist/components/classification-badge/index.d.ts +2 -2
- package/dist/components/classification-banner/context.d.ts +4 -4
- package/dist/components/classification-banner/index.d.ts +2 -2
- package/dist/components/clock/index.d.ts +2 -2
- package/dist/components/color-picker/index.d.ts +2 -2
- package/dist/components/combobox-field/context.d.ts +4 -4
- package/dist/components/combobox-field/index.d.ts +2 -2
- package/dist/components/coordinate-field/context.d.ts +6 -6
- package/dist/components/coordinate-field/index.d.ts +2 -2
- package/dist/components/coordinate-field/segment.d.ts +2 -2
- package/dist/components/date-field/index.d.ts +2 -2
- package/dist/components/deferred-collection/index.d.ts +2 -2
- package/dist/components/details-list/context.d.ts +4 -4
- package/dist/components/details-list/index.d.ts +2 -2
- package/dist/components/details-list/label.d.ts +2 -2
- package/dist/components/details-list/value.d.ts +2 -2
- package/dist/components/dialog/content.d.ts +2 -2
- package/dist/components/dialog/context.d.ts +2 -2
- package/dist/components/dialog/footer.d.ts +2 -2
- package/dist/components/dialog/index.d.ts +2 -2
- package/dist/components/dialog/title.d.ts +2 -2
- package/dist/components/divider/context.d.ts +4 -4
- package/dist/components/divider/index.d.ts +2 -2
- package/dist/components/drawer/back.d.ts +2 -2
- package/dist/components/drawer/close.d.ts +2 -2
- package/dist/components/drawer/content.d.ts +2 -2
- package/dist/components/drawer/context.d.ts +2 -2
- package/dist/components/drawer/footer.d.ts +2 -2
- package/dist/components/drawer/header-title.d.ts +2 -2
- package/dist/components/drawer/header.d.ts +2 -2
- package/dist/components/drawer/index.d.ts +2 -2
- package/dist/components/drawer/layout-main.d.ts +2 -2
- package/dist/components/drawer/layout.d.ts +2 -2
- package/dist/components/drawer/menu-item.d.ts +2 -2
- package/dist/components/drawer/menu.d.ts +2 -2
- package/dist/components/drawer/panel.d.ts +2 -2
- package/dist/components/drawer/trigger.d.ts +2 -2
- package/dist/components/drawer/view.d.ts +2 -2
- package/dist/components/flashcard/index.d.ts +9 -9
- package/dist/components/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/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/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/options/styles.module.css +52 -4
- 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/index.js +1 -1
- package/dist/components/query-builder/index.js.map +1 -1
- 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/styles.module.css +10 -1
- 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/query-builder/value-selector.js +11 -4
- package/dist/components/query-builder/value-selector.js.map +1 -1
- 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/skeleton/styles.module.css +2 -4
- package/dist/components/skeleton/types.d.ts +1 -1
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/status-indicator/index.d.ts +2 -2
- package/dist/components/switch/context.d.ts +4 -4
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/table/body.d.ts +2 -2
- package/dist/components/table/cell.d.ts +2 -2
- package/dist/components/table/context.d.ts +2 -2
- package/dist/components/table/header-cell.d.ts +2 -2
- package/dist/components/table/header.d.ts +2 -2
- package/dist/components/table/index.d.ts +2 -2
- package/dist/components/table/row.d.ts +2 -2
- package/dist/components/tabs/constants.d.ts +19 -0
- package/dist/components/tabs/constants.js +23 -0
- package/dist/components/tabs/constants.js.map +1 -0
- package/dist/components/tabs/context.d.ts +11 -6
- package/dist/components/tabs/context.js +8 -1
- package/dist/components/tabs/context.js.map +1 -1
- package/dist/components/tabs/index.d.ts +4 -2
- package/dist/components/tabs/index.js +17 -7
- package/dist/components/tabs/index.js.map +1 -1
- package/dist/components/tabs/styles.module.css +27 -5
- package/dist/components/tabs/tab.d.ts +7 -6
- package/dist/components/tabs/tab.js +12 -3
- package/dist/components/tabs/tab.js.map +1 -1
- package/dist/components/tabs/types.d.ts +25 -3
- 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/tooltip/context.d.ts +2 -2
- package/dist/components/tooltip/index.d.ts +2 -2
- package/dist/components/tooltip/trigger.d.ts +2 -2
- package/dist/components/tree/context.d.ts +3 -3
- package/dist/components/tree/index.d.ts +2 -2
- package/dist/components/tree/item-actions.d.ts +2 -2
- package/dist/components/tree/item-content.d.ts +2 -2
- package/dist/components/tree/item-description.d.ts +2 -2
- package/dist/components/tree/item-label.d.ts +2 -2
- package/dist/components/tree/item-prefix-icon.d.ts +2 -2
- package/dist/components/tree/item.d.ts +2 -2
- package/dist/components/tree/lines.d.ts +2 -2
- package/dist/components/video/index.d.ts +2 -2
- package/dist/components/view-stack/context.d.ts +2 -2
- package/dist/components/view-stack/index.d.ts +2 -2
- package/dist/components/view-stack/trigger.d.ts +2 -2
- package/dist/components/view-stack/view.d.ts +2 -2
- package/dist/index.d.ts +4 -3
- package/dist/index.js +3 -2
- package/dist/providers/portal.d.ts +2 -2
- package/dist/providers/theme-provider.d.ts +2 -2
- package/package.json +6 -5
|
@@ -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_runtime105 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_runtime105.JSX.Element;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { NoticeList };
|
|
61
61
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -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_runtime71 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_runtime179 from "react/jsx-runtime";
|
|
|
38
38
|
declare function NoticeIcon({
|
|
39
39
|
color,
|
|
40
40
|
size
|
|
41
|
-
}: NoticeIconProps):
|
|
41
|
+
}: NoticeIconProps): react_jsx_runtime71.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 react19 from "react";
|
|
16
16
|
import { ContextValue } from "react-aria-components";
|
|
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: react19.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_runtime52 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_runtime187 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_runtime52.JSX.Element;
|
|
77
77
|
//#endregion
|
|
78
78
|
export { Options };
|
|
79
79
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { TextProps } from "react-aria-components";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/options/item-content.d.ts
|
|
17
17
|
|
|
@@ -37,7 +37,7 @@ import * as react_jsx_runtime202 from "react/jsx-runtime";
|
|
|
37
37
|
declare function OptionsItemContent({
|
|
38
38
|
className,
|
|
39
39
|
...rest
|
|
40
|
-
}: TextProps):
|
|
40
|
+
}: TextProps): react_jsx_runtime53.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { OptionsItemContent };
|
|
43
43
|
//# sourceMappingURL=item-content.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { TextProps } from "react-aria-components";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime55 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/options/item-description.d.ts
|
|
17
17
|
/**
|
|
@@ -29,7 +29,7 @@ import * as react_jsx_runtime188 from "react/jsx-runtime";
|
|
|
29
29
|
declare function OptionsItemDescription({
|
|
30
30
|
className,
|
|
31
31
|
...rest
|
|
32
|
-
}: TextProps):
|
|
32
|
+
}: TextProps): react_jsx_runtime55.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { OptionsItemDescription };
|
|
35
35
|
//# sourceMappingURL=item-description.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { TextProps } from "react-aria-components";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime57 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/options/item-label.d.ts
|
|
17
17
|
/**
|
|
@@ -29,7 +29,7 @@ import * as react_jsx_runtime198 from "react/jsx-runtime";
|
|
|
29
29
|
declare function OptionsItemLabel({
|
|
30
30
|
className,
|
|
31
31
|
...rest
|
|
32
|
-
}: TextProps):
|
|
32
|
+
}: TextProps): react_jsx_runtime57.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { OptionsItemLabel };
|
|
35
35
|
//# 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_runtime59 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_runtime59.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_runtime61 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_runtime61.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { OptionsSection };
|
|
44
44
|
//# sourceMappingURL=section.d.ts.map
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
@variant hover {
|
|
105
|
-
@apply bg-serious-bold;
|
|
105
|
+
@apply fg-a11y-on-utility bg-serious-bold;
|
|
106
106
|
|
|
107
107
|
&:before {
|
|
108
108
|
@apply bg-(--outline-serious-hover);
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
@variant focus-visible {
|
|
113
|
-
@apply bg-serious-bold;
|
|
113
|
+
@apply fg-a11y-on-utility bg-serious-bold;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
@variant pressed {
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
@variant hover {
|
|
147
|
-
@apply bg-critical-bold;
|
|
147
|
+
@apply fg-a11y-on-utility bg-critical-bold;
|
|
148
148
|
|
|
149
149
|
&:before {
|
|
150
150
|
@apply bg-(--outline-critical-hover);
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
@variant focus-visible {
|
|
155
|
-
@apply bg-critical-bold;
|
|
155
|
+
@apply fg-a11y-on-utility bg-critical-bold;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
@variant pressed {
|
|
@@ -234,6 +234,14 @@
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
@variant group-selected/options-item {
|
|
237
|
+
@variant group-hover/options-item {
|
|
238
|
+
@apply fg-a11y-on-utility;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
@variant group-focus-visible/options-item {
|
|
242
|
+
@apply fg-a11y-on-utility;
|
|
243
|
+
}
|
|
244
|
+
|
|
237
245
|
@variant group-pressed/options-item {
|
|
238
246
|
@apply fg-serious-bold;
|
|
239
247
|
}
|
|
@@ -248,6 +256,14 @@
|
|
|
248
256
|
}
|
|
249
257
|
|
|
250
258
|
@variant group-selected/options-item {
|
|
259
|
+
@variant group-hover/options-item {
|
|
260
|
+
@apply fg-a11y-on-utility;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
@variant group-focus-visible/options-item {
|
|
264
|
+
@apply fg-a11y-on-utility;
|
|
265
|
+
}
|
|
266
|
+
|
|
251
267
|
@variant group-pressed/options-item {
|
|
252
268
|
@apply fg-critical-bold;
|
|
253
269
|
}
|
|
@@ -304,6 +320,14 @@
|
|
|
304
320
|
}
|
|
305
321
|
|
|
306
322
|
@variant group-selected/options-item {
|
|
323
|
+
@variant group-hover/options-item {
|
|
324
|
+
@apply fg-a11y-on-utility;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
@variant group-focus-visible/options-item {
|
|
328
|
+
@apply fg-a11y-on-utility;
|
|
329
|
+
}
|
|
330
|
+
|
|
307
331
|
@variant group-pressed/options-item {
|
|
308
332
|
@apply fg-serious-bold;
|
|
309
333
|
}
|
|
@@ -318,6 +342,14 @@
|
|
|
318
342
|
}
|
|
319
343
|
|
|
320
344
|
@variant group-selected/options-item {
|
|
345
|
+
@variant group-hover/options-item {
|
|
346
|
+
@apply fg-a11y-on-utility;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
@variant group-focus-visible/options-item {
|
|
350
|
+
@apply fg-a11y-on-utility;
|
|
351
|
+
}
|
|
352
|
+
|
|
321
353
|
@variant group-pressed/options-item {
|
|
322
354
|
@apply fg-critical-bold;
|
|
323
355
|
}
|
|
@@ -370,6 +402,14 @@
|
|
|
370
402
|
@variant group-selected/options-item {
|
|
371
403
|
@apply fg-primary-bold;
|
|
372
404
|
|
|
405
|
+
@variant group-hover/options-item {
|
|
406
|
+
@apply fg-a11y-on-utility;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
@variant group-focus-visible/options-item {
|
|
410
|
+
@apply fg-a11y-on-utility;
|
|
411
|
+
}
|
|
412
|
+
|
|
373
413
|
@variant group-pressed/options-item {
|
|
374
414
|
@apply fg-serious-bold;
|
|
375
415
|
}
|
|
@@ -384,6 +424,14 @@
|
|
|
384
424
|
@variant group-selected/options-item {
|
|
385
425
|
@apply fg-primary-bold;
|
|
386
426
|
|
|
427
|
+
@variant group-hover/options-item {
|
|
428
|
+
@apply fg-a11y-on-utility;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
@variant group-focus-visible/options-item {
|
|
432
|
+
@apply fg-a11y-on-utility;
|
|
433
|
+
}
|
|
434
|
+
|
|
387
435
|
@variant group-pressed/options-item {
|
|
388
436
|
@apply fg-critical-bold;
|
|
389
437
|
}
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
import { PaginationContextValue } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react20 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: react20.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_runtime8 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_runtime8.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_runtime65 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_runtime199 from "react/jsx-runtime";
|
|
|
33
33
|
declare function PaginationNext({
|
|
34
34
|
className,
|
|
35
35
|
onPress
|
|
36
|
-
}: PaginationNextProps):
|
|
36
|
+
}: PaginationNextProps): react_jsx_runtime65.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_runtime67 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_runtime195 from "react/jsx-runtime";
|
|
|
37
37
|
declare function PaginationPages({
|
|
38
38
|
className,
|
|
39
39
|
onPress
|
|
40
|
-
}: PaginationPagesProps):
|
|
40
|
+
}: PaginationPagesProps): react_jsx_runtime67.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_runtime69 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_runtime197 from "react/jsx-runtime";
|
|
|
33
33
|
declare function PaginationPrev({
|
|
34
34
|
className,
|
|
35
35
|
onPress
|
|
36
|
-
}: PaginationPrevProps):
|
|
36
|
+
}: PaginationPrevProps): react_jsx_runtime69.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_runtime75 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_runtime191 from "react/jsx-runtime";
|
|
|
36
36
|
declare function PopoverContent({
|
|
37
37
|
className,
|
|
38
38
|
...rest
|
|
39
|
-
}: ComponentPropsWithRef<'div'>):
|
|
39
|
+
}: ComponentPropsWithRef<'div'>): react_jsx_runtime75.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_runtime77 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_runtime193 from "react/jsx-runtime";
|
|
|
38
38
|
declare function PopoverFooter({
|
|
39
39
|
children,
|
|
40
40
|
className
|
|
41
|
-
}: ComponentPropsWithRef<'footer'>):
|
|
41
|
+
}: ComponentPropsWithRef<'footer'>): react_jsx_runtime77.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_runtime118 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_runtime118.JSX.Element;
|
|
62
62
|
//#endregion
|
|
63
63
|
export { Popover };
|
|
64
64
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
14
|
import { HeadingProps } from "react-aria-components";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime78 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/popover/title.d.ts
|
|
18
18
|
/**
|
|
@@ -33,7 +33,7 @@ import * as react_jsx_runtime194 from "react/jsx-runtime";
|
|
|
33
33
|
declare function PopoverTitle({
|
|
34
34
|
className,
|
|
35
35
|
...rest
|
|
36
|
-
}: HeadingProps):
|
|
36
|
+
}: HeadingProps): react_jsx_runtime78.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_runtime80 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_runtime80.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_runtime82 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_runtime82.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_runtime95 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_runtime95.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_runtime95.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_runtime95.JSX.Element;
|
|
66
66
|
//#endregion
|
|
67
67
|
export { CloneAction, LockAction, RemoveRuleAction };
|
|
68
68
|
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime106 from "react/jsx-runtime";
|
|
15
15
|
import { CombinatorSelectorProps } from "react-querybuilder";
|
|
16
16
|
|
|
17
17
|
//#region src/components/query-builder/combinator-selector.d.ts
|
|
@@ -27,7 +27,7 @@ declare function CombinatorSelector({
|
|
|
27
27
|
options,
|
|
28
28
|
value,
|
|
29
29
|
handleOnChange
|
|
30
|
-
}: CombinatorSelectorProps):
|
|
30
|
+
}: CombinatorSelectorProps): react_jsx_runtime106.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { CombinatorSelector };
|
|
33
33
|
//# sourceMappingURL=combinator-selector.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { QueryBuilderProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime107 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/query-builder/index.d.ts
|
|
18
18
|
|
|
@@ -55,7 +55,7 @@ declare function QueryBuilder({
|
|
|
55
55
|
orientation,
|
|
56
56
|
showRuleLines,
|
|
57
57
|
...rest
|
|
58
|
-
}: QueryBuilderProps):
|
|
58
|
+
}: QueryBuilderProps): react_jsx_runtime107.JSX.Element;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { QueryBuilder };
|
|
61
61
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -92,7 +92,7 @@ function QueryBuilder({ controlClassnames, controlElements, orientation = "horiz
|
|
|
92
92
|
header: styles.header,
|
|
93
93
|
combinators: styles.combinators,
|
|
94
94
|
fields: styles.fields,
|
|
95
|
-
operators:
|
|
95
|
+
operators: styles.operators,
|
|
96
96
|
value: styles.value,
|
|
97
97
|
valueListItem: "",
|
|
98
98
|
valueSource: "",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["RQBBuilder"],"sources":["../../../src/components/query-builder/index.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { createContext, useMemo } from 'react';\nimport { QueryBuilder as RQBBuilder } from 'react-querybuilder';\nimport { ActionElement } from './action-element';\nimport { CloneAction, LockAction, RemoveRuleAction } from './actions';\nimport { CombinatorSelector } from './combinator-selector';\nimport { Rule } from './rule';\nimport { RuleGroup } from './rule-group';\nimport styles from './styles.module.css';\nimport { ValueEditor } from './value-editor';\nimport { ValueSelector } from './value-selector';\nimport type { QueryBuilderContextType, QueryBuilderProps } from './types';\n\n/**\n * QueryBuilder - A visual interface for building complex database queries\n *\n * Provides an intuitive drag-and-drop interface for constructing database queries\n * with support for multiple conditions, operators, and logical grouping. Enables\n * users to build complex filters without writing SQL or code.\n *\n * @param props - {@link QueryBuilderProps}\n * @param props.controlClassnames - Custom CSS class names for control elements.\n * @param props.controlElements - Custom component overrides for controls.\n * @param props.orientation - Layout orientation ('horizontal' or 'vertical').\n * @param props.showRuleLines - Whether to show connecting lines between rules.\n * @returns The rendered QueryBuilder component.\n *\n * @example\n * ```tsx\n * // Basic query builder\n * <QueryBuilder\n * fields={[\n * // { name, label, type, inputType, operators },\n * ]}\n * query={\n * // { combinator, rules }\n * }\n * onQueryChange={handleQueryChange}\n * controlElements={{\n * addRuleAction: CustomAddButton,\n * removeRuleAction: CustomRemoveButton\n * }}\n * orientation=\"vertical\"\n * />\n * ```\n */\nexport function QueryBuilder({\n controlClassnames,\n controlElements,\n orientation = 'horizontal',\n showRuleLines = true,\n ...rest\n}: QueryBuilderProps) {\n /**\n * Represents the list of available controls that the component can use as a custom\n * component override.Passed in as a map of our custom defaults, but can be\n * overridden by using the controlElements prop\n */\n const mergedElements = useMemo(\n () => ({\n combinatorSelector: CombinatorSelector,\n cloneGroupAction: CloneAction,\n cloneRuleAction: CloneAction,\n removeRuleAction: RemoveRuleAction,\n lockGroupAction: LockAction,\n lockRuleAction: LockAction,\n ruleGroup: RuleGroup,\n rule: Rule,\n actionElement: ActionElement,\n valueSelector: ValueSelector,\n valueEditor: ValueEditor,\n ...controlElements,\n }),\n [controlElements],\n );\n\n /**\n * Represents the list of available classnames that the component will recognize.\n * Passed in as a map as all the default styling, but can be overridden by using the\n * controlClassnames prop\n */\n const mergedClassnames = useMemo(() => {\n return {\n queryBuilder: styles.queryBuilder,\n ruleGroup: clsx('group', styles.ruleGroup),\n header: styles.header,\n combinators: styles.combinators,\n fields: styles.fields,\n operators:
|
|
1
|
+
{"version":3,"file":"index.js","names":["RQBBuilder"],"sources":["../../../src/components/query-builder/index.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { createContext, useMemo } from 'react';\nimport { QueryBuilder as RQBBuilder } from 'react-querybuilder';\nimport { ActionElement } from './action-element';\nimport { CloneAction, LockAction, RemoveRuleAction } from './actions';\nimport { CombinatorSelector } from './combinator-selector';\nimport { Rule } from './rule';\nimport { RuleGroup } from './rule-group';\nimport styles from './styles.module.css';\nimport { ValueEditor } from './value-editor';\nimport { ValueSelector } from './value-selector';\nimport type { QueryBuilderContextType, QueryBuilderProps } from './types';\n\n/**\n * QueryBuilder - A visual interface for building complex database queries\n *\n * Provides an intuitive drag-and-drop interface for constructing database queries\n * with support for multiple conditions, operators, and logical grouping. Enables\n * users to build complex filters without writing SQL or code.\n *\n * @param props - {@link QueryBuilderProps}\n * @param props.controlClassnames - Custom CSS class names for control elements.\n * @param props.controlElements - Custom component overrides for controls.\n * @param props.orientation - Layout orientation ('horizontal' or 'vertical').\n * @param props.showRuleLines - Whether to show connecting lines between rules.\n * @returns The rendered QueryBuilder component.\n *\n * @example\n * ```tsx\n * // Basic query builder\n * <QueryBuilder\n * fields={[\n * // { name, label, type, inputType, operators },\n * ]}\n * query={\n * // { combinator, rules }\n * }\n * onQueryChange={handleQueryChange}\n * controlElements={{\n * addRuleAction: CustomAddButton,\n * removeRuleAction: CustomRemoveButton\n * }}\n * orientation=\"vertical\"\n * />\n * ```\n */\nexport function QueryBuilder({\n controlClassnames,\n controlElements,\n orientation = 'horizontal',\n showRuleLines = true,\n ...rest\n}: QueryBuilderProps) {\n /**\n * Represents the list of available controls that the component can use as a custom\n * component override.Passed in as a map of our custom defaults, but can be\n * overridden by using the controlElements prop\n */\n const mergedElements = useMemo(\n () => ({\n combinatorSelector: CombinatorSelector,\n cloneGroupAction: CloneAction,\n cloneRuleAction: CloneAction,\n removeRuleAction: RemoveRuleAction,\n lockGroupAction: LockAction,\n lockRuleAction: LockAction,\n ruleGroup: RuleGroup,\n rule: Rule,\n actionElement: ActionElement,\n valueSelector: ValueSelector,\n valueEditor: ValueEditor,\n ...controlElements,\n }),\n [controlElements],\n );\n\n /**\n * Represents the list of available classnames that the component will recognize.\n * Passed in as a map as all the default styling, but can be overridden by using the\n * controlClassnames prop\n */\n const mergedClassnames = useMemo(() => {\n return {\n queryBuilder: styles.queryBuilder,\n ruleGroup: clsx('group', styles.ruleGroup),\n header: styles.header,\n combinators: styles.combinators,\n fields: styles.fields,\n operators: styles.operators,\n value: styles.value,\n valueListItem: '',\n valueSource: '',\n cloneGroup: styles.cloneGroup,\n cloneRule: styles.cloneRule,\n lockGroup: styles.lockGroup,\n lockRule: styles.lockRule,\n disabled: '',\n valid: '',\n invalid: '',\n removeRule: '',\n addRule: '',\n addGroup: '',\n removeGroup: '',\n rule: clsx(styles.rule, styles[orientation]),\n body: clsx(\n 'group',\n styles.body,\n showRuleLines && styles.showRuleLines,\n !showRuleLines && styles.hideRuleLines,\n ),\n ...controlClassnames,\n };\n }, [controlClassnames, showRuleLines, orientation]);\n\n const QueryBuilderContext = createContext<QueryBuilderContextType>({\n orientation,\n showRuleLines,\n });\n\n return (\n <RQBBuilder\n showNotToggle={false}\n showShiftActions={false}\n enableDragAndDrop={false}\n controlClassnames={mergedClassnames}\n controlElements={mergedElements}\n context={QueryBuilderContext}\n listsAsArrays\n {...rest}\n />\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DA,SAAgB,aAAa,EAC3B,mBACA,iBACA,cAAc,cACd,gBAAgB,MAChB,GAAG,QACiB;;;;;;CAMpB,MAAM,iBAAiB,eACd;EACL,oBAAoB;EACpB,kBAAkB;EAClB,iBAAiB;EACjB,kBAAkB;EAClB,iBAAiB;EACjB,gBAAgB;EAChB,WAAW;EACX,MAAM;EACN,eAAe;EACf,eAAe;EACf,aAAa;EACb,GAAG;EACJ,GACD,CAAC,gBAAgB,CAClB;AA6CD,QACE,oBAACA;EACC,eAAe;EACf,kBAAkB;EAClB,mBAAmB;EACnB,mBA3CqB,cAAc;AACrC,UAAO;IACL,cAAc,OAAO;IACrB,WAAW,KAAK,SAAS,OAAO,UAAU;IAC1C,QAAQ,OAAO;IACf,aAAa,OAAO;IACpB,QAAQ,OAAO;IACf,WAAW,OAAO;IAClB,OAAO,OAAO;IACd,eAAe;IACf,aAAa;IACb,YAAY,OAAO;IACnB,WAAW,OAAO;IAClB,WAAW,OAAO;IAClB,UAAU,OAAO;IACjB,UAAU;IACV,OAAO;IACP,SAAS;IACT,YAAY;IACZ,SAAS;IACT,UAAU;IACV,aAAa;IACb,MAAM,KAAK,OAAO,MAAM,OAAO,aAAa;IAC5C,MAAM,KACJ,SACA,OAAO,MACP,iBAAiB,OAAO,eACxB,CAAC,iBAAiB,OAAO,cAC1B;IACD,GAAG;IACJ;KACA;GAAC;GAAmB;GAAe;GAAY,CAAC;EAa/C,iBAAiB;EACjB,SAZwB,cAAuC;GACjE;GACA;GACD,CAAC;EAUE;EACA,GAAI;GACJ"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime108 from "react/jsx-runtime";
|
|
15
15
|
import { RuleGroupProps, useRuleGroup } from "react-querybuilder";
|
|
16
16
|
|
|
17
17
|
//#region src/components/query-builder/rule-group.d.ts
|
|
@@ -33,7 +33,7 @@ import { RuleGroupProps, useRuleGroup } from "react-querybuilder";
|
|
|
33
33
|
* @param props - RuleGroupProps from react-querybuilder.
|
|
34
34
|
* @returns The rendered RuleGroup component.
|
|
35
35
|
*/
|
|
36
|
-
declare function RuleGroup(props: RuleGroupProps):
|
|
36
|
+
declare function RuleGroup(props: RuleGroupProps): react_jsx_runtime108.JSX.Element;
|
|
37
37
|
/**
|
|
38
38
|
* Header section with combinator selector and group actions (clone, lock, remove)
|
|
39
39
|
*
|
|
@@ -49,7 +49,7 @@ declare function RuleGroup(props: RuleGroupProps): react_jsx_runtime74.JSX.Eleme
|
|
|
49
49
|
* @param ruleGroup - Combined RuleGroupProps and useRuleGroup return value.
|
|
50
50
|
* @returns The rendered header with combinator and action controls.
|
|
51
51
|
*/
|
|
52
|
-
declare function RuleGroupHeaderComponent(ruleGroup: RuleGroupProps & ReturnType<typeof useRuleGroup>):
|
|
52
|
+
declare function RuleGroupHeaderComponent(ruleGroup: RuleGroupProps & ReturnType<typeof useRuleGroup>): react_jsx_runtime108.JSX.Element;
|
|
53
53
|
/**
|
|
54
54
|
* Footer section with add rule and add group actions
|
|
55
55
|
*
|
|
@@ -65,7 +65,7 @@ declare function RuleGroupHeaderComponent(ruleGroup: RuleGroupProps & ReturnType
|
|
|
65
65
|
* @param ruleGroup - Combined RuleGroupProps and useRuleGroup return value.
|
|
66
66
|
* @returns The rendered footer with add rule and add group buttons.
|
|
67
67
|
*/
|
|
68
|
-
declare function RuleGroupFooterComponent(ruleGroup: RuleGroupProps & ReturnType<typeof useRuleGroup>):
|
|
68
|
+
declare function RuleGroupFooterComponent(ruleGroup: RuleGroupProps & ReturnType<typeof useRuleGroup>): react_jsx_runtime108.JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { RuleGroup, RuleGroupFooterComponent, RuleGroupHeaderComponent };
|
|
71
71
|
//# sourceMappingURL=rule-group.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime111 from "react/jsx-runtime";
|
|
15
15
|
import { RuleProps } from "react-querybuilder";
|
|
16
16
|
|
|
17
17
|
//#region src/components/query-builder/rule.d.ts
|
|
@@ -33,7 +33,7 @@ import { RuleProps } from "react-querybuilder";
|
|
|
33
33
|
* @param props - RuleProps from react-querybuilder.
|
|
34
34
|
* @returns The rendered Rule component with all selectors and actions.
|
|
35
35
|
*/
|
|
36
|
-
declare function Rule(props: RuleProps):
|
|
36
|
+
declare function Rule(props: RuleProps): react_jsx_runtime111.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Rule };
|
|
39
39
|
//# sourceMappingURL=rule.d.ts.map
|