@itwin/itwinui-react 5.0.0-alpha.0 → 5.0.0-alpha.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.
Files changed (118) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +6 -6
  3. package/dist/DEV/bricks/Anchor.js +16 -23
  4. package/dist/DEV/bricks/Avatar.js +24 -0
  5. package/dist/DEV/bricks/Badge.js +22 -0
  6. package/dist/DEV/bricks/Button.js +25 -16
  7. package/dist/DEV/bricks/Checkbox.js +26 -16
  8. package/dist/DEV/bricks/Chip.js +42 -0
  9. package/dist/DEV/bricks/Description.js +29 -0
  10. package/dist/DEV/bricks/Divider.js +16 -17
  11. package/dist/DEV/bricks/DropdownMenu.js +143 -48
  12. package/dist/DEV/bricks/Field.js +120 -20
  13. package/dist/DEV/bricks/Icon.js +108 -45
  14. package/dist/DEV/bricks/IconButton.js +31 -18
  15. package/dist/DEV/bricks/Kbd.internal.js +19 -0
  16. package/dist/DEV/bricks/Kbd.js +32 -17
  17. package/dist/DEV/bricks/Label.js +13 -10
  18. package/dist/DEV/bricks/ProgressBar.js +25 -0
  19. package/dist/DEV/bricks/Radio.js +19 -11
  20. package/dist/DEV/bricks/Root.js +78 -45
  21. package/dist/DEV/bricks/Select.js +61 -0
  22. package/dist/DEV/bricks/Skeleton.js +24 -0
  23. package/dist/DEV/bricks/Spinner.js +40 -0
  24. package/dist/DEV/bricks/Switch.js +27 -17
  25. package/dist/DEV/bricks/Table.js +114 -0
  26. package/dist/DEV/bricks/Tabs.js +19 -20
  27. package/dist/DEV/bricks/Text.js +20 -0
  28. package/dist/DEV/bricks/TextBox.js +95 -50
  29. package/dist/DEV/bricks/Tooltip.js +58 -58
  30. package/dist/DEV/bricks/Tree.js +16 -102
  31. package/dist/DEV/bricks/TreeItem.js +224 -0
  32. package/dist/DEV/bricks/VisuallyHidden.js +7 -5
  33. package/dist/DEV/bricks/index.js +20 -0
  34. package/dist/DEV/bricks/styles.css.js +2 -2
  35. package/dist/DEV/bricks/~hooks.js +55 -3
  36. package/dist/DEV/bricks/~utils.GhostAligner.js +13 -0
  37. package/dist/DEV/bricks/~utils.ListItem.js +49 -0
  38. package/dist/DEV/bricks/~utils.js +3 -0
  39. package/dist/DEV/foundations/styles.css.js +2 -2
  40. package/dist/bricks/Anchor.d.ts +12 -3
  41. package/dist/bricks/Anchor.js +16 -23
  42. package/dist/bricks/Avatar.d.ts +47 -0
  43. package/dist/bricks/Avatar.js +23 -0
  44. package/dist/bricks/Badge.d.ts +28 -0
  45. package/dist/bricks/Badge.js +21 -0
  46. package/dist/bricks/Button.d.ts +27 -4
  47. package/dist/bricks/Button.js +25 -16
  48. package/dist/bricks/Checkbox.d.ts +19 -5
  49. package/dist/bricks/Checkbox.js +26 -16
  50. package/dist/bricks/Chip.d.ts +31 -0
  51. package/dist/bricks/Chip.js +41 -0
  52. package/dist/bricks/Description.d.ts +19 -0
  53. package/dist/bricks/Description.js +29 -0
  54. package/dist/bricks/Divider.d.ts +5 -6
  55. package/dist/bricks/Divider.js +16 -17
  56. package/dist/bricks/DropdownMenu.d.ts +92 -15
  57. package/dist/bricks/DropdownMenu.js +138 -46
  58. package/dist/bricks/Field.d.ts +45 -3
  59. package/dist/bricks/Field.js +120 -20
  60. package/dist/bricks/Icon.d.ts +38 -7
  61. package/dist/bricks/Icon.js +105 -44
  62. package/dist/bricks/IconButton.d.ts +20 -4
  63. package/dist/bricks/IconButton.js +31 -18
  64. package/dist/bricks/Kbd.d.ts +17 -3
  65. package/dist/bricks/Kbd.internal.d.ts +17 -0
  66. package/dist/bricks/Kbd.internal.js +19 -0
  67. package/dist/bricks/Kbd.js +25 -17
  68. package/dist/bricks/Label.d.ts +22 -3
  69. package/dist/bricks/Label.js +13 -10
  70. package/dist/bricks/ProgressBar.d.ts +31 -0
  71. package/dist/bricks/ProgressBar.js +24 -0
  72. package/dist/bricks/Radio.d.ts +19 -5
  73. package/dist/bricks/Radio.js +19 -11
  74. package/dist/bricks/Root.d.ts +11 -2
  75. package/dist/bricks/Root.js +78 -45
  76. package/dist/bricks/Select.d.ts +51 -0
  77. package/dist/bricks/Select.js +61 -0
  78. package/dist/bricks/Skeleton.d.ts +25 -0
  79. package/dist/bricks/Skeleton.js +23 -0
  80. package/dist/bricks/Spinner.d.ts +31 -0
  81. package/dist/bricks/Spinner.js +39 -0
  82. package/dist/bricks/Switch.d.ts +19 -5
  83. package/dist/bricks/Switch.js +27 -17
  84. package/dist/bricks/Table.d.ts +115 -0
  85. package/dist/bricks/Table.js +108 -0
  86. package/dist/bricks/Tabs.d.ts +69 -8
  87. package/dist/bricks/Tabs.js +19 -20
  88. package/dist/bricks/Text.d.ts +22 -0
  89. package/dist/bricks/Text.js +19 -0
  90. package/dist/bricks/TextBox.d.ts +62 -11
  91. package/dist/bricks/TextBox.js +94 -50
  92. package/dist/bricks/Tooltip.d.ts +13 -6
  93. package/dist/bricks/Tooltip.js +58 -58
  94. package/dist/bricks/Tree.d.ts +20 -21
  95. package/dist/bricks/Tree.js +15 -97
  96. package/dist/bricks/TreeItem.d.ts +123 -0
  97. package/dist/bricks/TreeItem.js +219 -0
  98. package/dist/bricks/VisuallyHidden.d.ts +15 -3
  99. package/dist/bricks/VisuallyHidden.js +7 -5
  100. package/dist/bricks/index.d.ts +10 -0
  101. package/dist/bricks/index.js +20 -0
  102. package/dist/bricks/styles.css.js +2 -2
  103. package/dist/bricks/~hooks.d.ts +55 -0
  104. package/dist/bricks/~hooks.js +55 -3
  105. package/dist/bricks/~utils.GhostAligner.d.ts +22 -0
  106. package/dist/bricks/~utils.GhostAligner.js +13 -0
  107. package/dist/bricks/~utils.ListItem.d.ts +14 -0
  108. package/dist/bricks/~utils.ListItem.js +46 -0
  109. package/dist/bricks/~utils.d.ts +26 -3
  110. package/dist/bricks/~utils.js +3 -0
  111. package/dist/foundations/styles.css.js +2 -2
  112. package/package.json +14 -13
  113. package/dist/DEV/bricks/ListItem.js +0 -33
  114. package/dist/DEV/bricks/Textarea.js +0 -28
  115. package/dist/bricks/ListItem.d.ts +0 -11
  116. package/dist/bricks/ListItem.js +0 -31
  117. package/dist/bricks/Textarea.d.ts +0 -14
  118. package/dist/bricks/Textarea.js +0 -27
