@accelint/design-toolkit 9.5.0 → 9.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog-info.yaml +3 -3
- package/dist/components/accordion/context.d.ts +2 -2
- package/dist/components/accordion/group.d.ts +2 -2
- package/dist/components/accordion/header.d.ts +2 -2
- package/dist/components/accordion/panel.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/__internal__/styles.module.css +1 -1
- 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/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.d.ts +2 -2
- package/dist/components/drawer/index.d.ts +2 -2
- package/dist/components/drawer/layout-main.d.ts +2 -2
- package/dist/components/drawer/layout.d.ts +2 -2
- package/dist/components/drawer/menu-item.d.ts +2 -2
- package/dist/components/drawer/menu.d.ts +2 -2
- package/dist/components/drawer/panel.d.ts +2 -2
- package/dist/components/drawer/trigger.d.ts +2 -2
- package/dist/components/drawer/view.d.ts +2 -2
- package/dist/components/flashcard/index.d.ts +9 -9
- package/dist/components/hero/context.d.ts +2 -2
- package/dist/components/hero/index.d.ts +2 -2
- package/dist/components/hero/subtitle.d.ts +2 -2
- package/dist/components/hero/title.d.ts +2 -2
- package/dist/components/hotkey/context.d.ts +4 -4
- package/dist/components/hotkey/index.d.ts +2 -2
- package/dist/components/hotkey/set.d.ts +2 -2
- package/dist/components/icon/context.d.ts +4 -4
- package/dist/components/icon/index.d.ts +2 -2
- package/dist/components/input/context.d.ts +2 -2
- package/dist/components/input/index.d.ts +2 -2
- package/dist/components/kanban/card-body.d.ts +2 -2
- package/dist/components/kanban/card-header-actions.d.ts +2 -2
- package/dist/components/kanban/card-header-title.d.ts +2 -2
- package/dist/components/kanban/card-header.d.ts +2 -2
- package/dist/components/kanban/card.d.ts +2 -2
- package/dist/components/kanban/column-actions.d.ts +2 -2
- package/dist/components/kanban/column-container.d.ts +2 -2
- package/dist/components/kanban/column-content.d.ts +2 -2
- package/dist/components/kanban/column-header-actions.d.ts +2 -2
- package/dist/components/kanban/column-header-drag-handle.d.ts +2 -2
- package/dist/components/kanban/column-header-title.d.ts +2 -2
- package/dist/components/kanban/column-header.d.ts +2 -2
- package/dist/components/kanban/column.d.ts +2 -2
- package/dist/components/kanban/context.d.ts +2 -2
- package/dist/components/kanban/header-actions.d.ts +2 -2
- package/dist/components/kanban/header-search.d.ts +2 -2
- package/dist/components/kanban/header-title.d.ts +2 -2
- package/dist/components/kanban/header.d.ts +2 -2
- package/dist/components/kanban/kanban.d.ts +4 -4
- package/dist/components/label/context.d.ts +4 -4
- package/dist/components/label/index.d.ts +2 -2
- package/dist/components/lines/index.d.ts +2 -2
- package/dist/components/link/context.d.ts +2 -2
- package/dist/components/link/index.d.ts +2 -2
- package/dist/components/list/context.d.ts +2 -2
- package/dist/components/list/index.d.ts +2 -2
- package/dist/components/list/item-content.d.ts +2 -2
- package/dist/components/list/item-description.d.ts +2 -2
- package/dist/components/list/item-title.d.ts +2 -2
- package/dist/components/list/item.d.ts +2 -2
- package/dist/components/media-controls/context.d.ts +4 -4
- package/dist/components/media-controls/fullscreen-button.d.ts +55 -0
- package/dist/components/media-controls/fullscreen-button.js +80 -0
- package/dist/components/media-controls/fullscreen-button.js.map +1 -0
- 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/types.d.ts +6 -1
- package/dist/components/media-controls/volume-slider.d.ts +2 -2
- package/dist/components/menu/context.d.ts +2 -2
- package/dist/components/menu/index.d.ts +2 -2
- package/dist/components/menu/item-description.d.ts +2 -2
- package/dist/components/menu/item-label.d.ts +2 -2
- package/dist/components/menu/item.d.ts +2 -2
- package/dist/components/menu/section.d.ts +2 -2
- package/dist/components/menu/separator.d.ts +2 -2
- package/dist/components/menu/submenu.d.ts +2 -2
- package/dist/components/notice/index.d.ts +2 -2
- package/dist/components/notice/list.d.ts +2 -2
- package/dist/components/notice/notice-icon.d.ts +2 -2
- package/dist/components/options/context.d.ts +2 -2
- package/dist/components/options/index.d.ts +2 -2
- package/dist/components/options/item-content.d.ts +2 -2
- package/dist/components/options/item-description.d.ts +2 -2
- package/dist/components/options/item-label.d.ts +2 -2
- package/dist/components/options/item.d.ts +2 -2
- package/dist/components/options/section.d.ts +2 -2
- package/dist/components/options/styles.module.css +52 -4
- package/dist/components/pagination/context.d.ts +2 -2
- package/dist/components/pagination/index.d.ts +2 -2
- package/dist/components/pagination/next.d.ts +2 -2
- package/dist/components/pagination/pages.d.ts +2 -2
- package/dist/components/pagination/prev.d.ts +2 -2
- package/dist/components/popover/content.d.ts +2 -2
- package/dist/components/popover/footer.d.ts +2 -2
- package/dist/components/popover/index.d.ts +2 -2
- package/dist/components/popover/title.d.ts +2 -2
- package/dist/components/popover/trigger.d.ts +2 -2
- package/dist/components/query-builder/action-element.d.ts +2 -2
- package/dist/components/query-builder/actions.d.ts +4 -4
- package/dist/components/query-builder/combinator-selector.d.ts +2 -2
- package/dist/components/query-builder/index.d.ts +2 -2
- package/dist/components/query-builder/index.js +1 -1
- package/dist/components/query-builder/index.js.map +1 -1
- package/dist/components/query-builder/rule-group.d.ts +4 -4
- package/dist/components/query-builder/rule.d.ts +2 -2
- package/dist/components/query-builder/styles.module.css +10 -1
- package/dist/components/query-builder/value-editor.d.ts +2 -2
- package/dist/components/query-builder/value-selector.d.ts +2 -2
- package/dist/components/query-builder/value-selector.js +11 -4
- package/dist/components/query-builder/value-selector.js.map +1 -1
- package/dist/components/radio/context.d.ts +2 -2
- package/dist/components/radio/group.d.ts +2 -2
- package/dist/components/radio/index.d.ts +2 -2
- package/dist/components/search-field/context.d.ts +4 -4
- package/dist/components/search-field/index.d.ts +2 -2
- package/dist/components/search-field/styles.module.css +1 -1
- package/dist/components/select-field/context.d.ts +4 -4
- package/dist/components/select-field/index.d.ts +2 -2
- package/dist/components/sidenav/avatar.d.ts +2 -2
- package/dist/components/sidenav/content.d.ts +2 -2
- package/dist/components/sidenav/context.d.ts +2 -2
- package/dist/components/sidenav/footer.d.ts +2 -2
- package/dist/components/sidenav/header.d.ts +2 -2
- package/dist/components/sidenav/index.d.ts +2 -2
- package/dist/components/sidenav/item.d.ts +2 -2
- package/dist/components/sidenav/link.d.ts +2 -2
- package/dist/components/sidenav/menu-item.d.ts +2 -2
- package/dist/components/sidenav/menu.d.ts +2 -2
- package/dist/components/sidenav/trigger.d.ts +2 -2
- package/dist/components/skeleton/index.d.ts +2 -2
- package/dist/components/skeleton/styles.module.css +2 -4
- package/dist/components/skeleton/types.d.ts +1 -1
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/status-indicator/index.d.ts +2 -2
- package/dist/components/switch/context.d.ts +4 -4
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/table/body.d.ts +2 -2
- package/dist/components/table/cell.d.ts +2 -2
- package/dist/components/table/context.d.ts +2 -2
- package/dist/components/table/header-cell.d.ts +2 -2
- package/dist/components/table/header.d.ts +2 -2
- package/dist/components/table/index.d.ts +2 -2
- package/dist/components/table/row.d.ts +2 -2
- package/dist/components/table/styles.module.css +5 -1
- package/dist/components/tabs/constants.d.ts +19 -0
- package/dist/components/tabs/constants.js +23 -0
- package/dist/components/tabs/constants.js.map +1 -0
- package/dist/components/tabs/context.d.ts +11 -6
- package/dist/components/tabs/context.js +8 -1
- package/dist/components/tabs/context.js.map +1 -1
- package/dist/components/tabs/index.d.ts +4 -2
- package/dist/components/tabs/index.js +17 -7
- package/dist/components/tabs/index.js.map +1 -1
- package/dist/components/tabs/list.d.ts +2 -2
- package/dist/components/tabs/panel.d.ts +2 -2
- package/dist/components/tabs/styles.module.css +27 -5
- package/dist/components/tabs/tab.d.ts +7 -6
- package/dist/components/tabs/tab.js +12 -3
- package/dist/components/tabs/tab.js.map +1 -1
- package/dist/components/tabs/types.d.ts +25 -3
- package/dist/components/text-area-field/context.d.ts +4 -4
- package/dist/components/text-area-field/index.d.ts +2 -2
- package/dist/components/text-field/context.d.ts +4 -4
- package/dist/components/text-field/index.d.ts +2 -2
- package/dist/components/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 +97 -0
- package/dist/components/video/index.js +261 -0
- package/dist/components/video/index.js.map +1 -0
- package/dist/components/video/styles.module.css +99 -0
- package/dist/components/video/types.d.ts +52 -0
- package/dist/components/video/types.js +12 -0
- 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 +8 -4
- package/dist/index.js +5 -2
- package/dist/providers/portal.d.ts +2 -2
- package/dist/providers/theme-provider.d.ts +2 -2
- package/package.json +12 -8
|
@@ -13,9 +13,11 @@
|
|
|
13
13
|
|
|
14
14
|
'use client';
|
|
15
15
|
|
|
16
|
+
import { TabStyleDefaults } from "./constants.js";
|
|
17
|
+
import { TabContext } from "./context.js";
|
|
16
18
|
import "client-only";
|
|
17
19
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
18
|
-
import { Tab as Tab$1, composeRenderProps } from "react-aria-components";
|
|
20
|
+
import { Tab as Tab$1, composeRenderProps, useContextProps } from "react-aria-components";
|
|
19
21
|
import { jsx } from "react/jsx-runtime";
|
|
20
22
|
import styles from "./styles.module.css";
|
|
21
23
|
|
|
@@ -35,12 +37,19 @@ import styles from "./styles.module.css";
|
|
|
35
37
|
* @param props - TabProps from react-aria-components.
|
|
36
38
|
* @param props.children - Tab label content.
|
|
37
39
|
* @param props.className - CSS class for the tab.
|
|
40
|
+
* @param props.align - Justification alignment for content within the Tab (only applicable when orientation is horizontal)
|
|
41
|
+
* @param props.flex - Boolean to determine if the Tab should grow in size (up to a max width). (only applicable when orientation is horizontal)
|
|
38
42
|
* @returns The rendered Tab component.
|
|
39
43
|
*/
|
|
40
|
-
function Tab({
|
|
44
|
+
function Tab({ ref, ...props }) {
|
|
45
|
+
[props, ref] = useContextProps(props, ref, TabContext);
|
|
46
|
+
const { children, className, align, flex, ...rest } = {
|
|
47
|
+
...TabStyleDefaults,
|
|
48
|
+
...props
|
|
49
|
+
};
|
|
41
50
|
return /* @__PURE__ */ jsx(Tab$1, {
|
|
42
51
|
...rest,
|
|
43
|
-
className: composeRenderProps(className, (className$1) => clsx(styles.tab, className$1)),
|
|
52
|
+
className: composeRenderProps(className, (className$1) => clsx(styles.tab, styles[align], flex && styles.flex, className$1)),
|
|
44
53
|
children
|
|
45
54
|
});
|
|
46
55
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab.js","names":["AriaTab","className"],"sources":["../../../src/components/tabs/tab.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\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {\n Tab as AriaTab,\n composeRenderProps,\n
|
|
1
|
+
{"version":3,"file":"tab.js","names":["AriaTab","className"],"sources":["../../../src/components/tabs/tab.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\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {\n Tab as AriaTab,\n composeRenderProps,\n useContextProps,\n} from 'react-aria-components';\nimport { TabStyleDefaults } from './constants';\nimport { TabContext } from './context';\nimport styles from './styles.module.css';\nimport type { TabProps } from './types';\n\n/**\n * Tab - Selectable tab within a TabList.\n *\n * @example\n * ```tsx\n * <TabList>\n * <Tab id=\"profile\">Profile</Tab>\n * <Tab id=\"settings\">Settings</Tab>\n * <Tab id=\"notifications\" isDisabled>Notifications</Tab>\n * </TabList>\n * ```\n *\n * @param props - TabProps from react-aria-components.\n * @param props.children - Tab label content.\n * @param props.className - CSS class for the tab.\n * @param props.align - Justification alignment for content within the Tab (only applicable when orientation is horizontal)\n * @param props.flex - Boolean to determine if the Tab should grow in size (up to a max width). (only applicable when orientation is horizontal)\n * @returns The rendered Tab component.\n */\nexport function Tab({ ref, ...props }: TabProps) {\n [props, ref] = useContextProps(props, ref, TabContext);\n\n const { children, className, align, flex, ...rest } = {\n ...TabStyleDefaults,\n ...props,\n };\n\n return (\n <AriaTab\n {...rest}\n className={composeRenderProps(className, (className) =>\n clsx(styles.tab, styles[align], flex && styles.flex, className),\n )}\n >\n {children}\n </AriaTab>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,SAAgB,IAAI,EAAE,KAAK,GAAG,SAAmB;AAC/C,EAAC,OAAO,OAAO,gBAAgB,OAAO,KAAK,WAAW;CAEtD,MAAM,EAAE,UAAU,WAAW,OAAO,MAAM,GAAG,SAAS;EACpD,GAAG;EACH,GAAG;EACJ;AAED,QACE,oBAACA;EACC,GAAI;EACJ,WAAW,mBAAmB,YAAY,gBACxC,KAAK,OAAO,KAAK,OAAO,QAAQ,QAAQ,OAAO,MAAMC,YAAU,CAChE;EAEA;GACO"}
|
|
@@ -11,13 +11,35 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { RefAttributes } from "react";
|
|
14
|
-
import { TabsProps as TabsProps$1 } from "react-aria-components";
|
|
14
|
+
import { TabProps as TabProps$1, TabsProps as TabsProps$1 } from "react-aria-components";
|
|
15
15
|
|
|
16
16
|
//#region src/components/tabs/types.d.ts
|
|
17
|
+
type TabStyleProps = ({
|
|
18
|
+
orientation?: 'horizontal';
|
|
19
|
+
} & {
|
|
20
|
+
/**
|
|
21
|
+
* Determines content alignment within a Tab
|
|
22
|
+
*
|
|
23
|
+
* @default 'start'
|
|
24
|
+
*/
|
|
25
|
+
align?: 'start' | 'center' | 'end';
|
|
26
|
+
/**
|
|
27
|
+
* If set to true will cause the Tabs to flex to fill the available space, with a max width
|
|
28
|
+
*
|
|
29
|
+
* @default true
|
|
30
|
+
*/
|
|
31
|
+
flex?: boolean;
|
|
32
|
+
}) | ({
|
|
33
|
+
orientation: 'vertical';
|
|
34
|
+
} & {
|
|
35
|
+
align?: never;
|
|
36
|
+
flex?: never;
|
|
37
|
+
});
|
|
17
38
|
/**
|
|
18
39
|
* Props for the Tabs component.
|
|
19
40
|
*/
|
|
20
|
-
type TabsProps = TabsProps$1 & RefAttributes<HTMLDivElement
|
|
41
|
+
type TabsProps = TabsProps$1 & RefAttributes<HTMLDivElement> & TabStyleProps;
|
|
42
|
+
type TabProps = TabProps$1 & RefAttributes<Element> & TabStyleProps;
|
|
21
43
|
//#endregion
|
|
22
|
-
export { TabsProps };
|
|
44
|
+
export { TabProps, TabStyleProps, TabsProps };
|
|
23
45
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { TextAreaFieldProps } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react34 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime145 from "react/jsx-runtime";
|
|
19
19
|
|
|
20
20
|
//#region src/components/text-area-field/context.d.ts
|
|
21
21
|
/** Context for sharing props across TextAreaField components */
|
|
22
|
-
declare const TextAreaFieldContext:
|
|
22
|
+
declare const TextAreaFieldContext: react34.Context<ContextValue<TextAreaFieldProps, HTMLDivElement>>;
|
|
23
23
|
/**
|
|
24
24
|
* Sets default props for all TextAreaField components within.
|
|
25
25
|
*
|
|
@@ -42,7 +42,7 @@ declare const TextAreaFieldContext: react40.Context<ContextValue<TextAreaFieldPr
|
|
|
42
42
|
declare function TextAreaFieldProvider({
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: ProviderProps<TextAreaFieldProps>):
|
|
45
|
+
}: ProviderProps<TextAreaFieldProps>): react_jsx_runtime145.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { TextAreaFieldContext, TextAreaFieldProvider };
|
|
48
48
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { TextAreaFieldProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime146 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/text-area-field/index.d.ts
|
|
18
18
|
|
|
@@ -44,7 +44,7 @@ import * as react_jsx_runtime199 from "react/jsx-runtime";
|
|
|
44
44
|
declare function TextAreaField({
|
|
45
45
|
ref,
|
|
46
46
|
...props
|
|
47
|
-
}: TextAreaFieldProps):
|
|
47
|
+
}: TextAreaFieldProps): react_jsx_runtime146.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { TextAreaField };
|
|
50
50
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { TextFieldProps as TextFieldProps$1 } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react35 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime147 from "react/jsx-runtime";
|
|
19
19
|
|
|
20
20
|
//#region src/components/text-field/context.d.ts
|
|
21
21
|
/** Context for sharing props across TextField components */
|
|
22
|
-
declare const TextFieldContext:
|
|
22
|
+
declare const TextFieldContext: react35.Context<ContextValue<TextFieldProps$1, HTMLDivElement>>;
|
|
23
23
|
/**
|
|
24
24
|
* Sets default props for all TextField components within.
|
|
25
25
|
*
|
|
@@ -42,7 +42,7 @@ declare const TextFieldContext: react43.Context<ContextValue<TextFieldProps$1, H
|
|
|
42
42
|
declare function TextFieldProvider({
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: ProviderProps<TextFieldProps$1>):
|
|
45
|
+
}: ProviderProps<TextFieldProps$1>): react_jsx_runtime147.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { TextFieldContext, TextFieldProvider };
|
|
48
48
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { TextFieldProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime148 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/text-field/index.d.ts
|
|
18
18
|
|
|
@@ -40,7 +40,7 @@ import * as react_jsx_runtime186 from "react/jsx-runtime";
|
|
|
40
40
|
declare function TextField({
|
|
41
41
|
ref,
|
|
42
42
|
...props
|
|
43
|
-
}: TextFieldProps):
|
|
43
|
+
}: TextFieldProps): react_jsx_runtime148.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { TextField };
|
|
46
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import { TimeFieldProps as TimeFieldProps$1 } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
15
|
import { TimeValue } from "react-aria-components";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react_jsx_runtime150 from "react/jsx-runtime";
|
|
17
17
|
|
|
18
18
|
//#region src/components/time-field/index.d.ts
|
|
19
19
|
|
|
@@ -58,7 +58,7 @@ declare function TimeField<T extends TimeValue>({
|
|
|
58
58
|
isRequired,
|
|
59
59
|
isReadOnly,
|
|
60
60
|
...rest
|
|
61
|
-
}: TimeFieldProps$1<T>):
|
|
61
|
+
}: TimeFieldProps$1<T>): react_jsx_runtime150.JSX.Element;
|
|
62
62
|
//#endregion
|
|
63
63
|
export { TimeField };
|
|
64
64
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
|
|
13
13
|
import { TooltipTriggerProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react37 from "react";
|
|
16
16
|
import { ContextValue } from "react-aria-components";
|
|
17
17
|
|
|
18
18
|
//#region src/components/tooltip/context.d.ts
|
|
19
19
|
/** Context for sharing props across TooltipTrigger components */
|
|
20
|
-
declare const TooltipContext:
|
|
20
|
+
declare const TooltipContext: react37.Context<ContextValue<TooltipTriggerProps, HTMLDivElement>>;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { TooltipContext };
|
|
23
23
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { TooltipProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime153 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/tooltip/index.d.ts
|
|
18
18
|
|
|
@@ -44,7 +44,7 @@ declare function Tooltip({
|
|
|
44
44
|
offset,
|
|
45
45
|
placement,
|
|
46
46
|
...props
|
|
47
|
-
}: TooltipProps):
|
|
47
|
+
}: TooltipProps): react_jsx_runtime153.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { Tooltip };
|
|
50
50
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { TooltipTriggerProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime154 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/tooltip/trigger.d.ts
|
|
18
18
|
|
|
@@ -38,7 +38,7 @@ import * as react_jsx_runtime191 from "react/jsx-runtime";
|
|
|
38
38
|
declare function TooltipTrigger({
|
|
39
39
|
ref,
|
|
40
40
|
...props
|
|
41
|
-
}: TooltipTriggerProps):
|
|
41
|
+
}: TooltipTriggerProps): react_jsx_runtime154.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { TooltipTrigger };
|
|
44
44
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
import { TreeContextValue, TreeItemContextValue } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react40 from "react";
|
|
16
16
|
|
|
17
17
|
//#region src/components/tree/context.d.ts
|
|
18
18
|
/** Context for sharing state across Tree components */
|
|
19
|
-
declare const TreeContext:
|
|
19
|
+
declare const TreeContext: react40.Context<TreeContextValue>;
|
|
20
20
|
/** Context for sharing state within a TreeItem */
|
|
21
|
-
declare const TreeItemContext:
|
|
21
|
+
declare const TreeItemContext: react40.Context<TreeItemContextValue>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { TreeContext, TreeItemContext };
|
|
24
24
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { TreeProps } 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/tree/index.d.ts
|
|
18
18
|
|
|
@@ -75,7 +75,7 @@ declare function Tree<T>({
|
|
|
75
75
|
onVisibilityChange,
|
|
76
76
|
onSelectionChange,
|
|
77
77
|
...rest
|
|
78
|
-
}: TreeProps<T>):
|
|
78
|
+
}: TreeProps<T>): react_jsx_runtime156.JSX.Element;
|
|
79
79
|
//#endregion
|
|
80
80
|
export { Tree };
|
|
81
81
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { PropsWithChildren } from "react";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime158 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/tree/item-actions.d.ts
|
|
17
17
|
|
|
@@ -39,7 +39,7 @@ declare function TreeItemActions({
|
|
|
39
39
|
className
|
|
40
40
|
}: PropsWithChildren & {
|
|
41
41
|
className?: string;
|
|
42
|
-
}):
|
|
42
|
+
}): react_jsx_runtime158.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { TreeItemActions };
|
|
45
45
|
//# sourceMappingURL=item-actions.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { TreeItemContentProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime159 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/tree/item-content.d.ts
|
|
17
17
|
|
|
@@ -35,7 +35,7 @@ import * as react_jsx_runtime138 from "react/jsx-runtime";
|
|
|
35
35
|
*/
|
|
36
36
|
declare function TreeItemContent({
|
|
37
37
|
children
|
|
38
|
-
}: TreeItemContentProps):
|
|
38
|
+
}: TreeItemContentProps): react_jsx_runtime159.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { TreeItemContent };
|
|
41
41
|
//# sourceMappingURL=item-content.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { TextProps } from "react-aria-components";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime160 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/tree/item-description.d.ts
|
|
17
17
|
/**
|
|
@@ -33,7 +33,7 @@ import * as react_jsx_runtime150 from "react/jsx-runtime";
|
|
|
33
33
|
declare function TreeItemDescription({
|
|
34
34
|
children,
|
|
35
35
|
className
|
|
36
|
-
}: TextProps):
|
|
36
|
+
}: TextProps): react_jsx_runtime160.JSX.Element | null;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { TreeItemDescription };
|
|
39
39
|
//# sourceMappingURL=item-description.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { TextProps } from "react-aria-components";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime161 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/tree/item-label.d.ts
|
|
17
17
|
/**
|
|
@@ -33,7 +33,7 @@ import * as react_jsx_runtime139 from "react/jsx-runtime";
|
|
|
33
33
|
declare function TreeItemLabel({
|
|
34
34
|
children,
|
|
35
35
|
className
|
|
36
|
-
}: TextProps):
|
|
36
|
+
}: TextProps): react_jsx_runtime161.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { TreeItemLabel };
|
|
39
39
|
//# sourceMappingURL=item-label.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { IconProps } from "../icon/types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime162 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/tree/item-prefix-icon.d.ts
|
|
17
17
|
/**
|
|
@@ -33,7 +33,7 @@ import * as react_jsx_runtime151 from "react/jsx-runtime";
|
|
|
33
33
|
declare function TreeItemPrefixIcon({
|
|
34
34
|
children,
|
|
35
35
|
className
|
|
36
|
-
}: IconProps):
|
|
36
|
+
}: IconProps): react_jsx_runtime162.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { TreeItemPrefixIcon };
|
|
39
39
|
//# sourceMappingURL=item-prefix-icon.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { TreeItemProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime163 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/tree/item.d.ts
|
|
18
18
|
|
|
@@ -44,7 +44,7 @@ declare function TreeItem({
|
|
|
44
44
|
className,
|
|
45
45
|
id,
|
|
46
46
|
...rest
|
|
47
|
-
}: TreeItemProps):
|
|
47
|
+
}: TreeItemProps): react_jsx_runtime163.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { TreeItem };
|
|
50
50
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import * as
|
|
13
|
+
import * as react42 from "react";
|
|
14
14
|
|
|
15
15
|
//#region src/components/tree/lines.d.ts
|
|
16
16
|
/**
|
|
@@ -21,7 +21,7 @@ import * as react35 from "react";
|
|
|
21
21
|
* @param props.isLastOfSet - Whether this item is the last in its sibling group.
|
|
22
22
|
* @returns An array of Line components representing the tree structure.
|
|
23
23
|
*/
|
|
24
|
-
declare const TreeLines:
|
|
24
|
+
declare const TreeLines: react42.NamedExoticComponent<{
|
|
25
25
|
level: number;
|
|
26
26
|
isLastOfSet: boolean;
|
|
27
27
|
}>;
|
|
@@ -0,0 +1,97 @@
|
|
|
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
|
+
import { VideoProps } from "./types.js";
|
|
14
|
+
import "client-only";
|
|
15
|
+
import * as react_jsx_runtime165 from "react/jsx-runtime";
|
|
16
|
+
|
|
17
|
+
//#region src/components/video/index.d.ts
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* A complete video player component.
|
|
21
|
+
*
|
|
22
|
+
* Combines an HTML video element with MediaControls to provide a fully-featured
|
|
23
|
+
* video player with play/pause, seek, volume control, playback rate adjustment,
|
|
24
|
+
* and fullscreen support.
|
|
25
|
+
*
|
|
26
|
+
* Uses media-chrome under the hood for state management and MediaController
|
|
27
|
+
* for the accessible media chrome elements.
|
|
28
|
+
*
|
|
29
|
+
* @param props - The component props.
|
|
30
|
+
* @param props.src - Video source URL. Must be accessible to the browser - if loading
|
|
31
|
+
* from a different origin, ensure the server sends appropriate CORS headers
|
|
32
|
+
* (Access-Control-Allow-Origin) or use the crossOrigin prop.
|
|
33
|
+
* @param props.poster - Poster image URL displayed before playback starts.
|
|
34
|
+
* @param props.classNames - Class names for sub-elements.
|
|
35
|
+
* @param props.isDisabled - Disable all video controls.
|
|
36
|
+
* @param props.crossOrigin - CORS setting ('anonymous' | 'use-credentials'). Required when
|
|
37
|
+
* loading video from a different origin that requires credentials.
|
|
38
|
+
* @param props.playbackRates - Array of playback speed multipliers (default: [1, 2, 3]).
|
|
39
|
+
* Only positive finite numbers are accepted; invalid values are filtered out.
|
|
40
|
+
* @param props.children - Custom controls to render instead of the default layout.
|
|
41
|
+
* @param props.onEnded - Callback invoked when video playback finishes.
|
|
42
|
+
* @param props.onTimeUpdate - Callback invoked during playback with current time in seconds.
|
|
43
|
+
* @param props.onError - Callback invoked when video fails to load or encounters an error.
|
|
44
|
+
* @param props.noHotkeys - Disable all keyboard shortcuts for media control.
|
|
45
|
+
* @param props.hotkeys - Custom keyboard shortcuts configuration for media control.
|
|
46
|
+
* @param props.noVolumePref - Disable automatic saving/restoring of volume preference.
|
|
47
|
+
* @param props.noMutedPref - Disable automatic saving/restoring of muted state preference.
|
|
48
|
+
* @param props.lang - Language code for localized media control labels.
|
|
49
|
+
* @returns The rendered video player component.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```tsx
|
|
53
|
+
* // Basic usage
|
|
54
|
+
* <Video src="video.mp4" />
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```tsx
|
|
59
|
+
* // With poster image
|
|
60
|
+
* <Video
|
|
61
|
+
* src="video.mp4"
|
|
62
|
+
* poster="thumbnail.jpg"
|
|
63
|
+
* />
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```tsx
|
|
68
|
+
* // With event callbacks
|
|
69
|
+
* <Video
|
|
70
|
+
* src="video.mp4"
|
|
71
|
+
* onEnded={() => console.log('Ended')}
|
|
72
|
+
* onTimeUpdate={(time) => console.log('Current time:', time)}
|
|
73
|
+
* />
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```tsx
|
|
78
|
+
* // Custom controls layout
|
|
79
|
+
* <Video src="video.mp4">
|
|
80
|
+
* <PlayButton />
|
|
81
|
+
* <TimeRange />
|
|
82
|
+
* </Video>
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
declare function Video({
|
|
86
|
+
classNames,
|
|
87
|
+
isDisabled,
|
|
88
|
+
noHotkeys,
|
|
89
|
+
hotkeys,
|
|
90
|
+
noVolumePref,
|
|
91
|
+
noMutedPref,
|
|
92
|
+
lang,
|
|
93
|
+
...rest
|
|
94
|
+
}: VideoProps): react_jsx_runtime165.JSX.Element;
|
|
95
|
+
//#endregion
|
|
96
|
+
export { Video };
|
|
97
|
+
//# sourceMappingURL=index.d.ts.map
|