@gemologic/sheen 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/dist/ai.d.ts +8 -0
- package/dist/ai.js +5 -0
- package/dist/core.d.ts +11 -4
- package/dist/core.js +32 -28
- package/dist/formisch.js +1 -2
- package/dist/forms.d.ts +2 -0
- package/dist/forms.js +16 -15
- package/dist/index.d.ts +27 -5
- package/dist/index.js +87 -76
- package/dist/layout/Layout.js +1 -2
- package/dist/metadata.js +1 -2
- package/dist/navigation.d.ts +2 -1
- package/dist/navigation.js +16 -16
- package/dist/overlays.d.ts +2 -0
- package/dist/overlays.js +9 -8
- package/dist/primitives/Accordion.js +9 -9
- package/dist/primitives/ActivityTimeline.js +57 -49
- package/dist/primitives/AlertDialog.js +1 -2
- package/dist/primitives/Avatar.js +16 -17
- package/dist/primitives/Board.d.ts +39 -0
- package/dist/primitives/Board.js +471 -0
- package/dist/primitives/Breadcrumb.js +1 -2
- package/dist/primitives/Button.js +38 -27
- package/dist/primitives/ButtonGroup.js +1 -2
- package/dist/primitives/Checkbox.d.ts +16 -2
- package/dist/primitives/Checkbox.js +46 -36
- package/dist/primitives/CheckboxGroup.js +11 -12
- package/dist/primitives/Collapsible.js +6 -6
- package/dist/primitives/Combobox.js +203 -201
- package/dist/primitives/CommandPalette.d.ts +4 -0
- package/dist/primitives/CommandPalette.js +138 -116
- package/dist/primitives/ConfirmDialog.js +5 -6
- package/dist/primitives/ContextMenu.js +7 -8
- package/dist/primitives/Conversation.d.ts +17 -0
- package/dist/primitives/Conversation.js +107 -0
- package/dist/primitives/DescriptionList.js +1 -2
- package/dist/primitives/Dialog.js +101 -68
- package/dist/primitives/Drawer.js +12 -13
- package/dist/primitives/DropdownMenu.js +163 -157
- package/dist/primitives/EditableTextField.js +3 -8
- package/dist/primitives/EmptyState.js +1 -2
- package/dist/primitives/Field.js +1 -2
- package/dist/primitives/FileDropzone.js +19 -18
- package/dist/primitives/Form.d.ts +23 -0
- package/dist/primitives/Form.js +76 -0
- package/dist/primitives/Glyph.d.ts +40 -0
- package/dist/primitives/Glyph.js +65 -0
- package/dist/primitives/IconButton.js +5 -6
- package/dist/primitives/Input.js +1 -2
- package/dist/primitives/InputGroup.js +8 -9
- package/dist/primitives/Link.d.ts +9 -1
- package/dist/primitives/Link.js +23 -17
- package/dist/primitives/LinkTooltip.js +6 -7
- package/dist/primitives/List.d.ts +34 -0
- package/dist/primitives/List.js +135 -0
- package/dist/primitives/Message.d.ts +13 -0
- package/dist/primitives/Message.js +75 -0
- package/dist/primitives/NavList.js +15 -16
- package/dist/primitives/Notice.d.ts +15 -1
- package/dist/primitives/Notice.js +91 -43
- package/dist/primitives/NumberField.js +81 -81
- package/dist/primitives/NumberText.d.ts +4 -0
- package/dist/primitives/NumberText.js +50 -25
- package/dist/primitives/Pagination.js +81 -60
- package/dist/primitives/Popover.d.ts +1 -0
- package/dist/primitives/Popover.js +65 -57
- package/dist/primitives/Progress.js +1 -2
- package/dist/primitives/PromptInput.d.ts +23 -0
- package/dist/primitives/PromptInput.js +135 -0
- package/dist/primitives/RadioGroup.js +12 -17
- package/dist/primitives/Resizable.js +1 -2
- package/dist/primitives/ScrollArea.js +1 -2
- package/dist/primitives/SearchInput.js +45 -38
- package/dist/primitives/SegmentedControl.d.ts +2 -0
- package/dist/primitives/SegmentedControl.js +92 -78
- package/dist/primitives/Select.js +105 -100
- package/dist/primitives/Separator.js +1 -2
- package/dist/primitives/ShortcutPending.js +11 -12
- package/dist/primitives/ShortcutProvider.d.ts +5 -0
- package/dist/primitives/ShortcutProvider.js +71 -65
- package/dist/primitives/ShortcutScope.js +8 -9
- package/dist/primitives/ShortcutSheet.js +30 -24
- package/dist/primitives/Skeleton.js +1 -2
- package/dist/primitives/Slider.js +1 -2
- package/dist/primitives/SortableList.d.ts +19 -0
- package/dist/primitives/SortableList.js +235 -0
- package/dist/primitives/Spinner.js +1 -2
- package/dist/primitives/Status.js +14 -14
- package/dist/primitives/Stepper.js +54 -52
- package/dist/primitives/StreamingText.d.ts +12 -0
- package/dist/primitives/StreamingText.js +42 -0
- package/dist/primitives/Surface.js +1 -2
- package/dist/primitives/Switch.d.ts +2 -2
- package/dist/primitives/Switch.js +1 -2
- package/dist/primitives/Table.js +1 -2
- package/dist/primitives/Tabs.js +20 -17
- package/dist/primitives/TagInput.js +6 -9
- package/dist/primitives/Textarea.js +37 -63
- package/dist/primitives/Toast.js +42 -41
- package/dist/primitives/Toaster.js +27 -28
- package/dist/primitives/Tooltip.js +32 -32
- package/dist/primitives/TooltipTrigger.d.ts +18 -0
- package/dist/primitives/TooltipTrigger.js +76 -0
- package/dist/primitives/Tree.js +1 -2
- package/dist/primitives/Typography.d.ts +6 -2
- package/dist/primitives/Typography.js +20 -12
- package/dist/primitives/boolean-input-state.js +3 -8
- package/dist/primitives/button-variants.js +2 -3
- package/dist/primitives/choice-options.js +1 -2
- package/dist/primitives/create-confirm.js +1 -2
- package/dist/primitives/create-toaster.js +1 -2
- package/dist/primitives/link-focus.js +1 -2
- package/dist/primitives/menu-focus.js +1 -2
- package/dist/primitives/sortable-core.d.ts +70 -0
- package/dist/primitives/sortable-core.js +109 -0
- package/dist/primitives/sortable-drag.d.ts +29 -0
- package/dist/primitives/sortable-drag.js +50 -0
- package/dist/primitives/tooltip-layer.js +26 -27
- package/dist/sortable.d.ts +6 -0
- package/dist/sortable.js +4 -0
- package/dist/theme/ThemeProvider.d.ts +6 -1
- package/dist/theme/ThemeProvider.js +65 -58
- package/dist/theme/intl.js +1 -2
- package/dist/theme/keyboard-script.js +1 -2
- package/dist/theme/layers.js +1 -2
- package/dist/theme/messages.d.ts +26 -0
- package/dist/theme/messages.js +9 -2
- package/dist/theme/number-format-cache.js +1 -2
- package/dist/theme/script.d.ts +1 -0
- package/dist/theme/script.js +3 -3
- package/dist/theme/state.d.ts +4 -4
- package/dist/theme/state.js +12 -13
- package/dist/utils/auto-resize.d.ts +6 -0
- package/dist/utils/auto-resize.js +31 -0
- package/dist/utils/browser-status.js +1 -2
- package/dist/utils/change-motion.d.ts +8 -0
- package/dist/utils/change-motion.js +19 -0
- package/dist/utils/cn.js +1 -2
- package/dist/utils/media-query.d.ts +10 -0
- package/dist/utils/media-query.js +16 -0
- package/dist/utils/optimistic.js +1 -2
- package/dist/utils/shortcut-platform.js +1 -2
- package/dist/utils/shortcut-registry.d.ts +5 -0
- package/dist/utils/shortcut-registry.js +61 -51
- package/dist/vite.js +3 -4
- package/package.json +23 -5
- package/src/ai.ts +8 -0
- package/src/core.ts +11 -4
- package/src/forms.ts +2 -0
- package/src/index.ts +27 -5
- package/src/navigation.ts +2 -1
- package/src/overlays.ts +2 -0
- package/src/primitives/Accordion.tsx +1 -1
- package/src/primitives/ActivityTimeline.tsx +12 -7
- package/src/primitives/Board.tsx +406 -0
- package/src/primitives/Button.tsx +15 -4
- package/src/primitives/Checkbox.tsx +14 -7
- package/src/primitives/Collapsible.tsx +1 -1
- package/src/primitives/Combobox.tsx +2 -1
- package/src/primitives/CommandPalette.tsx +13 -4
- package/src/primitives/Conversation.tsx +108 -0
- package/src/primitives/Dialog.tsx +5 -1
- package/src/primitives/DropdownMenu.tsx +12 -6
- package/src/primitives/FileDropzone.tsx +2 -2
- package/src/primitives/Form.tsx +58 -0
- package/src/primitives/Glyph.tsx +55 -0
- package/src/primitives/Link.tsx +15 -6
- package/src/primitives/List.tsx +68 -0
- package/src/primitives/Message.tsx +40 -0
- package/src/primitives/Notice.tsx +45 -12
- package/src/primitives/NumberField.tsx +3 -2
- package/src/primitives/NumberText.tsx +31 -4
- package/src/primitives/Pagination.tsx +6 -5
- package/src/primitives/Popover.tsx +7 -5
- package/src/primitives/PromptInput.tsx +116 -0
- package/src/primitives/SearchInput.tsx +4 -3
- package/src/primitives/SegmentedControl.tsx +29 -4
- package/src/primitives/Select.tsx +3 -2
- package/src/primitives/ShortcutProvider.tsx +14 -1
- package/src/primitives/ShortcutSheet.tsx +1 -1
- package/src/primitives/SortableList.tsx +208 -0
- package/src/primitives/Status.tsx +1 -1
- package/src/primitives/Stepper.tsx +7 -7
- package/src/primitives/StreamingText.tsx +32 -0
- package/src/primitives/Switch.tsx +2 -2
- package/src/primitives/Tabs.tsx +2 -1
- package/src/primitives/TagInput.tsx +1 -1
- package/src/primitives/Textarea.tsx +3 -47
- package/src/primitives/Toast.tsx +2 -1
- package/src/primitives/Tooltip.tsx +4 -2
- package/src/primitives/TooltipTrigger.tsx +60 -0
- package/src/primitives/Typography.tsx +11 -2
- package/src/primitives/button-variants.ts +1 -1
- package/src/primitives/sortable-core.ts +139 -0
- package/src/primitives/sortable-drag.ts +75 -0
- package/src/sortable.ts +6 -0
- package/src/styles/ai.css +57 -0
- package/src/styles/core.css +321 -0
- package/src/styles/forms.css +263 -0
- package/src/styles/navigation.css +137 -0
- package/src/styles/overlays.css +107 -0
- package/src/styles/sortable.css +87 -0
- package/src/styles.css +5 -658
- package/src/theme/ThemeProvider.tsx +20 -8
- package/src/theme/messages.ts +20 -1
- package/src/theme/script.ts +2 -2
- package/src/theme/state.ts +5 -5
- package/src/utils/auto-resize.ts +58 -0
- package/src/utils/change-motion.ts +28 -0
- package/src/utils/media-query.ts +26 -0
- package/src/utils/shortcut-registry.ts +19 -2
- package/src/vite.ts +3 -3
- package/vendor/integrity.json +13 -13
- package/vendor/kobalte-core/chunk/3D6FM2PJ.js +7 -1
- package/vendor/kobalte-core/chunk/G3KI2B4X.js +2 -1
- package/vendor/kobalte-core/chunk/KEL2LLJM.jsx +2 -1
- package/vendor/kobalte-core/chunk/RFN6X5VH.jsx +7 -1
- package/vendor/origins.json +4 -4
- package/vendor/solid-web/dev.cjs +21 -17
- package/vendor/solid-web/dev.js +21 -17
- package/vendor/solid-web/server.cjs +1 -1
- package/vendor/solid-web/server.js +1 -1
- package/vendor/solid-web/web.cjs +21 -17
- package/vendor/solid-web/web.js +21 -17
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Accessible, themeable SolidJS components for application interfaces. Import the
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
pnpm add @gemologic/sheen @gemologic/sheen-tokens solid-js@1.9.
|
|
8
|
+
pnpm add @gemologic/sheen @gemologic/sheen-tokens solid-js@1.9.19
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Add the runtime setup plugin to Vite 8 or SolidStart's Vite configuration:
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -6,7 +6,7 @@ Sheen contains modified copies of these third-party packages. Sheen's MIT licens
|
|
|
6
6
|
| --- | --- | --- |
|
|
7
7
|
| Kobalte core | 0.13.13 | `vendor/kobalte-core/LICENSE.md` and `NOTICE.txt` |
|
|
8
8
|
| Kobalte utils | 0.9.2 | `vendor/kobalte-utils/LICENSE.md` and `NOTICE.txt`, retained from the shared Kobalte repository |
|
|
9
|
-
| Solid DOM renderer, not its reactive core | 1.9.
|
|
9
|
+
| Solid DOM renderer, not its reactive core | 1.9.19 | `vendor/solid-web/LICENSE` |
|
|
10
10
|
| CMDK Solid adapter | 1.2.0 | `vendor/cmdk-solid/LICENSE`, including the original CMDK attribution |
|
|
11
11
|
|
|
12
12
|
Gemologic Sheen modifies Kobalte's scroll traversal, locale/direction handling, retained layer ordering, focus restoration, dismissal ownership, and deferred autofocus. It modifies Solid's delegated event replay and pending-lazy hydration guard; its renderer's JSX declarations reference the shared Solid peer instead of the original package-relative path. Kobalte references in the vendored backend and CMDK adapter are rewritten to package-private imports. Runtime source-map references are removed because upstream source maps are not distributed.
|
package/dist/ai.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { PromptInput } from "./primitives/PromptInput.tsx";
|
|
2
|
+
export type { PromptInputProps, PromptInputStatus } from "./primitives/PromptInput.tsx";
|
|
3
|
+
export { Message } from "./primitives/Message.tsx";
|
|
4
|
+
export type { MessageProps, MessageFrom } from "./primitives/Message.tsx";
|
|
5
|
+
export { Conversation } from "./primitives/Conversation.tsx";
|
|
6
|
+
export type { ConversationProps, ConversationItem } from "./primitives/Conversation.tsx";
|
|
7
|
+
export { StreamingText } from "./primitives/StreamingText.tsx";
|
|
8
|
+
export type { StreamingTextProps } from "./primitives/StreamingText.tsx";
|
package/dist/ai.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PromptInput as e } from "./primitives/PromptInput.js";
|
|
2
|
+
import { Message as t } from "./primitives/Message.js";
|
|
3
|
+
import { Conversation as n } from "./primitives/Conversation.js";
|
|
4
|
+
import { StreamingText as r } from "./primitives/StreamingText.js";
|
|
5
|
+
export { n as Conversation, t as Message, e as PromptInput, r as StreamingText };
|
package/dist/core.d.ts
CHANGED
|
@@ -24,16 +24,23 @@ export { optimistic } from "./utils/optimistic.ts";
|
|
|
24
24
|
export type { OptimisticRevert } from "./utils/optimistic.ts";
|
|
25
25
|
export { Stack, Row, Row as Cluster, Grid, Container, Center, Spacer } from "./layout/Layout.tsx";
|
|
26
26
|
export type { StackProps, RowProps, GridProps, ContainerProps, CenterProps, SpacerProps, Spacing, Alignment, Justification } from "./layout/Layout.tsx";
|
|
27
|
-
export { Text, Heading, Code, Kbd } from "./primitives/Typography.tsx";
|
|
28
|
-
export
|
|
27
|
+
export { Text, Heading, Code, Kbd, Prose } from "./primitives/Typography.tsx";
|
|
28
|
+
export { Glyph, glyphNames } from "./primitives/Glyph.tsx";
|
|
29
|
+
export { createMediaQuery, useBreakpoint } from "./utils/media-query.ts";
|
|
30
|
+
export { breakpointNames, breakpointQuery, breakpoints } from "@gemologic/sheen-tokens/catalog";
|
|
31
|
+
export type { BreakpointName } from "@gemologic/sheen-tokens/catalog";
|
|
32
|
+
export { List, ListItem } from "./primitives/List.tsx";
|
|
33
|
+
export type { ListProps, ListItemProps } from "./primitives/List.tsx";
|
|
34
|
+
export type { GlyphName, GlyphProps } from "./primitives/Glyph.tsx";
|
|
35
|
+
export type { TextProps, HeadingProps, CodeProps, KbdProps, ProseProps } from "./primitives/Typography.tsx";
|
|
29
36
|
export { Badge, Tag } from "./primitives/Status.tsx";
|
|
30
37
|
export type { BadgeProps, TagProps, StatusTone } from "./primitives/Status.tsx";
|
|
31
38
|
export { Surface, Card } from "./primitives/Surface.tsx";
|
|
32
39
|
export type { SurfaceProps, CardProps } from "./primitives/Surface.tsx";
|
|
33
40
|
export { Separator } from "./primitives/Separator.tsx";
|
|
34
41
|
export type { SeparatorProps } from "./primitives/Separator.tsx";
|
|
35
|
-
export { Alert, Callout } from "./primitives/Notice.tsx";
|
|
36
|
-
export type { AlertProps, CalloutProps } from "./primitives/Notice.tsx";
|
|
42
|
+
export { Alert, Banner, Callout } from "./primitives/Notice.tsx";
|
|
43
|
+
export type { AlertProps, BannerProps, CalloutProps, NoticeTone } from "./primitives/Notice.tsx";
|
|
37
44
|
export { DescriptionList, DescriptionTerm, DescriptionDetails } from "./primitives/DescriptionList.tsx";
|
|
38
45
|
export type { DescriptionListProps, DescriptionTermProps, DescriptionDetailsProps } from "./primitives/DescriptionList.tsx";
|
|
39
46
|
export { Skeleton } from "./primitives/Skeleton.tsx";
|
package/dist/core.js
CHANGED
|
@@ -1,29 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { buttonVariants as u } from "./primitives/button-variants.js";
|
|
1
|
+
import { ThemeProvider as e, ThemeScope as t, useTheme as n } from "./theme/ThemeProvider.js";
|
|
2
|
+
import { defaultThemeState as r, readThemeState as i, resolveThemeState as a } from "./theme/state.js";
|
|
3
|
+
import { createThemeScript as o } from "./theme/script.js";
|
|
4
|
+
import { createKeyboardHydrationScript as s } from "./theme/keyboard-script.js";
|
|
5
|
+
import { englishMessages as c } from "./theme/messages.js";
|
|
6
|
+
import { useDateFormatter as l, useNumberFormatter as u } from "./theme/intl.js";
|
|
8
7
|
import { Button as d } from "./primitives/Button.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
|
|
8
|
+
import { buttonVariants as f } from "./primitives/button-variants.js";
|
|
9
|
+
import { ButtonGroup as p } from "./primitives/ButtonGroup.js";
|
|
10
|
+
import { IconButton as m } from "./primitives/IconButton.js";
|
|
11
|
+
import { Link as h } from "./primitives/Link.js";
|
|
12
|
+
import { cn as g } from "./utils/cn.js";
|
|
13
|
+
import { useIsWindowFocused as _, useOnlineStatus as v } from "./utils/browser-status.js";
|
|
14
|
+
import { optimistic as y } from "./utils/optimistic.js";
|
|
15
|
+
import { Center as b, Container as x, Grid as S, Row as C, Spacer as w, Stack as T } from "./layout/Layout.js";
|
|
16
|
+
import { Code as E, Heading as D, Kbd as O, Prose as k, Text as A } from "./primitives/Typography.js";
|
|
17
|
+
import { Glyph as j, glyphNames as M } from "./primitives/Glyph.js";
|
|
18
|
+
import { createMediaQuery as N, useBreakpoint as P } from "./utils/media-query.js";
|
|
19
|
+
import { List as F, ListItem as I } from "./primitives/List.js";
|
|
20
|
+
import { Badge as L, Tag as ee } from "./primitives/Status.js";
|
|
21
|
+
import { Card as R, Surface as z } from "./primitives/Surface.js";
|
|
22
|
+
import { Separator as B } from "./primitives/Separator.js";
|
|
23
|
+
import { Alert as V, Banner as H, Callout as U } from "./primitives/Notice.js";
|
|
24
|
+
import { DescriptionDetails as W, DescriptionList as G, DescriptionTerm as K } from "./primitives/DescriptionList.js";
|
|
25
|
+
import { Skeleton as q } from "./primitives/Skeleton.js";
|
|
26
|
+
import { EmptyState as J } from "./primitives/EmptyState.js";
|
|
27
|
+
import { Spinner as Y } from "./primitives/Spinner.js";
|
|
28
|
+
import { Table as X, TableBody as Z, TableCaption as Q, TableCell as $, TableFoot as te, TableHead as ne, TableHeaderCell as re, TableRow as ie } from "./primitives/Table.js";
|
|
29
|
+
import { Avatar as ae, AvatarGroup as oe } from "./primitives/Avatar.js";
|
|
30
|
+
import { Meter as se, Progress as ce } from "./primitives/Progress.js";
|
|
31
|
+
import { ActivityTimeline as le } from "./primitives/ActivityTimeline.js";
|
|
32
|
+
import { breakpointNames as ue, breakpointQuery as de, breakpoints as fe } from "@gemologic/sheen-tokens/catalog";
|
|
33
|
+
export { le as ActivityTimeline, V as Alert, ae as Avatar, oe as AvatarGroup, L as Badge, H as Banner, d as Button, p as ButtonGroup, U as Callout, R as Card, b as Center, C as Cluster, E as Code, x as Container, W as DescriptionDetails, G as DescriptionList, K as DescriptionTerm, J as EmptyState, j as Glyph, S as Grid, D as Heading, m as IconButton, O as Kbd, h as Link, F as List, I as ListItem, se as Meter, ce as Progress, k as Prose, C as Row, B as Separator, q as Skeleton, w as Spacer, Y as Spinner, T as Stack, z as Surface, X as Table, Z as TableBody, Q as TableCaption, $ as TableCell, te as TableFoot, ne as TableHead, re as TableHeaderCell, ie as TableRow, ee as Tag, A as Text, e as ThemeProvider, t as ThemeScope, ue as breakpointNames, de as breakpointQuery, fe as breakpoints, f as buttonVariants, g as cn, s as createKeyboardHydrationScript, N as createMediaQuery, o as createThemeScript, r as defaultThemeState, c as englishMessages, M as glyphNames, y as optimistic, i as readThemeState, a as resolveThemeState, P as useBreakpoint, l as useDateFormatter, _ as useIsWindowFocused, u as useNumberFormatter, v as useOnlineStatus, n as useTheme };
|
package/dist/formisch.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/formisch.ts
|
|
2
2
|
function e(e) {
|
|
3
3
|
if (e == null) return "";
|
|
4
4
|
if (typeof e == "string" || typeof e == "number" && Number.isFinite(e)) return e;
|
|
@@ -18,5 +18,4 @@ function t(t) {
|
|
|
18
18
|
onBlur: () => t.props.onBlur()
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
//#endregion
|
|
22
21
|
export { t as formischInputProps };
|
package/dist/forms.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ export type { FieldProps, FieldControlProps } from "./primitives/Field.tsx";
|
|
|
3
3
|
export { Input } from "./primitives/Input.tsx";
|
|
4
4
|
export type { InputProps } from "./primitives/Input.tsx";
|
|
5
5
|
export { InputGroup } from "./primitives/InputGroup.tsx";
|
|
6
|
+
export { Form, FormSection, FormActions } from "./primitives/Form.tsx";
|
|
7
|
+
export type { FormProps, FormSectionProps, FormActionsProps } from "./primitives/Form.tsx";
|
|
6
8
|
export type { InputGroupProps } from "./primitives/InputGroup.tsx";
|
|
7
9
|
export { SearchInput } from "./primitives/SearchInput.tsx";
|
|
8
10
|
export type { SearchInputProps } from "./primitives/SearchInput.tsx";
|
package/dist/forms.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { Field as e } from "./primitives/Field.js";
|
|
2
2
|
import { Input as t } from "./primitives/Input.js";
|
|
3
3
|
import { InputGroup as n } from "./primitives/InputGroup.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
|
|
4
|
+
import { Form as r, FormActions as i, FormSection as a } from "./primitives/Form.js";
|
|
5
|
+
import { SearchInput as o } from "./primitives/SearchInput.js";
|
|
6
|
+
import { Textarea as s } from "./primitives/Textarea.js";
|
|
7
|
+
import { EditableTextField as c } from "./primitives/EditableTextField.js";
|
|
8
|
+
import { Checkbox as l } from "./primitives/Checkbox.js";
|
|
9
|
+
import { Switch as u } from "./primitives/Switch.js";
|
|
10
|
+
import { CheckboxGroup as d } from "./primitives/CheckboxGroup.js";
|
|
11
|
+
import { RadioGroup as f } from "./primitives/RadioGroup.js";
|
|
12
|
+
import { SegmentedControl as p } from "./primitives/SegmentedControl.js";
|
|
13
|
+
import { TagInput as m } from "./primitives/TagInput.js";
|
|
14
|
+
import { FileDropzone as h } from "./primitives/FileDropzone.js";
|
|
15
|
+
import { Select as g } from "./primitives/Select.js";
|
|
16
|
+
import { Combobox as _, MultiCombobox as v } from "./primitives/Combobox.js";
|
|
17
|
+
import { NumberField as y } from "./primitives/NumberField.js";
|
|
18
|
+
import { RangeSlider as b, Slider as x } from "./primitives/Slider.js";
|
|
19
|
+
export { l as Checkbox, d as CheckboxGroup, _ as Combobox, c as EditableTextField, e as Field, h as FileDropzone, r as Form, i as FormActions, a as FormSection, t as Input, n as InputGroup, v as MultiCombobox, y as NumberField, f as RadioGroup, b as RangeSlider, o as SearchInput, p as SegmentedControl, g as Select, x as Slider, u as Switch, m as TagInput, s as Textarea };
|
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,8 @@ export { createConfirm } from "./primitives/create-confirm.tsx";
|
|
|
23
23
|
export type { ConfirmController, ConfirmOptions } from "./primitives/create-confirm.tsx";
|
|
24
24
|
export { Tooltip } from "./primitives/Tooltip.tsx";
|
|
25
25
|
export { createShortcutRegistry } from "./utils/shortcut-registry.ts";
|
|
26
|
-
export { ShortcutProvider, useShortcut, usePendingShortcut, useShortcutBindings, useShortcutCommands } from "./primitives/ShortcutProvider.tsx";
|
|
26
|
+
export { ShortcutProvider, useShortcut, useShortcutLabel, usePendingShortcut, useShortcutBindings, useShortcutCommands } from "./primitives/ShortcutProvider.tsx";
|
|
27
|
+
export { formatShortcut } from "./utils/shortcut-registry.ts";
|
|
27
28
|
export { ShortcutSheet } from "./primitives/ShortcutSheet.tsx";
|
|
28
29
|
export { ShortcutPending } from "./primitives/ShortcutPending.tsx";
|
|
29
30
|
export { ShortcutScope } from "./primitives/ShortcutScope.tsx";
|
|
@@ -34,6 +35,8 @@ export type { ShortcutProviderProps } from "./primitives/ShortcutProvider.tsx";
|
|
|
34
35
|
export type { PendingShortcut, ShortcutAction, ShortcutBinding, ShortcutDefinition, ShortcutInput, ShortcutRegistryOptions } from "./utils/shortcut-registry.ts";
|
|
35
36
|
export { LinkTooltip } from "./primitives/LinkTooltip.tsx";
|
|
36
37
|
export type { LinkTooltipProps } from "./primitives/LinkTooltip.tsx";
|
|
38
|
+
export { TooltipTrigger } from "./primitives/TooltipTrigger.tsx";
|
|
39
|
+
export type { TooltipTriggerProps, TooltipTriggerBindings } from "./primitives/TooltipTrigger.tsx";
|
|
37
40
|
export type { TooltipProps } from "./primitives/Tooltip.tsx";
|
|
38
41
|
export { Popover } from "./primitives/Popover.tsx";
|
|
39
42
|
export type { PopoverProps } from "./primitives/Popover.tsx";
|
|
@@ -44,6 +47,8 @@ export type { ContextMenuProps } from "./primitives/ContextMenu.tsx";
|
|
|
44
47
|
export { CommandPalette, commandPaletteFilter } from "./primitives/CommandPalette.tsx";
|
|
45
48
|
export type { CommandPaletteProps, CommandPaletteCommand, CommandPaletteSource, CommandPaletteStaticSource, CommandPaletteRemoteSource, CommandPaletteRecents } from "./primitives/CommandPalette.tsx";
|
|
46
49
|
export { cn } from "./utils/cn.ts";
|
|
50
|
+
export { flashChange } from "./utils/change-motion.ts";
|
|
51
|
+
export type { ChangeDirection } from "./utils/change-motion.ts";
|
|
47
52
|
export { useOnlineStatus, useIsWindowFocused } from "./utils/browser-status.ts";
|
|
48
53
|
export { optimistic } from "./utils/optimistic.ts";
|
|
49
54
|
export type { OptimisticRevert } from "./utils/optimistic.ts";
|
|
@@ -58,18 +63,25 @@ export type { Messages } from "./theme/messages.ts";
|
|
|
58
63
|
export { useNumberFormatter, useDateFormatter } from "./theme/intl.ts";
|
|
59
64
|
export { Stack, Row, Row as Cluster, Grid, Container, Center, Spacer } from "./layout/Layout.tsx";
|
|
60
65
|
export type { StackProps, RowProps, GridProps, ContainerProps, CenterProps, SpacerProps, Spacing, Alignment, Justification } from "./layout/Layout.tsx";
|
|
61
|
-
export { Text, Heading, Code, Kbd } from "./primitives/Typography.tsx";
|
|
66
|
+
export { Text, Heading, Code, Kbd, Prose } from "./primitives/Typography.tsx";
|
|
67
|
+
export { Glyph, glyphNames } from "./primitives/Glyph.tsx";
|
|
68
|
+
export { createMediaQuery, useBreakpoint } from "./utils/media-query.ts";
|
|
69
|
+
export { breakpointNames, breakpointQuery, breakpoints } from "@gemologic/sheen-tokens/catalog";
|
|
70
|
+
export type { BreakpointName } from "@gemologic/sheen-tokens/catalog";
|
|
71
|
+
export { List, ListItem } from "./primitives/List.tsx";
|
|
72
|
+
export type { ListProps, ListItemProps } from "./primitives/List.tsx";
|
|
73
|
+
export type { GlyphName, GlyphProps } from "./primitives/Glyph.tsx";
|
|
62
74
|
export { NumberText } from "./primitives/NumberText.tsx";
|
|
63
75
|
export type { NumberTextProps } from "./primitives/NumberText.tsx";
|
|
64
|
-
export type { TextProps, HeadingProps, CodeProps, KbdProps } from "./primitives/Typography.tsx";
|
|
76
|
+
export type { TextProps, HeadingProps, CodeProps, KbdProps, ProseProps } from "./primitives/Typography.tsx";
|
|
65
77
|
export { Badge, Tag } from "./primitives/Status.tsx";
|
|
66
78
|
export type { BadgeProps, TagProps, StatusTone } from "./primitives/Status.tsx";
|
|
67
79
|
export { Surface, Card } from "./primitives/Surface.tsx";
|
|
68
80
|
export type { SurfaceProps, CardProps } from "./primitives/Surface.tsx";
|
|
69
81
|
export { Separator } from "./primitives/Separator.tsx";
|
|
70
82
|
export type { SeparatorProps } from "./primitives/Separator.tsx";
|
|
71
|
-
export { Alert, Callout } from "./primitives/Notice.tsx";
|
|
72
|
-
export type { AlertProps, CalloutProps } from "./primitives/Notice.tsx";
|
|
83
|
+
export { Alert, Banner, Callout } from "./primitives/Notice.tsx";
|
|
84
|
+
export type { AlertProps, BannerProps, CalloutProps, NoticeTone } from "./primitives/Notice.tsx";
|
|
73
85
|
export { DescriptionList, DescriptionTerm, DescriptionDetails } from "./primitives/DescriptionList.tsx";
|
|
74
86
|
export type { DescriptionListProps, DescriptionTermProps, DescriptionDetailsProps } from "./primitives/DescriptionList.tsx";
|
|
75
87
|
export { Skeleton } from "./primitives/Skeleton.tsx";
|
|
@@ -81,6 +93,8 @@ export type { SpinnerProps } from "./primitives/Spinner.tsx";
|
|
|
81
93
|
export { Field } from "./primitives/Field.tsx";
|
|
82
94
|
export type { FieldProps, FieldControlProps } from "./primitives/Field.tsx";
|
|
83
95
|
export { InputGroup } from "./primitives/InputGroup.tsx";
|
|
96
|
+
export { Form, FormSection, FormActions } from "./primitives/Form.tsx";
|
|
97
|
+
export type { FormProps, FormSectionProps, FormActionsProps } from "./primitives/Form.tsx";
|
|
84
98
|
export type { InputGroupProps } from "./primitives/InputGroup.tsx";
|
|
85
99
|
export { SearchInput } from "./primitives/SearchInput.tsx";
|
|
86
100
|
export type { SearchInputProps } from "./primitives/SearchInput.tsx";
|
|
@@ -144,3 +158,11 @@ export { Tree, TreeItem } from "./primitives/Tree.tsx";
|
|
|
144
158
|
export type { TreeProps, TreeItemProps, TreeSelectionMode } from "./primitives/Tree.tsx";
|
|
145
159
|
export { Resizable, ResizablePanel, ResizableHandle } from "./primitives/Resizable.tsx";
|
|
146
160
|
export type { ResizableProps, ResizablePanelProps, ResizableHandleProps, ResizablePersistence } from "./primitives/Resizable.tsx";
|
|
161
|
+
export { PromptInput } from "./primitives/PromptInput.tsx";
|
|
162
|
+
export type { PromptInputProps, PromptInputStatus } from "./primitives/PromptInput.tsx";
|
|
163
|
+
export { Message } from "./primitives/Message.tsx";
|
|
164
|
+
export type { MessageProps, MessageFrom } from "./primitives/Message.tsx";
|
|
165
|
+
export { Conversation } from "./primitives/Conversation.tsx";
|
|
166
|
+
export type { ConversationProps, ConversationItem } from "./primitives/Conversation.tsx";
|
|
167
|
+
export { StreamingText } from "./primitives/StreamingText.tsx";
|
|
168
|
+
export type { StreamingTextProps } from "./primitives/StreamingText.tsx";
|
package/dist/index.js
CHANGED
|
@@ -1,76 +1,87 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { useDateFormatter as
|
|
34
|
-
import { Center as
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
|
|
1
|
+
import { ThemeProvider as ee, ThemeScope as te, useTheme as e } from "./theme/ThemeProvider.js";
|
|
2
|
+
import { defaultThemeState as t, readThemeState as n, resolveThemeState as r } from "./theme/state.js";
|
|
3
|
+
import { createThemeScript as i } from "./theme/script.js";
|
|
4
|
+
import { createKeyboardHydrationScript as a } from "./theme/keyboard-script.js";
|
|
5
|
+
import { Button as o } from "./primitives/Button.js";
|
|
6
|
+
import { buttonVariants as s } from "./primitives/button-variants.js";
|
|
7
|
+
import { Input as c } from "./primitives/Input.js";
|
|
8
|
+
import { Dialog as l } from "./primitives/Dialog.js";
|
|
9
|
+
import { Drawer as u, Sheet as d } from "./primitives/Drawer.js";
|
|
10
|
+
import { AlertDialog as f } from "./primitives/AlertDialog.js";
|
|
11
|
+
import { ConfirmDialog as p } from "./primitives/ConfirmDialog.js";
|
|
12
|
+
import { createConfirm as m } from "./primitives/create-confirm.js";
|
|
13
|
+
import { Tooltip as h } from "./primitives/Tooltip.js";
|
|
14
|
+
import { createShortcutRegistry as g, formatShortcut as _ } from "./utils/shortcut-registry.js";
|
|
15
|
+
import { ShortcutProvider as v, usePendingShortcut as y, useShortcut as b, useShortcutBindings as x, useShortcutCommands as S, useShortcutLabel as C } from "./primitives/ShortcutProvider.js";
|
|
16
|
+
import { ShortcutSheet as w } from "./primitives/ShortcutSheet.js";
|
|
17
|
+
import { ShortcutPending as T } from "./primitives/ShortcutPending.js";
|
|
18
|
+
import { ShortcutScope as E } from "./primitives/ShortcutScope.js";
|
|
19
|
+
import { LinkTooltip as D } from "./primitives/LinkTooltip.js";
|
|
20
|
+
import { TooltipTrigger as O } from "./primitives/TooltipTrigger.js";
|
|
21
|
+
import { Popover as k } from "./primitives/Popover.js";
|
|
22
|
+
import { DropdownMenu as A } from "./primitives/DropdownMenu.js";
|
|
23
|
+
import { ContextMenu as j } from "./primitives/ContextMenu.js";
|
|
24
|
+
import { CommandPalette as M, commandPaletteFilter as N } from "./primitives/CommandPalette.js";
|
|
25
|
+
import { cn as P } from "./utils/cn.js";
|
|
26
|
+
import { flashChange as F } from "./utils/change-motion.js";
|
|
27
|
+
import { useIsWindowFocused as I, useOnlineStatus as L } from "./utils/browser-status.js";
|
|
28
|
+
import { optimistic as R } from "./utils/optimistic.js";
|
|
29
|
+
import { createToaster as z } from "./primitives/create-toaster.js";
|
|
30
|
+
import { Toast as B } from "./primitives/Toast.js";
|
|
31
|
+
import { Toaster as V } from "./primitives/Toaster.js";
|
|
32
|
+
import { englishMessages as H } from "./theme/messages.js";
|
|
33
|
+
import { useDateFormatter as U, useNumberFormatter as W } from "./theme/intl.js";
|
|
34
|
+
import { Center as G, Container as K, Grid as q, Row as J, Spacer as Y, Stack as X } from "./layout/Layout.js";
|
|
35
|
+
import { Code as Z, Heading as Q, Kbd as ne, Prose as re, Text as ie } from "./primitives/Typography.js";
|
|
36
|
+
import { Glyph as ae, glyphNames as oe } from "./primitives/Glyph.js";
|
|
37
|
+
import { createMediaQuery as se, useBreakpoint as ce } from "./utils/media-query.js";
|
|
38
|
+
import { List as le, ListItem as ue } from "./primitives/List.js";
|
|
39
|
+
import { NumberText as de } from "./primitives/NumberText.js";
|
|
40
|
+
import { Badge as fe, Tag as pe } from "./primitives/Status.js";
|
|
41
|
+
import { Card as me, Surface as he } from "./primitives/Surface.js";
|
|
42
|
+
import { Separator as ge } from "./primitives/Separator.js";
|
|
43
|
+
import { Alert as _e, Banner as ve, Callout as ye } from "./primitives/Notice.js";
|
|
44
|
+
import { DescriptionDetails as be, DescriptionList as xe, DescriptionTerm as Se } from "./primitives/DescriptionList.js";
|
|
45
|
+
import { Skeleton as $ } from "./primitives/Skeleton.js";
|
|
46
|
+
import { EmptyState as Ce } from "./primitives/EmptyState.js";
|
|
47
|
+
import { Spinner as we } from "./primitives/Spinner.js";
|
|
48
|
+
import { Field as Te } from "./primitives/Field.js";
|
|
49
|
+
import { InputGroup as Ee } from "./primitives/InputGroup.js";
|
|
50
|
+
import { Form as De, FormActions as Oe, FormSection as ke } from "./primitives/Form.js";
|
|
51
|
+
import { SearchInput as Ae } from "./primitives/SearchInput.js";
|
|
52
|
+
import { Textarea as je } from "./primitives/Textarea.js";
|
|
53
|
+
import { EditableTextField as Me } from "./primitives/EditableTextField.js";
|
|
54
|
+
import { Checkbox as Ne } from "./primitives/Checkbox.js";
|
|
55
|
+
import { Switch as Pe } from "./primitives/Switch.js";
|
|
56
|
+
import { CheckboxGroup as Fe } from "./primitives/CheckboxGroup.js";
|
|
57
|
+
import { RadioGroup as Ie } from "./primitives/RadioGroup.js";
|
|
58
|
+
import { SegmentedControl as Le } from "./primitives/SegmentedControl.js";
|
|
59
|
+
import { TagInput as Re } from "./primitives/TagInput.js";
|
|
60
|
+
import { FileDropzone as ze } from "./primitives/FileDropzone.js";
|
|
61
|
+
import { ActivityTimeline as Be } from "./primitives/ActivityTimeline.js";
|
|
62
|
+
import { Stepper as Ve } from "./primitives/Stepper.js";
|
|
63
|
+
import { Select as He } from "./primitives/Select.js";
|
|
64
|
+
import { Combobox as Ue, MultiCombobox as We } from "./primitives/Combobox.js";
|
|
65
|
+
import { Table as Ge, TableBody as Ke, TableCaption as qe, TableCell as Je, TableFoot as Ye, TableHead as Xe, TableHeaderCell as Ze, TableRow as Qe } from "./primitives/Table.js";
|
|
66
|
+
import { Breadcrumb as $e } from "./primitives/Breadcrumb.js";
|
|
67
|
+
import { Collapsible as et } from "./primitives/Collapsible.js";
|
|
68
|
+
import { Accordion as tt, AccordionItem as nt } from "./primitives/Accordion.js";
|
|
69
|
+
import { Tabs as rt } from "./primitives/Tabs.js";
|
|
70
|
+
import { NavItem as it, NavList as at } from "./primitives/NavList.js";
|
|
71
|
+
import { ScrollArea as ot } from "./primitives/ScrollArea.js";
|
|
72
|
+
import { ButtonGroup as st } from "./primitives/ButtonGroup.js";
|
|
73
|
+
import { IconButton as ct } from "./primitives/IconButton.js";
|
|
74
|
+
import { Link as lt } from "./primitives/Link.js";
|
|
75
|
+
import { Pagination as ut } from "./primitives/Pagination.js";
|
|
76
|
+
import { Avatar as dt, AvatarGroup as ft } from "./primitives/Avatar.js";
|
|
77
|
+
import { Meter as pt, Progress as mt } from "./primitives/Progress.js";
|
|
78
|
+
import { NumberField as ht } from "./primitives/NumberField.js";
|
|
79
|
+
import { RangeSlider as gt, Slider as _t } from "./primitives/Slider.js";
|
|
80
|
+
import { Tree as vt, TreeItem as yt } from "./primitives/Tree.js";
|
|
81
|
+
import { Resizable as bt, ResizableHandle as xt, ResizablePanel as St } from "./primitives/Resizable.js";
|
|
82
|
+
import { PromptInput as Ct } from "./primitives/PromptInput.js";
|
|
83
|
+
import { Message as wt } from "./primitives/Message.js";
|
|
84
|
+
import { Conversation as Tt } from "./primitives/Conversation.js";
|
|
85
|
+
import { StreamingText as Et } from "./primitives/StreamingText.js";
|
|
86
|
+
import { breakpointNames as Dt, breakpointQuery as Ot, breakpoints as kt } from "@gemologic/sheen-tokens/catalog";
|
|
87
|
+
export { tt as Accordion, nt as AccordionItem, Be as ActivityTimeline, _e as Alert, f as AlertDialog, dt as Avatar, ft as AvatarGroup, fe as Badge, ve as Banner, $e as Breadcrumb, o as Button, st as ButtonGroup, ye as Callout, me as Card, G as Center, Ne as Checkbox, Fe as CheckboxGroup, J as Cluster, Z as Code, et as Collapsible, Ue as Combobox, M as CommandPalette, p as ConfirmDialog, K as Container, j as ContextMenu, Tt as Conversation, be as DescriptionDetails, xe as DescriptionList, Se as DescriptionTerm, l as Dialog, u as Drawer, A as DropdownMenu, Me as EditableTextField, Ce as EmptyState, Te as Field, ze as FileDropzone, De as Form, Oe as FormActions, ke as FormSection, ae as Glyph, q as Grid, Q as Heading, ct as IconButton, c as Input, Ee as InputGroup, ne as Kbd, lt as Link, D as LinkTooltip, le as List, ue as ListItem, wt as Message, pt as Meter, We as MultiCombobox, it as NavItem, at as NavList, ht as NumberField, de as NumberText, ut as Pagination, k as Popover, mt as Progress, Ct as PromptInput, re as Prose, Ie as RadioGroup, gt as RangeSlider, bt as Resizable, xt as ResizableHandle, St as ResizablePanel, J as Row, ot as ScrollArea, Ae as SearchInput, Le as SegmentedControl, He as Select, ge as Separator, d as Sheet, T as ShortcutPending, v as ShortcutProvider, E as ShortcutScope, w as ShortcutSheet, $ as Skeleton, _t as Slider, Y as Spacer, we as Spinner, X as Stack, Ve as Stepper, Et as StreamingText, he as Surface, Pe as Switch, Ge as Table, Ke as TableBody, qe as TableCaption, Je as TableCell, Ye as TableFoot, Xe as TableHead, Ze as TableHeaderCell, Qe as TableRow, rt as Tabs, pe as Tag, Re as TagInput, ie as Text, je as Textarea, ee as ThemeProvider, te as ThemeScope, B as Toast, V as Toaster, h as Tooltip, O as TooltipTrigger, vt as Tree, yt as TreeItem, Dt as breakpointNames, Ot as breakpointQuery, kt as breakpoints, s as buttonVariants, P as cn, N as commandPaletteFilter, m as createConfirm, a as createKeyboardHydrationScript, se as createMediaQuery, g as createShortcutRegistry, i as createThemeScript, z as createToaster, t as defaultThemeState, H as englishMessages, F as flashChange, _ as formatShortcut, oe as glyphNames, R as optimistic, n as readThemeState, r as resolveThemeState, ce as useBreakpoint, U as useDateFormatter, I as useIsWindowFocused, W as useNumberFormatter, L as useOnlineStatus, y as usePendingShortcut, b as useShortcut, x as useShortcutBindings, S as useShortcutCommands, C as useShortcutLabel, e as useTheme };
|
package/dist/layout/Layout.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn as e } from "../utils/cn.js";
|
|
2
2
|
import { mergeProps as t, spread as n, template as r } from "solid-js/web";
|
|
3
3
|
import { splitProps as i } from "solid-js";
|
|
4
|
-
|
|
4
|
+
// src/layout/Layout.tsx
|
|
5
5
|
var a = /*#__PURE__*/ r("<div>");
|
|
6
6
|
function o(r) {
|
|
7
7
|
let [o, s] = i(r, [
|
|
@@ -117,5 +117,4 @@ function d(r) {
|
|
|
117
117
|
}), !1, !1), r;
|
|
118
118
|
})();
|
|
119
119
|
}
|
|
120
|
-
//#endregion
|
|
121
120
|
export { u as Center, l as Container, c as Grid, s as Row, d as Spacer, o as Stack };
|
package/dist/metadata.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/metadata.ts
|
|
2
2
|
var e = [
|
|
3
3
|
"root",
|
|
4
4
|
"topbar",
|
|
@@ -43,5 +43,4 @@ function s(e) {
|
|
|
43
43
|
let n = e.composer;
|
|
44
44
|
return (n === void 0 || r(n) && t(n.allowedParentRegions) && n.allowedParentRegions.length > 0 && a(n.acceptedChildRegions) && a(n.editableSafeProps) && i(n.fixtureFactory) && i(n.codeGenerationAdapter)) && a(e.tokens) && r(e.a11y) && i(e.a11y.role) && a(e.a11y.keyboard) && Array.isArray(e.examples) && e.examples.length > 0 && e.examples.every((e) => r(e) && i(e.title) && i(e.code) && (e.imports === void 0 || typeof e.imports == "string") && (e.setup === void 0 || typeof e.setup == "string")) && r(e.guidance) && a(e.guidance.do) && a(e.guidance.dont);
|
|
45
45
|
}
|
|
46
|
-
//#endregion
|
|
47
46
|
export { n as defineMeta, s as isComponentMetadata };
|
package/dist/navigation.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { createShortcutRegistry } from "./utils/shortcut-registry.ts";
|
|
2
2
|
export type { PendingShortcut, ShortcutAction, ShortcutBinding, ShortcutDefinition, ShortcutInput, ShortcutRegistryOptions } from "./utils/shortcut-registry.ts";
|
|
3
|
-
export { ShortcutProvider, useShortcut, usePendingShortcut, useShortcutBindings, useShortcutCommands } from "./primitives/ShortcutProvider.tsx";
|
|
3
|
+
export { ShortcutProvider, useShortcut, useShortcutLabel, usePendingShortcut, useShortcutBindings, useShortcutCommands } from "./primitives/ShortcutProvider.tsx";
|
|
4
|
+
export { formatShortcut } from "./utils/shortcut-registry.ts";
|
|
4
5
|
export type { ShortcutProviderProps } from "./primitives/ShortcutProvider.tsx";
|
|
5
6
|
export { ShortcutSheet } from "./primitives/ShortcutSheet.tsx";
|
|
6
7
|
export type { ShortcutSheetProps } from "./primitives/ShortcutSheet.tsx";
|
package/dist/navigation.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { createShortcutRegistry as e } from "./utils/shortcut-registry.js";
|
|
2
|
-
import { ShortcutProvider as
|
|
3
|
-
import { ShortcutSheet as
|
|
4
|
-
import { ShortcutPending as
|
|
5
|
-
import { ShortcutScope as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
export {
|
|
1
|
+
import { createShortcutRegistry as e, formatShortcut as t } from "./utils/shortcut-registry.js";
|
|
2
|
+
import { ShortcutProvider as n, usePendingShortcut as r, useShortcut as i, useShortcutBindings as a, useShortcutCommands as o, useShortcutLabel as s } from "./primitives/ShortcutProvider.js";
|
|
3
|
+
import { ShortcutSheet as c } from "./primitives/ShortcutSheet.js";
|
|
4
|
+
import { ShortcutPending as l } from "./primitives/ShortcutPending.js";
|
|
5
|
+
import { ShortcutScope as u } from "./primitives/ShortcutScope.js";
|
|
6
|
+
import { Breadcrumb as d } from "./primitives/Breadcrumb.js";
|
|
7
|
+
import { Collapsible as f } from "./primitives/Collapsible.js";
|
|
8
|
+
import { Accordion as p, AccordionItem as m } from "./primitives/Accordion.js";
|
|
9
|
+
import { Tabs as h } from "./primitives/Tabs.js";
|
|
10
|
+
import { NavItem as g, NavList as _ } from "./primitives/NavList.js";
|
|
11
|
+
import { ScrollArea as v } from "./primitives/ScrollArea.js";
|
|
12
|
+
import { Pagination as y } from "./primitives/Pagination.js";
|
|
13
|
+
import { Tree as b, TreeItem as x } from "./primitives/Tree.js";
|
|
14
|
+
import { Resizable as S, ResizableHandle as C, ResizablePanel as w } from "./primitives/Resizable.js";
|
|
15
|
+
import { Stepper as T } from "./primitives/Stepper.js";
|
|
16
|
+
export { p as Accordion, m as AccordionItem, d as Breadcrumb, f as Collapsible, g as NavItem, _ as NavList, y as Pagination, S as Resizable, C as ResizableHandle, w as ResizablePanel, v as ScrollArea, l as ShortcutPending, n as ShortcutProvider, u as ShortcutScope, c as ShortcutSheet, T as Stepper, h as Tabs, b as Tree, x as TreeItem, e as createShortcutRegistry, t as formatShortcut, r as usePendingShortcut, i as useShortcut, a as useShortcutBindings, o as useShortcutCommands, s as useShortcutLabel };
|
package/dist/overlays.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export { Tooltip } from "./primitives/Tooltip.tsx";
|
|
|
12
12
|
export type { TooltipProps } from "./primitives/Tooltip.tsx";
|
|
13
13
|
export { LinkTooltip } from "./primitives/LinkTooltip.tsx";
|
|
14
14
|
export type { LinkTooltipProps } from "./primitives/LinkTooltip.tsx";
|
|
15
|
+
export { TooltipTrigger } from "./primitives/TooltipTrigger.tsx";
|
|
16
|
+
export type { TooltipTriggerProps, TooltipTriggerBindings } from "./primitives/TooltipTrigger.tsx";
|
|
15
17
|
export { Popover } from "./primitives/Popover.tsx";
|
|
16
18
|
export type { PopoverProps } from "./primitives/Popover.tsx";
|
|
17
19
|
export { DropdownMenu } from "./primitives/DropdownMenu.tsx";
|
package/dist/overlays.js
CHANGED
|
@@ -5,11 +5,12 @@ import { ConfirmDialog as i } from "./primitives/ConfirmDialog.js";
|
|
|
5
5
|
import { createConfirm as a } from "./primitives/create-confirm.js";
|
|
6
6
|
import { Tooltip as o } from "./primitives/Tooltip.js";
|
|
7
7
|
import { LinkTooltip as s } from "./primitives/LinkTooltip.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
8
|
+
import { TooltipTrigger as c } from "./primitives/TooltipTrigger.js";
|
|
9
|
+
import { Popover as l } from "./primitives/Popover.js";
|
|
10
|
+
import { DropdownMenu as u } from "./primitives/DropdownMenu.js";
|
|
11
|
+
import { ContextMenu as d } from "./primitives/ContextMenu.js";
|
|
12
|
+
import { CommandPalette as f, commandPaletteFilter as p } from "./primitives/CommandPalette.js";
|
|
13
|
+
import { createToaster as m } from "./primitives/create-toaster.js";
|
|
14
|
+
import { Toast as h } from "./primitives/Toast.js";
|
|
15
|
+
import { Toaster as g } from "./primitives/Toaster.js";
|
|
16
|
+
export { r as AlertDialog, f as CommandPalette, i as ConfirmDialog, d as ContextMenu, e as Dialog, t as Drawer, u as DropdownMenu, s as LinkTooltip, l as Popover, n as Sheet, h as Toast, g as Toaster, o as Tooltip, c as TooltipTrigger, p as commandPaletteFilter, a as createConfirm, m as createToaster };
|