@@ -0,0 +1,123 @@
1
+ import * as React from "react";
2
+ import { IconButton } from "./IconButton.js";
3
+ import { type BaseProps } from "./~utils.js";
4
+ interface TreeItemRootProps extends Omit<BaseProps, "content" | "children"> {
5
+ /** Specifies the nesting level of the tree item. Nesting levels start at 1. */
6
+ "aria-level": number;
7
+ /** Defines tree item position in the current level of tree items. Integer greater than or equal to 1. */
8
+ "aria-posinset": number;
9
+ /** Defines tree item set size of the current level. */
10
+ "aria-setsize": number;
11
+ /**
12
+ * Specifies if the tree item is selected.
13
+ *
14
+ * If `undefined`, the tree item is not selectable.
15
+ *
16
+ * @default undefined
17
+ */
18
+ selected?: boolean;
19
+ /**
20
+ * Callback fired when the tree item is selected.
21
+ *
22
+ * Should be used with the `selected` prop.
23
+ */
24
+ onSelectedChange?: (selected: boolean) => void;
25
+ /**
26
+ * Specifies if the tree item is expanded.
27
+ *
28
+ * Used to determine if a tree item is a parent node. If `undefined`, it is a leaf node (i.e. not expandable).
29
+ *
30
+ * @default undefined
31
+ * */
32
+ expanded?: boolean;
33
+ /**
34
+ * Callback fired when the tree item is expanded.
35
+ *
36
+ * Should be used with the `expanded` prop.
37
+ */
38
+ onExpandedChange?: (expanded: boolean) => void;
39
+ /**
40
+ * Icon to be displayed inside the tree item.
41
+ *
42
+ * Can be a URL of an SVG from the `@itwin/itwinui-icons` package, or a JSX element.
43
+ *
44
+ * For multiple icons/decorations, use the `unstable_decorations` prop.
45
+ */
46
+ icon?: string | React.JSX.Element;
47
+ /**
48
+ * Decoration(s) to be displayed inside the tree item.
49
+ *
50
+ * This is an alternative to the `icon` prop, and can be used to
51
+ * display multiple icons or other decorations before the label.
52
+ *
53
+ * Note: This should _not_ be used together with the `icon` prop.
54
+ *
55
+ * @experimental
56
+ */
57
+ unstable_decorations?: React.ReactNode;
58
+ /**
59
+ * The primary label that identifies the tree item and is displayed inside it.
60
+ */
61
+ label?: React.ReactNode;
62
+ /** Secondary line of text to display additional information about the tree item. */
63
+ description?: React.ReactNode;
64
+ /**
65
+ * The actions available for the tree item. Must be a list of `Tree.ItemAction` components.
66
+ *
67
+ * Example:
68
+ * ```tsx
69
+ * actions={[
70
+ * <Tree.ItemAction key={…} icon={…} label={…} />,
71
+ * <Tree.ItemAction key={…} icon={…} label={…} />,
72
+ * ]}
73
+ * ```
74
+ */
75
+ actions?: React.ReactNode[];
76
+ }
77
+ /**
78
+ * A treeitem is a node in a tree structure that may be expanded or collapsed to reveal or hide its descendants.
79
+ *
80
+ * `Tree.Item`s can be rendered inside a `Tree.Root`. Additional properties are specified to the `Tree.Item`s to create a hierarchical tree structure.
81
+ *
82
+ * Example:
83
+ * ```tsx
84
+ * <Tree.Root>
85
+ * <Tree.Item label="Parent" aria-level={1} aria-posinset={1} aria-setsize={1} />
86
+ * <Tree.Item label="Child 1" aria-level={2} aria-posinset={1} aria-setsize={2} />
87
+ * <Tree.Item label="Child 2" aria-level={2} aria-posinset={2} aria-setsize={2} />
88
+ * </Tree.Root>
89
+ * ```
90
+ *
91
+ * The `label` and `icon` props can be used to specify the treeitem's own content.
92
+ *
93
+ * The `aria-level` prop is used to specify the nesting level of the treeitem. Nesting levels start at 1.
94
+ *
95
+ * The `aria-posinset` and `aria-setsize` props are used to define the treeitem's position in the current level of tree items.
96
+ *
97
+ * The `expanded` and `onExpandedChange` props can be used to control the expansion state of a treeitem.
98
+ *
99
+ * The `selected` and `onSelectedChange` props can be used to control the selection state of a treeitem.
100
+ *
101
+ * Secondary actions can be passed into the `actions` prop.
102
+ */
103
+ declare const TreeItemRoot: React.ForwardRefExoticComponent<TreeItemRootProps & React.RefAttributes<HTMLElement | HTMLDivElement>>;
104
+ type IconButtonProps = React.ComponentProps<typeof IconButton>;
105
+ interface TreeItemActionProps extends BaseProps<"button">, Pick<IconButtonProps, "label" | "icon"> {
106
+ /**
107
+ * Controls the visibility of the action.
108
+ *
109
+ * If `true`, the action is always visible.
110
+ * If `false`, the action is hidden and becomes inaccessible, but still occupies space.
111
+ *
112
+ * By default, the action is shown only when the treeitem receives hover/focus.
113
+ */
114
+ visible?: boolean;
115
+ }
116
+ /**
117
+ * A secondary action for `<Tree.Item>`, to be passed into the `actions` prop. The action is typically
118
+ * displayed as an icon-button on the right end of the treeitem.
119
+ *
120
+ * By default, the action appears only on hover/focus. This can be controlled by the `visible` prop.
121
+ */
122
+ declare const TreeItemAction: React.ForwardRefExoticComponent<TreeItemActionProps & React.RefAttributes<HTMLElement | HTMLButtonElement>>;
123
+ export { TreeItemRoot as Root, TreeItemAction as Action };
@@ -0,0 +1,219 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import * as React from "react";
3
+ import cx from "classnames";
4
+ import { Role } from "@ariakit/react/role";
5
+ import {
6
+ CompositeItem
7
+ } from "@ariakit/react/composite";
8
+ import { Toolbar } from "@ariakit/react/toolbar";
9
+ import * as ListItem from "./~utils.ListItem.js";
10
+ import { IconButton } from "./IconButton.js";
11
+ import { Icon } from "./Icon.js";
12
+ import { forwardRef } from "./~utils.js";
13
+ import { useEventHandlers } from "./~hooks.js";
14
+ import { GhostAligner, useGhostAlignment } from "./~utils.GhostAligner.js";
15
+ const TreeItemContext = React.createContext(void 0);
16
+ const TreeItemRoot = forwardRef(
17
+ (props, forwardedRef) => {
18
+ const {
19
+ "aria-level": level,
20
+ selected,
21
+ expanded,
22
+ icon,
23
+ unstable_decorations,
24
+ label,
25
+ description,
26
+ actions,
27
+ onSelectedChange,
28
+ onExpandedChange,
29
+ onClick: onClickProp,
30
+ onKeyDown: onKeyDownProp,
31
+ ...rest
32
+ } = props;
33
+ const handleClick = (event) => {
34
+ if (selected === void 0) return;
35
+ event.stopPropagation();
36
+ onSelectedChange?.(!selected);
37
+ };
38
+ const handleKeyDown = (event) => {
39
+ if (event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) {
40
+ return;
41
+ }
42
+ if (expanded === void 0) return;
43
+ if (event.key === "ArrowRight" || event.key === "ArrowLeft") {
44
+ event.preventDefault();
45
+ onExpandedChange?.(event.key === "ArrowRight");
46
+ }
47
+ };
48
+ const labelId = React.useId();
49
+ const descriptionId = React.useId();
50
+ const decorationId = React.useId();
51
+ const describedBy = React.useMemo(() => {
52
+ const idRefs = [];
53
+ if (description) idRefs.push(descriptionId);
54
+ if (unstable_decorations || icon) idRefs.push(decorationId);
55
+ return idRefs.length > 0 ? idRefs.join(" ") : void 0;
56
+ }, [unstable_decorations, icon, decorationId, description, descriptionId]);
57
+ return /* @__PURE__ */ jsx(
58
+ TreeItemContext.Provider,
59
+ {
60
+ value: React.useMemo(
61
+ () => ({
62
+ level,
63
+ expanded,
64
+ selected
65
+ }),
66
+ [level, expanded, selected]
67
+ ),
68
+ children: /* @__PURE__ */ jsx(
69
+ CompositeItem,
70
+ {
71
+ render: /* @__PURE__ */ jsx(Role, { ...rest }),
72
+ onClick: useEventHandlers(
73
+ onClickProp,
74
+ handleClick
75
+ ),
76
+ onKeyDown: useEventHandlers(
77
+ onKeyDownProp,
78
+ handleKeyDown
79
+ ),
80
+ role: "treeitem",
81
+ "aria-expanded": expanded,
82
+ "aria-selected": selected,
83
+ "aria-labelledby": labelId,
84
+ "aria-describedby": describedBy,
85
+ "aria-level": level,
86
+ className: cx("\u{1F95D}-tree-item", props.className),
87
+ ref: forwardedRef,
88
+ children: /* @__PURE__ */ jsxs(
89
+ ListItem.Root,
90
+ {
91
+ "data-kiwi-expanded": expanded,
92
+ "data-kiwi-selected": selected,
93
+ className: "\u{1F95D}-tree-item-node",
94
+ style: { "--\u{1F95D}tree-item-level": level },
95
+ role: void 0,
96
+ children: [
97
+ /* @__PURE__ */ jsxs(ListItem.Decoration, { children: [
98
+ /* @__PURE__ */ jsx(GhostAligner, { align: description ? "block" : void 0, children: /* @__PURE__ */ jsx(
99
+ TreeItemExpander,
100
+ {
101
+ onClick: () => {
102
+ if (expanded === void 0) return;
103
+ onExpandedChange?.(!expanded);
104
+ }
105
+ }
106
+ ) }),
107
+ icon || unstable_decorations ? /* @__PURE__ */ jsx(
108
+ Role,
109
+ {
110
+ className: "\u{1F95D}-tree-item-decoration",
111
+ id: decorationId,
112
+ render: React.isValidElement(icon) ? icon : typeof icon === "string" ? /* @__PURE__ */ jsx(Icon, { href: icon }) : void 0,
113
+ children: !icon ? unstable_decorations : null
114
+ }
115
+ ) : null
116
+ ] }),
117
+ /* @__PURE__ */ jsx(ListItem.Content, { id: labelId, className: "\u{1F95D}-tree-item-content", children: label }),
118
+ description ? /* @__PURE__ */ jsx(
119
+ ListItem.Content,
120
+ {
121
+ id: descriptionId,
122
+ className: "\u{1F95D}-tree-item-description",
123
+ children: description
124
+ }
125
+ ) : void 0,
126
+ /* @__PURE__ */ jsx(
127
+ ListItem.Decoration,
128
+ {
129
+ render: /* @__PURE__ */ jsx(TreeItemActions, { children: actions })
130
+ }
131
+ )
132
+ ]
133
+ }
134
+ )
135
+ }
136
+ )
137
+ }
138
+ );
139
+ }
140
+ );
141
+ const TreeItemActions = forwardRef((props, forwardedRef) => {
142
+ return /* @__PURE__ */ jsx(
143
+ Toolbar,
144
+ {
145
+ ...props,
146
+ onClick: useEventHandlers(props.onClick, (e) => e.stopPropagation()),
147
+ onKeyDown: useEventHandlers(props.onKeyDown, (e) => e.stopPropagation()),
148
+ className: cx("\u{1F95D}-tree-item-actions", props.className),
149
+ ref: forwardedRef,
150
+ children: props.children
151
+ }
152
+ );
153
+ });
154
+ const TreeItemAction = forwardRef(
155
+ (props, forwardedRef) => {
156
+ const { visible, ...rest } = props;
157
+ return /* @__PURE__ */ jsx(
158
+ IconButton,
159
+ {
160
+ inert: visible === false ? true : void 0,
161
+ ...rest,
162
+ variant: "ghost",
163
+ className: cx("\u{1F95D}-tree-item-action", props.className),
164
+ "data-kiwi-visible": visible,
165
+ ref: forwardedRef
166
+ }
167
+ );
168
+ }
169
+ );
170
+ const TreeItemExpander = forwardRef(
171
+ (props, forwardedRef) => {
172
+ return /* @__PURE__ */ jsx(
173
+ Role.span,
174
+ {
175
+ "aria-hidden": "true",
176
+ ...props,
177
+ onClick: useEventHandlers(props.onClick, (e) => e.stopPropagation()),
178
+ className: cx(
179
+ "\u{1F95D}-button",
180
+ "\u{1F95D}-icon-button",
181
+ "\u{1F95D}-ghost-aligner",
182
+ "\u{1F95D}-tree-item-expander",
183
+ props.className
184
+ ),
185
+ "data-kiwi-variant": "ghost",
186
+ "data-kiwi-ghost-align": useGhostAlignment(),
187
+ ref: forwardedRef,
188
+ children: /* @__PURE__ */ jsx(TreeChevron, {})
189
+ }
190
+ );
191
+ }
192
+ );
193
+ const TreeChevron = forwardRef(
194
+ (props, forwardedRef) => {
195
+ return /* @__PURE__ */ jsx(
196
+ Icon,
197
+ {
198
+ ...props,
199
+ render: /* @__PURE__ */ jsx(
200
+ Role.svg,
201
+ {
202
+ width: "16",
203
+ height: "16",
204
+ fill: "currentColor",
205
+ viewBox: "0 0 16 16",
206
+ render: props.render,
207
+ children: /* @__PURE__ */ jsx("path", { d: "M4.146 6.146a.5.5 0 0 1 .708 0L8 9.293l3.146-3.147a.5.5 0 0 1 .708.708l-3.5 3.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 0 1 0-.708Z" })
208
+ }
209
+ ),
210
+ className: cx("\u{1F95D}-tree-chevron", props.className),
211
+ ref: forwardedRef
212
+ }
213
+ );
214
+ }
215
+ );
216
+ export {
217
+ TreeItemAction as Action,
218
+ TreeItemRoot as Root
219
+ };
@@ -1,6 +1,18 @@
1
- import React from "react";
2
- import type { BaseProps } from "./~utils.js";
1
+ import { type BaseProps } from "./~utils.js";
3
2
  interface VisuallyHiddenProps extends BaseProps<"span"> {
4
3
  }
