@accelint/design-toolkit 9.11.1 → 9.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog-info.yaml +1 -1
- package/dist/components/accordion/context.d.ts +2 -2
- package/dist/components/accordion/group.d.ts +2 -2
- package/dist/components/accordion/header.d.ts +2 -2
- package/dist/components/accordion/index.d.ts +2 -2
- package/dist/components/accordion/panel.d.ts +2 -2
- package/dist/components/accordion/trigger.d.ts +2 -2
- package/dist/components/action-bar/index.d.ts +2 -2
- package/dist/components/audio/index.d.ts +2 -2
- package/dist/components/avatar/context.d.ts +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 +2 -2
- 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/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 +2 -2
- 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 +3 -3
- 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/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/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 +2 -2
- 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/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/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 +12 -11
package/catalog-info.yaml
CHANGED
|
@@ -20,7 +20,7 @@ metadata:
|
|
|
20
20
|
annotations:
|
|
21
21
|
backstage.io/edit-url: https://github.com/gohypergiant/standard-toolkit/blob/main/packages/design-toolkit/catalog-info.yaml
|
|
22
22
|
backstage.io/techdocs-ref: dir:.
|
|
23
|
-
package/version: 9.11.
|
|
23
|
+
package/version: 9.11.2
|
|
24
24
|
github.com/project-slug: gohypergiant/standard-toolkit
|
|
25
25
|
links:
|
|
26
26
|
- url: https://github.com/gohypergiant/standard-toolkit/tree/main/packages/design-toolkit
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AccordionProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react23 from "react";
|
|
16
16
|
import { ContextValue } from "react-aria-components/slots";
|
|
17
17
|
|
|
18
18
|
//#region src/components/accordion/context.d.ts
|
|
@@ -22,7 +22,7 @@ import { ContextValue } from "react-aria-components/slots";
|
|
|
22
22
|
* Provides variant and disabled state to nested accordion components
|
|
23
23
|
* (header, trigger, panel) without explicit prop drilling.
|
|
24
24
|
*/
|
|
25
|
-
declare const AccordionContext:
|
|
25
|
+
declare const AccordionContext: react23.Context<ContextValue<AccordionProps, HTMLDivElement>>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { AccordionContext };
|
|
28
28
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AccordionGroupProps } 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/accordion/group.d.ts
|
|
18
18
|
|
|
@@ -57,7 +57,7 @@ declare function AccordionGroup({
|
|
|
57
57
|
variant,
|
|
58
58
|
isDisabled,
|
|
59
59
|
...rest
|
|
60
|
-
}: AccordionGroupProps):
|
|
60
|
+
}: AccordionGroupProps): react_jsx_runtime80.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { AccordionGroup };
|
|
63
63
|
//# sourceMappingURL=group.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AccordionHeaderProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/accordion/header.d.ts
|
|
18
18
|
|
|
@@ -44,7 +44,7 @@ declare function AccordionHeader({
|
|
|
44
44
|
ref,
|
|
45
45
|
children,
|
|
46
46
|
className
|
|
47
|
-
}: AccordionHeaderProps):
|
|
47
|
+
}: AccordionHeaderProps): react_jsx_runtime81.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { AccordionHeader };
|
|
50
50
|
//# sourceMappingURL=header.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AccordionProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/accordion/index.d.ts
|
|
18
18
|
|
|
@@ -75,7 +75,7 @@ import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
|
75
75
|
declare function Accordion({
|
|
76
76
|
ref,
|
|
77
77
|
...props
|
|
78
|
-
}: AccordionProps):
|
|
78
|
+
}: AccordionProps): react_jsx_runtime9.JSX.Element;
|
|
79
79
|
//#endregion
|
|
80
80
|
export { Accordion };
|
|
81
81
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AccordionPanelProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime82 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/accordion/panel.d.ts
|
|
18
18
|
|
|
@@ -47,7 +47,7 @@ declare function AccordionPanel({
|
|
|
47
47
|
children,
|
|
48
48
|
className,
|
|
49
49
|
...rest
|
|
50
|
-
}: AccordionPanelProps):
|
|
50
|
+
}: AccordionPanelProps): react_jsx_runtime82.JSX.Element;
|
|
51
51
|
//#endregion
|
|
52
52
|
export { AccordionPanel };
|
|
53
53
|
//# sourceMappingURL=panel.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AccordionTriggerProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime84 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/accordion/trigger.d.ts
|
|
18
18
|
|
|
@@ -42,7 +42,7 @@ declare function AccordionTrigger({
|
|
|
42
42
|
ref,
|
|
43
43
|
children,
|
|
44
44
|
classNames
|
|
45
|
-
}: AccordionTriggerProps):
|
|
45
|
+
}: AccordionTriggerProps): react_jsx_runtime84.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { AccordionTrigger };
|
|
48
48
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ActionBarProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/action-bar/index.d.ts
|
|
18
18
|
|
|
@@ -59,7 +59,7 @@ declare function ActionBar({
|
|
|
59
59
|
elevation,
|
|
60
60
|
size,
|
|
61
61
|
...rest
|
|
62
|
-
}: ActionBarProps):
|
|
62
|
+
}: ActionBarProps): react_jsx_runtime10.JSX.Element;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { ActionBar };
|
|
65
65
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AudioProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime88 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/audio/index.d.ts
|
|
18
18
|
|
|
@@ -98,7 +98,7 @@ declare function Audio({
|
|
|
98
98
|
noMutedPref,
|
|
99
99
|
lang,
|
|
100
100
|
...rest
|
|
101
|
-
}: AudioProps):
|
|
101
|
+
}: AudioProps): react_jsx_runtime88.JSX.Element;
|
|
102
102
|
//#endregion
|
|
103
103
|
export { Audio };
|
|
104
104
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { AvatarProps } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
16
|
+
import * as react46 from "react";
|
|
17
|
+
import * as react_jsx_runtime201 from "react/jsx-runtime";
|
|
18
18
|
import { ContextValue } from "react-aria-components/slots";
|
|
19
19
|
|
|
20
20
|
//#region src/components/avatar/context.d.ts
|
|
21
21
|
/**
|
|
22
22
|
* React context for sharing avatar configuration across components.
|
|
23
23
|
*/
|
|
24
|
-
declare const AvatarContext:
|
|
24
|
+
declare const AvatarContext: react46.Context<ContextValue<AvatarProps, HTMLSpanElement>>;
|
|
25
25
|
/**
|
|
26
26
|
* Context provider for setting default props across multiple Avatar components.
|
|
27
27
|
*
|
|
@@ -40,7 +40,7 @@ declare const AvatarContext: react0.Context<ContextValue<AvatarProps, HTMLSpanEl
|
|
|
40
40
|
declare function AvatarProvider({
|
|
41
41
|
children,
|
|
42
42
|
...props
|
|
43
|
-
}: ProviderProps<AvatarProps>):
|
|
43
|
+
}: ProviderProps<AvatarProps>): react_jsx_runtime201.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { AvatarContext, AvatarProvider };
|
|
46
46
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AvatarProps } 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/avatar/index.d.ts
|
|
18
18
|
|
|
@@ -55,7 +55,7 @@ import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
|
55
55
|
declare function Avatar({
|
|
56
56
|
ref,
|
|
57
57
|
...props
|
|
58
|
-
}: AvatarProps):
|
|
58
|
+
}: AvatarProps): react_jsx_runtime236.JSX.Element;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { Avatar };
|
|
61
61
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { BadgeProps } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
16
|
+
import * as react1 from "react";
|
|
17
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
18
18
|
import { ContextValue } from "react-aria-components/slots";
|
|
19
19
|
|
|
20
20
|
//#region src/components/badge/context.d.ts
|
|
21
21
|
/**
|
|
22
22
|
* React context for sharing badge configuration across components.
|
|
23
23
|
*/
|
|
24
|
-
declare const BadgeContext:
|
|
24
|
+
declare const BadgeContext: react1.Context<ContextValue<BadgeProps, HTMLSpanElement>>;
|
|
25
25
|
/**
|
|
26
26
|
* Context provider for setting default props across multiple Badge components.
|
|
27
27
|
*
|
|
@@ -40,7 +40,7 @@ declare const BadgeContext: react33.Context<ContextValue<BadgeProps, HTMLSpanEle
|
|
|
40
40
|
declare function BadgeProvider({
|
|
41
41
|
children,
|
|
42
42
|
...props
|
|
43
|
-
}: ProviderProps<BadgeProps>):
|
|
43
|
+
}: ProviderProps<BadgeProps>): react_jsx_runtime11.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { BadgeContext, BadgeProvider };
|
|
46
46
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { BadgeProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime90 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/badge/index.d.ts
|
|
18
18
|
|
|
@@ -57,7 +57,7 @@ import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
|
57
57
|
declare function Badge({
|
|
58
58
|
ref,
|
|
59
59
|
...props
|
|
60
|
-
}: BadgeProps):
|
|
60
|
+
}: BadgeProps): react_jsx_runtime90.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { Badge };
|
|
63
63
|
//# 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_runtime89 from "react/jsx-runtime";
|
|
15
15
|
import { BreadcrumbProps, BreadcrumbsProps } from "react-aria-components/Breadcrumbs";
|
|
16
16
|
|
|
17
17
|
//#region src/components/breadcrumbs/index.d.ts
|
|
@@ -38,7 +38,7 @@ import { BreadcrumbProps, BreadcrumbsProps } from "react-aria-components/Breadcr
|
|
|
38
38
|
declare function Breadcrumbs({
|
|
39
39
|
children,
|
|
40
40
|
className
|
|
41
|
-
}: BreadcrumbsProps<BreadcrumbProps>):
|
|
41
|
+
}: BreadcrumbsProps<BreadcrumbProps>): react_jsx_runtime89.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { Breadcrumbs };
|
|
44
44
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { BreadcrumbItemProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime91 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/breadcrumbs/item.d.ts
|
|
18
18
|
|
|
@@ -43,7 +43,7 @@ declare function BreadcrumbItem({
|
|
|
43
43
|
classNames,
|
|
44
44
|
linkProps,
|
|
45
45
|
...rest
|
|
46
|
-
}: BreadcrumbItemProps):
|
|
46
|
+
}: BreadcrumbItemProps): react_jsx_runtime91.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { BreadcrumbItem };
|
|
49
49
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { ButtonProps, LinkButtonProps, ToggleButtonProps } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
16
|
+
import * as react25 from "react";
|
|
17
|
+
import * as react_jsx_runtime93 from "react/jsx-runtime";
|
|
18
18
|
import { ContextValue } from "react-aria-components/slots";
|
|
19
19
|
|
|
20
20
|
//#region src/components/button/context.d.ts
|
|
21
21
|
/**
|
|
22
22
|
* React context for sharing Button configuration across components.
|
|
23
23
|
*/
|
|
24
|
-
declare const ButtonContext:
|
|
24
|
+
declare const ButtonContext: react25.Context<ContextValue<ButtonProps, HTMLButtonElement>>;
|
|
25
25
|
/**
|
|
26
26
|
* Context provider for setting default props across multiple Button components.
|
|
27
27
|
*
|
|
@@ -40,11 +40,11 @@ declare const ButtonContext: react0.Context<ContextValue<ButtonProps, HTMLButton
|
|
|
40
40
|
declare function ButtonProvider({
|
|
41
41
|
children,
|
|
42
42
|
...props
|
|
43
|
-
}: ProviderProps<ButtonProps>):
|
|
43
|
+
}: ProviderProps<ButtonProps>): react_jsx_runtime93.JSX.Element;
|
|
44
44
|
/**
|
|
45
45
|
* React context for sharing LinkButton configuration across components.
|
|
46
46
|
*/
|
|
47
|
-
declare const LinkButtonContext:
|
|
47
|
+
declare const LinkButtonContext: react25.Context<ContextValue<LinkButtonProps, HTMLAnchorElement>>;
|
|
48
48
|
/**
|
|
49
49
|
* Context provider for setting default props across multiple LinkButton components.
|
|
50
50
|
*
|
|
@@ -63,11 +63,11 @@ declare const LinkButtonContext: react0.Context<ContextValue<LinkButtonProps, HT
|
|
|
63
63
|
declare function LinkButtonProvider({
|
|
64
64
|
children,
|
|
65
65
|
...props
|
|
66
|
-
}: ProviderProps<LinkButtonProps>):
|
|
66
|
+
}: ProviderProps<LinkButtonProps>): react_jsx_runtime93.JSX.Element;
|
|
67
67
|
/**
|
|
68
68
|
* React context for sharing ToggleButton configuration across components.
|
|
69
69
|
*/
|
|
70
|
-
declare const ToggleButtonContext:
|
|
70
|
+
declare const ToggleButtonContext: react25.Context<ContextValue<ToggleButtonProps, HTMLButtonElement>>;
|
|
71
71
|
/**
|
|
72
72
|
* Context provider for setting default props across multiple ToggleButton components.
|
|
73
73
|
*
|
|
@@ -86,7 +86,7 @@ declare const ToggleButtonContext: react0.Context<ContextValue<ToggleButtonProps
|
|
|
86
86
|
declare function ToggleButtonProvider({
|
|
87
87
|
children,
|
|
88
88
|
...props
|
|
89
|
-
}: ProviderProps<ToggleButtonProps>):
|
|
89
|
+
}: ProviderProps<ToggleButtonProps>): react_jsx_runtime93.JSX.Element;
|
|
90
90
|
//#endregion
|
|
91
91
|
export { ButtonContext, ButtonProvider, LinkButtonContext, LinkButtonProvider, ToggleButtonContext, ToggleButtonProvider };
|
|
92
92
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ButtonProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime92 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/button/index.d.ts
|
|
18
18
|
|
|
@@ -72,7 +72,7 @@ import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
|
72
72
|
declare function Button({
|
|
73
73
|
ref,
|
|
74
74
|
...props
|
|
75
|
-
}: ButtonProps):
|
|
75
|
+
}: ButtonProps): react_jsx_runtime92.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
export { Button };
|
|
78
78
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { LinkButtonProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime97 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/button/link.d.ts
|
|
18
18
|
|
|
@@ -73,7 +73,7 @@ import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
|
73
73
|
declare function LinkButton({
|
|
74
74
|
ref,
|
|
75
75
|
...props
|
|
76
|
-
}: LinkButtonProps):
|
|
76
|
+
}: LinkButtonProps): react_jsx_runtime97.JSX.Element;
|
|
77
77
|
//#endregion
|
|
78
78
|
export { LinkButton };
|
|
79
79
|
//# sourceMappingURL=link.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ToggleButtonProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime108 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/button/toggle.d.ts
|
|
18
18
|
|
|
@@ -76,7 +76,7 @@ import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
|
76
76
|
declare function ToggleButton({
|
|
77
77
|
ref,
|
|
78
78
|
...props
|
|
79
|
-
}: ToggleButtonProps):
|
|
79
|
+
}: ToggleButtonProps): react_jsx_runtime108.JSX.Element;
|
|
80
80
|
//#endregion
|
|
81
81
|
export { ToggleButton };
|
|
82
82
|
//# sourceMappingURL=toggle.d.ts.map
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { CarouselProps } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
16
|
+
import * as react29 from "react";
|
|
17
|
+
import * as react_jsx_runtime100 from "react/jsx-runtime";
|
|
18
18
|
|
|
19
19
|
//#region src/components/carousel/context.d.ts
|
|
20
20
|
/** React context providing carousel state to sub-components. */
|
|
21
|
-
declare const CarouselContext:
|
|
21
|
+
declare const CarouselContext: react29.Context<CarouselProps>;
|
|
22
22
|
/**
|
|
23
23
|
* Provides carousel state to child components via CarouselContext.
|
|
24
24
|
*
|
|
@@ -34,7 +34,7 @@ declare function CarouselProvider({
|
|
|
34
34
|
items,
|
|
35
35
|
currentPosition,
|
|
36
36
|
setCurrentPosition
|
|
37
|
-
}: ProviderProps<CarouselProps>):
|
|
37
|
+
}: ProviderProps<CarouselProps>): react_jsx_runtime100.JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { CarouselContext, CarouselProvider };
|
|
40
40
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { CarouselGalleryProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/carousel/gallery.d.ts
|
|
18
18
|
/**
|
|
@@ -32,7 +32,7 @@ import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
|
32
32
|
declare function CarouselGallery({
|
|
33
33
|
classNames,
|
|
34
34
|
...rest
|
|
35
|
-
}: CarouselGalleryProps):
|
|
35
|
+
}: CarouselGalleryProps): react_jsx_runtime99.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { CarouselGallery };
|
|
38
38
|
//# sourceMappingURL=gallery.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { CarouselProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime102 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/carousel/index.d.ts
|
|
18
18
|
|
|
@@ -50,7 +50,7 @@ declare function Carousel({
|
|
|
50
50
|
currentPosition,
|
|
51
51
|
setCurrentPosition,
|
|
52
52
|
...rest
|
|
53
|
-
}: CarouselProps):
|
|
53
|
+
}: CarouselProps): react_jsx_runtime102.JSX.Element;
|
|
54
54
|
//#endregion
|
|
55
55
|
export { Carousel };
|
|
56
56
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ButtonProps } from "../button/types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime103 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/carousel/navigation.d.ts
|
|
18
18
|
/**
|
|
@@ -30,7 +30,7 @@ declare function CarouselPrevious({
|
|
|
30
30
|
variant,
|
|
31
31
|
isDisabled,
|
|
32
32
|
...rest
|
|
33
|
-
}: ButtonProps):
|
|
33
|
+
}: ButtonProps): react_jsx_runtime103.JSX.Element;
|
|
34
34
|
/**
|
|
35
35
|
* Navigates the carousel to the next item. Automatically disables when at the last item.
|
|
36
36
|
* Note that it relies on the <Carousel/> component to supply context and must be used
|
|
@@ -45,7 +45,7 @@ declare function CarouselNext({
|
|
|
45
45
|
variant,
|
|
46
46
|
isDisabled,
|
|
47
47
|
...rest
|
|
48
|
-
}: ButtonProps):
|
|
48
|
+
}: ButtonProps): react_jsx_runtime103.JSX.Element;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { CarouselNext, CarouselPrevious };
|
|
51
51
|
//# sourceMappingURL=navigation.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
14
|
import { HTMLAttributes } from "react";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime105 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/carousel/position.d.ts
|
|
18
18
|
/**
|
|
@@ -27,7 +27,7 @@ import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
|
27
27
|
declare function CarouselPosition({
|
|
28
28
|
className,
|
|
29
29
|
...rest
|
|
30
|
-
}: HTMLAttributes<HTMLDivElement>):
|
|
30
|
+
}: HTMLAttributes<HTMLDivElement>): react_jsx_runtime105.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { CarouselPosition };
|
|
33
33
|
//# sourceMappingURL=position.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { CarouselSelectProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime106 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/carousel/select.d.ts
|
|
18
18
|
/**
|
|
@@ -32,7 +32,7 @@ import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
|
32
32
|
declare function CarouselSelect({
|
|
33
33
|
classNames,
|
|
34
34
|
...rest
|
|
35
|
-
}: CarouselSelectProps):
|
|
35
|
+
}: CarouselSelectProps): react_jsx_runtime106.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { CarouselSelect };
|
|
38
38
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { CarouselViewerProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/carousel/viewer.d.ts
|
|
18
18
|
/**
|
|
@@ -34,7 +34,7 @@ declare function CarouselViewer({
|
|
|
34
34
|
children,
|
|
35
35
|
classNames,
|
|
36
36
|
...rest
|
|
37
|
-
}: CarouselViewerProps):
|
|
37
|
+
}: CarouselViewerProps): react_jsx_runtime37.JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { CarouselViewer };
|
|
40
40
|
//# sourceMappingURL=viewer.d.ts.map
|
|
@@ -12,18 +12,18 @@
|
|
|
12
12
|
|
|
13
13
|
import { CheckboxGroupProps, CheckboxProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react6 from "react";
|
|
16
16
|
import { ContextValue } from "react-aria-components/slots";
|
|
17
17
|
|
|
18
18
|
//#region src/components/checkbox/context.d.ts
|
|
19
19
|
/**
|
|
20
20
|
* React context for sharing CheckboxGroup configuration across components.
|
|
21
21
|
*/
|
|
22
|
-
declare const CheckboxGroupContext:
|
|
22
|
+
declare const CheckboxGroupContext: react6.Context<ContextValue<CheckboxGroupProps, HTMLDivElement>>;
|
|
23
23
|
/**
|
|
24
24
|
* React context for sharing Checkbox configuration across components.
|
|
25
25
|
*/
|
|
26
|
-
declare const CheckboxContext:
|
|
26
|
+
declare const CheckboxContext: react6.Context<ContextValue<CheckboxProps, HTMLLabelElement>>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { CheckboxContext, CheckboxGroupContext };
|
|
29
29
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { CheckboxGroupProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime40 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/checkbox/group.d.ts
|
|
18
18
|
|
|
@@ -47,7 +47,7 @@ import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
|
47
47
|
declare function CheckboxGroup({
|
|
48
48
|
ref,
|
|
49
49
|
...props
|
|
50
|
-
}: CheckboxGroupProps):
|
|
50
|
+
}: CheckboxGroupProps): react_jsx_runtime40.JSX.Element;
|
|
51
51
|
//#endregion
|
|
52
52
|
export { CheckboxGroup };
|
|
53
53
|
//# sourceMappingURL=group.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { CheckboxProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime42 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/checkbox/index.d.ts
|
|
18
18
|
|
|
@@ -69,7 +69,7 @@ import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
|
69
69
|
declare function Checkbox({
|
|
70
70
|
ref,
|
|
71
71
|
...props
|
|
72
|
-
}: CheckboxProps):
|
|
72
|
+
}: CheckboxProps): react_jsx_runtime42.JSX.Element;
|
|
73
73
|
//#endregion
|
|
74
74
|
export { Checkbox };
|
|
75
75
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { Icon } from "../icon/index.js";
|
|
17
17
|
import { CheckboxContext } from "./context.js";
|
|
18
|
+
import { usePreventScrollFocus } from "../../hooks/use-prevent-scroll-focus/index.js";
|
|
18
19
|
import "client-only";
|
|
19
20
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
20
21
|
import { composeRenderProps } from "react-aria-components/composeRenderProps";
|
|
@@ -79,9 +80,10 @@ import { Checkbox as Checkbox$1 } from "react-aria-components/Checkbox";
|
|
|
79
80
|
function Checkbox({ ref, ...props }) {
|
|
80
81
|
[props, ref] = useContextProps(props, ref ?? null, CheckboxContext);
|
|
81
82
|
const { classNames, children, labelPosition = "end", ...rest } = props;
|
|
83
|
+
const handleRef = usePreventScrollFocus(ref);
|
|
82
84
|
return /* @__PURE__ */ jsx(Checkbox$1, {
|
|
83
85
|
...rest,
|
|
84
|
-
ref,
|
|
86
|
+
ref: handleRef,
|
|
85
87
|
className: composeRenderProps(classNames?.checkbox, (className) => clsx("group/checkbox", styles.checkbox, labelPosition === "start" && styles.labelStart, className)),
|
|
86
88
|
children: composeRenderProps(children, (children$1, { isIndeterminate, isSelected }) => /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", {
|
|
87
89
|
className: clsx(styles.control, classNames?.control),
|