@gamecrafters/base-ui 0.0.8 → 0.0.10
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/build/components/aspect-ratio/AspectRatio.d.ts +1 -4
- package/build/components/aspect-ratio/AspectRatio.types.d.ts +1 -4
- package/build/components/bubble/Bubble.d.ts +10 -0
- package/build/components/bubble/Bubble.types.d.ts +29 -0
- package/build/components/bubble/BubbleContent.d.ts +7 -0
- package/build/components/bubble/BubbleContext.d.ts +2 -0
- package/build/components/bubble/BubbleGroup.d.ts +8 -0
- package/build/components/bubble/BubbleGroupContext.d.ts +2 -0
- package/build/components/bubble/BubbleReactions.d.ts +10 -0
- package/build/components/bubble/index.d.ts +33 -0
- package/build/components/clipboard/Clipboard.d.ts +12 -0
- package/build/components/clipboard/Clipboard.types.d.ts +37 -0
- package/build/components/clipboard/ClipboardContext.d.ts +2 -0
- package/build/components/clipboard/ClipboardIndicator.d.ts +7 -0
- package/build/components/clipboard/ClipboardInput.d.ts +4 -0
- package/build/components/clipboard/ClipboardTrigger.d.ts +8 -0
- package/build/components/clipboard/copyText.d.ts +1 -0
- package/build/components/clipboard/index.d.ts +30 -0
- package/build/components/flow/Flow.d.ts +12 -0
- package/build/components/flow/Flow.types.d.ts +71 -0
- package/build/components/flow/FlowConnectors.d.ts +18 -0
- package/build/components/flow/FlowContext.d.ts +2 -0
- package/build/components/flow/FlowList.d.ts +5 -0
- package/build/components/flow/FlowNode.d.ts +7 -0
- package/build/components/flow/FlowParallel.d.ts +6 -0
- package/build/components/flow/flowLayout.d.ts +7 -0
- package/build/components/flow/flowPath.d.ts +2 -0
- package/build/components/flow/index.d.ts +31 -0
- package/build/components/index.d.ts +11 -1
- package/build/components/label-group/LabelGroup.d.ts +9 -0
- package/build/components/label-group/LabelGroup.types.d.ts +9 -0
- package/build/components/label-group/index.d.ts +3 -0
- package/build/components/label-group/useClippedChildren.d.ts +8 -0
- package/build/components/message/Message.d.ts +9 -0
- package/build/components/message/Message.types.d.ts +29 -0
- package/build/components/message/MessageAvatar.d.ts +7 -0
- package/build/components/message/MessageContent.d.ts +7 -0
- package/build/components/message/MessageContext.d.ts +2 -0
- package/build/components/message/MessageFooter.d.ts +7 -0
- package/build/components/message/MessageGroup.d.ts +8 -0
- package/build/components/message/MessageGroupContext.d.ts +2 -0
- package/build/components/message/MessageHeader.d.ts +7 -0
- package/build/components/message/index.d.ts +42 -0
- package/build/components/meter/Meter.d.ts +15 -0
- package/build/components/meter/Meter.types.d.ts +41 -0
- package/build/components/meter/MeterContext.d.ts +2 -0
- package/build/components/meter/MeterIndicator.d.ts +7 -0
- package/build/components/meter/MeterLabel.d.ts +7 -0
- package/build/components/meter/MeterTrack.d.ts +7 -0
- package/build/components/meter/MeterValue.d.ts +6 -0
- package/build/components/meter/index.d.ts +40 -0
- package/build/components/meter/meterReading.d.ts +2 -0
- package/build/components/navigation-list/NavigationList.types.d.ts +53 -0
- package/build/components/navigation-list/NavigationListContext.d.ts +11 -0
- package/build/components/navigation-list/NavigationListGroup.d.ts +7 -0
- package/build/components/{nav-list/NavListGroupExpand.d.ts → navigation-list/NavigationListGroupExpand.d.ts} +3 -3
- package/build/components/navigation-list/NavigationListGroupHeading.d.ts +4 -0
- package/build/components/navigation-list/NavigationListHeading.d.ts +6 -0
- package/build/components/{nav-list/NavListItem.d.ts → navigation-list/NavigationListItem.d.ts} +1 -1
- package/build/components/navigation-list/NavigationListItemWithSubNavigation.d.ts +15 -0
- package/build/components/navigation-list/headingLevel.d.ts +3 -0
- package/build/components/{nav-list → navigation-list}/index.d.ts +15 -15
- package/build/components/navigation-menu/NavigationMenu.d.ts +13 -0
- package/build/components/navigation-menu/NavigationMenu.types.d.ts +90 -0
- package/build/components/navigation-menu/NavigationMenuContent.d.ts +10 -0
- package/build/components/navigation-menu/NavigationMenuContext.d.ts +8 -0
- package/build/components/navigation-menu/NavigationMenuDescription.d.ts +7 -0
- package/build/components/navigation-menu/NavigationMenuDivider.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuGroup.d.ts +7 -0
- package/build/components/navigation-menu/NavigationMenuGroupHeading.d.ts +7 -0
- package/build/components/navigation-menu/NavigationMenuHeading.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuItem.d.ts +7 -0
- package/build/components/navigation-menu/NavigationMenuLeadingVisual.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuLink.d.ts +9 -0
- package/build/components/navigation-menu/NavigationMenuList.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuSubNavigation.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuTrailingVisual.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuTrigger.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuVisual.d.ts +2 -0
- package/build/components/navigation-menu/headingLevel.d.ts +3 -0
- package/build/components/navigation-menu/index.d.ts +66 -0
- package/build/components/popover/Popover.d.ts +10 -0
- package/build/components/popover/Popover.types.d.ts +25 -0
- package/build/components/popover/PopoverContent.d.ts +14 -0
- package/build/components/popover/PopoverContext.d.ts +2 -0
- package/build/components/popover/index.d.ts +24 -0
- package/build/components/splitter/Splitter.d.ts +7 -0
- package/build/components/splitter/Splitter.types.d.ts +23 -0
- package/build/components/splitter/SplitterPanel.d.ts +5 -0
- package/build/components/splitter/SplitterResizeTrigger.d.ts +5 -0
- package/build/components/splitter/SplitterResizeTriggerIndicator.d.ts +5 -0
- package/build/components/splitter/SplitterResizeTriggerSeparator.d.ts +5 -0
- package/build/components/splitter/index.d.ts +24 -0
- package/build/components/table-of-contents/TableOfContents.d.ts +7 -0
- package/build/components/table-of-contents/TableOfContents.types.d.ts +32 -0
- package/build/components/table-of-contents/TableOfContentsGroup.d.ts +9 -0
- package/build/components/table-of-contents/TableOfContentsItem.d.ts +8 -0
- package/build/components/table-of-contents/TableOfContentsList.d.ts +5 -0
- package/build/components/table-of-contents/TableOfContentsTitle.d.ts +7 -0
- package/build/components/table-of-contents/index.d.ts +32 -0
- package/build/components/table-of-contents/useTableOfContentsActiveId.d.ts +2 -0
- package/build/main.cjs.js +2 -2
- package/build/main.d.ts +1 -1
- package/build/main.esm.js +2 -2
- package/build/providers/direction/Direction.types.d.ts +11 -0
- package/build/providers/direction/DirectionContext.d.ts +3 -0
- package/build/providers/direction/DirectionProvider.d.ts +7 -0
- package/build/providers/direction/index.d.ts +4 -0
- package/build/providers/direction/useDirection.d.ts +2 -0
- package/build/providers/index.d.ts +2 -0
- package/build/styles/main.css +3 -1
- package/package.json +2 -1
- package/build/components/nav-list/NavList.types.d.ts +0 -53
- package/build/components/nav-list/NavListContext.d.ts +0 -11
- package/build/components/nav-list/NavListGroup.d.ts +0 -7
- package/build/components/nav-list/NavListGroupHeading.d.ts +0 -4
- package/build/components/nav-list/NavListHeading.d.ts +0 -6
- package/build/components/nav-list/NavListItemWithSubNav.d.ts +0 -15
- package/build/components/nav-list/headingLevel.d.ts +0 -3
- /package/build/components/{nav-list/NavList.d.ts → navigation-list/NavigationList.d.ts} +0 -0
- /package/build/components/{nav-list/NavListSubNav.d.ts → navigation-list/NavigationListSubNavigation.d.ts} +0 -0
- /package/build/{utilities/classnames.d.ts → lib/classnames/index.d.ts} +0 -0
- /package/build/{theme → providers/theme}/Theme.types.d.ts +0 -0
- /package/build/{theme → providers/theme}/ThemeContext.d.ts +0 -0
- /package/build/{theme → providers/theme}/ThemeProvider.d.ts +0 -0
- /package/build/{theme → providers/theme}/index.d.ts +0 -0
- /package/build/{theme → providers/theme}/useTheme.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gamecrafters/base-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "build/main.cjs.js",
|
|
6
6
|
"module": "build/main.esm.js",
|
|
@@ -117,6 +117,7 @@
|
|
|
117
117
|
"dayjs": "^1.11.21",
|
|
118
118
|
"lexical": "^0.49.0",
|
|
119
119
|
"react-is": "^19.2.8",
|
|
120
|
+
"react-resizable-panels": "^4.12.2",
|
|
120
121
|
"recharts": "^3.10.1",
|
|
121
122
|
"shiki": "^4.4.1",
|
|
122
123
|
"tailwind-merge": "^3.6.0"
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import type * as React from "react";
|
|
2
|
-
import type { PolymorphicProps } from "../../utilities/polymorphic";
|
|
3
|
-
import type { ActionListDescriptionProps, ActionListDividerProps, ActionListGroupHeadingProps, ActionListTrailingActionProps, ActionListVisualProps } from "../action-list";
|
|
4
|
-
import type { ButtonVisual } from "../button";
|
|
5
|
-
export type NavListCurrent = "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
6
|
-
export type NavListHeadingLevel = "h2" | "h3";
|
|
7
|
-
export type NavListProps = React.ComponentPropsWithoutRef<"nav"> & {
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
};
|
|
11
|
-
export type NavListHeadingProps = Omit<React.ComponentPropsWithoutRef<"h2">, "children"> & {
|
|
12
|
-
as?: NavListHeadingLevel;
|
|
13
|
-
visuallyHidden?: boolean;
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
className?: string;
|
|
16
|
-
};
|
|
17
|
-
export type NavListItemProps<As extends React.ElementType = "a"> = PolymorphicProps<As, "a", {
|
|
18
|
-
children?: React.ReactNode;
|
|
19
|
-
"aria-current"?: NavListCurrent | boolean;
|
|
20
|
-
defaultOpen?: boolean;
|
|
21
|
-
className?: string;
|
|
22
|
-
}>;
|
|
23
|
-
export type NavListSubNavProps = React.ComponentPropsWithoutRef<"ul"> & {
|
|
24
|
-
children?: React.ReactNode;
|
|
25
|
-
className?: string;
|
|
26
|
-
};
|
|
27
|
-
export type NavListGroupProps = React.ComponentPropsWithoutRef<"li"> & {
|
|
28
|
-
children?: React.ReactNode;
|
|
29
|
-
title?: string;
|
|
30
|
-
hideDivider?: boolean;
|
|
31
|
-
className?: string;
|
|
32
|
-
};
|
|
33
|
-
export type NavListGroupHeadingProps = ActionListGroupHeadingProps;
|
|
34
|
-
export type NavListGroupExpandItem = Omit<NavListItemProps, "children"> & {
|
|
35
|
-
text: string;
|
|
36
|
-
leadingVisual?: React.ElementType;
|
|
37
|
-
trailingVisual?: React.ElementType | React.ReactNode;
|
|
38
|
-
trailingAction?: NavListTrailingActionProps;
|
|
39
|
-
"data-expand-focus-target"?: string;
|
|
40
|
-
};
|
|
41
|
-
export type NavListGroupExpandProps = Omit<React.ComponentPropsWithoutRef<"li">, "children" | "onSelect"> & {
|
|
42
|
-
label?: string;
|
|
43
|
-
pages?: number;
|
|
44
|
-
items: NavListGroupExpandItem[];
|
|
45
|
-
renderItem?: (item: NavListGroupExpandItem) => React.ReactNode;
|
|
46
|
-
className?: string;
|
|
47
|
-
};
|
|
48
|
-
export type NavListDescriptionProps = ActionListDescriptionProps;
|
|
49
|
-
export type NavListLeadingVisualProps = ActionListVisualProps;
|
|
50
|
-
export type NavListTrailingVisualProps = ActionListVisualProps;
|
|
51
|
-
export type NavListTrailingActionProps = ActionListTrailingActionProps;
|
|
52
|
-
export type NavListDividerProps = ActionListDividerProps;
|
|
53
|
-
export type NavListVisual = ButtonVisual;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export declare const NavListHeadingLevelContext: React.Context<number | null>;
|
|
3
|
-
export declare const NavListDepthContext: React.Context<{
|
|
4
|
-
depth: number;
|
|
5
|
-
}>;
|
|
6
|
-
export type NavListItemWithSubNavContextValue = {
|
|
7
|
-
buttonId: string;
|
|
8
|
-
subNavId: string;
|
|
9
|
-
isOpen: boolean;
|
|
10
|
-
};
|
|
11
|
-
export declare const NavListItemWithSubNavContext: React.Context<NavListItemWithSubNavContextValue>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { NavListSubNavProps } from "./NavList.types";
|
|
3
|
-
export type NavListItemWithSubNavProps = {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
subNav: React.ReactElement<NavListSubNavProps & {
|
|
6
|
-
ref?: React.Ref<HTMLUListElement>;
|
|
7
|
-
}>;
|
|
8
|
-
defaultOpen?: boolean;
|
|
9
|
-
className?: string;
|
|
10
|
-
};
|
|
11
|
-
declare function NavListItemWithSubNav(props: NavListItemWithSubNavProps): React.JSX.Element;
|
|
12
|
-
declare namespace NavListItemWithSubNav {
|
|
13
|
-
var displayName: string;
|
|
14
|
-
}
|
|
15
|
-
export default NavListItemWithSubNav;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|