5
- export declare const VisuallyHidden: React.ForwardRefExoticComponent<VisuallyHiddenProps & React.RefAttributes<HTMLSpanElement>>;
4
+ /**
5
+ * A visually hidden element that is still accessible to screen readers and other assistive technology.
6
+ *
7
+ * This is useful when you want to provide a text alternative to a visual element (e.g. an icon or symbol).
8
+ *
9
+ * Example:
10
+ * ```tsx
11
+ * <span aria-hidden="true">⭐</span>
12
+ * <VisuallyHidden>Favorite</VisuallyHidden>
13
+ * ```
14
+ *
15
+ * **Note**: The `IconButton` component utilizes `VisuallyHidden` internally when the `label` prop is set.
16
+ */
17
+ export declare const VisuallyHidden: import("react").ForwardRefExoticComponent<VisuallyHiddenProps & import("react").RefAttributes<HTMLElement | HTMLSpanElement>>;
6
18
  export {};
@@ -1,9 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import React from "react";
3
- import * as Ariakit from "@ariakit/react";
4
- const VisuallyHidden = React.forwardRef((props, forwardedRef) => {
5
- return /* @__PURE__ */ jsx(Ariakit.VisuallyHidden, { ...props, ref: forwardedRef });
6
- });
2
+ import { VisuallyHidden as AkVisuallyHidden } from "@ariakit/react/visually-hidden";
3
+ import { forwardRef } from "./~utils.js";
4
+ const VisuallyHidden = forwardRef(
5
+ (props, forwardedRef) => {
6
+ return /* @__PURE__ */ jsx(AkVisuallyHidden, { ...props, ref: forwardedRef });
7
+ }
8
+ );
7
9
  export {
8
10
  VisuallyHidden
9
11
  };
