@accelint/design-toolkit 9.2.0 → 9.3.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/README.md +15 -22
- package/catalog-info.yaml +4 -4
- 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 +10 -2
- package/dist/components/action-bar/index.js +8 -1
- package/dist/components/action-bar/index.js.map +1 -1
- package/dist/components/action-bar/styles.module.css +9 -1
- package/dist/components/action-bar/types.d.ts +1 -0
- package/dist/components/avatar/context.d.ts +4 -4
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/badge/context.d.ts +4 -4
- package/dist/components/badge/index.d.ts +2 -2
- package/dist/components/breadcrumbs/index.d.ts +2 -2
- package/dist/components/breadcrumbs/item.d.ts +2 -2
- package/dist/components/button/context.d.ts +8 -8
- package/dist/components/button/index.d.ts +2 -2
- package/dist/components/button/link.d.ts +2 -2
- package/dist/components/button/toggle.d.ts +2 -2
- package/dist/components/checkbox/context.d.ts +3 -3
- package/dist/components/checkbox/group.d.ts +2 -2
- package/dist/components/checkbox/index.d.ts +2 -2
- package/dist/components/chip/context.d.ts +4 -4
- package/dist/components/chip/deletable.d.ts +2 -2
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/chip/list.d.ts +4 -4
- package/dist/components/chip/selectable.d.ts +2 -2
- package/dist/components/classification-badge/context.d.ts +4 -4
- package/dist/components/classification-badge/index.d.ts +2 -2
- package/dist/components/classification-banner/context.d.ts +4 -4
- package/dist/components/classification-banner/index.d.ts +2 -2
- package/dist/components/clock/index.d.ts +2 -2
- package/dist/components/color-picker/index.d.ts +2 -2
- package/dist/components/combobox-field/context.d.ts +4 -4
- package/dist/components/combobox-field/index.d.ts +2 -2
- package/dist/components/combobox-field/index.js +44 -37
- package/dist/components/combobox-field/index.js.map +1 -1
- package/dist/components/combobox-field/styles.module.css +5 -1
- 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/index.js +3 -1
- package/dist/components/coordinate-field/index.js.map +1 -1
- package/dist/components/coordinate-field/segment.d.ts +3 -2
- package/dist/components/coordinate-field/segment.js +3 -1
- package/dist/components/coordinate-field/segment.js.map +1 -1
- package/dist/components/coordinate-field/styles.module.css +14 -0
- package/dist/components/coordinate-field/types.d.ts +2 -0
- package/dist/components/coordinate-field/types.js.map +1 -1
- package/dist/components/date-field/index.d.ts +3 -2
- package/dist/components/date-field/index.js +4 -2
- package/dist/components/date-field/index.js.map +1 -1
- package/dist/components/date-field/styles.module.css +4 -0
- package/dist/components/deferred-collection/index.d.ts +43 -0
- package/dist/components/deferred-collection/index.js +44 -0
- package/dist/components/deferred-collection/index.js.map +1 -0
- package/dist/components/deferred-collection/types.d.ts +26 -0
- package/dist/components/deferred-collection/types.js +12 -0
- 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 +2 -2
- package/dist/components/drawer/trigger.d.ts +2 -2
- package/dist/components/drawer/view.d.ts +2 -2
- package/dist/components/flashcard/index.d.ts +9 -9
- package/dist/components/hero/context.d.ts +2 -2
- package/dist/components/hero/index.d.ts +2 -2
- package/dist/components/hero/subtitle.d.ts +2 -2
- package/dist/components/hero/title.d.ts +2 -2
- package/dist/components/hotkey/context.d.ts +4 -4
- package/dist/components/hotkey/index.d.ts +2 -2
- package/dist/components/hotkey/set.d.ts +2 -2
- package/dist/components/icon/context.d.ts +4 -4
- package/dist/components/icon/index.d.ts +2 -2
- package/dist/components/input/context.d.ts +2 -2
- package/dist/components/input/index.d.ts +2 -2
- package/dist/components/input/index.js +3 -2
- package/dist/components/input/index.js.map +1 -1
- package/dist/components/input/styles.module.css +5 -1
- package/dist/components/kanban/card-body.d.ts +2 -2
- package/dist/components/kanban/card-header-actions.d.ts +2 -2
- package/dist/components/kanban/card-header-title.d.ts +2 -2
- package/dist/components/kanban/card-header.d.ts +2 -2
- package/dist/components/kanban/card.d.ts +2 -2
- package/dist/components/kanban/column-actions.d.ts +2 -2
- package/dist/components/kanban/column-container.d.ts +2 -2
- package/dist/components/kanban/column-content.d.ts +2 -2
- package/dist/components/kanban/column-header-actions.d.ts +2 -2
- package/dist/components/kanban/column-header-drag-handle.d.ts +2 -2
- package/dist/components/kanban/column-header-title.d.ts +2 -2
- package/dist/components/kanban/column-header.d.ts +2 -2
- package/dist/components/kanban/column.d.ts +2 -2
- package/dist/components/kanban/context.d.ts +2 -2
- package/dist/components/kanban/header-actions.d.ts +2 -2
- package/dist/components/kanban/header-search.d.ts +2 -2
- package/dist/components/kanban/header-title.d.ts +2 -2
- package/dist/components/kanban/header.d.ts +2 -2
- package/dist/components/kanban/kanban.d.ts +4 -4
- package/dist/components/label/context.d.ts +4 -4
- package/dist/components/label/index.d.ts +2 -2
- package/dist/components/lines/index.d.ts +2 -2
- package/dist/components/link/context.d.ts +2 -2
- package/dist/components/link/index.d.ts +2 -2
- package/dist/components/list/context.d.ts +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/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/styles.module.css +62 -46
- package/dist/components/menu/submenu.d.ts +2 -2
- package/dist/components/notice/index.d.ts +2 -2
- package/dist/components/notice/list.d.ts +2 -2
- package/dist/components/notice/notice-icon.d.ts +2 -2
- package/dist/components/options/context.d.ts +2 -2
- package/dist/components/options/index.d.ts +2 -2
- package/dist/components/options/item-content.d.ts +2 -2
- package/dist/components/options/item-description.d.ts +2 -2
- package/dist/components/options/item-label.d.ts +2 -2
- package/dist/components/options/item.d.ts +2 -2
- package/dist/components/options/section.d.ts +2 -2
- package/dist/components/pagination/context.d.ts +2 -2
- package/dist/components/pagination/index.d.ts +2 -2
- package/dist/components/pagination/next.d.ts +2 -2
- package/dist/components/pagination/pages.d.ts +2 -2
- package/dist/components/pagination/prev.d.ts +2 -2
- package/dist/components/popover/content.d.ts +2 -2
- package/dist/components/popover/footer.d.ts +2 -2
- package/dist/components/popover/index.d.ts +2 -2
- package/dist/components/popover/title.d.ts +2 -2
- package/dist/components/popover/trigger.d.ts +2 -2
- package/dist/components/query-builder/action-element.d.ts +2 -2
- package/dist/components/query-builder/actions.d.ts +4 -4
- package/dist/components/query-builder/combinator-selector.d.ts +2 -2
- package/dist/components/query-builder/index.d.ts +2 -2
- package/dist/components/query-builder/rule-group.d.ts +4 -4
- package/dist/components/query-builder/rule.d.ts +2 -2
- package/dist/components/query-builder/value-editor.d.ts +2 -2
- package/dist/components/query-builder/value-selector.d.ts +2 -2
- package/dist/components/radio/context.d.ts +2 -2
- package/dist/components/radio/group.d.ts +2 -2
- package/dist/components/radio/index.d.ts +2 -2
- package/dist/components/search-field/context.d.ts +4 -4
- package/dist/components/search-field/index.d.ts +2 -2
- package/dist/components/select-field/context.d.ts +4 -4
- package/dist/components/select-field/index.d.ts +2 -2
- package/dist/components/select-field/index.js +10 -4
- package/dist/components/select-field/index.js.map +1 -1
- package/dist/components/select-field/styles.module.css +4 -0
- package/dist/components/select-field/types.d.ts +1 -0
- package/dist/components/sidenav/avatar.d.ts +2 -2
- package/dist/components/sidenav/content.d.ts +2 -2
- package/dist/components/sidenav/context.d.ts +2 -2
- package/dist/components/sidenav/footer.d.ts +2 -2
- package/dist/components/sidenav/header.d.ts +2 -2
- package/dist/components/sidenav/index.d.ts +2 -2
- package/dist/components/sidenav/item.d.ts +2 -2
- package/dist/components/sidenav/link.d.ts +2 -2
- package/dist/components/sidenav/menu-item.d.ts +2 -2
- package/dist/components/sidenav/menu.d.ts +2 -2
- package/dist/components/sidenav/trigger.d.ts +2 -2
- package/dist/components/skeleton/index.d.ts +2 -2
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/switch/context.d.ts +4 -4
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/table/body.d.ts +2 -2
- package/dist/components/table/cell.d.ts +2 -2
- package/dist/components/table/context.d.ts +2 -2
- package/dist/components/table/header-cell.d.ts +2 -2
- package/dist/components/table/header.d.ts +2 -2
- package/dist/components/table/index.d.ts +2 -2
- package/dist/components/table/row.d.ts +2 -2
- package/dist/components/tabs/context.d.ts +4 -4
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/tabs/list.d.ts +2 -2
- package/dist/components/tabs/panel.d.ts +2 -2
- package/dist/components/tabs/tab.d.ts +2 -2
- package/dist/components/text-area-field/context.d.ts +4 -4
- package/dist/components/text-area-field/index.d.ts +2 -2
- package/dist/components/text-area-field/styles.module.css +4 -0
- 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 +3 -2
- package/dist/components/time-field/index.js +4 -2
- package/dist/components/time-field/index.js.map +1 -1
- package/dist/components/time-field/styles.module.css +5 -2
- package/dist/components/tooltip/context.d.ts +2 -2
- package/dist/components/tooltip/index.d.ts +2 -2
- package/dist/components/tooltip/trigger.d.ts +2 -2
- package/dist/components/tree/context.d.ts +3 -3
- package/dist/components/tree/index.d.ts +2 -2
- package/dist/components/tree/item-actions.d.ts +2 -2
- package/dist/components/tree/item-content.d.ts +2 -2
- package/dist/components/tree/item-description.d.ts +2 -2
- package/dist/components/tree/item-label.d.ts +2 -2
- package/dist/components/tree/item-prefix-icon.d.ts +2 -2
- package/dist/components/tree/item.d.ts +2 -2
- package/dist/components/tree/lines.d.ts +2 -2
- package/dist/components/view-stack/context.d.ts +2 -2
- package/dist/components/view-stack/index.d.ts +2 -2
- package/dist/components/view-stack/trigger.d.ts +2 -2
- package/dist/components/view-stack/view.d.ts +2 -2
- package/dist/hooks/use-frame-delay/index.d.ts +38 -0
- package/dist/hooks/use-frame-delay/index.js +61 -0
- package/dist/hooks/use-frame-delay/index.js.map +1 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +3 -1
- package/dist/providers/portal.d.ts +2 -2
- package/dist/providers/theme-provider.d.ts +2 -2
- package/package.json +13 -10
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime130 from "react/jsx-runtime";
|
|
15
15
|
import { RuleProps } from "react-querybuilder";
|
|
16
16
|
|
|
17
17
|
//#region src/components/query-builder/rule.d.ts
|
|
18
|
-
declare function Rule(props: RuleProps):
|
|
18
|
+
declare function Rule(props: RuleProps): react_jsx_runtime130.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { Rule };
|
|
21
21
|
//# sourceMappingURL=rule.d.ts.map
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime131 from "react/jsx-runtime";
|
|
15
15
|
import { ValueEditorProps } from "react-querybuilder";
|
|
16
16
|
|
|
17
17
|
//#region src/components/query-builder/value-editor.d.ts
|
|
18
|
-
declare function ValueEditor(props: ValueEditorProps):
|
|
18
|
+
declare function ValueEditor(props: ValueEditorProps): react_jsx_runtime131.JSX.Element | null;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ValueEditor };
|
|
21
21
|
//# sourceMappingURL=value-editor.d.ts.map
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime132 from "react/jsx-runtime";
|
|
15
15
|
import { ValueSelectorProps } from "react-querybuilder";
|
|
16
16
|
|
|
17
17
|
//#region src/components/query-builder/value-selector.d.ts
|
|
18
|
-
declare function ValueSelector(props: ValueSelectorProps):
|
|
18
|
+
declare function ValueSelector(props: ValueSelectorProps): react_jsx_runtime132.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ValueSelector };
|
|
21
21
|
//# sourceMappingURL=value-selector.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { RadioGroupProps as RadioGroupProps$1 } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react36 from "react";
|
|
16
16
|
import { ContextValue } from "react-aria-components";
|
|
17
17
|
|
|
18
18
|
//#region src/components/radio/context.d.ts
|
|
@@ -21,7 +21,7 @@ import { ContextValue } from "react-aria-components";
|
|
|
21
21
|
*
|
|
22
22
|
* Provides context for RadioGroup component to share state with Radio components
|
|
23
23
|
*/
|
|
24
|
-
declare const RadioContext:
|
|
24
|
+
declare const RadioContext: react36.Context<ContextValue<RadioGroupProps$1, HTMLDivElement>>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { RadioContext };
|
|
27
27
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { RadioGroupProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime133 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/radio/group.d.ts
|
|
18
18
|
/**
|
|
@@ -24,7 +24,7 @@ import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
|
24
24
|
declare function RadioGroup({
|
|
25
25
|
ref,
|
|
26
26
|
...props
|
|
27
|
-
}: RadioGroupProps):
|
|
27
|
+
}: RadioGroupProps): react_jsx_runtime133.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { RadioGroup };
|
|
30
30
|
//# sourceMappingURL=group.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { RadioProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime134 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/radio/index.d.ts
|
|
18
18
|
|
|
@@ -51,7 +51,7 @@ declare function Radio({
|
|
|
51
51
|
classNames,
|
|
52
52
|
children,
|
|
53
53
|
...rest
|
|
54
|
-
}: RadioProps):
|
|
54
|
+
}: RadioProps): react_jsx_runtime134.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { Radio };
|
|
57
57
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { SearchFieldProps as SearchFieldProps$1 } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react37 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime135 from "react/jsx-runtime";
|
|
19
19
|
|
|
20
20
|
//#region src/components/search-field/context.d.ts
|
|
21
21
|
/**
|
|
@@ -23,7 +23,7 @@ import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
|
23
23
|
*
|
|
24
24
|
* Provides context for SearchField component to share props
|
|
25
25
|
*/
|
|
26
|
-
declare const SearchFieldContext:
|
|
26
|
+
declare const SearchFieldContext: react37.Context<ContextValue<SearchFieldProps$1, HTMLDivElement>>;
|
|
27
27
|
/**
|
|
28
28
|
* Provider for SearchField component
|
|
29
29
|
*
|
|
@@ -32,7 +32,7 @@ declare const SearchFieldContext: react3.Context<ContextValue<SearchFieldProps$1
|
|
|
32
32
|
declare function SearchFieldProvider({
|
|
33
33
|
children,
|
|
34
34
|
...props
|
|
35
|
-
}: ProviderProps<SearchFieldProps$1>):
|
|
35
|
+
}: ProviderProps<SearchFieldProps$1>): react_jsx_runtime135.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { SearchFieldContext, SearchFieldProvider };
|
|
38
38
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SearchFieldProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime136 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/search-field/index.d.ts
|
|
18
18
|
|
|
@@ -50,7 +50,7 @@ import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
|
50
50
|
declare function SearchField({
|
|
51
51
|
ref,
|
|
52
52
|
...props
|
|
53
|
-
}: SearchFieldProps):
|
|
53
|
+
}: SearchFieldProps): react_jsx_runtime136.JSX.Element;
|
|
54
54
|
//#endregion
|
|
55
55
|
export { SearchField };
|
|
56
56
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { SelectFieldProps } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react38 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime137 from "react/jsx-runtime";
|
|
19
19
|
|
|
20
20
|
//#region src/components/select-field/context.d.ts
|
|
21
|
-
declare const SelectFieldContext:
|
|
21
|
+
declare const SelectFieldContext: react38.Context<ContextValue<SelectFieldProps, HTMLDivElement>>;
|
|
22
22
|
declare function SelectFieldProvider({
|
|
23
23
|
children,
|
|
24
24
|
...props
|
|
25
|
-
}: ProviderProps<SelectFieldProps>):
|
|
25
|
+
}: ProviderProps<SelectFieldProps>): react_jsx_runtime137.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { SelectFieldContext, SelectFieldProvider };
|
|
28
28
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SelectFieldProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime138 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/select-field/index.d.ts
|
|
18
18
|
|
|
@@ -63,7 +63,7 @@ import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
|
63
63
|
declare function SelectField({
|
|
64
64
|
ref,
|
|
65
65
|
...props
|
|
66
|
-
}: SelectFieldProps):
|
|
66
|
+
}: SelectFieldProps): react_jsx_runtime138.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { SelectField };
|
|
69
69
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -20,7 +20,7 @@ import { Options } from "../options/index.js";
|
|
|
20
20
|
import { SelectFieldContext } from "./context.js";
|
|
21
21
|
import "client-only";
|
|
22
22
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
23
|
-
import { FieldError, ListLayout, Popover, Select, SelectValue, Text, Virtualizer, composeRenderProps, useContextProps } from "react-aria-components";
|
|
23
|
+
import { Button, FieldError, ListLayout, Popover, Select, SelectValue, Text, Virtualizer, composeRenderProps, useContextProps } from "react-aria-components";
|
|
24
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
25
25
|
import ChevronDown from "@accelint/icons/chevron-down";
|
|
26
26
|
import styles from "./styles.module.css";
|
|
@@ -72,17 +72,19 @@ import styles from "./styles.module.css";
|
|
|
72
72
|
*/
|
|
73
73
|
function SelectField({ ref, ...props }) {
|
|
74
74
|
[props, ref] = useContextProps(props, ref ?? null, SelectFieldContext);
|
|
75
|
-
const { size = "medium", children, classNames, description: descriptionProp, errorMessage: errorMessageProp, label: labelProp, layoutOptions, isInvalid: isInvalidProp, ...rest } = props;
|
|
75
|
+
const { size = "medium", children, classNames, description: descriptionProp, errorMessage: errorMessageProp, label: labelProp, layoutOptions, isInvalid: isInvalidProp, isReadOnly, ...rest } = props;
|
|
76
76
|
const errorMessage = errorMessageProp?.trim() ?? null;
|
|
77
77
|
const isInvalid = isInvalidProp ?? !!errorMessage;
|
|
78
78
|
const isSmall = size === "small";
|
|
79
79
|
const showLabel = !isSmall && !!labelProp;
|
|
80
|
+
const shouldShowDescription = !isReadOnly && !!descriptionProp && !(isSmall || isInvalid);
|
|
80
81
|
return /* @__PURE__ */ jsx(Select, {
|
|
81
82
|
...rest,
|
|
82
83
|
ref,
|
|
83
84
|
className: composeRenderProps(classNames?.field, (className) => clsx("group/select-field", styles.field, className)),
|
|
84
85
|
isInvalid,
|
|
85
86
|
"data-size": size,
|
|
87
|
+
"data-readonly": isReadOnly,
|
|
86
88
|
children: composeRenderProps(children, (children$1, { isRequired, isDisabled, isInvalid: isInvalid$1 }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
87
89
|
showLabel && /* @__PURE__ */ jsx(Label$1, {
|
|
88
90
|
className: clsx(styles.label, classNames?.label),
|
|
@@ -90,13 +92,17 @@ function SelectField({ ref, ...props }) {
|
|
|
90
92
|
isDisabled,
|
|
91
93
|
children: labelProp
|
|
92
94
|
}),
|
|
93
|
-
/* @__PURE__ */
|
|
95
|
+
isReadOnly ? /* @__PURE__ */ jsx(Button, {
|
|
96
|
+
isDisabled: true,
|
|
97
|
+
className: styles.readonly,
|
|
98
|
+
children: /* @__PURE__ */ jsx(SelectValue, { className: clsx(styles.value, classNames?.value) })
|
|
99
|
+
}) : /* @__PURE__ */ jsxs(Button$1, {
|
|
94
100
|
className: composeRenderProps(classNames?.trigger, (className) => clsx(styles.trigger, className)),
|
|
95
101
|
size,
|
|
96
102
|
variant: "outline",
|
|
97
103
|
children: [/* @__PURE__ */ jsx(SelectValue, { className: clsx(styles.value, classNames?.value) }), /* @__PURE__ */ jsx(Icon, { children: /* @__PURE__ */ jsx(ChevronDown, { className: "transform group-open/select-field:rotate-180" }) })]
|
|
98
104
|
}),
|
|
99
|
-
|
|
105
|
+
shouldShowDescription && /* @__PURE__ */ jsx(Text, {
|
|
100
106
|
slot: "description",
|
|
101
107
|
className: clsx(styles.description, classNames?.description),
|
|
102
108
|
children: descriptionProp
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["AriaSelect","Label","
|
|
1
|
+
{"version":3,"file":"index.js","names":["AriaSelect","Label","AriaButton","Button","children"],"sources":["../../../src/components/select-field/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 ChevronDown from '@accelint/icons/chevron-down';\nimport {\n Button as AriaButton,\n Select as AriaSelect,\n composeRenderProps,\n FieldError,\n ListLayout,\n Popover,\n SelectValue,\n Text,\n useContextProps,\n Virtualizer,\n} from 'react-aria-components';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { Label } from '../label';\nimport { Options } from '../options';\nimport { SelectFieldContext } from './context';\nimport styles from './styles.module.css';\nimport type { SelectFieldProps } from './types';\n\n/**\n * SelectField - A dropdown selection component with comprehensive form field features\n *\n * Provides an accessible and feature-rich select dropdown with built-in validation,\n * multiple sizing options, virtualization support for large datasets, and seamless\n * integration with form libraries. Includes label, description, and error messaging\n * capabilities with customizable styling through className props.\n *\n * @example\n * // Basic select field\n * <SelectField label='Country' placeholder='Select a country'>\n * <OptionsItem textValue='us'>United States</OptionsItem>\n * <OptionsItem textValue='ca'>Canada</OptionsItem>\n * <OptionsItem textValue='uk'>United Kingdom</OptionsItem>\n * </SelectField>\n *\n * @example\n * // Select field with validation and description\n * <SelectField\n * label=\"Priority Level\"\n * description=\"Choose the urgency level for this task\"\n * errorMessage={errors.priority}\n * isRequired\n * isInvalid={!!errors.priority}\n * >\n * <OptionsItem textValue=\"low\">Low</OptionsItem>\n * <OptionsItem textValue=\"medium\">Medium</OptionsItem>\n * <OptionsItem textValue=\"high\">High</OptionsItem>\n * </SelectField>\n *\n * @example\n * // Small size select field with custom styling\n * <SelectField\n * size=\"small\"\n * placeholder=\"Quick select\"\n * classNames={{\n * field: \"custom-field-styles\",\n * trigger: \"custom-trigger-styles\"\n * }}\n * >\n * <OptionsItem textValue=\"option1\">Option 1</OptionsItem>\n * <OptionsItem textValue=\"option2\">Option 2</OptionsItem>\n * </SelectField>\n */\nexport function SelectField({ ref, ...props }: SelectFieldProps) {\n [props, ref] = useContextProps(props, ref ?? null, SelectFieldContext);\n\n const {\n size = 'medium',\n children,\n classNames,\n description: descriptionProp,\n errorMessage: errorMessageProp,\n label: labelProp,\n layoutOptions,\n isInvalid: isInvalidProp,\n isReadOnly,\n ...rest\n } = props;\n\n const errorMessage = errorMessageProp?.trim() ?? null;\n const hasError = !!errorMessage;\n const isInvalid = isInvalidProp ?? hasError;\n const isSmall = size === 'small';\n const showLabel = !isSmall && !!labelProp;\n const shouldShowDescription =\n !isReadOnly && !!descriptionProp && !(isSmall || isInvalid);\n\n return (\n <AriaSelect\n {...rest}\n ref={ref}\n className={composeRenderProps(classNames?.field, (className) =>\n clsx('group/select-field', styles.field, className),\n )}\n isInvalid={isInvalid}\n data-size={size}\n data-readonly={isReadOnly}\n >\n {composeRenderProps(\n children,\n (children, { isRequired, isDisabled, isInvalid }) => (\n <>\n {showLabel && (\n <Label\n className={clsx(styles.label, classNames?.label)}\n isRequired={isRequired}\n isDisabled={isDisabled}\n >\n {labelProp}\n </Label>\n )}\n {isReadOnly ? (\n // Using the native RAC disabled button component because we don't want the DTK button styles\n <AriaButton isDisabled className={styles.readonly}>\n <SelectValue\n className={clsx(styles.value, classNames?.value)}\n />\n </AriaButton>\n ) : (\n <Button\n className={composeRenderProps(\n classNames?.trigger,\n (className) => clsx(styles.trigger, className),\n )}\n size={size}\n variant='outline'\n >\n <SelectValue\n className={clsx(styles.value, classNames?.value)}\n />\n <Icon>\n <ChevronDown className='transform group-open/select-field:rotate-180' />\n </Icon>\n </Button>\n )}\n {shouldShowDescription && (\n <Text\n slot='description'\n className={clsx(styles.description, classNames?.description)}\n >\n {descriptionProp}\n </Text>\n )}\n <FieldError\n className={composeRenderProps(classNames?.error, (className) =>\n clsx(styles.error, className),\n )}\n >\n {errorMessage}\n </FieldError>\n <Popover\n className={composeRenderProps(classNames?.popover, (className) =>\n clsx(styles.popover, className),\n )}\n >\n <Virtualizer layout={ListLayout} layoutOptions={layoutOptions}>\n <Options>{children}</Options>\n </Virtualizer>\n </Popover>\n </>\n ),\n )}\n </AriaSelect>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFA,SAAgB,YAAY,EAAE,KAAK,GAAG,SAA2B;AAC/D,EAAC,OAAO,OAAO,gBAAgB,OAAO,OAAO,MAAM,mBAAmB;CAEtE,MAAM,EACJ,OAAO,UACP,UACA,YACA,aAAa,iBACb,cAAc,kBACd,OAAO,WACP,eACA,WAAW,eACX,YACA,GAAG,SACD;CAEJ,MAAM,eAAe,kBAAkB,MAAM,IAAI;CAEjD,MAAM,YAAY,iBADD,CAAC,CAAC;CAEnB,MAAM,UAAU,SAAS;CACzB,MAAM,YAAY,CAAC,WAAW,CAAC,CAAC;CAChC,MAAM,wBACJ,CAAC,cAAc,CAAC,CAAC,mBAAmB,EAAE,WAAW;AAEnD,QACE,oBAACA;EACC,GAAI;EACC;EACL,WAAW,mBAAmB,YAAY,QAAQ,cAChD,KAAK,sBAAsB,OAAO,OAAO,UAAU,CACpD;EACU;EACX,aAAW;EACX,iBAAe;YAEd,mBACC,WACC,YAAU,EAAE,YAAY,YAAY,6BACnC;GACG,aACC,oBAACC;IACC,WAAW,KAAK,OAAO,OAAO,YAAY,MAAM;IACpC;IACA;cAEX;KACK;GAET,aAEC,oBAACC;IAAW;IAAW,WAAW,OAAO;cACvC,oBAAC,eACC,WAAW,KAAK,OAAO,OAAO,YAAY,MAAM,GAChD;KACS,GAEb,qBAACC;IACC,WAAW,mBACT,YAAY,UACX,cAAc,KAAK,OAAO,SAAS,UAAU,CAC/C;IACK;IACN,SAAQ;eAER,oBAAC,eACC,WAAW,KAAK,OAAO,OAAO,YAAY,MAAM,GAChD,EACF,oBAAC,kBACC,oBAAC,eAAY,WAAU,iDAAiD,GACnE;KACA;GAEV,yBACC,oBAAC;IACC,MAAK;IACL,WAAW,KAAK,OAAO,aAAa,YAAY,YAAY;cAE3D;KACI;GAET,oBAAC;IACC,WAAW,mBAAmB,YAAY,QAAQ,cAChD,KAAK,OAAO,OAAO,UAAU,CAC9B;cAEA;KACU;GACb,oBAAC;IACC,WAAW,mBAAmB,YAAY,UAAU,cAClD,KAAK,OAAO,SAAS,UAAU,CAChC;cAED,oBAAC;KAAY,QAAQ;KAA2B;eAC9C,oBAAC,qBAASC,aAAmB;MACjB;KACN;MACT,CAEN;GACU"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SidenavAvatarProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime139 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/sidenav/avatar.d.ts
|
|
18
18
|
/**
|
|
@@ -24,7 +24,7 @@ declare function SidenavAvatar({
|
|
|
24
24
|
children,
|
|
25
25
|
className,
|
|
26
26
|
...rest
|
|
27
|
-
}: SidenavAvatarProps):
|
|
27
|
+
}: SidenavAvatarProps): react_jsx_runtime139.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { SidenavAvatar };
|
|
30
30
|
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SidenavContentProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime140 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/sidenav/content.d.ts
|
|
18
18
|
/**
|
|
@@ -24,7 +24,7 @@ declare function SidenavContent({
|
|
|
24
24
|
className,
|
|
25
25
|
children,
|
|
26
26
|
...rest
|
|
27
|
-
}: SidenavContentProps):
|
|
27
|
+
}: SidenavContentProps): react_jsx_runtime140.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { SidenavContent };
|
|
30
30
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
|
|
13
13
|
import { SidenavContextValue } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react39 from "react";
|
|
16
16
|
|
|
17
17
|
//#region src/components/sidenav/context.d.ts
|
|
18
|
-
declare const SidenavContext:
|
|
18
|
+
declare const SidenavContext: react39.Context<SidenavContextValue>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { SidenavContext };
|
|
21
21
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { SidenavFooterProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime141 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/sidenav/footer.d.ts
|
|
17
17
|
/**
|
|
@@ -19,7 +19,7 @@ import * as react_jsx_runtime47 from "react/jsx-runtime";
|
|
|
19
19
|
*
|
|
20
20
|
* Provides a footer container for the sidenav
|
|
21
21
|
*/
|
|
22
|
-
declare function SidenavFooter(props: SidenavFooterProps):
|
|
22
|
+
declare function SidenavFooter(props: SidenavFooterProps): react_jsx_runtime141.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { SidenavFooter };
|
|
25
25
|
//# sourceMappingURL=footer.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SidenavHeaderProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime142 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/sidenav/header.d.ts
|
|
18
18
|
/**
|
|
@@ -24,7 +24,7 @@ declare function SidenavHeader({
|
|
|
24
24
|
children,
|
|
25
25
|
classNames,
|
|
26
26
|
...rest
|
|
27
|
-
}: SidenavHeaderProps):
|
|
27
|
+
}: SidenavHeaderProps): react_jsx_runtime142.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { SidenavHeader };
|
|
30
30
|
//# sourceMappingURL=header.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SidenavProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime143 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/sidenav/index.d.ts
|
|
18
18
|
|
|
@@ -78,7 +78,7 @@ declare function Sidenav({
|
|
|
78
78
|
isHiddenWhenClosed,
|
|
79
79
|
children,
|
|
80
80
|
...rest
|
|
81
|
-
}: SidenavProps):
|
|
81
|
+
}: SidenavProps): react_jsx_runtime143.JSX.Element | null;
|
|
82
82
|
//#endregion
|
|
83
83
|
export { Sidenav };
|
|
84
84
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SidenavItemProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime112 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/sidenav/item.d.ts
|
|
18
18
|
/**
|
|
@@ -25,7 +25,7 @@ declare function SidenavItem({
|
|
|
25
25
|
classNames,
|
|
26
26
|
textValue,
|
|
27
27
|
...rest
|
|
28
|
-
}: SidenavItemProps):
|
|
28
|
+
}: SidenavItemProps): react_jsx_runtime112.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { SidenavItem };
|
|
31
31
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SidenavLinkProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime155 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/sidenav/link.d.ts
|
|
18
18
|
/**
|
|
@@ -25,7 +25,7 @@ declare function SidenavLink({
|
|
|
25
25
|
classNames,
|
|
26
26
|
textValue,
|
|
27
27
|
...rest
|
|
28
|
-
}: SidenavLinkProps):
|
|
28
|
+
}: SidenavLinkProps): react_jsx_runtime155.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { SidenavLink };
|
|
31
31
|
//# sourceMappingURL=link.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { SidenavMenuItemProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime157 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/sidenav/menu-item.d.ts
|
|
17
17
|
/**
|
|
@@ -23,7 +23,7 @@ declare function SidenavMenuItem({
|
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
...rest
|
|
26
|
-
}: SidenavMenuItemProps):
|
|
26
|
+
}: SidenavMenuItemProps): react_jsx_runtime157.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { SidenavMenuItem };
|
|
29
29
|
//# sourceMappingURL=menu-item.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SidenavMenuProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime156 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/sidenav/menu.d.ts
|
|
18
18
|
/**
|
|
@@ -26,7 +26,7 @@ declare function SidenavMenu({
|
|
|
26
26
|
classNames,
|
|
27
27
|
children,
|
|
28
28
|
...rest
|
|
29
|
-
}: SidenavMenuProps):
|
|
29
|
+
}: SidenavMenuProps): react_jsx_runtime156.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { SidenavMenu };
|
|
32
32
|
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SidenavTriggerProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime158 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/sidenav/trigger.d.ts
|
|
18
18
|
/**
|
|
@@ -24,7 +24,7 @@ declare function SidenavTrigger({
|
|
|
24
24
|
children,
|
|
25
25
|
for: type,
|
|
26
26
|
...rest
|
|
27
|
-
}: SidenavTriggerProps):
|
|
27
|
+
}: SidenavTriggerProps): react_jsx_runtime158.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { SidenavTrigger };
|
|
30
30
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { SkeletonProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime159 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/skeleton/index.d.ts
|
|
17
17
|
|
|
@@ -49,7 +49,7 @@ declare function Skeleton({
|
|
|
49
49
|
className,
|
|
50
50
|
variant,
|
|
51
51
|
...rest
|
|
52
|
-
}: SkeletonProps):
|
|
52
|
+
}: SkeletonProps): react_jsx_runtime159.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
export { Skeleton };
|
|
55
55
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SliderProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime161 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/slider/index.d.ts
|
|
18
18
|
|
|
@@ -70,7 +70,7 @@ declare function Slider({
|
|
|
70
70
|
step: stepProp,
|
|
71
71
|
value: valueProp,
|
|
72
72
|
...rest
|
|
73
|
-
}: SliderProps):
|
|
73
|
+
}: SliderProps): react_jsx_runtime161.JSX.Element;
|
|
74
74
|
//#endregion
|
|
75
75
|
export { Slider };
|
|
76
76
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { SwitchProps as SwitchProps$1 } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react41 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime160 from "react/jsx-runtime";
|
|
19
19
|
|
|
20
20
|
//#region src/components/switch/context.d.ts
|
|
21
21
|
/**
|
|
@@ -23,7 +23,7 @@ import * as react_jsx_runtime126 from "react/jsx-runtime";
|
|
|
23
23
|
*
|
|
24
24
|
* Provides context for Switch component to share props
|
|
25
25
|
*/
|
|
26
|
-
declare const SwitchContext:
|
|
26
|
+
declare const SwitchContext: react41.Context<ContextValue<SwitchProps$1, HTMLLabelElement>>;
|
|
27
27
|
/**
|
|
28
28
|
* Provider for Switch component
|
|
29
29
|
*
|
|
@@ -32,7 +32,7 @@ declare const SwitchContext: react30.Context<ContextValue<SwitchProps$1, HTMLLab
|
|
|
32
32
|
declare function SwitchProvider({
|
|
33
33
|
children,
|
|
34
34
|
...props
|
|
35
|
-
}: ProviderProps<SwitchProps$1>):
|
|
35
|
+
}: ProviderProps<SwitchProps$1>): react_jsx_runtime160.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { SwitchContext, SwitchProvider };
|
|
38
38
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SwitchProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime162 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/switch/index.d.ts
|
|
18
18
|
|
|
@@ -55,7 +55,7 @@ import * as react_jsx_runtime130 from "react/jsx-runtime";
|
|
|
55
55
|
declare function Switch({
|
|
56
56
|
ref,
|
|
57
57
|
...props
|
|
58
|
-
}: SwitchProps):
|
|
58
|
+
}: SwitchProps): react_jsx_runtime162.JSX.Element;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { Switch };
|
|
61
61
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { TableBodyProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime163 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/table/body.d.ts
|
|
17
17
|
declare function TableBody<T>({
|
|
@@ -20,7 +20,7 @@ declare function TableBody<T>({
|
|
|
20
20
|
ref,
|
|
21
21
|
rows,
|
|
22
22
|
...rest
|
|
23
|
-
}: TableBodyProps<T>):
|
|
23
|
+
}: TableBodyProps<T>): react_jsx_runtime163.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { TableBody };
|
|
26
26
|
//# sourceMappingURL=body.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { TableCellProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime164 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/table/cell.d.ts
|
|
17
17
|
declare function TableCell<T>({
|
|
@@ -20,7 +20,7 @@ declare function TableCell<T>({
|
|
|
20
20
|
className,
|
|
21
21
|
cell,
|
|
22
22
|
...rest
|
|
23
|
-
}: TableCellProps<T>):
|
|
23
|
+
}: TableCellProps<T>): react_jsx_runtime164.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { TableCell };
|
|
26
26
|
//# sourceMappingURL=cell.d.ts.map
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { TableContextValue } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react42 from "react";
|
|
15
15
|
|
|
16
16
|
//#region src/components/table/context.d.ts
|
|
17
|
-
declare const TableContext:
|
|
17
|
+
declare const TableContext: react42.Context<TableContextValue>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { TableContext };
|
|
20
20
|
//# sourceMappingURL=context.d.ts.map
|