@accelint/design-toolkit 9.4.0 → 9.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog-info.yaml +2 -2
- package/dist/components/accordion/group.d.ts +2 -2
- package/dist/components/accordion/header.d.ts +2 -2
- package/dist/components/accordion/index.d.ts +2 -2
- package/dist/components/accordion/panel.d.ts +2 -2
- package/dist/components/accordion/styles.module.css +1 -1
- 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 +104 -0
- package/dist/components/audio/index.js +242 -0
- package/dist/components/audio/index.js.map +1 -0
- package/dist/components/audio/styles.module.css +77 -0
- package/dist/components/audio/types.d.ts +45 -0
- package/dist/components/audio/types.js +12 -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/breadcrumbs/styles.module.css +1 -0
- package/dist/components/button/__internal__/clear.js +42 -0
- package/dist/components/button/__internal__/clear.js.map +1 -0
- package/dist/components/button/__internal__/styles.module.css +23 -0
- 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/styles.module.css +1 -1
- 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/chip/styles.module.css +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/clock/index.js +1 -0
- package/dist/components/clock/index.js.map +1 -1
- 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 +42 -14
- package/dist/components/combobox-field/index.js.map +1 -1
- package/dist/components/combobox-field/styles.module.css +15 -3
- package/dist/components/combobox-field/types.d.ts +4 -0
- 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 +2 -2
- package/dist/components/coordinate-field/index.js.map +1 -1
- package/dist/components/coordinate-field/segment-configs.js +1 -1
- package/dist/components/coordinate-field/segment-configs.js.map +1 -1
- package/dist/components/coordinate-field/segment.d.ts +2 -2
- package/dist/components/coordinate-field/segment.js +8 -8
- package/dist/components/coordinate-field/segment.js.map +1 -1
- package/dist/components/coordinate-field/styles.module.css +7 -3
- 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/header.js +1 -1
- package/dist/components/drawer/index.d.ts +2 -2
- package/dist/components/drawer/layout-main.d.ts +2 -2
- package/dist/components/drawer/layout.d.ts +2 -2
- package/dist/components/drawer/menu-item.d.ts +2 -2
- package/dist/components/drawer/menu.d.ts +2 -2
- package/dist/components/drawer/panel.d.ts +2 -2
- package/dist/components/drawer/trigger.d.ts +2 -2
- package/dist/components/drawer/view.d.ts +2 -2
- package/dist/components/flashcard/index.d.ts +9 -9
- package/dist/components/hero/context.d.ts +2 -2
- package/dist/components/hero/index.d.ts +2 -2
- package/dist/components/hero/subtitle.d.ts +2 -2
- package/dist/components/hero/title.d.ts +2 -2
- package/dist/components/hotkey/context.d.ts +4 -4
- package/dist/components/hotkey/index.d.ts +2 -2
- package/dist/components/hotkey/set.d.ts +2 -2
- package/dist/components/icon/context.d.ts +4 -4
- package/dist/components/icon/index.d.ts +2 -2
- package/dist/components/input/context.d.ts +2 -2
- package/dist/components/input/index.d.ts +2 -2
- package/dist/components/input/index.js +10 -14
- package/dist/components/input/index.js.map +1 -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/kanban/styles.module.css +1 -1
- 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/list/styles.module.css +1 -1
- package/dist/components/media-controls/context.d.ts +66 -0
- package/dist/components/media-controls/context.js +77 -0
- package/dist/components/media-controls/context.js.map +1 -0
- package/dist/components/media-controls/index.d.ts +68 -0
- package/dist/components/media-controls/index.js +78 -0
- package/dist/components/media-controls/index.js.map +1 -0
- package/dist/components/media-controls/mute-button.d.ts +47 -0
- package/dist/components/media-controls/mute-button.js +73 -0
- package/dist/components/media-controls/mute-button.js.map +1 -0
- package/dist/components/media-controls/play-button.d.ts +47 -0
- package/dist/components/media-controls/play-button.js +71 -0
- package/dist/components/media-controls/play-button.js.map +1 -0
- package/dist/components/media-controls/playback-rate.d.ts +58 -0
- package/dist/components/media-controls/playback-rate.js +114 -0
- package/dist/components/media-controls/playback-rate.js.map +1 -0
- package/dist/components/media-controls/seek-button.d.ts +60 -0
- package/dist/components/media-controls/seek-button.js +116 -0
- package/dist/components/media-controls/seek-button.js.map +1 -0
- package/dist/components/media-controls/styles.module.css +145 -0
- package/dist/components/media-controls/time-display.d.ts +69 -0
- package/dist/components/media-controls/time-display.js +95 -0
- package/dist/components/media-controls/time-display.js.map +1 -0
- package/dist/components/media-controls/time-range.d.ts +46 -0
- package/dist/components/media-controls/time-range.js +63 -0
- package/dist/components/media-controls/time-range.js.map +1 -0
- package/dist/components/media-controls/types.d.ts +122 -0
- package/dist/components/media-controls/types.js +12 -0
- package/dist/components/media-controls/volume-slider.d.ts +54 -0
- package/dist/components/media-controls/volume-slider.js +70 -0
- package/dist/components/media-controls/volume-slider.js.map +1 -0
- package/dist/components/menu/context.d.ts +2 -2
- package/dist/components/menu/index.d.ts +2 -2
- package/dist/components/menu/item-description.d.ts +2 -2
- package/dist/components/menu/item-label.d.ts +2 -2
- package/dist/components/menu/item.d.ts +2 -2
- package/dist/components/menu/section.d.ts +2 -2
- package/dist/components/menu/separator.d.ts +2 -2
- package/dist/components/menu/styles.module.css +1 -1
- 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 +1 -1
- 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/combinator-selector.js +5 -4
- package/dist/components/query-builder/combinator-selector.js.map +1 -1
- package/dist/components/query-builder/index.d.ts +2 -2
- package/dist/components/query-builder/rule-group.d.ts +4 -4
- package/dist/components/query-builder/rule.d.ts +2 -2
- package/dist/components/query-builder/value-editor.d.ts +2 -2
- package/dist/components/query-builder/value-selector.d.ts +2 -2
- package/dist/components/radio/context.d.ts +2 -2
- package/dist/components/radio/group.d.ts +2 -2
- package/dist/components/radio/index.d.ts +2 -2
- package/dist/components/search-field/context.d.ts +4 -4
- package/dist/components/search-field/index.d.ts +2 -2
- package/dist/components/select-field/context.d.ts +4 -4
- package/dist/components/select-field/index.d.ts +2 -2
- package/dist/components/sidenav/avatar.d.ts +2 -2
- package/dist/components/sidenav/content.d.ts +2 -2
- package/dist/components/sidenav/context.d.ts +2 -2
- package/dist/components/sidenav/footer.d.ts +2 -2
- package/dist/components/sidenav/header.d.ts +2 -2
- package/dist/components/sidenav/index.d.ts +2 -2
- package/dist/components/sidenav/item.d.ts +2 -2
- package/dist/components/sidenav/link.d.ts +2 -2
- package/dist/components/sidenav/menu-item.d.ts +2 -2
- package/dist/components/sidenav/menu.d.ts +2 -2
- package/dist/components/sidenav/trigger.d.ts +2 -2
- package/dist/components/skeleton/index.d.ts +2 -2
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/status-indicator/index.d.ts +41 -0
- package/dist/components/status-indicator/index.js +49 -0
- package/dist/components/status-indicator/index.js.map +1 -0
- package/dist/components/status-indicator/styles.module.css +34 -0
- package/dist/components/status-indicator/types.d.ts +21 -0
- package/dist/components/status-indicator/types.js +12 -0
- package/dist/components/switch/context.d.ts +2 -2
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/table/body.d.ts +2 -2
- package/dist/components/table/cell.d.ts +2 -2
- package/dist/components/table/context.d.ts +2 -2
- package/dist/components/table/header-cell.d.ts +2 -2
- package/dist/components/table/header.d.ts +2 -2
- package/dist/components/table/index.d.ts +2 -2
- package/dist/components/table/row.d.ts +2 -2
- package/dist/components/tabs/context.d.ts +4 -4
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/tabs/list.d.ts +2 -2
- package/dist/components/tabs/panel.d.ts +2 -2
- package/dist/components/tabs/tab.d.ts +2 -2
- package/dist/components/text-area-field/context.d.ts +4 -4
- package/dist/components/text-area-field/index.d.ts +2 -2
- package/dist/components/text-field/context.d.ts +4 -4
- package/dist/components/text-field/index.d.ts +2 -2
- package/dist/components/time-field/index.d.ts +2 -2
- package/dist/components/tooltip/context.d.ts +2 -2
- package/dist/components/tooltip/index.d.ts +2 -2
- package/dist/components/tooltip/styles.module.css +1 -1
- 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/tree/styles.module.css +1 -1
- 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 +15 -1
- package/dist/index.js +12 -1
- package/dist/providers/portal.d.ts +2 -2
- package/dist/providers/theme-provider.d.ts +2 -2
- package/package.json +20 -5
|
@@ -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
|
|
16
|
+
import * as react24 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
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: react24.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: react1.Context<ContextValue<AvatarProps, HTMLSpanEl
|
|
|
40
40
|
declare function AvatarProvider({
|
|
41
41
|
children,
|
|
42
42
|
...props
|
|
43
|
-
}: ProviderProps<AvatarProps>):
|
|
43
|
+
}: ProviderProps<AvatarProps>): react_jsx_runtime99.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_runtime100 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_runtime4 from "react/jsx-runtime";
|
|
|
55
55
|
declare function Avatar({
|
|
56
56
|
ref,
|
|
57
57
|
...props
|
|
58
|
-
}: AvatarProps):
|
|
58
|
+
}: AvatarProps): react_jsx_runtime100.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
|
|
16
|
+
import * as react25 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime101 from "react/jsx-runtime";
|
|
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: react25.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: react2.Context<ContextValue<BadgeProps, HTMLSpanElem
|
|
|
40
40
|
declare function BadgeProvider({
|
|
41
41
|
children,
|
|
42
42
|
...props
|
|
43
|
-
}: ProviderProps<BadgeProps>):
|
|
43
|
+
}: ProviderProps<BadgeProps>): react_jsx_runtime101.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_runtime102 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_runtime6 from "react/jsx-runtime";
|
|
|
57
57
|
declare function Badge({
|
|
58
58
|
ref,
|
|
59
59
|
...props
|
|
60
|
-
}: BadgeProps):
|
|
60
|
+
}: BadgeProps): react_jsx_runtime102.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { Badge };
|
|
63
63
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
14
|
import { BreadcrumbProps, BreadcrumbsProps } from "react-aria-components";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime105 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/breadcrumbs/index.d.ts
|
|
18
18
|
|
|
@@ -38,7 +38,7 @@ import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
|
38
38
|
declare function Breadcrumbs({
|
|
39
39
|
children,
|
|
40
40
|
className
|
|
41
|
-
}: BreadcrumbsProps<BreadcrumbProps>):
|
|
41
|
+
}: BreadcrumbsProps<BreadcrumbProps>): react_jsx_runtime105.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_runtime106 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_runtime106.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { BreadcrumbItem };
|
|
49
49
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
'use client';
|
|
15
|
+
|
|
16
|
+
import { Icon } from "../../icon/index.js";
|
|
17
|
+
import "client-only";
|
|
18
|
+
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
19
|
+
import { Button, composeRenderProps } from "react-aria-components";
|
|
20
|
+
import { jsx } from "react/jsx-runtime";
|
|
21
|
+
import CancelFill from "@accelint/icons/cancel-fill";
|
|
22
|
+
import styles from "./styles.module.css";
|
|
23
|
+
|
|
24
|
+
//#region src/components/button/__internal__/clear.tsx
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
function ClearButton({ className, ...rest }) {
|
|
29
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
30
|
+
...rest,
|
|
31
|
+
excludeFromTabOrder: true,
|
|
32
|
+
className: composeRenderProps(className, (className$1) => clsx(styles.clearButton, className$1)),
|
|
33
|
+
children: /* @__PURE__ */ jsx(Icon, {
|
|
34
|
+
size: "small",
|
|
35
|
+
children: /* @__PURE__ */ jsx(CancelFill, {})
|
|
36
|
+
})
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
//#endregion
|
|
41
|
+
export { ClearButton };
|
|
42
|
+
//# sourceMappingURL=clear.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clear.js","names":["className"],"sources":["../../../../src/components/button/__internal__/clear.tsx"],"sourcesContent":["// __private-exports\n/*\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\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport CancelFill from '@accelint/icons/cancel-fill';\nimport {\n type ButtonProps as AriaButtonProps,\n Button,\n composeRenderProps,\n} from 'react-aria-components';\nimport { Icon } from '../../icon';\nimport styles from './styles.module.css';\n\n/**\n * ClearButton - Internal-only button for clearing input values\n *\n * A lightweight button component used internally by input\n * components to provide clear functionality. This component is not exported\n * from the design-toolkit package and should not be used directly by consumers.\n *\n * @internal\n */\nexport type ClearButtonProps = Readonly<\n Omit<AriaButtonProps, 'children' | 'size' | 'variant'>\n>;\n\n/**\n * @internal\n */\nexport function ClearButton({ className, ...rest }: ClearButtonProps) {\n return (\n <Button\n {...rest}\n excludeFromTabOrder\n className={composeRenderProps(className, (className) =>\n clsx(styles.clearButton, className),\n )}\n >\n <Icon size='small'>\n <CancelFill />\n </Icon>\n </Button>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,SAAgB,YAAY,EAAE,WAAW,GAAG,QAA0B;AACpE,QACE,oBAAC;EACC,GAAI;EACJ;EACA,WAAW,mBAAmB,YAAY,gBACxC,KAAK,OAAO,aAAaA,YAAU,CACpC;YAED,oBAAC;GAAK,MAAK;aACT,oBAAC,eAAa;IACT;GACA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
@reference '@accelint/design-foundation/styles';
|
|
14
|
+
|
|
15
|
+
@layer components.l1 {
|
|
16
|
+
.clearButton {
|
|
17
|
+
@apply w-content rounded-small gap-xxs text-button-s flex min-w-0 shrink-0 cursor-pointer items-center justify-center;
|
|
18
|
+
|
|
19
|
+
@variant hover {
|
|
20
|
+
@apply bg-interactive-muted-hover;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { ButtonProps as ButtonProps$1, LinkButtonProps, ToggleButtonProps as ToggleButtonProps$1 } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react26 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime107 from "react/jsx-runtime";
|
|
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: react26.Context<ContextValue<ButtonProps$1, HTMLButtonElement>>;
|
|
25
25
|
/**
|
|
26
26
|
* Context provider for setting default props across multiple Button components.
|
|
27
27
|
*
|
|
@@ -40,11 +40,11 @@ declare const ButtonContext: react3.Context<ContextValue<ButtonProps$1, HTMLButt
|
|
|
40
40
|
declare function ButtonProvider({
|
|
41
41
|
children,
|
|
42
42
|
...props
|
|
43
|
-
}: ProviderProps<ButtonProps$1>):
|
|
43
|
+
}: ProviderProps<ButtonProps$1>): react_jsx_runtime107.JSX.Element;
|
|
44
44
|
/**
|
|
45
45
|
* React context for sharing LinkButton configuration across components.
|
|
46
46
|
*/
|
|
47
|
-
declare const LinkButtonContext:
|
|
47
|
+
declare const LinkButtonContext: react26.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: react3.Context<ContextValue<LinkButtonProps, HT
|
|
|
63
63
|
declare function LinkButtonProvider({
|
|
64
64
|
children,
|
|
65
65
|
...props
|
|
66
|
-
}: ProviderProps<LinkButtonProps>):
|
|
66
|
+
}: ProviderProps<LinkButtonProps>): react_jsx_runtime107.JSX.Element;
|
|
67
67
|
/**
|
|
68
68
|
* React context for sharing ToggleButton configuration across components.
|
|
69
69
|
*/
|
|
70
|
-
declare const ToggleButtonContext:
|
|
70
|
+
declare const ToggleButtonContext: react26.Context<ContextValue<ToggleButtonProps$1, HTMLButtonElement>>;
|
|
71
71
|
/**
|
|
72
72
|
* Context provider for setting default props across multiple ToggleButton components.
|
|
73
73
|
*
|
|
@@ -86,7 +86,7 @@ declare const ToggleButtonContext: react3.Context<ContextValue<ToggleButtonProps
|
|
|
86
86
|
declare function ToggleButtonProvider({
|
|
87
87
|
children,
|
|
88
88
|
...props
|
|
89
|
-
}: ProviderProps<ToggleButtonProps$1>):
|
|
89
|
+
}: ProviderProps<ToggleButtonProps$1>): react_jsx_runtime107.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_runtime110 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_runtime14 from "react/jsx-runtime";
|
|
|
72
72
|
declare function Button({
|
|
73
73
|
ref,
|
|
74
74
|
...props
|
|
75
|
-
}: ButtonProps):
|
|
75
|
+
}: ButtonProps): react_jsx_runtime110.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_runtime111 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_runtime13 from "react/jsx-runtime";
|
|
|
73
73
|
declare function LinkButton({
|
|
74
74
|
ref,
|
|
75
75
|
...props
|
|
76
|
-
}: LinkButtonProps):
|
|
76
|
+
}: LinkButtonProps): react_jsx_runtime111.JSX.Element;
|
|
77
77
|
//#endregion
|
|
78
78
|
export { LinkButton };
|
|
79
79
|
//# sourceMappingURL=link.d.ts.map
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
@layer components.l1 {
|
|
16
16
|
.button {
|
|
17
|
-
@apply w-content rounded-medium flex shrink-0 cursor-pointer items-center justify-center outline outline-transparent;
|
|
17
|
+
@apply w-content rounded-medium flex shrink-0 cursor-pointer items-center justify-center outline outline-transparent select-none;
|
|
18
18
|
|
|
19
19
|
@variant size-large {
|
|
20
20
|
@apply gap-xs px-l py-s text-button-l;
|
|
@@ -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_runtime118 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_runtime15 from "react/jsx-runtime";
|
|
|
76
76
|
declare function ToggleButton({
|
|
77
77
|
ref,
|
|
78
78
|
...props
|
|
79
|
-
}: ToggleButtonProps):
|
|
79
|
+
}: ToggleButtonProps): react_jsx_runtime118.JSX.Element;
|
|
80
80
|
//#endregion
|
|
81
81
|
export { ToggleButton };
|
|
82
82
|
//# sourceMappingURL=toggle.d.ts.map
|
|
@@ -12,18 +12,18 @@
|
|
|
12
12
|
|
|
13
13
|
import { CheckboxGroupProps as CheckboxGroupProps$1, CheckboxProps as CheckboxProps$1 } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react30 from "react";
|
|
16
16
|
import { ContextValue } from "react-aria-components";
|
|
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: react30.Context<ContextValue<CheckboxGroupProps$1, HTMLDivElement>>;
|
|
23
23
|
/**
|
|
24
24
|
* React context for sharing Checkbox configuration across components.
|
|
25
25
|
*/
|
|
26
|
-
declare const CheckboxContext:
|
|
26
|
+
declare const CheckboxContext: react30.Context<ContextValue<CheckboxProps$1, 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_runtime112 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_runtime16 from "react/jsx-runtime";
|
|
|
47
47
|
declare function CheckboxGroup({
|
|
48
48
|
ref,
|
|
49
49
|
...props
|
|
50
|
-
}: CheckboxGroupProps):
|
|
50
|
+
}: CheckboxGroupProps): react_jsx_runtime112.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_runtime114 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_runtime17 from "react/jsx-runtime";
|
|
|
69
69
|
declare function Checkbox({
|
|
70
70
|
ref,
|
|
71
71
|
...props
|
|
72
|
-
}: CheckboxProps):
|
|
72
|
+
}: CheckboxProps): react_jsx_runtime114.JSX.Element;
|
|
73
73
|
//#endregion
|
|
74
74
|
export { Checkbox };
|
|
75
75
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { ChipContextValue } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react29 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime116 from "react/jsx-runtime";
|
|
19
19
|
|
|
20
20
|
//#region src/components/chip/context.d.ts
|
|
21
21
|
/**
|
|
22
22
|
* React context for sharing Chip configuration across components.
|
|
23
23
|
*/
|
|
24
|
-
declare const ChipContext:
|
|
24
|
+
declare const ChipContext: react29.Context<ContextValue<ChipContextValue, HTMLDivElement>>;
|
|
25
25
|
/**
|
|
26
26
|
* Context provider for setting default props across multiple Chip components.
|
|
27
27
|
*
|
|
@@ -40,7 +40,7 @@ declare const ChipContext: react8.Context<ContextValue<ChipContextValue, HTMLDiv
|
|
|
40
40
|
declare function ChipProvider({
|
|
41
41
|
children,
|
|
42
42
|
...props
|
|
43
|
-
}: ProviderProps<ChipContextValue>):
|
|
43
|
+
}: ProviderProps<ChipContextValue>): react_jsx_runtime116.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { ChipContext, ChipProvider };
|
|
46
46
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { DeletableChipProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime117 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/chip/deletable.d.ts
|
|
18
18
|
|
|
@@ -54,7 +54,7 @@ import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
|
54
54
|
declare function DeletableChip({
|
|
55
55
|
ref,
|
|
56
56
|
...props
|
|
57
|
-
}: DeletableChipProps):
|
|
57
|
+
}: DeletableChipProps): react_jsx_runtime117.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { DeletableChip };
|
|
60
60
|
//# sourceMappingURL=deletable.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ChipProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime119 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/chip/index.d.ts
|
|
18
18
|
|
|
@@ -93,7 +93,7 @@ import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
|
93
93
|
declare function Chip({
|
|
94
94
|
ref,
|
|
95
95
|
...props
|
|
96
|
-
}: ChipProps):
|
|
96
|
+
}: ChipProps): react_jsx_runtime119.JSX.Element;
|
|
97
97
|
//#endregion
|
|
98
98
|
export { Chip };
|
|
99
99
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
import { ChipListProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
15
|
+
import * as react32 from "react";
|
|
16
|
+
import * as react_jsx_runtime120 from "react/jsx-runtime";
|
|
17
17
|
|
|
18
18
|
//#region src/components/chip/list.d.ts
|
|
19
19
|
/**
|
|
20
20
|
* React context indicating whether chips are being rendered inside a ChipList.
|
|
21
21
|
*/
|
|
22
|
-
declare const ChipListRenderingContext:
|
|
22
|
+
declare const ChipListRenderingContext: react32.Context<boolean>;
|
|
23
23
|
/**
|
|
24
24
|
* ChipList - Container component for grouping multiple chips with shared behavior.
|
|
25
25
|
*
|
|
@@ -65,7 +65,7 @@ declare const ChipListRenderingContext: react9.Context<boolean>;
|
|
|
65
65
|
declare function ChipList<T extends object>({
|
|
66
66
|
ref,
|
|
67
67
|
...props
|
|
68
|
-
}: ChipListProps<T>):
|
|
68
|
+
}: ChipListProps<T>): react_jsx_runtime120.JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { ChipList, ChipListRenderingContext };
|
|
71
71
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SelectableChipProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime122 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/chip/selectable.d.ts
|
|
18
18
|
|
|
@@ -50,7 +50,7 @@ import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
|
50
50
|
declare function SelectableChip({
|
|
51
51
|
ref,
|
|
52
52
|
...props
|
|
53
|
-
}: SelectableChipProps):
|
|
53
|
+
}: SelectableChipProps): react_jsx_runtime122.JSX.Element;
|
|
54
54
|
//#endregion
|
|
55
55
|
export { SelectableChip };
|
|
56
56
|
//# sourceMappingURL=selectable.d.ts.map
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.selectable {
|
|
53
|
-
@apply outline-interactive cursor-pointer;
|
|
53
|
+
@apply outline-interactive cursor-pointer select-none;
|
|
54
54
|
|
|
55
55
|
@variant hover {
|
|
56
56
|
@apply outline-interactive-hover outline-2;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.deletable {
|
|
93
|
-
@apply gap-xs outline-interactive fg-primary-muted cursor-default;
|
|
93
|
+
@apply gap-xs outline-interactive fg-primary-muted cursor-default select-none;
|
|
94
94
|
|
|
95
95
|
@variant has-group-hover/button {
|
|
96
96
|
@apply fg-hover;
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { ClassificationBadgeProps } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react15 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime78 from "react/jsx-runtime";
|
|
19
19
|
|
|
20
20
|
//#region src/components/classification-badge/context.d.ts
|
|
21
21
|
/** React context for sharing ClassificationBadge configuration across components. */
|
|
22
|
-
declare const ClassificationBadgeContext:
|
|
22
|
+
declare const ClassificationBadgeContext: react15.Context<ContextValue<ClassificationBadgeProps, HTMLSpanElement>>;
|
|
23
23
|
/**
|
|
24
24
|
* Context provider for setting default props across multiple ClassificationBadge components.
|
|
25
25
|
*
|
|
@@ -38,7 +38,7 @@ declare const ClassificationBadgeContext: react10.Context<ContextValue<Classific
|
|
|
38
38
|
declare function ClassificationBadgeProvider({
|
|
39
39
|
children,
|
|
40
40
|
...props
|
|
41
|
-
}: ProviderProps<ClassificationBadgeProps>):
|
|
41
|
+
}: ProviderProps<ClassificationBadgeProps>): react_jsx_runtime78.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { ClassificationBadgeContext, ClassificationBadgeProvider };
|
|
44
44
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ClassificationBadgeProps } 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/classification-badge/index.d.ts
|
|
18
18
|
|
|
@@ -51,7 +51,7 @@ import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
|
51
51
|
declare function ClassificationBadge({
|
|
52
52
|
ref,
|
|
53
53
|
...props
|
|
54
|
-
}: ClassificationBadgeProps):
|
|
54
|
+
}: ClassificationBadgeProps): react_jsx_runtime82.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { ClassificationBadge };
|
|
57
57
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { ClassificationBannerProps } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react17 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime84 from "react/jsx-runtime";
|
|
19
19
|
|
|
20
20
|
//#region src/components/classification-banner/context.d.ts
|
|
21
21
|
/** React context for sharing ClassificationBanner configuration across components. */
|
|
22
|
-
declare const ClassificationBannerContext:
|
|
22
|
+
declare const ClassificationBannerContext: react17.Context<ContextValue<ClassificationBannerProps, HTMLDivElement>>;
|
|
23
23
|
/**
|
|
24
24
|
* Context provider for setting default props across multiple ClassificationBanner components.
|
|
25
25
|
*
|
|
@@ -38,7 +38,7 @@ declare const ClassificationBannerContext: react11.Context<ContextValue<Classifi
|
|
|
38
38
|
declare function ClassificationBannerProvider({
|
|
39
39
|
children,
|
|
40
40
|
...props
|
|
41
|
-
}: ProviderProps<ClassificationBannerProps>):
|
|
41
|
+
}: ProviderProps<ClassificationBannerProps>): react_jsx_runtime84.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { ClassificationBannerContext, ClassificationBannerProvider };
|
|
44
44
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ClassificationBannerProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime87 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/classification-banner/index.d.ts
|
|
18
18
|
|
|
@@ -39,7 +39,7 @@ import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
|
39
39
|
declare function ClassificationBanner({
|
|
40
40
|
ref,
|
|
41
41
|
...props
|
|
42
|
-
}: ClassificationBannerProps):
|
|
42
|
+
}: ClassificationBannerProps): react_jsx_runtime87.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { ClassificationBanner };
|
|
45
45
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ClockProps } 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/clock/index.d.ts
|
|
18
18
|
|
|
@@ -58,7 +58,7 @@ import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
|
58
58
|
declare function Clock({
|
|
59
59
|
formatter,
|
|
60
60
|
...rest
|
|
61
|
-
}: ClockProps):
|
|
61
|
+
}: ClockProps): react_jsx_runtime88.JSX.Element;
|
|
62
62
|
//#endregion
|
|
63
63
|
export { Clock };
|
|
64
64
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -68,6 +68,7 @@ function Clock({ formatter = DEFAULT_FORMATTER, ...rest }) {
|
|
|
68
68
|
const [time, setTime] = useState(now());
|
|
69
69
|
useEffect(() => setClockInterval(() => setTime(now()), 1e3), [now]);
|
|
70
70
|
return /* @__PURE__ */ jsx("time", {
|
|
71
|
+
suppressHydrationWarning: true,
|
|
71
72
|
...rest,
|
|
72
73
|
children: time
|
|
73
74
|
});
|