@@ -1,7 +1,11 @@
1
1
  export { Root } from "./Root.js";
2
2
  export { Anchor } from "./Anchor.js";
3
+ export { Avatar } from "./Avatar.js";
4
+ export { Badge } from "./Badge.js";
3
5
  export { Button } from "./Button.js";
4
6
  export { Checkbox } from "./Checkbox.js";
7
+ export { Chip } from "./Chip.js";
8
+ export { Description } from "./Description.js";
5
9
  export * as DropdownMenu from "./DropdownMenu.js";
6
10
  export { Divider } from "./Divider.js";
7
11
  export { Icon } from "./Icon.js";
@@ -9,9 +13,15 @@ export { IconButton } from "./IconButton.js";
9
13
  export { Field } from "./Field.js";
10
14
  export { Kbd } from "./Kbd.js";
11
15
  export { Label } from "./Label.js";
16
+ export { ProgressBar } from "./ProgressBar.js";
12
17
  export { Radio } from "./Radio.js";
18
+ export * as Select from "./Select.js";
19
+ export { Spinner } from "./Spinner.js";
20
+ export { Skeleton } from "./Skeleton.js";
13
21
  export { Switch } from "./Switch.js";
14
22
  export * as Tabs from "./Tabs.js";
23
+ export { Text } from "./Text.js";
15
24
  export * as TextBox from "./TextBox.js";
25
+ export * as Tree from "./Tree.js";
16
26
  export { Tooltip } from "./Tooltip.js";
17
27
  export { VisuallyHidden } from "./VisuallyHidden.js";
@@ -1,8 +1,12 @@
1
1
  "use client";
2
2
  import { Root } from "./Root.js";
3
3
  import { Anchor } from "./Anchor.js";
4
+ import { Avatar } from "./Avatar.js";
5
+ import { Badge } from "./Badge.js";
4
6
  import { Button } from "./Button.js";
5
7
  import { Checkbox } from "./Checkbox.js";
8
+ import { Chip } from "./Chip.js";
9
+ import { Description } from "./Description.js";
6
10
  import * as DropdownMenu from "./DropdownMenu.js";
7
11
  import { Divider } from "./Divider.js";
8
12
  import { Icon } from "./Icon.js";
@@ -10,16 +14,26 @@ import { IconButton } from "./IconButton.js";
10
14
  import { Field } from "./Field.js";
11
15
  import { Kbd } from "./Kbd.js";
12
16
  import { Label } from "./Label.js";
17
+ import { ProgressBar } from "./ProgressBar.js";
13
18
  import { Radio } from "./Radio.js";
19
+ import * as Select from "./Select.js";
20
+ import { Spinner } from "./Spinner.js";
21
+ import { Skeleton } from "./Skeleton.js";
14
22
  import { Switch } from "./Switch.js";
15
23
  import * as Tabs from "./Tabs.js";
24
+ import { Text } from "./Text.js";
16
25
  import * as TextBox from "./TextBox.js";
26
+ import * as Tree from "./Tree.js";
17
27
  import { Tooltip } from "./Tooltip.js";
18
28
  import { VisuallyHidden } from "./VisuallyHidden.js";
19
29
  export {
20
30
  Anchor,
31
+ Avatar,
32
+ Badge,
21
33
  Button,
22
34
  Checkbox,
35
+ Chip,
36
+ Description,
23
37
  Divider,
24
38
  DropdownMenu,
25
39
  Field,
@@ -27,11 +41,17 @@ export {
27
41
  IconButton,
28
42
  Kbd,
29
43
  Label,
44
+ ProgressBar,
30
45
  Radio,
31
46
  Root,
47
+ Select,
48
+ Skeleton,
49
+ Spinner,
32
50
  Switch,
33
51
  Tabs,
52
+ Text,
34
53
  TextBox,
35
54
  Tooltip,
55
+ Tree,
36
56
  VisuallyHidden
37
57
  };